Question What happens if i wipe the system partition? - Xiaomi Poco X3 Pro

The instructions were clear and i flashed LineageOS over the stock rom. Works flawlessly. However i wondered if it would still work if i wiped the system beforehand. Does the new rom use parts of the old one?

Snnwarger said:
The instructions were clear and i flashed LineageOS over the stock rom. Works flawlessly. However i wondered if it would still work if i wiped the system beforehand. Does the new rom use parts of the old one?
Click to expand...
Click to collapse
Wiping system is recommended.

Wiping system basically does what it says it does. Deletes the OS on your phone.

Related

Weird custom rom issue

Just got my n5 and decided to unlock and root it, everything went well until I wanted to flash a rom, no matter what rom I flashed I got all kinds of issues from all apps force closing to bootloops, soft keys not working ect. I've tried flashing stock img, factory reseting ect, nothing seems to work. I'm not sure what's going on here, any help?
I am probably already asking you questions you have already done but... Have you reformated the system, data, and cache partitions prior to flashing? Also are you checking the MD5 of the ROMs you are trying?
Yeah tried all of that, md5's are correct, thanks though
what recovery and version are you on?
what wipes exactly are you performing?
you've checked the md5?
Ok. just trying to narrow things down. When you flash the stock image from https://developers.google.com/android/nexus/images#hammerheadkrt16m are you running the flash-all script? And after that before even adding any apps or changing anything does it give you issues?
@xBeerdroiDx
I'm using cwm 6.0.4.4, wiping system data and cache, and yes I've checked md5's
@neomorphix
Stock works perfectly fine but custom roms gives me issues I listed above, not sure why
Xolith said:
@xBeerdroiDx
I'm using cwm 6.0.4.4, wiping system data and cache, and yes I've checked md5's
@neomorphix
Stock works perfectly fine but custom roms gives me issues I listed above, not sure why
Click to expand...
Click to collapse
are you flashing a gapps add-on package with your custom roms? the right gapps?
Do issues apear straight after flashing the custom ROM or once you start loading apps and changing settings? Also are you using another kernel with the ROMs or the one that comes with them?
simms22 said:
are you flashing a gapps add-on package with your custom roms? the right gapps?
Click to expand...
Click to collapse
Yeah, tried a few including banks, PA 0-day, psx gapps
neomorphix said:
Do issues apear straight after flashing the custom ROM or once you start loading apps and changing settings? Also are you using another kernel with the ROMs or the one that comes with them?
Click to expand...
Click to collapse
They appear right after I flash the rom, tried with both the included and with a custom one
Tried a few days later and it worked, weird haha. Thanks though

Anyone else flashing ROMs and finding them sluggish?

I used to flash things like Liquidsmooth and my phone would fly. Now when I flash GPE or a CM based ROM, it hangs and lags sometimes. Anyone have any similar problems?
Would also be a good time to ask, will wiping internal storage in TWRP delete recovery so I can't flash ROMs?
Recon0212 said:
I used to flash things like Liquidsmooth and my phone would fly. Now when I flash GPE or a CM based ROM, it hangs and lags sometimes. Anyone have any similar problems?
Would also be a good time to ask, will wiping internal storage in TWRP delete recovery so I can't flash ROMs?
Click to expand...
Click to collapse
No issues here... To answer your question... no It will remove your backups if you stored any there. Once you have installed twrp it will always be there unless you change it.
Recon0212 said:
Would also be a good time to ask, will wiping internal storage in TWRP delete recovery so I can't flash ROMs?
Click to expand...
Click to collapse
That's your whole problem right there.
You are reluctant to wipe /data? You HAVE to do it if you go from one rom to another. Also called a clean install.
If you go to the Wipe menu in TWRP and just swipe the button it will wipe cache, Dalvik and /data except /data/media/ which is where your personal files live. It will wipe you apps and their settings, but you can backup those in TiBu and restore them afterwards. Do not restore system settings from TiBu though!
Give your phone a break. Do that factory wipe I described above, then re-flash your current rom and I can pretty much guarantee it'll be night and day.
This phone is so fast - a shame to gum it up

Does TWRP Still Work?

Hi everyone,
I have a question about upgrading to 5.0. I know that ART is now the standard run time, but I don't know if that changes anything with how ROMs are flashed now. Usually, you have to wipe DALVIK, among other things, before you flash a ROM so that you can get it to work properly. Unless I'm misunderstanding, DALVIK should no longer be present, so, how does that affect how TWRP works?
AxelRoldos said:
Hi everyone,
I have a question about upgrading to 5.0. I know that ART is now the standard run time, but I don't know if that changes anything with how ROMs are flashed now. Usually, you have to wipe DALVIK, among other things, before you flash a ROM so that you can get it to work properly. Unless I'm misunderstanding, DALVIK should no longer be present, so, how does that affect how TWRP works?
Click to expand...
Click to collapse
Twrp works just like it used to. No problems at all
Sent from my Nexus 9 using XDA Free mobile app
AxelRoldos said:
Hi everyone,
I have a question about upgrading to 5.0. I know that ART is now the standard run time, but I don't know if that changes anything with how ROMs are flashed now. Usually, you have to wipe DALVIK, among other things, before you flash a ROM so that you can get it to work properly. Unless I'm misunderstanding, DALVIK should no longer be present, so, how does that affect how TWRP works?
Click to expand...
Click to collapse
wiping "dalvik" or "art" before flashing a rom is pointless. it will automatically get wiped when you flash the rom. and it has nothing to do with how twrp works.

