Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I have a minor request Brian, can you confirm the button combination necessary to boot the device into fastboot mode so that I can update my Nexus Flashing Guide?
$ [B]adb shell[/B]
shell@hammerhead:/ $ [B][COLOR="Red"]ls -Z /system/bin/pm[/COLOR][/B]
ls -Z /system/bin/pm
[B][COLOR="Blue"]-rwxr-xr-x root shell u:object_r:system_file:s0 pm[/COLOR][/B]
shell@hammerhead:/ $
@Brian:
Okay, I spent the evening getting some new context options supported (they're the set of six that Chainfire supports in the su binary) to use in testing of the Freeze/Thaw Application function.
I also removed the setting of the LD_LIBRARY_PATH variable export (Chainfire's example didn't use that and my adb testing didn't either), so maybe that'll make a difference? :dontknow:
Also, if you could display the context of the /system/bin/pm file so I could compare with the L preview on my N5:
Code:$ [B]adb shell[/B] shell@hammerhead:/ $ [B][COLOR="Red"]ls -Z /system/bin/pm[/COLOR][/B] ls -Z /system/bin/pm [B][COLOR="Blue"]-rwxr-xr-x root shell u:object_r:system_file:s0 pm[/COLOR][/B] shell@hammerhead:/ $
I also believe I've got the support for identifying the stock N9 recovery (Identify Current Recovery option) that you could try.
I also supported the flashing of the N9 stock recovery, but I didn't have time to test that on my N5 (I do fake flashes to a work file), but I'll try that tomorrow.
Haven't researched what custom recoveries are out there yet to support the identification of them yet...
Thanks again!
Okay, looks like you got it fixed, first tested with all contexts off and freeze and thaw both worked: https://copy.com/3eKcRhJacOYM1nlE
Do you still want me to check the nine contexts or are these results satisfactory?
All commands that launch Java-based code however must be run as one of the *_app contexts. If you don't, an ART error may be triggered that brings down the entire system. Note that this specific issue does not occur when using Dalvik.
As a (strange) example, let's wipe the interal sdcard, uninstall the com.example.app package, and wipe the Dalvik cache. The following commands would all be piped to a su shell and thus run as root:
toolbox rm -rf /data/media/*
su --context u:r:system_app:s0 -c "pm uninstall com.example.app" < /dev/null
toolbox rm -rf /data/dalvik-cache/*
Working as expected.No worries, Brian--at this point, I think I just want to confirm that the freeze/thaw function works for you as currently coded in the test .apk attached above (I'm pretty sure (crossing fingers) that it's ready for re-publishing).
Thanks!
Working as expected.
SuperSU v2.23 BETA - for immediate testing
I've just added a TWRP flashable ZIP for SuperSU v2.23 to my download server - see the link in the box at the bottom of this post.
I was busy writing the 5.0 additions for How-To SU when an idea struck me that could fix a number of SELinux policy issues on Lollipop, of which previous attempts to transparently work around resulted in failed boots.
v2.23 is the implementation of those workarounds. Please extensively test this version ASAP on your Lollipop (and KitKat) Android's.
A number of root apps that previously would not work may now start working - please post in the XDA thread if so.
However, there could also be negative side effects, so if something stops working that did work with v2.22, please post about that as well.
...
Interesting... I'm a little confused. I haven't been following development for the last couple of days but as far as I know, there still isn't even custom recovery.
Bear with my developer ignorance, but chainfires original root flashes a patched custom kernel, but from what I understand, his auto root method for "Q" patches the existing kernel.
Now that I've typed that, I guess you're correct, it still requires a patched kernel. The patch just uses different methods depending on root method.
PS. Still not seeing custom recovery anywhere???