Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Taas
Old
#61  
Member
Thanks Meter 1
Posts: 30
Join Date: Dec 2008
Default what program can i use to do this...no root?

Quote:
Originally Posted by eval- View Post
Hi guys.. here is a useful little /preinstall for you:

http://www.multiupload.com/A9X3718TXK

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

steps:
Code:
/preinstall/dosu
/bin/mount -o remount,rw /system
cp /preinstall/su /system/bin/
PATH=/system/bin:$PATH pm install /preinstall/Superuser.apk
The last step is optional, 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 32 & 64bit shared library linux and mac versions of fastboot here:
http://forum.xda-developers.com/show....php?t=1138092
what program can i use to write this with...i have no root...will this work on ota update gingerbread?
 
Taas
Old
#62  
Member
Thanks Meter 1
Posts: 30
Join Date: Dec 2008
Quote:
Originally Posted by g35mt View Post
I got a stock 1.83 rooted then updated to 2.3.4. Could not root until now. Also my phone was never unlock.

I follow the instruction thread,
http://forum.xda-developers.com/show...22&postcount=3

In that thread, someone mentioned to
chmod 06775 /system/bin/su

That last step above was the one that make it work. Now Titanium work...before when i launch titanium, it would complained no root access.

Hope that help.
worked for me too....had 1.83 stock and rooted, bl locked ....update to 2.34 did not flash back to clean 1.83.....now i am rooted but still locked bl 2.34
 
oneslow5oh
Old
#63  
Senior Member
Thanks Meter 6
Posts: 130
Join Date: Dec 2010
Location: Nor Cal
why are all the links dead????? can someone please post the preinstall.img zip again? thanks
 
Spectre51
Old
#64  
Spectre51's Avatar
Recognized Contributor
Thanks Meter 1006
Posts: 2,933
Join Date: Jul 2010

 
DONATE TO ME
I tried to upload to megaupload and it would stall every time so I just threw it up on dropbox: http://dl.dropbox.com/u/44704/preinstall.zip
 
katinatez
Old
#65  
katinatez's Avatar
Senior Member
Thanks Meter 61
Posts: 309
Join Date: Mar 2011
Location: Arizona
Default Which fastboot?

Quote:
Originally Posted by eval- View Post
Hi guys.. here is a useful little /preinstall for you (attached)

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

steps:
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

Ok read entire thread my question is this suppose to be installed with kenneths fastboot of his website Unlock bootloader tutorial or moto-fastboot off the link quoted here? And if so which moto-fastboot do I download? Currently running Windows 7 64bit?
Eveything else I understand my Atrix is running Kenneth 2.3.4 beta 4 with Unlocked Bootloader and CWM4.
The Following User Says Thank You to katinatez For This Useful Post: [ Click to Expand ]
 
pavankvn
Old
(Last edited by pavankvn; 17th July 2011 at 04:45 PM.)
#66  
Member
Thanks Meter 4
Posts: 57
Join Date: Mar 2011
Quote:
Originally Posted by Nottach View Post
this worked:

Code:
adb shell
cd /preinstall
su
/bin/mount -o remount,rw /system
cp /preinstall/su /system/bin/
reboot
http://farm7.static.flickr.com/6029/...2bf40161_b.jpg

I installed 4.5.91, and unlocked my bootloader and trying to root.
I am getting this error. I already did fastboot preinstall.img to my phone. What am I doing wrong? Thanks for the help.

Edit: this worked for me. Thanks eval. Now I'm rooted and successfully installed tenfars cwm.
Quote:
Originally Posted by eval- View Post
Hi guys.. here is a useful little /preinstall for you (attached)

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

steps:
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
 
Amrosorma
Old
#67  
Member
Thanks Meter 2
Posts: 44
Join Date: Aug 2008
Quote:
Originally Posted by the2dcour View Post
What this is:
This is a full clean SBF of 1.8.3 WITH the BL unlock and rooting built in to /preinstall.

Flashable SBF:FULL 1.8.3 WITH BL unlock WITH 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
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.
Is there an alternate link to this?
 
