[KERNEL][SOLUTION] Magisk 17 and higher for Stock ROMs - ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve

This kernel fixes continuesly reboots when you install magisk v17 or higher on lastest oreo stock rom.
Requirements
A2017U_V2.1.0B20 Firmware
TWRP
Instructions
Install a fresh Stock ROM.
Boot it once.
Install TWRP.
Install the boot image over TWRP by choosing install image option.
Flash Magisk v17 or higher.
Flash custom signed kernel modules magisk module over TWRP.
Reboot phone.
Download
BOOT_A2017U_V2.1.0B20_for_magisk_signed.img
Custom_Signed_Modules_A2017U_V2.1.0B20.zip
XDA:DevDB Information
[KERNEL][SOLUTION] Magisk 17 and higher for Stock ROMs, Kernel for the ZTE Axon 7
Contributors
asderdd
Source Code: https://github.com/Asderdd/android_kernel_zte_axon7/tree/zte-8.0.0
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: A2017U_V2.1.0B20
Created 2018-10-21
Last Updated 2018-10-21

Thanks ihsan awesoma work :good: :highfive:

Any idea if this can also be used on nougat roms? Or perhaps the same modification used to boot those with Magisk?

Dodgexander said:
Any idea if this can also be used on nougat roms? Or perhaps the same modification used to boot those with Magisk?
Click to expand...
Click to collapse
I can do it again for nougat but I recommend you to use oreo b20. It's better than all others about sound quality, camera and more stuff.

asderdd said:
I can do it again for nougat but I recommend you to use oreo b20. It's better than all others about sound quality, camera and more stuff.
Click to expand...
Click to collapse
It is possible doing this for the A2017V3.0.0B17 ?

for all axon 7 phones running oreo b20 stock?

Thanks for your job, I've seen your source under github, can you confirm that to avoid bootloops on Magkisk > 17 is enough to set to "n" the SeLinux policy?
Teşekkürler.

foggydew88 said:
Thanks for your job, I've seen your source under github, can you confirm that to avoid bootloops on Magkisk > 17 is enough to set to "n" the SeLinux policy?
Teşekkürler.
Click to expand...
Click to collapse
Yes, if you want use a custom init binary you need to disable zte's policyproc.
Aviver said:
It is possible doing this for the A2017V3.0.0B17 ?
Click to expand...
Click to collapse
If you send me pm that includes the stock boot.img and /system/lib/modules /system/vendor/lib modules folders it's possible.
Predatorhaze said:
for all axon 7 phones running oreo b20 stock?
Click to expand...
Click to collapse
Absolutely.

great work!

Hi, thanks for your work but after this i have no wifi on G model.

ppllpp said:
Hi, thanks for your work but after this i have no wifi on G model.
Click to expand...
Click to collapse
Don't forget to install Magisk module that I gave.

asderdd said:
Don't forget to install Magisk module that I gave.
Click to expand...
Click to collapse
Ok, solved using directly Magisk to flash custom module. Thanks.

Thanks for this @asderdd works well. Do you know if it will still work with v17.2 or v17.3? I tried but it doesn't seem too although I know they are beta and dev versions.
ppllpp said:
Hi, thanks for your work but after this i have no wifi on G model.
Click to expand...
Click to collapse
This is probably because you didn't boot first. I had this too. Make sure you install stock rom first, install recovery and then after the first boot make sure to restart, go to recovery and then flash it according to the steps.

Dodgexander said:
Thanks for this @asderdd works well. Do you know if it will still work with v17.2 or v17.3? I tried but it doesn't seem too although I know they are beta and dev versions.
Click to expand...
Click to collapse
Sure, it works with all sub versions of magisk 17. I'm using magisk 17.4 canary build at this moment.

Dodgexander said:
Thanks for this @asderdd works well. Do you know if it will still work with v17.2 or v17.3? I tried but it doesn't seem too although I know they are beta and dev versions.
This is probably because you didn't boot first. I had this too. Make sure you install stock rom first, install recovery and then after the first boot make sure to restart, go to recovery and then flash it according to the steps.
Click to expand...
Click to collapse
Yes i know i should have followed exactly the instruction but i flashed recovery and modem with miflash all at once then twrp and encryption is not the best...anyway problem solved. Even if custom module in twrp give me error and i don t know why, maybe encryption.

