How-To [Root][NewLinks] The myTouch 3GS if you updated to Offical 2.2.1 and lost root

Search This thread

dachinaman

Senior Member
Jan 18, 2011
196
4
Fort Worth TX
Do this....

cd C:\(Directory your adb is stored in)
didnt work

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Geoff & Cheronesia>abd devices
'abd' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Geoff & Cheronesia>cd C:\adb devices
The system cannot find the path specified.

C:\Users\Geoff & Cheronesia>
 

txdeathray

Senior Member
Jan 2, 2011
329
36
Houston
didnt work

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Geoff & Cheronesia>abd devices
'abd' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Geoff & Cheronesia>cd C:\adb devices
The system cannot find the path specified.

C:\Users\Geoff & Cheronesia>

can you tell us where did you put your android sdk folder?
 

txdeathray

Senior Member
Jan 2, 2011
329
36
Houston
did it but when i got to "cd /data/local" i get:

C:\Program Files\Android\android-sdk\platform-tools>adb shell
$ cd/data/local
cd/data/local
cd/data/local: not found
$
i was reading at this point i should get a "#" instead of a $ is that correct?

it's been a while since i done that and i never got that error, so i can't say for sure. just to make sure, your phone's still on and not in recovery yet, right?

also, did you successfully push the flash_image and mtd0.img to /data/local ?

edit: if you're getting "ESPRIMG no image or wrong image", something might have went wrong in the before steps. make sure your gold card isn't the sd card you usually use with your phone and make sure you're using every component from this thread and this thread only.
 
Last edited:

dachinaman

Senior Member
Jan 18, 2011
196
4
Fort Worth TX
ClockworkMod Recovery 2.5.0.7 needed

does anybody have the ClockworkMod Recovery 2.5.0.7 update.zip when i try to download from 1st page of OP i get an "404 page not found error" thanks in advance
 

dachinaman

Senior Member
Jan 18, 2011
196
4
Fort Worth TX
it's been a while since i done that and i never got that error, so i can't say for sure. just to make sure, your phone's still on and not in recovery yet, right?

also, did you successfully push the flash_image and mtd0.img to /data/local ?

edit: if you're getting "ESPRIMG no image or wrong image", something might have went wrong in the before steps. make sure your gold card isn't the sd card you usually use with your phone and make sure you're using every component from this thread and this thread only.
sd card was new prior to making it a gold card and im redownloading all files now thanks again
 

dachinaman

Senior Member
Jan 18, 2011
196
4
Fort Worth TX
Im worst than a noob

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Geoff & Cheronesia>cd C:\Program Files\Android\android-sdk\platform-too
ls

C:\Program Files\Android\android-sdk\platform-tools>adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
HT07NPS09769 device


C:\Program Files\Android\android-sdk\platform-tools>adb push flash_image/data/lo
cal
Android Debug Bridge version 1.0.26

-d - directs command to the only connected USB devic
e
returns an error if more than one USB device is
present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is r
unning.
-s <serial number> - directs command to the USB device or emulator w
ith
the given serial number. Overrides ANDROID_SERI
AL
environment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.

If -p is not specified, the ANDROID_PRODUCT_OUT

environment variable is used, which must
be an absolute path.
devices - list all connected devices
connect <host>[:<port>] - connect to a device via TCP/IP
Port 5555 is used by default if no port number
is specified.
disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
Port 5555 is used by default if no port number
is specified.
Using this ocmmand with no additional arguments

will disconnect from all connected TCP/IP devic
es.

device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> [<local>] - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(-l means list but don't copy)
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp - list PIDs of processes hosting a JDWP transport

adb install [-l] [-r] [-s] <file> - push this package file to the device and i
nstall it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data
)
('-s' means install on SD card instead of inter
nal storage)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories
)
adb bugreport - return all information from the device
that should be included in a bug report.

adb help - show this help message
adb version - show version num

DATAOPTS:
(no option) - don't touch the data partition
-w - wipe the data partition
-d - flash the data partition

scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specifie
d device
adb remount - remounts the /system partition on the device re
ad-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
tloader or recovery program
adb reboot-bootloader - reboots the device into the bootloader
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB
adb tcpip <port> - restarts the adbd daemon listening on TCP on th
e specified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns

adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:

- If <directory> is not specified, both /system and /data partitions will be u
pdated.

- If it is "system" or "data", only the corresponding partition
is updated.

environmental variables:
ADB_TRACE - Print debug information. A comma separated list
of the following values
1 or all, adb, sockets, packets, rwx, usb, sync
, sysdeps, transport, jdwp
ANDROID_SERIAL - The serial number to connect to. -s takes prior
ity over this if given.
ANDROID_LOG_TAGS - When used with the logcat option, only these de
bug tags are printed.

C:\Program Files\Android\android-sdk\platform-tools>adb push mtd0.img/data/local

Android Debug Bridge version 1.0.26

