How to KEEP root
This is a discussion on How to KEEP root within the Droid Hacks forums, part of the Droid Hacking category; Has there been any discussion on how to KEEP root access now that we have it? Perhaps installing an extra copy of su somewhere that ...
-
How to KEEP root
Has there been any discussion on how to KEEP root access now that we have it? Perhaps installing an extra copy of su somewhere that we can access it but unlikely for a system update to overwrite it? Some kind of backdoor like that would let us allow OTA updates, since we can always turn root back on and fix any changes that the update makes.
-
-
According to several people, you can rename the file
/system/etc/security/otacerts.zip to otacerts.zip.bak
This will prevent updates from verifying and being applied.
-
Interesting...I just root mine today.
-
ive rooted my phone but im still fairly unfamiliar with the coding, could someone write out the commands for me so i can do this. its appreciated.
-
Looks like someone just wrote a recovery image that can flash any update.zip.
It won't be long before a rom will come out that prevents this automatically.
As to your question:
I use adb and installed busybox. I don't know if you have to mount the system folder before you can change it in terminal.
In adb with busy box I typed.
su
cp /system/etc/security/otacerts.zip /system/etc/security/otacerts.zip.bak
rm /system/etc/security/otacerts.zip
You can use terminal without busybox but I don't remember the commands off the top of my head.
-
cannot stat error in better terminal emulator.. anyone that can put this in for terminal?
im pretty sure you have to mount, just like in the rename post by jarek.
-
ok, got the code for terminal, just put it in, and SU shows it to now be otacerts.zip.bak
here it is
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/etc/security
mv otacerts.zip otacerts.zip.bak
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
sync
reboot
-
I read on another thread that you want to put your phone in airplane mode when you do this.
I am not sure why, but if it gets interupted it could cause problems.
-
worked fine for me, but worth a try i guess. definitely cant try to update once you change it with it in airplane mode, no issues here though, for the brave and unstupid.lol
-
One more warning. After you do this I would not do anything crazy to your phone.
If you lose root for some reason and this is renamed you will not be able to rename it and get future updates.
I also renamed mine with no problems and am awaiting a solid recovery image before playing around...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Similar Threads
-
By Foolish in forum Droid Hacks
Replies: 5
Last Post: 01-13-2010, 06:20 PM
-
By wuyanks in forum Droid Hacks
Replies: 26
Last Post: 12-21-2009, 10:53 AM
-
By JhankG in forum Droid General Discussions
Replies: 12
Last Post: 12-10-2009, 04:06 PM
-
By thesweetstevie in forum Droid Hacks
Replies: 4
Last Post: 11-23-2009, 11:29 PM
Search tags for this page
/etc/security/otacerts.zip
,
/system/etc/security/otacerts.zip
,
can't rename otacerts.zip
,
change otacerts.zip
,
changing otacerts.zip
,
how to change the otacerts.zip file
,
how to keep a root
,
how to keep root on droi
,
how to rename system/etc/security/otacerts.zip
,
otacerts
,
otacerts.zip
,
otacerts.zip on droid charge
,
otacerts.zip.bak
,
rename /etc/security/otacerts.zip terminal emulator
,
rename otacerts.zip
,
rename otacerts.zip read only
,
rename otacerts.zip terminal emulator
,
root keep
,
rooted but cant change otacerts.zip
,
where is otacerts.zip
Click on a term to search our site for related topics.