I have tried Oreo yet, but I'm very eager to do so. I've seen some comments that system is now only ro, does this fix this? And can i assume safetynet passes on this? Thank you!
Sent from my ZTE A2017U using Tapatalk

@asderdd On stock latest nougat A2017U Magisk 17.x also bootloops to recovery, is this a separate problem? I'm interested in reporting whatever you had to do to topjohnwu so he can make a fix in Magisk if possible. Or better yet if you're not to busy maybe you can advise him?
thanks

bluenote73 said:
I have tried Oreo yet, but I'm very eager to do so. I've seen some comments that system is now only ro, does this fix this? And can i assume safetynet passes on this? Thank you!
Sent from my ZTE A2017U using Tapatalk
Click to expand...
Click to collapse
Nope it doesn't effect mount status of system. I recommend you to make a magisk module that can adds, modifies or removes files systemlessly. Unfortunately b20 rom can't pass safetynet.
bluenote73 said:
@asderdd On stock latest nougat A2017U Magisk 17.x also bootloops to recovery, is this a separate problem? I'm interested in reporting whatever you had to do to topjohnwu so he can make a fix in Magisk if possible. Or better yet if you're not to busy maybe you can advise him?
thanks
Click to expand...
Click to collapse
The solution is disabling zte's selinux policyproc feature. Lookup the commits at github for details. I don't know what had changed on magisk v17 to cause conflict with our policyproc.

asderdd said:
Unfortunately b20 rom can't pass safetynet
Click to expand...
Click to collapse
I am pretty sure I had safetynet passing fine with your solution before + MagiskHide props config module but I kept losing it after some time. I thought it was something I did wrong but today after a fresh reinstall I still can't pass safetynet with the MagiskHide props config module spoofing the Nougat ZTE Axon fingerprint.
Have google done something which means we can't pass safetynet on b20?

only twrp from nfound works on this rom?
---------- Post added at 12:24 PM ---------- Previous post was at 12:00 PM ----------
doesnt work for me,G version.Magisk is shown in app list,but not in drawer and no root is detected
---------- Post added at 12:29 PM ---------- Previous post was at 12:24 PM ----------
i rebooted again,works now.Magisk 17.3

Related

[ROM][STOCK][7.0][TWRP] Stock A510F Nougat TWRP Flashable by Micu David

