• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

getting adb to work\driver install?

paully

Well-Known Member
so maybe this isn't the best place to put this thread, but the short term goal is getting firerat's partition mod to work. so....

I'm having a heckuva time getting an adb driver installed (or should this a be driver specific to the hero?).

first of all:
OS is Windows 7 64bit
phone is: Sprint Hero, Froyo 2.2, AOSPMod v0.9.9.2, kernal v2.6.29.6-aospMod
sdk is in:
C:\android
[yes, i renamed the sdk parent directory, it seemed like a good idea at the time]
i installed the google driver via sdk. sdk put it here:
C:\android\google-usb_driver\android_winusb.inf
eclipse is installed here, although i believe this is irrelevant:
C:\eclipse

when i plug in the hero (via the usb cable, usb debugging is on), in device manager 'ADB' shows up, under 'Other devices'.

i then try to 'Update Driver Software' for this 'ADB', choosing to 'locate and install the driver locally', and i point the wizard to
C:\android\google-usb_driver
and i get the...
'Windows was unable to install your ADB' error

in command, when i run the adb shell:
C:\android\platform-tools>adb shell [this leads to...]
* daemon not running. starting it now on port 5037 *
* daemon started succesfully *
error: device not found

in command, when i run 'devices':
C:\android\platform-tools>adb devices [this leads to...]
List of devices attached
[blank space here...]

i've put in some time trolling forums
(here's a couple:
[ HOW TO ] ADB AND WHY I LOVE ADB commands <3 - Droid Forum - Verizon Droid & the Motorola Droid Forum
[HOW-TO] ADB for Dummies(How-To Learner's Guide) - Page 7 - xda-developers
Installing the SDK | Android Developers
Developing on a Device | Android Developers
)

there's got to be something lame i'm missing...
 
this can help you with your short term goal. I did not need ADB to run firerat mod. Here are the steps:

-First download these two file:
FR-recovery-v1.5.6-CustomMTD_S.zip -This is FR-recovery
FR-boot-v1.5.6-CustomMTD_S.zip - This FR-boot
-Place those two files on the root of your sd card.
-On the root of your sd card, make a .txt file and name it "mtdpartmap.txt"
inside it, type in "mtd 105 2" and hit save. This number varies for ROMS, but i used this one on the rom you are using. Some people take it down to "mtd 100 2". But just to be safe, try 105.
-Boot into recovery, i udsed ClockworkMod. Make a nandroid.
-In recovery: Wipe data/ Factory Reset
Wipe cache partition
Partitions Menu/ Format Boot
Partition Menu / Format System
Paritions Menu/ Format Data
Partation Menu/Format Cache
Advance/ Wipe Dalvik
-Stll in recovery go to "install zip from sd card" and then "choose zip from sd card" and scroll down and flash "FR-recovery-v1.5.6-CustomMTD_S.zip"
-When done, wipe this again:
Partition Menu / Format System
Paritions Menu/ Format Data
Partation Menu/Format Cache
***do not format boot this time***
-Go to advanced again, still in recovery, and select "reboot recovery"
-When your back in recovery, "install from zip" again, "choose zip from sd", and flash :ROM, GAPPS(if needed), Custom kernal(if needed) and then "FR-boot-v1.5.6-CustomMTD_S.zip"
-when its all done, back out into the main menu, and reboot system
 
great write-up reference! worked like a charm!

proud user of 323MB of usable space.
I'm glad it helped. If you try the new gingerbread rom, i used " Mtd 135 2 " for the mtdpartmap.Txt. anytime you want to flash a new rom, make sure it is saved as "mtdpartmap.txt ", not " mtdpartmap.txt.txt " for some reason, it adds the last ".txt" sometimes. That will get you stuck on the HTC white screen. Remember, if you want to get rid of firerat mod, just simply flash your recovery again.
 
I'm glad it helped. If you try the new gingerbread rom, i used " Mtd 135 2 " for the mtdpartmap.Txt. anytime you want to flash a new rom, make sure it is saved as "mtdpartmap.txt ", not " mtdpartmap.txt.txt " for some reason, it adds the last ".txt" sometimes. That will get you stuck on the HTC white screen. Remember, if you want to get rid of firerat mod, just simply flash your recovery again.
yeah, i actually set it to "135 2" as well, anticipating my checking out 2.3 soon. so only ~46% is being used right now in the system block. :P

as a side note, the "-h" switch for the "df" command wouldn't work from adb or via the terminal emulator that came with AOSPMod v0.9.9.2. But did work with the "Better Terminal Emulator" app.
 
Can I create the txt file using Astro File Manager? I don't have cpu access currently and really want ti extra space. I'm basically gonna do the entire mod from the phone. Is that ok?
 
Can I create the txt file using Astro File Manager? I don't have cpu access currently and really want ti extra space. I'm basically gonna do the entire mod from the phone. Is that ok?
i believe the developer recommends against just doing it from your phone, that at some point during the install process when you have to reboot, just manually rebooting the phone and not using the adb command doesn't work on some sprint hero's. but some people haven't had a problem with it, like SupraEA and his process in this thread above.

to answer the other question, any text editing app will do, just save as "mtdpartmap.txt"
 
Back
Top Bottom