What happens if I wipe /system partition? - Redmi Note 8 Questions & Answers

On literally every thread, there has to be one post saying to "NEVER WIPE SYSTEM!" My assumption is that erasing this partition before a clean flash is safe since that partition will be overwritten anyway. It should never be done in other scenarios like updating or after flashing a mod, if we intend to able to boot back into the OS. Also, recovery and fastboot remains unaffected regardless of the state of /system, right? I wonder which other partitions (like persist) cannot be recovered after a wipe unless backed up?

I wipe system/vendor/data everytime before i flash a rom
if you wipe it and want to reboot your recovery will warn you that there is no OS installed

Related

What am i doing wrong with my roms?

my evo is rooted with simpleroot ota, and whenever i try to flash a rom it get stuck in the boot loader. i tryed flashing Fresh 1.0.1 and DC 3.2.3 and neither of them worked. these are the steps i take to flash a rom
1. backup all my stuff on phone
2. go into the recovery mode
3. wipe cache and dalvic cache
4. backup nand(just in case it doesn't work... like it never does)
5. flash the zip from sd
6. reboot and get stuck in the loop until i restore my nand from step 4
i was just wondering if there was anything else i had to do like wipe data and/or wipe sd: ext partition. also, can someone explain what this partition thing is cuz i have no idea. is it everything on my sd card... if so then how will i restore all my info to my phone
EDIT: also, how do i know if my nand is unlocked, i used simpleroot ota and followed all the steps, is that enough? i noticed that to install fresh 1.0.1 you need nand to be unlocked, but idk if mine is. can i re unlock my nand if it's already done(will anything bad happen
Firstly, you should clear data for sure. Use all 3 wipe options. Also, wipe ext only if you are using app2sd and have partitioned an ext section.
Secondly, you should make your nandroid before you wipe, otherwise you are basically backing up nothing.
Thirdly, If you successfully flashed your recovery to nand, then it is unlocked. You can also do a adb remount command to see if it will remount the system as rw
Fourthly... wait no that's it
I am having the same problem I did the SimpleOTA update, and with booth Fresh and DC just getting stuck in a boot loop, I have no idea what to do....
-Matt
Ok, I solved my problem, the problem was I wasn't reading the direction fully. In order to get rid of the bootloop I simply had to use every option in the AMOS Recovery Image in the wipe menu, I used every wipe option and it worked =)
-Matt

Recovery not accepted?

I rooted and flashed Cyanogen Mod 7, which automatically comes with CWM recovery, I've been wanting to replace CWM with AmonRa's recovery image and I followed all the steps here and my phone seemed to accept it. Except when I power down and boot into recovery, it's still CWM, not Ra's.
Problem? I don't understand why it is not replacing the CWM recovery boot
Using a TELUS Rooted HTC Desire GSM
i've tried updating recovery many times myself without success until a few days ago. i used fastboot. it should work. quite simple too.
What was the process? I'm still new to rooting and flashing things
Fast boot -> Terminal commands -> Reboot to recovery?
Should be
Code:
fastboot erase recovery
fastboot flash recovery "filename".img
You can find more on fastboot here:
http://android-dls.com/wiki/index.php?title=Fastboot
Make sure to do a nandroid backup first!
I think I need to delte something?
I did the steps again from fastboot
$su
#flash_image recovery/sd/card/name_of_recovery_img
usage: flash_image partition file.img
#
Click to expand...
Click to collapse
Not sure
Have you got s-off as well as root?
sdkim89 said:
What was the process? I'm still new to rooting and flashing things
Fast boot -> Terminal commands -> Reboot to recovery?
Click to expand...
Click to collapse
One can only use fastboot if s-off.
Maybe this works:
http://android.modaco.com/content/h...sh-a-permanent-recovery-image-with-unrevoked/
I highly recommend to use linux, with windows it does not work very often.
Oh, no I am still S-On afaik
I've read that the S-Off process may brick my phone so I haven't tried yet, guess I should probably do that first. I need Amon because of the partition options, CWM only allows 512MB partition for my SD, I need 1GB at least because I am trying to flash RCMix S mod
I already installed EXT-3 afaik
Alright so I'm going to look for a failproof method for S-off, then fastboot with the instructions, and hopefully end up with Amon.
Also another question is:
Factory Reset = Full Wipe?
& before switching from ROM to another ROM, I should format cache&do factory reset, format partition --> install EXT3 partition w/ 1GB, then install from SD? (assuming I have the .zip file in my SD)
sdkim89 said:
Oh, no I am still S-On afaik
I've read that the S-Off process may brick my phone so I haven't tried yet, guess I should probably do that first. I need Amon because of the partition options, CWM only allows 512MB partition for my SD, I need 1GB at least because I am trying to flash RCMix S mod
I already installed EXT-3 afaik
Alright so I'm going to look for a failproof method for S-off, then fastboot with the instructions, and hopefully end up with Amon.
Also another question is:
Factory Reset = Full Wipe?
& before switching from ROM to another ROM, I should format cache&do factory reset, format partition --> install EXT3 partition w/ 1GB, then install from SD? (assuming I have the .zip file in my SD)
Click to expand...
Click to collapse
As far as i know, a full wipe is a heavier formatting than a factory reset. With a factory reset you set the rom to the state where it came from, with a full wipe you will be unable to start a rom.
Before switching to another rom, backup all apps and userdata, perform a full wipe (NOT a factory reset), and flash new rom. You do not need to partition or format the ext partition again, because the content on it was deleted by the full wipe (aka wipe all userdata). The fat 32 partition or the content on it won't be touched by a full wipe.
After flashing is finished, restore apps and userdata if switching from sense to sense rom.
If switching from sense to non-sense rom or reverse, only restore apps. Otherwise there will be heavy and strange system problems.
Everything seems to be working now - I re-went through the noob-proof thread again and S-Off'd safely
Good news!

SDCard & wiping question

I have unlocked my bootloader and I understood that doing so wiped everything including the sdcard. Not that my bootloader is unlocked, I can do just about anything and the sdcard partition will not be touched correct? Is there anything that I could do that would wipe the sdcard partition? I want to start playing with my device (root, flash CWM, flash ROMs) and wiping from CWM and I want to make sure I understand when and when not the SDcard would get wiped.
The SD card won't be deleted until you manually delete the contents of it.
JayDaKissEP said:
I have unlocked my bootloader and I understood that doing so wiped everything including the sdcard. Not that my bootloader is unlocked, I can do just about anything and the sdcard partition will not be touched correct? Is there anything that I could do that would wipe the sdcard partition? I want to start playing with my device (root, flash CWM, flash ROMs) and wiping from CWM and I want to make sure I understand when and when not the SDcard would get wiped.
Click to expand...
Click to collapse
I am still uncertain as to what wipes it and what doesn't. I know for sure, however, that flashing the data partition using fastboot will wipe the sdcard. Wiping via CWM reportedly does not wipe the sdcard (although I have not tried it myself). Unsure about doing a factory reset either in CWM or in Android.
wiping data in CWM does not delete the sdcard contents on the version 5 clockworkmod kernels.
How about a factory resent in Android?

TWRP advantages to backing up cache/recovery

what are the advantages to backing up the cache and recovery partitions?
What would I lose in some popular apps if I didn't backup the cache partition
Also would I lose my recovery TWRP boot menu on a restored image if I didn't backup the recovery partition?
You won't lose anything important if you don't backup the cache and you don't need to backup the recovery partition. If something happens to your recovery partition, you'll need to use ODIN or mobile ODIN to flash it, so backing it up is useless.
No need to backup your recovery. If your recovery partition gets messed up you wouldn't be able to get in twrp to flash it. Also recovery partitions can be fixed while the device is on so nothing to worry about. I guess if you theme it up or want a specific version of twrp it might be helpful to back it up.

Problem after flashing wth global rom

Hello,
I get Xiaomi mix 2s global with:
-Unblocked bootloader
-Installed OrangeFox Recovery
-Installed some Android 10 pixel experience rom
I wanted back to original global rom with stock recovery and reblock bootloader, so i download Global Stable ROM V11.0.5.0.QDGMIXM, put to internal storage and install from OrangeFox.
And now, when I turn on the smartphone, it’s starts, restart and go again to OrangeFox recovery.
In log I have: “Android Rescue Party trigger! Wipe data and caches and/or clean-flash you ROM!"
OrangeFox disables forced encryption by default, and now I need to enabled encryption? How to do it?
So, How to fix it?
I want to back to original global rom with stock recovery and reblock bootloader, bu first I have t turn on system.
Thanks
EDIT:
After installatin PixelExperience_polaris-10.0-20200528-1111-OFFICIAL from OrangeFox, smartphone starts normally, now I want to back to stock rom, recovery and reblock bootloader.
If your bootloader unlocked try formatting your data in orange fox recovery and reboot and see if that fixes it. Just remember formatting data partition wipes everything on your device so anything you want to save be sure and transfer over to your PC first.
doesntwork
flash713 said:
If your bootloader unlocked try formatting your data in orange fox recovery and reboot and see if that fixes it. Just remember formatting data partition wipes everything on your device so anything you want to save be sure and transfer over to your PC first.
Click to expand...
Click to collapse
I got the same error - Android Rescue Party trigger..." and bootlop.
EDIT:
But I wiped:
Dalvik / ART Cache
Cache
System
Data
Didn't wipe: Internal storage and Vendor.
After that, i installed Global stable V11.0.5.0.QDGMIXM and get the same error, but some settings have been saved - for example my pattern for unlocking.
EDIT:
I did: wipe all, reboot to twrp, flash ROM, and when I try format data, I get error:
Formatting Data using mke2fs...
mke2fs -t ext4 b...
Proces ebded with ERROR: 1
Unable to wipe Data.
Unable to format to remove encryption.
EDiT3:
Success!
I tried once more, and it's ok.
Solution:
1. Wipe all via recovery
2. reboot to recovery
3. flash rom
4. Format data partition (format, no wipe, if mke2fs doesn't work, try with rm-f)
5. Reboot system.
After that everything is ok, at the end uploading stock recovery via adb went without a any problem.
Thanks!
Just to help many others. The trick here, is to format data, not just wipe data from TWRP. You need to hit format data from the wipe menu and type "yes" to confirm. Some things need to be said in plain English.
MetallicGR said:
Just to help many others. The trick here, is to format data, not just wipe data from TWRP. You need to hit format data from the wipe menu and type "yes" to confirm. Some things need to be said in plain English.
Click to expand...
Click to collapse
Thank you so much. I had formated the internal memory and working, no bootloop into recovery.
master_lam said:
Thank you so much. I had formated the internal memory and working, no bootloop into recovery.
Click to expand...
Click to collapse
i did all the steps you did and i still had problems, any other solution?
Forget it, your steps worked for me too!

Categories

Resources