Hi,
This is the A510F nougat firmware for twrp.
OS is not touched!
Nothing added nothing deleted!
Just made for twrp!
Download link:
https://mega.nz/#!AsoWwYzL!LTRR-79MWDJIu-aGhZuwZ-id04WM3BcKDealIoEVdgg
Twrp:
Use the same verison for MM, it's work without any problem!
Root:
Install magisk from playstore: https://play.google.com/store/apps/details?id=com.topjohnwu.magisk
Open magisk, slide from left, go to download, and download Magisk v12.0
Reboot into recovery
Install -> sdcard -> MagiskManger -> magisk v12.0
Reboot system.
Now you are rooted
Custom ROM based on nougat coming soon!
Don't forget the Thanks button!
Thanks:
@DasNuddel
@lucyr03
micudavid said:
Hi,
This is the A510F nougat firmware for twrp.
This is not touch!
Nothing added nothing deleted!
Just made for twrp!
Download link:
(uploading)
Twrp:
Use the same verison for MM, it's work without any problem!
Root:
Install magisk from playstore: https://play.google.com/store/apps/details?id=com.topjohnwu.magisk
Open magisk, slide from left, go to download, and download Magisk v12.0
Reboot into recovery
Install -> sdcard -> MagiskManger -> magisk v12.0
Reboot system.
Now you are rooted
Custom ROM based on nougat coming soon!
Thanks:
@dasnudde
@lucyr03
Click to expand...
Click to collapse
you must write @DasNuddel xD
Kind regards.
DasNuddel said:
you must write @DasNuddel xD
Kind regards.
Click to expand...
Click to collapse
Fixed
A510FD
Is A510FD supported at the moment?
granttami said:
Is A510FD supported at the moment?
Click to expand...
Click to collapse
I think it is.
I flashed the backup rom and the king s8 ROMs.
Both worked just fine.
I'm currently on King S8 but I'm going to flash this Stock and mod it with Rijuzz pack from the apps and themes section.
Is it odexed or deodexed? Also, do we need to flash modem beforehand if we are coming from MM?
Thanks.
alesu69 said:
Is it odexed or deodexed? Also, do we need to flash modem beforehand if we are coming from MM?
Thanks.
Click to expand...
Click to collapse
Don't need to flash anything else, it's exactly like you would flash it with odin
granttami said:
Is A510FD supported at the moment?
Click to expand...
Click to collapse
I don't know, if you try and work, please tell me to update the thread
micudavid said:
Don't need to flash anything else, it's exactly like you would flash it with odin
Click to expand...
Click to collapse
Yeah, I've flashed it, works like a charm, it's odexed, but there are some bugs in the settings, not sure if the odin versions has it as well. Here is a screenshot (device maintanance, battery and apps are twice).
Works for me on SM-A510F. But no working root with Magisk.
Magisk says rooted. But all su request fail.
alesu69 said:
Yeah, I've flashed it, works like a charm, it's odexed, but there are some bugs in the settings, not sure if the odin versions has it as well. Here is a screenshot (device maintanance, battery and apps are twice).
Click to expand...
Click to collapse
When i install the ota over SER, it's not like this, but when i flash the Nougat with odin, it's same like yours...
I don't know what's the problem, but if i will find any solutions, i will repack the rom or make a patch for it
bb2 said:
Works for me on SM-A510F. But no working root with Magisk.
Magisk says rooted. But all su request fail.
Click to expand...
Click to collapse
Try to reflash Magisk via TWRP... if it's not working, then go in Magisk app setings, and set default perimsion to Grant instead Prompt
Does Xposed work with nougat on a510f?
raynn2k said:
Does Xposed work with nougat on a510f?
Click to expand...
Click to collapse
No
raynn2k said:
Does Xposed work with nougat on a510f?
Click to expand...
Click to collapse
at this moment there is no xposed for android 7.0 + for any device in this world
micudavid said:
Hi,
This is the A510F nougat firmware for twrp.
OS is not touched!
Nothing added nothing deleted!
Just made for twrp!
Download link:
https://mega.nz/#!AsoWwYzL!LTRR-79MWDJIu-aGhZuwZ-id04WM3BcKDealIoEVdgg
Twrp:
Use the same verison for MM, it's work without any problem!
Root:
Install magisk from playstore: https://play.google.com/store/apps/details?id=com.topjohnwu.magisk
Open magisk, slide from left, go to download, and download Magisk v12.0
Reboot into recovery
Install -> sdcard -> MagiskManger -> magisk v12.0
Reboot system.
Now you are rooted
Custom ROM based on nougat coming soon!
Don't forget the Thanks button!
Thanks:
@DasNuddel
@lucyr03
Click to expand...
Click to collapse
You say nothing deleted. How is the nougat bootloader and the rest of the protected partitions being flashed?
ashyx said:
You say nothing deleted. How is the nougat bootloader and the rest of the protected partitions being flashed?
Click to expand...
Click to collapse
i mean, the system is not changed with anything...
alesu69 said:
Yeah, I've flashed it, works like a charm, it's odexed, but there are some bugs in the settings, not sure if the odin versions has it as well. Here is a screenshot (device maintanance, battery and apps are twice).
Click to expand...
Click to collapse
Im having the same issue :/
Also flashing SecSettings again not working
Maybe someone can provide us a secsettings apk from the ota?
alesu69 said:
Maybe someone can provide us a secsettings apk from the ota?
Click to expand...
Click to collapse
I hope so :fingers-crossed:

[KERNEL]Despair Kernel

This is the new refined home for DarkRoom Development. If you submit bug reports without a log, you may be prosecuted...or executed.
Disclaimer:
If your device fails to comply with your standards of what you consider functioning, I am not liable. This is provided free of charge and does not come with a warranty. Although, if you provide a log, I can provide some sort of assurance that I will look into your issue.
Links:
Social:
Twitter - http://twitter.com/mtthwlx
Downloads:
https://drive.google.com/drive/folders/1zwaS15e4zXiSWuEU_ZOjTLBqtdzP86dL?usp=sharing
Source:
Github – https://github.com/DespairFactor/
Credits:
Essential
Google
Star Wars
Finally...
Good to see the development..
Special thanks to the members who donated f&f codes.
And @DespairFactor for quick release..
Hype.
Oof
indian84 said:
Finally...
Good to see the development..
Special thanks to the members who donated f&f codes.
And @DespairFactor for quick release..
Click to expand...
Click to collapse
ghostENVY said:
Hype.
Click to expand...
Click to collapse
LeTurntRice said:
Oof
Click to expand...
Click to collapse
There are no features yet, I am working on EAS tweaks for stock at the moment and will likely also do an HMP kernel
n00b question... What does this kernel have? Also would you be able to dive into the camera apk to help solve compression issue and color saturation since you have the phone now?
xterminater07 said:
n00b question... What does this kernel have? Also would you be able to dive into the camera apk to help solve compression issue and color saturation since you have the phone now?
Click to expand...
Click to collapse
I am about to push my changes to github, I am unaware of what the issue is or if I can help. but I can try when I have free time
Oh nice, we get to be named after Rei? Curious as to whether you intend for this to work on AOSP, LOS or stock ROMs?
ChronoReverse said:
Oh nice, we get to be named after Rei? Curious as to whether you intend for this to work on AOSP, LOS or stock ROMs?
Click to expand...
Click to collapse
Right now this is for stock oreo beta 2, will work on other stuff as I have time, but I am hoping they release stock oreo soon
OH! Does it include patches to pass Safetynet despite the unlocked bootloader as well? Would like to avoid Magisk if possible.
ChronoReverse said:
OH! Does it include patches to pass Safetynet despite the unlocked bootloader as well? Would like to avoid Magisk if possible.
Click to expand...
Click to collapse
I am adding that right now, I am testing some boot issues with one of my commits, R1 will be up for all when it is resolved
Hi,
What is the correct way to flash, boot.img then magisk. I cant remember. Blame the booze.
Thanks
R1 good to go? As its uploaded i see
Edit: Guess so as flash and passed safety net
DaveHTC200 said:
R1 good to go? As its uploaded i see
Edit: Guess so as flash and passed safety net
Click to expand...
Click to collapse
NZnewbie said:
Hi,
What is the correct way to flash, boot.img then magisk. I cant remember. Blame the booze.
Thanks
Click to expand...
Click to collapse
R2 is up now, I am working on getting AnyKernel to work and keep recovery on device if possible when flashing.
We have confirmed that the flashable zip keeps TWRP on your phone and you get to keep the kernel and your system working fine!
To root with this, flash twrp to your boot partition using fastboot, flash the kernel zip and then flash magisk.
EDIT: also confirmed to work on nougat!
Tried Rey2.zip nd booted back to twrp and the touch didnt work. Using the latest twrp as well
DespairFactor said:
We have confirmed that the flashable zip keeps TWRP on your phone and you get to keep the kernel and your system working fine!
To root with this, flash twrp to your boot partition using fastboot, flash the kernel zip and then flash magisk.
EDIT: also confirmed to work on nougat!
Click to expand...
Click to collapse
DespairFactor said:
We have confirmed that the flashable zip keeps TWRP on your phone and you get to keep the kernel and your system working fine!
To root with this, flash twrp to your boot partition using fastboot, flash the kernel zip and then flash magisk.
EDIT: also confirmed to work on nougat!
Click to expand...
Click to collapse
Is Magisk working with this kernel on Oereo B2? Magisk 14.3 caused lots of reboots, 14.6 just doesn't work (no magisk after boot).
NZnewbie said:
Tried Rey2.zip nd booted back to twrp and the touch didnt work. Using the latest twrp as well
Click to expand...
Click to collapse
Looking into it, I think flashing magisk makes touch work, will see if I can fix it within the kernel side.
gk1984 said:
Is Magisk working with this kernel on Oereo B2? Magisk 14.3 caused lots of reboots, 14.6 just doesn't work (no magisk after boot).
Click to expand...
Click to collapse
Yes it is, I have it on my device right now
Ive heard theres a fix coming for that as well(hope so)
gk1984 said:
Is Magisk working with this kernel on Oereo B2? Magisk 14.3 caused lots of reboots, 14.6 just doesn't work (no magisk after boot).
Click to expand...
Click to collapse
DespairFactor said:
I am about to push my changes to github, I am unaware of what the issue is or if I can help. but I can try when I have free time
Click to expand...
Click to collapse
The problem with the stock camera app was that it compresses images too much, they have lower the compression ratio but it is still not good enough. You can try it yourself to see what I mean. In broad day light outdoor, the images appears to be great but if you zoomed in, you will see it it just doesn't look right. The color is washed out as well, and you don't see any details. Looks like everything is smoothed out. File size is about 6 to 7mb or so. The low light shots are worst, it's about 3mb and there's more fuzzy stuff and lack of details/sharpness.
If you can dive deep into the apk to see what they set the compression to, and change that to possibly 0, and see what else needs to be changed. I spoke to Arnova8g2, who helped ported the gcam hdr+ to oneplus3/3t and he helped fixed the compression a bit on the older apk but I can't overwrite it no matter what. Let me know if you need any more info.

