Can I reroot again without losing data? - OnePlus 7 Pro Questions & Answers

Hey guys,
in the past I've been made a root to my phone, and I set it to unroot but did not relock the bootloader.
So - my bootloader is still unlocked.
There is any way that I can return to root device without losing data(without wiping?)?

Unlocking the bootloader is what usually causes a reset of your phone. If you have OEM Unlock still enabled, you should be able to just boot a Recovery (Nebrassy TWRP for OP7P) and install Magisk from there.
Download the latest Magisk apk from the github and rename it from .apk to .zip
Copy the .zip to internal storage
Reboot your phone to bootloader:
Power off
Hold Volume up+down and power button
Connect phone to PC
In bootloader mode and use following command:
Code:
fastboot boot twrp.img
"twrp.img" should be the name of the recovery you downloaded.
In TWRP:
Select Install
Flash Magisk zip
If you want to install the TWRP:
go to Advanced > Flash Current TWRP
Reboot
You should now have Magisk root installed.

Nightmare[ITA] said:
Unlocking the bootloader is what usually causes a reset of your phone. If you have OEM Unlock still enabled, you should be able to just boot a Recovery (Nebrassy TWRP for OP7P) and install Magisk from there.
Download the latest Magisk apk from the github and rename it from .apk to .zip
Copy the .zip to internal storage
Reboot your phone to bootloader:
Power off
Hold Volume up+down and power button
Connect phone to PC
In bootloader mode and use following command:
Code:
fastboot boot twrp.img
"twrp.img" should be the name of the recovery you downloaded.
In TWRP:
Select Install
Flash Magisk zip
If you want to install the TWRP:
go to Advanced > Flash Current TWRP
Reboot
You should now have Magisk root installed.
Click to expand...
Click to collapse
Do you have a tutorial for how to download and install twrp ?

maor23 said:
Do you have a tutorial for how to download and install twrp ?
Click to expand...
Click to collapse
Well, steps 3,4,5 & 7 are the tutorial if you just want to install TWRP. You can find the Nebrassy TWRP here.

Nightmare[ITA] said:
Well, steps 3,4,5 & 7 are the tutorial if you just want to install TWRP. You can find the Nebrassy TWRP here.
Click to expand...
Click to collapse
Thanks, mission completed!
Now, which magisk modules are recommended?

maor23 said:
Thanks, mission completed!
Now, which magisk modules are recommended?
Click to expand...
Click to collapse
Not many these days. Swift module for theming, viper4android, busybox, soundpacks maybe and systemless hosts for adblocking.

Related

[ALTERNATIVE] Root Mi A1 with TWRP Without disabling Ota

