DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

Thread: How to KEEP root

  1. Droid Ninja
    Se7enLC's Avatar
    Member #
    5148
    Join Date
    Nov 2009
    Posts
    1,263
    Liked
    6 times
    Phone
    Samsung Galaxy Nexus
    #1

    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.
  2. Droid
    jinx10000's Avatar
    Member #
    14180
    Join Date
    Dec 2009
    Posts
    66
    Phone
    Droid
    #2
    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.
  3. Droid
    s2k_848's Avatar
    Member #
    13147
    Join Date
    Dec 2009
    Posts
    33
    Phone
    Motorola Droid
    #3
    Interesting...I just root mine today.
  4. Junior Droid
    killher's Avatar
    Member #
    14592
    Join Date
    Dec 2009
    Posts
    17
    Phone
    DRRRROID
    #4
    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.
  5. Droid
    jinx10000's Avatar
    Member #
    14180
    Join Date
    Dec 2009
    Posts
    66
    Phone
    Droid
    #5
    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.
  6. Master Droid
    boostdscoob's Avatar
    Member #
    14454
    Join Date
    Dec 2009
    Location
    ohio
    Posts
    273
    Phone
    motorola droid
    #6
    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.
  7. Master Droid
    boostdscoob's Avatar
    Member #
    14454
    Join Date
    Dec 2009
    Location
    ohio
    Posts
    273
    Phone
    motorola droid
    #7
    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
  8. Droid
    jinx10000's Avatar
    Member #
    14180
    Join Date
    Dec 2009
    Posts
    66
    Phone
    Droid
    #8
    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.
  9. Master Droid
    boostdscoob's Avatar
    Member #
    14454
    Join Date
    Dec 2009
    Location
    ohio
    Posts
    273
    Phone
    motorola droid
    #9
    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
  10. Droid
    jinx10000's Avatar
    Member #
    14180
    Join Date
    Dec 2009
    Posts
    66
    Phone
    Droid
    #10
    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...
Page 1 of 4 123 ... LastLast

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. And then there was root
    By Foolish in forum Android Hacks and Help
    Replies: 5
    Last Post: 01-13-2010, 05:20 PM
  2. Now that we have root, what APPS are a must?
    By wuyanks in forum Android Hacks and Help
    Replies: 26
    Last Post: 12-21-2009, 09:53 AM
  3. Root on Mac
    By JhankG in forum Android General Discussions
    Replies: 12
    Last Post: 12-10-2009, 03:06 PM
  4. root
    By thesweetstevie in forum Android Hacks and Help
    Replies: 4
    Last Post: 11-23-2009, 10:29 PM

Search tags for this page

/system/etc/security/otacerts.zip
,
can't rename otacerts.zip
,
changing otacerts.zip
,
mv/system/etc/security/otacerts.zip
,
otacerts
,

otacerts.zip

,
otacerts.zip read only
,
otacerts.zip.bak
,
rename otacerts.zip
,
rename otacerts.zip terminal emulator
Click on a term to search our site for related topics.
Find us on Google+