-d - directs command to the only connected USB devic
e
returns an error if more than one USB device is
present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is r
unning.
-s <serial number> - directs command to the USB device or emulator w
ith
the given serial number. Overrides ANDROID_SERI
AL
environment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.

If -p is not specified, the ANDROID_PRODUCT_OUT

environment variable is used, which must
be an absolute path.
devices - list all connected devices
connect <host>[:<port>] - connect to a device via TCP/IP
Port 5555 is used by default if no port number
is specified.
disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
Port 5555 is used by default if no port number
is specified.
Using this ocmmand with no additional arguments

will disconnect from all connected TCP/IP devic
es.

device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> [<local>] - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(-l means list but don't copy)
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp - list PIDs of processes hosting a JDWP transport

adb install [-l] [-r] [-s] <file> - push this package file to the device and i
nstall it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data
)
('-s' means install on SD card instead of inter
nal storage)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories
)
adb bugreport - return all information from the device
that should be included in a bug report.

adb help - show this help message
adb version - show version num

DATAOPTS:
(no option) - don't touch the data partition
-w - wipe the data partition
-d - flash the data partition

scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specifie
d device
adb remount - remounts the /system partition on the device re
ad-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
tloader or recovery program
adb reboot-bootloader - reboots the device into the bootloader
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB
adb tcpip <port> - restarts the adbd daemon listening on TCP on th
e specified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns

adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:

- If <directory> is not specified, both /system and /data partitions will be u
pdated.

- If it is "system" or "data", only the corresponding partition
is updated.

environmental variables:
ADB_TRACE - Print debug information. A comma separated list
of the following values
1 or all, adb, sockets, packets, rwx, usb, sync
, sysdeps, transport, jdwp
ANDROID_SERIAL - The serial number to connect to. -s takes prior
ity over this if given.
ANDROID_LOG_TAGS - When used with the logcat option, only these de
bug tags are printed.

C:\Program Files\Android\android-sdk\platform-tools>adb shell
# cd/data/local
cd/data/local
cd/data/local: not found
# chmod 04755*
chmod 04755*
Usage: chmod <MODE> <FILE>
# /data/local/flash_image misc/data/local/mtd0.img
/data/local/flash_image misc/data/local/mtd0.img
usage: /data/local/flash_image partition file.img
#
all commands were typed correctly and im still not rooted when i go into Hboot i get ESPRIMG no image wrong image no prompt to update but if i scroll and go into recovery verification error i deleted and redownloaded all files i cant figure what im doing wrong
 

txdeathray

Senior Member
Jan 2, 2011
329
36
Houston
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Geoff & Cheronesia>cd C:\Program Files\Android\android-sdk\platform-too
ls
...

all commands were typed correctly and im still not rooted when i go into Hboot i get ESPRIMG no image wrong image no prompt to update but if i scroll and go into recovery verification error i deleted and redownloaded all files i cant figure what im doing wrong

hmm, i see you're retyping the directory to your platform-tools folder, that might be the cause .i'm not 100% sure because i'm not that techi, but from what you posted, it seems that adb doesn't recognize the command you typed in because of all the directory stuff you have in front of adb push and all.

after you typed in cd C:\Program Files\Android\android-sdk\platform-tools, don't retype all that, just type in adb devices. after that, type in exactly what the OP says without retyping the directory stuff (so you would type in exactly adb push flash_image /data/local, nothing more) and keep going. see if that solves the problem.
 
Last edited:

dachinaman

Senior Member
Jan 18, 2011
196
4
Fort Worth TX
hmm, i see you're retyping the directory to your platform-tools folder, that might be the cause .i'm not 100% sure because i'm not that techi, but from what you posted, it seems that adb doesn't recognize the command you typed in because of all the directory stuff you have in front of adb push and all.

after you typed in cd C:\Program Files\Android\android-sdk\platform-tools, don't retype all that, just type in adb devices. after that, type in exactly what the OP says without retyping the directory stuff (so you would type in exactly adb push flash_image /data/local, nothing more) and keep going. see if that solves the problem.
i only type cd C:\Program Files\Android\android-sdk\platform-tools once and when i hit enter it comes back by its self

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Geoff & Cheronesia>cd C:\Program Files\Android\android-sdk\platform-too
ls

C:\Program Files\Android\android-sdk\platform-tools>
 

txdeathray

Senior Member
Jan 2, 2011
329
36
Houston
i only type cd C:\Program Files\Android\android-sdk\platform-tools once and when i hit enter it comes back by its self

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Geoff & Cheronesia>cd C:\Program Files\Android\android-sdk\platform-too
ls

C:\Program Files\Android\android-sdk\platform-tools>

That one is normal, but what about the steps afterward? Did you typed in those as well?

It's kinda odd because when you typed in the adb push command, yours only showed a list of possible command lists that can be used instead of pushing files

