[OFFICIAL][PATCHER][APP] Dual Boot Patcher For Redmi 4x - Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other

Finally Builded Dual Boot Patcher For Redmi 4x With All Fixes.
Now DBP is official for Redmi 4x
Note:- Redmi 4x/4(India) both are same.
Note:-I AM NOT RESPONSIBLE IF ANYTHING HAPPENS TO YOUR DEVICE.USE AT YOUR OWN RISK.THIS IS PERSONALLY TESTED BY ME SO IT SHOULD NOT CREATE ANY PROBLEM IF YOU FOLLOW THE STEPS ABOVE PROPERLY
ENJOY
The Requirement:
1- TWRP Latest[Recommended] ==> TWRP For Santoni
2- Decrypted Data ==> (Format Data)(Important Step or Else Rom will not boot and it will wipe internal storage so take a backup)
3- Magisk or Supersu (I used Magisk)
The Installation Steps:
1- Install the latest DBP from here ==> Dual Boot Patcher
(As this build is debug it will create another app name 'Leaks' so dont uninstall it will also uninstall DBP app)
2- Go to Settings ==>Installed apps==>All==>Documents==>Enable
3- Go to app and click on ROMs and grant it a root access.
4- Click yes to update the "Primary Kernel"
5- Go to "Patch Zip File"
6- Click on "Add flashable zip"
7- Choose the required ROM such as "YurekaOS"
8- Click "OPEN"
9- Under partition configuration choose "Data slot/Ext slot/secondary(if have enough space)"
10- Enter and ID as "Yureka or any name you like"
11- Click on "Continue"
12- Click on "SAVE"
13- Click on "Right Mark" to patch the zip file
14- Wait till the operation to finish
15- Go to "ROMs"
16- Click on "Add patched file" to flash it
17- Click on "Keep the current location"
18- Flash and wait till the operation to finish
19- Go to "ROMs" to make sure that the new second ROM is added
20- Now close the app and re-open it for refreshing
21- Adding the "Gapps Package"
22- Go to "Patch Zip File"
23- Click on "Add flashable zip"
24- Choose the required any gapps package
25- Click "OPEN"
26- Check and make sure that the ID in step 10 "Yureka or any name you like" is appeared as "Yureka or any name you like (Data slot)"
27- Repeat the steps from 11 to 18
28- Reboot
29- Install the DBP again
30- Choose the primary ROM and reboot
31- To install boot ui==>Go to settings==>click on install boot ui (it will give you option to boot to which rom on every reboot)(This step is optional)(in order to use 'boot ui' update ramsdisk of both rom)
About Partitons:
data-slot = internal storage (can be used)(recommended)
Extsd-slot = external sd card (can be used)
Primary= System Partition ( No use )
Secondary = System Partition (Only can be used if much of sytem space left)
Multi-slots = cache partition ( No use )​
What's Working:
Everything
What are not Working:
Tell me
Special thanks to:
@chenxiaolong for such an beautiful open source project
@dg28gadhavi (For guiding me the basics and helping in every manner he can)
Contributors
Nik001, dg28gadhavi, chenxiaolong
Official XDA Thread: Official Thread
Official Sources Code:https://github.com/chenxiaolong/DualBootPatcher
Sources Code:https://github.com/Nikesh001/DualBootPatcher
Plz give a thumbs up to the thread if you all like it:good:
HAPPY DUALBOOTING:good:

Nik001 said:
Finally Builded Dual Boot Patcher For Redmi 4x With All Fixes.
Note:- Redmi 4x/4(India) both are same.
Note:-I AM NOT RESPONSIBLE IF ANYTHING HAPPENS TO YOUR DEVICE.USE AT YOUR OWN RISK.THIS IS PERSONALLY TESTED BY ME SO IT SHOULD NOT CREATE ANY PROBLEM IF YOU FOLLOW THE STEPS ABOVE PROPERLY
ENJOY
The Requirement:
1- TWRP Latest[Recommended] ==> TWRP For Santoni
2- Decrypted Data ==> (Format Data)(Important Step or Else Rom will not boot and it will wipe internal storage so take a backup)
3- Magisk or Supersu (I used Magisk)
The Installation Steps:
1- Install the latest DBP from here ==> Dual Boot Patcher
(As this build is debug it will create another app name 'Leaks' so dont uninstall it will also uninstall DBP app)
2- Go to Settings ==>Installed apps==>All==>Documents==>Enable
3- Go to app and click on ROMs and grant it a root access.
4- Click yes to update the "Primary Kernel"
5- Go to "Patch Zip File"
6- Click on "Add flashable zip"
7- Choose the required ROM such as "YurekaOS"
8- Click "OPEN"
9- Under partition configuration choose "Data slot/Ext slot/secondary(if have enough space)"
10- Enter and ID as "Yureka or any name you like"
11- Click on "Continue"
12- Click on "SAVE"
13- Click on "Right Mark" to patch the zip file
14- Wait till the operation to finish
15- Go to "ROMs"
16- Click on "Add patched file" to flash it
17- Click on "Keep the current location"
18- Flash and wait till the operation to finish
19- Go to "ROMs" to make sure that the new second ROM is added
20- Now close the app and re-open it for refreshing
21- Adding the "Gapps Package"
22- Go to "Patch Zip File"
23- Click on "Add flashable zip"
24- Choose the required any gapps package
25- Click "OPEN"
26- Check and make sure that the ID in step 10 "Yureka or any name you like" is appeared as "Yureka or any name you like (Data slot)"
27- Repeat the steps from 11 to 18
28- Reboot
29- Install the DBP again
30- Choose the primary ROM and reboot
31- To install boot ui==>Go to settings==>click on install boot ui (it will give you option to boot to which rom on every reboot)(This step is optional)(in order to use 'boot ui' update ramsdisk of both rom)
About Partitons:
data-slot = internal storage (can be used)(recommended)
Extsd-slot = external sd card (can be used)
Primary= System Partition ( No use )
Secondary = System Partition (Only can be used if much of sytem space left)
Multi-slots = cache partition ( No use )
What's Working:
Everything
What are not Working:
Tell me
Special thanks to:
@chenxiaolong for such an beautiful open source project
@dg28gadhavi (For guiding me the basics and helping in every manner he can)
Contributors
Nik001, dg28gadhavi, chenxiaolong
Official XDA Thread: Official Thread
Official Sources Code:https://github.com/chenxiaolong/DualBootPatcher
Sources Code:https://github.com/Nikesh001/DualBootPatcher
Plz give a thumbs up to the thread if you all like it:good:
HAPPY DUALBOOTING:good:
Click to expand...
Click to collapse
Hey please help me i am also trying to port this but I don't have a proper idea how to

Can i have 2 rom with 16gb rom?

Hey, i have try this. Buty device going to bootlop. How dp i fix this?

randifilan said:
Hey, i have try this. Buty device going to bootlop. How dp i fix this?
Click to expand...
Click to collapse
How can you get bootloop?

When i try this. When i switch tto the secondary rom. My phone is bootloop.

Can you provide a video for me on redmi 4x? I have try many time but still bootloop. My phone is vibrate when change the rom. I try this oh R.R 5.8.4.

Install the dualboot patcher utilities, download from official thread. Try it and comment again if it success.

can i use lazy flasher for step 2

Hey Nik
The official build is out ..and I have made an Instructional thread on mi forum .
I want to know ..Why can't I use magisk in second ROM
.Where I am doing wrong .
I have tried to flash it patched ... Failed
Non patched direct through recovery ...failed .
Plz help

