Next Version of Android Could Potentially Stop Many Root Apps From Working

Discussion in 'Android Tablet News Depot' started by Spider, Jan 20, 2014.

  1. Spider

    Spider Administrator Staff Member

    Joined:
    Mar 24, 2011
    Messages:
    15,415
    Likes Received:
    1,784
    Trophy Points:
    1,000
    Location:
    Chicago, IL
    Tablet / Device:
    NOOK Tablet Stock NOOKcolor Rooted/Flashed Nexus 7 (2013) 32GB Stock
    The next version of Android could potentially stop many of your favorite root apps from working

    by Andrew Grush on January 20, 2014 12:32 pm

    [​IMG]

    According to well-known developer Chainfire, the next version of Android could be bringing a change that may end up preventing many of your favorite root apps from working — at least not unless developers implement some kind of fix. Now before you get too up-in-arms, it’s important to note that this latest change is not targeted at root apps and is actually a security improvement.

    A recent commit to the Android Open Source Project master tree has been spotted that will prevent apps from extracting files to directories located on the /data partition and then executing them as root. The idea is that this could prevent some malicious programs from executing scripts on the /data partition. It’s currently unclear whether this change will actually make its way into the next version of Android, or if it will be changed by the time Android 4.5 (or whatever they call it) rolls out.

    The good news is that even if Android does make this security change, it will be possible for developers to make changes that could still allow most root apps to work, even if there is no one universal ‘fix’ that will work for all apps.

    Potential work-arounds (depending on what your app does) include extracting and running from memory or rootfs (mount namespace separation for the win), piping commands directly to su instead of writing to a .sh first (which was a bad practise anyway), forcing a context switch to a non-unconfined domain by way of suparameter or runcon, etc.
    Chainfire


    So the short-term result could mean that a number of root apps could end up broken if they don’t introduce some kind of workaround in time for the next version of Android. The long-term result is improved security, which is never a bad thing.

    In the meantime, it probably wouldn’t hurt to contact your favorite root app developers to ensure they are aware of the issue before the next version of Android hits.
     
  2. Droid-Xer

    Droid-Xer Super Moderator Staff Member

    Joined:
    Mar 30, 2011
    Messages:
    586
    Likes Received:
    38
    Trophy Points:
    102
    Location:
    El Paso, TX
    Tablet / Device:
    XOOM & HP Touchpad
    Good stuff!
     
    • Like Like x 2
  3. vampirefo.

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,828
    Likes Received:
    1,389
    Trophy Points:
    655
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    I don't care for this at all, I understand why android device manufactures would love this, The manufacture can load the device with their bloat and the user can't remove it, so the user is forced to only use what the manufacture of the device allows them to. While this is exactly what Mac and Windows likes to do to their users, I am surprise to find any android users happy about this.

    Google is getting more and more like Mac everyday.
     
  4. edap

    edap Senior Member

    Joined:
    Dec 12, 2012
    Messages:
    1,120
    Likes Received:
    106
    Trophy Points:
    162
    Location:
    Wasaga Beach, Ontario CANADA
    Tablet / Device:
    Acer Iconia A110
    Any change that improves my tablet's security and prevents malicious program attacks is good news to my ears and makes me a happy user, whether my device runs Google, Windows or Mac.
     

Share This Page