Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[UTIL] New Root Method as of 8/13! -> UPDATED 12/30 for NOOBS! <-

OP nbetcher

14th August 2010, 12:09 AM   |  #1  
OP Senior Member
Flag Minneapolis
Thanks Meter: 115
 
466 posts
Join Date:Joined: Jan 2010
Donate to Me
More
Hello everyone!
You may or may not know me, however I have secretly been working behind the scenes with ChiefzReloaded to learn how Android works. Together we have been trying to develop new ways to root the Slide, primarily because we both landed in a sticky situation that left us both without root and without a way to revert to root.

After many long hours of trying to restore my phone, I have now ported the exploid exploit to the MyTouch Slide! This means that you can gain root on any version of the Slide, INCLUDING the latest OTA! However, this isn't necessarily "easy" as in the One-Click Root program, but there are reasons for this. While Android is running we cannot write to /system and even if we force Linux to let us, the NAND protection will prevent Linux from completing the write!

To get started, please see the bottom of this post for the link and download it. You will want to download it to your computer and not your phone's SD card. Also, you will need the tools from the Android SDK. I would suggest extracting the file from my zip at the bottom of this page into the Android SDK's tools directory.
  1. Extract the zip
  2. Make sure your phone is in USB debugging mode AND you are in "Charge Only" mode.
  3. Connect your phone to your computer.
  4. Make sure you're in the same directory as where exploid is extracted before continuing to the next step.
  5. Issue the following command: adb push exploid /sqlite_stmt_journals. Note: It MUST be in that directory - NO exceptions.
  6. Run: adb shell
  7. Run: cd /sqlite_stmt_journals
  8. Run: chmod 0755 exploid
  9. Run: ./exploid
  10. Toggle your phone's Wifi (on or off, however you wish to do that).
  11. Now (again) run: ./exploid (if prompted for a password enter: secretlol)
  12. The next line should now begin with a pound (#) - if not, then something isn't setup right. Make sure to follow the directions verbatim. If you suspect you did follow them correctly, please reply to this post letting me know.
  13. You should now be root! At this point you can do many things, but if you're looking to flash a custom ROM, continue to these instructions:
[NEW 10/18/2010:]
Steps 1-12 are intended to get you the ability to flash mtd0.img (which previously required using the SimpleRoot method) by gaining root inside of Android. By following the instructions in the rest of this section, it will allow you to flash a ROM or S-OFF your device:
  1. The files you need are at: http://forum.xda-developers.com/showthread.php?t=703076- download both files linked in there (ESPRIMG.zip and SlideEng-package.zip)
  2. Extract the contents of SlideEng-package.zip to a place of your choosing on your computer.
  3. Place the entire (unextracted) ESPRIMG.zip on your SDcard.
  4. Now push the files 'flash_image' and 'mtd0.img' that you just extracted from SlideEng-package.zip to /data/local using 'adb push'. (Noob? Instead of using 'adb push', install Droid Explorer and, using that utility, copy the 'flash_image' and 'mtd0.img' files to /data/local on your Slide)

Now I'm going to assume your phone is at root prompt (#) using steps 1-12. So now do (without typing the '#' symbols in front of both lines - they're just there to remind you that you need to be at a '#' prompt):

Code:
# cd /data/local
# chmod 04755 flash_image
# ./flash_image misc mtd0.img
Before you reboot make sure that the ESPRIMG.zip is on your SDcard!

  1. Now turn off the phone.
  2. Then press Volume-Down + Power.
  3. The phone will power on and after about 5 minutes of verifying ESPRIMG.zip it will ask you if you want to flash it.
  4. Press Volume-Up for 'YES' and wait until it finishes (ABSOLUTELY DO NOT POWER DOWN WHILE IT'S STILL FLASHING!!!).
Now when you go into recovery it should allow you to 'Apply update.zip from sdcard' (booting into Clockwork). If you don't have the Clockwork update.zip, here it is: http://www.4shared.com/file/OTRU7T3y/update_2.html (rename to update.zip after downloading since it's currently update_2.zip, then place it on your sdcard).
[/NEW 10/18/2010]

[NEW 12/30/2010]
Optional: Now that you're rooted you might want to disable all flash memory protections so you can permanently flash Clockworkmod (recovery - no more using an update.zip!) as well as other random things. Check here for details: http://forum.xda-developers.com/showthread.php?t=798168
[/NEW 12/30/2010]


CREDIT GOES TO:[*] ChiefzReloaded! (For helping me learn the intricacies of Android and patiently answering all of my questions)[*] 743C (For developing the original exploit)

Source code: (Yes, it's hackish. I was just trying to figure out why the system kept rebooting and haven't cleaned up the code since) download

DOWNLOAD:
http://www.4shared.com/file/CZsxSq-f/exploid.html

DONATE:

(Anything helps!)

(Some people may wonder why this is special compared to the One Click Root application. What's important is that One Click Root doesn't work on Slides running production/retail software, likely the same problem I had to fix to get exploid to work in my version.)
Last edited by nbetcher; 31st December 2010 at 02:26 AM. Reason: Added source code, added note regarding global root; updated text to reflect the lack of utility; remove note about display
The Following 10 Users Say Thank You to nbetcher For This Useful Post: [ View ]
14th August 2010, 12:16 AM   |  #2  
ChiefzReloaded's Avatar
Recognized Developer
Flag Lebanon, OR
Thanks Meter: 216
 
237 posts
Join Date:Joined: Jan 2010
Donate to Me
More
Thats whats up!!
14th August 2010, 12:21 AM   |  #3  
XJRodzx's Avatar
Senior Member
Thanks Meter: 38
 
296 posts
Join Date:Joined: Apr 2008
Awesome! Thanx for the new root method. I bet there will be some very happy slide owners today that already updraded to the new ota.

Sent from my myTouch 3G Slide using XDA App
14th August 2010, 12:24 AM   |  #4  
Account currently disabled
Flag Seattle
Thanks Meter: 24
 
513 posts
Join Date:Joined: Apr 2009
More
If you be trollin then YOU BES TRAWLLIN

But if not then good job nb!

Sent from my T-Mobile myTouch 3G Slide using XDA App
14th August 2010, 12:37 AM   |  #5  
Senior Member
Thanks Meter: 1
 
291 posts
Join Date:Joined: Jun 2010
Can you provide the source? No offense, but I tend not to run homebrew C programs that I didn't compile myself.

Thanks for all the work!
14th August 2010, 12:43 AM   |  #6  
OP Senior Member
Flag Minneapolis
Thanks Meter: 115
 
466 posts
Join Date:Joined: Jan 2010
Donate to Me
More
Quote:
Originally Posted by falken98

Can you provide the source? No offense, but I tend not to run homebrew C programs that I didn't compile myself.

Thanks for all the work!

Sure, I was getting around to that - and I understand your concern. I'll post it in a second.
14th August 2010, 12:43 AM   |  #7  
Account currently disabled
Flag Seattle
Thanks Meter: 24
 
513 posts
Join Date:Joined: Apr 2009
More
Quote:
Originally Posted by falken98

Can you provide the source? No offense, but I tend not to run homebrew C programs that I didn't compile myself.

Thanks for all the work!

You think nb is distributing a virus disguised as a root method?
Waaaaaat

Sent from my T-Mobile myTouch 3G Slide using XDA App
14th August 2010, 12:46 AM   |  #8  
OP Senior Member
Flag Minneapolis
Thanks Meter: 115
 
466 posts
Join Date:Joined: Jan 2010
Donate to Me
More
Quote:
Originally Posted by r0man

You think nb is distributing a virus disguised as a root method?
Waaaaaat

It is a bit funny, but I do understand his concern. I've posted the source code into the original post. Compiling it should result in the same hash as the binary I posted.
14th August 2010, 12:47 AM   |  #9  
ilostchild's Avatar
Senior Member
Thanks Meter: 116
 
1,206 posts
Join Date:Joined: Dec 2009
More
Good to see this I suggested this in another thread glad to see it in use thanks a bunch
14th August 2010, 12:50 AM   |  #10  
Account currently disabled
Flag Seattle
Thanks Meter: 24
 
513 posts
Join Date:Joined: Apr 2009
More
Quote:
Originally Posted by nbetcher

It is a bit funny, but I do understand his concern. I've posted the source code into the original post. Compiling it should result in the same hash as the binary I posted.

Ill take a look at it when I get home.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes