yashsingh1/xdaforums huggingface dataset:
[myTouch 3G Slide Android Development] izzy001:
I was trying to root a slide I just got and i get to the part where i have to flash the ESPRIMG.zip but it doesnt flash. Idk what i do id wrong but i followed everything to the letter. My hboot is 0.52.0000 if helps.

Edit: got it running. all I had to do is wipe my sd card
[myTouch 3G Slide Android Development] Creeniest:
Help!!!

I do realize this is an older thread. The link to the ESPRIMG.zip is broken. Is it an unmodified version or do I need this specific ESPRIMG.zip? My Galaxy S broke and unfortunately I do not have money for a new phone. I just happened to have this phone laying around. Any help would be greatly appreciated! Thanks!

P.S. All I wanted to do was update it to 2.2.1 but all the links on the HTC websites are gone and I cannot find the files needed anywhere.
[myTouch 3G Slide Android Development] ilmostro7:
There's an ESPRIMG.zip right here. I just found it on this thread. Hope it helps you...I'm working on reviving my old mytouch_3g-slide as well. I had it softbricked a while back.
[myTouch 3G Slide Android Development] :
video tutorial please? Im a little confused:confused:
[myTouch 3G Slide Android Development] Logos Ascetic:
The Download link is broken

Does anyone have the exploid exploit files?
[myTouch 3G Slide Android Development] thekroof:
Maybe

In the off chance I check this forum for old times sake..

Anyway - I might. I'll check later when I get home.
[myTouch 3G Slide Android Development] Virus1x:
anyone know if root matters?

is one better then the other or is it all kinda the same?
[myTouch 3G Slide Android Development] UnkzDomain:
No. We need S-OFF for that... it's being worked on. There's been an exploit found for CDMA radios, but the Slide is GSM. ChiefzReloaded bricked his phone trying to get the CDMA exploit to work...
[myTouch 3G Slide Android Development] statuzz:
thats really important in a diferent window, open a new cmd line or konsole and begin with eng process...thanx to the OP for the instructions :)
[myTouch 3G Slide Android Development] falken98:
Not at all. Just like to know exactly what its doing. :D

Knowledge is power. :)

Thanks for posting the source nb!
[myTouch 3G Slide Android Development] Ace42:
Is this the right thing to do after updating to eng?

-update rec to clockwork via rom manager

-Flash radio from CR

-wipe flash new rom
[myTouch 3G Slide Android Development] nbetcher:
I am in the process of writing a "one" click root program for Windows/Linux/Mac OSX as we speak. You plug in your phone, click a couple buttons, wait a sec, and BAM.

I'm also at work at the moment (until 7am CST), so it isn't all quality coding time.
[myTouch 3G Slide Android Development] televate:
never thought about opening up a new cmd window. rebooting now.

edit: looks like the nbh worked like a charm. great job man. now i can flash chiefz ota rom. glad to have root back! :D

one more edit: so to be clear, once i've flashed the nbh image, do i need to repeat the root process originally provided by eugene? because i'm assuming the new root method doesn't include the clockworkmod recovery, and that's what i would need to flash new roms.
[myTouch 3G Slide Android Development] zachenry:
SWEET ACTION! great work guys.
[myTouch 3G Slide Android Development] nbetcher:
You can't update our recovery partition on our devices at the moment since we have NAND protection locking that out. We are waiting on Unrevoked's Forever to be ported to the Slide - BUT please no one bother them about that! (Not directed to you specifically, Ace :) )

(Next) I would flash a custom ROM personally, but it's not required.