fincan
Old
(Last edited by fincan; 23rd July 2011 at 02:48 PM.) Reason: Corrected some stupid mistakes, thanks Mav3481.
#68  
fincan's Avatar
Senior Member
Thanks Meter 69
Posts: 264
Join Date: Dec 2007
Location: around VA
Default For windows users, here are the complete package and instructions

UPDATE: Initially I made some errors on the instructions, thanks for Mav3481 for pointing those out. Now everything should be correct.

For windows users who does not want to hunt in one thousand different posts:

Download http://www.megaupload.com/?d=HB0IFFGJ

I repacked it with everything necessary for Windows, including adb, fastboot for windows, .img file etc. (worked on my Win7 64bit with a v2.3.4 Atrix).
  1. Switch to fastboot mode by turning off your phone, and turning it back while holding down the Volume Down button until you see Fastboot on the screen. Press volume up button and you should see "Starting Fastboot protocol support".
  2. Extract the file you downloaded to your C: drive
  3. Open a command prompt on your computer (Windows logo key + R, type cmd) and go to that directory (should be c:/moto-fastboot-win32)
  4. Type the following commands one by one:
    Code:
    moto-fastboot.exe flash preinstall preinstall.img
    moto-fastboot.exe reboot
  5. At this point your phone will reboot. After it reboots completely, type the following on the same command prompt (if /preinstall/dosu does not work, try /preinstall/su):
    Code:
    adb shell
    /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
  6. And reboot the phone, it should be rooted.

Thanks to everyone who created the individual files in this package.
- Galaxy Nexus GSM
- Asus Transformer Inifinity Pad (TF700)
The Following 24 Users Say Thank You to fincan For This Useful Post: [ Click to Expand ]
 
baddison
Old
#69  
baddison's Avatar
Senior Member
Thanks Meter 6
Posts: 200
Join Date: Aug 2006
Location: USA
Quote:
Originally Posted by eval- View Post

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
Oddly enough, I got this to work for me with /preinstall/su instead of /preinstall/dosu

Who cares...LOL! It works!! Thanks very much!!
AT&T Samsung Galaxy S3
ROM: Task AOKP 4.1.2
Android: 4.1.2


The Following User Says Thank You to baddison For This Useful Post: [ Click to Expand ]
 
DiamondJay20
Old
#70  
DiamondJay20's Avatar
Senior Member
Thanks Meter 13
Posts: 266
Join Date: Jun 2011
Quote:
Originally Posted by fincan View Post
For windows users who does not want to hunt in one thousand different posts:

Download http://www.megaupload.com/?d=HB0IFFGJ

I repacked it with everything necessary for Windows, including adb, fastboot for windows, .img file etc. (worked on my Win7 64bit with a v2.3.4 Atrix).
  1. Extract the file you downloaded to your C: drive
  2. Open a command prompt and go to that directory (should be c:/moto-fastboot-win32)
  3. Type the following commands one by one:
    Code:
    adb shell
    moto-fastboot.exe flash preinstall preinstall.img
    moto-fastboot.exe reboot
  4. At this point your phone will reboot. After it reboots completely, type the following on the same command prompt:
    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
  5. And reboot the phone, it should be rooted.

Thanks to everyone who created the individual files in this package.
when I do this, and I have the OTA 4.5.91 and 2.3.4, when do I connect the phone, and put on USB debugging? Do I need an unlocked bootloader? I don't know if mine is unlocked, all I did was download it OTA and install. Thanks a lot
Phones: Samsung N400->Kyocera 2345->Nokia 6225->Samsung M500->Samsung Sync->Samsung Blackjack->Blackjack II->Blackberry Curve 8300->Samsung Epix->Blackjack II->BB Bold 9000->BB Bold 9700->LG Phoenix->BB Torch 9800->HTC Inspire 4G->Motorola Atrix 4G->Motorola Photon->iPhone 4S->Motorola Photon->SPH-L710 Samsung Galaxy S3->Motorola Photon->SGH-T999 Samsung Galaxy S3->SGH-I747 Samsung Galaxy S3

Tablets: Toshiba Thrive->Samsung Galaxy Note 10.1

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...