Debloat ROM & Build a new one - Xiaomi Redmi Note 7 Questions & Answers

Hi!
I want to install MIUI from xiaomi.eu, debloat it and build it again so i can use it again if something goes wrong (for example after testing custom roms) or install it on another RN7. Is there any way to do that?

You can use Atlantis Concept. Simple and visual from the recovery.

jimgsey said:
You can use Atlantis Concept. Simple and visual from the recovery.
Click to expand...
Click to collapse
I dont want to use atlantis. I want to have a flashable rom for future use

You cannot build it as easily as flashing or debloating.
One thing you can do for serving your purpose is to take a backup of system and data partition after debloating it. If in future you need to go back to miui you can just flash full miui rom, wipe system (& data if you want data back as well) and restore the backup of /system.
I'd advice you to make a backup of efs and modem partitions and store them everywhere you can. These can be restored when IMEI numbers are lost.
I hope that helps and you never go back to miui.

Related

NAND Clockwork vs DFT

I like DFT just fine and I have no problems execute and flash in windows
why do i want clockwork and use update.zip ?
any other advantages other than Nandroid backup ?
u can back up all the crap with ti backup / sms backup to gmail anyways
lsxrx7 said:
I like DFT just fine and I have no problems execute and flash in windows
why do i want clockwork and use update.zip ?
any other advantages other than Nandroid backup ?
u can back up all the crap with ti backup / sms backup to gmail anyways
Click to expand...
Click to collapse
The real advantage of ClockWork is quick ROM management. You can have many builds and switch between them easily by backing them up and restoring them. You can also flash only portions of a ROM (Updates and such) without losing all your data. For example, if someone releases a new GAPPS package, you can simply flash it and it will update all GAPPS without needing to reinstall the full ROM and lose all your data.
Also, it's the system of choice for CM builds... And Android modding in general.

nandroid + flashing/restoring across roms

I'm having a little trouble understanding nandroid vs. other forms of backup and would appreciate some clarification. I'm running CM nightly on my Fido (Canada) G4. I took a nandroid as well as titanium backup of the factory stock image before I flashed CM.
A poster in the last thread I made suggested if I wanted to restore to stock, I could simply restore the nandroid, but I've also seen people say you shouldn't use nandroid to go across ROMs. My understanding is that nandroid is like having a filesystem backup, which would obviously not react well if you restored it over a new operating system (e.g. two different versions of windows). Or is nandroid more like say Acronis, which takes an entire disk image and overwrites everything?
Other misc questions:
- If I do restore via nandroid, do I need to wipe all data / cache / system data before or after the restore?
- I assume I can use titanium to restore SMS + all non-system apps across ROMs, which would save a lot of time.
- If I'm going from one CM nightly to another, would titanium work for system apps (e.g. all my settings, or contacts, etc)
- If I want to flash a new CM nightly, do I need to follow the entire wipe procedure just as if it were going from one ROM to a completely different one?
Thanks!
always make a nandroid in recovery. i recommend keeping it on your micro sd card. in the event you need to return your device to it's previously functioning state, restore the nandroid in recovery. if you are running an aosp rom and your nandroid is touchwiz, wipe data, cache & dalvik before restoring the nandroid. if the backup is on your micro sd then feel free to wipe system as well.
if you want to flash a nightly or update to a rom you are currently running, simply wipe cache and dalvik then flash the update, gapps and any custom kernel that you may be running.
i cannot answer your titanium backup questions because i do not use that program
xBeerdroiDx said:
always make a nandroid in recovery. i recommend keeping it on your micro sd card. in the event you need to return your device to it's previously functioning state, restore the nandroid in recovery. if you are running an aosp rom and your nandroid is touchwiz, wipe data, cache & dalvik before restoring the nandroid. if the backup is on your micro sd then feel free to wipe system as well.
if you want to flash a nightly or update to a rom you are currently running, simply wipe cache and dalvik then flash the update, gapps and any custom kernel that you may be running.
i cannot answer your titanium backup questions because i do not use that program
Click to expand...
Click to collapse
yes, that's about what I have. ok, thank you for the clarification of what to wipe! that's good to know.
re flashing a nightly/update: using your method should preserve system data yes? so no need to reinstall all apps or system data?
and thanks, I'll hold out hope that someone with titanium expertise will be able to answer that one
kabutar said:
re flashing a nightly/update: using your method should preserve system data yes? so no need to reinstall all apps or system data?
Click to expand...
Click to collapse
yes, system/user data will remain. understand, however, that if you perform one of these dirty flashes and you have a problem with the functionality of the ROM, you'll need to do a full wipe and flash to see if this clears the issue before you report the problem in the development thread.
kabutar said:
yes, that's about what I have. ok, thank you for the clarification of what to wipe! that's good to know.
re flashing a nightly/update: using your method should preserve system data yes? so no need to reinstall all apps or system data?
and thanks, I'll hold out hope that someone with titanium expertise will be able to answer that one
Click to expand...
Click to collapse
Your right on both titanium questions.. However its not recommended to restore system apps you backed up on a aokp/aosp ROM to a touchwiz ROM and the other way around... Other than that like I said your fine
Sent from my WANAM'ED AT&T S4