Changing ROMs back and forward

I've installed one ROM, tried it and everything works fine. Than made a backup with custom recovery.
After that I flashed the other ROM, xposed it, tried it and everything works fine.
Now, I want to restore the first one, try and compare with second, and maybe after that I will want to restore the second one, or so.... maybe try each one for few times.
What do I need to wipe when I'm changing those ROMs? Dalvick/ cashe, or do I need to make factory reset every time? And what about Xposed, do I need to disable or uninstall it before flashing/restoring the other ROM?
Thank you for your answers.
P.S. Both ROMs are customized, prerooted LP 5.1.1, with dual recovery
if you are using a recovery such as twrp and done a full backup then you wouldn't need to wipe anything as the system/data would be written with what was backed up at the time
Richy99 said:
if you are using a recovery such as twrp and done a full backup then you wouldn't need to wipe anything as the system/data would be written with what was backed up at the time
Click to expand...
Click to collapse
Thank you very much for your answer! Appreciate it.

Is clean flash really clean?

I have been using custom roms for guite a long time now. I have flashed several different roms and several flashable apps and mods without any major problems.
Until today. I flashed one camera app on top of another. The result was "com.android.phone has stopped".
1. So I first tried to uninstall that app with Rom Toolbox. Didn't help.
2. Then I cleared data and cache from Phone services. Didn't help.
3. Then I booted to recovery and wiped cache. No help.
4. Then I made factory reset, i.e. clean flash of my current rom. That did not help either! Still com.android.phone FC.
Seems that clean flash had still left something somewhere that caused the FC.
5. So I had to wipe EVERYTHING and flash and install and copy and restore all apps and data back to phone. Several hours of a job.
Yep, wiping everything is clean flash, or wipe everything but internal storage (if still problems, delete . Android folder beforehand).
Sent from my Pixel using XDA-Developers Legacy app
simeoni said:
I have been using custom roms for guite a long time now. I have flashed several different roms and several flashable apps and mods without any major problems.
Until today. I flashed one camera app on top of another. The result was "com.android.phone has stopped".
So I first tried to uninstall that app with Rom Toolbox. Didn't help.
Then I cleared data and cache from Phone services. Didn't help.
Then I booted to recovery and wiped cache. No help.
Then I made factory reset, i.e. clean flash of my current rom. That did not help either! Still com.android.phone FC.
Seems that clean flash had still left something somewhere that caused the FC.
So I had to wipe EVERYTHING and flash and install and copy and restore all apps and data back to phone. Several hours of a job.
Click to expand...
Click to collapse
for mw to be clean i would flash stock firmware then do the following procedure here
https://forum.xda-developers.com/tmobile-g4/development/turbo-cleaning-proceure-h811-t3417606
simeoni said:
I have been using custom roms for guite a long time now. I have flashed several different roms and several flashable apps and mods without any major problems.
Until today. I flashed one camera app on top of another. The result was "com.android.phone has stopped".
So I first tried to uninstall that app with Rom Toolbox. Didn't help.
Then I cleared data and cache from Phone services. Didn't help.
Then I booted to recovery and wiped cache. No help.
Then I made factory reset, i.e. clean flash of my current rom. That did not help either! Still com.android.phone FC.
Seems that clean flash had still left something somewhere that caused the FC.
So I had to wipe EVERYTHING and flash and install and copy and restore all apps and data back to phone. Several hours of a job.
Click to expand...
Click to collapse
A factory reset isn't a clean flash. A clean flash is wipe system, data, dalvik/art cache. You have flashed the camera app to your system partition, so you have to wipe /system in twrp too (together with /data and /cache if you want to make a clean flash). But in your case it should be enough to wipe system and then reflash your Rom to get rid of your issue
rob rich said:
A factory reset isn't a clean flash. A clean flash is wipe system, data, dalvik/art cache. You have flashed the camera app to your system partition, so you have to wipe /system in twrp too (together with /data and /cache if you want to make a clean flash). But in your case it should be enough to wipe system and then reflash your Rom to get rid of your issue
Click to expand...
Click to collapse
OK, thanks. Maybe in my step 4 above I thought that factory reset was enough but I didn't notice that it does not wipe system. So I went too far and wiped all my data, too.
But earlier when I have flashed different roms and they always tell that you must do clean flash, I didn't wipe system. So I thought clean flash was just factory reset. Still those different roms were working ok. Next time I try to remember wipe system also.

Categories

Resources