Complete backup without TWRP? - Xiaomi Mi A1 Questions & Answers

Hello,
I have recently moved to the A1, really nice so far.
I followed the guide to root using Magisk and got it all rooted and set-up nicely (I think it was this one).
However, I did not install TWRP and now when I was searching the forum, doing a full backup (to be prefectly recovered to the backup point) it always refered to TWRP (or equivalents), yet the installation of TWRP requires me to "go back" to the unrooted device.
I am looking for a solution to create a complete, full backup (same way TWRP does), on the phone in it's current state before I keep doing any other changes.
Help a noob out

TheWhitestOfFangs said:
Hello,
I have recently moved to the A1, really nice so far.
I followed the guide to root using Magisk and got it all rooted and set-up nicely (I think it was this one).
However, I did not install TWRP and now when I was searching the forum, doing a full backup (to be prefectly recovered to the backup point) it always refered to TWRP (or equivalents), yet the installation of TWRP requires me to "go back" to the unrooted device.
I am looking for a solution to create a complete, full backup (same way TWRP does), on the phone in it's current state before I keep doing any other changes.
Help a noob out
Click to expand...
Click to collapse
You can go to Twrp without installing it, just with fastboot, run "fastboot boot twrp.img" on cmd and you can do a backup of your phone on sd card, bootloader must be unlocked.

If you have an unlocked bootloader, you can backup every single partition in the device (and I mean everything, TWRP only does a few) via EDL mode. Search for EMMCDL tool.
If you're willing to wait a few days, I will be releasing a guide for this.

Related

[Q] Root after unlocking bootloader, retain stock rom & bootloader

I am sorry if this is a dupe of other threads but I couldn't find a complete answer to my problem anywhere else.
I have a nexus 7 (2012), on stock 4.4.2, unlocked bootloader (i think, unlocked padlock on startup).
I want to root. I gather this will not wipe? (or will it?) and what tool should i use? I already have N7 toolkit and android sdk, so i can use that most easily, otherwise any other program needed is fine. I want to use stock bootloader and stock rom and ensure ota updates will occur. (i understand i may lose root through ota updates, but i assume i can just reroot as i have unlocked the bootloader?)
Thanks
Since your tab has already gone through the bootloader unlocking process, there is neither a need nor a requirement to wipe the device.
And since you want to stay as close to Stock as possible, you can even "root" without ever flashing a recovery: you just soft-boot a recovery image rather than flashing one. That is - "fastboot boot (...etc)" instead of "fastboot flash (...etc)". That allows you to use a custom recovery every once in a while while leaving a stock recovery on the tablet. That preserves maximum compatibility with future OTAs.*
And with that soft-booted recovery, immediately take a Nandroid backup including the Stock recovery (which is still on the tablet because you soft-booted the recovery you are using). In the same session, use "adb pull" to get a copy of your 100% pure-stock Nandroid backup off the tablet. (Make sure you name it clearly so you will know exactly what it is 12 or 24 months later)
Finally, use a flashable .zip installer package for SuperSU to "flash root".
After an OTA, you can just reinstall root by soft-booting a custom recovery and using the same (or updated) flashable .zip installer method for reinstalling SuperSU. And just like above, capture a new 100% pure-stock Nandroid backup (including the new stock recovery) *before* re-rooting.
This strategy allows you to roll back to any version of stock you please at any time in the future.
good luck
* flashaholics prefer to have a recovery hard-flashed on their device so they can flash things on a whim, wherever they are. The approach here is a bit more restrictive as you have to have a PC handy in order to soft-boot a recovery in order to do any flashing. I would say that the biggest limitation of this approach is that it tends to reduce the number of Nandroid backups of your ROM personalization.
Backup are a good thing. You can always throw them away later, but you can't create a missing one that is urgently needed.

Yoga tab 3 Pro ROOT thread, instructions and needed files.