As you may imagine this simple guide will show you how to root your device with magisk from twrp recovery.
I know, there is already a guide by jashancheema that shows how to root this device, however it's difficult to update the system once you are rooted. In my opinion the way i'm about to show you is faster and easier.
Disclaimer: I am not responsible for ANY damage done to your phone, act at your own risk.
That's how you can root your phone with magisk and recovery without disabling ota.
1. First download magisk manager and magisk flashable zip from here (official thread)
Install magisk manager and copy the magisk flashable zip somewhere in your device or sd.
2. Download mohancm twrp recovery (recovery-3.2.1-2-oreo) from here (official thread)
NOTE: do not download the installer, you need the .img file bootable from fastboot (recovery-3.2.1-2-oreo.img)
3. Copy recovery-3.2.1-2-oreo.img into the fastboot folder.
4. Enable developer option from in the device, enable OEM unlocking.
5. turn off your device and enter into fastboot mode by holding voume down + power button, then connect your device to the pc.
6. now open fastboot and type this to check the connection, if the terminal return an andress your phone is correctly configured.
Code:
fastboot devices
7. type this from fastboot to unlock your bootloader.
Code:
fastboot oem unlock
8. now type this to boot your recovery (REMEMBER TO COPY THE RECOVERY IMG INTO THE FASTBOOT FOLDER)
Code:
fastboot boot recovery-3.2.1-2-oreo.img
9. once your recovey boot flash the magisk zip and reboot.
NOTE: do not install or flash twrp into your device or you won't be able to update through ota.
---------------------HOW TO UPDATE-----------------------------------------------------------------------------------------------------
When you will receive the update the only thing you need to do is boot twrp, flash magisk unistaller (that you can find here ) and update.
1. type this to boot your recovery (REMEMBER TO COPY THE RECOVERY IMG INTO THE FASTBOOT FOLDER)
Code:
fastboot boot recovery-3.2.1-2-oreo.img
2. flash magisk unistaller from recovey
3. Update your system
4. Repeat the same procedure to root again your device.
If you are italian and you need any help you can find it here, the serious telegram community.
https://t.me/XiaomiMiA1Italia
Special thanks to @samuele94 and @TheRealajeje from the telegram group.
RESERVED
All works!!! :good::good::good::good::good:
WORK
I tried, it works. thank you!
funziona da dio! fantastico! bella guida
Great work!
i already flash twrp on my device, so i cannot install update OTA until i go back to unroot?
@H.A.L. 9000, I'm sorry for my ignorance but I wonder whether the bootloader unlock passage (that'd reset everything) is inescapable after installing an OTA update
Can I install ota with the unlocked bootloader?
Thanks for this I was always confused on how to update the phone after magisk.
Edit: you think it's possible to use a custom kernel with magisk and still maintain ota?
Thank you, the rooting part worked flawlessly. :good: Now waiting for the next OTA to see if that will work well too.
1. USB debugging doesn't have to be allowed?
2. Updating Android can be done with PC only?
I did exactly the same (as nicely outlined in MP) for the last few updates, and can confirm it's working perfectly. I was using this as the 'normal' way failed due to unknown reasons.
This approach does not required a patched boot-image available, so imho it's more robust and reliable than the 'normal' method.
iG0tB0lts said:
Thanks for this I was always confused on how to update the phone after magisk.
Edit: you think it's possible to use a custom kernel with magisk and still maintain ota?
Click to expand...
Click to collapse
+1
Have you found out?
H.A.L. 9000 said:
As you may imagine this simple guide will show you how to root your device with magisk from twrp recovery.
I know, there is already a guide by jashancheema that shows how to root this device, however it's difficult to update the system once you are rooted. In my opinion the way i'm about to show you is faster and easier.
Disclaimer: I am not responsible for ANY damage done to your phone, act at your own risk.
That's how you can root your phone with magisk and recovery without disabling ota.
1. First download magisk manager and magisk flashable zip from here (official thread)
Install magisk manager and copy the magisk flashable zip somewhere in your device or sd.
2. Download mohancm twrp recovery (recovery-3.2.1-2-oreo) from here (official thread)
NOTE: do not download the installer, you need the .img file bootable from fastboot (recovery-3.2.1-2-oreo.img)
3. Copy recovery-3.2.1-2-oreo.img into the fastboot folder.
4. Enable developer option from in the device, enable OEM unlocking.
5. turn off your device and enter into fastboot mode by holding voume down + power button, then connect your device to the pc.
6. now open fastboot and type this to check the connection, if the terminal return an andress your phone is correctly configured.
7. type this from fastboot to unlock your bootloader.
8. now type this to boot your recovery (REMEMBER TO COPY THE RECOVERY IMG INTO THE FASTBOOT FOLDER)
9. once your recovey boot flash the magisk zip and reboot.
NOTE: do not install or flash twrp into your device or you won't be able to update through ota.
---------------------HOW TO UPDATE-----------------------------------------------------------------------------------------------------
When you will receive the update the only thing you need to do is boot twrp, flash magisk unistaller (that you can find here ) and update.
1. type this to boot your recovery (REMEMBER TO COPY THE RECOVERY IMG INTO THE FASTBOOT FOLDER)
2. flash magisk unistaller from recovey
3. Update your system
4. Repeat the same procedure to root again your device.
If you are italian and you need any help you can find it here, the serious telegram community.
https://t.me/XiaomiMiA1Italia
Special thanks to @samuele94 and @TheRealajeje from the telegram group.
Click to expand...
Click to collapse
Can't I just install syst update through twrp?
Rooting Mi A1 using this method worked. But the guide needs updating:
1.You must enable usb debugging
2.You must install magisk manager after unlocking bootloader. Installing it before is useless because unlocking bootloader will wipe all data.
freekarol said:
unlocking bootloader will wipe all data.
Click to expand...
Click to collapse
not till 9.5.11
freekarol said:
Rooting Mi A1 using this method worked. But the guide needs updating:
1.You must enable usb debugging
2.You must install magisk manager after unlocking bootloader. Installing it before is useless because unlocking bootloader will wipe all data.
Click to expand...
Click to collapse
Well, that happened to me.. Total WIPE... So, i decide to stop. But this night i'll try again, after a full backup. For me this is important because i need to use Android Auto, with aamirror.
I do regular backups so it was ok with me. It also should be in the guide as a first step: backup your phone. It seems like the guide is not for beginners... After rooting, you can face two problems:
1. From time to time, Magisk crashes. Just open it again.
2. There will be a camera lag. Installing a Magisk module should solve it(I haven't tried it yet): https://www.youtube.com/watch?v=UqcQKqhL3ok
there is some indication that 'fastboot boot twrp.img' wipes all the data!
Not sure when it started and if there is a way to avoid it - any idea?

Xiaomi Poco F1 [ROOT, Unlock Bootloader, with STOCK RECOVERY, OTA UPDATES etc!]

WARNING: Before attempting to root your device, do note that by unlocking your bootloader and modifying your device with root, ROMs, etc... you are NOT risking voiding your warranty!
I am NOT responsible for what you do to your device either, so follow these instructions at your own risk. Make sure you know what you're doing, it's best to understand the process rather than just copy and paste commands and such.
Hello!
Some people asked me how to root Xiaomi Pocophone F1 with magisk and to keep stock recovery on it, to recive OTA updates etc. so this is the complete guide
Sorry for all language misstakes, my english is not perfect, so please, if you have found anything, inform me via private message, so I can edit the post and correct it.
1. Unlock Bootloader Unlocking Bootloader Explanation and Troubleshooting for NEWBIES | thanks to @madsponge26
2. TWRP boot (not flashing, you will keep your stock recovery)
3. Pull stock boot.img from your phone (method II)
4. Boot.img patching (Patching stock boot.img with magisk manager app) (method II)
5. Patched magisk boot.img flashing (method II)
Tools and Information we need
USB Driver
Minimal ADB Fastboot
TWRP 3.2.3-x Unofficial with working DECRYPTION 12/10/2018
Magisk Manager App
How to Unlock Bootloader
Back up Files (Internal Storage)
1. Go to Settings > About phone
2. Find the MIUI Version and press 6-8 times
3. Go to Additional Settings > Developers Options
4. Press and check USB Debugging and OEM Unlocking
5. Go to Settings > Developers Options > Mi Unlock Status > Add Account & Device and log in with your MI account.
6. Go to MIUI Unlock website
7. Login to your MI account
8. You should be able to download Mi Unlock and unlock bootloader without filling any forms or applying for permissions (I was able to do that this way)
- if not, then apply and wait.
*Install Xiaomi USB Drivers from link above or by Mi Unlock app settings option.*
In MI Unlock app:
1. Shut down your phone manually, and hold Volume down key and Power button to enter Fastboot mode.
2. Connect your phone to PC using USB cable and click "Unlock".
***Mi account should verified.
Booting into TWRP, getting ADB SuperUser access, pulling stock boot.img
1. Open Minimal ADB Fastboot terminal AS ADMINISTRATOR!
2. Shut down your phone
NOW FOCUS
3. Connect your phone to your PC and hold Power and Volume Down buttons until Fastboot screen will be visible.
4. Follow the steps:
Put that command in your Minimal ADB Fastboot terminal:
Code:
fastboot devices
Your phone should be visible.
example: ,,7e00a8e3 fastboot"
Code:
fastboot boot <path to your TWRP .img recovery file>
Your phone should be booted into TWRP recovery.
If ask's for password: CLICK CANCEL
If ask's for keeping /system read only: swipe (allow modifications)
UPDATE:
NOW YOU CAN JUST FLASH MAGISK.ZIP AND REBOOT
There was no TWRP with working decryption before.
Method II:
Code:
adb devices
Your phone should be visible.
example: ,,7e00a8e3 recovery"
Code:
adb shell
Here we go! We got access to Super User shell via ADB ^^
and now the magic:
- In TWRP recovery, go to Advanced > File Manager
- Go to "/dev/block/platform/" folder (go into ,,soc" folder, if you have one there)
- Here you will see some files and folders, we need to open folders and search for the folder called "by-name" inside one of them. || For me it was /dev/block/platform/soc/1d84000.ufshc and ,,by-name" inside of it.
- At the end, we need name of the folder contains ,,by-name" inside for this string: /dev/block/platform/soc/FOLDER NAME/by-name
- Now go to your ADB Shell terminal and put that command:
soc = you should have this folder too, if not; ignore (please confirm that in comments)
FOLDER NAME = your folder with ,,by-name" inside
Code:
ls -al /dev/block/platform/[COLOR="DarkOrange"][B]soc[/B][/COLOR]/[COLOR="Red"][B]FOLDER NAME[/B][/COLOR]/by-name
Now you should see partitions of your phone.
You need to find your boot partition, for me it was:
Code:
lrwxrwxrwx 1 root root 16 Feb 15 1970 [B][COLOR="Red"]boot[/COLOR][/B] -> [B][COLOR="Red"]/dev/block/sde45[/COLOR][/B]
--
Pulling our stock boot.img!
Go to your ADB Shell terminal and put that commands:
Replace sde45 with your partition from step above*
Code:
dd if=/dev/block/[B][COLOR="Red"]sde45[/COLOR][/B] of=/sdcard/boot.img
Code:
exit
Code:
adb pull /sdcard/boot.img
Our stock boot.img should be downloaded into our Minimal ADB Fastboot directory!
Code:
adb reboot
Stock boot.img patching and flashing (For Method II only)
1. Save your stock boot.img into phone's internal storage/sdcard
2. Download latest Magisk Manager from MAGISK GITHUB REPO
3. Install Magisk Manager on your phone.
4. Open Magisk Manager, check Keep Force Encryption
5. Click Install > Install > Boot Image Patching > Select your stock boot.img and patch it.
6. Save your patched boot.img to your computer
7. Shut down your phone
8. Open Minimal ADB Fastboot terminal on your PC
9. Connect your phone to your PC and hold Power and Volume Down buttons until Fastboot screen will be visible.
4. Follow the steps:
Enter commands:
Code:
fastboot devices
Your phone should be visible.
example: ,,7e00a8e3 fastboot"
Code:
fastboot flash boot <path to your patched_boot.img>
Code:
fastboot reboot
5. Open Magisk Manager, your phone should be rooted.
6. Download Root Checker from Play Store and check if your device is rooted.
FOR OTA UPDATES:
- Uninstall magisk with Magisk Manager App (Restore Image option)
- Apply OTA update
then:
Method I:
- Boot into twrp (version with working decryption)
- Flash Magisk ZIP again
Method II:
- Pull boot.img and patch it again
- Flash new patched boot.img
If you have any questions or problems, type those in the comment below, I will try to help you
Stock Mi Recovery 3.0 for Pocophone F1: GOOGLE DRIVE
Before flashing OTA update, you need to uninstall magisk and install it again after update.
Thanks for a great tutorial, this is what I needed, just a few queries.
1. After ota will I retain root or again the whole process will have to be repeated.
2. In this process if I start with an unlocked bootloader with 8.10.9 beta rom any chance or need to wipe data or internal storage.
3. What if after flashing twrp, I just flash magisk and reboot without flashing force encryption disabler, stock recovery will automatically overwrite twrp, will I lose any data or root.
sanjay0501 said:
Thanks for a great tutorial, this is what I needed, just a few queries.
1. After ota will I retain root or again the whole process will have to be repeated.
2. In this process if I start with an unlocked bootloader with 8.10.9 beta rom any chance or need to wipe data or internal storage.
3. What if after flashing twrp, I just flash magisk and reboot without flashing force encryption disabler, stock recovery will automatically overwrite twrp, will I lose any data or root.
Click to expand...
Click to collapse
1. For now you need to uninstall magisk root before any OTA update, and install it again after it. I don't figured it out yet, how to update OTA and keep magisk.
2. Mi Unlock App will tell you if your internal storage needs to be wiped or not after connecting your phone in fastboot mode.
For me there was a red text that my internal storage will be wiped, for you it will be propably similar.
3. In this tutorial you are not flashing TWRP, you are just booting your phone into TWRP without flashing it to get acess to Super User via ADB and to pull stock boot.img to patch it later with magisk.
Target of this tutorial is to keep stock recovery, so it wont be overwrited because you will be already using it. It shouldn't affect magisk root, but
it would be an good idea to check ,,Keep Force Encryption" in Magisk Manager app before patching boot.img if you are not going to flash Disable Force Encryption zip etc.
exepowered said:
1. It depends propably on OTA update type. Can't answer for sure now, but OTA is comming on Friday with new version of MIUI 10 Beta so I will check that.
2. Mi Unlock App will tell you if your internal storage needs to be wiped or not after connecting your phone in fastboot mode.
For me there was a red text that my internal storage will be wiped, for you it will be propably similar.
3. In this tutorial you are not flashing TWRP, you are just booting your phone into TWRP without flashing it to get acess to Super User via ADB and to pull stock boot.img to patch it later with magisk.
Target of this tutorial is to keep stock recovery, so it wont be overwrited because you will be already using it. It shouldn't affect magisk root, but
it would be an good idea to check ,,Keep Force Encryption" in Magisk Manager app before patching boot.img if you are not going to flash Disable Force Encryption zip etc.
Click to expand...
Click to collapse
Thanks for ur help.
Hi, thanks for the tutorial but I have a problem when unlocking my bootloader, when I am on the Mi unlock application and I connect my phone in fastboot mode mi unlock do not recognize my phone and therefore impossible to click unlock.
My computer recognizes the phone well but not the application do you have solutions?
Open it as administrator
Wysłane z mojego POCOPHONE F1 przy użyciu Tapatalka
uremytoy said:
Open it as administrator
Wysłane z mojego POCOPHONE F1 przy użyciu Tapatalka
Click to expand...
Click to collapse
I opened it in administrator mode, it does not work
Inside unlock tool there are drivers. Try to install them. I've had the same and it worked for me
Wysłane z mojego POCOPHONE F1 przy użyciu Tapatalka
hey dudes, can someone please upload the stock recovery for me?
everytime the phone wants to install an ota it just boots into twrp and i have to manually reboot it from there.
so if i just flash the stock poco recovery the phone would updtate the ota normally and root still would be there?
Before flashing OTA update, you need to uninstall magisk and install it after update.
WasIstDenn said:
hey dudes, can someone please upload the stock recovery for me?
everytime the phone wants to install an ota it just boots into twrp and i have to manually reboot it from there.
so if i just flash the stock poco recovery the phone would updtate the ota normally and root still would be there?
Click to expand...
Click to collapse
Stock Mi Recovery 3.0 for Pocophone F1: GOOGLE DRIVE
Before OTA update, uninstall magisk via Magisk Manager App, then after update install it again using my guide, otherwise you will get bootloop.
I don't figured it out yet, how to keep magisk live when updating.
exepowered said:
Stock Mi Recovery 3.0 for Pocophone F1: GOOGLE DRIVE
Before OTA update, uninstall magisk via Magisk Manager App, then after update install it again using my guide, otherwise you will get bootloop.
I don't figured it out yet, how to keep magisk live when updating.
Click to expand...
Click to collapse
So after uninstalling magisk and applying OTA, we need to do whole process again? pull out boot - patch it and flash it?
at this point it makes more trouble than just installing twrp.
For now there is twrp with decryption working so you can flash magisk ZIP, with booted twrp (not flashed).
I used the same boot I had before OTA and there was no problems too.
exepowered said:
For now there is twrp with decryption working so you can flash magisk ZIP, with booted twrp (not flashed).
I used the same boot I had before OTA and there was no problems too.
Click to expand...
Click to collapse
You extracted the boot image, patched it using magisk, and flashed it using fastboot.
Instead, can't we just install Magisk.zip using twrp? This way it saves us from running all those commands.
For OTA, we can uninstall magisk and flash original stock recovery, then apply ota, then flash twrp and magisk.zip.
Correct me if I am wrong.
Thanks
anirudh281998 said:
You extracted the boot image, patched it using magisk, and flashed it using fastboot.
Instead, can't we just install Magisk.zip using twrp? This way it saves us from running all those commands.
For OTA, we can uninstall magisk and flash original stock recovery, then apply ota, then flash twrp and magisk.zip.
Correct me if I am wrong.
Thanks
Click to expand...
Click to collapse
I know what I have done.
But if the same patched boot.img is not working after uninstalling and OTA update, you can skip other steps and just boot into twrp [version with working decryption] (everything is in my post) and flash ZIP. ZIP does the same thing, it patches boot.img so it's just faster for now. When I was doing this tutorial, there was no twrp with working decryption for poco...
You can try to flash same patched boot.img you had before OTA. Last time it worked for me.
You don't need to flash twrp too...
Just uninstall magisk
Do OTA update
BOOT into twrp (version with working decryption)
Flash magisk.zip
reboot
exepowered said:
I know what I have done.
But if the same patched boot.img is not working after uninstalling and OTA update, you can skip other steps and just boot into twrp [version with working decryption] (everything is in my post) and flash ZIP. ZIP does the same thing, it patches boot.img so it's just faster for now. When I was doing this tutorial, there was no twrp with working decryption for poco...
You can try to flash same patched boot.img you had before OTA. Last time it worked for me.
You don't need to flash twrp too...
Just uninstall magisk
Do OTA update
BOOT into twrp (version with working decryption)
Flash magisk.zip
reboot
Click to expand...
Click to collapse
I flash the decryption TWRP and install magisk but the phone bootloops back to recovery no matter what I try. I have to uninstall magisk using the official installer, only then the phone lets me boot into system but obviously I lose root. Any guesses what I should do to get root with formatting storage ?
Hey dude! Is there any way to unlock my poco f1 bootloader without wiping the data?
SusanooX said:
Hey dude! Is there any way to unlock my poco f1 bootloader without wiping the data?
Click to expand...
Click to collapse
Nope
Is it equal, on wich (original) ROM/Software-Verisom i´am for unlocking, flashing twrp and rooting ?
Or is it the best, to NOT update the original Rom OTA and after that unlocking, flashing twrp and rooting ?

[Recovery][Unofficial] TWRP 3.2.3 for XIAOMI MI A2 Lite (Daisy) 180818 [Wifi working]

Hello everyone,
I found a working recovery for our phone
here​
All credits go to
 @yshalsager for developing and uploading
and
 @yukimaru2215 for first linking
Bugs: Encryption not working - but stock rom boots up without encryption with a trick...
Attention: You will need to format data - all your data will be lost! Backup first!
How to install:
Tempearily root your device and modify fstab.qcom - this is needed to enable decryption
a) install fastboot and adb from here​b) load a prerooted kernel (patched bootimage) from here and copy it to your adb fastboot folder​c) boot to bootloader -> reboot and keep holding vol+ until you see "FASTBOOT"​d) Open command prompt, navigate to your adb fastboot folder and type in command prompt:
Code:
fastboot boot patched_boot.img
e) Go to apps, upgrade magisk manager, install any root explorer, grant root permissions and navigate to /vendor/etc/fstab.qcom​f) open fstab.qcom with texteditor and change "forceencryption=footer" to "encryptable=footer" and save​
[*]Install TWRP and wipe data backup everything first - this will wipe all your data
a) Download recovery form link above​b) copy extracted TWRP-3.2.3-daisy-1808.img to adb fastboot folder and type in command prompt​
Code:
fastboot flash boot TWRP-3.2.3-daisy-1808.img
c) Type in command prompt​
Code:
fastboot reboot
before hitting enter keep holding vol+​d) In TWRP you will get the message can´t read data -> skip decryption and go to "wipe" and "format data"​e) if you want to root your device you need now need to boot to bootlaoder (reboot -> bootloader) - if not, you done here. Reboot to system and setup your device​
[*]Root your device
a) You are in your bootloader... download patched_twrp from here and copy it to your adb fastboot folder​b) Type in command prompt​
Code:
fastboot boot patched_twrp.img
c) Boot up, upgrade Magisk manager and install magisk via manager -> choose "direct install"​
If you flash back a stock boot.img, you will loose your wifi functionality!
Enjoy!
thanks man
You can make a video soon
Noob dude.... And with this method, how is the steps for can update via ota the next updates?
Thx for this hard word and sorry my bad english!
Enviado desde mi Mi A2 Lite mediante Tapatalk
Testing official TWRP tonight. Some issues with decryption but will be resolved soon hopefully. Stay tuned!
d1ngh said:
Testing official TWRP tonight. Some issues with decryption but will be resolved soon hopefully. Stay tuned!
Click to expand...
Click to collapse
When will it be available?
dannyzamora said:
Noob dude.... And with this method, how is the steps for can update via ota the next updates?
Thx for this hard word and sorry my bad english!
Enviado desde mi Mi A2 Lite mediante Tapatalk
Click to expand...
Click to collapse
If you using Havoc 2.0, linke me, it's everything,you need! This twrp lets you boot up all treble GSI Roms....
And otas should be installed normal.
1. Uninstall magisk
2. Install ota, not reboot
3. install magisk
4. Flash twrp and boot up with patched twrp via fastboot
You never boot up without root... So everything's fine with modules and otas doesn't touch vendor and encryption...
brunoliveh said:
When will it be available?
Click to expand...
Click to collapse
When it's ready :silly: just be a little more patient won't be long now.
brunoliveh said:
When will it be available?
Click to expand...
Click to collapse
Hopefully by end of week, maybe earlier
i did every step here but after all the phone stuck on bootloop.
any idea why?
Voodoojonny said:
Hello everyone,
I found a working recovery for our phone
here​
All credits go to
@yshalsager for developing and uploading
and
@yukimaru2215 for first linking
Bugs: Encryption not working - but stock rom boots up without encryption with a trick...
Attention: You will need to format data - all your data will be lost! Backup first!
How to install:
Tempearily root your device and modify fstab.qcom - this is needed to enable decryption
a) install fastboot and adb from here​b) load a prerooted kernel (patched bootimage) from here and copy it to your adb fastboot folder​c) boot to bootloader -> reboot and keep holding vol+ until you see "FASTBOOT"​d) Open command prompt, navigate to your adb fastboot folder and type in command prompt:
Code:
fastboot boot patched_boot.img
e) Go to apps, upgrade magisk manager, install any root explorer, grant root permissions and navigate to /vendor/etc/fstab.qcom​f) open fstab.qcom with texteditor and change "forceencryption=footer" to "encryptable=footer" and save​
[*]Install TWRP and wipe data backup everything first - this will wipe all your data
a) Download recovery form link above​b) copy extracted TWRP-3.2.3-daisy-1808.img to adb fastboot folder and type in command prompt​
Code:
fastboot flash boot TWRP-3.2.3-daisy-1808.img
c) Type in command prompt​
Code:
fastboot reboot
before hitting enter keep holding vol+​d) In TWRP you will get the message can´t read data -> skip decryption and go to "wipe" and "format data"​e) if you want to root your device you need now need to boot to bootlaoder (reboot -> bootloader) - if not, you done here. Reboot to system and setup your device​
[*]Root your device
a) You are in your bootloader... download patched_twrp from here and copy it to your adb fastboot folder​b) Type in command prompt​
Code:
fastboot boot patched_twrp.img
c) Boot up, upgrade Magisk manager and install magisk via manager -> choose "direct install"​
If you flash back a stock boot.img, you will loose your wifi functionality!
Enjoy!
Click to expand...
Click to collapse
hay bro i'm now unlock boot loader and flash boot twrp.img its boot to recovery
i flash DisableForceEncryption_Treble.zip via twrp then flash patched boot.img to root via magisk good till now
i reboot to system and root my device and every thing is good now
but when try to enter twrp its go to stock recovery ok.
what i can to do now to get twrp and keep phone rooted too?
and what is different between twrp.img and twrp patched.img
elkhshap said:
hay bro i'm now unlock boot loader and flash boot twrp.img its boot to recovery
i flash DisableForceEncryption_Treble.zip via twrp then flash patched boot.img to root via magisk good till now
i reboot to system and root my device and every thing is good now
but when try to enter twrp its go to stock recovery ok.
what i can to do now to get twrp and keep phone rooted too?
and what is different between twrp.img and twrp patched.img
Click to expand...
Click to collapse
Hey, it's written above! You need to root with patched twrp linked above... Else you will loose twrp or wifi
Voodoojonny said:
Hey, it's written above! You need to root with patched twrp linked above... Else you will loose twrp or wifi
Click to expand...
Click to collapse
sorry let me step by step going
now i;m rooted what do second ?
Official is here:
https://forum.xda-developers.com/mi-a2-lite/development/official-twrp-daisy-t3855396
Voodoojonny said:
If you using Havoc 2.0, linke me, it's everything,you need! This twrp lets you boot up all treble GSI Roms....
And otas should be installed normal.
1. Uninstall magisk
2. Install ota, not reboot
3. install magisk
4. Flash twrp and boot up with patched twrp via fastboot
You never boot up without root... So everything's fine with modules and otas doesn't touch vendor and encryption...
Click to expand...
Click to collapse
Please explain by video
maorhag said:
i did every step here but after all the phone stuck on bootloop.
any idea why?
Click to expand...
Click to collapse
Sorry for responding so late... I had a bit of full calendar...
I just did this with another phone (I use these phones for my employies)... Idk, why it´s not working for you sorry. But meanwhile there´s a official twrp - this should do the trick!
Sorry for inconvinience