(Next) Then flash the new Radio from CR (update #2).
[myTouch 3G Slide Android Development] Ace42:
I don't know who unrevoked is so i wouldn't bother him/her :p

But im just happy to have root working for me, I wanna try cr's version of the ota and then maybe cm6.(already have cm6 on g1)
[myTouch 3G Slide Android Development] nbetcher:
Not entirely true. I think the NAND protection for 'system' is shut off in recovery, but when you remount it as read/write in Android it allows the remount, but when you attempt to write something to /system it tells you there's no free space left (even though there was prior to copying the file). Then if you look at dmesg it shows a lot of NAND write errors about bad sectors - I think that's our indication that NAND protection is on.

In short: no, you can't write to /system during Android being loaded. Use a recovery ROM other than Clockwork to get console (I think?) and then write files that way - that's my only idea, but I haven't tried it.
[myTouch 3G Slide Android Development] UnkzDomain:
If you release the source to that, I'd be willing to make an on-phone one-click root, too... I just need to find out if the commands can be run from the phone itself rather than through adb. Also, for the adb push part, would cp work fine if the file were already on the phone?
[myTouch 3G Slide Android Development] collins521:
Maybe I'm not as tech savy as I think, I get root with the # and push all the right files but when I try and use the ESPRIMG file it says that it doesn't have the right image or something when the screen flips on recovery. It scrolls to fast for me to catch it.

Any idea what I didn't do right? Lol
[myTouch 3G Slide Android Development] Ace42:
You have to use the espr while in fastboot down+power then wait for it to detect it on your sdcard. After that i flash update.zip from eug and then new slidemeroot2, then flash older new(release ver) radio, then flash OTA full from CR.
[myTouch 3G Slide Android Development] UnkzDomain:
Yeah, make sure you go into the SPL (volume down + power). If it still doesn't work, try re-pushing the files and try again.
[myTouch 3G Slide Android Development] collins521:
Sorry I meant fastboot...when I press the down+power and wait it does the whole detection of the espr file but then goes back to the fastbook screen to choose fastbook, recovery, etc.
[myTouch 3G Slide Android Development] UnkzDomain:
Your downloaded file may be corrupted... try redownloading the ESPRIMG (yeah I know, it's huge) and re-pushing the files. The files that you need to push are important because they trick the SPL into letting you downgrade to ENG.
[myTouch 3G Slide Android Development] collins521:
How big should the files show that were pushed? I noticed I was getting different sizes and thought I got the right size eventually
[myTouch 3G Slide Android Development] nbetcher:
Yup, cp should work. I am finding out the commands, but it seems it's more challenging than I thought. We're speaking with Cyanogen to figure out how to control the wifi through the console.
[myTouch 3G Slide Android Development] UnkzDomain:
Well, if it's a native Android app, you can use http://developer.android.com/reference/android/net/wifi/WifiManager.html#setWifiEnabled(boolean)

I'm fairly sure there's an Activity you can launch and have the user manually enable Wi-Fi, too. You can also try checking logcat for when you use the Power Control widget on a stock rom...
[myTouch 3G Slide Android Development] TheArtiszan:
just wanted to thank you very much for this information and also to let everyone know this does work to get root console. on a stock device original shipping device

I was then able to combine steps with how to apply eng rom then the standard steps for rooting worked. When I was trying to root before was never found in recovery and no was able to get detected to do unrevoke and worked.
[myTouch 3G Slide Android Development] decko5:
thank you

thanks for making this so straightforward.

i know this didn't root my phone but i was able to get through this completely.

what exactly do i do next to root? (where do i pick off on another tutorial to root?)

i just want to overclock my processor
[myTouch 3G Slide Android Development] Sumanitu:
This worked great on the newest OTA! Thank you both so much :)
[myTouch 3G Slide Android Development] fenixnr:
There is no real overclocking atm, its all beta and not 100% tested.
[myTouch 3G Slide Android Development] nbetcher:
Please note: after 12 hours of programming on-and-off I had another one of my classic 'epiphany' moments, unfortunately this one was not to my benefit, per say. While I had previously understood this my devotion to the community and generating an easier utility blinded me to connecting the dots until now... a One Click root application CANNOT be made. I have updated the OP to reflect this.

Here's why: while Android is running we cannot write to /system. In order to have root you need su, and in order to have su you need to install it into /system/xbin. While the exploid program does remount /system as read/write any attempts to actually WRITE data to /system fails (says it's "out of free space," but it really isn't). Looking at dmesg it becomes clear that the NAND protection is locking the system from writing to it.

Ahh yes, I hear you now saying "But nbetcher, we can write to /system by using Clockwork!" To which I say: that is the exception! As previously stated: WHILE ANDROID IS RUNNING we cannot write to /system.

Enjoy. :)

P.S. Feel free to donate to me here or to ChiefzReloaded!
[myTouch 3G Slide Android Development] fitsnugly:
Outstanding job. Now I'll be divorced for stealing the wife's slide and rooting it while she slept. :)
[myTouch 3G Slide Android Development] falken98:
Here is my contribution. :)

wifi on: service call wifi 13 i32 1

wifi off: service call wifi 13 i32 0
[myTouch 3G Slide Android Development] UnkzDomain:
Crap. lol, that makes sense.
[myTouch 3G Slide Android Development] TheArtiszan:
Just running it thru my head now but I think I would be able to make a windows batch script that does all the commands just asks the user to do a few things on the device directly.

