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 ...

+ Reply to Thread
Page 1 of 4 1 2 3 ... 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,262
    Liked
    5 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. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. 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.
  4. Droid
    s2k_848's Avatar
    Member #
    13147
    Join Date
    Dec 2009
    Posts
    33
    Phone
    Motorola Droid
    #3
    Interesting...I just root mine today.
  5. 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.
  6. 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.
  7. 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.
  8. 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
  9. 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.
  10. 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
  11. 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...
+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast

Sponsors

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 Droid Hacks
    Replies: 5
    Last Post: 01-13-2010, 06:20 PM
  2. Now that we have root, what APPS are a must?
    By wuyanks in forum Droid Hacks
    Replies: 26
    Last Post: 12-21-2009, 10:53 AM
  3. Root on Mac
    By JhankG in forum Droid General Discussions
    Replies: 12
    Last Post: 12-10-2009, 04:06 PM
  4. root
    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.