Jump to content

Adding root too stock ROM?


Recommended Posts

Guest Sami Beck
Posted

Im Just wondering what you have to do to give root acess to a ROM that hasnt already got it, I dont mean just for the blade but for all android devices in general?

Guest plegdroid
Posted (edited)

universal androot will work, you need to chk which one to use though, there's one version that will work upto android 2.2(1.6.2 beta 5) and another for above that. beta 6.

Edited by plegdroid
Guest Sami Beck
Posted

universal androot will work, you need to chk which one to use though, there's one version that will work upto android 2.2(1.6.2 beta 5) and another for above that. beta 6.

no i mean so when you actaully flash the rom its prerooted.

Guest plegdroid
Posted

misunderstood, sorry mate, all the custom roms for the racer their all hard rooted, was under the impression that all others would be too.

Guest KonstaT
Posted

You need to do three things:

-add/replace /system/bin/su (make sure that permissions are correct)

-add /system/app/Superuser.apk

-set ro.secure=0 in default.prop

You need to unpack boot.img to edit default.prop. There might also be lines in init.rc that give wrong permissions to /system/bin/su.

Guest Sami Beck
Posted

You need to do three things:

-add/replace /system/bin/su (make sure that permissions are correct)

-add /system/app/Superuser.apk

-set ro.secure=0 in default.prop

You need to unpack boot.img to edit default.prop. There might also be lines in init.rc that give wrong permissions to /system/bin/su.

How do you unpack it? I can get it to be the zimage and the ramdisk if thats what you mean?

Guest t0mm13b
Posted

How do you unpack it? I can get it to be the zimage and the ramdisk if thats what you mean?

Konstat is referring to the ramdisk where it needs to be ungzipped and cpio'd


gzip -dc boot.img-ramdisk.gz | cpio -i

There you can get at the default.prop. Make the changes necessary, then, to repack it -

mkbootfs ramdisk | gzip > new_ramdisk.gz

B)

Guest unrandomsam
Posted

You need to do three things:

-add/replace /system/bin/su (make sure that permissions are correct)

-add /system/app/Superuser.apk

-set ro.secure=0 in default.prop

You need to unpack boot.img to edit default.prop. There might also be lines in init.rc that give wrong permissions to /system/bin/su.

Permissions on su being

6755

Guest t0mm13b
Posted

what?

He meant this


chmod 6755 /system/bin/su

That's from the adb shell command line....

B)

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.