Moto Z3 Play Treble GSI ROMS

We know that Moto Z3 Play is compatible with Treble.
I use more than 10 hours, going and coming back, reseting, etc. and could not make it work.
Until now, I'm following the steps bellow and wish to discuss what we can do to get a custom roms.
I've tested HAVOC - ARROW A/B arm64 images from here and follow the general guidance from here.
I'm using XT1929-5 model
Guide
Fastboot
Boot TWRP with mount vendor fix
Format data
Flash GSI image with Gapps
https://sourceforge.net/projects/havoc-os/files/arm64ab/Havoc-OS-v2.0-20181018-GSI-ARM64-AB-Gapps-Official.img.xz/download
OR
Flash GSI image without Gapps
https://forum.xda-developers.com/project-treble/trebleenabled-device-development/rom-havoc-os-8-1-t3819050
Flash openGapps_64_bits_9.0_.zip
https://opengapps.org/
Boot up
Backup BOOT in twrp in case of bootloop
MAGISK DONT´S Booting
PLEASE help us
Screenshots
Igorfmedeiros said:
We know that Moto Z3 Play is compatible with Treble.
I use more than 10 hours, going and coming back, reseting, etc. and could not make it work.
Until now, I'm following the steps bellow and wish to discuss what we can do to get a custom roms.
I've tested HAVOC - ARROW A/B arm64 images from here and follow the general guidance from here.
I'm using XT1929-5 model
Guide
Fastboot
Boot TWRP with mount vendor fix
Format data
Flash GSI image with Gapps
https://sourceforge.net/projects/havoc-os/files/arm64ab/Havoc-OS-v2.0-20181018-GSI-ARM64-AB-Gapps-Official.img.xz/download
OR
Flash GSI image without Gapps
https://forum.xda-developers.com/project-treble/trebleenabled-device-development/rom-havoc-os-8-1-t3819050
Flash openGapps_64_bits_9.0_.zip
https://opengapps.org/
Boot up
Backup BOOT in twrp in case of bootloop
MAGISK DONT´S Booting
PLEASE help us
Click to expand...
Click to collapse
Without Magisk does it still pass SafetyNet?
mattyb132 said:
Without Magisk does it still pass SafetyNet?
Click to expand...
Click to collapse
Yes!!
Then I'll probably flash it tonight
hello I install the latest release of havoc 2.0 2018/10 /27 And it works well with some bugs, I also tried pixel experience treble ROM but the last release does not work gestures or audio via Bluetooth All moto functions stop working including the moto mods
or you can wait for something better
frantisheq said:
or you can wait for something better
Click to expand...
Click to collapse
That's awesome to see!!!!!!
Can this work on a Sprint model
I'm using the Havoc GSI with Gapps (first link) since sunday and it is mostly great. Very fast and battery efficient.
I only have some audio issues, where some apps have it cropped/crackled. And bluetooth audio is not working.
how can i mount twrp with vendor fix ? also im getting error on mount /data and storage, please help i got xt1929-6
---------- Post added at 11:52 PM ---------- Previous post was at 11:47 PM ----------
Igorfmedeiros said:
We know that Moto Z3 Play is compatible with Treble.
I use more than 10 hours, going and coming back, reseting, etc. and could not make it work.
Until now, I'm following the steps bellow and wish to discuss what we can do to get a custom roms.
I've tested HAVOC - ARROW A/B arm64 images from here and follow the general guidance from here.
I'm using XT1929-5 model
Guide
Fastboot
Boot TWRP with mount vendor fix
Format data
Flash GSI image with Gapps
https://sourceforge.net/projects/havoc-os/files/arm64ab/Havoc-OS-v2.0-20181018-GSI-ARM64-AB-Gapps-Official.img.xz/download
OR
Flash GSI image without Gapps
https://forum.xda-developers.com/project-treble/trebleenabled-device-development/rom-havoc-os-8-1-t3819050
Flash openGapps_64_bits_9.0_.zip
https://opengapps.org/
Boot up
Backup BOOT in twrp in case of bootloop
MAGISK DONT´S Booting
PLEASE help us
Click to expand...
Click to collapse
how can i get twrp with vendor fix? im getting also error on /data and storage mounting, please help me.. thanks i got an xt1929-6
pbjr92 said:
I'm using the Havoc GSI with Gapps (first link) since sunday and it is mostly great. Very fast and battery efficient.
I only have some audio issues, where some apps have it cropped/crackled. And bluetooth audio is not working.
Click to expand...
Click to collapse
Man, look to this thread and see if the workarounds for mi max 3 works on mz3p.
https://forum.xda-developers.com/mi-max-3/how-to/treble-experience-t3856333
W3ND31 said:
Man, look to this thread and see if the workarounds for mi max 3 works on mz3p.
https://forum.xda-developers.com/mi-max-3/how-to/treble-experience-t3856333
Click to expand...
Click to collapse
I actually already solved the audio problems. But thanks for the help.
pbjr92 said:
I actually already solved the audio problems. But thanks for the help.
Click to expand...
Click to collapse
How u solved?
W3ND31 said:
How u solved?
Click to expand...
Click to collapse
I had to delete the folder "/vendor/lib/soundfx".
Had to do it via TWRP as I wasn't rooted, but if you are you can do it with any root explorer app.
pbjr92 said:
I had to delete the folder "/vendor/lib/soundfx".
Had to do it via TWRP as I wasn't rooted, but if you are you can do it with any root explorer app.
Click to expand...
Click to collapse
Beside those bugs, everything is running good (stable to daily driver use)?
W3ND31 said:
Beside those bugs, everything is running good (stable to daily driver use)?
Click to expand...
Click to collapse
Yes, it is. The only thing is that Moto Mods are not supported, but that's understandable.
if someone can provide me with the moto mod frameworks and libs i can try to see if i can get it to work in the rom
jeffbob48 said:
if someone can provide me with the moto mod frameworks and libs i can try to see if i can get it to work in the rom
Click to expand...
Click to collapse
i found these. please let me know if they are useful or if you need more specific documents, I might be able to get you exactly what you need. it would be nice if it was like a Magisk module or a persistent mod that you flash before flashing a GSI ROM
https://github.com/MotorolaMobilityLLC/nuttx - this seems to be the main framework, is it?
https://github.com/MotorolaMobilityLLC?utf8=✓&q=moto+mods&type=&language= - their own github open with ALL the libraries free to use
http://motorolamobilityllc.github.io/motomods_sdk/ - the full SDK
https://github.com/MotorolaMobilityLLC/mdkutility - a smaller SDK kit
https://github.com/MotorolaMobilityLLC/mdkbattery
https://github.com/MotorolaMobilityLLC/muc-loader
documentation
https://developer.motorola.com/documentation/mod-audio
https://developer.motorola.com/documentation/mod-management
https://developer.motorola.com/documentation/system-architecture
http://motorolamobilityllc.github.io/motomods_sdk/com/motorola/mod/ModManager.html
http://motorolamobilityllc.github.io/motomods_sdk/com/motorola/mod/ModProtocol.html
http://motorolamobilityllc.github.io/motomods_sdk/com/motorola/mod/ModBattery.html
as?
Gabots said:
hello I install the latest release of havoc 2.0 2018/10 /27 And it works well with some bugs, I also tried pixel experience treble ROM but the last release does not work gestures or audio via Bluetooth All moto functions stop working including the moto mods
Click to expand...
Click to collapse
How did you make it work for you? mine is stuck in the logo

