ROM hoping - Xiaomi Mi A1 Questions & Answers

Hey there,
Probably noob question, but since our device depends on these dual boot slots...
I want to try some ROMs but I want to fully backup my current ROM exactly as it is. Is it possible? Say I use twrp to create a full backup, then when I get tired of trying other roms, how's the restore process? Did anyone try this? Thanks

try doing a fastboot copy of all the partitions

There's no restore process: your just flash the official fastboot ROM back and optionally relock. That's it.

I think i did not explain very well. I'm using resurrection remix right now.
My goal is to backup my phone current state. All the apps, definitions...everything. So i can try other ROMS, and when i'm done experimenting, i want to restore to my resurrection remix.
I don't want to go through the process of configuring everything all over again

Just make a backup in TWRP and restore it after, simple as that

Related

bootloader, recovery, root question for motorola newb

just recieved my moto which still has marshmallow 6.0 and have been doing some reading Found the stickies(nicely done) . my question revolves around the systemless root. I can just unlock bootloader, install twrp, backup stock unrooted rom (just in Case) then flash whatever rooted rom I please from those available right ? In other words, I wont need to get root access via this systemless root method unless I want that exact stock rom rooted right ? Also, is there any other concerns for a newb to worry about before flashing a nougat rom like a different bootloader or modem requirement ? Thanks in advance for your help.
Found this not in the stickies section that seems to clear things up for me and be quite straight forward for the rooting process . https://forum.xda-developers.com/moto-x-style/general/guide-how-to-root-pure-style-t3503958
recomend this gets stickied as well
You do not need to root the stock ROM unless you are going to run the stock ROM as a rooted ROM.
Custom ROMs do not make changes to bootloader or modems, only boot, system, data, and cache.
Anything else to be aware of? Yes, backup, and get the backup off the device because most ROMs recommend a wipe, which when you wipe internal storage it would delete the default TWRP backup location, thus making returning to stock much more difficult.
acejavelin said:
You do not need to root the stock ROM unless you are going to run the stock ROM as a rooted ROM.
Custom ROMs do not make changes to bootloader or modems, only boot, system, data, and cache.
Anything else to be aware of? Yes, backup, and get the backup off the device because most ROMs recommend a wipe, which when you wipe internal storage it would delete the default TWRP backup location, thus making returning to stock much more difficult.
Click to expand...
Click to collapse
Thanks for the informative concise response !!

Help!! go from 8.1 to 6.0

I explain my problem, after taking time trying roms 8.1 I decided to give a second chance to the stock-based roms. After several attempts with a couple of roms, I always get the same problem after installation (so not installed). I have read that it may be a problem with the version of twrp (right now with the latest version). Before trying to download the version I have to do something special, install as an image and go? Do I lose information when doing it?
What steps should I follow to go down to 6.0?
Besides this, I have a backup made of the gizrom, every time I want to restore it I get the same message: so not installed
Thank you
encerrao said:
I explain my problem, after taking time trying roms 8.1 I decided to give a second chance to the stock-based roms. After several attempts with a couple of roms, I always get the same problem after installation (so not installed). I have read that it may be a problem with the version of twrp (right now with the latest version). Before trying to download the version I have to do something special, install as an image and go? Do I lose information when doing it?
What steps should I follow to go down to 6.0?
Besides this, I have a backup made of the gizrom, every time I want to restore it I get the same message: so not installed
Thank you
Click to expand...
Click to collapse
Backup everything on your internal storage while you are on 8.1 rom. Or restore 8.1 rom and do the backup now.
Even you had tried to restore 6.0 stock rom (unsuccessfully) you can still restore the 8.1 Twrp backup it should work.
Go back from 8.1 to stock 6.0 you can restore the 6.0 backup in Twrp as normal. But after restore the backup done you will need to format data. From Twrp menu go to: Wipe > Format data (here you will lose everything on internal storage). The stock 6.0 restored rom/system will still there and working.
You can restore the app data of the backup rom after you done with the format data.
If you don't do the format data the 6.0 rom will not work I think. It will show something about encryption stuff when it try to boot and enter the system.

How do you go from a custom rom back to OOS?

