[GT- I9505] [How-To] Lollipop(Official), Root, Knox 0x0, Xposed Framework - Galaxy S 4 General

Hi guys! Today I will explain you how to get Lollipop, Root, Knox 0x0 and Xposed Framework to work on Stock Samsung ( I9505XXUHOD7) comming from Stock KitKat with Knox 0x0.
Before we start...
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed.
1) Follow peppe130's Methode to get KitKat with Root and Knox 0x0.
2) In Addition to andre_m_silva's Methode download and Install the Lollipop Firmware (I9505XXUHOD7) from Sammoblie.
Optional: Now debloat the Firmware if you want to.(I did and recommand it. Here is a Bloatware removal List. But keep "WebView" as deleting it was leading to a several FC for me. Also keep other Apps you want to use.)
3) Download and Install Flashfire
4) Following this Guide, create an ZIP to deodex your Smartphone. (I used LBDv2.5)
5) Flash the Deodex.ZIP with @Chainfire 's Flashfire (next Bootup will take its time)
6) Install @rovo89 's XposedInstaller_3.0-alpha2.apk from here
7)Flash @arter97 's "Xposed for Samsung Lollipop v3" from here through Flashfire
8) It should be done. After booting up check if you have Root, Xposed working, expecting any FC. If you followed the Guide everything should be working fine, if not reflash KitKat trough Odin preform a wipe and start from Scratch.
Greetings and have a nice Day. :laugh:
Credits:
 @peppe130
@andre_m_silva
 @fAiLOfax
 @Chainfire
 @rovo89
@arter97
 @townsenk
... and all the other Guys i forgot to mention.

Update:
Hi guys,
i've Tested the new "Xposed for Samsung Lollipop v4 Krait" about an week now.
As far as I can say it's slightly smoother than v3 but if you have enabled XPrivacy it's going into bootloop.
So because we can't make an nandroid backup(due to stock recovery) remember to activate adb and grant su permissions to Shell, it will be an huge Advantage if you gonna get bootloops caused by Xposed.
For Bootloops:
See here ho to disable Xposed.
Disable Xposed
Bootup
Deinstall the latest installed Modules
Reactivate Xposed
Working Modules with v4 for me:
App Settings (also a workaroud for not Working Xprivacy)
BootManager
LightningWall
Play Store Changelog
PlayPermissionsExposed
Power Nap
ReciverStop
Smart Network
UnbelovedHosts
Wanam Xposed

Related

[Stock OK3] Fix for broken private mode (instructions)

HOW TO FIX PRIVATE MODE
NOTE: These instructions are for STOCK ROM using chainfire's system less cf-autoroot on the SPRINT GALAXY NOTE5 (SM-N920P). This might help for other Samsung devices but this is written for the mentioned model only. I TAKE NO RESPONSIBILITY FOR DAMAGE TO YOUR SOFTWARE, DEVICE, CAT, DOG, DRAGON, HOME, COUNTRY, PLANET OR SOLAR SYSTEM. USE AT YOUR OWN RISK.
1.) Install Xposed Framework (follow this thread: http://forum.xda-developers.com/xposed/unofficial-xposed-samsung-lollipop-t3180960 - use sdk22 arm64)
2.) Download module "Wanam Xposed for Android 5.x.x" - VERSION 1.3.0 OR NEWER
3.) Run Wanam Xposed and activate option Security hacks>Disable secure storage
4.) Using a file explorer that can access root with r/w permission, Delete the following folders:
Code:
- /data/data/com.samsung.android.personalpage.service
- /data/privatemode
- /data/system/secure_storage/com.samsung.android.personalpage.service
And delete the file:
Code:
/data/system/users/privatemode_edk_1000
5.) ACTIVATE THE WANAM XPOSED MODULE in Xposed
6.) Reboot
Private Mode should now work

[Guide]How to Install xposed framework on PHICOMM ENERGY 2 E670 [LP 5.1.1]

ALL CREDIT GOES TO rovo89
I just tested it on our device
Please install it only if you're willing to take the risk of boot loops. Just because it's working fine and stable for me doesn't mean it will work for everyone the same way.
Downloads:
XposedInstaller_3.0-alpha4.apk link http://forum.xda-developers.com/attachment.php?attachmentid=3383776&d=1435601440 Must be installed to manage installed modules, the framework won't work without it.
No, it's not using material design yet. Yes, there are more important topics for now.
xposed*.zip from http://dl-xda.xposed.info/framework/sdk22/arm/xposed-v85-sdk22-arm.zip Must be flashed with a custom recovery (e.g. TWRP) to install the framework
xposed-uninstaller*.zip from http://dl-xda.xposed.info/framework/: Can be flashed with a custom recovery (e.g. TWRP) to uninstall the framework.
Known issues:
- Bootloops on Samsung stock ROMs. That's due to Samsung's changes to ART. There are unofficial builds that work around this by deodexing and adjusting the ROM.
- Sony seems to have shipped some ROMs with corrupted services.odex (the embedded .dex is invalid). Those ROMs will bootloop with a "Fatal signal 6" or "No pending exception expected: java.lang.ArrayIndexOutOfBoundsException" error, which I unfortunately cannot fix (see https://github.com/rovo89/Xposed/issues/64)
- Dell ships (at least) their Venue 8 7840 with a non-standard version of ART that is somewhere between 5.1 and 6.0 which obviously isn't supported by Xposed (see https://github.com/rovo89/Xposed/issues/77)

[Guide] Bypass Safetynet on MM with Custom ROM & Kernel (Looking for testers)

I would first like to say that I cannot guarantee if this works on ALL devices. I was able to get this to work on the Galaxy S6 and posted it on the Galaxy S6 forums, however I am looking for people with other devices to see if it works for them as well (because why not share the bypass love to everyone ) If it works, please post a screenshot to confirm so I can post it on the thread here. Thanks.
(Please note that I am not responsible if your phone bricks etc. Please use at your own risk! Myself and others who have also tested this bypass have had no reported issues of this bypass causing some sort of brick etc., but I cannot guarantee anything.)
*This is a copy and paste of a thread I made on another forums and I felt like sharing it here. If there is any mistakes in the post, please tell me so I can fix it. Thanks.*​__________________________________​
Since October 2016, Google has (yet again) changed their way on how SafetyNet works and how they can now easily figure out if your phone is rooted or not. This caused many issues for rooted Android users who wanted to play games such as PKMNGO and use apps such as Snapchat. However, there is still ways to bypass SafetyNet.
Tested Devices:
- Samsung Galaxy S6
- Samsung Galaxy S5
*Looking for people with other devices to try and see if it works for themselves so I can add the device to the list.*
__________________________________​
Requirements:
- Basic Understanding on how to use Custom Recovery, flashing zip files etc.
- Running on Android 6.0 (Looking for anyone with Android 7 to see if this works for them as well.)
- Phone has a custom recovery (I suggest TWRP) and on a Custom ROM. (Stock roms "should" work too.)
- Rom should have November 1st Security update or older updates. (Have not tested with roms with November 5th Security update and higher.)
- Magisk V10.2 & Magisk Manager 3.0
- SafetyNet Checker
- Phh Super User APK. PlayStore or 2.0 Beta
- Root File Explorer. I suggest Root Browser
- Kernel Adiutor
- Root Checker
(I have had issues trying Xposed on Magisk V9, however it may work on V10.2)
Tutorial
**WARNING: BIG IMAGES** (Had no time to resize them, but will soon.)
Before we begin, I suggest that you make a Nandroid backup through your preferred Custom Recovery. I suggest you use TWRP however CWM "should" work, but I have not tried myself.
Step 1:
Clean Install
The first step 'is' optional, however it is recommended that you do a clean install. I will be using Alexis Rom 8.0 Beta 2 for my Galaxy S6, but any rom should work. (Other than certain GraceUX ports, but am able to get it to work with other ported rom like CoreUi (a MIUI port) for the Galaxy S6). You should also flash a kernel now as well. I use to personally use Arter97 as SuperSU is not installed in this kernel, however Arter97 is slowly starting to become unstable as it hasn't been updated and there is better kernels out there. For this tutorial, I will be using Twisted Kernel.
Step 2:
Removing SuperSU
This step is 'also' optional, but ONLY if your rom/kernel does not automatically install SuperSU for you. In my case, it is automatically installed.
What you will need to do is to go to the SuperSU app, go to settings.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Scroll down until you see "Full unroot" and click it.
A popup will come up and click "Continue", then followed by another popup and click "NO".
Once you click no, your phone will freeze and then reboot. You should then install Root Checker to verify if your phone is unrooted.
(If for some reason, you are unable to use the SuperSU app but you know SuperSU is installed, I'd suggest you download UPDATE-unSU-signed.zip and flash it as it will manually remove SuperSU.)
Step 3:
Installing required APKs.
You will now need to install MagiskManager 3.0, SafetyNet Helper Sample, PHH Super User APK, Root Browser and Kernel Adiutor.
Step 4:
Flashing MagiskV10.2
You will need to reboot into your custom recovery and flash "Magisk-v10.2.zip", followed by rebooting. If you receive ERROR: 1 in TWRP when it is trying to mount SU, I suggest reflashing a kernel (and re-remove SuperSU), uninstalling Magisk with MagiskUninstaller (in Magisk thread) and reinstall Magisk V10.2, or reinstalling your rom.
Once you have flashed the file, reboot into System and open Magisk Manager to verify you have installed Magisk. A little pop up will open to allow Magisk to have root. Make sure to click allow and set it so it has root for "Forever".
If it states that root isn't properly installed, manually flash PHH Super User V266-2.
Step 5:
Enabling Magisk Hide
In Magisk Manager, go to the side menu and go to "Settings." You will see an unchecked box that says "Enable Magisk Hide." Select it and reboot. Re-open Magisk Manager and verify that it is now check marked. If the App crashes when you select "Enable Magisk Hide", reboot your phone and retry.
Step 6:
Set Permissions
In Root Browser, go to the directory "/sys/fs/selinux" and find the file "enforce" and the file "policy". On the file "enforce", change the permissions of the file from "644" to "640", and for the file "enforce", change the permissions of the file from "444" to "440". If Phh Super User pops up and asks for root access, click "Allow."
Once you are done, open up SafetyNet Helper Sample and it 'should' pass. If you are getting "Response Validation Failed" and the background is blue, uninstall Magisk by flashing Magisk Uninstaller, flash UPDATE-unSU-signed.zip, then reflash Magisk V10.2. Then, go back to Step 5 and enable Magisk Hide.
Step 7:
Use Kernel Adiutor to automatically set permissions in init.d
This last step is 'optional', however it automates the permission setting as every time you reboot your system, the file permissions will reset. Open up Kernel Adiutor, go to the sidebar and scroll down until you see 'Init.d'. Click it and make sure "Emulate Init.d" is enabled.
Then click the plus button, set the name to "Permissions" and then add the following script:
"chmod 640 /sys/fs/selinux/enforce" and "chmod 440 /sys/fs/selinux/policy" and save the files.
Also allow root access to Kernel Adiutor!
Step 8:
Reboot
Reboot your device, let Kernel Adiutor do its countdown (you will see in the notifications drop down) and once it says "Applying settings completed!", open up Safetynet and you should be passing!
Credits:
topjohnwu - Main developer of Magisk and Magisk Supported Phh Super User
This XDA thread - Helped me figure out how to do this bypass in the first place.
CoreUi Telegram Chat - Helped me test this bypass to see if it worked on different S6 models. Join here!
If I forgot to credit anyone, please tell me.
__________________________________​
If there is any mistakes I made, spelling, phrasing etc., please tell me so I can fix it. Thanks.
Finally I can play again since they added the SafetyNet check! It's been way too long.
Worked perfectly on my Galaxy S5! I'm using the Resurrection Remix KLTE 6.0 for my Galaxy S5 so it came with it's own root. I just searched Root in settings, disabled it, flashed the unroot zip and then I was unrooted. Except for that everything worked the way you described! I forgot to reboot after Magisk Hide so I unrooted and reflashed Magisk but I'm not sure that was needed to be honest. Is SafetyNet Checker really needed? Magisk Manager also has a SafteyNet checker.
When I get more time I will do a backup and flash the 7.1.1 rom too and test if it works.
Complete package with everything needed in the guide for the lazy:
https://mega.nz/#!R18XRZQB!pgGx2LgNV8aqfwhsutmUnC4jay-FTGVR3-a9r3TJaEA
Martan404 said:
Finally I can play again since they added the SafetyNet check! It's been way too long.
Worked perfectly on my Galaxy S5! I'm using the Resurrection Remix KLTE 6.0 for my Galaxy S5 so it came with it's own root. I just searched Root in settings, disabled it, flashed the unroot zip and then I was unrooted. Except for that everything worked the way you described! I forgot to reboot after Magisk Hide so I unrooted and reflashed Magisk but I'm not sure that was needed to be honest. Is SafetyNet Checker really needed? Magisk Manager also has a SafteyNet checker.
When I get more time I will do a backup and flash the 7.1.1 rom too and test if it works.
Click to expand...
Click to collapse
There 'is' a Safetynet checker in Magisk Manager, however it will always say 'CTS Profile error', while SafetyNet Checker will say if its either a CTS error, Response Validation error, Play Store error etc. Maybe it's just a bug in Magisk Manager but if it gets fixed; I'll remove SafetyNet Checker from the tutorial.
xJovs said:
There 'is' a Safetynet checker in Magisk Manager, however it will always say 'CTS Profile error', while SafetyNet Checker will say if its either a CTS error, Response Validation error, Play Store error etc. Maybe it's just a bug in Magisk Manager but if it gets fixed; I'll remove SafetyNet Checker from the tutorial.
Click to expand...
Click to collapse
Can confirm that this works on 7.1.1 roms too! As I mentioned in my other post I use the Resurrection Remix rom.
By the way, you could mention that instead of using root browser to change permissions you could skip that step all together and just add the modification to Kernel Auditor. And instead of rebooting to test it you can just click the "Permissions" addition to execute the script right away just to make sure it works and then do a reboot to confirm.
Thank you so much. it worked
help plse plse give steps by step for 7.1.1(RR)
---------- Post added at 02:58 AM ---------- Previous post was at 02:54 AM ----------
i tried but cts profile mismatch becomes false
Sent from my MotoG3 using Tapatalk
Running a Mi Max here and have to say: Not working!
If i fully unroot the phone (magisk uninstaller / unSU script) then safety net helper gives me a red screen (CTS profile mismatch) but after installing Magisk 10.2 i only get a blueish screen in safetynethelper saying "response validation: fail"
naveenfre said:
help plse plse give steps by step for 7.1.1(RR)
---------- Post added at 02:58 AM ---------- Previous post was at 02:54 AM ----------
i tried but cts profile mismatch becomes false
Sent from my MotoG3 using Tapatalk
Click to expand...
Click to collapse
1. Open the Settings app, and go About phone tab and spam click on Version to enable Developer Tools.
2. Do a search in the settings for "Root" and disable Root access.
3. Reboot to Recovery mode and flash this unroot https://forum.xda-developers.com/showpost.php?p=63615067
4. Reboot phone and follow xJovs' guide from step 3
Note: I also used the flashable zip file from the guide to get root and did not install the APK. https://forum.xda-developers.com/apps/magisk/magisk-phh-s-superuser-android-pay-t3435921
g_BonE said:
Running a Mi Max here and have to say: Not working!
If i fully unroot the phone (magisk uninstaller / unSU script) then safety net helper gives me a red screen (CTS profile mismatch) but after installing Magisk 10.2 i only get a blueish screen in safetynethelper saying "response validation: fail"
Click to expand...
Click to collapse
It might be because of the Kernel but I'm just speculating. Try flashing a new one to see if it helps!
g_BonE said:
Running a Mi Max here and have to say: Not working!
If i fully unroot the phone (magisk uninstaller / unSU script) then safety net helper gives me a red screen (CTS profile mismatch) but after installing Magisk 10.2 i only get a blueish screen in safetynethelper saying "response validation: fail"
Click to expand...
Click to collapse
It will always return blue right after installing Magisk. You need to follow through with the whole tutorial to work. If you have, then it's probably your rom. It happened with me on GraceUX roms.
Latest version of PoGo doesn't appear in magisk hide menu
It works
Thanks! Editing the permission of SElinux files works for me
Nexus 5X
GooglePixelROM v7.0.1
Android 7.1.2
NPG05D
Using Magisk 11.1
Now I can pass SafetyNet and use AndroidPay on a custom ROM
Galaxy Note 3 (N9005) MagmaNX with Magisk v11.1 + MagiskSU
CTS profile match: false
Basic Integrity: false
xJovs said:
I would first like to say that I cannot guarantee if this works on ALL devices. I was able to get this to work on the Galaxy S6 and posted it on the Galaxy S6 forums, however I am looking for people with other devices to see if it works for them as well (because why not share the bypass love to everyone ) If it works, please post a screenshot to confirm so I can post it on the thread here. Thanks.
(Please note that I am not responsible if your phone bricks etc. Please use at your own risk! Myself and others who have also tested this bypass have had no reported issues of this bypass causing some sort of brick etc., but I cannot guarantee anything.)
*This is a copy and paste of a thread I made on another forums and I felt like sharing it here. If there is any mistakes in the post, please tell me so I can fix it. Thanks.*​__________________________________​
Since October 2016, Google has (yet again) changed their way on how SafetyNet works and how they can now easily figure out if your phone is rooted or not. This caused many issues for rooted Android users who wanted to play games such as PKMNGO and use apps such as Snapchat. However, there is still ways to bypass SafetyNet.
Tested Devices:
- Samsung Galaxy S6
- Samsung Galaxy S5
*Looking for people with other devices to try and see if it works for themselves so I can add the device to the list.*
__________________________________​
Requirements:
- Basic Understanding on how to use Custom Recovery, flashing zip files etc.
- Running on Android 6.0 (Looking for anyone with Android 7 to see if this works for them as well.)
- Phone has a custom recovery (I suggest TWRP) and on a Custom ROM. (Stock roms "should" work too.)
- Rom should have November 1st Security update or older updates. (Have not tested with roms with November 5th Security update and higher.)
- Magisk V10.2 & Magisk Manager 3.0
- SafetyNet Checker
- Phh Super User APK. PlayStore or 2.0 Beta
- Root File Explorer. I suggest Root Browser
- Kernel Adiutor
- Root Checker
(I have had issues trying Xposed on Magisk V9, however it may work on V10.2)
Tutorial
**WARNING: BIG IMAGES** (Had no time to resize them, but will soon.)
Before we begin, I suggest that you make a Nandroid backup through your preferred Custom Recovery. I suggest you use TWRP however CWM "should" work, but I have not tried myself.
Step 1:
Clean Install
The first step 'is' optional, however it is recommended that you do a clean install. I will be using Alexis Rom 8.0 Beta 2 for my Galaxy S6, but any rom should work. (Other than certain GraceUX ports, but am able to get it to work with other ported rom like CoreUi (a MIUI port) for the Galaxy S6). You should also flash a kernel now as well. I use to personally use Arter97 as SuperSU is not installed in this kernel, however Arter97 is slowly starting to become unstable as it hasn't been updated and there is better kernels out there. For this tutorial, I will be using Twisted Kernel.
Step 2:
Removing SuperSU
This step is 'also' optional, but ONLY if your rom/kernel does not automatically install SuperSU for you. In my case, it is automatically installed.
What you will need to do is to go to the SuperSU app, go to settings.
Scroll down until you see "Full unroot" and click it.
A popup will come up and click "Continue", then followed by another popup and click "NO".
Once you click no, your phone will freeze and then reboot. You should then install Root Checker to verify if your phone is unrooted.
(If for some reason, you are unable to use the SuperSU app but you know SuperSU is installed, I'd suggest you download UPDATE-unSU-signed.zip and flash it as it will manually remove SuperSU.)
Step 3:
Installing required APKs.
You will now need to install MagiskManager 3.0, SafetyNet Helper Sample, PHH Super User APK, Root Browser and Kernel Adiutor.
Step 4:
Flashing MagiskV10.2
You will need to reboot into your custom recovery and flash "Magisk-v10.2.zip", followed by rebooting. If you receive ERROR: 1 in TWRP when it is trying to mount SU, I suggest reflashing a kernel (and re-remove SuperSU), uninstalling Magisk with MagiskUninstaller (in Magisk thread) and reinstall Magisk V10.2, or reinstalling your rom.
Once you have flashed the file, reboot into System and open Magisk Manager to verify you have installed Magisk. A little pop up will open to allow Magisk to have root. Make sure to click allow and set it so it has root for "Forever".
If it states that root isn't properly installed, manually flash PHH Super User V266-2.
Step 5:
Enabling Magisk Hide
In Magisk Manager, go to the side menu and go to "Settings." You will see an unchecked box that says "Enable Magisk Hide." Select it and reboot. Re-open Magisk Manager and verify that it is now check marked. If the App crashes when you select "Enable Magisk Hide", reboot your phone and retry.
Step 6:
Set Permissions
In Root Browser, go to the directory "/sys/fs/selinux" and find the file "enforce" and the file "policy". On the file "enforce", change the permissions of the file from "644" to "640", and for the file "enforce", change the permissions of the file from "444" to "440". If Phh Super User pops up and asks for root access, click "Allow."
Once you are done, open up SafetyNet Helper Sample and it 'should' pass. If you are getting "Response Validation Failed" and the background is blue, uninstall Magisk by flashing Magisk Uninstaller, flash UPDATE-unSU-signed.zip, then reflash Magisk V10.2. Then, go back to Step 5 and enable Magisk Hide.
Step 7:
Use Kernel Adiutor to automatically set permissions in init.d
This last step is 'optional', however it automates the permission setting as every time you reboot your system, the file permissions will reset. Open up Kernel Adiutor, go to the sidebar and scroll down until you see 'Init.d'. Click it and make sure "Emulate Init.d" is enabled.
Then click the plus button, set the name to "Permissions" and then add the following script:
"chmod 640 /sys/fs/selinux/enforce" and "chmod 440 /sys/fs/selinux/policy" and save the files.
Also allow root access to Kernel Adiutor!
Step 8:
Reboot
Reboot your device, let Kernel Adiutor do its countdown (you will see in the notifications drop down) and once it says "Applying settings completed!", open up Safetynet and you should be passing!
Credits:
topjohnwu - Main developer of Magisk and Magisk Supported Phh Super User
This XDA thread - Helped me figure out how to do this bypass in the first place.
CoreUi Telegram Chat - Helped me test this bypass to see if it worked on different S6 models. Join here!
If I forgot to credit anyone, please tell me.
__________________________________​
If there is any mistakes I made, spelling, phrasing etc., please tell me so I can fix it. Thanks.
Click to expand...
Click to collapse
i have HTC Desire 820 d820u running 6.0.1 mm stock.
is this will be ok to try?????
yo_honey said:
i have HTC Desire 820 d820u running 6.0.1 mm stock.
is this will be ok to try?????
Click to expand...
Click to collapse
Could but I have no idea.
I have tried latest magisk
xJovs said:
Could but I have no idea.
Click to expand...
Click to collapse
Here is full guide https://forum.xda-developers.com/desire-820/general/guide-bypass-safetynet-magisk-t3592508
Doesn't this work for Lollipop or is it just that you haven't tested?
xJovs said:
I would first like to say that I cannot guarantee if this works on ALL devices. I was able to get this to work on the Galaxy S6 and posted it on the Galaxy S6 forums, however I am looking for people with other devices to see if it works for them as well (because why not share the bypass love to everyone ) If it works, please post a screenshot to confirm so I can post it on the thread here. Thanks.
(Please note that I am not responsible if your phone bricks etc. Please use at your own risk! Myself and others who have also tested this bypass have had no reported issues of this bypass causing some sort of brick etc., but I cannot guarantee anything.)
*This is a copy and paste of a thread I made on another forums and I felt like sharing it here. If there is any mistakes in the post, please tell me so I can fix it. Thanks.*​__________________________________​
Since October 2016, Google has (yet again) changed their way on how SafetyNet works and how they can now easily figure out if your phone is rooted or not. This caused many issues for rooted Android users who wanted to play games such as PKMNGO and use apps such as Snapchat. However, there is still ways to bypass SafetyNet.
Tested Devices:
- Samsung Galaxy S6
- Samsung Galaxy S5
*Looking for people with other devices to try and see if it works for themselves so I can add the device to the list.*
__________________________________​
Requirements:
- Basic Understanding on how to use Custom Recovery, flashing zip files etc.
- Running on Android 6.0 (Looking for anyone with Android 7 to see if this works for them as well.)
- Phone has a custom recovery (I suggest TWRP) and on a Custom ROM. (Stock roms "should" work too.)
- Rom should have November 1st Security update or older updates. (Have not tested with roms with November 5th Security update and higher.)
- Magisk V10.2 & Magisk Manager 3.0
- SafetyNet Checker
- Phh Super User APK. PlayStore or 2.0 Beta
- Root File Explorer. I suggest Root Browser
- Kernel Adiutor
- Root Checker
(I have had issues trying Xposed on Magisk V9, however it may work on V10.2)
Tutorial
**WARNING: BIG IMAGES** (Had no time to resize them, but will soon.)
Before we begin, I suggest that you make a Nandroid backup through your preferred Custom Recovery. I suggest you use TWRP however CWM "should" work, but I have not tried myself.
Step 1:
Clean Install
The first step 'is' optional, however it is recommended that you do a clean install. I will be using Alexis Rom 8.0 Beta 2 for my Galaxy S6, but any rom should work. (Other than certain GraceUX ports, but am able to get it to work with other ported rom like CoreUi (a MIUI port) for the Galaxy S6). You should also flash a kernel now as well. I use to personally use Arter97 as SuperSU is not installed in this kernel, however Arter97 is slowly starting to become unstable as it hasn't been updated and there is better kernels out there. For this tutorial, I will be using Twisted Kernel.
Step 2:
Removing SuperSU
This step is 'also' optional, but ONLY if your rom/kernel does not automatically install SuperSU for you. In my case, it is automatically installed.
What you will need to do is to go to the SuperSU app, go to settings.
Scroll down until you see "Full unroot" and click it.
A popup will come up and click "Continue", then followed by another popup and click "NO".
Once you click no, your phone will freeze and then reboot. You should then install Root Checker to verify if your phone is unrooted.
(If for some reason, you are unable to use the SuperSU app but you know SuperSU is installed, I'd suggest you download UPDATE-unSU-signed.zip and flash it as it will manually remove SuperSU.)
Step 3:
Installing required APKs.
You will now need to install MagiskManager 3.0, SafetyNet Helper Sample, PHH Super User APK, Root Browser and Kernel Adiutor.
Step 4:
Flashing MagiskV10.2
You will need to reboot into your custom recovery and flash "Magisk-v10.2.zip", followed by rebooting. If you receive ERROR: 1 in TWRP when it is trying to mount SU, I suggest reflashing a kernel (and re-remove SuperSU), uninstalling Magisk with MagiskUninstaller (in Magisk thread) and reinstall Magisk V10.2, or reinstalling your rom.
Once you have flashed the file, reboot into System and open Magisk Manager to verify you have installed Magisk. A little pop up will open to allow Magisk to have root. Make sure to click allow and set it so it has root for "Forever".
If it states that root isn't properly installed, manually flash PHH Super User V266-2.
Step 5:
Enabling Magisk Hide
In Magisk Manager, go to the side menu and go to "Settings." You will see an unchecked box that says "Enable Magisk Hide." Select it and reboot. Re-open Magisk Manager and verify that it is now check marked. If the App crashes when you select "Enable Magisk Hide", reboot your phone and retry.
Step 6:
Set Permissions
In Root Browser, go to the directory "/sys/fs/selinux" and find the file "enforce" and the file "policy". On the file "enforce", change the permissions of the file from "644" to "640", and for the file "enforce", change the permissions of the file from "444" to "440". If Phh Super User pops up and asks for root access, click "Allow."
Once you are done, open up SafetyNet Helper Sample and it 'should' pass. If you are getting "Response Validation Failed" and the background is blue, uninstall Magisk by flashing Magisk Uninstaller, flash UPDATE-unSU-signed.zip, then reflash Magisk V10.2. Then, go back to Step 5 and enable Magisk Hide.
Step 7:
Use Kernel Adiutor to automatically set permissions in init.d
This last step is 'optional', however it automates the permission setting as every time you reboot your system, the file permissions will reset. Open up Kernel Adiutor, go to the sidebar and scroll down until you see 'Init.d'. Click it and make sure "Emulate Init.d" is enabled.
Then click the plus button, set the name to "Permissions" and then add the following script:
"chmod 640 /sys/fs/selinux/enforce" and "chmod 440 /sys/fs/selinux/policy" and save the files.
Also allow root access to Kernel Adiutor!
Step 8:
Reboot
Reboot your device, let Kernel Adiutor do its countdown (you will see in the notifications drop down) and once it says "Applying settings completed!", open up Safetynet and you should be passing!
Credits:
topjohnwu - Main developer of Magisk and Magisk Supported Phh Super User
This XDA thread - Helped me figure out how to do this bypass in the first place.
CoreUi Telegram Chat - Helped me test this bypass to see if it worked on different S6 models. Join here!
If I forgot to credit anyone, please tell me.
__________________________________​
If there is any mistakes I made, spelling, phrasing etc., please tell me so I can fix it. Thanks.
Click to expand...
Click to collapse
Step 6:
Set Permissions
In Root Browser, go to the directory "/sys/fs/selinux" and find the file "enforce" and the file "policy". On the file "enforce", change the permissions of the file from "644" to "640", and for the file "enforce", change the permissions of the file from "444" to "440". If Phh Super User pops up and asks for root access, click "Allow." Which file gets which perms bud you mention the same file twice.
savvy1968 said:
Step 6:
Set Permissions
In Root Browser, go to the directory "/sys/fs/selinux" and find the file "enforce" and the file "policy". On the file "enforce", change the permissions of the file from "644" to "640", and for the file "enforce", change the permissions of the file from "444" to "440". If Phh Super User pops up and asks for root access, click "Allow." Which file gets which perms bud you mention the same file twice.
Click to expand...
Click to collapse
Yeah I had to change it on my other thread in the GS6 forums. However I'm stopping maintenance of these threads as MagiskHide deals with all that permission stuff automatically now.
Seems to not working on leeco le max 2

[ROM] LENOVO [K6 NOTE][K53a48] STOCK S218-ROOTED-BUSYBOX-TWRP FLASHABLE ZIP

Official Nougat (7.0) for lenovo K6 Note TWRP Flashable.
#Disclaimer!
I am not responsible for bricked devices!!!​
Features.
* Based on official Nougat S218 Release
* Pre Rooted-Root installed during flashing( no need to root after modifying boot.img)
* Modified boot.img
* Busybox Installed
* Should Works both for (K6 Note) ( K53a48) and K6 Plus K53b36 (K6 Plus not tested)
* Build Prop Tweaks
* Can be flashed on top on 6.0 and also if want to install as fresh ROM after factory reset.
Requirements:
* Lenovo K6 Note (K53a48)
* Installed Custom Recovery TWRP.
* Time and patience
Instructions
* Download the zip and put it on internal or external sd card( if you have one)
* Boot into TWRP Recovery
* Create Backup of your ROM.
* Select Install zip.
* Choose the zip you downloaded, and wait till the flashing finishes.
* After installtion the device will boot and reboot, this is normal.
* Finish the setup and enjoy the phone.
https://mega.nz/#!6JND2Q4J!bkZ1jC17q1XHGKRejKqPSk8FI7S-iNUAhnaor9JIcDY
Bugs:
Change Region not working if flashed after factory reset.( will be fixed soon)
Dont Forget to say thanks
Screenshots​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Reserved
Can it be flashed on already nougat version s218 ?
Thanks!!
I installed it but
Thwre is no root
Hi!
First of all thank you for this awesome effort that you put into this.
I've installed the rom today and it's been working fine so far. Except Snapchat. The app opens fine, but when I try to send a snap, the app crashes. Sometimes I can send one, sometimes not.
Also, after installing the rom I've noticed that the Pixel Launcher and the Samsung browser were missing. That might have been a bug on my behalf, but I was just saying.
I would greatly appreciate if you could help me with this troublesome Snapchat. Hell, maybe even other apps might start misbehaving.
All the best
Lazariche said:
Hi!
First of all thank you for this awesome effort that you put into this.
I've installed the rom today and it's been working fine so far. Except Snapchat. The app opens fine, but when I try to send a snap, the app crashes. Sometimes I can send one, sometimes not.
Also, after installing the rom I've noticed that the Pixel Launcher and the Samsung browser were missing. That might have been a bug on my behalf, but I was just saying.
I would greatly appreciate if you could help me with this troublesome Snapchat. Hell, maybe even other apps might start misbehaving.
All the best
Click to expand...
Click to collapse
I have installed the rom again, on top of 6.0, Both PIxel launcher AND Samsung internet are available, regarding snapchat i cannot test that, i am not able to login.
i would advice to uninstall n reinstall the app to check if that works.
mido1122 said:
Can it be flashed on already nougat version s218 ?
Click to expand...
Click to collapse
Yes can be flashed on top
mido1122 said:
I installed it but
Thwre is no root
Click to expand...
Click to collapse
root working here.
adilrenzu said:
I have installed the rom again, on top of 6.0, Both PIxel launcher AND Samsung internet are available, regarding snapchat i cannot test that, i am not able to login.
i would advice to uninstall n reinstall the app to check if that works.
Click to expand...
Click to collapse
After rooting I couldn't log in either. I used the full unroot option from within the SuperSU app, reinstalled Snapchat, logged in successfully, and I flashed again the SuperSU v2.82 zip with TWRP. Then I noticed that Snap isn't working.
If I were to flash your Android 7.0 installer zip with TWRP again now, would it brick or something? Maybe that'll work.
mido1122 said:
Can it be flashed on already nougat version s218 ?
Click to expand...
Click to collapse
mido1122 said:
I installed it but
Thwre is no root
Click to expand...
Click to collapse
Lazariche said:
After rooting I couldn't log in either. I used the full unroot option from within the SuperSU app, reinstalled Snapchat, logged in successfully, and I flashed again the SuperSU v2.82 zip with TWRP. Then I noticed that Snap isn't working.
If I were to flash your Android 7.0 installer zip with TWRP again now, would it brick or something? Maybe that'll work.
Click to expand...
Click to collapse
flashing again the zip would not brick the phone.
regarding snapchat, the issue seems to be root, if snapchat detects root, it does not work.
Probable solution is here
https://forum.xda-developers.com/general/general/snapchat-rooted-devices-xposed-nougat-t3483001
Or install Magisk, i have tried and tested it.
adilrenzu said:
flashing again the zip would not brick the phone.
regarding snapchat, the issue seems to be root, if snapchat detects root, it does not work.
Probable solution is here
https://forum.xda-developers.com/general/general/snapchat-rooted-devices-xposed-nougat-t3483001
Or install Magisk, i have tried and tested it.
Click to expand...
Click to collapse
Well, I unrooted and Snapchat KEEPS CRASHING. It's so annoying. I'm going to perform a factory reset and then reflash the zip. If that doesn't work, I am going to revert to Marshmallow, but I don't know how to do it. In case I will need to revert, I'd appreciate it if you told me how to revert.
Magisk doesn't install. It asks for a stock boot image.
Lazariche said:
Well, I unrooted and Snapchat KEEPS CRASHING. It's so annoying. I'm going to perform a factory reset and then reflash the zip. If that doesn't work, I am going to revert to Marshmallow, but I don't know how to do it. In case I will need to revert, I'd appreciate it if you told me how to revert.
Magisk doesn't install. It asks for a stock boot image.
Click to expand...
Click to collapse
i Dont know what you are doing wrong. Do the following
1. Install the zip again
2. then follow the youtube tutorial.
https://www.youtube.com/watch?v=zKqOzFSASQU
adilrenzu said:
i Dont know what you are doing wrong. Do the following
1. Install the zip again
2. then follow the youtube tutorial.
https://www.youtube.com/watch?v=zKqOzFSASQU
Click to expand...
Click to collapse
Installed the zip again, and successfully installed Magisk. I was able to login, but it still crashed a few seconds later.
By the way, when flashing the zip I got this:
After it said "Formatting system" : "mount: failed to mount /dev/block/platform/soc/7824900.sdhci/by-name/userdata at /data: Device or resource busy"
And at the end, after "Done!" : "unmount of /data failed (-1): Device or resource busy".
What might that be?
Also, Pixel launcher and Samsung internet aren't here.
I'd rather revert now )
Lazariche said:
Well, I unrooted and Snapchat KEEPS CRASHING. It's so annoying. I'm going to perform a factory reset and then reflash the zip. If that doesn't work, I am going to revert to Marshmallow, but I don't know how to do it. In case I will need to revert, I'd appreciate it if you told me how to revert.
Magisk doesn't install. It asks for a stock boot image.
Click to expand...
Click to collapse
The error has nothing to do with it.
Anyways here is the guide by @mehmet6ok to revert back to 6.0
https://forum.xda-developers.com/ge...ide-restore-stock-recovery-rom-6-0-1-t3599360
adilrenzu said:
The error has nothing to do with it.
Anyways here is the guide by @firemax13 to revert back to 6.0
https://forum.xda-developers.com/ge...ide-restore-stock-recovery-rom-6-0-1-t3599360
Click to expand...
Click to collapse
Not my work @adilrenzu its @mehmet6ok work
i installed it many time but there is no root
i flashed the boot.img again super su again there is no root
please tell me what to do
adilrenzu said:
Official Nougat (7.0) for lenovo K6 Note TWRP Flashable.
#Disclaimer!
I am not responsible for bricked devices!!!​Features.
* Based on official Nougat S218 Release
* Pre Rooted-Root installed during flashing( no need to root after modifying boot.img)
* Modified boot.img
* Busybox Installed
* Removed Lenovo bloat (lenovo companion,Lenovo Logger Etc)
* Removed google Bloat (Chrome, Hangout,Drive etc.)
* Samsung Internet Browser
* Replaced Google Music with MIUI Music
* Google Pixel Launcher as well as Lenovo Launcher
* Should Works both for (K6 Note) ( K53a48) and K6 Plus K53b36 (K6 Plus not tested)
* Replaced default wallpaper and lockscreen wallpaper
* Replaced Bootanimation.
* Build Prop Tweaks
* Can be flashed on top on 6.0 and also if want to install as fresh ROM after factory reset.
Requirements:
* Lenovo K6 Note (K53a48)
* Installed Custom Recovery TWRP.
* Time and patience
Instructions
* Download the zip and put it on internal or external sd card( if you have one)
* Boot into TWRP Recovery
* Create Backup of your ROM.
* Select Install zip.
* Choose the zip you downloaded, and wait till the flashing finishes.
* After installtion the device will boot and reboot, this is normal.
* Finish the setup and enjoy the phone.
Bugs:
Change Region not working if flashed after factory reset.( will be fixed soon)
Dont Forget to say thanks
LINK: https://mega.nz/#!qBcj2BTD!3JD0f1hoslRuN0uGzQAnirsrY5zxTFrE4dyDWL9P7WM
Screenshots
Click to expand...
Click to collapse
Thanks for it ,
But if I FLASH ON MY S116 ,will it work?????
sagar4sforce said:
Thanks for it ,
But if I FLASH ON MY S116 ,will it work?????
Click to expand...
Click to collapse
Yes it should work.
adilrenzu said:
Yes it should work.
Click to expand...
Click to collapse
Ty, it worked
---------- Post added at 03:44 AM ---------- Previous post was at 03:42 AM ----------
adilrenzu said:
Official Nougat (7.0) for lenovo K6 Note TWRP Flashable.
#Disclaimer!
I am not responsible for bricked devices!!!​Features.
* Based on official Nougat S218 Release
* Pre Rooted-Root installed during flashing( no need to root after modifying boot.img)
* Modified boot.img
* Busybox Installed
* Removed Lenovo bloat (lenovo companion,Lenovo Logger Etc)
* Removed google Bloat (Chrome, Hangout,Drive etc.)
* Samsung Internet Browser
* Replaced Google Music with MIUI Music
* Google Pixel Launcher as well as Lenovo Launcher
* Should Works both for (K6 Note) ( K53a48) and K6 Plus K53b36 (K6 Plus not tested)
* Replaced default wallpaper and lockscreen wallpaper
* Replaced Bootanimation.
* Build Prop Tweaks
* Can be flashed on top on 6.0 and also if want to install as fresh ROM after factory reset.
Requirements:
* Lenovo K6 Note (K53a48)
* Installed Custom Recovery TWRP.
* Time and patience
Instructions
* Download the zip and put it on internal or external sd card( if you have one)
* Boot into TWRP Recovery
* Create Backup of your ROM.
* Select Install zip.
* Choose the zip you downloaded, and wait till the flashing finishes.
* After installtion the device will boot and reboot, this is normal.
* Finish the setup and enjoy the phone.
Bugs:
Change Region not working if flashed after factory reset.( will be fixed soon)
Dont Forget to say thanks
LINK: https://mega.nz/#!qBcj2BTD!3JD0f1hoslRuN0uGzQAnirsrY5zxTFrE4dyDWL9P7WM
Screenshots
Click to expand...
Click to collapse
Ty it worked ,
But for now xposed gone
Can i flash uninstall supersu zip to unroot and get back warranty
can i flash it on Lenovo k6 power will it work?
sagar4sforce said:
Ty, it worked
---------- Post added at 03:44 AM ---------- Previous post was at 03:42 AM ----------
Ty it worked ,
But for now xposed gone
Can i flash uninstall supersu zip to unroot and get back warranty
Click to expand...
Click to collapse
You need to flash xposed again, for warranty you need to look the bootloader again. Search google how to do that.
sudhadown said:
can i flash it on Lenovo k6 power will it work?
Click to expand...
Click to collapse
No this is only for k6 note/plus not for k6 power

Xposed

Just for sharing, i install xposed on mokee rom following this guide https://magiskroot.net/download-xposed-for-android-pie/
Gravitybox and screenoffanimation v1. 10 work great, first time after xposed install system ui doesn't work, just have to reboot 1 or 2 time and screen off have to reboot phone every time open the app.
Screenoffanimation thread https://forum.xda-developers.com/xposed/modules/mod-screenoffanimation-crt-animation-t3648874
If someone have great module just share

Categories

Resources