Just thought of something, if you don't mine, tell me step by step exactly what you did after you created the gold card, including where you moved the flash_image and mtd0.img files. I know this might be a bit long, but I want to rule out any possible causes.

Sent from my HTC Salsa C510e using XDA App
 
Last edited:
  • Like
Reactions: dachinaman

ameedi600

Senior Member
Oct 12, 2010
688
38
Make sure your sd card is formatted as fat32 first. You could do this by connecting your phone to the pc and right clicking on the sd card under my computer. Then click properties and it should say what format it is. To format it, just right click the sd card again and scroll down to format. Click on format and it should give you the option to change it to fat32. Then once you have changed it and done a full format, then begin the process of changing it into a gold card. After you change it into a gold card, place all the files necessary onto the sd card and begin with adb.

Sent from my GT-I9000 using XDA Premium App
 

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    First of all i spent 3 days Trying and failing to root the phone and this is my first tutorial if theirs anything i missed please don't hesitate to point it out.

    I am Not responsible for any damage, Explosions, Nuclear Holocaust etc. this root method may cause.

    Files you will need below:

    1. Engineering Recovery package: Download

    2. SuperOneClick v1.7: from Here Thanks to CLShortFuse

    3. A GoldCard: To easily create a Goldcard in a couple of minutes without ADB skills or commands, check this thread

    4. Stock firmware: Download

    5.the ClockworkMod Recovery 2.5.0.7 : Download

    5. a know how of how to use ADB.
    - There's a good ADB learning guide here: ADB for noobs
    (Thanks steviewevie)

    Lets Begin

    Step 1: Assuming you already created a gold card place it in your phone and mount it place the Stock Firmware zip and update.zip on root. and unzip Engineering Recovery package and place them in your AndroidSDK in the "Platform-tools" folder.

    Step 2: unzip and run SuperOneClick v1.7 and make sure your phone is connected via USB with USB Debugging ON. Now press Shell Root and let it run you should get a success pop up.

    Step 3: Run ADB and type the following:
    adb devices
    you should get your devices serial
    adb push flash_image /data/local
    adb push mtd0.img /data/local
    adb shell
    cd /data/local
    chmod 04755 *
    /data/local/flash_image misc /data/local/mtd0.img

    Step 4: Once complete, power off the TMobile myTouch Slide

    Step 5: Hold the Volume Down button while powering on until the device is in bootloader mode.

    Step 6: After a minute or so, the device will prompt to see if you want to run the update. Press the Volume Up button to accept & apply the update.
    NOTE: (IF YOU GET A ERROR MSG THAT THE ZIP VERSION IS OLDER THEN THE THE PHONE VERSION YOUR GOLDCARD WAS MADE WRONG!!)

    Step 7: Once the device is finished applying the update, it will ask you to reboot. DON'T reboot the device & press the Volume Down button to tell the device not to.

    Step 8: Back at the bootloader menu, use Volume Down to highlight Recovery and press the Power button to boot into the recovery.

    Step 9: Once in the recovery, you will see a device with a triangle. Press Volume Up & the Power button.

    Step 10: Use the Volume Down button to highlight Apply update.zip & press the Power button to select this.

    Final Step: After a moment, the TMobile myTouch Slide will boot into the ClockworkMod Recovery.

    After that you can now pull battery and insert your main memory card with your desired ROM and Radio Update if you wish and boot into recovery and Happy
    Flashing

    Enjoy!! :)
    1
    This is how I achieved root! I guess great minds think alike. :) I was just about to post too, but you beat me to the punch. See the minute I realized with SuperOneClick I could achieve Shell root I could push mtd0.img and flash and then flash the engineering build but you beat me to it! I was thinking about it all day during class and it worked but kudos to you!

    Sent from my T-Mobile myTouch 3G Slide using XDA App
    1
    yes, I did that and typed all the other commands in order, no problems it's just that last one that's giving me the problem

    Hmmm, just to be sure, type "ls -l" (those are both lower case L's) in that same directory and post the output.
    1
    I think I found my problem, Do you absolutely have to have an extra SD card ? I have just been using the one that came with my phone. Where I think I'm screwing up is that I am putting on the ESPRIMG and update files on after the goldcard has been made is this the issue ?

    Try using the Goldcard Helper app from the Android Market. That's the only way I was able to get the correct CID for the generator.

    Copying the files after making the goldcard shouldn't make a difference.
    1
    you got step 2 wrong because you haven't successful with step 1. Make sure you formated your SD card at FAT 32. Then create Gold card again and put your PC connection at Charge only.
    I'm quite certain I followed all the steps. Yes, my card is FAT32. Does it matter if it's formatted in the phone or a PC? I stuck it in a laptop SD slot with a microSD adapter. Is there something about particular cars that cause it to not work?

    This still doesn't address the issue of me being unable to flash mtd0.img to misc, since that step comes before flashing ESPRIMG with the goldcard. Should I attempt to do this in recovery, if so, how would I do that?