Jump to content

No ADB & No SD


Guest Pawnda

Recommended Posts

Guest Pawnda

Hey people. I got a mayor problem... or so i think...

I recently upgraded from 2.8 and stock radio to MoDaCo 3.0 and newest radio, but now im stuck!

I can't connect my phone to my pc, neither windows nor linux will recognize it...

And on my phone it says that the SD card is removed.

I have tried both of my SD cards, none of them works...

I have also tried several USB cables, and two different computers, no luck...

Anyone have any ideas of how to fix this? or how to make it look like an "accident" so i can get it replaced?

Any help would be greatly appreciated!!!

Regards, Adam.

Link to comment
Share on other sites

Guest Pawnda

Okay guys.. This is pretty serious...

I went to work today and realized that my GPS (CoPilot Live) doesen't work, as it stores the map data on the sd card...

So... if i can't get this to work i have to buy a new gps, as i need it for my work...

-------

What about ssh'ing to the phone and flashing a new radio image from the phones internal memory?

Might that be possible?

Link to comment
Share on other sites

Guest Pawnda

Okay... I got a ssh connection working over wireless now.

Is it possible to flash a new recovery image or radio image without rebooting in to my current recovery image?

My recovery image looks for the images to flash in the /sdcard/ folder... but that doesen't exist... as the phone wont read from the sd slot...

Link to comment
Share on other sites

Guest Pawnda

Forgot to mention how all this happened..

I put modaco 3.0 on my SD card, along with the wavesecure zip file and the update-hero-radio-63.18.55.06JU_6.35.09.26-signed.zip radio image.

I then rebooted into recovery mode, did a wipe, flashed modaco 3.0, flashed wavesecure, flashed the radio, rebooted, then rebooted again after radio got installed.

And when the phone booted neither USB connection nor SD slot worked.

When using an usb connection it just says "Unknown USB Device" in windows, and in linux when i run dmesg nothin happens when i take the phone out and plug it back in...

Its like the phone cant communicate over USB anymore...

And it wont read any of my SD cards...

Link to comment
Share on other sites

Guest Pawnda

Okay... when i boot the recovery image and put the USB cable in my pc the dmesg log actually outputs something...

Heres the output:

[ 7630.390113] usb 6-2: new full speed USB device using uhci_hcd and address 2

[ 7630.520111] usb 6-2: device descriptor read/64, error -71

[ 7630.760095] usb 6-2: device descriptor read/64, error -71

[ 7631.050104] usb 6-2: new full speed USB device using uhci_hcd and address 3

[ 7631.180090] usb 6-2: device descriptor read/64, error -71

[ 7631.420113] usb 6-2: device descriptor read/64, error -71

[ 7631.650130] usb 6-2: new full speed USB device using uhci_hcd and address 4

[ 7632.070093] usb 6-2: device not accepting address 4, error -71

[ 7632.190097] usb 6-2: new full speed USB device using uhci_hcd and address 5

[ 7632.610096] usb 6-2: device not accepting address 5, error -71

[ 7632.610123] hub 6-0:1.0: unable to enumerate USB device on port 2

[ 7666.110100] usb 6-2: new full speed USB device using uhci_hcd and address 6

[ 7666.231297] usb 6-2: device descriptor read/64, error -71

[ 7666.470100] usb 6-2: device descriptor read/64, error -71

[ 7666.700128] usb 6-2: new full speed USB device using uhci_hcd and address 7

[ 7666.830094] usb 6-2: device descriptor read/64, error -71

[ 7667.070128] usb 6-2: device descriptor read/64, error -71

[ 7667.301329] usb 6-2: new full speed USB device using uhci_hcd and address 8

[ 7667.720098] usb 6-2: device not accepting address 8, error -71

[ 7667.840096] usb 6-2: new full speed USB device using uhci_hcd and address 9

[ 7668.260095] usb 6-2: device not accepting address 9, error -71

[ 7668.260121] hub 6-0:1.0: unable to enumerate USB device on port 2

Still... i don't know what the problem is... im guessing i destroyed some system files when i flashed...

Link to comment
Share on other sites

Guest pulser
Okay... when i boot the recovery image and put the USB cable in my pc the dmesg log actually outputs something...

Heres the output:

[ 7630.390113] usb 6-2: new full speed USB device using uhci_hcd and address 2

 [ 7630.520111] usb 6-2: device descriptor read/64, error -71

 [ 7630.760095] usb 6-2: device descriptor read/64, error -71

 [ 7631.050104] usb 6-2: new full speed USB device using uhci_hcd and address 3

 [ 7631.180090] usb 6-2: device descriptor read/64, error -71

 [ 7631.420113] usb 6-2: device descriptor read/64, error -71

 [ 7631.650130] usb 6-2: new full speed USB device using uhci_hcd and address 4

 [ 7632.070093] usb 6-2: device not accepting address 4, error -71

 [ 7632.190097] usb 6-2: new full speed USB device using uhci_hcd and address 5

 [ 7632.610096] usb 6-2: device not accepting address 5, error -71

 [ 7632.610123] hub 6-0:1.0: unable to enumerate USB device on port 2

 [ 7666.110100] usb 6-2: new full speed USB device using uhci_hcd and address 6

 [ 7666.231297] usb 6-2: device descriptor read/64, error -71

 [ 7666.470100] usb 6-2: device descriptor read/64, error -71

 [ 7666.700128] usb 6-2: new full speed USB device using uhci_hcd and address 7

 [ 7666.830094] usb 6-2: device descriptor read/64, error -71

 [ 7667.070128] usb 6-2: device descriptor read/64, error -71

 [ 7667.301329] usb 6-2: new full speed USB device using uhci_hcd and address 8

 [ 7667.720098] usb 6-2: device not accepting address 8, error -71

 [ 7667.840096] usb 6-2: new full speed USB device using uhci_hcd and address 9

 [ 7668.260095] usb 6-2: device not accepting address 9, error -71

 [ 7668.260121] hub 6-0:1.0: unable to enumerate USB device on port 2
Still... i don't know what the problem is... im guessing i destroyed some system files when i flashed...
Hmmm. This could be difficult to fix. Can you fastboot the device? (turn phone off. Press and hold back button, then tap power button whilst holding back button. Should enter fastboot.) Then type (on computer)
fastboot devices

(presuming you have Android SDK installed OK etc.) and see if you get the device listed. If so, you can fastboot a custom recovery img file and try adb'ing in from there. Otherwise, this is serious :)

Link to comment
Share on other sites

Guest pulser
Okay guys.. This is pretty serious...

I went to work today and realized that my GPS (CoPilot Live) doesen't work, as it stores the map data on the sd card...

So... if i can't get this to work i have to buy a new gps, as i need it for my work...

-------

What about ssh'ing to the phone and flashing a new radio image from the phones internal memory?

Might that be possible?

Yes. The command

flash_image recovery recoveryimg.img

would do that. Don't know if that helps... (You could download the file to the /data partition (if that is even possible ??? - I don't think you can download to there :) )

Link to comment
Share on other sites

Guest pulser
i tried running an ftp server on the phone... but i dont have write access anywhere...

any other way to copy files? tried wget over ssh...

Are you rooted? If so, you need to get an app that makes use of 'su' privileges. If you're not rooted, I think you'd need to be in order to do anything like this. Any luck with fastboot?

Link to comment
Share on other sites

Guest pulser

Yeah. :) I meant fastboot via USB. If that doesn't work, I think this is a hardware issue.

So, to confirm and make sure we are understanding the same thing:

-You can get into fastboot

-But you cannot see the device by typing 'fastboot devices' due to usb issues

If so, this is pretty low level, and possibly hardware. A second opinion from someone else would be good.

Link to comment
Share on other sites

Guest Pawnda

Fastboot works! B)

now i have hope :)

adam@adam-laptop:~/Downloads/android-sdk-linux_86/tools$ sudo ./fastboot boot /home/adam/Downloads/recovery-RA-hero-v1.5.2.img 

downloading 'boot.img'... FAILED (remote: not allow)

So... i remember having this problem when i got the phone in september...

Link to comment
Share on other sites

Guest pulser

OK. That's hopeful!

Now, because it says not allowed, your bootloader is not 'Security OFF', hence preventing the download of the image.

Try

fastboot flash recovery recoveryimg.img

Although I doubt that will work. Also, what version of HBOOT do you have (appears on the white Fastboot screen near the top)?

Do you have a microSD card reader? If so, try making a goldcard and putting that into the device's slot (I know you can't get it to work in normal mode, but bear with me...)

