Hi guys!
I'm from Brazil and in the last two days I was reading about the Android 9 Pie update to our Mi A2.
I also read that today it started to roll out to India and some European countries.
For curiosity I installed ExpressVPN, conected to an Holland server and tried to download the OTA. It worked flawlessly.
I flashed via fastboot the Magisk patched boot of 10.0.1 build and got the Magisk also working flawlessly.
For the Camera2 API, I just edited the Magisk module and added the line "persist.vendor.camera.HAL3.enabled=1". Then I installed it through Magisk module screen. It also worked.
These are the steps I did:
1 - Obviously you will need to be on Android 9 Pie
(Try to download the OTA via VPN or wait to get it in your country)
2 - Download this file and extract it: https: // drive.google.com/open?id=1b9jRc1gZuPJatds5RkuCiJtuE7UCH5wh
(Remove the spaces)
3 - Turn your phone off and boot it in Fastboot Mode by pressing and holding Power + Vol Down and then, plug into the USB;
4 - In the extracted files, open the folder "Plataform Tools" and then open the Power Shell window.
(Inside this folder I added the original "boot.img" and the "patched_boot.img", all from 10.0.1 build)
5 - In PowerShell, just type: fastboot boot patched_boot.img
(It should boot with Magisk installed)
6 - Open Magisk, tap Install and chose to install directly. Reboot
(It will prevent Magisk get uninstalled after reboot)
7 - Transfer the files "Camera 2 API Enabler - Pie.zip" and "Google Camera - 5.1.018 Arnova8G2 8.3b1 (Pie).apk" to your phone memory.
8 - Open Magisk, go to "Modules", then tap the yellow buttom, search for the "Camera 2 API Enabler - Pie.zip" file and then install it. Reboot
9 - Once the phone rebooted, install the "Google Camera - 5.1.018 Arnova8G2 8.3b1 (Pie).apk".
(Go to Developer Options and unchek "camera.enable_micro", so you can use 5MP on front camera)
10 - Done! You're now on Android Pie with Magisk and Google Camera
Ricardo Guariento said:
Hi guys!
I'm from Brazil and in the last two days I was reading about the Android 9 Pie update to our Mi A2.
I also read that today it started to roll out to India and some European countries.
For curiosity I installed ExpressVPN, conected to an Holland server and tried to download the OTA. It worked flawlessly.
I flashed via fastboot the Magisk patched boot of 10.0.1 build and got the Magisk also working flawlessly.
For the Camera2 API, I just edited the Magisk module and added the line "persist.vendor.camera.HAL3.enabled=1". Then I installed it through Magisk module screen. It also worked.
These are the steps I did:
1 - Obviously you will need to be on Android 9 Pie
(Try to download the OTA via VPN or wait to get it in your country)
2 - Download this file and extract it: https: // drive.google.com/open?id=1b9jRc1gZuPJatds5RkuCiJtuE7UCH5wh
(Remove the spaces)
3 - Turn your phone off and boot it in Fastboot Mode by pressing and holding Power + Vol Down and then, plug into the USB;
4 - In the extracted files, open the folder "Plataform Tools" and then open the Power Shell window.
(Inside this folder I added the original "boot.img" and the "patched_boot.img", all from 10.0.1 build)
5 - In PowerShell, just type: fastboot boot patched_boot.img
(It should boot with Magisk installed)
6 - Open Magisk, tap Install and chose to install directly. Reboot
(It will prevent Magisk get uninstalled after reboot)
7 - Transfer the files "Camera 2 API Enabler - Pie.zip" and "Google Camera - 5.1.018 Arnova8G2 8.3b1 (Pie).apk" to your phone memory.
8 - Open Magisk, go to "Modules", then tap the yellow buttom, search for the "Camera 2 API Enabler - Pie.zip" file and then install it. Reboot
9 - Once the phone rebooted, install the "Google Camera - 5.1.018 Arnova8G2 8.3b1 (Pie).apk".
(Frontal camera will only work with 3MP)
10 - Done! You're now on Android Pie with Magisk and Google Camera
Click to expand...
Click to collapse
I downloaded ExpressVPN and changed to Holland, I still don't get the update.
Yepi69 said:
I downloaded ExpressVPN and changed to Holland, I still don't get the update.
Click to expand...
Click to collapse
I really don't know why I managed to get this in the first try.
Try to follow this (steps made by users that got it)
-Remove SIM card;
-Reset to factory state;
-Start the initial configuration;
-Choose Nederlands;
-Don't log-in in Google Account;
-Don't activate GPS when asked;
-Once phone starts, download ExpressVPN;
-Choose to use it as trial;
-Choose Holland/Nederlands server;
-Try the OTA.
Amigo, tem que ser Power Shell mesmo? Aqui me dá opção do Prompt de comando apenas.
OTA
After using this method can I update normally without VPN?
Ricardo Guariento said:
I really don't know why I managed to get this in the first try.
Try to follow this (steps made by users that got it)
-Remove SIM card;
-Reset to factory state;
-Start the initial configuration;
-Choose Nederlands;
-Don't log-in in Google Account;
-Don't activate GPS when asked;
-Once phone starts, download ExpressVPN;
-Choose to use it as trial;
-Choose Holland/Nederlands server;
-Try the OTA.
Click to expand...
Click to collapse
Ricardo Guariento said:
I really don't know why I managed to get this in the first try.
Try to follow this (steps made by users that got it)
-Remove SIM card;
-Reset to factory state;
-Start the initial configuration;
-Choose Nederlands;
-Don't log-in in Google Account;
-Don't activate GPS when asked;
-Once phone starts, download ExpressVPN;
-Choose to use it as trial;
-Choose Holland/Nederlands server;
-Try the OTA.
Click to expand...
Click to collapse
This one worked like a charm, it is downloading now.
Ricardo Guariento said:
I really don't know why I managed to get this in the first try.
Try to follow this (steps made by users that got it)
-Remove SIM card;
-Reset to factory state;
-Start the initial configuration;
-Choose Nederlands;
-Don't log-in in Google Account;
-Don't activate GPS when asked;
-Once phone starts, download ExpressVPN;
-Choose to use it as trial;
-Choose Holland/Nederlands server;
-Try the OTA.
Click to expand...
Click to collapse
It worked flawlessly, damn you Brazilians and your ''Brasileirices'' kkkkk
Hmm After doing this, will I loose ota update?
Ricardo Guariento said:
I really don't know why I managed to get this in the first try.
Try to follow this (steps made by users that got it)
-Remove SIM card;
-Reset to factory state;
-Start the initial configuration;
-Choose Nederlands;
-Don't log-in in Google Account;
-Don't activate GPS when asked;
-Once phone starts, download ExpressVPN;
-Choose to use it as trial;
-Choose Holland/Nederlands server;
-Try the OTA.
Click to expand...
Click to collapse
Duude, big thanks to you, worked for me too. Only I used Nord VPN, as Express said that Trial is not available.
You've made my Day.
Works the download boot in reboot, bootlop 9 times, and starts and says "couldn't update".
Ricardo Guariento said:
Hi guys!
I'm from Brazil and in the last two days I was reading about the Android 9 Pie update to our Mi A2.
I also read that today it started to roll out to India and some European countries.
For curiosity I installed ExpressVPN, conected to an Holland server and tried to download the OTA. It worked flawlessly.
I flashed via fastboot the Magisk patched boot of 10.0.1 build and got the Magisk also working flawlessly.
For the Camera2 API, I just edited the Magisk module and added the line "persist.vendor.camera.HAL3.enabled=1". Then I installed it through Magisk module screen. It also worked.
These are the steps I did:
1 - Obviously you will need to be on Android 9 Pie
(Try to download the OTA via VPN or wait to get it in your country)
2 - Download this file and extract it: https: // drive.google.com/open?id=1b9jRc1gZuPJatds5RkuCiJtuE7UCH5wh
(Remove the spaces)
3 - Turn your phone off and boot it in Fastboot Mode by pressing and holding Power + Vol Down and then, plug into the USB;
4 - In the extracted files, open the folder "Plataform Tools" and then open the Power Shell window.
(Inside this folder I added the original "boot.img" and the "patched_boot.img", all from 10.0.1 build)
5 - In PowerShell, just type: fastboot boot patched_boot.img
(It should boot with Magisk installed)
6 - Open Magisk, tap Install and chose to install directly. Reboot
(It will prevent Magisk get uninstalled after reboot)
7 - Transfer the files "Camera 2 API Enabler - Pie.zip" and "Google Camera - 5.1.018 Arnova8G2 8.3b1 (Pie).apk" to your phone memory.
8 - Open Magisk, go to "Modules", then tap the yellow buttom, search for the "Camera 2 API Enabler - Pie.zip" file and then install it. Reboot
9 - Once the phone rebooted, install the "Google Camera - 5.1.018 Arnova8G2 8.3b1 (Pie).apk".
(Frontal camera will only work with 3MP)
10 - Done! You're now on Android Pie with Magisk and Google Camera
Click to expand...
Click to collapse
will my phone will get ota updates after unlocking bootloader and enabling camera2api ???
miillerjr said:
Amigo, tem que ser Power Shell mesmo? Aqui me dá opção do Prompt de comando apenas.
Click to expand...
Click to collapse
Pode ser, não tem problema.
RubenPCA said:
After using this method can I update normally without VPN?
Click to expand...
Click to collapse
I think so!
You just faked your region, the OTA file will be the same for everyone.
In my case, the phone was fully set up (with Google Account and all the stuffs) and I managed to get the OTA. It has no sign of a Netherlands-like phone at all.
ClownIndo said:
Hmm After doing this, will I loose ota update?
Click to expand...
Click to collapse
No, this is a legit OTA.
You will lose OTA if you screwed up with system partition.
If you install Magisk and use its modules, you still be able to get the OTA.
Hemant Dhillan said:
will my phone will get ota updates after unlocking bootloader and enabling camera2api ???
Click to expand...
Click to collapse
You still get the OTA with unlocked bootloader.
Follow the instructions on OP and you will enable Camera2 API without touch the system partition, so you will have no problem with future OTA's.
Does the ROM remain rooted after following this procedure?
Does rooting with magisk loses ota?
Without editing build prop and other stuffs
Using magisk modules only
bidhu said:
Does the ROM remain rooted after following this procedure?
Click to expand...
Click to collapse
Follow all the steps and you will be on Pie, with Magisk and GCam.
johnsci911 said:
Does rooting with magisk loses ota?
Without editing build prop and other stuffs
Using magisk modules only
Click to expand...
Click to collapse
If you use Magisk Modules you will be able to get OTA's.
do i need to have bootloader unlocked for this?
Related
I am making this tutorial as I have had multiple versions of the LG LTE Leon and have used many firmware versions. I have created a stable method that has the least issues as I have had trouble with the latest firmware (MS34510f) disabling my root privileges. I have created a MEGA account specifically for all of the files necessary to complete this operation and have your device run smoothly. So, please follow my instructions exactly as stated and you should not have any issues. THIS PROCESS WILL REMOVE ALL DATA NOT SYNCED, DO READ BELOW NOTES IT IS VERY BENEFICIAL
Important Notes:
+This process will wipe all data that is not synced, it is important to ensure that no newer LG process are still on the device. Some might argue to leave data, to that I say good luck keeping your root and tethering without the device becoming suspiciously unstable.
+ I am not GUARANTEEING this will work on every model, but I have had an extremely high success rate with all Leon versions.
+ In this tutorial the process in which I remove Kingroot and replace it with SuperSu is for system stability. I find that most root functions I use seem to not work properly. (Wifi Tether Router and many others). So, I do recommend doing so.
+After the new OS is installed a MetroPCS splash screen will appear even if you do have T-Mobile. DO NOT BE ALARMED this firmware will not limit any functionality you had before, it will even help with tethering functionality.
Tutorial:
Let's Begin.
1. Download the link posted to obtain required files for this tutorial
Link: https://mega.nz/#F!PM4CQRqb!92kgIOnD0ZBY-8HVbtTwGQ
2. Open up LGFlashTool2014.exe
Begin by copying settings posted below, then click "normal flash"
3. Next click the "START" button
4. At this time, I recommend you verify all sync settings are to your liking and that all personal info needed is backed up
a. You have the option to throw all of your personal documents/pictures onto your SD card and removing it appropriately
(Go to: Settings - Storage - [scroll down to] Unmount SD card)
b. Next, navigate to Settings -Backup & reset [leave options default; both checked off] - Factory data reset - reset phone
c. Once reset it will most likely reboot, wipe, and then back to a OS. Now, you will Power Off entirely (make sure it is not plugged in so it will not go to charging mode)
d. Here is where we will hold down the Volume Up button with the phone unplugged from your PC. Then you must plug the USB into your phone.
e. A black screen with white text should post onto your screen, here we will continue to step 6
note: If this screen does not appear please power off and retry step d.
6. Next, follow the posted settings. Make sure to click the "Clear phone Software update Registry" button Then click "OK"
7. A new screen will arrive, and should begin the firmware download process. At this time it will take a few minute to load and should reboot to a fresh OS.
8. With the new OS in place, you can either follow the setup tutorial now or skip through for a later setup.
note: you can now insert your SD card
9. In the tools folder of the folder you downloaded copy the "mrw" folder to the Main Storage folder of your phone
10. Now copy the Kingroot apk to your downloads folder located on the main storage.
11. Go to Settings - About Phone - Software Info
At this time click the build number box a few times until it says you are a developer
12. Hit back until you are at the Setting menu, click on Developer options and check off "Stay Awake" and "Enable OEM Unlock" as well as "USB Debugging"
13. You may now run Kingroot, if it does not install root the first time it should flawlessly install the next.
14. After root is obtained, please go to your home screen and click the "Google Search" widget. Press Update Google Services and let it run. After that has been updated search for terminal emulator and install.
note: If the Play Store is acting fishy and force closing while typing in the search bar do not fret it will be fixed after reboot in further instruction
as an allternative use the jackpal.androidterm-1.0.70-71-minAPI4.apk provided in the "tools" folder
15. Open terminal and in a new window type: Su
16. Allow root usage and at this time type: sh /storage/emulated/0/mrw/root.sh
17. It will run with a few failed messages do not worry it should open SuperSu momentarily
18. Once SuperSu opens up allow it to update binaries using the "NORMAL" option but DO NOT REBOOT YET
19. At this time either download TWRP Manager from the play store or alternatively use the com.jmz.soft.twrpmanager-7.5.1.3-82-minAPI11.apk provided in the tools folder
20. Install and open TWRP Manager. Once opened click on device name and scroll until you see "LG Leon LTE (c50)"
a. Click on Recovery Version to Install and select "twrp-2.8.7.0-c50.img"
b. next click "Install Recovery" and if prompted for verification of install path and for install version select "YES" & "NORMAL"
21. After the TWRP setup is complete it may prompt you to reboot, if not click the arrow in the top left of the TWRP Manager screen and scroll down to "Reboot" and select "Reboot device"
22. After Reboot click TWRP Manager and verify a SuperSu prompt comes up if it hasn't already before the boot
At this point the device should be running smoothly. From here I prefer to do the following steps.
My Personal Setup after new install:
+Personally I like to install use a Root Uninstaller (I use 3C Toolbox Pro) and Uninstall and Backup all MetroPCS BloatWare including the Metro Browser.
+I also access the Hidden Menu by using the Dialer and Dial "2776348*#*"
- I scroll down to ApnUnlock and click to "Unlock APN"
- Then I navigate to Settings -Tethering & networks - Mobile Networks (I check off roaming data) - Access point names
--I then select the top APN and edit APN Type to: default,supl,mms,dun
---I click save from the top right selection, then turn on and off airplane mode
+If you are and Xposed user download "xposed-v79-sdk22-arm.zip","xposed-uninstaller-20150831-arm.zip", and "XposedInstaller_3.0_alpha4.apk" from: http://forum.xda-developers.com/showthread.php?t=3034811
-install the Xposed Installer, then Go to TWRP Manager, use reboot to recovery and from there click install and navigate to the "xposed-v79-sdk22-arm.zip" and install and reboot, it will reboot with a installing screen before your home screen, takes 5 minutes.
+I also use this AMAZING app "Wifi Tether Router", it is the only tethering app I use that works consistently (if you have an unlimited data plan). I get 30mbps up and down, playing many multiplayer games off my PC and PS4 averaging ping as low as 30 ! Setting I use for our device are in a post I created here: http://forum.xda-developers.com/leon/help/unlimited-metropcs-t-mobile-tether-t3290180
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Special Thanks to:
MrW0lf from www.W0lfdroid.com for the Kingroot to SuperSU scrip
Numerous users on the XDA forums I pieced all of this information with
Fabio Grasso for making the amazing Wifi Tether Router
Team Win for being creating an awesome utility that has saved me from numerous bricks creating a stable method
Xposed and the creators of awesome additions such as Lolistat, Lucky Patcher, Max Lock, and SNAPPREFS
Any feedback? Did I do Okay? Questions? Let me know!
Mega link down
The mega link isn't working. Please fix it.
This is the perfect setup for android p, I use this as my daily driver and it has NO issues as of now. I have gone through almost a whole week of testing each rom before I chose this combination and this is super stable IMO.
Steps Followed:
1) Take backup of whole device (Including internal storage)
2) a) If you are on a Non-Treble rom:
- Install factorytovendor.zip (https://androidfilehost.com/?fid=962187416754475515)
- Install treble TWRP recovery img (https://www.androidfilehost.com/?fid=5862345805528044154)
- Reboot to new recovery
- Proceed to step 3
b) If you are already using a Treble rom:
- Proceed to step 3
3) Completely wipe your phone (Including internal storage, I found that this gives the best result)
4) Reboot to recovery (you will get no OS installed screen, slide the icon and do not worry you will reboot to TWRP)
5) Connect your phone to your PC and transfer the following files to the internal storage:
a) CR droid treble ROM (I used this: https://androidfilehost.com/?fid=5862345805528059385)
b) Img file extracted from P-DP5-sGSI-Aonly.zip (you can find it here: https://androidfilehost.com/?fid=5862345805528058112)
c) POST-sGSI_1_v0.14.zip (https://androidfilehost.com/?fid=5862345805528063582)
d) POST-sGSI_2_v0.17.zip (https://androidfilehost.com/?fid=5862345805528063581)
e) POST-sGSI_3_v0.2.zip (https://androidfilehost.com/?fid=5862345805528058103)
f) dp5-lag-fix.zip (https://drive.google.com/drive/folders/1_UOASaZTlclwANdfVPxZVqLoqStOJ2wE)
g) New GPU drivers (https://drive.google.com/drive/folders/1_UOASaZTlclwANdfVPxZVqLoqStOJ2wE)
h) Voltefixforz2.zip (https://drive.google.com/drive/folders/1_UOASaZTlclwANdfVPxZVqLoqStOJ2wE)
i) Gcam (https://drive.google.com/drive/folders/1_UOASaZTlclwANdfVPxZVqLoqStOJ2wE)
j) google play services apk (https://drive.google.com/drive/folders/1_UOASaZTlclwANdfVPxZVqLoqStOJ2wE)
k) AKT profiles apk (https://drive.google.com/drive/folders/1_UOASaZTlclwANdfVPxZVqLoqStOJ2wE)
l) Magisk (https://drive.google.com/drive/folders/1_UOASaZTlclwANdfVPxZVqLoqStOJ2wE)
6) Install crdroid treble rom
7) Install latest GPU drivers
8) flash P-DP5-sGSI-Aonly.img on System partition (choose install image from TWRP and choose img file and choose system image)
9) Mount System and Vendor on TWRP
10) Flash POST-sGSI_1
11) Flash POST-sGSI_2
12) Flash POST-sGSI_3
13) Flash Magisk
14) Mount System and Vendor on TWRP
15) Flash dp5-lag-fix.zip
16) Mount Vendor on TWRP
17) (To prevent reboots to twrp) Go to TWRP Advanced->Terminal, type the following and press enter
echo persist.sys.disable_rescue=true >> /vendor/build.prop
18) Reboot to System
19) let phone rest for 10 minutes (cool down)
20) Install Google Play Services Apk,
21) reboot to recovery
22) Install voltefix.zip
23) reboot to system
24) let phone rest for 10 minutes
25) click on setup from notification tray
26) signin to your google account
27) choose setup fingerprint and choose a pattern
28) on the screen where it asks you to place finger on sensor, leave the screen as it is for about 10 minutes (DO NOT TOUCH THE FINGERPRINT SENSOR RIGHT AWAY)
29) after 10 minutes, try registering your finger print:
a) if it passes, YAY!
b) if it goes back to previous screen, click on continue and try registering (no need to wait for 10 minutes)
c) if it goes to register screen and fails, YAY! you can set it up after the setup is complete (don't worry, it will work)
30) If you are restoring a backup from the cloud, the restore app will stop responding, dont worry. Click on app info and grant all permissions to the app, go back to previous screen and try again, It will work.
31) complete setup and let phone rest for 10-20 minutes.
32) open magisk and let it install updates (it will update twice) and check for safety net
33) install AKT profile apk
34) use balances xana for smooth performance, use xana battery to save some battery
35) install Gcam if any app crashes while accessing camera
ENJOY!!!
girish17m said:
This is the perfect setup for android p, I use this as my daily driver and it has NO issues as of now. I have gone through almost a whole week of testing each rom before I chose this combination and this is super stable IMO.
Steps Followed:
1) Take backup of whole device (Including internal storage)
2) a) If you are on a Non-Treble rom:
- Install factorytovendor.zip (https://androidfilehost.com/?fid=962187416754475515)
- Install treble TWRP recovery img (https://www.androidfilehost.com/?fid=5862345805528044154)
- Reboot to new recovery
- Proceed to step 3
b) If you are already using a Treble rom:
- Proceed to step 3
3) Completely wipe your phone (Including internal storage, I found that this gives the best result)
4) Reboot to recovery (you will get no OS installed screen, slide the icon and do not worry you will reboot to TWRP)
5) Connect your phone to your PC and transfer the following files to the internal storage:
a) CR droid treble ROM (I used this: https://androidfilehost.com/?fid=5862345805528059385)
b) Img file extracted from P-DP5-sGSI-Aonly.zip (you can find it here: https://androidfilehost.com/?fid=5862345805528058112)
c) POST-sGSI_1_v0.14.zip (https://androidfilehost.com/?fid=5862345805528063582)
d) POST-sGSI_2_v0.17.zip (https://androidfilehost.com/?fid=5862345805528063581)
e) POST-sGSI_3_v0.2.zip (https://androidfilehost.com/?fid=5862345805528058103)
f) dp5-lag-fix.zip (https://drive.google.com/drive/folders/1_UOASaZTlclwANdfVPxZVqLoqStOJ2wE)
g) New GPU drivers (https://drive.google.com/drive/folders/1_UOASaZTlclwANdfVPxZVqLoqStOJ2wE)
h) Voltefixforz2.zip (https://drive.google.com/drive/folders/1_UOASaZTlclwANdfVPxZVqLoqStOJ2wE)
i) Gcam (https://drive.google.com/drive/folders/1_UOASaZTlclwANdfVPxZVqLoqStOJ2wE)
j) google play services apk (https://drive.google.com/drive/folders/1_UOASaZTlclwANdfVPxZVqLoqStOJ2wE)
k) AKT profiles apk (https://drive.google.com/drive/folders/1_UOASaZTlclwANdfVPxZVqLoqStOJ2wE)
l) Magisk (https://drive.google.com/drive/folders/1_UOASaZTlclwANdfVPxZVqLoqStOJ2wE)
6) Install crdroid treble rom
7) Install latest GPU drivers
8) flash P-DP5-sGSI-Aonly.img on System partition (choose install image from TWRP and choose img file and choose system)
9) Mount System and Vendor on TWRP
10) Flash POST-sGSI_1
11) Flash POST-sGSI_2
12) Flash POST-sGSI_3
13) Flash Magisk
14) Mount System and Vendor on TWRP
15) Flash dp5-lag-fix.zip
16) Mount Vendor on TWRP
17) (To prevent reboots to twrp) Go to TWRP Advanced->Terminal, type the following and press enter
echo persist.sys.disable_rescue=true >> /vendor/build.prop
18) Reboot to System
19) let phone rest for 10 minutes (cool down)
20) Install Google Play Services Apk,
21) reboot to recovery
22) Install voltefix.zip
23) reboot to system
24) let phone rest for 10 minutes
25) click on setup from notification tray
26) signin to your google account
27) choose setup fingerprint and choose a pattern
28) on the screen where it asks you to place finger on sensor, leave the screen as it is for about 10 minutes (DO NOT TOUCH THE FINGERPRINT SENSOR RIGHT AWAY)
29) after 10 minutes, try registering your finger print:
a) if it passes, YAY!
b) if it goes back to previous screen, click on continue and try registering (no need to wait for 10 minutes)
c) if it goes to register screen and fails, YAY! you can set it up after the setup is complete (don't worry, it will work)
30) If you are restoring a backup from the cloud, the restore app will stop responding, dont worry. Click on app info and grant all permissions to the app, go back to previous screen and try again, It will work.
31) complete setup and let phone rest for 10-20 minutes.
32) open magisk and let it install updates (it will update twice) and check for safety net
33) install AKT profile apk
34) use balances xana for smooth performance, use xana battery to save some battery
35) install Gcam if any app crashes while accessing camera
ENJOY!!!
Click to expand...
Click to collapse
Can I use this new you drivers on nougat, oreo ROM or it is only for P?
Sent from my Zuk Z2 using Tapatalk
cichowlasp said:
Can I use this new you drivers on nougat, oreo ROM or it is only for P?
Sent from my Zuk Z2 using Tapatalk
Click to expand...
Click to collapse
You can use it for any version of android
girish17m said:
6) Install crdroid treble rom
7) Install latest GPU drivers
Click to expand...
Click to collapse
I have flashed latest Havoc os as base ROM and everything except fingerprint is working.
I have not done Step 7. Is it required for casual usage, zero gaming scenario?
Do I need to start again from crdroid now for flashing GPU drivers?
anjath said:
I have flashed latest Havoc os as base ROM and everything except fingerprint is working.
I have not done Step 7. Is it required for casual usage, zero gaming scenario?
Do I need to start again from crdroid now for flashing GPU drivers?
Click to expand...
Click to collapse
I have heard from many people that the latest drivers improves performance significantly, for me I saw a huge boost in smoothness of UI. (I dont game so can't comment on game performance)
What's advantage of new GPU driver?
Can I flash them after setting up the ROM?
Can you please attach benchmark scores in this thread @girish17m
sanketp60 said:
What's advantage of new GPU driver?
Can I flash them after setting up the ROM?
Click to expand...
Click to collapse
You can flash GPU drivers after setting up rom too. Shouldn't break anything (but backup everything just in case).. I have told my take on the advantages already
vvijayk1999 said:
Can you please attach benchmark scores in this thread @girish17m
Click to expand...
Click to collapse
I haven't checked benchmarks(and don't plan to) because this is a port of a developer preview and I don't expect this to break any benchmarks till stable android p is released. You are welcome to try though!
Thank you man for such a detailed and informative post. It is really helpful.
I want to ask how is the battery backup you are getting ?? Is it good / comparable to other oreo ROMs?
DivyanshuJ said:
Thank you man for such a detailed and informative post. It is really helpful.
I want to ask how is the battery backup you are getting ?? Is it good / comparable to other oreo ROMs?
Click to expand...
Click to collapse
Following the exact same steps I mentioned, I'm getting 5-6 hours of SOT (I'm on my 3rd charge cycle) with day to day usage. The phone feels as cool as bootleggers oreo and performs a little better than it (IMO). If you want all the advantages of the AI behind android P (the battery backup only gets better with time due to adaptive battery) and an amazing UI, then go for it.
Unable to Mount system after Step 8....plz help
Nishant Nimbster said:
Unable to Mount system after Step 8....plz help
Click to expand...
Click to collapse
were you on a treble rom before? and are you flashing the IMG file or the zip file?
girish17m said:
were you on a treble rom before? and are you flashing the IMG file or the zip file?
Click to expand...
Click to collapse
Yes I was on treble....and I am flashing the img file.
Nishant Nimbster said:
Yes I was on treble....and I am flashing the img file.
Click to expand...
Click to collapse
what is the error you are getting? you have flashed the gsi img to system, but after that you cant mount system from mount options?
girish17m said:
what is the error you are getting? you have flashed the gsi img to system, but after that you cant mount system from mount options?
Click to expand...
Click to collapse
Exactly!!...Unable to Tick the system option in mount.
Nishant Nimbster said:
Exactly!!...Unable to Tick the system option in mount.
Click to expand...
Click to collapse
that is weird. try wiping everything again, flash the twrp image I have attached in the first page and then follow the guide again. maybe its because you're using a different twrp
girish17m said:
that is weird. try wiping everything again, flash the twrp image I have attached in the first page and then follow the guide again. maybe its because you're using a different twrp
Click to expand...
Click to collapse
I have already flashed that Twrp 2 times....But l will start the process once again.
Nishant Nimbster said:
Exactly!!...Unable to Tick the system option in mount.
Click to expand...
Click to collapse
Try to change filesystem of system to any then wipe system then again change the system to ext4 and wipe
Nishant Nimbster said:
Unable to Mount system after Step 8....plz help
Click to expand...
Click to collapse
Moreover I have seen in guides everywhere, the image is to be flashed to "system image". Can the OP confirm?
Reboot to recovery. That might fix.
Sent from my z2_plus using XDA Labs
[Guide] Root Pixel XL Android 11 (R) Unlock/Lock Bootloader + Install Custom ROMS + Update Magisk/Systemless Root
Introduction
This Guide is for Google Pixel XL owners that want to Install/Flash Custom ROMs, and enjoy the benefits of rooting it. The Guide is divided into three parts: Information, Instructions, and Other.
~ ~ ~ Part I - INFORMATION ~ ~ ~
Disclaimers
I assume no responsibility for the malfunctioning/bricking of your phone.
The order of listed items i.e., Custom Kernels, Custom ROMS, etc. Does not indicate my preference for them. It is your responsibility to do the research before selecting an item.
Prerequisites
A Pixel XL phone with an unlocked bootloader.
An Android 11 (R) Custom ROM(s) (Update(s) 9. below).
A Computer with the latest working SDK Platform-tools r. 34.0.3 installed.
Important Notes:
If you use the Linux or Windows version of SDK Platform- tools r. 34.0.3 you must set the environment variable - See Note(s) for instructions on setting the enviroment Variable
If you have any problems with SDK Platform-tools 34.0.3. You can get SDK Platform-tools 33.0.3 here.
Before installing SDK Platform-tools, check for older versions of fastboot on your computer: Open a Command prompt and type fastboot --version at the prompt. If a adb/fastboot is found delete the folder containing them. Also, check the path environment for paths to them and remove it.
Update Platform Tools, regularly, for optimal performance.
Need Google's USB Drivers for your Pixel Phone?
NEW
"...make a 100% clean install of ANY Magisk version or fork without PC or TWRP."
Magisk General Support / Discussion
This is the place for general support and discussion regarding "Public Releases", which includes both stable and beta releases. All information, including troubleshoot guides and notes, are in the Announcement Thread
forum.xda-developers.com
Displax's latest SafetyNet Fix, a "fork" of kdrag0n safetynet-fix.
Updates
Magisk Alpha - app-release_709f25f6-26101.apk 12 Apr
Magisk Beta - Magisk v26.1.apk 11 Apr
Magisk Alpha
Magisk Canary - app-release_a8c4a33e-26103.apk 23 Jun
Magisk Cygisk - Click Pages 5 for installation Instructions.
Magisk Delta - app-release
Magisk Stable - Magisk v26.1.apk 11 Apr
TWRP - TWRP Android 9 for marlin
Waiting for T.W.R.P. for Android 11 (R). (Q)
SafetyNet - Displax's SafetyNet Fix, v2.4.0-MOD_1.2 14Feb
SDK Platform-tools - r34.0.3 May 22, 2023
Custom Kernels
Google Pixel XL ROMs, Kernels, Recoveries, & Other
ElementalX Kernel Manager
My other guides
Pixel 7 Pro
Pixel 6
Pixel 5
Pixel 4a (5G)
Pixel 4 XL
Pixel 3 XL
Credits/Thanks/Recognitions
@topjohnwu - Magisk
Those I may have, inadvertently, forgotten.
~ ~ ~ Part II - INSTRUCTIONS ~ ~ ~
(The Instructions listed below are not steps, they are individual sets of instructions.)
Open a Command Prompt/Boot Bootloader/Boot Recovery
Open a Command Prompt on Computer
Open File Explorer, click the platform-tools folder ==> click the folder icon (left side of address bar) to highlight it type cmd and press enter.
Open a Powershell Command Prompt on Computer: Open File Explorer, click the platform-tools folder ==> click the folder icon (left side of address bar) to highlight it type powershell and press enter.
Notes:
Enable USB Debugging, on your phone: Settings ==> System ==> Advanced ==> Developer options ==> Scroll down to USB debugging and enable it.
When using the Powershell Command Prompt Commands must be preceeded with ./: i.e, ./fastboot devices
If you do not want to open a Command Prompt every time you want to use the fastboot command, add the path to the Platform-tools folder to Windows environment variables.
Boot fastboot mode (bootloader):
Power off phone, press and hold the power and volume down buttons until you see Start.
Boot Recovery
Power off phone, press and hold the power and volume down buttons until you see Start. Use volume up/down button until you see Recovery mode. Press power button.
Test ADB (Android Debug Bridge)/fastboot
ADB
Enable USB Debugging - Tap Settings > System > About Phone > Developer Options. Enable USB Debugging.
Open a Command Prompt on your computer.
Type this at the prompt to test ADB.
adb version
It should return a version number for ADB.
fastboot
Enable USB Debugging - Tap Settings > System > About Phone > Developer Options. Enable USB Debugging.
Open a Command Prompt on your computer.
Boot Bootloader
Connect the phone to the Computer with USB cord.
Type this at the prompt and press enter to test fastboot.
Code:
fastboot devices
It should return your device serial number.
Unlock Bootloader/Return Phone to Stock/Lock Bootloader
Unlock Bootloader
Backup your data/Internal storage
Activate Developer Options: Tap Settings > System > About Phone > Tap Build Number 7 times or until you see you're a Developer.
Tap back > Developer Options and toogle OEM Unlock on and, toggle USB Debugging on.
Boot Bootloader
Connect the phone to the Computer with USB cord.
Open a Command Prompt on your computer and type fastboot flashing unlock and press enter.
This will erase all user data from the device!
You should see a request for confirmation on your phone, use the volume keys to scroll and the power key to select.
Allow the process to complete and then type fastboot reboot at the Command Prompt and press enter.
When your phone reboots disconnect your usb cable.
Note: After unlocking your bootloader, you'll see a warning: Your device software can't be checked for corruption. Please lock the bootloader. You will see this warning until, you relock the bootloader.
Important: Do not relock your bootloader until you have returned the device to Stock..
Return Phone to Stock
Backup your data/Internal storage
Settings > System > Advanced > Reset Options > Erase all data (factory reset)
Log in
Set up phone
Lock Bootloader
Important: Do not relock your bootloader until you have returned the device to Stock..
Boot bootloader
Open a Command Prompt and type this at the Prompt: fastboot flashing lock
You should see a request for confirmation on your phone, use the volume keys to scroll and the power key to select.
Allow the process to complete, then type this at the Command Prompt: fastboot reboot
Set up your phone.
Enable Developer Options: Settings > System > About phone > Tap Build number 7 times or until you see'You are a Developer. Tap Back > Developer options and toggle OEM Unlock off.
Install/Flash Custom ROM with @badabing2003 PixelFlasher
PixelFlasher, a GUI tool for flashing / updating / rooting / managing Pixel phones. by badabing2003
Install/Update Magisk Modules
Download Modules
Fox Magisk Module Manager Releases
LSposed Releases
Shamiko Releases
Install Modules from Storage
Open Magisk
Tap the Modules icon
Tap Install from storage
Navigate to the folder with the Module you want to install.
Tap the Module to highlite it and tap Select.
After it installs, tap the Disc Icon to save the install log.
Tap Reboot
Install Modules from Fox2Code/FoxMagiskModuleManager
Open Fox2Code/FoxMagiskModuleManager
Tap the Modules icon
Locate the Module you want to install
Tap Install
After it installs, tap the Disc Icon to save the install log.
Tap Reboot
Update Modules
Open Fox2Code/FoxMagiskModuleManager
You, will see the Modules that have Updates.
Tap the Module you want to update.
Tap install.
After it installs, tap the Disc Icon to save the install log.
Tap Reboot
~ ~ ~ Part III - OTHER ~ ~ ~
Custom ROMs for Pixel XL
Need help with a Custom ROM?
If you are you are trying to install or have installed a Custom ROM, read and follow the Installation Instructions in the OP of the Custom ROM thread.
Search the thread of the Custom ROM you are trying to install or have installed for answer(s)/solution(s) to your question(s)/problem(s): If you don't find a answer(s)/solution(s) to your question(s)/problem(s). Post your question(s)/request(s) for help in the Custom ROM thread you are trying to install or have installed.
If you are trying to install a Addon(s) {Custom Kernel, Magisk, etc.} to the Custom ROM you installed: Search the thread of the Custom ROM you installed or the thread of the Addon you want to add to your Custom ROMfor answer(s)/solution(s) to your question(s)/problem(s). If you don't find an answer(s)/solution(s) to your question(s)/problem(s). Post your question(s)/request(s) for help in the Custom ROM or Addon (Custom Kernel, Magisk, etc.) thread.
ROMS
Google Pixel XL ROMs, Kernels, Recoveries, & Other
Other Custom ROMs
[OFFICIAL] LineageOS 18.1 for the Google Pixel XL by npjohnson
[ROM][11.0] crDroid 9.99 [UNOFFICIAL][marlin/sailfish] By blckbear
Themes, Apps, and Mods
Google Pixel XL Themes, Apps, and Mods
Other: TWRP Backup
TWRP Android 9 for marlin
Waiting for T.W.R.P. for Android 11 (R).
Has anyone tried using the current TWRP and Magisk?
I don't think those steps for rooting with canary give us full root, I was able to install adaway, but if i try to use a root uninstaller to remove Chrome (system app) it shows "Rooted, but cannot grant RW permissions on /system"
It seems no app can obtain root access to /System, i tested it with Root Explorer and the "mount /R/W" button does nothing when trying to mount the /System folder.
shiodooru said:
Has anyone tried using the current TWRP and Magisk?
Click to expand...
Click to collapse
Yes. Didn't work, just rebooted twice (I think) then booted directly into android.
Therev86 said:
I don't think those steps for rooting with canary give us full root, I was able to install adaway, but if i try to use a root uninstaller to remove Chrome (system app) it shows "Rooted, but cannot grant RW permissions on /system"
It seems no app can obtain root access to /System, i tested it with Root Explorer and the "mount /R/W" button does nothing when trying to mount the /System folder.
Click to expand...
Click to collapse
I have the same problem with AdAway too. I'm guessing that we don't have write access.
Trylr said:
I have the same problem with AdAway too. I'm guessing that we don't have write access.
Click to expand...
Click to collapse
I got Adaway to work, you have to open Magisk Manager, tap Settings and then tap
"Systemless Hosts" then reboot and run Adaway again
Therev86 said:
I got Adaway to work, you have to open Magisk Manager, tap Settings and then tap
"Systemless Hosts" then reboot and run Adaway again
Click to expand...
Click to collapse
Hey that worked. Thanks.
I have 10 on my phone. I just took the OTA a few hours ago. This may be a bit off topic but I can't get picture to play on Amazon video or Google movies only audio and captions. Hulu YouTube and Netflix work fine.
EDIT: AFTER A RESTART ALL VIDEO APPS WORK FINE. I'M THE dumbass ?
Useless without twrp
There is an installer for TWRP, "twrp-installer-3.3.1-0-marlin.zip" but because it doesn't follow the naming convention for all the previous releases "twrp-pixel-installer-marlin X.X.X" it appears at the bottom of the list of installers instead of the top.
Is anyone having good results with the battery life? It sucks for me.
H0wdy said:
Is anyone having good results with the battery life? It sucks for me.
Click to expand...
Click to collapse
I'm on Android 10, rooted with Magisk and I don't notice any bad battery life. Might be time for a battery replacement. I just got my battery replaced about 2 weeks ago.
Hi
Why the pixel imprint suddenly gone from my pixel xl?
I used your guide to unlock bootloader and get root on Android 10 and it worked perfectly. Thanks.
Trylr said:
I'm on Android 10, rooted with Magisk and I don't notice any bad battery life. Might be time for a battery replacement. I just got my battery replaced about 2 weeks ago.
Click to expand...
Click to collapse
The battery life only got bad after I upgraded, so I doubt it's hardware.
H0wdy said:
The battery life only got bad after I upgraded, so I doubt it's hardware.
Click to expand...
Click to collapse
How long have you been on Android 10? It always takes a few days at least for everything to settle down. More battery usage early.
salpsuc said:
There is an installer for TWRP, "twrp-installer-3.3.1-0-marlin.zip" but because it doesn't follow the naming convention for all the previous releases "twrp-pixel-installer-marlin X.X.X" it appears at the bottom of the list of installers instead of the top.
Click to expand...
Click to collapse
Wait, so that newest version of twrp does work with 10 on pixel XL?
Sent from my Pixel XL using XDA Labs
It works but it cannot decrypt. You will have to remove any passwords/patterns before booting into it
AP2FTW said:
Wait, so that newest version of twrp does work with 10 on pixel XL?
Sent from my Pixel XL using XDA Labs
Click to expand...
Click to collapse
No, sadly we're still waiting. I was just offering a correction.
so i did the magisk patched method but i still don't have root in magisk? i took the boot.img out of the factory image and did it as i was told to...
anything i'm missing?
it's flashing it to boot_a, is it supposed to do something else?
I got bored so I made a HavocOS guide. Enjoy!
I am not responsible for any bad things happening to your device/angry parents because YOU messed your phone up. If it somehow broke after you did this, it's not my problem.
oh yea also I didnt make the OS. this is just a guide.
Downloads in video description.
I wanted to make this quick and simple so here's a video:
----------------------------------------------------------
Written guide:
-
Pt. 0: quick prerequisites that i forgor to write before
-
consider reading through the guide before you do it
make sure oem unlocking is enabled on your phone. if you dont know how to do that uhh here's how:
1. go to settings
2. scroll down to about
3. tap the build number until it asks for your screen lock
4. go to system
5. go to developer options
6. enable oem unlocking.
7. if its grayed out its because your phone is cringe, sorry.
-
Pt. 1: Downloads
-
Download all of these files
Google USB driver Extract with 7z or WinRar.
Platform Tools Click "Download for Windows" and extract with 7z or WinRar.
Stock Firmware Extract with 7z or WinRar.
TWRP/Kernel Don't extract this.
HavocOS Don't extract this.
-
Pt. 2: Drivers
-
How to install Android drivers:
1. Put your phone in fastboot mode (turn off your phone and turn it back on with power button and vol down.)
2. Open Device Manager on your PC.
3. Click on the dropdown for "Other Devices"
4. Find "Android"
5. Double click on "Android"
6. Click on "Update Driver"
7. Click on "Browse my computer for drivers"
8. Click on "Let me pick from a list of available drivers on my computer"
9. Double click on "Show all devices"
10. Click on "Have Disk"
11. Click on "Browse"
12. Find the usb_driver folder that you extracted earlier and in that folder, select android_winusb.inf and hit "Open"
13. Select "Android Bootloader Interface" and it "Next"
14. If there are any warnings, just press "Yes"
Drivers have been installed.
-
Pt. 3: Installing command line tools
-
How to install platform-tools systemwide.
1. Find your platform-tools folder and move it to somewhere where it can stay there forever, E.g. the root folder in your C drive (C:\). I don't recommend putting it on your desktop because that will add useless clutter.
2. Go to your start menu and look up "Environment Variables"
3. Click on "Environment Variables"
4. Scroll down on the bottom; "System Variables" section, find "Path", and double click on it
5. Click on "New"
6. Click on "Browse"
7. Navigate to your "platform-tools" folder
8. Click on platform-tools
9. Click "Ok."
10. Click "Ok."
11. Click "Ok."
12. Click "Ok."
(lol)
oh also i forgot to mention, unlock your bootloader now
steps to do that here:
1. open cmd
2. enter fastboot flashing unlock
3. hit yes on the prompt that appears on your phone
4. you might need to enter fastboot flashing unlock_critical (if cmd gives you an error saying it doesn't exist or something just kinda ignore it, i'm only putting it here just in case)
5. you should be good to continue
-
Pt. 4: The Installation.
-
Installing HavocOS
1. MAKE SURE THAT YOUR PHONE IS IN FASTBOOT MODE.
2. Open aura-p-release-3201
3. Run flash_all.bat (double click on it)
4. Wait until it finishes running.
5. As soon as it closes and your phone screen turns black, immediately hold the power and volume down buttons and enter fastboot mode.
6. Open Command Prompt (CMD)
7. Flash the Kernel by typing fastboot flash boot <boot.img> and replace <boot.img> with the file path to your boot.img file. (Tip: you can drag the file into CMD to put in the file path.)
8. Flash HavocOS by typing fastboot flash system <HavocOS PHH.img> and replace <HavocOS PHH.img> with the file path to the HavocOS PHH.img file. Ignore the errors.
9. Wait until everything finishes and unplug your phone (if you want to)
10. Use volume buttons to go down to "Recovery Mode"
11. Select "Recovery Mode" with your power button. (Tip: double tap the power button to get past the bootloader unlocked warning screen)
12. Swipe to allow modifications
13. Tap on wipe > format data > type "yes" > press "OK"
14. Press back until you get to the TWRP home screen
15. Tap "Reboot" > tap "Recovery" > then tap "Do not install"
16. Wait until it reboots back into recovery.
17. Follow steps 12-14, then hit "Reboot" > then hit "System"
If it doesn't boot into the setup screen, open fastboot mode and format the data once more, then reboot into system.
----------------------------------------------------------
and here are the easiest and also some of the dumbest GSI root instructions ever:
Download Magisk-v21.4.zip
1. Open TWRP and mount everything. (except for USB storage. micro sd card is optional.)
2. Put Magisk-v21.4.zip on your phone (in file explorer)
3. Open the TWRP file manager (advanced > file manager)
4. Navigate to /system/system/bin
5. Find resetprop and tap on it
6. Rename resetprop to phh-resetprop
7. tap on install
8. install Magisk-v21.4.zip
9. Boot up your phone, open magisk, and update everything.
10. Turn on MagiskHide in the settings of magisk manager.
11. Profit$ (lol)
SafetyNet should pass if you did it properly (I would find it kinda funny if you managed to mess up those easy instructions)
Alright guys, have a nice day!
p.s: I might begin work on a user-friendly auto-installer soon.
Thank you OP, finally got Android 11 fully working including SafetyNet, camera/flashlight, Bluetooth and SD card. The only tricky part was the Bluetooth - got help from this comment - needed to delete both APKs before first boot.
pigjr said:
Thank you OP, finally got Android 11 fully working including SafetyNet, camera/flashlight, Bluetooth and SD card. The only tricky part was the Bluetooth - got help from this comment - needed to delete both APKs before first boot.
Click to expand...
Click to collapse
yea i forgot to include that part. I thought you didn't need to do that before boot tho. I managed to get BT working by deleting BluetoothResCommon.apk and renaming RazerAuraBluetoothRes.apk to BluetoothResCommon.apk.
all the links for 4.1 are dead you got any bro?
Cylow333 said:
all the links for 4.1 are dead you got any bro?
Click to expand...
Click to collapse
There is a mirror in the description of the video.
Dude you are a different type of god thank you so much I can finally sleep now.
Quick question: is this version of Havoc have no issues with receiving SMS? Previous versions of it cause this annoying issue that after few minutes from restart SMS stop arriving to phone and the only fix at that time was just to restart it. Tried some patches from telegram but basically end up with no fix.
drumiec said:
Quick question: is this version of Havoc have no issues with receiving SMS? Previous versions of it cause this annoying issue that after few minutes from restart SMS stop arriving to phone and the only fix at that time was just to restart it. Tried some patches from telegram but basically end up with no fix.
Click to expand...
Click to collapse
not that i know of
Uhh is there anyway to edit the buildprop without getting a bootloop? I tried with buildprop editor and i vant see any of the info if i change something and when i restart it goes in a loop.
Cylow333 said:
Uhh is there anyway to edit the buildprop without getting a bootloop? I tried with buildprop editor and i vant see any of the info if i change something and when i restart it goes in a loop.
Click to expand...
Click to collapse
I have never tried editing the buildprop so I don't know, sorry.
Marcos8760 said:
yea i forgot to include that part. I thought you didn't need to do that before boot tho. I managed to get BT working by deleting BluetoothResCommon.apk and renaming RazerAuraBluetoothRes.apk to BluetoothResCommon.apk.
Click to expand...
Click to collapse
So do I have to reflash in order to fix Bluetooth?
Sadly my main reason for losing is that I'm running into a mako issue with HavocOS. systenUI keeps crashing whenever the on-screen keyboard is displayed. This happens with the default installed gBoard and SwiftKey beta. It also crashes when the screen goes to sleep. I followed all the steps from the video. Only thing I did besides that was restore a backup from Google Drive so I didn't have to manually install everything. I'm sadly out of ideas and might have to switch to normal GSI or back to LineageOS so the device is stable enough to use.
gumbyx84 said:
So do I have to reflash in order to fix Bluetooth?
Sadly my main reason for losing is that I'm running into a mako issue with HavocOS. systenUI keeps crashing whenever the on-screen keyboard is displayed. This happens with the default installed gBoard and SwiftKey beta. It also crashes when the screen goes to sleep. I followed all the steps from the video. Only thing I did besides that was restore a backup from Google Drive so I didn't have to manually install everything. I'm sadly out of ideas and might have to switch to normal GSI or back to LineageOS so the device is stable enough to use.
Click to expand...
Click to collapse
I have never had to fix BT before first boot.
And also, that's kinda weird. I've never had any systemUI crashes with the keyboard, although i have had a weird bug where the entire OS crashes and it reboots into a state where its impossible to use. however, to fix that, i just reflashed and i never encountered the bug again. your install might have been a lemon. maybe install again?
Marcos8760 said:
I have never had to fix BT before first boot.
And also, that's kinda weird. I've never had any systemUI crashes with the keyboard, although i have had a weird bug where the entire OS crashes and it reboots into a state where its impossible to use. however, to fix that, i just reflashed and i never encountered the bug again. your install might have been a lemon. maybe install again?
Click to expand...
Click to collapse
Do I need to flash back to stock or can I do a "dirty" reflash?
gumbyx84 said:
Do I need to flash back to stock or can I do a "dirty" reflash?
Click to expand...
Click to collapse
Eh. I think flashing back to stock might be better.
Marcos8760 said:
Eh. I think flashing back to stock might be better.
Click to expand...
Click to collapse
Trying out now. I'm at work so I don't have my laptop with me. Trying it work a live CD image lol
Update: It's been sitting on the "Powered by Android" screen for 20+ minutes. I already tried a data wipe from the bootloader. I can get into TWRP. I'm going to give it another 10 minutes then try flashing HavocOS again.
Update 2: I've made progress. Now it's stick on the HavocOS loading screen. It's been like that for 20+ minutes. Tried the bootloader data format.
Update 3: I was finally able to flash HavocOS at home without issue. I flashed Magisk before even booting into the OS and it seems to be working ok. After it rebooted to complete the setup/install, the issue came back. I'm just flashing HavocOS without Magisk for now.
Hello,
Thank you for the guide, i have installed the android 11 successfully, but i got a startup loup when i tried to restart the phone (in a normal way ), the havoc logo started up then the password, but it just louping between them..
Please help
Hello I did exactly what you said for magisk I updated everything but the problem is that I don't have access to superuser and nor to the module in magisk in my razer phone 2 with havocOS.
Do you have a solution to this problem thank you ?
W.I.P. - UPDATED on 21.05.2023Assumptions of reader,PRIOR to following this guide:
You understand that you follow anything seen here of your own volition.
Your Bootloader is unlocked.
Able to troubleshoot your device, setups, installs, unlocking, rooting, etc.
Capable of searching on XDA/Github/Telegram/Google for missing information and files.
This guide outlines the process I used to clean install the following:TWRP-3.7.0_12-v7.8_A13_FBEv2-lmi-skkk.img
CrDroid v9.5/ A13/build-02.06.2023
NikGapps-T FULL package, 09.06.2023
ROOT/Magisk DELTA - fdac22ba-delta(25210)
Pass SafetyNet Basic Attestation - Universal SafetyNet Fix 2.4.0 by kdrag0n
LSPosed v1.8.6 (6712) ZYGISK and Hide My Apps List
Test root detection, Pass SafetyNet Basic Attestation
PIXEL LAUNCHER ISSUE;
On CrDroid ROMs :
Due to CrDroid Home/Stock Launcher having its own QuickStep built-in, it cannot be installed alongside Pixel Launcher, nor vice versa.
This concerns the Pixel Launcher included in some NikGApps package AND the Pixel Launcher addon.
Therefore, you/we can ONLY use CrDroid Home/Stock Launcher OR Pixel Launcher,
The Pixel Launcher section of your nikgapps.config should look like this to avoid any issues with CrDroid Home Launcher ;
PixelLauncher=1
# Pixel Launcher set to 0 to skip its installation over CrDroid Home Launcher
PixelLauncher=0
DevicePersonalizationServices=1
QuickAccessWallet=1
GoogleWallpaper=1
SettingsServices=1
PrivateComputeServices=1
#Pixel Themes set to 0 to avoid issues with CrDroid Home Launcher
PixelThemes=0
#For Live Captions to work, the follwing must be enabled, i.e. set to 1.
DevicePersonalizationServices=1
SettingsServices=1
PrivateComputeServices=1
More details on using the NikGApps config file can be found here.
A Clean Flashing/Install Environment:
We first need to establish a clean environment.
Opinions may vary, but I will be clean flashing a stock MIUI ROM via fastboot.
For this, I will be using two software programs and one file;
Mi Flash Tool v20220507, or later, from here https://xiaomitools.com/mi-flash-tool-ru/
7-zip file archiver, from here, 7-zip
You will also need the stock MIUI Rom from here; https://xiaomifirmwareupdater.com/miui/lmi/stable
- make sure the details are as below ;
Device: POCO F2 Pro Global
Codename: lmi
Version: V14.0.1.0.SJKMIXM
Branch: Stable
Type: Fastboot
Size: 5.1 GB
Release Date: 2023-03-17
Package Name: lmi_global_images_V14.0.1.0.SJKMIXM_20230317.0000.00_12.0_global_15e376c371.tgz
This is a ".tgz" file and will need to be extracted to obtain the ".tar" file.
Which will then have to be extracted to obtain the images' folder.
The images' folder should be placed on the Desktop, as that is the default working folder now for the Mi Flash Tool.
Note: It is entirely up to you to use the RECOVERY version instead of the FASTBOOT version, but please remember if you did, in the event that you encounter issues, it may help you to troubleshoot accordingly.
Now we can proceed.
The Flashing Process:
An excellent guide on using the tool made by @NOSS8 can be found here; https://forum.xda-developers.com/t/miflash-guide-use-xiaomi-flash-tool.4262425/01. Extract the Mi Flash Tool archive.
02. Open the Mi Flash Tool folder and create a folder called 'log'.
03. This is to avoid an error when we have to authenticate our Mi account.
04. Open the Mi Flash Tool app and select 'Authentication'.
05. Log in with the same credentials you used for your Xiaomi/Mi account and/or to unlock your Bootloader.
06. Select English.
07. Enter your details and wait for the "Login successful[CN]" message, like below, then MINIMISE that window.
Spoiler: Login successful [CN]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
08. Select "Driver" to install drivers to communicate with your device.
09. Select "Configuration", in the "Configuration" window, nothing should be selected/written/filled/checked.
10. In the 'Check Point' section, if you see, "\$fastboot -s .* lock" be sure to delete it and don't leave any blank spaces.
Spoiler: Check Point
11. Click "OK".
12. Select "select" and select your images' folder.
Spoiler: images' folder
13. On your device, Developer Settings/Options must be enabled.
14. Place your device into fastboot mode.
15. Now connect your device to your computer with your data cable.
16. Verify the device is connected by using "fastboot devices" in a terminal window.
Upon confirmation, we can proceed.
17. Verify that at the bottom of the Mi Flash Tool Window that you have selected the "clean all" radio button and that to its right you can see "flash_all.bat" in the drop-down box.
Spoiler: clean all radio button
18. Now you can click, "flash" and the process will begin.
Spoiler: flash result; success
19. Eventually you will see 'success' highlighted in green under "result", shortly after which your device should reboot to system for the first time, in this order; POCO boot logo > MIUI boot animation > Activation screen..
20. It should ask you to connect to a Wi-Fi network, so you can activate the device.
21. Tap "Open Wi-Fi Settings", select the network of your choosing, enter the password, under Advanced Options when entering the password, I usually select Device/Stable MAC because I have had issues with Randomised MAC in the past.
22. Confirm your connection then back out to the main screen to "Activate this device", enter your login details.
23. The MIUI setup process will begin, agree/yes to everything EXCEPT restoring your Google account.
Skip/Ignore the account restoration process as it is a waste of time, we're here for Custom ROMs mate.
DO NOT PUT A PIN/SCHEMA/PASSWORD.
24. Eventually you'll get to the Home Screen, where you'll see the Settings icon in the middle, open it.
25. Now go, Settings > About Phone > All specs > Tap MIUI version until it says Developer Settings unlock, normally 7 taps I think.
26. Now go, Settings > Additional Settings > (scroll to bottom) Developer options > enable USB Debugging, I'm aware etc., 10 sec countdown, tap OK.
Done, now we can get to flashing a Custom Recovery and then our Custom ROM.
27. Reboot your device to fastboot, "adb reboot bootloader" or any other method.
28. Locate your recovery image (TWRP-3.7.0_12-v7.8_A13_FBEv2-lmi-skkk.img) and, using a terminal window, 'cd' to the directory. Then use "fastboot flash recovery twrp.img" to flash your recovery. After which, use "fastboot reboot recovery" to boot your recovery.
29. Assuming TWRP, under the "Wipe" category, perform a Factory Reset" then Wipe Data, after which, REBOOT TO RECOVERY.
30. Copy the ROM and NikGApps to the device, flash the ROM, reboot to recovery, flash NikGApps, reboot to recovery, factory rest and format data, reboot to system.
(Some will say this is excessive but from my perspective, it has eliminated many issues I was having when flashing ROMS)
31. Complete your device first boot setup.
So at this point, I will assume you have done as I have and waited to have restored your Google backup, WhatsApp etc.
EDIT; DUE TO A NEWLY RELEASED TWRP, THE MAGISK DELTA APK CAN BE RENAMED TO .ZIP AND FLASHED FROM RECOVERY WITH THE TWRP LINKED AT THE TOP OF THIS THREAD
Spoiler: Deprecated steps
32. Reboot to recovery. Here you will notice that you cannot mount the Data partition. As of the 9th January, 2023 there is no recovery for our device that can decrypt A13 ROMs, so when rooting the device we will be using "adb sideload" to send and flash Magisk.
33. In your recovery (assuming TWRP), go to Advanced > ADB Sideload, don't wipe Dalvik/Cache > Swipe to start ADB Sideload.
34. In a Command Prompt or Terminal window, opened as Administrator, use ADB sideload by entering the command similarly as seen here;
35. Reboot to System > install the Magisk Delta 25.2 delta 6 apk > open the app > ensure that the installed version is "a0b2003b-delta (25206)"
36. Install Magisk Delta by flashing the apk you have renamed to .zip as mentioned above.
36a. Go to Magisk Delta App > Settings and change the following :
Enable DNS over HTTPS
HIDE the Magisk App
Tap on Systemless Hosts once if you want to use an adblocker like AdAway later on.
Enable Zygisk
Enable Bootloop Protection
Enable MagiskHide
REBOOT
37. Now go to > Configure MagiskHide > search for these apps and use these settings;
For Google Play Store, enable it for com.android.vending
For Google Play Services, enable it for com.google.android.gms AND com.google.android.gms.unstable
You can go ahead and add detection apps like AppList Detector, MOMO, TB Checker etc.
38. In Magisk, flash Universal SafetyNet Fix 2.4.0 and Zygisk LSPosed 1.8.5-6649
REBOOT
39. Allow the shortcut of LSPosed to be added to your Home Screen, open LSPosed, tap the Respository button on the bottom-left side and search for and then install Hide My AppsList 3.1.1, tap on the notifcation and enable the app/module in LSPosed, then REBOOT.
40. Open Hide My Applist > Template Manage > Create a blacklist template with whatever name you want, I just use 'Blacklist' > Edit list > Add the Magisk app and Hide My Applist > back out and the changes will be saved.
41. Open Hide My Applist > App Manage > Search and select your detection apps, and Google Play Store and Services. Ensure that you can see the word "Enabled" next to the selected apps' names, open each and Enabled hide, then under Template config, tap "Using 0 templates" and select the Blacklist you just made.
42. Reboot and check your detection apps, they should look like this;
Spoiler: Detection Apps
Great guide, thanks for your hard work.
Can you share a link to delta 6 zip?
Old_grinch said:
Can you share a link to delta 6 zip?
Click to expand...
Click to collapse
Just rename the .apk to .zip and you can flash it.
I don't even own this phone but this guide it's very good.
typo edit:
30. Copy the ROM and GApps to the device, flash the ROM, reboot to recovery, flash GApps, reboot to recovery, factory rest and format data, reboot to system.
(Some will say this is excessive but from my perspective, it has eliminated many issues I was having when flashing ROMS)
Click to expand...
Click to collapse
"factory rest and format data" - "factory *reset and format data"
"Enable MagiskHide
REBOOT
37. Now go to > Configure MagiskHide > search for these apps and use these settings; "
Is this prefered ? I use SuList mode . Am I wrong and shold use "configure MagiskHide" instead ?
"Pass Basic SafetyNet Attestation - Universal SafetyNet Fix 2.4.0 by kdrag0n"
It works correct on Poco F3 but not on Poco F2 Pro (Crdroid). I suggest to use working :
Releases · Displax/safetynet-fix
Google SafetyNet attestation workarounds for Magisk - Displax/safetynet-fix
github.com
Tomek0000 said:
"Enable MagiskHide
REBOOT
37. Now go to > Configure MagiskHide > search for these apps and use these settings; "
Is this prefered ? I use SuList mode . Am I wrong and shold use "configure MagiskHide" instead ?
"Pass Basic SafetyNet Attestation - Universal SafetyNet Fix 2.4.0 by kdrag0n"
It works correct on Poco F3 but not on Poco F2 Pro (Crdroid). I suggest to use working :
Releases · Displax/safetynet-fix
Google SafetyNet attestation workarounds for Magisk - Displax/safetynet-fix
github.com
Click to expand...
Click to collapse
KernelSU and/or SUList will not be implemented in the guide until I start using it.
This SafetyNet fix is no longer needed on CrDroid 9.5 20.05 build, but thank you for this, though, I hope it helps someone if they encounter issues.
OP Updated.
Deleted member 10679719 said:
I don't even own this phone but this guide it's very good.
typo edit:
"factory rest and format data" - "factory *reset and format data"
Click to expand...
Click to collapse
Good looking out, I think I got all the typos, if not most this time around when I updated the guide a little.
Old_grinch said:
Can you share a link to delta 6 zip?
Click to expand...
Click to collapse
Spoiler: Check here
Glad to see the guide updated
Lughsen said:
Glad to see the guide updated
Click to expand...
Click to collapse
You're welcome!
The process outlined can work for many ROMs, but I focus on CrDroid because I use it as my daily driver.
I'll try my best to update it as often as I can (once/twice every two weeks) but for the moment I have exams.
Gonna made a rom installation round.
I'll tell you if the guide works on other roms
With lastest TWRP FBEv2, all roms installed with no issues.
I´m having problems (i hope i will solve it) with the fastboot full rom installation. I think new version on twrp has an option to prevent from installing new recovery checked by default, so brand new miui installation always fails.
On your next update of the guide, maybe you need to point about this
Lughsen said:
With lastest TWRP FBEv2, all roms installed with no issues.
I´m having problems (i hope i will solve it) with the fastboot full rom installation. I think new version on twrp has an option to prevent from installing new recovery checked by default, so brand new miui installation always fails.
On your next update of the guide, maybe you need to point about this
Click to expand...
Click to collapse
Thanks for reminding me about FBEv2, needed to add that in for some time.
I just updated the guide after following the steps, changing/adding only the recent builds of TWRP FBEv2, CrDroid 9.5, NikGapps.
I had no issue at the fastboot clean flash section, using the TWRP linked in the guide.
I require more specificity on the issues related to the fastboot clean flash, so I can reproduce them on my side and write a detailed solution/circumvention into the guide.
Thanks for looking out @Lughsen
lots of unneeded step, i succesfully do it 5x faster than this.
coming from miui13:
ubl, flash latest twrp, reboot reovery
format data, reboot recovery
flash latest fw>rom>nik core>magisk official>reboot system
after boot, open magisk>direct install>reboot
open magisk, install unisafetynetfix>magiskhidepropconf, enable zygisk, reboot
open magisk, deny playstore stuff
all works fine, safetynet passed.
i wonder why you need to torture yourself by going full miui flash and lsposed.