Wasef x said:
Hey Nik
The official build is out ..and I have made an Instructional thread on mi forum .
I want to know ..Why can't I use magisk in second ROM
.Where I am doing wrong .
I have tried to flash it patched ... Failed
Non patched direct through recovery ...failed .
Plz help
Click to expand...
Click to collapse
Can you give me the link?

randifilan said:
Can you give me the link?
Click to expand...
Click to collapse
Sure ..
Here it is
http://en.miui.com/thread-825128-1-1.html

Wasef x said:
Sure ..
Here it is
http://en.miui.com/thread-825128-1-1.html
Click to expand...
Click to collapse
I already try from this, but failed, are success do that? I try in from RR, and install AEX, when switch the rom, my phone got vibrate twice and go to twrp, i use dualboot utility and doent work. Are you success?

randifilan said:
I already try from this, but failed, are success do that? I try in from RR, and install AEX, when switch the rom, my phone got vibrate twice and go to twrp, i use dualboot utility and doent work. Are you success?
Click to expand...
Click to collapse
I have it working .
One thing ..
When you switch ROM .
Don't do it directly .
First update the ramdisk of that ROM on which you wanna switch .
Otherwise it doesn't boot

Wasef x said:
I have it working .
One thing ..
When you switch ROM .
Don't do it directly .
First update the ramdisk of that ROM on which you wanna switch .
Otherwise it doesn't boot
Click to expand...
Click to collapse
I have update the ramdisk. But still not work. Also failed.

I can't enable wifi after updating primary rom (Xiaomi. Eu). . Any solution?

How to decrypted data?

strbgs27 said:
How to decrypted data?
Click to expand...
Click to collapse
TWRP...Wipe...Format Data

What means step 29? Install the APP again?
Edit: Omg! Selected Second Rom and now it starts direct in TWRP... And i can't start Primary Rom .....
Really dont try this if u want to save time x)))))))

Not working on redmi 4 indian
Currently I am on redmi 4x global stable miui 9 rom and my device is redmi 4 64gb. Everything goes well. But when I reboot my device it vibrate 5 times and reboot in twrp. I've tried two rom resurrection remix v5.8.5 and viper os, but no any works..

Related

ZTE Blade L2 Kitkat Firmware

