FORUMS

OnePlus Addresses Reservation List Cheating

Jake Cooper figured out how to bump his place up on OnePlus’ reservation list and … more

OnePlus 2 Benchmark Scores Show Its Muscle

This video by FoneArena contains all the popular benchmarks being tested on the OnePlus 2, … more

Sony’s Emergence in The Middle: Is The Price Right?

Sony’s Electronics Division is not in its best days, and its smartphone … more

HTC Delivering Ads Straight to Sense Home

HTC’s 2015 has been a year marked by a desperate search for revenue.The HTC One M9 … more

[HOWTO] Root any Atrix after .sbf flash

45 posts
Thanks Meter: 14
 
By brandon15811, Member on 2nd March 2009, 02:14 AM
Thread Closed Subscribe to Thread Email Thread
See 2nd post for International users and Fastboot rooting.


For ATT users only:
What this is:
This is a full clean SBF of 2.3.4 or 1.8.3 WITH the BL unlock and rooting built in to /preinstall.

Flashable SBF: Full 2.3.4 with preinstall root and pudding bootloader unlock, full sbf
Flashable SBF: Full 1.8.3 with Bootloader unlock and preinstall root. It's over 9000 (600mb DL service sbf)

1. Flash with RSDLite 5.3.1 or sbf_flash

2. Root your phone from adb
Code:
  adb shell
  /preinstall/restoresu
3. If you don't have superuser.apk do this as well
Code:
/preinstall/restoresu all

Apparently I am a terrible scripter, so follow eval-s instructions from here:
Quote:

type in adb ("adb shell") or terminal emulator, exactly:
Code:
/preinstall/dosu
/bin/mount -o remount,rw /system
cp /preinstall/su /system/bin/
chmod 6755 /system/bin/su
PATH=/system/bin:$PATH pm install /preinstall/Superuser.apk
The last step is optional (and next-to-last *should* be unnecessary), as you can install Superuser however you like. In fact, if you've installed it, simply typing "/preinstall/su" is another way to root, and you could then mount /system read-write and copy it into /system/bin.

4. Enjoy

Lastly, you can make your own preinstall pretty easily, include any kind of mod you want P_ROM etc. For instance when I reinstall I always want to install wget and crond, turn off tomoyo permissions and disable the usb plugin sound. You can put apps in /preinstall/app then make a md5sum file in /preinstall/md5 and apks will get loaded on reboot every time you flash. This is more of a fyi for those of you out there cooking up sbfs. you've got a huge partition to play with so I'm sure people out there can come up with creative ways of using it.
Last edited by jug6ernaut; 26th July 2011 at 01:13 AM.
The Following 9 Users Say Thank You to brandon15811 For This Useful Post: [ View ]
 
 
24th June 2011, 01:59 AM |#2  
Retired Recognized Developer
Thanks Meter: 335
 
More
Hi guys.. here is a useful little /preinstall for you (attached)

Put phone in fastboot mode, then:
Code:
fastboot flash preinstall preinstall.img
fastboot reboot
(older versions maybe need "fastboot -i 0x22b8")

after fastboot & reboot, type in adb ("adb shell") or terminal emulator, exactly:
Code:
/preinstall/dosu
/bin/mount -o remount,rw /system
cp /preinstall/su /system/bin/
chmod 6755 /system/bin/su
PATH=/system/bin:$PATH pm install /preinstall/Superuser.apk
The last step is optional (and next-to-last *should* be unnecessary), as you can install Superuser however you like. In fact, if you've installed it, simply typing "/preinstall/su" is another way to root, and you could then mount /system read-write and copy it into /system/bin.

Many thanks to Brandon & The2d for brainstorming this out in a crazy "there's no way it could be possible" rooting session. There were a lot of harder ways... who knew we'd be so lucky! And thanks to Edgan for the great "dosu" =)

You can find fastboot here: http://forum.xda-developers.com/show....php?t=1138092
Attached Files
File Type: zip preinstall.zip - [Click for QR Code] (7.98 MB, 17400 views)
Last edited by eval-; 18th July 2011 at 01:41 PM.
The Following 49 Users Say Thank You to eval- For This Useful Post: [ View ]
24th June 2011, 01:59 AM |#3  
kennethpenn's Avatar
Retired Forum Moderator / Retired Recognized Developer
Flag Washington, D.C.
Thanks Meter: 3,806
 
Donate to Me
More
Woohoo! 10 char!
Last edited by kennethpenn; 24th June 2011 at 02:02 AM.
The Following 3 Users Say Thank You to kennethpenn For This Useful Post: [ View ]
24th June 2011, 02:01 AM |#4  
cranch's Avatar
Senior Member
Minneapolis
Thanks Meter: 46
 
More
Love you long time! Congrats on figuring this out!
24th June 2011, 03:24 AM |#5  
Senior Member
Ottawa
Thanks Meter: 164
 
More
i just unlocked my phone and wanted to root, i installed the img but when i try to enter /preinstall/dosu it gives me file path not found. do i need to reboot or something after flashing the img?
24th June 2011, 04:57 AM |#6  
Member
Sydney, AUS
Thanks Meter: 1
 
More
Worked a treat with gingerbread! Thanks a lot guys!
For some reasons, could not adb to go, so had to do it with the terminal but it's all good!
24th June 2011, 05:18 AM |#7  
Senior Member
Thanks Meter: 11
 
More
Quote:
Originally Posted by neotekz

i just unlocked my phone and wanted to root, i installed the img but when i try to enter /preinstall/dosu it gives me file path not found. do i need to reboot or something after flashing the img?

I am having the same problem, path not found. What can i do?
24th June 2011, 05:39 AM |#8  
Senior Member
Thanks Meter: 11
 
More
bump

Anyone else figure out how to root? Is this only for gingerbread?
24th June 2011, 05:41 AM |#9  
Sinful Animosity's Avatar
Senior Member
Flag Spring Hill fl
Thanks Meter: 116
 
More
-eval, would we just push that SuperUser app to our phone through ADB if we already have Gingerbread on it? Or do we just flash that through fastboot?
24th June 2011, 05:44 AM |#10  
OP Member
Thanks Meter: 14
 
More
Quote:
Originally Posted by airbillion

bump

Anyone else figure out how to root? Is this only for gingerbread?

This will work for any firmware version
The Following 2 Users Say Thank You to brandon15811 For This Useful Post: [ View ]
24th June 2011, 05:44 AM |#11  
LancerV's Avatar
Senior Member
Thanks Meter: 407
 
More
Quote:
Originally Posted by neotekz

i just unlocked my phone and wanted to root, i installed the img but when i try to enter /preinstall/dosu it gives me file path not found. do i need to reboot or something after flashing the img?

Using linux?

Sent from my MB860 using XDA Premium App

Read More
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes