[GUIDE] Any Custom Modified Kernel Flashing Guide For Smoother And Better Performance - Galaxy Note5 General

●BRIEF INTRODUCTION :-
•Many Users Prefer To Use Custom Kernels For Advanced Functionality Like Better DeepSleep/Permissive SE Linux For Audio Mods/Battery Life Improvements/Wakelocks And Hotplugs Etc.
•Dirty Flashing Of Custom Kernel Without Wipe/Over Flashing Of Same Roots/Flashing Root On One Another Without Removing Previous Root's Residuals Remained In Root Directories Can Probably Cause Various Issues
•By Following This Simplified And Detailed Guide Users Can Avoid Such Possible Further Flashing Issues
●GUIDE IS USEFUL FOR :-
•Users Facing Issues Like Device Hanging/Random Reboots/Software Glitches Etc.
•Users Facing Issues Like Unexpected Battery Drain/SOD/DeepSleep Broken Etc.
•Users Facing Issues Like Root Not Detected/Root Functionality Issues Due To Over Flashing Of Same Roots/Different Root Flashing On One Another Without Removing Previous Root's Residuals Remained In Root Directories Etc.
●PRE-REQUISITES :-
•Before Installing Any Custom Kernels To Avoid Further Flashing Root Messup/Root Misbehavior Kindly Follow The Below Steps To Make Your Device Clean By Removing Remained Residuals Of Previous Root For Only One Of Preferred Root Choices At A Time Either Magisk Root OR SuperSU Root
•Removal Of Previous Root's Residuals Remained In Root Directories For Root Switching Purposes
Like For Eg. Switching From SuperSu To Magisk OR Switching From Magisk To SuperSU Etc.
Note :-
+Switching From Magisk Root To SuperSU Root :-
*If You Were Previously On Magisk Root, Then Flash Latest Available Magisk Uninstaller First
*It Will Remove All Previously Flashed Magisk Root's Residuals Remained In Root Directories
*Now You Are All Ready To Flash SuperSU Root Along With Custom Kernel Without Any Possible Flashing Errors
+Switching From SuperSU To Magisk Root :-
*If You Were Previously SuperSU Root Then You Have To Unroot/Remove SuperSU Root First To Use Magisk Root Without Any Issues
*Before Booting Your Device Into TWRP-Custom-Recovery/Flashing Custom Kernel Kindly Follow Below Steps
*Open SuperSU App> Go To Settings> Select Full Unroot> Select 'Continue'> Select 'No' When Asked For 'Attempt To Restore Stock Boot Image'> SuperSU Will Unroot Your Device Automatically> Your Device Will Reboot Afterwards> You Can See SueprSU App Is Disappeared From AppDrawer
*But Still There Are Some SuperSU Root's Residuals Remained In Device System Root Directories
*Kindly Flash UPDATE-unSU-Signed Zip By @osm0sis You Can Find Below Through TWRP Before Flashing Custom Kernel To Remove All Remained Residuals Of SuperSU Root In Device's Root Directories
*Direct Link To Thread And Download For UPDATE-unSU-Signed Zip :-
https://forum.xda-developers.com/showpost.php?p=63615067
*Now You Are All Ready To Flash Magisk Root Along With Custom Kernel Without Any Possible Flashing Errors
●INSTALLATION INSTRUCTIONS :-
•Boot Your Device Into TWRP-Custom-Recovery
•Wipe Dalvik/Art And Cache
Note :-
*This Step Is Always Recommended Before Flashing Custom Kernels Over Stock/Any Other Custom Kernels
*This Step Is Not Always Recommended Before Flashing Stock Kernels Over Stock/Any Other Custom Kernels
•Flash Custom Kernel With Your Preferred Root Choices Either Magisk Root OR SuperSU Root
•Flash BusyBox Version Of Your Preferred Choice
Note :-
*Flashing BusyBox Is Totally Your Choice As Some Users Find It Useful While Some Not
*Also BusyBox Availability/Functionality Varies With Different Developers OfCourse
*Various Mods/Fixes Sometimes Needs BusyBox Installed/Enabled For Actual Working
*So You Can Flash Any Preferred BusyBox Version Of Your Own Choice According To Requirements
•Reboot Device From TWRP-Custom-Recovery
•Don't Touch Device For Atleast 5 Minutes To Make Custom Kernel Integrate With Both Hardware And Software For Performance Stability
•Reboot Device Again After 5 Minutes When Custom Kernel Gets Properly Integrated With Both Software And Hardware
Note :-
*Second Reboot Is Not Compulsory But Always Recommended For Smoother Experience
●Sticky Note :-
*I Am Aware Of Simultaneous Working Status Of Magisk Root With SuperSU Root And Vice Versa
*But I Always Prefer Clean Install Of Only One Preferred Root Choice After Removing Previous Root's Residuals Remained In Root Directories To Avoid Any Further Flashing Root Related Issues Already Mentioned
*Choice Is Yours Either To Use Both Roots Choices Simultaneously OR To Use Single Preferred One At A Time
* @The Joker And @haifish9999 Thanks Mates Because Of Your Discussion And Custom Kernel Threads I Was Encouraged To Make This Guide Publicly For Benefits Of Every Single User Here On Xda

What about flashing modules with kernel ?
Do you need to flash Kernel modules with your built kernel as well or it(your built kernel) would boot with stock kernel modules too ?
What about wiping "/data/" partition? is it necessary?

Related

Magisk (The Universal Systemless Interface)WORKING FINE IN MM BUILDS(OXYGEN AND H20S)

The Magisk Universal Systemless Interface by XDA Recognized Developer @topjohnwu has received an update that bumps it up to version 7. There are a bunch of notable changes that follow in the changelog:
Fully open source
Remove supolicy dependency, use my own sepolicy-injection
Run everything in its own selinux domain, should fix all selinux issues
Add Note 7 stock kernel hex patches
Add support to install Magisk in Manager
Add support for image merging for module flashing in Manager
Add root helpers for SuperSU auto module-ize and auto upgrading legacy phh superuser
New paths to toggle busybox, and support all root solutions
Remove root management API; both SuperSU and phh has their own superior solutions
Downloads:
1)Official MM OOS STOCK 3.1.3 - https://s3.amazonaws.com/oxygenos.o...OTA_018_all_201609291837_741146bcf28e4587.zip
2)Official MM H2OS Stock 2.0 - http://download.h2os.com/oneplus_x/mp/OnePlusH2OS_14_OTA_001_all_201609270726_5aa42273def7431b.zip
3) Use this recovery to Flash Magisk (TWRP by Bluespark) - http://forum.xda-developers.com/devdb/project/dl/?id=20236
4)Magisk Manager.apk - http://forum.xda-developers.com/attachment.php?attachmentid=3893660&d=1475527472
5)Latest Magisk Zip File - http://forum.xda-developers.com/attachment.php?attachmentid=3893659&d=1475527472
6)Systemless Superuser (use this Systemless superuser) - http://forum.xda-developers.com/apps/magisk/magisk-phh-s-superuser-android-pay-t3435921
7)Magisk Uninstaller (if anything goes wrong) - http://forum.xda-developers.com/attachment.php?attachmentid=3893658&d=1475527472
Before Flashing:
1) If you are already on MM with stock recovery and no root,then wipe your data and cache,flash full MM rom pack, flash provided TWRP and follow the instruction below
2)If you are in MM with rooted system,do wipe data and cache,flash full rom pack, flash twrp and follow the instruction
MOST IMPORTANT:
BEFORE FLASHING MAGISK,YOU NEED TO HAVE UNMODIFIED SYSTEM
USE TWRP TO FLASH MAGISK
FLASHING INSTRUCTION:
1)Flash your rom pack
2)Flash magisk zip file
3)Flash systemless root
4)Flash systemless xposed
Ooh laa... Got unmodified system with root access
what is this used for?
meraj99 said:
what is this used for?
Click to expand...
Click to collapse
Systemless Benefits
OTA:
The system partition will not be modified or mount r/w, thus your Android devices are capable of applying OTA updates even if ur mobile s rooted
Safety Net:
Android Pay is confirmed working!

Flashed pure nexus but Root missing

I flashed purenexus rom .previously I was using truepure rom. I did clean install twice . wiped everything except internal storage and then installed purenexus rom and dynamic gapps then wiped cache and dalvik . everything went smooth but now device isn't rooted any more . I installed super su and it said root not detected
Can you please guide me how to root again . which root method is best ? And how to do it ?
Any help would be appreciated.
Thanks
https://forum.xda-developers.com/moto-x-style/general/guides-how-to-guides-beginners-t3200808
You'd be good to go with Magisk (get the v12 and flash the zip in TWRP)
Now days ROMs don't come pre-rooted as often as concern for system modification and apps that block use on rooted phones.
Magisk has the ability to do root without modifying the system partition (so called systemless root) also has option to quickly hide root
If you don't care about that you can follow the guidelines suggested above by the other answer and you'll find SuperSU systemless root, and you're good to go.
Quick note, if superSU fails (bootloops) read the TWRP log while you installed SuperSU and try to find in which mode did it got installed. This is because older versions of SuperSU failed to detect Moto Clark as systemless and went for system root , which caused bootloop. There are instructions on SuperSU thread on how to force systemless root method

SM-G5520 Nougat Not Flashing GApps with Flashfire after rooting with magisk, Help me

I Have SM-G5520 Nougat, I rooted it successfully here
Link: https://forum.xda-developers.com/sa...g5520-g5520zcu1brb1-nougat-root-twrp-t3772104
But, as mentioned there, I run Flashfire, Grant root access, Browse for GApps.zip and flash it, but after click on flash screen goes black and didn't show any proccess of flashing GApps.
After waiting 2 - 4 Hours, There was still a black screen like my phone is off and I restart my phone. Now there is not a single GApp installed there. Please help me to flash GApps.
I continue my research on rooting and flashing and i got some points that are below,
1. Magisk is system-less root that's why when ever i tried any app to modify system folder or root directory my phone got restart.
2. I tried SuperSU system-less but the device isn't going to root.
3. I tried King Root, Kingoapp, OneClickRoot, Dr. Phone root, iRoot and much more with and without PC but my device was not going to root but only Magisk root my device.
4. I tried CFAuto Root with all modifications but due to my phone didn't have "OEM Unlock" option, flashing CF Root cause failure.
5. I tried to push GApps into Original Firmware, but that way takes a lot time and i failed there because of security reasons (And that was my first attempt to modify "Firmware" I must failed ).
All the conclusion of my work let me know that i have to root my SM-G5520 Nougat as system root that will going to work 100% to flash GApps.
Now Please help me to root system wise and flashing GApps.
Thanks Advance
plz contact Gsm helper team

HT10 Stock ROM with Majisk, Xposed, and Busybox for root/ root hide

HT10 Stock ROM with Majisk, Xposed, and Busybox
ROM Version: HT10 6.0-V01-20170622
The System, Boot, Recovery, and assorted app files for the working setup are zipped as a Titanium backup and needs to be installed from recovery within the Titanium app; available as freeware on the Play Store. The file is packaged as a zip for upload, but will need to be unzipped and placed in the root of your Internal SD directory so that Tianium Backup can recognise it and restore to your device. I have included the individual files that were involved, in case anyone feels like starting from scratch. They include the Homtom HT10 ROM, The MediaTek SP_Flash_Tool_v5.1552_Win (whith which to flash your ROM, TitaniumBackup.zip (which you will simply flash to a non-rooted Stock HT10 ROM from the app on the running device), the Systemless Magisk v. 19.0, Magisk Manager v7.1.1 and the Xposed_Framework_(SDK_23)-89.3_(Systemless) by topjohnwu and his intrepid team of devs, and the TWRP 3.0.3 recovery by Mebhius which has proved so very useful.
Stock ROM installed with Majisk. The ROM is rooted, the root is systemless (Thanks to Majisk),additional modules within Majisk include a systemless Xposed Module. Gravitybox added within Xposed. Busybox added as an additional Majisck module. I have included screenshots of the Majisk status screen, Pokemon Go working on an unsigned and otherwise rooted ROM, and of course, the settings About Phone page. My contribution is by no means revolutionary in anyway, but the results are tested and working. Hopefully, until more work can be done in Lineage, this ROM will allow you to have more freedom and flexibility with the stock ROM.
Long and sort of it: I flashed a clean ROM (making sure to flash the TWRP recovery instead of stock, reboot to System, reboot, then, to recovery. Flash Majisk 9.0, Reboot back into recovery flash the systemless Xposed framework, reboot to system, verify install, flash selected downloads, Install the Xposed Installer apk and the Magisk Manager.apk, reboot. Once root is established, it is verified to be systemless, a root exploerer needs to be installed so you can locate the installed bits of TWRP, Mgisk, and Xposed in System/Bin and Xbin, (if they were installed previously or incorrectly) as well as the Internal SD and either rename or move them discretely away from the prying eyes of apps that will try to verify your root and block you. Then test, test, test, and test some more.
I have found that once verything is installed, verified, and cleaned, you can simply Magisk Hide Magisk for Play Services, Play Store, Google Services Framework, and the desired (Play Store app) like PokemonGo. Then, set Magisk to Core Only Mode in settings, Make sure that Magisk hide is selected, Systemless Hosts are selected, Clear the repo cache, clear data for the deired app, in this case PokemonGo, reboot and have at it. Expect some hung boots in the process. Pull the battery and keep at it. Dont be afraid to master reset or reflash and start from scratch. And dear Lord, dont start importing personal data in bulk until you feel youve reached a stable system build and made the appropriate backups.
Or you can simply restore the files I've provided, reboot, and start your testing there. The choice is yours.
I have made similar inroads with the Lineage 13 ROM for HT10, ported by Nukeer9578 with limited success. There is still much work to be done. I would say, however, that Nukeer9578 got me started with working on the HT10 and I'm grateful for the challenge.
If you are new to this sort of thing, I would advise consulting XDA developers, Google web, and Youtube for further instructions; it is all spelled out if you have the time and patience.
For more info:
MOD Edit Links Removed
※Please make a backup of your device before installing or updating ROM
XDA:DevDB Information
HT10 Stock ROM with Majisk, Xposed, and Busybox, Tool/Utility for all devices (see above for details)
Contributors
mven45
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2019-03-30
Created 2019-04-02
Last Updated 2019-04-19
Reserved

Homtom HT10 stock ROM Mod for root/ root hide

HT10 Stock ROM with Majisk, Xposed, and Busybox
ROM Version: HT10 6.0-V01-20170622
The System, Boot, Recovery, and assorted app files for the working setup are zipped as a Titanium backup and needs to be installed from recovery within the Titanium app; available as freeware on the Play Store. The file is packaged as a zip for upload, but will need to be unzipped and placed in the root of your Internal SD directory so that Tianium Backup can recognise it and restore to your device. I have included the individual files that were involved, in case anyone feels like starting from scratch. They include the Homtom HT10 ROM, The MediaTek SP_Flash_Tool_v5.1552_Win (whith which to flash your ROM, TitaniumBackup.zip (which you will simply flash to a non-rooted Stock HT10 ROM from the app on the running device), the Systemless Magisk v. 19.0, Magisk Manager v7.1.1 and the Xposed_Framework_(SDK_23)-89.3_(Systemless) by topjohnwu and his intrepid team of devs, and the TWRP 3.0.3 recovery by Mebhius which has proved so very useful.
Stock ROM installed with Majisk. The ROM is rooted, the root is systemless (Thanks to Majisk),additional modules within Majisk include a systemless Xposed Module. Gravitybox added within Xposed. Busybox added as an additional Majisck module. I have included screenshots of the Majisk status screen, Pokemon Go working on an unsigned and otherwise rooted ROM, and of course, the settings About Phone page. My contribution is by no means revolutionary in anyway, but the results are tested and working. Hopefully, until more work can be done in Lineage, this ROM will allow you to have more freedom and flexibility with the stock ROM.
Long and sort of it: I flashed a clean ROM (making sure to flash the TWRP recovery instead of stock, reboot to System, reboot, then, to recovery. Flash Majisk 9.0, Reboot back into recovery flash the systemless Xposed framework, reboot to system, verify install, flash selected downloads, Install the Xposed Installer apk and the Magisk Manager.apk, reboot. Once root is established, it is verified to be systemless, a root exploerer needs to be installed so you can locate the installed bits of TWRP, Mgisk, and Xposed in System/Bin and Xbin, as well as the Internal SD and either rename or move them discretely away from the prying eyes of apps that will try to verify your root and block you. Then test, test, test, and test some more.
I have found that once verything is installed, verified, and cleaned, you can simply Magisk Hide Magisk for Play Services, Play Store, Google Services Framework, and the desired (Play Store app) like PokemonGo. Then, set Magisk to Core Only Mode in settings, Make sure that Magisk hide is selected, Systemless Hosts are selected, Clear the repo cache, clear data for the deired app, in this case PokemonGo, reboot and have at it. Expect some hung boots in the process. Pull the battery and keep at it. Dont be afraid to master reset or reflash and start from scratch. And dear Lord, dont start importing personal data in bulk until you feel youve reached a stable system build and made the appropriate backups.
Or you can simply restore the files I've provided, reboot, and start your testing there. The choice is yours.
I have made similar inroads with the Lineage 13 ROM for HT10, ported by Nukeer9578 with limited success. There is still much work to be done. I would say, however, that Nukeer9578 got me started with working on the HT10 and I'm grateful for the challenge.
If you are new to this sort of thing, I would advise consulting XDA developers, Google web, and Youtube for further instructions; it is all spelled out if you have the time and patience.
※Please make a backup of your device before installing or updating ROM
XDA:DevDB Information
HT10 Stock ROM with Majisk, Xposed, and Busybox, Tool/Utility for all devices (see above for details)
Contributors
mven45
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2019-03-30
Created 2019-04-02
Last Updated 2019-04-19
Thread closed https://forum.xda-developers.com/android/software/homtom-ht10-stock-rom-mod-root-root-hide-t3917395

Categories

Resources