Root EMUI 9.0

Thx to topjohnwu you can use magisk on EMUI9. https://github.com/topjohnwu/magisk_files/tree/master/canary_builds
What you need:
1. Unlocked Bootloader
2. be able to use twrp 3.2.3-1 (important! 3.2.3-1). In this case, im using latest offical twrp for the Huawei P20 Pro (charlotte). Only use ADB function, other features (backup/restore) are untested by me, it can harm your device eventually if you use other functions then ADB.
3. adb installed on PC
4. all-full-release.apk from https://github.com/topjohnwu/magisk_files/tree/master/canary_builds
5. magisk-release.zip from https://github.com/topjohnwu/magisk_files/tree/master/canary_builds
OK, so how we root the Honor 10 with EMUI9.0?
1. Download offical twrp from here: https://dl.twrp.me/charlotte/twrp-3.2.3-1-charlotte.img.html.
Be careful, this release was made for another device, but i had no issue with it on my Honor 10.
2. Download Magisk Manager (all-full-release.apk) from https://github.com/topjohnwu/magisk_files/tree/master/canary_builds and install it.
3. Download magisk root (magisk-release.zip)
4. Enable OEM Unlock (so you can flash recovery in fastboot) , Power Off the device, push and hold VOL DOWN and plug in the usb cable. The device will start into fastboot.
5. Flash Twrp withon the PC: fastboot flash recovery_ramdisk twrp-3.2.3-1-charlotte.img
6. This one is a bit tricky! Type fastboot reboot, push and hold VOL UP and after sending fastboot reboot immediately remove cable and wait for twrp to boot. If you not remove the cable you will end up in eRecovery and have to redo the steps above.
7. In twrp, go to advanced and start ADB. Than plug in the USB cable.
8. PC: flash magisk-release.zip with: adb sideload magisk-release.zip
9. IMPORTANT: Remove cable, select reboot, but keep VOL UP pressed during reboot, otherwise you are not able to use magisk. You have to press VOL UP everytime you reboot the device otherwise you have to do Step 5-9 again.
10. Done, your device is rooted.
UPDATE to .162:
To Update succsessfully to .162 you have to do the following things:
1. flash emui stock recovery_ramdisk.img in fastboot (extract it from update.app using Huawei Update Extractor) use "fastboot flash recovery_ramdisk RECOVERY_RAMDIS.IMG" You dont have to use recovery_ramdisk.img from .162. Just use the latest update.app to extract the recovery_ramdisk.img you can find in Firmware Finder.
2. Disable OEM Unlock and reboot the device
3. Go to Settings\System\Software Updates and Hit the 3 Dots on the top right. Select the Full Package Download.
4. Wait until download is complete and hit update. Now the device will boot into EMUI recovery and install the update the phone.
5. The device is now rootless, if you want root again, follow the instructions above.
Caution: Just in case: After the update and installation of magisk, adaway becomes unstable on my phone. It seems the "allow root" popup dont show up after adaway started. I have fixed this by autoallow root in magisk, start adaway, enable adblocking and set magisk to "ask permissions" again. After this, the popup shows correctly again. For now i have no clue why this was happen, another Honor 10 dont have this issue at all.
albysprx said:
Just disable battery optimization for magisk manager and the "allow root" popup will appear
Click to expand...
Click to collapse
Notice for UPDATE .179:
You can use the guide above but you have to update (Systemupdate) twice, since the update comes with 2 separate packages. After the first run, emui recovery shows "update failed". Just reboot to system, go to settings, and start the updateprocess again. The second package is about ~220MB in size. After this follow the guide above to get magisk running again.
Notice for UPDATE .203:
Just do the usual way. Flash STOCK recovery_ramdis.img with fastboot, reboot the phone, do the update. After this flash twrp in fastboot again and adb sideload magisk-release.zip.
Notice for UPDATE .207:
Works! Flash STOCK recovery_ramdis.img with fastboot, reboot the phone, do the update. After this flash twrp in fastboot again and adb sideload magisk-release.zip.
Notice for UPDATE .216:
Works!
Notice for UPDATE .223:
Works, but you have to use latest Magisk release (19.3) from topjohnwu: https://github.com/topjohnwu/Magisk/releases
At step 8. PC: flash magisk-v19.3.zip with: adb sideload Magisk-v19.3.zip
Notice for UPDATE EMUI 9.1:
9.1 Change a lot, you will have the latest stock RECOVERY_RAMDISK.IMG patched via Magiskmanager and install that with fastboot. After this, reboot and PRess VOL+. You will end up in eRecovery, hit Wipe/Factory Reset(Make BACKUP!) and reboot. This install magisk permanently. For Adaway: You need Systemless Mode activated in Magisk and Adaway.
Maybe i will write another Guide for 9.1, but for now im testing stability.
Thanks a lot man!
Well P20 hardware share similarity with honor 10. Twrp should work logically but you never know when you came up against something bad so I will for now hehe
Sent from my Honor 10 using XDA Labs
Will it work with mate 10 pro emui 9?
neo2k17 said:
Will it work with mate 10 pro emui 9?
Click to expand...
Click to collapse
I've tested and it works
Hi, either it's not working for me or i'm stuck somewhere.
Steps 1-5 are working.
Then it reboot the device with fastboot reboot and press&hold the vol up.
But my phone doesn't boot into twrp. All i get is erecovery.
When i turn the phone off, no usb cable plugged in and try to get into twrp by press&hold power + vol up i get:
error mode
attention!
please update system again
error!
func no: 11 (recovery image)
func no:2 (load failed!)
Click to expand...
Click to collapse
Normal boot still worked fine.
What am i doing wrong?
I just updated from 8.1 to 9 today fyi.
edit: after flashing my latest twrp image that worked i can access twrp recovery again.
but everything at /sdcard looks encrypted since all folders and files have crazy names like asdfASdfasdFGADSgm
I currently don't have any password etc. on my honor.
leAndroid91 said:
edit: after flashing my latest twrp image that worked i can access twrp recovery again.
but everything at /sdcard looks encrypted since all folders and files have crazy names like asdfASdfasdFGADSgm
I currently don't have any password etc. on my honor.
Click to expand...
Click to collapse
Android 9 comes with build in crypto, so its perfektly normal to see folders like "akgaufagkiugsduiphps". Thats the reason we have to use ADB with latest TWRP, only 3.2.3-1 has support for it. So i beleive, if you cant get 3.2.3-1 running, you cannot have magisk atm.
ThreeMMM said:
Thx to topjohnwu you can use magisk on EMUI9. https://github.com/topjohnwu/magisk_files/tree/master/canary_builds
1. Download offical twrp from here: https://dl.twrp.me/charlotte/twrp-3.2.3-1-charlotte.img.html.
Be careful, this release was made for another device, but i had no issue with it on my Honor 10.
2. Download magisk (all-full-release.apk) from https://github.com/topjohnwu/magisk_files/tree/master/canary_builds and install it. Its Magisk Manager.
3. Download magisk-release.zip
4. Disable OEM Unlock, Power Off device, push and hold VOL DOWN and plug is the usb cable. The device will start into fastboot.
5. Flash Twrp with: fastboot flash recovery_ramdisk twrp-3.2.3-1-charlotte.img
6. Type fastboot reboot, push and hold VOL UP until device boots into twrp.
7. In twrp start ADB
8. PC: flash magisk-release.zip with: adb sideload magisk-release.zip
9. IMPORTANT: Select Reboot but keep VOL UP pressed during reboot, otherwise you are not able to use magisk.
Click to expand...
Click to collapse
Thx a lot! Works fine
One question about 9. - I had to remove the cable first, otherwise by pushing VOL UP+reboot it goes directly to eRecovery-mode?!
Uhm ... just one question for my understanding.
How am i supposed to flash a new recovery in step 5 when i disable oem unlock in step 4?
As far as i know deactivating oem unlock prevents from flashing even if the bootloader is already unlocked.
leAndroid91 said:
Uhm ... just one question for my understanding.
How am i supposed to flash a new recovery in step 5 when i disable oem unlock in step 4?
As far as i know deactivating oem unlock prevents from flashing even if the bootloader is already unlocked.
Click to expand...
Click to collapse
You're right, i just went through without reading that point correctly. It's a little bit misleading
Sorry guys, i have edit the Post so now its more clear what to do. Thanks for the hints, it a pleasure to contribute to such a nice community! Keep rockin!
Haj
point 2
Installation Magisk all-full-release.apk. The application is installed, additional files are downloaded, but end with the message "Magisk not installed". Is this how it should be?
By keeping oem unlocked i was able to flash twrp, too.
And i was able to boot into twrp.
But for /sdcard it kept showing me the encrypted files and folders
What's the reason behind:
9. IMPORTANT: Remove cable, select reboot, but keep VOL UP pressed during reboot, otherwise you are not able to use magisk. You have to use this everytime you reboot the device.
Click to expand...
Click to collapse
Is magisk checking if vol up is pressend and then activates, otherwise it stays inactive?
edit:
i was not able to boot like mentioned in step 9.
1st try: i got stuck at "your device is booting now..." (still pressing vol up).
Then released vol up and waited for another 3-4 minutes but nothing happend.
2nd try: When not pressing any button my phone booted as expected but without magisk.
3rd try: Then i shut it down again.
Turned it on, pressend and hold vol up but i just got into eRecovery.
Any ideas?
Does this method keep magisk permanently after the first boot or do I need to repeat the procedure every time if my bootloader is locked?
Coraz said:
Does this method keep magisk permanently after the first boot or do I need to repeat the procedure every time if my bootloader is locked?
Click to expand...
Click to collapse
You don't have to do the whole procedure except step 9, you have to push VOL UP during every reboot to keep magisk active.
p. 2
magisk (all-full-release.apk) install.
select method:
- Download zip only
- Patch boot image file (then click)???
kmarek11 said:
p. 2
magisk (all-full-release.apk) install.
select method:
- Download zip only
- Patch boot image file (then click)???
Click to expand...
Click to collapse
Just install the app and go on with step 3.
To install using a zip file?
kmarek11 said:
To install using a zip file?
Click to expand...
Click to collapse
Install the apk file, the zip file is for rooting your device via adb sideload.
I am installing magisk (all-full-release.apk) from the given link
the application appears on the phone
in the magisk application I click "installation" I get communication, do you want to install Magisk-v18.0 (18000) zip? and choice:
1 I do not thank you
2 changes
3 this installation I click and the "Choose method" message is displayed: and the option to choose
1 download only zip or
2 Patching the boot image file
Which one to choose to go to the next steps?