***PLEASE DO NOT SKIP THE INSTRUCTION THAT SAYS MAKE A BACKUP*****
Lots of people are requesting help after not making a backup. And while people are able to help, the files are very large and takes up considerable bandwidth. Much better to EASILY create your own backup.
-------------------------------------------------------------------------
First of all a BIG thanks to @ionioni, this is all his work i am just re-uploading files and some sort of instructions. Much of the instructions are also lifted from ionioni, so thanks from me too!
That's right sources here: https://twrp.me
There Is currently no xposed support for intel 64 bit android
Neither I or the developer take any responsibility for damage to yourself or your tablet, by carrying out anything written here you accept full liability for your actions. I am quite sure xda forums feel the same.
****BIG WARNING , This is ONLY for the Yoga Tab 3 Pro models YT3-X90(F|X|L) Intel Atom powered CherryTrail SoC devices flashing any of these files to another device will more than likely result in BRICK!!****
ANOTHER BIG NOTE.....lollipop can only be rooted using supersu version 2.46 whilst marshmallow version ,as of writing, can ONLY get root using magisk!
You should backup all important data before attempting any of this as you will be losing all data during the process. Titanium backup is good for backing up and restoring apps, other personal files can be moved to external sd or copied to computer.
First off you will need to have fastboot installed on your PC if you havn't already. Find it here......
For windows. https://dl.google.com/android/repository/platform-tools-latest-windows.zip
For Mac. https://dl.google.com/android/repository/platform-tools-latest-darwin.zip
For Linux. https://dl.google.com/android/repository/platform-tools-latest-linux.zip
To gain ROOT access.....
1. download and extract the twrp.img file from the zip attached (YOU MUST EXTRACT FROM THE ZIP!!!) and copy supersu.zip or magisk.zip to tablets external memory card. https://download.chainfire.eu/696/SuperSU/ (LOLLIPOP only supersu v2.46 is supported, other versions cause bootloop) or https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 for MARSHMALLOW.
2. unlock your tab if is not unlocked (this is mandatory in order to boot custom images like TWRP recovery):
a) Enable developer options ( Go settings, at bottom select "About tablet" then press "Build number" 7 times. congrats you are now a developer.)
b) Go back to settings and now at the bottom there is a new option "developer options" in developer options enable "OEM unlocking"
3.Restart in fastboot mode (hold volume + while powering on tablet)
4. In the same foler you have extracted your TWRP.img (in windows) hold shift key while right clicking in the explorer window, select open command window here.
5. At the command prompt (black window that opens) type "fastboot oem unlock" for LOLLIPOP or "fastboot flashing unlock" for MARSHMALLOW. at this point you will be prompted that you want to delete all data, this is obviously a security measure that cannot be avoided.
6. go to step 7.
7. In command window (the little black window you opened earlier) type "fastboot boot twrp-2.8.7.0(6)-x90.img" your tablet should now boot to TWRP. ( This is a live session TWRP has not been flashed to your tablet)
******MAKE A TWRP BACKUP!!!!!!!!!!********* DO NOT SKIP THIS STEP.
Modifying system files will mean that you are unable to take Lenovo OTA Updates, the only way to install new updates is to later restore your TWRP stock backup, then reROOT. thats just the way it is i am afraid.
8. in TWRP install SuperSU.zip (lollipop) or magisk.zip (marshmallow) located at your external memory card.
9. Thats it enjoy Your rooted tablet.
10. If you experience time changing upon reboot use your favourite method to edit build prop, I used buildprop editor found in the playstore. Find "persist.sys.timezone" and change it to your location, I had to set mine to Europe/London.
PS...your tablet will hang on every boot at bootloader error 3 to warn about the unlocked bootloader, PLEASE DO NOT lock your bootloader, this is a small annoyance and makes brick recovery much easier. (just restore your lovely TWRP stock backup.
In order to install new Lenovo OTA update you must restore your TWRP stock backup, then take the OTA, then go through the root process again making a new TWRP stock backup after applying the new OTA.
Just one more BIG WARNING, this twrp comes with an option to reboot to bios. Be warned if you don't know what you are doing and you mess something up in there, FULL BRICK! no one will be able to help you recover.
PPS...there seems to be some issues with using magisk modules on our tab. To install them one must download them and then manually install them from twrp.
https://download.chainfire.eu/696/SuperSU/
Now for the real magic.
this can be achieved with or without root! just make sure, as per the ROOT instructions, the first thing you do in TWRP is make a full backup.
As a yoga tab 3 pro owner you know that your tablet lags, crashes and is generally buggy, mine would frequently crash during periods of long sleep.
there is a solution to this problem that is rather simple but seems to yield huge results. if we just run our tablet with the data partition unencrypted it runs like any other nice android device.
once again myself or the developer take no resposibility for your actions if you would like to try this.
instructions by ionioni.
""encryption of the 'data' partition (the one that holds your installed apps, personal stuff etc) is forced on these devices (even with no password set) the 'data' partition is automatically encrypted at boot time if it 'sees' an un-encrypted 'data' partition. in order to disable the enforced 'data' encryption i made a script that will disable the forced encryption flag in the existing boot (partition) image (encryption can still be triggered by the user in the Settings->Security panel). this will not decrypt an encrypted 'data' partition! will just allow you to boot having an un-encrypted 'data' partition."".........ionioni
1. make sure that when you make your TWRP backup that you include the boot partition (it will be patched by the script to disable forced encryption).
2. copy attached x90-disable_encr.zip to your tab and install from TWRP (once finished it will create also a backup of your original boot partition in the folder where the zip is located, however this is only a safety backup as you should have already backed up your Boot partition when making your TWRP backup)
3. **DO NOT SKIP THIS STEP** to finish, reboot in fastboot mode and input "fastboot format data" in order to have a clean(un-encrypted) 'data' partition on the next boot (and it will no longer be automatically encrypted as long as you have the modified boot)
alternatively you can format 'data' from within TWRP if you use the attached 'data' enabled TWRP.
i can confirm that since i have been running my tablet unencrypted using ionionis zip that i hav had no lagging, no crashing. runs just like any other android device. The kernel memory hog still remains but it works silky smooth.
Should anything go wrong stock rom for MARSHMALLOW can be found here...
https://forum.xda-developers.com/thinkpad-tablet/general/yoga-tab-3-pro-debrick-method-t3776951
Thank you for continuing the work !
Do you have compared the difference between encrypted/decryptet - is it worth to do all the stuff (root, etc.) ?
If you have to say a number in percent, how faster will it be ? You've tested multi-user (2nd user) ? If i setup a second user the tablet is nearly unusable - it's better with disabled encryption?
Sorry that i have a lot of questions, but it sounds not that easy and i think about it if its worth to do it
edit:
if i make a full backup - where is the backup of TWRP stored? Do i need a sdcard? Will it be overwritten by OTA/Update/Rooting/Decryption?
thx for your answers already.
I havnt tried with a second user. I could try for you.
before unencryption performance was sluggish. after unencrypted its just fine.
I know it seems like a lot of detail but it is actually easier than it sounds.
You don't have to have root to run the unencrypted stuff but you still need to oem unlock and make a full backup. Backup must be on external media, either ext sd or usb otg.
Your data would not be mountable in twrp unless unencrypted already. And then if you ever accidentily encrypted you ay be forced to format losing your backups.
External media is the way to go.
Sent from my SAMSUNG-SGH-I317 using Tapatalk
If i try "decryption" than root is not far away (so i also get rid of some "lets say useless" system apps)
If ýou can try to check for multiuser you should have running facebook on both accounts (cause fb need a lot of ram and cpu)
maybe i will try it on weekend. i'll think about it....
What about the other peoples who own this tab?
gtx, juergen
Well I would always go ROOT, as it offers more choice, but of course the choice is ultimately yours.
I can try multi users but unfortunately I am one of those weirdos that does not use facebook. I guess I could try a couple of instances of chrome/Firefox.
Sent from my SAMSUNG-SGH-I317 using Tapatalk
Ok just set up a new user switched between them ran chrome on both with several tabs open. didn't seem too bad.
Indeed more feedback from other users who have benifitted from unencrypted data partition would be useful.
Sent from my SAMSUNG-SGH-I317 using Tapatalk
Thanks for your effort.
Hello,
BIG THANKS for your Root solution !
All working !!! thanks !!
All thanks to ionioni, this is all his work, i was just the guinea pig. Glad you have root, did you run the unencryption zip?
Sent from my Lenovo YT3-X90F using Tapatalk
Thanks ionioni and joesnose!
I rooted my device and ran the unencryption zip, it definitely makes everything a little smoother.
Also, I successfully mounted my exFAT sdcard with the help of lurker0's post here: http://forum.xda-developers.com/showthread.php?t=3126394.
Nice. Thanks for the exfat find.
Sent from my SAMSUNG-SGH-I317 using Tapatalk
joesnose said:
Indeed more feedback from other users who have benifitted from unencrypted data partition would be useful.
Click to expand...
Click to collapse
Since the old thread is locked, I'll repeat myself here:
I rooted my YT3-X90F and decrypted it as well. Result is better overall performance (some1 asked rating in percentage, I would say +40% speed & +60% response).
But, sadly, it still needs restart every ~24hours, because all the freezes and lags come back with time.
Advise:
For those who want to root this device only to make it work with Sixaxis controller - don't even start. Yoga T3 doesn't support required bluetooth drivers (huge shame on Lenovo).
doesn't seem to connect to the ds4 either. Just sticks at pairing.
Sent from my GT-N7105 using Tapatalk
Hi Joesnose and thanks for putting the instructions up (and of course, thanks to ionioni).
I have a couple of questions.
EDIT; oh pants, I have some more (possibly stupid) questions - just to be sure I know what I'm doing !
In the very first instructions about rooting:
1. I download the twrp.img.zip to my PC and unzip it to PC right ?
2. And the SuperSu goes in my ext SD card, not on the PC ?
3. I assume I must connect the YT3 Pro to the PC at some point ? When would that be ??
4. I don't understand instruction 7. It says type "fastboot boot twrp-2.8.7.0(6)-x90.img". Do I need to have that file downloaded or something ? What is twrp-2.8.7.0(6)-x90.img file ?
And what does it mean, "This is a live session TWRP has not been flashed to your tablet" ?
I can see that in the section about unencrypting the data partition that there is a file with a similar name to " twrp-2.8.7.0(6)-x90.img' but it has the words "data-enabled" in the fine name. I'm not sure what to do with this ??
5. At what point do I take a back-up of the original YT3 Pro stock image ? It's listed between 7 and 8 ? Do I do it right after 7 ? How do you make the back-up please ? And I guess I better store another copy somewhere safe, off the SD card too ?
6. If I just root this, can I then get OTA updates normally ? (without having to restore to stock).
7. And, if I do root and/or data unencryption, can the YT3 Pro be put back exactly how it was before changing anything ? Including it getting OTA updates normally ?
8. How do I make back-ups of apps while the YT3 Pro IF I wanted to restore those apps later on on an UNrooted YT3 Pro ? I don't know why I'd want an UNrooted YT3 Pro in the future, but for instance, if I used Titanium Backup, that needs root right ?? For instance, if I want to restore data from a Titanium Backup on an UNrooted YT3 Pro, will it work ? Or can I use something else ?
Sorry about all the questions - I can't believe I've rooted and installed custom ROMs for 4 devices - for some reason this seems different to the others and it was a while ago !
Thanks in advance
Frenchdroid said:
Hi Joesnose and thanks for putting the instructions up (and of course, thanks to ionioni).
I have a couple of questions.
EDIT; oh pants, I have some more (possibly stupid) questions - just to be sure I know what I'm doing !
In the very first instructions about rooting:
1. I download the twrp.img.zip to my PC and unzip it to PC right ?
2. And the SuperSu goes in my ext SD card, not on the PC ?
3. I assume I must connect the YT3 Pro to the PC at some point ? When would that be ??
4. I don't understand instruction 7. It says type "fastboot boot twrp-2.8.7.0(6)-x90.img". Do I need to have that file downloaded or something ? What is twrp-2.8.7.0(6)-x90.img file ?
And what does it mean, "This is a live session TWRP has not been flashed to your tablet" ?
I can see that in the section about unencrypting the data partition that there is a file with a similar name to " twrp-2.8.7.0(6)-x90.img' but it has the words "data-enabled" in the fine name. I'm not sure what to do with this ??
5. At what point do I take a back-up of the original YT3 Pro stock image ? It's listed between 7 and 8 ? Do I do it right after 7 ? How do you make the back-up please ? And I guess I better store another copy somewhere safe, off the SD card too ?
6. If I just root this, can I then get OTA updates normally ? (without having to restore to stock).
7. And, if I do root and/or data unencryption, can the YT3 Pro be put back exactly how it was before changing anything ? Including it getting OTA updates normally ?
8. How do I make back-ups of apps while the YT3 Pro IF I wanted to restore those apps later on on an UNrooted YT3 Pro ? I don't know why I'd want an UNrooted YT3 Pro in the future, but for instance, if I used Titanium Backup, that needs root right ?? For instance, if I want to restore data from a Titanium Backup on an UNrooted YT3 Pro, will it work ? Or can I use something else ?
Sorry about all the questions - I can't believe I've rooted and installed custom ROMs for 4 devices - for some reason this seems different to the others and it was a while ago !
Thanks in advance
Click to expand...
Click to collapse
Ok let me see if I can help.
1. Yes
2. Yes
3.you must have the yt3 connected to your pc as the commands will be sent from your pc. Tablet must be in fastboot mode.
4. Yes sorry, when you extract the twrp.zip the file is called "twrp-2.8.7.6(0)-x90.img"
the twrp recovery is not flashed to your tablet it is just loaded temporarily, in a live session. Once rebooted it is gone. Normal recovery is not overwritten.
To run the unencrytption script one must be in twrp.
5. As soon as you get twrp loaded make a backup to either external sd or usb and yes not a bad idea to have a backup of your backup.
6. No
7. Yes, simply restore your backup before taking an ota update.
8. not sure about this one.
Indeed it appears like a lot of instructions but once you get into it its just like any other device.
Hope that helps.
Sent from my GT-N7105 using Tapatalk
Big thanks for the answers - makes more sense now, especially the bit about a recovery session as I'm used to installing clockwork and using it on the device.
You can install twrp to your device but only do this after you have made a backup from a live session, making sure of course that your backup contains the original recovery.
Sent from my GT-N7105 using Tapatalk
joesnose said:
You can install twrp to your device but only do this after you have made a backup from a live session, making sure of course that your backup contains the original recovery.
Sent from my GT-N7105 using Tapatalk
Click to expand...
Click to collapse
Oh, ? At what point does twrp get installed and how do you do that?
And is it obvious how to include the original recovery in the backup?
I thought I had it nailed!

How to Root Oneplus X Marshmallow, OxygenOS 3.1.4

MOD EDIT: THREAD CLOSED
We already have threads on rooting this device with this method. Per the forum rules, please search before posting.
This how I had successfully rooted my oneplus x, Marshmallow stock rom, (OxygenOs 3.1.4)
Note: download and install latest twrp from https://dl.twrp.me/onyx/
1. Download superuser.zip https://superuser.phh.me/superuser.zip
2. Reboot into twrp and flash the zip file
3, Reboot into system and download superuser app from Playstore https://play.google.com/store/apps/details?id=me.phh.superuser
4. Congratulations, now you have root on your device!!
thanks to @phhusson for his awesome work https://forum.xda-developers.com/android/software-hacking/wip-selinux-capable-superuser-t3216394
Wrong section, mate.
EDIT: reported, will be moved soon
tried exactly as specified above and still no root access
vinodhrk said:
tried exactly as specified above and still no root access
Click to expand...
Click to collapse
same here
To root OOS 3.1.4, you just have to flash a systemless version of SuperSu
This one for ex : http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
Then reboot and install superSU app.
Of course, the last official TWRP 3.0.3 is advised.
Since my official oneplus x recovery doesn't have an option to create backup to external sd card: is it mandatory to backup all my personal data when rooting the phone?
I understand the risks if something goes wrong through the procedure (and then it's really pays to have a backup), but... will all the data and my settings of the original OxygenOS all be gone even if I succeed in rooting? Thanks a lot!
nixnix33 said:
Since my official oneplus x recovery doesn't have an option to create backup to external sd card: is it mandatory to backup all my personal data when rooting the phone?
I understand the risks if something goes wrong through the procedure (and then it's really pays to have a backup), but... will all the data and my settings of the original OxygenOS all be gone even if I succeed in rooting? Thanks a lot!
Click to expand...
Click to collapse
Unlocking the bootloader will cause a factory reset. So you must backup everything you think is necessary beforehand.
Read it carefully:
[GUIDE] How to * Unlock * Flash TWRP * Root * OnePlus X [Including Oxygen 3.1.3]
Thanks, mate!
However, since my original oneplus recovery doesn't support a "backup system to sd" option: can I first flash TWRP without creating a backup and then make one with TWRP - am I right?
EDIT: I see now that installing TWRP is not possible before unlocking the bootloader, correct? How to make a backup then, because the installed recovery does not have an option to make it...
[GUIDE] Full Phone Backup without Unlock or Root
nixnix33 said:
(...)
How to make a backup then, because the installed recovery does not have an option to make it...
Click to expand...
Click to collapse
[GUIDE] Full Phone Backup without Unlock or Root
ze7zez said:
[GUIDE] Full Phone Backup without Unlock or Root
Click to expand...
Click to collapse
Thanks, was just doing a backup with Helium, but it's worth to make a duplicate backup just in case...

[Guide]How to get an update if unlocked and rooted, but otherwise on stock EMUI

I just bought the Honor 8 and immediately unlocked and rooted it via Magik. Of course not long after that, I get a notification that there is an update available. You obviously cannot update the phone by simply pressing the "update" button since we have a non-stock recovery. I did a fair amount of research to find out how I could get the update and I wanted to share what I found. All of this information is out there already, but generally speaking it is spread out in many different threads. Hopefully these directions can help someone else.....
First, the usual disclosures.....
Code:
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this GUIDE
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
1) Make a NANDroid backup using TWRP: if the new update locks the phone, you will need this backup to restore data after unlocking it
2) Unroot your phone: honestly I did not do this step myself because I simply didn't think about it. The update process worked for me without unrooting but I am also using Magik which doesn't alter the system files. To ensure success I would definitely recommend you unroot. You will have to reroot the phone after the update regardless if you unrooted or not, so you aren't saving any steps by keeping root at this point. If you have used a different root method besides Magik, you must unroot prior to attempting an upgrade.
3) Obtain stock recovery.img file: the update won't work with TWRP as your recovery, so we need to flash the original Huawei recovery to replace TWRP. If you already have a copy of the stock recovery skip to step 4. If you are like me you don't have a copy of the stock recovery image on hand and we will need to extract it from the stock ROM image. Using a computer (not your phone) download the stock ROM image for your device. This website seems to have a list of recent versions and it is where I downloaded the L14 B389 version that I used.
Download the Huawei Update Extractor software and unzip the folder on the computer. Open the HuaweiUpdateExtractor app and use the software to extract the "Recovery.img" file. Here is a Youtube video showing how to do this. Please note, although the video shows several files being extracted you only need to extract the "Recovery.img" file for our use. Move the stock recovery image to your ADB folder so you can flash it in step 4.
4) Flash the stock recovery image: use the stock recovery file and flash it to recovery using the same instructions as you used to flash TWRP in the first place. If you need a refresher, look at section 2 (parts 1-5) of the first post in this thread. Just make sure you substite the name of the stock recovery image instead of the TWRP.img
5) Reboot into system
6) Install Update: go to the Settings - System Update menu on your phone. In the upper right corner, click on the three dots and it will bring up a menu where you can choose "Download latest full update". Click on this. This will start the update process by downloading the full ROM and not just the smaller update package. For me the package size was approaching 2gb, so make sure you are ready to handle that size transfer. After the download is complete, start the update process. I was nervous at first, but everything went fine. If for some reason the update fails, I would reboot and try again. I did have one failure, but I cannot explain if it was a bad download, or something I did wrong (like not unrooting the phone prior to attempting the update). It worked fine the second attempt.
7) Reboot: the phone will reboot and you should check the status to make sure you are on the latest version.
8) Flash TWRP recovery: I read where people said full updates would lock your phone and you would have to start from scratch unlocking it (and therefore wiping all data). This was not the case for me and this update using this method. I was simply able to flash TWRP again. You should be a rock star at flashing recoveries by now so get to it and flash TWRP again. If your phone is locked, then read the note at the bottom of this post.
9) Reboot into system
10) Flash Magik zip: reboot into recovery and flash Magik zip to get SuperSU.
11) Install Magik modules: reboot into system. Reinstall any Magik modules you use as they don't get carried over from the previous installation.
12) Enjoy your updated phone
If for some reason the full update did lock the phone, then you will need to unlock it again before you can flash TWRP. You have already done this before, so use whatever method was successful for you. Obviously this will fully wipe your phone. After flashing TWRP and Magik, I would make a backup of that raw "stock" image just in case this next step doesn't work. After making the backup, you can try to restore just the data partition of the NANDroid backup you made in step 1 (click restore in TWRP, select the backup made in step 1 but deselect everything except the "data" partition before starting the restore process.) I have never done this, but I have read it will recover all your data (apps, etc) without affecting the system partition and therefore it won't mess up the upgrade. I would not recommend doing this if going from Marshmallow to Nugget or Nugget to Oreo however. In those cases, it is better to simple start fresh and redownload all of your apps.
Thank you for this thread.
Hello sic,
I am having the same issue with my Huawei GR-5 2017 and like you, I have my fair share of researching for weeks now and I was really happy to stumble on this thread.
Before I start with the process, I have a few questions for you. I hope you could help me (even though this thread is half a year ago).
Can you elaborate steps 1 and 2 or could you provide me a link on how to do those?
I got xposed installed im on emui 8 i also tried flashfire but it only turns the phone off.. Ist it eneugh to uninstall xposed? And can i get the recovery img from fullota? And must i restore images in magisk? I will try it without xposed installed. And a theory: is the information abaut bootloader unlock stored in a partition like oeminfo? If it is we could restore oeminfo.