Can automate all the actual command s for adb like pushing needed files have the script then pause and echo "turn on wifi press any button"and progress that way.

All I did with my slide was these instructions coupled with engineering build then booted clockwork
[myTouch 3G Slide Android Development] illfxckinqwill:
Could someone please clarify what it means to be in the same directory as exploid before you begin? sorry for such a noob question!
[myTouch 3G Slide Android Development] collins521:
Put the exploid in the tools folder so you can do everything in the command prompt from there
[myTouch 3G Slide Android Development] collins521:
Maybe I'm missing something...once you get root do you have to type the "su"?
[myTouch 3G Slide Android Development] Ace42:
If you mean the # sym then no, you can cont to the eng build mentioned in the OP. I put eng build, slidemeroot2, 2nd to newest radio,update.zip(cont clockwork) all on my sd...

-1st flash that eng via fastboot(down+power) after typing the commands in new cmd/liunx term/osx term stated in OP

-now goto rec via fastboot, flash the update.zip

-should be in clockwork now, flash slidemeroot.zip, reboot

-go back to rec and reflash update.zip for clockwork, flash newestradio.zip(found in one of cr's threads)

-reboot, wait for radio to flash, you must now flash OTA full(rooted ver from cr) in recovery mode, after reflashing update.zip for clockwork

Sorry for sloppy ins, in a rush
[myTouch 3G Slide Android Development] Mylenthes:
Does anyone know how to get titanium to work? It says I dont have root but all my other root apps work fine.

It also says I need busybox which I dont have could that be the problem?

EDIT: I found busybox in the market but it sounds risky because it says that NAND needs to be unlocked, should i install it?
[myTouch 3G Slide Android Development] JAWheat411:
Click on the PROBLEMS tab in Titanium. It will then download Busybox. Follow instructions from there.
[myTouch 3G Slide Android Development] enatefox:
clockwork rom manager lets you pass commands to recovery right? with a little help i can modify my WIP root app to send the right steps so the phone will reboot into recovery and run it. Then.. you will haz your 1 click root app.
[myTouch 3G Slide Android Development] UnkzDomain:
That's what I was thinking at first, but that would only work if you exploited the race condition to boot INTO clockwork because you'd need to have ENG already in order to get into ClockworkMod Recovery anyways :-/
[myTouch 3G Slide Android Development] dominiiking:
why do i keep permission denied when i try to run sqlite command?????
[myTouch 3G Slide Android Development] kemimarie:
DOES THIS METHOD WORK!!

http://xdaforums.com/showthread.php?t=747598
[myTouch 3G Slide Android Development] kemimarie:
Do we really need the SlideEng Package??
[myTouch 3G Slide Android Development] kemimarie:
Ok this is my plan but im a bit confused.

I would like to use this simple root to root my MTS.

After rooting, id skip STEP 13 & flash ClockRecovery to flash Eugene's Froyo5.

but now ive seen that you may need Step 13 in order to use step 13.

Any advice??
[myTouch 3G Slide Android Development] mlysz:
No, you have to flash the Eng release first, then you can flash any rom you wish.
[myTouch 3G Slide Android Development] enatefox:
well, i don't own this phone but i've already made the one click root app for it. all i need is some support on what it will take to make it work. i'm down for the cause but i can't test nand lock issues. i know that clockwork mod passes commands *somehow* to the recovery but his code is obfuscated on how exactly. if it's true it will take a PC and recovery then fine, if there's a possibility of an app then let me know. the code is right in front of me to pull it off.
[myTouch 3G Slide Android Development] nbetcher:
I'm not sure either, but if I had to guess I would say that the NAND protection on /system is lifted once you enter recovery mode, so Clockwork doesn't need to do anything special. I just don't think an easy One Click root can be done, honestly.

EDIT: Ahh, you mean Clockwork ROM Manager.... in that case, I do not know. Do you have the source code for the ROM Manager?
[myTouch 3G Slide Android Development] nbetcher:
NO. 10chars
[myTouch 3G Slide Android Development] nbetcher:
If anyone has been confused about this process, please re-read the original post. I have updated it significantly to answer your questions and provide additional steps!
[myTouch 3G Slide Android Development] KellyLewis3985:
OK check it you need to do the first 2 steps of the slideeng first then do this method once you unlock you will already be in su so no need for step 4 in eng build then go straight into the rest of the eng build instructions thats the only way i could get this to work
[myTouch 3G Slide Android Development] KellyLewis3985:
Latest Root method and Eng build steps together for the fastest ever way to install new roms

You will need the tools from the Android SDK.

Download http://outboundlink.net/anxo/dr_ta_...://www.4shared.com/file/OsmF_ZD7/ESPRIMG.html and Place on your Sdcard

Files Needed Before We Start > http://www.4shared.com/file/sz0VO2TL/SlideEng-package.html

http://www.4shared.com/file/CZsxSq-f/exploid.html (extract this into your SDK Tools directory)

Phone Powered On.

1.adb push /{the folder u downloaded it to}/flash_image /data/local

2.adb push /{the folder u downloaded it to}/mtd0.img /data/local

If you have problems pushing with phone on try this (adb remount) then try to push files.

3.Extract Exploid.zip to the SDK Tools Directory

4.Make sure your phone is in USB debugging mode AND you are in "Charge Only" mode.

5.Connect your phone to your computer.

6.Make sure you're in the same directory as where exploid is extracted before continuing to the next step.( will be Android-SDK-Windows\Tools

7.Issue the following command: adb push exploid /sqlite_stmt_journals. Note: It MUST be in that directory - NO exceptions.

8.adb shell

9.cd /sqlite_stmt_journals

10.chmod 0755 exploid

11./exploid

12.Toggle your phone's Wifi (on or off, however you wish to do that).

13.Now (again) run: ./exploid

14.It should prompt you for a password, enter: secretlol.

15.cd /data/local

16.chmod 04755 *

17./data/local/flash_image misc /data/local/mtd0.img

18.Power Off Phone!

19.Power on Using Volume Down + Power

20.hit Volume Up to Update!!!

This setup will give you everything you need to install custom roms on your phone also I recommend getting Rom Manager before you try to install any roms for

the reason that you can install the latest clockwork recovery and make a backup of your phone very easy.Enjoy.Also. Thankyou nbetcher for the hardwork this is for you.
[myTouch 3G Slide Android Development] collins521:
Thanks a lot on this method...after a week of trying to use the old method I finally got this to work, so much easier than the other
[myTouch 3G Slide Android Development] KellyLewis3985:
Oops number 11 is ./exploid I will fix it tomorrow
[myTouch 3G Slide Android Development] milenko23:
im extremely new to this and I usually have my brother do all this for me but I need to learn it.

I am stuck on step 4. I download android sdk and the file you posted and they are in the sdk tools folder. When I run the command it wont do anything here is what I see.

C:\users\david\documents\android-sdk-windows\tools>abd push exploid /sqlite_stmt_journals

'abd' is not recognized as an internal or external command,

operable program or batch file.

What am i missing?
[myTouch 3G Slide Android Development] bgolden84:
what your are missing

u need to cd before u push try this

cd C:{where ever the sdk/tools is }

then adb push {the file you wish to push }

try that your comands are right ur just trying to push before u change directorys and that wont work sorry for the bad spelling :D:D
[myTouch 3G Slide Android Development] bgolden84:
i have also found it much easier to just rename the folder to sdk place it on the root of the c drive and then the cd is cd c:/sdk/tools

then it should show C:/sdk/tools

then u use ur push command adb push and what ever file u wish ti where u wish
[myTouch 3G Slide Android Development] falken98:
It is adb, not abd.
[myTouch 3G Slide Android Development] kingofyo1:
method added to slide rom bible sir!
[myTouch 3G Slide Android Development] milenko23:
Wow falken thx for noticing I can't believe I typed it in wrong.

I did the cd so I am in the folder but quick question. Should I type in

Adb push exploid /sqlite_stmt_journals

Or

Adb push exploid (hit enter)

Then

Sqlite_stmt_journals
[myTouch 3G Slide Android Development] locoboi187:
I wish a root was out for my evo...
[myTouch 3G Slide Android Development] migueltherocker:
it is....you even have a cyanogenmod release...
[myTouch 3G Slide Android Development] Ace42:
Might wanna try the evo section...
[myTouch 3G Slide Android Development] locoboi187:
Hence the "wish" in my last post...
[myTouch 3G Slide Android Development] dglowe343:
It is unless you have Froyo
[myTouch 3G Slide Android Development] kemo8388:
...problems with new root

Hey guys hows it going? Well i was definitely interested in this new root method and so i was trying out... but i already hit a wall... seing if anyone can help...

I extracted the file from the zip and placed it in the androidsdk tools directory... i open up the command promt and set the directory... from there i type in the first command.. adb push exploid /sqlite_stmt_journals... but then i get failed to copy 'exploid' to '/sqlite_stmt_journals' : read only file system

what am i doing wrong?
[myTouch 3G Slide Android Development] locoboi187:
That makes no sense. But yes i have Froyo
[myTouch 3G Slide Android Development] the real decadeofevil:
ugh

ive rooted my g1 ive rooted a cliq but this slide is the death of me ive done all these steps like 30 times now and everything goes great then i reboot to the skateboard dude and it searches for an image then says there is none im about to give up... please help (stock slide with ota update)
[myTouch 3G Slide Android Development] falken98:
Then the file ESPRIMG.zip is not on the root of your sdcard, or the file is invalid.
[myTouch 3G Slide Android Development] the real decadeofevil:
ill give that a shot thanks for the advice
[myTouch 3G Slide Android Development] milenko23:
Did I do it right. After I type in secret password it repeats the password on the next line. Then its puts # and it stops. Am I ready to flash step 13? And if so when I goto the link in step 13 do I use a new command prompt window? Also if I do use a new prompt can I close the original?
[myTouch 3G Slide Android Development] falken98:
Yes, the # indicated you are root. You will want to do the commands in the current window, as it is a root shell.
[myTouch 3G Slide Android Development] milenko23:
Do I just type the commands on the #line? Sorry this is 100% new to me

Also what step would I start one in the eng?
[myTouch 3G Slide Android Development] the real decadeofevil:
ive tried this like 50 times now everything is in place and i get nowhere no image at the skateboard dude so frustrated right now
[myTouch 3G Slide Android Development] falken98:
Then the file isn't really on your SDCARD. :) Do a directory listing, do you see it there? what is the file size?
[myTouch 3G Slide Android Development] milenko23:
I finally did it
[myTouch 3G Slide Android Development] ratchetrizzo:
adb push isn't a shell command. You need to do all adb commands at a windows command prompt.
[myTouch 3G Slide Android Development] the real decadeofevil:
i used the myroot batch method and it finally worked... this was by far the most frustrating root ive ever done but cm6 is really worth it!! thanks to everyone who has made this all possible!
[myTouch 3G Slide Android Development] ratchetrizzo:
I followed the instructions and was rooted and eng build in less than 10 mins.

This is SIMPLE.
[myTouch 3G Slide Android Development] Otherkid:
I keep getting freaking device not found error. Its in debugging mode and charge only. I've got exploid in the same file directory as adb but I cant get it to work.

Windows 7 64 bit

Any help please?
[myTouch 3G Slide Android Development] ratchetrizzo:
install the drivers from pdanet

That will fix that problem for you
[myTouch 3G Slide Android Development] KellyLewis3985:
if you still need help pm me i will walk you through the entire process just let me know
[myTouch 3G Slide Android Development] kufudo:
I don't mean to hijack, but if people are still having problems with this, you can try going through this guide. It's complete from A to Z and a little bit more noob friendly. It's how I got mine rooted and updated to CM6, and I didn't know a thing about any of this stuff.
[myTouch 3G Slide Android Development] nbetcher:
It is my sad duty to inform you all that we will not be receiving the much-anticipated NAND protection removal as sufficient details have been provided to me that it is not possible with the current knowledge we have of our device.

While this may be the case, I am still working on new methods to write - at minimum - to the recovery mtd.
[myTouch 3G Slide Android Development] dustinkh:
Finally

I'm finally rooted and running Cyanogen 6 on my slide. I laaaav it. Thanks again everyone for all the information and help you've provided.
[myTouch 3G Slide Android Development] bbbblack:
This method got me rooted upon the first try. Verbatim is the key lol, thanks so much man !!
[myTouch 3G Slide Android Development] kemimarie:
figured it out!
[myTouch 3G Slide Android Development] kemimarie:
this method worked .. it was more detailed!
[myTouch 3G Slide Android Development] nbetcher:
If you would have read previous posts it would have indicated to skip running the command 'su'. Exploid is EFFECTIVELY the command 'su'!
[myTouch 3G Slide Android Development] kemimarie:
Well i clearly figured it out! THANK YOU!
[myTouch 3G Slide Android Development] bryancruise:
Just wanted to say that this is the thread that made the dream of rooting a reality for me... It was so simple... in fact, I wasn't even sure I was rooted until I flashed the cm 6 rc1 ROM.

Thank you to the OP, eugene of course, and all of the comments along the way.
[myTouch 3G Slide Android Development] droider27:
ok so is kenimarien's method the best method I've tried everything?????