Love this phone, but using custom roms have been the most frustrating thing with this device. I like testing out multiple roms because you never know which one you will enjoy until you actually use it. But every time I want to go back to OOS, I find myself having to use the MSM tool and start from scratch.
TWRP Nandroid backups are pretty much useless it seems. There are probably over 20 methods here explaining how to backup and restore (don't restore vendor, don't restore system, etc...). I have tried literally every combination and every time I restore, it never works and just loops back to TWRP and leaves me w/an encrypted device. Bring in the MSM.
Flashing the full stock rom usually results in the same thing or no change at all.
Does anybody have a simple straight to the point method of going back to OOS from custom rom? Much appreciated
msmdownloadtool will 100% wipe the phone (backup!!) And return the phone to 100% stock with OxygenOS and even re-lock the bootloader. That's the fastest and easiest way and I've done it a few times.
Edit : just fully read your post and you're familiar with MSM. Just use Google cloud backup in combination with backing up files and using sms backup and restore... There is no way you can keep your data partition from a custom ROM and have it boot or work right on OOS. Even switching custom ROMs without wiping data can cause massive instability, but at least it has a chance at booting.
How to restore,I have no real clue, but to get back to at least a working version of OOS with your internal storage intact..
After you flash OOS and twrp installer, reboot back to twrp.. it will likely be encrypted.. from there go to the wipe menu, then swipe for factory reset.. wipes data, not internal storage.. then boot into OOS.. at that point you can boot back to twrp and flash magisk or whatever else you need to do.
If that fails, you'll lose all data doing this next step, but it will boot.. use the "format data" option in twrp, type yes, then reboot to system. Then you can set it up, download or transfer whatever you want to flash, then reboot to recover and flash away... All without having to use the msm tool

[Question] OP 6T Nandroid

Hello,
some time ago I tried backing up my 6T via TWRP by backing up ALL partitions. But restoring them somethimes just didn't work or completely bricked the phone (also bootloader and kinda fastboot).
So did I something wrong (like backing up and restoring something I shouldn't) or is that the case for 6T's. How to take a full Nandroid?
I'd really appreciate help!
Best regards,
Shirotaku
push
In my experience. You can only restore on the same rom if you're going to backup everything. So if I'm on 9.0.12 and make a backup. I can't restore that when I'm on anything other then whatever rom I was on when I created that restore point. So basically. If you're on 9.0.12 and want to restore your 9.0.12 then I would wipe everything install a fresh 9.0.12 and then use my backup. I use twrp to make a backup when I'm on a fresh new rom or after I got my phone how I like it. Then in the future if I ever mess it up with xposed or something or it doesn't boot I can just use that twrp backup before I have to go to the last resort which is using the msm tool and making my phone how it was out of the box. Then have to reroot re get twrp ect..
There is an app called migrate which will save all your app data ect.. And put it in a flash able zip. So if you want to flash a new rom you can use the migrate app first to backup all your app data and then flash the new rom and your migrate.zip. Then you'll be on a new rom with all your app data back. Just re-download your apps or you can also choose to backup the app itself a long with the data in migrate. Hope this helps.
You can find more information here
https://twrp.me/faq/whattobackup.html
i7vSa7vi7y said:
In my experience. You can only restore on the same rom if you're going to backup everything. So if I'm on 9.0.12 and make a backup. I can't restore that when I'm on anything other then whatever rom I was on when I created that restore point. So basically. If you're on 9.0.12 and want to restore your 9.0.12 then I would wipe everything install a fresh 9.0.12 and then use my backup. I use twrp to make a backup when I'm on a fresh new rom or after I got my phone how I like it. Then in the future if I ever mess it up with xposed or something or it doesn't boot I can just use that twrp backup before I have to go to the last resort which is using the msm tool and making my phone how it was out of the box. Then have to reroot re get twrp ect..
There is an app called migrate which will save all your app data ect.. And put it in a flash able zip. So if you want to flash a new rom you can use the migrate app first to backup all your app data and then flash the new rom and your migrate.zip. Then you'll be on a new rom with all your app data back. Just re-download your apps or you can also choose to backup the app itself a long with the data in migrate. Hope this helps.
You can find more information here
https://twrp.me/faq/whattobackup.html
Click to expand...
Click to collapse
Thx, I'll try this next time
I restore whatever I want on whatever rom anytime. I restore overtop oos, over customs, just data, just boot just system, just vendor... Doesn't matter. All works fine no matter how one does it . I could be on stock tmo, boot to twrp and restore any of my backups..
Does it make a difference if I have a passcode on my phone or not?

T580 - Where can I find the latest official rom and how do I flash it?

Hi Guys,
I have a bootloop and I think I need to reflash the official rom to get things working again. I have TWRP installed and dont want to lose that.
Where can I download and what are the instructions to flash the official rom so I dont lose TWRP? Thanks!
sjbayer3 said:
Hi Guys,
I have a bootloop and I think I need to reflash the official rom to get things working again. I have TWRP installed and dont want to lose that.
Where can I download and what are the instructions to flash the official rom so I dont lose TWRP? Thanks!
Click to expand...
Click to collapse
If you can still get into TWRP, there is no need to install a stock ROM. If you do, you will not only have to reinstall TWRP, but it will also encrypt your data partition. Just make sure that you perform a wipe to do a clean install of whichever ROM you choose. Also, if you haven't ever formatted the data partition, that will prevent from backing up or installing a custom ROM. If that is the case, make sure you copy any files you have saved because, unlike a wipe, formatting the data partition will delete EVERYTHING on that partition.

Categories

Resources