Then try that process again with fastboot flash or fastboot boot. If still nothing, try an original RUU for the HTC Hero. (Use an old versioned one, such as from this thread - http://forum.xda-developers.com/showthread.php?t=559622 and use the FIRST WWE one. That should overwrite everything on your phone (including any user data unfortunately :) ) and give you a stock Hero.

The ROM should also be old enough to also flash an unlocked bootloader (allowing fastboot boot) and you can use AmonRA recovery from there to wipe and do update.zip.

Let me know what you think of doing. I'll be here tonight if you have any probs.

Edited by pulser
Link to comment
Share on other sites

Guest Pawnda

the fastboot command gave me:

adam@adam-laptop:~/Downloads/android-sdk-linux_86/tools$ sudo ./fastboot flash recovery /home/adam/Downloads/recovery-RA-hero-v1.5.2.img 

sending 'recovery' (3362 KB)... FAILED (remote: not allow)

But im gonna reboot into windows now and try the RUU you mentioned.

Link to comment
Share on other sites

Guest pulser
the fastboot command gave me:

adam@adam-laptop:~/Downloads/android-sdk-linux_86/tools$ sudo ./fastboot flash recovery /home/adam/Downloads/recovery-RA-hero-v1.5.2.img 

 sending 'recovery' (3362 KB)... FAILED (remote: not allow)

But im gonna reboot into windows now and try the RUU you mentioned.

Yup. I reckon that's your best bet just now. Be prepared to lose EVERYTHING (and I mean EVERYTHING) on the phone when you do it. It will flash the entire phone, hopefully ridding you of your problems...

pulser

EDIT: Oh! Just remembered. You will need the goldcard to do this RUU. Can't remember if I told you that or not... If you don't have one, make it using a microSD reader on your PC.

Edited by pulser
Link to comment
Share on other sites

Guest pulser
Well... i just tried... but im guessing you have to be indside the android OS while you run the RUU... cause it can't connect to the phone...

Oh. Right. That's an issue. Presuming you had your goldcard in the phone at the time, did you try the RUU while phone was in fastboot mode?

But check the goldcard is in first.

EDIT: saw you're going to call round for a card reader. You will need a goldcard for any hope of this working, but it's not guaranteed. :)

Edited by pulser
Link to comment
Share on other sites

Guest pulser
Oh. Right. That's an issue. Presuming you had your goldcard in the phone at the time, did you try the RUU while phone was in fastboot mode?

But check the goldcard is in first.

EDIT: saw you're going to call round for a card reader. You will need a goldcard for any hope of this working, but it's not guaranteed. B)

Found some info on how the RUU works:

I think what I write below is worth a shot (even without a goldcard)

# Get list of attached devices

adb devices

# Check battery power for detected device.

adb -s <SN> shell cat /sys/class/power_supply/battery/capacity

# Get current device version

adb -s <SN> shell getprop ro.build.description

# Reboot into RUU mode in bootloader

adb -s <SN> shell reboot oem-78

# Check if device is is disconnected from usermode

adb devices

# If not present any more, check via fastboot

fastboot devices

# If detected, check if in RUU mode

fastboot -s <SN> getvar boot-mode

# If mode returns RUU, start the upgrade by erasing cache

fastboot -s <SN> erase cache

# Upload rom.zip file and flash

fastboot -s <SN> flash zip rom.zip

So, it stands to reason that you could also do this by putting a goldcard in (to let us flash an older ROM than we have in just now)

And then rebooting to oem-78 mode by SSHing in and running the command

reboot oem-78
Now, run the RUU exe file on your PC. Wait till it brings up the splash screen, then go to your temp folder and search for a file called 'rom.zip'. This is the file we need. Copy it to the desktop! Do a quick
fastboot devices
and check the Hero shows up. Now run the command
fastboot erase cache
and then
fastboot flash zip rom.zip

after using the command prompt to cd to the desktop (so it can find rom.zip)

HTH (No guarantees as usual :) )

Link to comment
Share on other sites

Guest Pawnda

Well... I'm amazed... None of my friends has a card reader that supports MicroSD...

So i ordered one... will be here thursday...

Will write back when i have tried the goldcard+RUU method :)

Link to comment
Share on other sites

Guest pulser
Well... I'm amazed... None of my friends has a card reader that supports MicroSD...

So i ordered one... will be here thursday...

Will write back when i have tried the goldcard+RUU method :)

Aww. Pity about the wait.

Did you give the oem-78 thing a shot? I think there is a very small chance it 'could' work without a goldcard. Either way, a card reader is useful to have for 'emergencies' like this.

I would try flashing the rom.zip from the temp folder (inside two other folders with random names- sort by data modified to find it), as it should either work or be rejected for 'lack of goldcard' reasons.

Will check back on Thurs.

Link to comment
Share on other sites

Guest Pawnda

Yeah well... Not much else to do xD

If im lucky (VERY lucky) i will have the cardreader in the mail tomorrow.

Sometimes the mail in denmark is faster when you order it to a business address :)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.