[ROM][Pie] MR1 and MR2 Stock Deodexed

For MR1 Stock Deodexed Zipalign and MR2 Deodexed
This is a stock version that is for
MR1 it's Deodexed and Zipalign with the framework mods listed
MR2 it's Deodexed with the framework mods listed
Root and Magisk compatibility.
Secure flag - Allow screenshots/screensharing in secure apps.
Signature verification - Disable signature verification allowing modification/execution of signed system apps.
Signature spoofing - Enable signature spoofing app permission.
High volume warning - Disable high volume popup dialog.
Instructions
Flash arter97 kernel for Razer Phone 2 https://forum.xda-developers.com/razer-phone-2/development/arter97-kernel-razer-phone-2-t3914996
Or
Flash f(x)THaxxorX kernel for Razer Phone 2 https://forum.xda-developers.com/razer-phone-2/development/pie-trinitykernel-edition-a1-t4046687
Enter TWRP
Wipe Dalvik / ART Cache might have to swipe for factory reset
Install ROM
Click here to download MR1 ROM
Click here to download MR2 ROM
Special Thanks
arter97 For his Kernel And TWRP
f(x)THaxxorX For his Kernel
SuperR. For his SuperR's Kitchen
Version Information
Status: Stable
Android Version 9
Created 2019-07-25
Updated 2020-02-10
Mods​
Xposed
Step 1 Flash Riru Core in Magisk then reboot.
https://github.com/RikkaApps/Riru/releases
Step 2 Flash Exposed YAHFA in Magisk then reboot.
https://github.com/ElderDrivers/EdXposed/releases
Step 3 install EdXposed Installer app.
https://github.com/solohsu/XposedInstaller/releases
Reserved 2
Here they come!
I felt like a piece of **** for not thanking you for your hard work and effort. I just leeched . So sorry about that. Been running pretty smooth. However sometimes my phone won't wake up immediately. But that could be edxposed or gravity box or both altogether.
Hey, thank you for putting this together. Does it come with the stock kernel or arter97's by the way?
Also, would you consider making a odex flashable zip as well? I have SuperR’s donated kitchen as welll, but I don’t know if you had to do anything special regarding encryption or anything. If not, I will try to make an Odex zip myself.
Thank you again for your work!
jal3223 said:
Hey, thank you for putting this together. Does it come with the stock kernel or arter97's by the way?
Also, would you consider making a odex flashable zip as well? I have SuperR’s donated kitchen as welll, but I don’t know if you had to do anything special regarding encryption or anything. If not, I will try to make an Odex zip myself.
Thank you again for your work!
Click to expand...
Click to collapse
I agree Odex is just as important to free up space and optimization I only did this for easier customizing. Just unpack system.img and set option to meta then build a zip.
Is there any way you can make this rom work with substratum? So we can finally have full theming? Thanks again for your contribution.
rogeriskira said:
Is there any way you can make this cool too with with substratum? So we can finally have full theming? Thanks again for your contribution.
Click to expand...
Click to collapse
I'm working on a ROM that works with swift installer as of now.
More.
doesn't boot just sits on boot screen any help on this would be greatly appreciated
popeye2468 said:
doesn't boot just sits on boot screen any help on this would be greatly appreciated
Click to expand...
Click to collapse
Idk how you're having difficulty with the cut and dry instructions he has given. TBH if you can't figure it out you shouldn't be rooting your phone.
Trippyy Doee said:
Idk how you're having difficulty with the cut and dry instructions he has given. TBH if you can't figure it out you shouldn't be rooting your phone.
Click to expand...
Click to collapse
Chill yo. We all been there
---------- Post added at 08:22 PM ---------- Previous post was at 08:22 PM ----------
Cannot wait for the version supporting substratum! Thanks for the hard work! ?
Thank you I did actually fix it but was a little bit miffed by his comment
Warrior1988 said:
More.
Click to expand...
Click to collapse
Any chance that Ron is ready lol
Step By Step Instruction
Hey Guys, I am new to razer phone 2 ... i just got that 1 week back.
Somebody will please tell me step by step instruction how to boot this rom, Razer phone 2 is onlye device for daily use.
So just want the clear vision how to do boot this rom.
Is this rom is rooted or require root to boot this rom. Please reply me ASAP.
Thanks
popeye2468 said:
Any chance that Ron is ready lol
Click to expand...
Click to collapse
Same. I need my substratum back... Badly
xttweaponttx said:
Same. I need my substratum back... Badly
Click to expand...
Click to collapse
I have had this phone for 4 weeks said I wasn't going to do this firmware flashing this time, I lasted 3 whole days and have flashed every gsi ROM there is lol
popeye2468 said:
I have had this phone for 4 weeks said I wasn't going to do this firmware flashing this time, I lasted 3 whole days and have flashed every gsi ROM there is lol
Click to expand...
Click to collapse
Any GSI you prefer? What doesn't work?
the_brad said:
Any GSI you prefer? What doesn't work?
Click to expand...
Click to collapse
I really liked resurrection remix everything works well except Bluetooth audio, it connects but does not play any audio through device
---------- Post added at 02:57 PM ---------- Previous post was at 02:57 PM ----------
popeye2468 said:
I really liked resurrection remix everything works well except Bluetooth audio, it connects but does not play any audio through device
Click to expand...
Click to collapse
The theming aspect is very good though