[Guide] TWRP+MAGISK ROOT Installed on OOS 10.3.5

Ok guys, I decided to write this up because the current state of finding good info on this is quite messy. I'm going to keep it short and to the point.
I'm not here to explain what TWRP or Magisk Root are. You can find that somewhere else.
Goal:
Install TWRP and Magisk Root on OOS 10.3.5, without losing data.
(This same method worked on earlier versions of OOS 10, and may also work on later versions.)
Requirements:
OnePlus 6 Unrooted and Unmodified Recovery
Computer/Laptop
Magisk (ZIP)
TWRP Blu_Spark (ZIP)
TWRP Q by Mauronofrio (IMG)
Important Notes:
If you have installed or upgraded to OOS 10.3.5, then your device should be returned to stock (unrooted and unmodified recovery), and you're ready to begin. Otherwise, I suggest you simply reinstall the system again (full system links here) and then you'll be ready.
To send commands from your computer to your phone, you will need Android ADB debug software and possibly OnePlus drivers.
OnePlus Drivers Installation Instructions
Download Links:
Magisk 20.4 ZIP
Magisk Uninstaller 20.4 ZIP
TWRP Blu_Spark 3.4.0-x v9.116 ZIP
TWRP Q by Mauronofrio 3.3.1-18 IMG
Begin
Step 1:
Disable all lock patterns and security on your phone.
Step 2:
Back up anything important on your phone. You accept responsibility for any lost data.
Step 3:
Copy/Save the ZIP files (Magisk + Magisk Uninstaller + TWRP Blu_Spark) to the storage in your phone. The IMG file (TWRP Q by Mauronofrio) should be saved on your Computer
Step 4:
Boot your phone to fastboot mode.
(Power off. Then press Power on + Volume Up)
Step 5:
Connect phone to computer with USB. (Don't use a crap/cheap USB cable or the connection may fail.)
Step 6:
On your Computer, Open the command line, and Run the command to fastboot the TWRP Q by Mauronofrio
fastboot boot twrp-3.3.1-18-enchilada-Q-mauronofrio.img
Step 7:
Your phone should boot into TWRP (this is a temporary boot and nothing yet has been modified on your device).
Step 8:
Use the TWRP menu to Install both ZIP files. Starting with TWRP Blu_Spark, then Magisk.
BEWARE, DO NOT REBOOT BETWEEN INSTALLS! READ CAREFULLY. TWRP MAY TRY TO REBOOT. INSTALL BOTH ZIP FILES BACK TO BACK WITHOUT REBOOT.
Step 9:
Reboot. Complete. Congratulations.
If someone could provide me a link to ADB, then I will gladly include it in the post. Thank you
BEWARE, DO NOT REBOOT BETWEEN INSTALLS! READ CAREFULLY. TWRP MAY TRY TO REBOOT. INSTALL BOTH ZIP FILES BACK TO BACK WITHOUT REBOOT.
With reboot works too. Install twrp then reboot system, then reboot recovery from system, and install magisk. Works. I tried several times.
Shyciii said:
With reboot works too. Install twrp then reboot system, then reboot recovery from system, and install magisk. Works. I tried several times.
Click to expand...
Click to collapse
I have had bad problems on an earlier version, where Blu_Spark would Not properly install Magisk, and ruined my Recovery. Let me ask, on reboot, Did you boot into TWRP Q Mauron or TWRP Blu_Spark to install Magisk?
Sepero said:
I have had bad problems on an earlier version, where Blu_Spark would Not properly install Magisk, and ruined my Recovery. Let me ask, on reboot, Did you boot into TWRP Q Mauron or TWRP Blu_Spark to install Magisk?
Click to expand...
Click to collapse
I always use Mauron-like TWRP, and never had a problem.
Shyciii said:
I always use Mauron-like TWRP, and never had a problem.
Click to expand...
Click to collapse
Well then, I should consider you luckier than me, as I've had lots of data lost due to the issues with TWRP and Magisk. According to Mauronofrio,
"after some tests i'm sure there is a compatibility problem between twrp and magisk, i was able to get only one of them, so actually i don't know how to proceed, i need to understand if it is a twrp problem or a magisk problem, TWRP is in stand-by for now."
https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3860815
If TWRP by Mauronofrio is now working with the latest Magisk, then he it appears he has not publicly stated so. Did you install Magisk 20.4?
Sepero said:
Well then, I should consider you luckier than me, as I've had lots of data lost due to the issues with TWRP and Magisk. According to Mauronofrio,
"after some tests i'm sure there is a compatibility problem between twrp and magisk, i was able to get only one of them, so actually i don't know how to proceed, i need to understand if it is a twrp problem or a magisk problem, TWRP is in stand-by for now."
https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3860815
If TWRP by Mauronofrio is now working with the latest Magisk, then he it appears he has not publicly stated so. Did you install Magisk 20.4?
Click to expand...
Click to collapse
Of coz. I always use the latest Magisk, so now 20.4
I've never rooted my device can i go from stock to root or.do i need to oem unlock? Tnq.
Hi, I need help.
On step 8 I can not find files I copied on step 4. How I should copy those files to find it when I need to install them in step 8?
Thank you
I got following message returned:
FAILED (remote: boot is not allowed in Lock State)
Do I have to unlock bootloader before? This would wipe all data ...
followed the second half of the guide being an idiot and just keep all security as is. workt like a charm actually.. Thanks:highfive:
We don't need to unlock the bootloader before doing this???
fastboot OEM unlock????
techstuff_18 said:
We don't need to unlock the bootloader before doing this???
fastboot OEM unlock????
Click to expand...
Click to collapse
No, first unlock bootloader because you can't run twrp in fastbot. I did this, mean installed magisk on latest oxygen.
erdock said:
I got following message returned:
FAILED (remote: boot is not allowed in Lock State)
Do I have to unlock bootloader before? This would wipe all data ...
Click to expand...
Click to collapse
i unlocked it then all worked. and yes all data wiped

Categories

Resources