I keep loosing root after reboot, Pls help.

Hey guys,
first time posting here so i dont kow how to style the text, so sorry about that.
last time i rooted a phone was on my sony xperia sp , where all i had to do was to go to towelroot .com and click to root.
I tryed to root my OP6T yesterday, after some setbacks i managed to sucessfully do it.
I did it like this:
1. Downloaded full ROM of OOS 10.3.2,
2. copied the payload to a program called payload dumper that extracted the boot image.
3. Copied the boot image to the phone
4. opened Magisk manager and selected install from source where i chose the boot.img
5. it created a copy called magisk_patched.img
6. booted in fastboot
7. on my pc used the command prompt to "fastboot boot magisk_patched.img"
booted normally and i had root.
but then problem appeared
#Problem 1
everytime i rebooted my phone i would loose root and it would say Magisk not installed. To get it back i would need to perform step 7 again and it was not ideal to do that everytime i turned off my phone.
#Problem 2
While tryng to solve problem 1 i read that i needed to open magisk manager and "Install to Inactive Slot (After OTA)."
After doing that it rebooted but now it wont boot at all, even if i try to "fastboot boot magisk_patched.img" the cmd gives me error:
fastboot boot magisk_patched.img
downloading 'boot.img'...
OKAY [ 0.838s]
booting...
FAILED (remote: unknown command)
finished. total time: 0.845s
now my phone is just sitting there i dont want to reset it again. it would be the 4th time that i need to set up my phone in 2 days, so im trying to see if there are alternatives.
If reset is really the only way, i read that with root you can make a full backup of your phone and then restore it. How to do that? can i do it in the situation im in?
How can i root my OP6T running OOS10.3.2, and keep it? Whats the right method bc the one i followed seemed flawed.
I also tried one that had TWRP but maybe i did something wrong bc it didnt work., also there is no official one working for 10.3.2.
What is happening is normal with those instructions (they aren't right).
All you need to do is install TWRP. Do not use the official one, it is out of date. Use TWRP from this thread Link here. The TWRP from that thread is from the official maintainer. It works fine with OOS 10.
- You need to get the phone in fully working order again. Which may mean you need to use the fastboot ROM, as you've probably "goofed" something up at this point. (no offense meant). Make sure your phone boots and such after this.
- For OOS 10 with the phone in fastboot, fastboot boot recoveryimgfilename.img (<-- For OOS 10 you will need TWRP 3.3.1-32 Q Unofficial by mauronofrio from the thread I linked to above) This will boot to TWRP.
- Now run TWRP 3.3.1-32 Unofficial Installer by mauronofrio this will install TWRP. The installer is the same for Android 9 and 10, doesn't matter.
- Once the installer runs, click back, choose reboot to recovery. If you boot to the system, you have to start over. Reboot to recovery!
- Install Magisk 20.3 <-- The current version. The official download page. After that you can reboot to the system. You should now have a rooted, phone with Magisk, and TWRP installed.
Any questions ask.
OhioYJ said:
What is happening is normal with those instructions (they aren't right).
All you need to do is install TWRP. Do not use the official one, it is out of date. Use TWRP from this thread Link here. The TWRP from that thread is from the official maintainer. It works fine with OOS 10.
- You need to get the phone in fully working order again. Which may mean you need to use the fastboot ROM, as you've probably "goofed" something up at this point. (no offense meant). Make sure your phone boots and such after this.
- For OOS 10 with the phone in fastboot, fastboot boot recoveryimgfilename.img (<-- For OOS 10 you will need TWRP 3.3.1-32 Q Unofficial by mauronofrio from the thread I linked to above) This will boot to TWRP.
- Now run TWRP 3.3.1-32 Unofficial Installer by mauronofrio this will install TWRP. The installer is the same for Android 9 and 10, doesn't matter.
- Once the installer runs, click back, choose reboot to recovery. If you boot to the system, you have to start over. Reboot to recovery!
- Install Magisk 20.3 <-- The current version. The official download page. After that you can reboot to the system. You should now have a rooted, phone with Magisk, and TWRP installed.
Any questions ask.
Click to expand...
Click to collapse
So getting it straight, i need to first reset my phone and then do the steps you described.
Can i backup the data first with TWRP to restore it later and avoid setting up everything again?
Davide1713 said:
So getting it straight, i need to first reset my phone and then do the steps you described.
Can i backup the data first with TWRP to restore it later and avoid setting up everything again?
Click to expand...
Click to collapse
Supposedly. I've never used that function of TWRP. Some people have luck with, some people restore things that shouldn't be restored and end up having to wipe the phone again. Personally I just use TitaniumBackup like I always have. I would search for information on that in the TWRP thread if you want to try method. I don't know enough on that to provide solid information.
OhioYJ said:
Supposedly. I've never used that function of TWRP. Some people have luck with, some people restore things that shouldn't be restored and end up having to wipe the phone again. Personally I just use TitaniumBackup like I always have. I would search for information on that in the TWRP thread if you want to try method. I don't know enough on that to provide solid information.
Click to expand...
Click to collapse
Hey man,
Thank you so much. It worked and i stay rooted even after reboot.
May i ask how you use the Titanium Backup, i think back in the days all i used it for was uninstalling system apps. Or if you know some nice guides. If you know other good things to checkout now that i have root i would appreciate it, i have been far away from rooting for too long.
Once again thank you so much
Davide1713 said:
Hey man,
Thank you so much. It worked and i stay rooted even after reboot.
May i ask how you use the Titanium Backup, i think back in the days all i used it for was uninstalling system apps. Or if you know some nice guides. If you know other good things to checkout now that i have root i would appreciate it, i have been far away from rooting for too long.
Click to expand...
Click to collapse
I use it to back up app and app data primarily. It allows me to restore data to apps after a clean install. Since I have the Pro version it's just a batch action (one click essentially). There is also a way to create a flashable .zip you can use in TWRP, although I haven't tried that method, as I'm typically not restoring apps, just data. I also use it remove apps from time to time.
OhioYJ said:
I use it to back up app and app data primarily. It allows me to restore data to apps after a clean install. Since I have the Pro version it's just a batch action (one click essentially). There is also a way to create a flashable .zip you can use in TWRP, although I haven't tried that method, as I'm typically not restoring apps, just data. I also use it remove apps from time to time.
Click to expand...
Click to collapse
Hey man, im sorry i am once again in need.
Idk why but at first i can reboot the system normally without issues. but after a while once i set up everything it just doesnt boot anymore. Am i missing something? do i have to do anything with magisk? download a module or something?
Could it be that google security update is the fault?
Davide1713 said:
Hey man, im sorry i am once again in need.
Idk why but at first i can reboot the system normally without issues. but after a while once i set up everything it just doesnt boot anymore. Am i missing something? do i have to do anything with magisk? download a module or something?
Could it be that google security update is the fault?
Click to expand...
Click to collapse
When you installed everything originally did you fix everything with a clean install? Both slots are the same version of Android? (Like you don't have something weird going on like Android 9 on one and Android 10 on another?)
You definitely have something abnormal going on. There shouldn't be anything in Magisk that you have to do, at least not to prevent crashing. I normally hide it, but that has to do with keeping apps from detecting root.
OhioYJ said:
When you installed everything originally did you fix everything with a clean install? Both slots are the same version of Android? (Like you don't have something weird going on like Android 9 on one and Android 10 on another?)
You definitely have something abnormal going on. There shouldn't be anything in Magisk that you have to do, at least not to prevent crashing. I normally hide it, but that has to do with keeping apps from detecting root.
Click to expand...
Click to collapse
I got it to boot by uninstalling magisk,
I am 100% sure i dont have two different version of android in different slots, bc yesterday i was in big trouble and nothing was working and i flashed on both slots the same version of android 10(dont remember exactly wich one as i tried a couple, but they were the same).
Today when i couldnt boot anymore i went into stock recovery, factory reset -> when it booted i placed the stockOS.zip file in the phone and applied update from local file -> after that i factory reset again from the system settings, so i think the phone should have installed it properly.
Only after that i did what you told me and installed TWRP and Magisk. and as i said it worked and i could restart my device etc..
After a while when i restarted i couldnt boot anymore and went to bootloader. Removing Magisk fixed it,apperantly on install magisk creates a copy of the boot.img that it restores on uninstall, and i booted to system.
Now i can use my phone but dont have root.
Im very thankful for you being there and helping me out trough this, i cant thank you enough
GuestD2272 said:
I got it to boot by uninstalling magisk,
I am 100% sure i dont have two different version of android in different slots, bc yesterday i was in big trouble and nothing was working and i flashed on both slots the same version of android 10(dont remember exactly wich one as i tried a couple, but they were the same).
Today when i couldnt boot anymore i went into stock recovery, factory reset -> when it booted i placed the stockOS.zip file in the phone and applied update from local file -> after that i factory reset again from the system settings, so i think the phone should have installed it properly.
Only after that i did what you told me and installed TWRP and Magisk. and as i said it worked and i could restart my device etc..
After a while when i restarted i couldnt boot anymore and went to bootloader. Removing Magisk fixed it,apperantly on install magisk creates a copy of the boot.img that it restores on uninstall, and i booted to system.
Now i can use my phone but dont have root.
Im very thankful for you being there and helping me out trough this, i cant thank you enough
Click to expand...
Click to collapse
Not sure if you're still having this issue but I'll post the solution just in case anyone gets stumped, does a google search, and comes across this post. You were using the wrong command.
"fastboot boot" just lets you boot with the img so you can verify that root works.
"fastboot FLASH boot" will flash it and root will stick after reboot.
No need to jump through hoops with TWRP and such.

Categories

Resources