[Q] TWRP Recovery- How to use?

So I am currently on Paranoid Android and wish to switch to another ROM (most likely AOKP or PACman just to try). In TWRP recovery, what would I select to just back up my app data and NOT my ROM, and after that is possible, what must I restore to get it back and in what order of flashing alon with my new ROM and GAPPS???:silly:
You can go into TWRP and backup and choose what partitions you want to backup. However, I'd suggest you backup everything and don't try to restore the data to another ROM.
I use Titanium to backup all app data as well as MMS history, WiFi networks etc then do a full backup in TWRP. Then wipe everything and flash the new ROM. Then boot up and reconfigure accounts and restore apps + data with titanium.
It may be a little more effort but this way you can always roll back to the previous setup if anything goes wrong and you're less likely to run into any weird issues from moving data around between ROMs.
Or you could try something like app2zip off the play store to make a flashable zip of only selected apps and data which is probably safer than the whole partition. If you do a full backup first you can always rollback if something goes wrong.
When using Titanium Backup, when I hit run backup, where does it go and how do I restore it after I flash my new ROM. Or do I do the update.zip option and flash that when I'm doing my new ROM?
GraysonB said:
When using Titanium Backup, when I hit run backup, where does it go and how do I restore it after I flash my new ROM. Or do I do the update.zip option and flash that when I'm doing my new ROM?
Click to expand...
Click to collapse
It goes into a folder on /sdcard called TitaniumBackup. When you flash a new rom, you will need to redownload titanium backup. When you redownload it, it will find the backups and you can click on the app to restore it.
Theres no need to use the update.zip method. Do it like this ^

S7 edge With s8 port

Hello.
I am sorry for dumb question.
But i dont understand very well
I am on sac23 rom s8 port
My question is that when if I wanted to flash a mod Like air command etc.
Will i have to download it of s8 or s7 edge
I mean like i had selected my device as s7edge in xda app
Should i stay on that or because of the port i should change it to s8 for mods ?
Sorry if i didnt explained well.
Thanks in advance
junniscorpio said:
Hello.
Should i stay on that or because of the port i should change it to s8 for mods ?
Thanks in advance
Click to expand...
Click to collapse
Stick to S7
Also do not forget to make a backup in TWRP might save you a lot of hassle if one flash goes wrong
:good:
EasyAndroidPro said:
Stick to S7
Also do not forget to make a backup in TWRP might save you a lot of hassle if one flash goes wrong
:good:
Click to expand...
Click to collapse
1st thanks alot for rep .
2nd. Yes i always take a backup cause i already had much mess lol. Now i always take a backup
One more question. I tried to find answer but get confuse.
1.When taking backup in twrp. Is it posibl to just take backup of data without rom ?. I mean if i need to change rom . Wipe and flash rom and restore my data ?.
2. In twrp what contains the kernal
3. Can you explain me shortly
What does efs. Recovery. system . Data. Efs etc contains.
junniscorpio said:
1.When taking backup in twrp. Is it posibl to just take backup of data without rom ?. I mean if i need to change rom . Wipe and flash rom and restore my data ?.
Click to expand...
Click to collapse
it is not reccomended to do this (its called a dirty flash) you can choose to do this anyway when installing a custom ROM most of them come with an option in the AROMA installer letting you do a fresh wipe or "dirty flash" it will just install the ROM over your current leaving your settings/apps there. Or if there is no AROMA installer with the rom just dont do a wipe before you install. no need to restore using a backup
dirty flash should be fine if you are upgrading ROMS to a later version but you should always check the thread if that is okay. you may run into problems if its a huge update.
junniscorpio said:
2. In twrp what contains the kernal
Click to expand...
Click to collapse
the kernal is boot.img
junniscorpio said:
3. Can you explain me shortly
What does efs. Recovery. system . Data. Efs etc contains.
Click to expand...
Click to collapse
heres some info on EFS > http://www.naldotech.com/galaxy-s7-s7-edge-backup-restore-efs-imei-partition/
recovery is TWRP itself
system is the ROM
Data is your apps etc..
a standard backup is already seleted in TWRP which is
Boot / System / Data
you may as well backup EFS as well its only a few Kb
EasyAndroidPro said:
it is not reccomended to do this (its called a dirty flash) you can choose to do this anyway when installing a custom ROM most of them come with an option in the AROMA installer letting you do a fresh wipe or "dirty flash" it will just install the ROM over your current leaving your settings/apps there. Or if there is no AROMA installer with the rom just dont do a wipe before you install. no need to restore using a backup
dirty flash should be fine if you are upgrading ROMS to a later version but you should always check the thread if that is okay. you may run into problems if its a huge update.
the kernal is boot.img
heres some info on EFS > http://www.naldotech.com/galaxy-s7-s7-edge-backup-restore-efs-imei-partition/
recovery is TWRP itself
system is the ROM
Data is your apps etc..
a standard backup is already seleted in TWRP which is
Boot / System / Data
you may as well backup EFS as well its only a few Kb
Click to expand...
Click to collapse
A bundle of thanks mate. Thumbs up

[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?

Categories

Resources