Questions about running stock rooted ROM / XPosed (Gravity Box) / Substratum - Google Pixel 2 XL Questions & Answers

Hi guys,
After months of hesitation, I finally ordered a Pixel 2 XL. Now after a few years of running custom ROMs, I'm thinking of running the stock Google ROM with tweaks. But I haven't done that in a while so I have some questions, after rooting and installing TWRP:
- is it safe to install the latest Xposed framework beta? (bootloop/crashes)
- does Gravity Box work fine (no crash/bootloop)?
- can I apply Substratum themes on rooted stock?
- which kernel would you choose between Flash and ElementalX? I've been using the latter for a long time but curious about Flash.
- how do you handle monthly OTAs? Can they be installed running all of the above?
Thank you! :good:

Ghisy said:
Hi guys,
After months of hesitation, I finally ordered a Pixel 2 XL. Now after a few years of running custom ROMs, I'm thinking of running the stock Google ROM with tweaks. But I haven't done that in a while so I have some questions, after rooting and installing TWRP:
- is it safe to install the latest Xposed framework beta? (bootloop/crashes)
- does Gravity Box work fine (no crash/bootloop)?
- can I apply Substratum themes on rooted stock?
- which kernel would you choose between Flash and ElementalX? I've been using the latter for a long time but curious about Flash.
- how do you handle monthly OTAs? Can they be installed running all of the above?
Thank you! :good:
Click to expand...
Click to collapse
Like you, I have always run custom ROMs and this is my first time running stock with tweaks like you mentioned.
1- yes, as far as Xposed goes for me and my device, I've had 0 issues. If there is any lag, just choose the "optimize apps now" option in the Xposed installer.
2 - gravity box works flawlessly for me and gives so many features. I had to support the dev and bought the unlocker!
3 - you can use substratum, but since the March update, you have to reboot after building overlays to see them in the overlay manager.
4 - I've tried almost all kernels available for our device, and I don't know why, maybe it's a placebo, maybe not, but Flash has been the best for me. Virtually no slowdowns in terms of performance, and solid battery life as well.
5 - most people flash the factory images, editing the flash-all file, removing the "-w" to prevent data from being wiped. Me on the other hand, I do the most overkill option which is fastbooting the factory images to both slots, leaving the "-w" intact, and basically starting fresh every month it ends up being a few hour process but I don't mind because I have a bit of OCD and like having a clean slate to start from when new updates release.
Hope this helps!

rickysidhu_ said:
5 - most people flash the factory images, editing the flash-all file, removing the "-w" to prevent data from being wiped. Me on the other hand, I do the most overkill option which is fastbooting the factory images to both slots, leaving the "-w" intact, and basically starting fresh every month it ends up being a few hour process but I don't mind because I have a bit of OCD and like having a clean slate to start from when new updates release.
Click to expand...
Click to collapse
Hi,
Thanks for the comprehensive reply, it's appreciated and it does help!
I'm not sure about your last answer about OTAs though. So we have to flash the whole factory image every month? Isn't it possible to sideload the OTA? And what about Magisk and Xposed, do they have to be flashed again every time? I guess Substratum themes have to be compiled again as well? I guess I've been so used to custom ROM and dirty flashing that I got somewhat lazy
Does the unlocker for Gravity Box add more options? Or is it just a way to donate money to the dev?
Thanks again.

Ghisy said:
Hi,
Thanks for the comprehensive reply, it's appreciated and it does help!
I'm not sure about your last answer about OTAs though. So we have to flash the whole factory image every month? Isn't it possible to sideload the OTA? And what about Magisk and Xposed, do they have to be flashed again every time? I guess Substratum themes have to be compiled again as well? I guess I've been so used to custom ROM and dirty flashing that I got somewhat lazy
Does the unlocker for Gravity Box add more options? Or is it just a way to donate money to the dev?
Thanks again.
Click to expand...
Click to collapse
Unlocker is to support dev as well as it unlocks the ultimate notification controls which has a trial period
Ota are fine but we all prefer to flash the whole image because it is recommended and hardly comes up with errors
If you install magisk module for xposed then you would only need to re install magisk zip and your previous modules would be still installed
For substratum you need to disable overlays before updating and just re enable them after updating to latest update
Cheers ?
Sent from my Google Pixel 2 XL using XDA Labs

rickysidhu_ said:
Like you, I have always run custom ROMs and this is my first time running stock with tweaks like you mentioned.
1- yes, as far as Xposed goes for me and my device, I've had 0 issues. If there is any lag, just choose the "optimize apps now" option in the Xposed installer.
Click to expand...
Click to collapse
Hey,
I can't seem to be able to boot after flashing the xposed zip. My device shows a corrupted system error and boots back to the bootloader.
Is there anything I'm missing here?
Thanks!

Ghisy said:
Hey,
I can't seem to be able to boot after flashing the xposed zip. My device shows a corrupted system error and boots back to the bootloader.
Is there anything I'm missing here?
Thanks!
Click to expand...
Click to collapse
Which version of Xposed did you flash? And which version of the Xposed installer did you install?

rickysidhu_ said:
Like you, I have always run custom ROMs and this is my first time running stock with tweaks like you mentioned.
1- yes, as far as Xposed goes for me and my device, I've had 0 issues. If there is any lag, just choose the "optimize apps now" option in the Xposed installer.
2 - gravity box works flawlessly for me and gives so many features. I had to support the dev and bought the unlocker!
3 - you can use substratum, but since the March update, you have to reboot after building overlays to see them in the overlay manager.
4 - I've tried almost all kernels available for our device, and I don't know why, maybe it's a placebo, maybe not, but Flash has been the best for me. Virtually no slowdowns in terms of performance, and solid battery life as well.
5 - most people flash the factory images, editing the flash-all file, removing the "-w" to prevent data from being wiped. Me on the other hand, I do the most overkill option which is fastbooting the factory images to both slots, leaving the "-w" intact, and basically starting fresh every month it ends up being a few hour process but I don't mind because I have a bit of OCD and like having a clean slate to start from when new updates release.
Hope this helps!
Click to expand...
Click to collapse
Ditto.

rickysidhu_ said:
Which version of Xposed did you flash? And which version of the Xposed installer did you install?
Click to expand...
Click to collapse
I flashed xposed-v90-sdk27-arm64-beta3.zip. But I ended up installing XPosed through Magisk and it actuallly worked.
Are we not supposed to flash the .zip? It's what broke everything. I managed to flash the factory image and got my phone back to normal.

Ghisy said:
I flashed xposed-v90-sdk27-arm64-beta3.zip. But I ended up installing XPosed through Magisk and it actuallly worked.
Are we not supposed to flash the .zip? It's what broke everything. I managed to flash the factory image and got my phone back to normal.
Click to expand...
Click to collapse
Glad you got it working.
I downloaded the Xposed APK in the Magisk thread and installed Xposed within the app; after reboot everything seems to work normally for me.
The way you did it is also fine though:good:

Related

Stock Lollipoop rooted with SuperSU - but it keeps resetting everything I do

see #5 for problem
Hi guys,
so after quite some time with custom Roms I decided to go stock again as somehow I don't need root at all. Well, that's not true. I miss AdAway.
As there is no possibility to root the stock rom, is there ANY AdBlocker that works on Lollipop? AdBlock Plus doesn't (yet).
Why did you say there is no possibility to root the stock rom ?
I'm running Stock ROM, rooted and AdAway running fine.
ckpv5 said:
Why did you say there is no possibility to root the stock rom ?
I'm running Stock ROM, rooted and AdAway running fine.
Click to expand...
Click to collapse
How do you root the stock rom? I couldn't find out how.
Can I root without losing my data?
fBx said:
How do you root the stock rom? I couldn't find out how.
Can I root without losing my data?
Click to expand...
Click to collapse
Flash twrp recovery and root through the recovery. It'll ask you when you reboot the system if you want to root it
Sent from my HTC One_M8 using XDA Free mobile app
Huh. Didn't know it was THAT straightforward and I've been flashing my phones for years.
Well. I flashed TWRP and SuperSU 2.46, succeeded. But Adaway and Adfree don't work correctly. They block the ads but only until you reboot, then it's reverted, kinda like with a tethered jailbreak on iPhones.
What am I doing wrong here? Also the block is not like on KitKat - there it was really blocked, really removed, here only the images of the ads are removed but you still see the space they were supposed to be.
I also used a system app removal tool that also didn't work although it shows success. It just removes the installed data like updates.
When I delete apps manually via ES Explorer, they just reappear at the next reboot.
Root Checker says root is fine but it isn't supposed to behave like that and undo my changes.
What's wrong? Do I need another kernel maybe? As I said I went back to stock completely and updatet through to L.
I believe I got whats causing the issue.
After deleting a system app and rebooting, I got a message saying that the phone was restored from an "unnormal behaviour". Does Lollipop bring some kind of system restore point that just automatically restores itself when "weird" things like host file alteration happens? If yes, how do I get rid of that?
This phone has always had system files protected since KitKat. You need a kernel mod to delete system apps.
Don't know why the ad blockers aren't working. Adaway is working fine for me on stock US Dev Edition rooted. You said you are using Adaway and AdFree? Are you actually using both at the same time? maybe they are interfering with each other?
No I meant it happens with both. Only use adaway now. They work but after a reboot the adblock is gone and I need to apply it again. In fact, AdAway says it's deactivated and AdFree says it's already up to date but ads show anyway and I need to install the fix again to get rid of them.
Can you maybe point me to a kernel mod? Would want to get rid of some bloatware.
Maybe I should try installing xposed and see if it's gone after a reboot.
fBx said:
Can you maybe point me to a kernel mod? Would want to get rid of some bloatware.
Click to expand...
Click to collapse
The thread is here: http://forum.xda-developers.com/showthread.php?t=2701816
But unfortunately, flar2 hasn't had the time to update for LP. A user posted the kernel module in Post #210, but a subsequent user said it doesn't work. Custom ROMs have write protection disabled, as does Dev Edition stock ROM.
fBx said:
No I meant it happens with both. Only use adaway now. They work but after a reboot the adblock is gone and I need to apply it again. In fact, AdAway says it's deactivated and AdFree says it's already up to date but ads show anyway and I need to install the fix again to get rid of them.
Click to expand...
Click to collapse
Odd, as mentioned, I've used AdAway for quite some time now, and don't have these issues.
Yes, very odd indeed. Well, if I don't get it sorted out somehow I might as well switch to Viper or some other close to stock custom Rom again, or make it Dev like you.
Things are getting worse, in 1 of 2 cases AdAway spits an error at me when trying to apply the fixes and the phone just reboots and undos everything. It's like some protection from rooting or changing anything although I am rooted. I don't understand it. I can't possibly be the only one having problems with root on Stock Lollipop
This is really annoying me. I think I'm better of just installing a custom rom and setting the phone up again, will cost me an hour but at least I'm done with the bugs.
Yup, decided to jump the gun, wipe and install ViperOne and now everything works as I wanted it to. AdAway stays active and working.
fBx said:
Yup, decided to jump the gun, wipe and install ViperOne and now everything works as I wanted it to. AdAway stays active and working.
Click to expand...
Click to collapse
Interesting. I wonder if Adaway is dependent on the system write protection being disabled. I wouldn't normally suspect that, and only thinking of it since you mentioned the system write protection issue as well.
On the other hand, its the only difference I can think of between my phone and yours that would matter. I am on stock rooted Dev Edition, which apparently does not have the system write protection enabled by default.
redpoint73 said:
Interesting. I wonder if Adaway is dependent on the system write protection being disabled. I wouldn't normally suspect that, and only thinking of it since you mentioned the system write protection issue as well.
On the other hand, its the only difference I can think of between my phone and yours that would matter. I am on stock rooted Dev Edition, which apparently does not have the system write protection enabled by default.
Click to expand...
Click to collapse
I also assume that's the reason. I've never been on a stock rom since I don't know when, but figured that actually I only wanted AdAway which would normally not require a custom rom per se... but as it didn't really work in the end (and also other root-requiring stuff), I went back to custom again. Well, it's not that it's that difficult to wipe the phone occasionally and set up a clean custom rom to get it back to perfect performance. Gonna go with it.

Screen off animation for HTC M9 and xposed installation

After searching high and low, i've finally found the screen off animation i wanted, this particular mod is not mine i'm just providing a find for anyone who is in the same situation.
Thanks to @zst123 for originally posting this
Requirements:
Root access
Custom recovery
Rom running android 5.0XXX
Also note functional on 5.1.XXX ROMs.
*New section for Marshmallow ROMs.
1. Go here and download this http://forum.xda-developers.com/attachment.php?attachmentid=3292041&d=1430517906
or this one if you're on android 5.1 http://forum.xda-developers.com/attachment.php?attachmentid=3313055&d=1431639027
or this one if you're on android 6.0 http://forum.xda-developers.com/attachment.php?attachmentid=3631566&d=1454436795
2. Download the Alpha build xposed framework from here http://forum.xda-developers.com/attachment.php?attachmentid=3200857&d=1425849071
or this one if you're on android 6.0 http://forum.xda-developers.com/attachment.php?attachmentid=3383776&d=1435601440
3. Reboot to recovery and install the .21 or build or the .22 build if you're on 5.1XXX or the v80 sdk23 build if you're on 6.0.XXXX then reboot *NOTE* boot can take some time, 10 minutes at times
4. Once booted, install the alpha build apk downloaded in step 2 using a file manager.
5. Open Xposed and navigate to download, search for screen off animation and download the module.
6. Navigate to modules and enable them, reboot your device.
7. Open the app and choose a screen off animation.
8. Perform a reboot, Done.
FYI, it has been known that xposed can cause bootloops on the M9 so tread carefully and back up prior to installing it.
I can confirm that this and xposed with this installation method works as expected on Leedroid, other ROM's should work but I haven't tested them.
Can also confirm that for the most part, sense 6 toolbox and XUI Mod work too, and again this is not my software.
PS: Just like to add that the screen off Vertu animation is my personal favourite, it's a classy finish to a phone that deserves it.
------------------THEMING------------------
@ineedone This is his theme.
You need to flash the theme after xposed, clearing cache and dalvic after the initial installation of Chameleon. If you don't then you can (not always) end up in a boot loop, if you didn't wipe the caches then power down and boot back to recovery.
The initial boot after wiping the caches can take a long time, 10 minutes + is not uncommon.
This can also be assumed for any other mods which affect a lot of the ROMs system files.
Confirmed with Newest Leedroid and chameleon.
http://forum.xda-developers.com/showthread.php?t=3082322
@dladz
The third link has a extra http// in it.
Here's the right one
http://forum.xda-developers.com/showthread.php?t=3034811
aooga said:
@dladz
The third link has a extra http// in it.
Here's the right one
http://forum.xda-developers.com/showthread.php?t=3034811
Click to expand...
Click to collapse
All sorted, thanks mate, oversight on my part.
Posted in error
Xposed and xuimod work on 5.1 too. Sense 6 toolbox let's you change number of app drawer icons but won't let you in the app itself. Gonna test gravity box now.
Tested , it loads and stuff but none of the features really work.
tango280581 said:
Xposed and xuimod work on 5.1 too. Sense 6 toolbox let's you change number of app drawer icons but won't let you in the app itself. Gonna test gravity box now.
Tested , it loads and stuff but none of the features really work.
Click to expand...
Click to collapse
Aye I've used gravity before but have avoided it as I get everything I need from xui and screen off animation. I don't even use sense toolbox no more. I've read that Xposed works with 5.1 and there is a framework for it but as I haven't tested it on a HTC device I've not added it to the OP that its fully functional.
Gravity needs a big update, there have been quite a few broken bits for a while, also found gravity was always very heavy on the system too, might have just been me.
tango280581 said:
Xposed and xuimod work on 5.1 too. Sense 6 toolbox let's you change number of app drawer icons but won't let you in the app itself. Gonna test gravity box now.
Tested , it loads and stuff but none of the features really work.
Click to expand...
Click to collapse
Does that include stock 5.1?
Sent from my HTC One M9 using Tapatalk
neverborn said:
Does that include stock 5.1?
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
Stock as in not rooted or stock as in rooted on a stock rom, if it's the latter then it should work. That's probably the best way to use these mods. Unfortunately screen off animation as far as I know does not function as of yet. I'm away for a week now, but will be doing some testing of all the mods on my return.
Stock, rooted. Ive never had this much trouble just to get xposed.
Basically i:
1. Unlocked bl
2. Twrp
3. Backup of system image
4. Root
5. Xposed zip for arm64
6. Installed xposed apk
7. When trying to launch amplify it says xposed isn't running, even if xposed says it's active
Sent from my HTC One M9 using Tapatalk
That is literally what you are meant to do, some modules are functional, some aren't. For me the screen off animation didn't work and so strange as it might sound, I would miss it and as such I have retained 5.0.2, I really do not see any difference between the two, all modules work, nothing appears broken to me and the battery life is as good as I need it to be. To answer your question in short I get the same message with screen off animation, as if it's not installed. It's because it's not been updated. Either wait for it to be updated or downgrade like me
Updated op. Screen off animation working properly on 5.1, been using it for a while now.
neverborn said:
Stock, rooted. Ive never had this much trouble just to get xposed.
Basically i:
1. Unlocked bl
2. Twrp
3. Backup of system image
4. Root
5. Xposed zip for arm64
6. Installed xposed apk
7. When trying to launch amplify it says xposed isn't running, even if xposed says it's active
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
Usually says that when either xposed isn't installed properly or the module hasn't been updated and you'll have to wait.
Follow the tutorial to install xposed, you can't miss.
dladz said:
Usually says that when either xposed isn't installed properly or the module hasn't been updated and you'll have to wait.
Follow the tutorial to install xposed, you can't miss.
Click to expand...
Click to collapse
And replace soft reboot with a regular reboot. Also had some bad experiences with particular modules. After a regular reboot they all worked fine
oemfoefoee said:
And replace soft reboot with a regular reboot. Also had some bad experiences with particular modules. After a regular reboot they all worked fine
Click to expand...
Click to collapse
Actually in that part of the tutorial, you only need a soft reboot. Regular if you need it but not necessary.
help!
Is the S-off bootloop bug fixed? M9+/S-off/5.0.1 I really want to install Xposed. Please help! :crying:
Vinncent said:
Is the S-off bootloop bug fixed? M9+/S-off/5.0.1 I really want to install Xposed. Please help! :crying:
Click to expand...
Click to collapse
Boot loops are a risk I've written how I was able to get xposed without boot loops but I've also warned that it can happen. If you follow my instructions you stand a food good chance
working great on the latest ViperOne rom... thanks man...
dladz said:
Boot loops are a risk Ive written how I was able to get xposed without boot loops but Ive also warned that it can happen. If you follow my instructions you stand a food chance
Click to expand...
Click to collapse
Food chances are the best!
Works on my m9:highfive:
Krsmqn said:
Food chances are the best!
Works on my m9:highfive:
Click to expand...
Click to collapse
Haha Bloody Auto correct.. Guess my phone is telling me to be a fatty ..
apaquette420 said:
working great on the latest ViperOne rom... thanks man...
Click to expand...
Click to collapse
No worries

Security update with root

So, I'm new to rooting and this is my first Nexus device.
I'm loving it and all the options but now I'm getting a notification to update.
I see all the forums about hooking it up to a computer and using commands to do it all and then rerooting.
I was looking for an easier way.
I bought a Nexus 5 to play with because I liked this one so much and when OTAs came up, it would let me download them and reboot into CWM recovery and ask if I want to flash the ZIP.
This one just boots into TWRP (No CWM for 5x) and does nothing.
I found the update as a zip here:
<https://gist.github.com/jduck/744a6c8a9042e9c792b7>
My question is: can I just download it and use TWRP to flash it or is the sequence of commands on a computer the only way to do it?
Thank you in advance for your help and I apologize for my ignorance.
Gotta start somewhere though, right?
Hi !
I personnaly use NRT from Wugfresh for my Nexus 5x and my Nexus 7 2013, both rooted.
In "model type", select Nexus 5x and your build.
In "Restore/upgrade/downgrade", select "device is on/normal", then click "Flash stock+ unroot".
Select the build you want to install, it can dl and extract it for you, and select "No Wipe Mode" in order to keep your data and apps. (don't try to put your ota file here)
Go through the steps, and in the end, hit "Root" to root again.
I know there are others methods to apply just the OTA with command lines, but I never did it cause I never took the time to learn. I should do it, maybe it's faster with command lines.
Anyway this works, even if it takes a little time, and it is kind of automatic. But I strongly recommend you try both method to find what suits you most. Or wait for someone else to reply so you'll have more points of view !
Have fun with your N5x !
I like the idea of that.
Does it reinstall the superuser app automatically?
If so, which one?
And does it redo custom recovery?
And which one for that?
Sorry for all the questions but I purchased SuperSU and I don't want it to automatically download a different one and have to go through the steps to change a superuser app.
erichjelm said:
I like the idea of that.
Does it reinstall the superuser app automatically?
If so, which one?
And does it redo custom recovery?
And which one for that?
Sorry for all the questions but I purchased SuperSU and I don't want it to automatically download a different one and have to go through the steps to change a superuser app.
Click to expand...
Click to collapse
Use chainfires "flashfire" for this process
http://www.xda-developers.com/flashfire-updated-with-android-6-0-and-ota-support/
Darke5tShad0w said:
Use chainfires "flashfire" for this process
http://www.xda-developers.com/flashfire-updated-with-android-6-0-and-ota-support/
Click to expand...
Click to collapse
It's not working.
I have Xposed installed.
I unmarked all modules, rebooted, and tried again but to no avail.
Other than Xposed, no mods to the kernel.
erichjelm said:
I have Xposed installed.
I unmarked all modules, rebooted, and tried again but to no avail.
Other than Xposed, no mods to the kernel.
Click to expand...
Click to collapse
Are you using flashfire v0.28?
Xposed modifies the system so while you maybe able to get the ota it can prevent you from installing them even with flashfire.
Go to the flashfire thread and see if this is a problem with the app or because or xposed (most likely answer).
Otherwise find the ota threads and see if you can flash it through recovery (not the N version)
Yeah, it's that version of Flashfire.
I have the update zip but I'm afraid to just flash it.
I was hoping that I'd get some more help here.
Not that I don't appreciate your help.
Thank you, by the way.
erichjelm said:
Yeah, it's that version of Flashfire.
I have the update zip but I'm afraid to just flash it.
I was hoping that I'd get some more help here.
Not that I don't appreciate your help.
Thank you, by the way.
Click to expand...
Click to collapse
Thats at the end of my ability to help you with this particular problem, I have only owned a Nexus for 2 months and they are completely diff to Samsung plus I run pure nexus rom, you may just have to use a computer.
And I really appreciate it.
I'll just use a computer and do it.
Don't want to risk trying to flash the zip and bricking but I'm still curious.
Just not curious enough.
Haha.
Got it.
In case anyone needs to know for themselves, I wanted to post it here.
http://nexus5.wonderhowto.com/how-t...thout-losing-root-no-computer-needed-0168428/
I used that and it worked.
I didn't flash the Xposed zip and had to later on.
Worth it just to add it to the queue to save the time.
Everything else seems to be working fine thus far.
A few settings are changed (TinyCore was turned off and hidden apps in Smart Launcher 3 were unhidden) but that's nothing big.
erichjelm said:
Got it.
In case anyone needs to know for themselves, I wanted to post it here.
http://nexus5.wonderhowto.com/how-t...thout-losing-root-no-computer-needed-0168428/
I used that and it worked.
I didn't flash the Xposed zip and had to later on.
Worth it just to add it to the queue to save the time.
Everything else seems to be working fine thus far.
A few settings are changed (TinyCore was turned off and hidden apps in Smart Launcher 3 were unhidden) but that's nothing big.
Click to expand...
Click to collapse
That is the same manipulation I explained in post 2, but with Flashfire, without using a computer. And full automated, where with nrt you have to factory reset and root later. I'll try it next time ! And yeah, the version of SuperSu is always the latest, and if it is not, it will update via play store (I bought it as well ^^)
Greedybro said:
That is the same manipulation I explained in post 2, but with Flashfire, without using a computer. And full automated, where with nrt you have to factory reset and root later. I'll try it next time ! And yeah, the version of SuperSu is always the latest, and if it is not, it will update via play store (I bought it as well ^^)
Click to expand...
Click to collapse
This one didn't unroot. Just uninstalled Xposed. Kept all my data and stuff. Apps stayed signed in even. I was afraid because I heard "factory reset" in yours. Or something to that nature. The only thing I'm having problems with now is Tapatalk told me to check my adblock settings and won't load anything. I'll have to look up what's wrong with it. Other than that, it's doing all right.
You are right and wrong, it unroots but reroots in the process. Same I did when I used nrt. And as i didn't wipe data, apps stayed sign in as Well.
But i tried flashfire on my nexus 7 and I it is way more useful and faster than nrt. I am adopting it !

Need help removing Xposed and unrooting S7 Active

I recently successfully rooted an S7 Active with the process outlined in this forum. I installed Xposed framework succesfully as well, but now I need to undo the process safely. From what I understand, SuperSu can be used to unroot, but how can I remove Xposed safely? I am a relative novice so detailed guidance is greatly appreciated, thanks!
You need to follow the procedure outlined in the root guide, minus the part where you flash the engineering boot (unlockg891aboot.tar).
So basically, just download the password protected PI2 firmware that NotSoMiniGun has kindly provided, extract it and use the modified Odin to flash all the individual parts within in their relevant spaces ( BL, AP, CP, CSC) + the PIT file.
This will take you back to stock PI2 and a wiped phone. Then just clean up any remnant files you have on your SD card etc.
Why are you going back to unrooted out of curiosity?
bandario said:
You need to follow the procedure outlined in the root guide, minus the part where you flash the engineering boot (unlockg891aboot.tar).
So basically, just download the password protected PI2 firmware that NotSoMiniGun has kindly provided, extract it and use the modified Odin to flash all the individual parts within in their relevant spaces ( BL, AP, CP, CSC) + the PIT file.
This will take you back to stock PI2 and a wiped phone. Then just clean up any remnant files you have on your SD card etc.
Why are you going back to unrooted out of curiosity?
Click to expand...
Click to collapse
Thanks bandario, seems straightforward, I will try this in a few hours. I rooted to give myself a few additional capabilities and hastily installed Xposed framework as well, only to find out some things I needed the device for were disabled when Xposed is installed. Basically, it ended up creating more issues than it helped me with. I would rather just return the device to stock. This is somewhat unfamiliar territory for me though, so I did not want to try anything that would fail to remove Xposed and/or brick the phone. I will be back if I have any issues.
cma1515 said:
Thanks bandario, seems straightforward, I will try this in a few hours. I rooted to give myself a few additional capabilities and hastily installed Xposed framework as well, only to find out some things I needed the device for were disabled when Xposed is installed. Basically, it ended up creating more issues than it helped me with. I would rather just return the device to stock. This is somewhat unfamiliar territory for me though, so I did not want to try anything that would fail to remove Xposed and/or brick the phone. I will be back if I have any issues.
Click to expand...
Click to collapse
Anything specific that wouldn't work with xposed apart from snapchat (which must be installed before you install xposed)?
There are workarounds for most lock-outs. My phone doesn't even say 'custom' on the boot screen.
bandario said:
Anything specific that wouldn't work with xposed apart from snapchat (which must be installed before you install xposed)?
There are workarounds for most lock-outs. My phone doesn't even say 'custom' on the boot screen.
Click to expand...
Click to collapse
Yes, I figured there were workarounds for most of the issues, but I get in over my head trying to figure things out on my own.
My two main issues were Pokemon Go, which from what I understand cannot pass safetynet with Xposed installed, and my GearFit 2 watch also failed to work with rooted device even after reset. Not sure what the source of that issue is. About to attempt to restore.
cma1515 said:
Yes, I figured there were workarounds for most of the issues, but I get in over my head trying to figure things out on my own.
My two main issues were Pokemon Go, which from what I understand cannot pass safetynet with Xposed installed, and my GearFit 2 watch also failed to work with rooted device even after reset. Not sure what the source of that issue is. About to attempt to restore.
Click to expand...
Click to collapse
What custom recovery works best on the S7 active? (Link appreciated!)
cma1515 said:
Yes, I figured there were workarounds for most of the issues, but I get in over my head trying to figure things out on my own.
My two main issues were Pokemon Go, which from what I understand cannot pass safetynet with Xposed installed, and my GearFit 2 watch also failed to work with rooted device even after reset. Not sure what the source of that issue is. About to attempt to restore.
Click to expand...
Click to collapse
Firstly, I have a gearfit 2 and a massive amount of xposed modules and it works fine (apart from using a lot of phone battery but that happened before I rooted).
Second, there appears to be 2 solutions for playing pokemon go with xposed and root.
1) http://www.androidpolice.com/2016/09/11/guide-play-pokemon-go-0-37-rooted-android-magisk/
2) HIDE SU and SNORLAX -
https://forum.xda-developers.com/showpost.php?p=69651636&postcount=314
I don't play pokemon so can't comment any further on this one except to say, people have got it working.
cma1515 said:
What custom recovery works best on the S7 active? (Link appreciated!)
Click to expand...
Click to collapse
None that I know of at this stage.
bandario said:
Firstly, I have a gearfit 2 and a massive amount of xposed modules and it works fine (apart from using a lot of phone battery but that happened before I rooted).
Second, there appears to be 2 solutions for playing pokemon go with xposed and root.
1) http://www.androidpolice.com/2016/09/11/guide-play-pokemon-go-0-37-rooted-android-magisk/
2) HIDE SU and SNORLAX -
https://forum.xda-developers.com/showpost.php?p=69651636&postcount=314
I don't play pokemon so can't comment any further on this one except to say, people have got it working.
None that I know of at this stage.
Click to expand...
Click to collapse
Thanks for the help! The GearFit issue is probably just the watch being difficult, I have had problems with it before... I actually found that first link right after we began this discussion but I do not follow it... It asks the user to unroot via supersu, but then "make root systemless" using either custom recovery (which S7 Active does not yet have) or flashing. I will attach directions below, do these steps make logical sense using an Active S7?
""1 Re-flash custom or restore your System or you can uninstall Xposed, modules & everything.
2 Remove root (obviously skip this step if your not rooted) – Simply go into the supersu app and remove from there. (How to unroot Android devices)
3. Now to make Root Systemless,
If you’re using TWRP, use the terminal in advanced settings and type the following: echo “SYSTEMLESS=true” > /data/.supersu –
OR You can use your favourite file explorer and create a file named .supersu at: /data/.supersu and simply write in the following line: SYSTEMLESS=true
4 Flash SuperSU 2.78, which will be flashed in Systemless mode as per the config file we created in the previous step.
5 Flash Systemless Xposed 86.2 (this version does not depend on Magisk, therefore Magisk does not need to be installed at all).
6 Flash SUhide (It hides Root from particular app rather then turning off root globally)"
So far I have successfully removed Xposed via their uninstaller (http://dl-xda.xposed.info/framework/uninstaller/) and have currently left the phone rooted.
Follow steps on this post. Simplest, Easiest and Safest way to UNROOT your S7 Active.
https://forum.xda-developers.com/showpost.php?p=70810443&postcount=561
Cheers!

[ROM][NWD1.171016.002] NegaSt33v Huawei-Rom

I decided to update the optimized stock rom that @negamann303 made and some of you are a fan of.
Features:
Based on NWD1.171016.002 - Wear 2.0 - Android 7.1.1
Stock kernel
Optional root/busybox package that will install root and busybox 1.28.1
Same build.prop additions as NegaLite Huawei-Rom NX 2 v 1.2 (including ADB debugging pre-enabled)
Removed Google Fit from /system (download from Play Store if you want it)
Removed the tutorial that appears when you enable wrist gestures (but not the tutorial that happens when you first set up the watch)
Changelog:
v 0.2
Actually installs stock kernel instead of the rooted kernel I accidentally put in v 0.1
v 0.1:
Initial release
Install Instructions:
Factory reset in TWRP (optional, but recommended)
Flash rom
Flash root/busybox package if desired
Note: The first boot takes a looooong time.
Note 2: The SuperSu/Busybox package tells you that it's installing an older version of busybox than what I listed. Don't pay attention to it. If you want to make sure I'm honest just do adb shell, then su, then busybox.
Download v 0.2: https://www.androidfilehost.com/?fid=962187416754467969
Download SuperSu and Busybox package: https://www.androidfilehost.com/?fid=962187416754466211
Download Busybox only package for those who want to use Magisk (personally, I don't see the point of using Magisk on a watch that doesn't need to pass safetynet, but to each their own): https://github.com/yashdsaraf/bb-bot/releases/tag/v1.28.1-YDS-201803061707 (flash the universal zip)
Requests are welcome. Keep in mind that since Android Wear is not fully open source, our power to change it is relatively limited.
TheSt33v said:
I decided to update the optimized stock rom that @negamann303 made and some of you are a fan of. Right now it's a work in progress. I'm pretty sure that everything works, but please test and report back.
Features:
Based on NWD1.171016.002 - Wear 2.0 - Android 7.1.1
Stock kernel
Optional root/busybox package that will install root and busybox 1.28.1
Same build.prop additions as NegaLite Huawei-Rom NX 2 v 1.2 (including ADB debugging pre-enabled)
Removed Google Fit from /system (download from Play Store if you want it)
Removed the tutorial that appears when you enable wrist gestures (but not the tutorial that happens when you first set up the watch)
To do:
Update Gapps
Move more system apps to /data for easy deletion
Include Root Essentials and Advanced Settings (download from Play Store if you want them for now)
Install Instructions:
Factory reset in TWRP (optional, but recommended)
Flash rom
Flash root/busybox package if desired
Note: the first boot takes a looooong time.
Download v 0.1: https://www.androidfilehost.com/?fid=673956719939825513
Download SuperSu and Busybox package: https://www.androidfilehost.com/?fid=962187416754466211
Click to expand...
Click to collapse
Good job! Feel free to pm me if you ever have any questions. I will try my best to answer them
Sent from my SM-G935P using Tapatalk
It's really nice to see the new rom for HW1!
If this rom can have lower brightness for ambient mode, I would love to test the rom!!!
Amazing rom
Thanks for the effort.
I will give it a try when I find some free time.
lentm said:
It's really nice to see the new rom for HW1!
If this rom can have lower brightness for ambient mode, I would love to test the rom!!!
Click to expand...
Click to collapse
According to the quick Google search that I did, it looks like this is controlled by the Android system framework. It's not as easy as changing a build property or telling settings to do something different. So unfortunately it doesn't look like it's something I can change, but if anyone finds any other information on it I'll definitely take a look.
Thanks a lot for continuing his work. Will be testing out on my watch soon.
Sent from my LG-H932 using Tapatalk
Thank you very much for doing this rom, look forward to using my watch again as I haven't used it in months.
It seems this build still installs the "rooted kernel" (that contains SuperSU binaries and configurations), which in turn blocks installation of Magisk (same as the original NX rom), as the two root solutions aren't compatible.
Guess I'll have to work around it using the hard way for now. It's better if the kernel can be made rootless so one can choose to install either SuperSU or Magisk.
EDIT: Got everything working: ROM, Magisk, and Busybox (installed using this one).
EDIT 2: It seems the Daily Tracking is working on this version, as on Explorer watch face the steps and kcals are properly registered just like on Android Wear 1.5.
LSS4181 said:
It seems this build still installs the "rooted kernel" (that contains SuperSU binaries and configurations), which in turn blocks installation of Magisk (same as the original NX rom), as the two root solutions aren't compatible.
Guess I'll have to work around it using the hard way for now. It's better if the kernel can be made rootless so one can choose to install either SuperSU or Magisk.
EDIT: Got everything working: ROM, Magisk, and Busybox (installed using this one).
EDIT 2: It seems the Daily Tracking is working on this version, as on Explorer watch face the steps and kcals are properly registered just like on Android Wear 1.5.
Click to expand...
Click to collapse
Oops. You're right. Sorry about that. I'll fix it this evening.
Source?
Where did you get the source?
i want to start making roms with the AOSP.
Omg. You are the man negast33v. Thanks for keeping this watch alive.
jayjar said:
Where did you get the source?
i want to start making roms with the AOSP.
Click to expand...
Click to collapse
I didn't get the source. In fact I didn't do much at all. I took the stock rom, put negamann's build.prop tweaks in it and put together the optional root package. That's about it, because that's about all that was done to negamann's original rom.
When you say the first boot takes a long time, how long are we talking? I'm testing something with my watch, so I already expect it to fail. I want to know so that I don't wait for hours when it should have been done in 20 minutes, which would mean my test has failed.
TheSt33v said:
I didn't get the source. In fact I didn't do much at all. I took the stock rom, put negamann's build.prop tweaks in it and put together the optional root package. That's about it, because that's about all that was done to negamann's original rom.
Click to expand...
Click to collapse
This is correct! That is why I typically spent more time on the kernel.
Sent from my SM-G935P using Tapatalk
CVertigo1 said:
When you say the first boot takes a long time, how long are we talking? I'm testing something with my watch, so I already expect it to fail. I want to know so that I don't wait for hours when it should have been done in 20 minutes, which would mean my test has failed.
Click to expand...
Click to collapse
Definitely not hours. 5-10 minutes I'd say.
Does someone want to try using the negamann kernel with this rom? It might work. I'm not sure and I don't feel like testing it.
TheSt33v said:
Does someone want to try using the negamann kernel with this rom? It might work. I'm not sure and I don't feel like testing it.
Click to expand...
Click to collapse
Hey,
I tried it, it doesn't work, it just hangs on the Android logo, waited over an hour, rebooted, nothing. Will not boot.
Edit: this is what I tried: negalite_kernel_HW_dffc4c0-2.0.zip - 6/7/2017
Edit 2: Just tried again, this time I cleared cache/dalvik and even so its just been on the Android animation for over an hour, and the watch has become really hot...Going to go back to stock kernal.
RumpSteak01 said:
Hey,
I tried it, it doesn't work, it just hangs on the Android logo, waited over an hour, rebooted, nothing. Will not boot.
Edit: this is what I tried: negalite_kernel_HW_dffc4c0-2.0.zip - 6/7/2017
Edit 2: Just tried again, this time I cleared cache/dalvik and even so its just been on the Android animation for over an hour, and the watch has become really hot...Going to go back to stock kernal.
Click to expand...
Click to collapse
Damn. Thanks for trying.
Thanks for updating this rom. Much appreciated : ).

Categories

Resources