Android Kitkat based ROM for the ZTE Blade L2
SwitchBL2de
ROM Features:
PreRooted
Apex Launcher
Debloated
Micro SD switched with Phone Storage
Zipalligned
ZRAM
build.prop Tweaks for the following :
Video and Photo Quality
Internet Connection Speed/Quality
Network Performance
Download Link:
Removed - Recompiling Rom, My sincerest apologies to DeviRSilva.
I used an earlier version of his kernel for the build - http://forum.xda-developers.com/android/development/kernel-devir-blade-l216-11-2014-t2945103
MD5 : a719cb770585f24c891fe47da9e56245
Note - Updated hosts file for ad blocking (Use xposed module "hosts Enabler" to prevent adverts)
Once Rom is installed and you restart phone from recovery
It may give the following warning "Root access possibly lost. Fix? THIS CAN NOT BE UNDONE"
Select "Yes - Fix root (/system/xbin/su)"
Credits to BSDgeek_Jake for the hosts file (http://forum.xda-developers.com/showthread.php?t=1916098)
*****************************************************************************************************************************************
Custom Recovery
Please have a read through the information in this link : http://www.howtogeek.com/193055/what-is-a-custom-recovery-on-android-and-why-would-i-want-one/
Flashing a custom recovery on the L2 is a simple process.
Things Required for this process:
Rooted Phone - (Please see the post on Rooting)
Mobile Uncle Tools APK
Recovery Image
First you have to allow the phone to install apps that dont come from Google Play Store.To do so,follow the guide :
1.Settings Menu
2.Security
3.Enable(tick) Unknown sources
4.Untick Verify apps
You can always reset these back to how you found them when you are done.
Download Mobile Uncle Tools
Mega Link: http://goo.gl/IkyVDo
or
MediaFire Link : http://goo.gl/c5q6Jh
Copy APK file to your SD card,use your file manager to install it.
Run Mobile uncle tools,allow root permissions when menu pops up.
You can close the app for now.Next thing we need is the actual recovery file itself.I've attached the recovery i find works best
Carliv Touch Recovery v2.2 - MTK CWM-based v 6.0.4.4
Download Recovery.img file
Mega Link: http://goo.gl/1f8OwX
or
MediaFire Link :http://goo.gl/U1D2Zu
MD5 :9f770b95df8e1beabd7417fc112190bc
Once the file has downloaded,copy to the root of your SD Card.
Open Mobile Uncle Tools and Select "Recovery Update".
Be sure to Select the downloaded recovery image,not anything else.
Select the file and proceed with installation.Mobile uncle tools will then prompt you to reboot into recovery if the update was successful.Select Yes and the phone will reboot into the new recovery menu
Credits to :
eddy.rugal - Base Rom
Carliv - For Recovery
njava - For Mobileuncle MTK Tool
Update
Resize Apps Partition
WARNING! This can BRICK your phone if done incorrectly.
PLEASE FOLLOW ALL STEPS CORRECTLY.
Please make a backup of all your important stuff.
Make a backup in the recovery.Make 100% sure the backup completes without any errors
Reboot into recovery mode (Hold the Up button and press power button to turn device on)
1.Select Backup and Restore
2.Select Backup and Confirm(Proceed)
Once the backup is complete,the backup is located in "clockworkmod" folder on SD Card
You have to factory reset device,so be prepared to reinstall apps/games (You are going to lose data)
If you are fine with all of the above,The following mod increases the App Partition size from 1GB to 2GB.It rewrites the Internal Storage to 513MB(Used for videos/pictures,which is fine since we use our Micro SD cards for that)
If you are happy with all of the above,you can proceed with the next step :
Firstly,Download all files required and copy to SD Card
2 GB for apps_Jellybean_4.zip (232.63 KB)
Mega Link - http://goo.gl/ao3NFO
or
Media Fire Link - http://goo.gl/3j9RWm
AND
MTK_Nvram_Tool.zip (2.9MB)
Mega Link - http://goo.gl/Z2Chpx
or
Media Fire Link - http://goo.gl/sjah8X
Once on SD Card,reboot into recovery mode (Hold the Up button and press power button to turn device on)
1.Select "Install Zip"
2.Select "Choose zip Sdcard"
3.Choose "MTK_Nvram_Tool.zip"
4.Select "Yes - Install MTK_Nvram_Tool.zip"
5.Click Next
6.Select "I Agree with this Terms and Conditions" and click Next
7.Click Next again
9.Choose 'Nvram Backup"
Once its done it should say "Backup Completed"
Under that it should say "Nvram Backup Successfully Completed"
It give the location for that backup,always keep that file (Copy to the PC Later)
10.Click OK
11.Click Exit
12.Click Yes
Now you are back at the install update from zip file screen.
13.Select "Install Zip"
14.Select "Choose zip Sdcard"
15.Choose "2 GB for apps_Jellybean_4.zip"
16.Select "Yes - Install 2 GB for apps_Jellybean_4.zip"
17.Go back to main menu
18.Choose Wipe menu
19.Choose Wipe Data (Factory Reset) -THIS WILL ERASE YOUR DATA
20.Wipe Cache
21.Wipe Dalvik Cache
22.Go back to main menu and reboot phone
The phone should reboot.If you get a message saying you have to format phone storage,click yes to format.
Go to Settings,Storage and See Total space is now 1.97GB
If the phone wont boot,power down,then hold up key and turn on to get into recovery mode.
1.Select Backup and Restore
2.Select Restore and Confirm(Proceed)
Restore the backup you made earlier.
This should let the system load when you reboot again,even if it asks you to format the phone again.
Copy NVRAM Backup to PC for safe keeping.
If you want to return to original/stock
Follow the same procedure as above but use the following file instead of the 2GB File
Stock Partition_Jellybean_4.zip (232.63KB)
Mega Link - http://goo.gl/pMn0ea
or
Media Fire - http://goo.gl/KJfRF7
Credits to :
AnoopKumar - MTK Nvram Tool
Andalitez said:
Hi Guys
Just an update.I downloaded the update from the website again,used winRAR and replaced the modem file in the system.
Everything works great now
Click to expand...
Click to collapse
Hey man can u yplease hook me up with the modem file im kida stuck with unkown baseband too
Replied
BlaqueDroid said:
Hey man can u yplease hook me up with the modem file im kida stuck with unkown baseband too
Click to expand...
Click to collapse
Hey man.
Sent you a PM.Currently working on a rom,will only be able to upload it for you in afew hours
ZTE
ztedevices.com/search.html?keyword=blade l2 look on there for the firmware for your device , push via adb sideloading and you should be set
noob problem...
guys, can you please help me...I also have the same problem when I flashed the kitkat rom...my blade l2 now can't read my simcard...what should I do?...
No Sim Detected
eochi18jhae said:
guys, can you please help me...I also have the same problem when I flashed the kitkat rom...my blade l2 now can't read my simcard...what should I do?...
Click to expand...
Click to collapse
Okay,you have to download the firmware version for your country,and have custom recovery installed on the phone.
So if you in UK,download the rom for your phone from UK provider.(doesnt matter if its JB or KK)
http://www.ztedevices.com/support/index.html
Once you have the rom,Use winRAR to do the following:
1.open the rom from your country in winrar so you can see the contents.
2.Open system folder (dont extract,just navigate into the folders in winrar)
3.Open "etc" folder
4.Open Firmware folder
5.Select "modem_1_wg_n.img" and extract it(i just drag and drop on desktop)
6.Open the Kitkat firmware you've downloaded using winRAR
7.Open System folder
8.Open "etc" folder
9.Open Firmware folder
10. Copy the "modem_1_wg_n.img" into that location(drag and drop from desktop)
11.winRAR asks if you want to :Add/Replace file/s? Select Yes or OK to allow it to
12.copy entire firmware to phone and reflash it on the phone from the SD card
I dont know if you can just replace the modem file after having loaded the firmware.I didnt try or test it.it may or may not work.
I am working on Custom Firmware for this phone though.
latest achievement was i managed to get the phone to see the SD card as phone storage thanks to various xda guides.this will be built in
FIrmware should be ready in a few days after testing.if anybody is interested in trying it out,let me know
problem solved...
Thank you sir...problem solved...it's really hard to be a noob...have to understand a lot of things now....I'm willing to try your firmware on my phone...upload it when done...keep up the good work...sorry for my english...
Post has been updated
I need to talk to you.... Go read my PM
installation is always aborted.. PLEASE HELP
Replied
Thanks
The thread is so useful... Keep up the good work, I don't have patience to try the new ROM!
Is there any chance for kernel supporting overclocking and undervoltage, also with more Gvernor and I/O Sheduler options?
Also Would be gorgeous if there's tap screen to wake option, this would need custom kernel too...
I'm now using DeviRSilva's kernel, which is doing great! Man, don't be afraid to relese it and continue tweaks
Still I'm a noob and maybe half of theese wishes are impossible, but would be so cool if they're possible to develop!
PD: I saw a site promoting Lollipop ROM for our L2 is that real?
PD2: Sorry for my awful English and probably stupid requests and questions...
helpppp
I have probelm, phone do not show sim card, on official site there is no serbia rom please how to fix it?
Andalitez said:
Replied
Click to expand...
Click to collapse
It fails to flash the ROM with the updated radio file. Just stops at Can't open... file.zip '(bad)'. Installation aborted.
How to fix?
Hi how do i unroot the zte blade l2?
And how to I remove costum recovery and reinstall stock recovery and stock rom?
Thanks just asking in case of sending it back for repairing.
Just noticed that the download link has been remoded.
Can someone provide a link for this rom?
Thanks.
Does this ROM have Greek language installed ???
no links are working
I need a copy of carliv recovery and backup of stock recovery as u think although my mobile mainly working I think the recovery is corrupt and has screwed my sound thanks in advance as I am taking a giant leap and biting bullet to try this recovery hope it can flash the legit kit kat if ever released by zte or virgin UK thanks
Andalitez said:
Android Kitkat based ROM for the ZTE Blade L2
SwitchBL2de
ROM Features:
PreRooted
Apex Launcher
Debloated
Micro SD switched with Phone Storage
Zipalligned
ZRAM
build.prop Tweaks for the following :
Video and Photo Quality
Internet Connection Speed/Quality
Network Performance
Download Link:
Removed - Recompiling Rom, My sincerest apologies to DeviRSilva.
I used an earlier version of his kernel for the build - http://forum.xda-developers.com/android/development/kernel-devir-blade-l216-11-2014-t2945103
MD5 : a719cb770585f24c891fe47da9e56245
Note - Updated hosts file for ad blocking (Use xposed module "hosts Enabler" to prevent adverts)
Once Rom is installed and you restart phone from recovery
It may give the following warning "Root access possibly lost. Fix? THIS CAN NOT BE UNDONE"
Select "Yes - Fix root (/system/xbin/su)"
Credits to BSDgeek_Jake for the hosts file (http://forum.xda-developers.com/showthread.php?t=1916098)
*****************************************************************************************************************************************
Custom Recovery
Please have a read through the information in this link : http://www.howtogeek.com/193055/what-is-a-custom-recovery-on-android-and-why-would-i-want-one/
Flashing a custom recovery on the L2 is a simple process.
Things Required for this process:
Rooted Phone - (Please see the post on Rooting)
Mobile Uncle Tools APK
Recovery Image
First you have to allow the phone to install apps that dont come from Google Play Store.To do so,follow the guide :
1.Settings Menu
2.Security
3.Enable(tick) Unknown sources
4.Untick Verify apps
You can always reset these back to how you found them when you are done.
Download Mobile Uncle Tools
Mega Link: http://goo.gl/IkyVDo
or
MediaFire Link : http://goo.gl/c5q6Jh
Copy APK file to your SD card,use your file manager to install it.
Run Mobile uncle tools,allow root permissions when menu pops up.
You can close the app for now.Next thing we need is the actual recovery file itself.I've attached the recovery i find works best
Carliv Touch Recovery v2.2 - MTK CWM-based v 6.0.4.4
Download Recovery.img file
Mega Link: http://goo.gl/1f8OwX
or
MediaFire Link :http://goo.gl/U1D2Zu
MD5 :9f770b95df8e1beabd7417fc112190bc
Once the file has downloaded,copy to the root of your SD Card.
Open Mobile Uncle Tools and Select "Recovery Update".
Be sure to Select the downloaded recovery image,not anything else.
Select the file and proceed with installation.Mobile uncle tools will then prompt you to reboot into recovery if the update was successful.Select Yes and the phone will reboot into the new recovery menu
Credits to :
eddy.rugal - Base Rom
Carliv - For Recovery
njava - For Mobileuncle MTK Tool
Click to expand...
Click to collapse
any news on the kitkat rom yet? super excited to try this out!
is the link for the rom gone?
i dont see it

Dual Boot for Galaxy S5 SM-G901F

Dual Boot your Galaxy S5 G901F
First i'm not a programmer, I am an enthusiast user who likes to use the full potential of his phone
I found a way to dual boot the G901F though there is little development support for it
(too bad despite the potential of this device)
I like to thanks @chenxiaolong for his dual boot app for the Galaxy S4 witch i used for this to happen
I also like to thanks @aukhan for his post on how to dual boot the Note4 from where i got the link for "swap roms.apk"
Now lets beggin
0. you should have a backup of your primary rom.zip and your actual kernel.zip
and of corce your device rooted
1. download and install DualBootPatcher for win 32 and android from @chenxiaolong post
http://forum.xda-developers.com/showthread.php?t=2447534
I installed DualBootPatcher.apk on the phone and for pathing i used DualBootPatcher for win32 on my pc
2. open DualBootPatcher for win32
3. on the new window hit the "chose file" tab
4. select your secondary rom.zip (eg.cm12.1 or cm13)
5. on "device" section select "trlte - SamsungGalaxyNote4(Snapdragon)"
i chose this thinking that Note4 Snapdragon has the same hardware as G901F and it could influence the instalation
6. on "install to" section select secondary
now hit the "start patching" tab and wait for the rom to be patched
7. inside the new rom_patched.zip in the "multiboot" folder you will find a file named "info.prop"
8. open it with a text editor and at the bottom you will find the line:
"mbtool.installer.ignore-codename=false"
9. change "false" to "true"
10. repeat steps 2-9 for your downloader version of gapps
11. install "swap roms.apk" from this link
https://www.dropbox.com/s/97st26iuk0jc9vc/Swap_Roms.3.apk?dl=0
but dont open it yet
12. with a file explorer on your phone go to sdcard/MultiBoot folder
13. there should be two folders "dual" and "primary"
14. if not, create them
asuming that you have both of your primary(actually installed) and secondary rom images (.zip files)
follow the next steps
15. copy boot.img from secondary patched rom to dual folder (sdcard/MultiBoot/dual)
16. copy boot.img from primary rom to primary folder (sdcard/MultiBoot/primary)
now copy rom_patched.zip and gapps_pathed.zip to your device
remember and don't forghet to edit "info.prop" from step 7 or the installation won't work
17. open DualBootPatcher installed on your device
18. hit the 3 lines menu from the top-left corner and select "roms"
19. hit the red icon on the bottom right corner, then the "+" one and install your secondary rom
after the istallation finishes install the gapps
20. after the install, exit the app
21. open "swap roms" witch you installed in step 11 and select dual
you should see a message telling that the kernel has been flashed
after it is done, click reboot
22. the device should boot to secondary rom
23. after configuring your new rom, repeat step 11 (install "swap roms.apk")
25. now to switch between roms use "swap roms" (select primary or dual depending on witch rom you are)
26. if anithing goes wrong go to recovery and flash your primary_kernel.zip
it should boot to primary rom
27. you can delete the secondary rom via DualBootPatcher->roms
For each .zip file you want to flash to your secondary rom repeat steps 2-9
I hope that you found this usefull and don't forget to press "thaks"​
Thx
@chenxiaolong at my request added full support to dual boot the G901F so use his app from this thread : http://forum.xda-developers.com/showthread.php?t=2447534
this being said it's time to close this thread
it work on g900f?
twito1992 said:
it work on g900f?
Click to expand...
Click to collapse
yes

Multiboot for Galaxy Tab 2 [P3100 | P3110/P3113 | P5100 | P5110/P5113] Android 4.2-6

Multiboot project is a work done by @chenxiaolong , I do not own any of the work presented over here.I just sent the author need logs.Support All Version
About Multiboot : A project to handle different ROMS at the same time so that you actually can use different ROMS without having to wipe up device to flash ROMS, it allows installation of more thn one ROM with all the features enabled.
USAGE​1. First, boot into your primary ROM and install the Dual Boot Patcher app
2. Open the app and go to "Roms" in the navigation drawer. It will ask if you want to set the kernel. Make sure that you do.
3. Go to "Patch zip file" in the navigation drawer and patch the ROM or zip you want to install.
In-app flashing​
To use in-app flashing, go to "Roms" in the navigation drawer, tap the floating button on the bottom right, and add the zips you want to install. You can queue multiple zips and they will all be flashed in one go. Once you've added all the zips you want to flash, click the check mark in the action bar and they will be flashed right away.
DOWNLOAD : https://snapshots.noobdev.io/(Added support 10.04)
ORIGINAL THREAD : http://forum.xda-developers.com/show....php?t=2447534
Manual
Step 1
download and install DualbootPatcher app
if you are in motion rom do this
Step 2
Open the app
Slide the menu and go to ROMs
It will request for root access
Allow the root access
and a message will ask about to set the kernel
Select "set now" and after it said kernel set now
Step 3
reboot your device
Now after device is turned on
Go to the app and navigate "Patch Zip File" from the menu
and tap that + button select zip of ROM you want to patch
A window will come up and if you see in "your device selected by default" you done everything right.
then:
If you are CMuser ( means you have a cm12.1 , cm11 or ... on your primary rom)
and want to install another cyanogeonmod rom (cm11 , cm12.1 ...)
Select the partition configuration as "Secondary"
If you are trying to install another ROM that has a huge system
Select partiton configuration as "data slot" and select an ID for the ROM
better to be a number
(It will be installed on data partition this means it will use the device internal storage space )
and select continue and set where to place patched file .
you can add more files to patch there .
and after you are ready to patch the files tap that tick button in action bar
to start patching
Step 4
After you patched the zip ROM go ahead and navigate to ROMs from the menu
select button down corner and select patched zip you patched
and then select keep location (or if you want you can change the location ) and add more patched zips or tap the up corner tick to start install
note : if any thing wrong happend PM me on telegram and send me multiboot.log in internal storage.
Step 5
after ROM is installed
it should be selected the installed rom .
tap and switch to primary rom
now use three dot on side of primary and select update ram disk
and then select reboot now
now after device rebooted go back to the app navigate to roms
now use three dot on side of new ROM you installed and select update ram disk
after it said done
select the rom you installed . ( tap on the icon of it or name )
( if you saw a message about checksum select continue )
reboot the device and see the magic !!!!
your new ROM is booting !!!!
Cool, let's stop enjoying and continue
Step 6
now after your new ROM booted
take your time to setup the device
and go and install dualboot patcher app again
now open the app
Go to ROMs and allow root access and
now use three dot menu in side of primary ROM and select update ramdisk
now use three dot in side of new ROM and select update ramdisk
and reboot
Soon there will be video instruction
NOTE:Support 4.2-6.0
CREDITS​All credits goes to @chenxiaolong for his hard work on this project, kindly say thanks to him
INFO​
Code:
Quick info
The patcher offers several locations for installing ROMs:
Primary: This is normally used for installing a zip to the primary ROM. It is not required, but is strongly recommended because it has code to prevent the zip from inadvertently affecting other ROMs.
Dual: Dual/Secondary is the first multiboot installation location. It installs to the system partition. This is a good spot for installing a second ROM because it doesn't take any space away from the internal storage.
Multi-slots: There are 3 multislots: multi-slot-1, multi-slot-2, multi-slot-3. These install to the cache partition. This is specifically for devices, like the Galaxy S4, that have a massive cache partition.
Data-slots: There can be an unlimited number of data slots. These install to the data partition and eat up space on the internal storage. This is useful for devices where the system partition is nearly full and the cache partition is tiny. These slots are named "data-slot-[id]", where "id" is something you provide in the app.
With that said, let's get to the "how to"!
First, boot into your primary ROM and install the Dual Boot Patcher app
Open the app and go to "Roms" in the navigation drawer. It will ask if you want to set the kernel. Make sure that you do.
Go to "Patch zip file" in the navigation drawer and patch the ROM or zip you want to install. You can select one of the installation locations described above.
There are two ways of flashing the patched zip file. You can either flash it normally from recovery or flash it using the in-app flashing feature. Both methods are explained below.
Flashing from recovery
To flash from recovery, just flash the patched zip file like you would for any other zip. Nice and simple.
In-app flashing
To use in-app flashing, go to "Roms" in the navigation drawer, tap the floating button on the bottom right, and add the zips you want to install. You can queue multiple zips and they will all be flashed in one go. Once you've added all the zips you want to flash, click the check mark in the action bar and they will be flashed right away.
App and data sharing
DualBootPatcher very recently got support for sharing apps and their data across ROMs. Maybe sharing is somewhat of a misleading term. The feature actually makes Android load the shared apps and data from a centralized location, /data/multiboot/_appsharing. So you're not sharing apps from one ROM to another per se. The ROMs are just loading the apps from one shared location. Let me make this clearer with an analogy.
Think of the people in a company office as ROMs. You want to share with your coworkers some documents (apps). Instead of telling them to come over to your desk to see those documents (sharing apps from one ROM to another), everyone goes to the conference room to look at the documents together (loading apps from a shared location). That's how app and data sharing is implemented.
To use app sharing, follow these steps in every ROM that you want to use app sharing:
Install the app you want to share
Open DualBootPatcher and go to "App Sharing" in the navigation drawer
Enable individual app sharing
Tap "Manage shared applications" and enable APK/data sharing for the app
Reboot
When you uninstall an app that's shared, it simply become unshared for the current ROM. That way, other ROMs are not affected. To continue the analogy above, if you quit your job, you won't shred the documents that everybody else was looking at.
If you unshare an app's data, it will go back to using the data it had before it was shared. In other words, you leave the conference room and go back to work on your own documents at your desk.
How do I...?
Switch the ROM if something doesn't work properly?
You can flash the DualBootUtilities zip from recovery. It will provide a menu interface that allows switching to the various ROMs.
If you have TWRP, you can also switch manually by tapping Install -> Images (bottom right) -> Go to /sdcard/MultiBoot/[Your ROM]/ -flash boot.img.
Wipe /cache, /data, /system, or dalvik-cache?
The easiest way is to do it from the app while booted in another ROM. Just go to "Roms" in the navigation drawer, tap the 3 dots options menu for the ROM you want to wipe, and tap "Wipe ROM".
Alternatively, flash the DualBootUtilities zip from recovery, which will also allow you to wipe a ROM.
NOTE: Don't use the recovery's built-in wiping abilities as that may delete non-primary ROMs!
Update the primary ROM?
Patch the zip for primary and flash it. The "primary" installation target is designed so that other ROMs won't be affected when you want to flash something for the primary ROM.
Update a non-primary ROM?
Patch and flash the zip exactly like how you did it the first time.
Flash a mod or custom kernel for the primary ROM?
Patch it for primary before flashing. If the zip does not wipe /cache, it is also safe to flash it directly.
Flash a mod or custom kernel for a non-primary ROM?
Just patch and flash it
thx so much inote 2 still not get work on it so sad

[Treble] Android GSI on Kenzo/Kate. [SnapDragon]

UPDATE - Pixel Experience Official is out for Kenzo. Link attached below. Ongoing support for GSI users though.
https://forum.xda-developers.com/redmi-note-3/development/rom-pixel-experience-t3835648
-------------------------------------------
Disclaimer: I'm not responsible for bricked devices, flash at your own risk. I might be able to help with restoring your device though.
This is a guide to installing Android GSI on Redmi Note 3 (Kenzo)
---------------------------------------------------
What works-
RIL
GPS
Camera
Pretty much everything
What doesn't work-
Bluetooth
Hotspot
VoLTE(I couldn't test)
(NOTE - Bugs vary GSI to GSI)
---------------------------------------------------
Required files -
Grab these files first, and keep them on your SD card
TWRP Treble - https://androidfilehost.com/?fid=5862345805528059847
Android GSI(USE ARM64 A-ONLY) - for this tutorial, I'm using Phhusson's AOSP Pie GSI found here - https://forum.xda-developers.com/pr...vice-development/aosp-9-0-phh-treble-t3831915
List of GSI's - https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
Pie GApps (If using Pie GSI) - https://forum.xda-developers.com/android/development/gapps-unofficial-opengapps-builds-t3828141
Vendor Image - https://androidfilehost.com/?fid=1322778262903993757
Permissive SELinux Enabler - https://drive.google.com/file/d/1KFdPH2JGtvkXwt2emxPb-k7zdv2pLd-F/view?usp=drivesdk
Magisk 16.7 (minimum 16.7, you can use 17 as well)- https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589
Latest Firmware - https://forum.xda-developers.com/redmi-note-3/development/firmware-hmnote3proglobal-t3574361/page176
Optional - Digital Well-being (ONLY FOR PIE)
Digital Well-being apk (Download latest version) - https://www.apkmirror.com/apk/googl...wellbeing-0-2-207862754-android-apk-download/
Digital Well-being Magisk Module - https://drive.google.com/file/d/1AAFMWbAAK-febiP9h4iZMJONEHXopmEU/view?usp=drivesdk
--------------------------------------------
Assuming you have an unlocked bootloader, and know your way in and around Android, let's begin!
How to install -
1. First, flash the Treble enabled TWRP.
2. Reboot to recovery.
3. Mount all partitions, and wipe all partitions.
4. Flash the Vendor Image zip file and immediately flash the Permissive SELinux Enabler.
5. Clear Dalvik/Cache.
6. Mount all partitions, and wipe system.
7. Flash GSI to System partition *only*.
8. Reboot to System.
9. Reboot to recovery.
10. Perform a factory data reset, and flash GApps
11. Reboot to System, and complete setup.
12. After completing setup, reboot to recovery and flash Magisk 16.7
13. Reboot to System
14 Reboot to recovery and flash firmware.
15. Profit!
If you want Digital Well-being (ONLY FOR PIE) -
16. Install Digital Well-being apk
17. Flash Digital Well-being Magisk Module through Magisk Manager
18. Reboot
19. Profit!
-------------------------------------------------------
Tested on Snapdragon version, don't know if it works on MTK.
Screenshots are attached.
Fixes -
If you have the QS toggles moving out of the header like the screenshot attached in #1, do the following steps
1. Enable Developer Settings,
2. Find Smallest Width setting
3. Increase the value by 20. (If it's 360, make it 380)
4. Profit!
------------------------------------------
Google Camera + Face Unlock fix.
If Google Camera/Face Unlock doesn't work for you, do the following -
1. Reboot to recovery
2. Mount system
3. Flash the zip file (download link below)
4. Clear cache
5. Reboot to system
This should make Face Unlock work again, and GCam work as well.
Download patch - https://drive.google.com/file/d/17OUBxhsfeK0625_pYe8aRNr5L6doKdAK/view?usp=drivesdk
------------------------------------------
Can't find Smart Lock in settings?
1. Go to Settings < Security and Location.
2. Scroll down and click Advanced.
3. Click Trust Agents.
4. Switch on Trust Agent for Smart Lock.
You should now have Smart Lock option below Fingerprint.
-------------------++++++++++++++++-----------------------
For Changing accent colours -
Download this file - https://t.me/kenzousersglobal/1169
1. Flash it in recovery
2. Reboot to system
3. Go to Settings - Display - Advanced. Scroll down to find "Colour Theme"
4. Select colour theme and select colour of your choice.
5. Profit!
---------------------------------
Custom kernels that currently work
Radon - https://drive.google.com/file/d/1LYggpHDVph1fvWctIKY4FqQwtRb6Svh0/view
---------------------------------
Review - after extensive testing, I found this to be daily driver material, with the only exception being Bluetooth, Hotspot, and VoLTE(I couldn't test it myself)
Special thanks to - @corkiejp
Is it possible to get an Overlay Patch for Mi 8?
NielsvdS said:
Is it possible to get an Overlay Patch for Mi 8?
Click to expand...
Click to collapse
I honestly have no clue. I have only gathered all the patches and files for Kenzo and made them into one guide.
Thanks for the guide: -
Digital Well-being apk (Download latest version) <<<< Links to the overlay zip and not the apk.
Sourced the beta of apkmirror: - https://www.apkmirror.com/apk/googl...wellbeing-0-2-207862754-android-apk-download/
I used Mind the Gapps found on Telegram, when flashing.
Is it possible to dirty flash open gapps?
Work on kate devices?
Why is it there system.img.xz should I remove .xz rename it
---------- Post added at 04:24 PM ---------- Previous post was at 03:42 PM ----------
1.flashed carlosvendor.zip
2.mounted system vendor cache
3.flshed system.img as system image
After rebooting stuck at fastboot logo
sharan565 said:
Why is it there system.img.xz should I remove .xz rename it
---------- Post added at 04:24 PM ---------- Previous post was at 03:42 PM ----------
1.flashed carlosvendor.zip
2.mounted system vendor cache
3.flshed system.img as system image
After rebooting stuck at fastboot logo
Click to expand...
Click to collapse
You need to extract the image file from that compressed format, use windows are download an app that will extract it.
Suggestion RAR from play: - com.rarlab.rar or alternative app that will do the same.
corkiejp said:
You need to extract the image file from that compressed format, use windows are download an app that will extract it.
Suggestion RAR from play: - com.rarlab.rar or alternative app that will do the same.
Click to expand...
Click to collapse
Thanks man I will try
Hey @Sid127, this is really nicely written tutorial, thank you What bothers me, why we need to mount partitions once again in step 6? Partitions were mounted in step 3 and there wasn't any reboot in meanwhile.
3. Mount all partitions, and wipe all partitions.
4. Flash the Vendor Image zip file.
5. Clear Dalvik/Cache.
6. Mount all partitions, and wipe system.
7. Flash GSI to System partition *only*.
Click to expand...
Click to collapse
Second question, maybe easier... If I have existing TWRP backup for non treble ROM, is it OK to restore such backup using Treble recovery after wiping everything? Or it's recommended to flash previous recovery first?
wxtester said:
Hey @Sid127, this is really nicely written tutorial, thank you What bothers me, why we need to mount partitions once again in step 6? Partitions were mounted in step 3 and there wasn't any reboot in meanwhile.
Second question, maybe easier... If I have existing TWRP backup for non treble ROM, is it OK to restore such backup using Treble recovery after wiping everything? Or it's recommended to flash previous recovery first?
Click to expand...
Click to collapse
1. You just need to make sure that all partitions are mounted.
2. You can restore the backup through Treble TWRP.
Happy flashing!
Hexvessel1992 said:
Work on kate devices?
Click to expand...
Click to collapse
I don't know, I need someone to test it. It should work, since the Vendor for Kenzo and Kate are the same.
corkiejp said:
Thanks for the guide: -
Digital Well-being apk (Download latest version) <<<< Links to the overlay zip and not the apk.
Sourced the beta of apkmirror: - https://www.apkmirror.com/apk/googl...wellbeing-0-2-207862754-android-apk-download/
I used Mind the Gapps found on Telegram, when flashing.
Is it possible to dirty flash open gapps?
Click to expand...
Click to collapse
I'll update the thread with the right link
I think it is possible to dirty flash Open Gapps, but it might give bugs, always go for a clean flash
Everything works for me, only thing was that at the first setup it was stuck on "checking for updates". So I tried the method of tapping all sides of the screen (from top-left clockwise to bottom-left) and it skipped the setup. The flashlight is a little wonky, but that's the only thing that was getting in my way. The audio was a little too quiet, so I installed some app on the playstore to gain it. Thanks for such a comprehensive guide! Android Pie is amazing, but development for it on a 3 year old device is even more so!
srishant said:
Everything works for me, only thing was that at the first setup it was stuck on "checking for updates". So I tried the method of tapping all sides of the screen (from top-left clockwise to bottom-left) and it skipped the setup. The flashlight is a little wonky, but that's the only thing that was getting in my way. The audio was a little too quiet, so I installed some app on the playstore to gain it. Thanks for such a comprehensive guide! Android Pie is amazing, but development for it on a 3 year old device is even more so!
Click to expand...
Click to collapse
I had to forage through 4 complex guides, scourge through XDA and Telegram for all the patches, and hence could make such a simple guide. Apparently, devs on the Telegram channel are working on the Bluetooth and VoLTE fix I'll update once that happens!
Bolte
Test n let me know if it works
https://t.me/kenzoromnews/1445
Modify for treble then flash
amog787 said:
Bolte
Test n let me know if it works
https://t.me/kenzoromnews/1445
Modify for treble then flash
Click to expand...
Click to collapse
I did see that, but when I flashed it, it messed upy system and I had to reinstall the GSI. I don't know how to modify it for Treble, could you do it? I'm happy to test. I believe that fix is for Flashavle ZIPs, not for Treble GSIs.
Possible Gcam and stock working patch!
Posted this in AOSP Pie Rom thread, may also work for the GSI?
corkiejp said:
I found Gcam Pie Fix for another device in this thread.
Link to Gcam Pie Fix: - https://drive.google.com/file/d/1D5qvlA-QbQu6xoWpsLPyWquMkS3hxXi3/view
Gcam that I'm using: - https://androidfilehost.com/?fid=673956719939833577
^^^ From this thread, maybe newer versions available.
I was able to setup face unlock after flashing the above fix, you may also need to enable Smart Lock (Google) as a trusted agent.
It is buggy and the face option may not always trigger, plus you need to hold the phone far from you and swipe when the lock symbol appears (no fast unlock options xposed).
Another benefit of flashing another Camera (V 2.0.002) Started working as well. (Don't know if that is the default AOSP camera or something I restored from backup? Could be Snap Camera from LOS).
Click to expand...
Click to collapse
corkiejp said:
Posted this in AOSP Pie Rom thread, may also work for the GSI?
Click to expand...
Click to collapse
Is there also an uninstaller for this fix? I'll test only if there is an uninstaller for it. Last time I tested a fix I had to format data to revert...
Sid127 said:
Is there also an uninstaller for this fix? I'll test only if there is an uninstaller for it. Last time I tested a fix I had to format data to revert...
Click to expand...
Click to collapse
Not that I'm aware of, but this just places/replaces some Lib and Lib64 in system partition.
If your worried about it, back up your system partition, flash the this patch and wipe caches.
If you experience problems, just restore your system partition.
It was reported working by someone else here.

[GUIDE] Root and/or install a GSI on razer phone 2 and pass safety net (For Windows)

YOUR WARRANTY IS NOW VOID! I am not responsible for anything that could happen, dead sd card, bricked phones, you name it. You chose to install this software and you face the risk of any bugs that may affect you. This is just a warning incase anything goes wrong
ISSUE: FASTBOOT Might not work on windows 10 version 2004, a solution is to use a Linux virtual machine to use fastboot commands. Test it out first as you might be lucky and it could work for you.
A complete guide on how to either just root the razer phone 2 and/or install a gsi with everything working.
The sections are: Basics - Installing TWRP - Rooting - Installing a GSI + Root - Passing safety net to use baking apps, certain games etc.
Basics: (You will have to factory reset if you have not unlocked your bootloader before)
Download this and this file, un zip them both and move them to a known directory such as C:\ADB
Then on your phone, go into developer options and enable OEM/Bootloader unlocking, and after that reboot into the bootloader by holding POWER + VOL DOWN and plug the phone into your pc (I recommend you connect it to a USB 2.0 port, as USB 3.0 might give you issues with the fastboot commands)
Then we need to install bootloader drivers onto our phone, so open device manager, click the drop down menu next to Android Device, right click on Android and select Update Driver, then select Browse my computer for driver software, Let me pick from a list of available drivers on my computer, Show all devices, Have disk and navigate to your folder where you extracted the .zips (in my case C:\ADB) and open the usb_driver folder and select android_winusb.inf. In the next menu select Android Bootloader Interface, proceed through the warning and install it.
To unlock the bootloader open a cmd window in the directory of your platform-tools folder, which in my case would be C:\ADB\platform-tools (type cd C:\ADB\platform-tools in cmd) and run two commands: fastboot flashing unlock (after each one select yes on your phone and let it reboot - it might take a while) and fastboot flashing unlock_critical
To install the arter97 kernel/TWRP: (keep your phone in the Bootloader and plugged into the pc)
Download both the .zip and .img file from this link (i am using r12 intentionally as it causes less issues) and download this zip file as well
Move both .zip files onto your phones SD CARD (important) and rename the .img file on your PC to Boot.img and place it into your platform-tools folder (C:\ADB\platform-tools in my case)
Open a command prompt window and like before change the directory to the platform-tools folder, then run two commands: fastboot flash boot_a boot.img and fastboot flash boot_b boot.img
Now using the volume keys select the Recovery Mode option in the bootloader and press the power key to select it, if it asks for a decryption password cancel it, and if it asks to allow system modifications swipe to allow it
Go to the Install section and navigate to external_sd and navigate to the arter-r12.zip you installed, then click it and swipe to flash, after that flash the f2fs zip and after it's complete back out to the main menu, click reboot and select recovery
Once you are back in recovery, go to Wipe and select Format Data (this will not erase your sd card if it is set as external storage) and type yes
If you don't want to root then to reboot to system go into Reboot and select System, TWRP will ask you if you want to install their special app, DO NOT INSTALL IT, CLICK ON DO NOT INSTALL.
Now you are ready to proceed to the next step(s) (these are short now don't worry)
To just root and stay on the stock ROM:
Download magisk 20.1 (works better) from here and move it onto your phone sd card by going to the main TWRP menu, selecting Mount then SD card and you should be able to transfer the file onto the sd card directly from your PC
Then simply flash the magisk 20.1 zip in TWRP as we did before and you can now reboot system (make sure to not install the TWRP app)
Magisk Manager will prompt you to update magisk, DONT do it. You can however install the latest magisk manager update
To install a GSI and Root: (lineageOS is what i have linked here, however this is not the only one you can use, make sure you NEED gapps before flashing it incase they are included anywhere)
Firstly, to have bluetooth working go to Mount and select Vendor, go back, select Advanced then File Manager then navigate to /vendor/overlay/ and delete both BluetoothResCommon.apk and RazerAuraBluetoothRes.apk
Then download the latest arm-64-bvN .img file from here, unzip it on your computer and move the .img file to your phone. If you also want gapps (google apps) download this file and move it onto your SD card as well
Now, head to the TWRP Install section, at the bottom select Install Image, select the downloaded lineageOS (or your own gsi) .img file, in the next screen select System Image and swipe to flash it.
Once it has flashed back out to the main screen and click on Wipe, then select Advanced Wipe, then select System, Repair or change file system, and finally press Resize and swipe to do it, if it fails then re do this step
Then go back into the Install section and flash the opengapps zip file and after that the magisk zip file
Now you can reboot to system (might take a couple minutes) and set up the phone.
If you notice it is running slowly go into settings > Phh treble settings (might have to force close app once for it to appear) > Misc Settings > Force FPS > and select the 120.00001 at the bottom (top numbers are 1080p and bottom numbers are 1440p)
Finally, to pass safetynet:
Head into magisk manager, go to its settings and enable Hide Magisk, then call it Manager and allow it to reinstall itself, after that enable Magisk Hide in the settings aswell (hide your banking apps with this or any game that wont boot due to ROOT)
Then go into the magisk downloads section and search for the ArCore module, install this, reboot and your safetynet will pass on a gsi
This is my first xda post so my formatting may be bad but i hope it can help some people if you have any questions drop a comment and please like the post if it helped you for more people to see it.
Have a good day
Usyless said:
YOUR WARRANTY IS NOW VOID! I am not responsible for anything that could happen, dead sd card, bricked phones, you name it. You chose to install this software and you face the risk of any bugs that may affect you. This is just a warning incase anything goes wrong
A complete guide on how to either just root the razer phone 2 and/or install a gsi with everything working.
The sections are: Basics - Installing TWRP - Rooting - Installing a GSI + Root - Passing safety net to use baking apps, certain games etc.
Basics: (You will have to factory reset if you have not unlocked your bootloader before)
Download this and this file, un zip them both and move them to a known directory such as C:\ADB
Then on your phone, go into developer options and enable OEM/Bootloader unlocking, and after that reboot into the bootloader by holding POWER + VOL DOWN and plug the phone into your pc (I recommend you connect it to a USB 2.0 port)
Then we need to install bootloader drivers onto our phone, so open device manager, click the drop down menu next to Android Device, right click on Android and select Update Driver, then select Browse my computer for driver software, Let me pick from a list of available drivers on my computer, Show all devices, Have disk and navigate to your folder where you extracted the .zips (in my case C:\ADB) and open the usb_driver folder and select android_winusb.inf. In the next menu select Android Bootloader Interface, proceed through the warning and install it.
To unlock the bootloader open a cmd window in the directory of your platform-tools folder, which in my case would be C:\ADB\platform-tools (type cd C:\ADB\platform-tools in cmd) and run two commands: fastboot flashing unlock (after each one select yes on your phone and let it reboot - it might take a while) and fastboot flashing unlock_critical
To install the arter97 kernel/TWRP: (keep your phone in the Bootloader and plugged into the pc)
Download both the .zip and .img file from this link (i am using r12 intentionally as it causes less issues) and download this zip file as well
Move both .zip files onto your phones SD CARD (important) and rename the .img file on your PC to Boot.img and place it into your platform-tools folder (C:\ADB\platform-tools in my case)
Open a command prompt window and like before change the directory to the platform-tools folder, then run two commands: fastboot flash boot_a boot.img and fastboot flash boot_b boot.img
Now using the volume keys select the Recovery Mode option in the bootloader and press the power key to select it, if it asks for a decryption password cancel it, and if it asks to allow system modifications swipe to allow it
Go to the Install section and navigate to external_sd and navigate to the arter-r12.zip you installed, then click it and swipe to flash, after that flash the f2fs zip and after it's complete back out to the main menu, click reboot and select recovery
Once you are back in recovery, go to Wipe and select Format Data (this will not erase your sd card if it is set as external storage) and type yes
If you don't want to root then to reboot to system go into Reboot and select System, TWRP will ask you if you want to install their special app, DO NOT INSTALL IT, CLICK ON DO NOT INSTALL.
Now you are ready to proceed to the next step(s) (these are short now don't worry)
To just root and stay on the stock ROM:
Download magisk 20.1 (works better) from here and move it onto your phone sd card by going to the main TWRP menu, selecting Mount then SD card and you should be able to transfer the file onto the sd card directly from your PC
Then simply flash the magisk 20.1 zip in TWRP as we did before and you can now reboot system (make sure to not install the TWRP app)
Magisk Manager will prompt you to update magisk, DONT do it. You can however install the latest magisk manager update
To install a GSI and Root: (lineageOS is what i have linked here, however this is not the only one you can use, make sure you NEED gapps before flashing it incase they are included anywhere)
Firstly, to have bluetooth working go to Mount and select Vendor, go back, select Advanced then File Manager then navigate to /vendor/overlay/ and delete both BluetoothResCommon.apk and RazerAuraBluetoothRes.apk
Then download the latest arm-64-bvN .img file from here, unzip it on your computer and move the .img file to your phone. If you also want gapps (google apps) download this file and move it onto your SD card as well
Now, head to the TWRP Install section, at the bottom select Install Image, select the downloaded lineageOS (or your own gsi) .img file, in the next screen select System Image and swipe to flash it.
Once it has flashed back out to the main screen and click on Wipe, then select Advanced Wipe, then select System, Repair or change file system, and finally press Resize and swipe to do it, if it fails then re do this step
Then go back into the Install section and flash the opengapps zip file and after that the magisk zip file
Now you can reboot to system (might take a couple minutes) and set up the phone.
If you notice it is running slowly go into settings > Phh treble settings (might have to force close app once for it to appear) > Misc Settings > Force FPS > and select the 120.00001 at the bottom (top numbers are 1080p and bottom numbers are 1440p)
Finally, to pass safetynet:
Head into magisk manager, go to its settings and enable Hide Magisk, then call it Manager and allow it to reinstall itself, after that enable Magisk Hide in the settings aswell (hide your banking apps with this or any game that wont boot due to ROOT)
Then go into the magisk downloads section and search for the ArCore module, install this, reboot and your safetynet will pass on a gsi
This is my first xda post so my formatting may be bad but i hope it can help some people if you have any questions drop a comment and please like the post if it helped you for more people to see it.
Have a good day
Click to expand...
Click to collapse
Thank you excellent post just what I needed.
eedwin101 said:
Thank you excellent post just what I needed.
Click to expand...
Click to collapse
I'm glad it helped you
Usyless said:
I'm glad it helped you
Click to expand...
Click to collapse
If you don't mind what other GSI ROMs have you tried that worked well with this phone I am particularly interested in the Google pixel Android 11. Thanks again you have extended the life of this phone for me.
eedwin101 said:
If you don't mind what other GSI ROMs have you tried that worked well with this phone I am particularly interested in the Google pixel Android 11. Thanks again you have extended the life of this phone for me.
Click to expand...
Click to collapse
I know that phhussons AOSP works on this phone with no issues aswell, you might have to use securize to get safety net to pass tho.
android 11 will boot on this phone however iirc you won't be able to hear and other people won't hear you in phone calls.
havoc gsis I believe works but I haven't tested it and I have only heard of one person using it.
BLISS/LOSQ/CAOS don't work on this phone at all.
and after that I don't think there really is many more GSIs that work as they just won't boot for bizarre reasons
How about text messaging. Currently i have not been able to get SMS to work with any GSI on Android 10. Are you able to send and receive text messages? Did you have to do anything to get it working? If so, let me know because i have been having a heck of a time with it.
_Sherrif said:
How about text messaging. Currently i have not been able to get SMS to work with any GSI on Android 10. Are you able to send and receive text messages? Did you have to do anything to get it working? If so, let me know because i have been having a heck of a time with it.
Click to expand...
Click to collapse
oh this issue... are you on T-Mobile by any chance as if you are there is no fix yet and you will have to wait for official lineageOS.
I am on three (UK) and everything works perfectly.
Usyless said:
oh this issue... are you on T-Mobile by any chance as if you are there is no fix yet and you will have to wait for official lineageOS.
I am on three (UK) and everything works perfectly.
Click to expand...
Click to collapse
No AT&T.
_Sherrif said:
No AT&T.
Click to expand...
Click to collapse
you might be able to use this fix (it's a magisk module) as it is made for AT&T https://t.me/razer_phone/14202
its called a volte fix but it should help with sms, if it doesn't work you can just remove the module, reboot then delete some qualcomm.ims app (should be shown in your app list)
_Sherrif said:
No AT&T.
Click to expand...
Click to collapse
or you could try this: https://t.me/razer_phone/12949
install instructions shown in the message
Usyless said:
you might be able to use this fix (it's a magisk module) as it is made for AT&T https://t.me/razer_phone/14202
its called a volte fix but it should help with sms, if it doesn't work you can just remove the module, reboot then delete some qualcomm.ims app (should be shown in your app list)
Click to expand...
Click to collapse
Aight! Definitely worth a try. Tried everything else.
Thank you!
Thanks!! Excellente guide, very important your note : "I recommend you connect it to a USB 2.0 port", with usb 3 doesn't work bootloader commands.
frannet said:
Thanks!! Excellente guide, very important your note : "I recommend you connect it to a USB 2.0 port", with usb 3 doesn't work bootloader commands.
Click to expand...
Click to collapse
Thanks
It doesn't necessarily not work with usb 3.0, for some people (and for me) it works with a usb 3.0 port however for a lot of people they have issues with it.
I will add it tho.
Usyless said:
Thanks
It doesn't necessarily not work with usb 3.0, for some people (and for me) it works with a usb 3.0 port however for a lot of people they have issues with it.
I will add it tho.
Click to expand...
Click to collapse
It's strange. With my razer blade it has not worked (usb 3) but with a Dell Precision with a one port usb 2, work fine. I was going crazy.
frannet said:
It's strange. With my razer blade it has not worked (usb 3) but with a Dell Precision with a one port usb 2, work fine. I was going crazy.
Click to expand...
Click to collapse
Yeah I remember I helped somebody else root their phone and it didn't work with their razer blade either, they had to use some very old laptop.
Usyless said:
Yeah I remember I helped somebody else root their phone and it didn't work with their razer blade either, they had to use some very old laptop.
Click to expand...
Click to collapse
Guys, sorry for the off-topic, is available the dark mode for razer menu? i can't find it
frannet said:
Guys, sorry for the off-topic, is available the dark mode for razer menu? i can't find it
Click to expand...
Click to collapse
What do you mean razer menu? if you mean settings then it's a MAYBE.
on a gsi, dark mode is available
on stock android 9 it is possible. you need to use smali patcher to enable signature spoofing and then use swift theme installer alpha (substratum themes won't theme the settings)(you need to contact the developer to get the alpha version as others wont work)
Usyless said:
What do you mean razer menu? if you mean settings then it's a MAYBE.
on a gsi, dark mode is available
on stock android 9 it is possible. you need to use smali patcher to enable signature spoofing and then use swift theme installer alpha (substratum themes won't theme the settings)(you need to contact the developer to get the alpha version as others wont work)
Click to expand...
Click to collapse
Yeah I talk about the settings menu. I thought dark mode was available for all android versions ??
frannet said:
Yeah I talk about the settings menu. I thought dark mode was available for all android versions ?
Click to expand...
Click to collapse
yeah tbh idek, all the android fanboys were saying at how long it took apple to make a dark mode but it was implemented in android 10 later than ios 12 I swear ?
but as you are rooted you should be able to get a dark mode, just do as I said with smali patcher and the swift installer alpha
i
Usyless said:
yeah tbh idek, all the android fanboys were saying at how long it took apple to make a dark mode but it was implemented in android 10 later than ios 12 I swear ?
but as you are rooted you should be able to get a dark mode, just do as I said with smali patcher and the swift installer alpha
Click to expand...
Click to collapse
Hahaha, yeah, If I'm honest, dark mode in iOS work fine, very fine, normally I use my iPhone 11 and I play with android devices for.. for play with the OS and develoment OS, and as second andriods phone for maybe.... I go to check the gsi mode, thanks guy!!

Categories

Resources