is there an official tutorial to root MI9 with a stable version of TWRP?

Hello everyone;
I have looked at the different post forum and it seems to me that all root procedures that I saw are either with unstable or exotic versions of TWRP, or they generated errors or bricks.
So that's the reason for my question: Is there a real Mi9 root tutorial with links to stable versions of TWRP and magisk, so that you can root in a safe way?
fanfan7110 said:
Hello everyone;
I have looked at the different post forum and it seems to me that all root procedures that I saw are either with unstable or exotic versions of TWRP, or they generated errors or bricks.
So that's the reason for my question: Is there a real Mi9 root tutorial with links to stable versions of TWRP and magisk, so that you can root in a safe way?
Click to expand...
Click to collapse
Whilst not official, here's my thread which may be of use....
https://forum.xda-developers.com/Mi-9/how-to/guide-how-flashed-twrp-xiaomi-eu-rom-t3912952
Rommco05 said:
"official root method" ...this is not OnePlus :good:
Click to expand...
Click to collapse
ok, i see, i will change the term by:
Is there a version more 'we all tried and it works great! "
Rommco05 said:
...just flash any Magisk above 18.2 Canary with mauronofrio twrp
Click to expand...
Click to collapse
Latest v19 works great too!
Rommco05 said:
...just flash any Magisk above 18.2 Canary with mauronofrio twrp
Click to expand...
Click to collapse
Have you a link for twrp ? (I know i can search (I know that I can search by myself, but as you seem to know what you're talking about)
cd993 said:
Latest v19 works great too!
Click to expand...
Click to collapse
Works with all version of miui ? (i'm on 10.2.17.0)
fanfan7110 said:
Works with all version of miui ? (i'm on 10.2.17.0)
Click to expand...
Click to collapse
Unsure for sure...... Give it a go and post back!
Rommco05 said:
twrp https://forum.xda-developers.com/Mi-9/development/recovery-unofficial-twrp-xiaomi-mi-9-t3905825
magisk 19 https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
magisk canary https://forum.xda-developers.com/apps/magisk/dev-magisk-canary-channel-bleeding-edge-t3839337
If u not hit me Thanks button I will not more talking with you
Click to expand...
Click to collapse
:laugh:
Sure !
fanfan7110 said:
Works with all version of miui ? (i'm on 10.2.17.0)
Click to expand...
Click to collapse
Ive just updated EU rom to 9.4.1 and now won't allow me to install magisk. This was trying to flash it from magisk app itself. I havn't had a chance to do it thru twrp as i'm at work. Does it have to be done thru twrp?
perryano said:
Ive just updated EU rom to 9.4.1 and now won't allow me to install magisk. This was trying to flash it from magisk app itself. I havn't had a chance to do it thru twrp as i'm at work. Does it have to be done thru twrp?
Click to expand...
Click to collapse
Probably best through twrp.
FYI I'm on the weekly EU rom too and when updating I dirty flashed the rom zip manually via TWRP not using the updater system app) and immediately flash magisk. It updated and maintained root successfully
cd993 said:
Probably best through twrp.
FYI I'm on the weekly EU rom too and when updating I dirty flashed the rom zip manually via TWRP not using the updater system app) and immediately flash magisk. It updated and maintained root successfully
Click to expand...
Click to collapse
I can confirm, same working for me
portfolio said:
I can confirm, same working for me
Click to expand...
Click to collapse
I had read that on the mi 9 we could not flash updates MIUI via TWRP because it was crashing the phone. Is it wrong then?
fanfan7110 said:
I had read that on the mi 9 we could not flash updates MIUI via TWRP because it was crashing the phone. Is it wrong then?
Click to expand...
Click to collapse
Flashing Xiaomi.eu no problems at all, just look for the how-to threads Here...
Rommco05 said:
only full updates are flashable trough TWRP (official or Xiaomi.eu)
Click to expand...
Click to collapse
I will probably pass to be ignorant, but what is the difference between the official global version of the MI9 rom and that of xiaomi.eu?
I saw that the version numbers were different (10.2.17 for the global, and 9.3.21 for the EU).
Why are you flashing the EU version?

Categories

Resources