• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

No ADB & No SD

105 posts in this topic

Posted

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.

0

Share this post


Link to post
Share on other sites

Posted

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?

0

Share this post


Link to post
Share on other sites

Posted

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...

0

Share this post


Link to post
Share on other sites

Posted

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...

0

Share this post


Link to post
Share on other sites

Posted

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...

0

Share this post


Link to post
Share on other sites

Posted

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 :)

0

Share this post


Link to post
Share on other sites

Posted

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 :) )

0

Share this post


Link to post
Share on other sites

Posted

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...

0

Share this post


Link to post
Share on other sites

Posted

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?

0

Share this post


Link to post
Share on other sites

Posted

Yeah, im rooted.

When you say fastboot, do you mean over USB?

Because i can't get USB access to the phone... neither in recovery or fastboot...

0

Share this post


Link to post
Share on other sites

Posted

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.

0

Share this post


Link to post
Share on other sites

Posted

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...

0

Share this post


Link to post
Share on other sites

Posted

I can't use the recovery flasher apk...

Any other way to fix this through fastboot?

0

Share this post


Link to post
Share on other sites

Posted (edited)

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
0

Share this post


Link to post
Share on other sites

Posted

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.

0

Share this post


Link to post
Share on other sites

Posted (edited)

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
0

Share this post


Link to post
Share on other sites

Posted

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...

0

Share this post


Link to post
Share on other sites

Posted

I'm gonna go call some friends and ask if they have an card reader i can borrow :)

0

Share this post


Link to post
Share on other sites

Posted (edited)

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
0

Share this post


Link to post
Share on other sites

Posted

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 :) )

0

Share this post


Link to post
Share on other sites

Posted

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 :)

0

Share this post


Link to post
Share on other sites

Posted

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.

0

Share this post


Link to post
Share on other sites

Posted

I tried the "reboot oem-78" and "su reboot oem-78".

Just gives me "not permited!"...

0

Share this post


Link to post
Share on other sites

Posted

I tried the "reboot oem-78" and "su reboot oem-78".

Just gives me "not permited!"...

Typical... I guess the goldcard is needed.

0

Share this post


Link to post
Share on other sites

Posted

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 :)

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.