I cant seem to find my way to FULLY wipe when I want to flash or try a new ROM. I just installed an RRO that resulted in SystemUI crash, I then went to reflash the ROM, same results. Decided to WIPE in TWRP and reflash the rom, the SystemUI FC is still there ! Wipe, Flash ROM, then Wipe, same result...Any help ? What's wrong with my TWRP ? Im on the latest.
I just restored an old backup, and I have the same FC of system UI !
Ensifolk said:
I cant seem to find my way to FULLY wipe when I want to flash or try a new ROM. I just installed an RRO that resulted in SystemUI crash, I then went to reflash the ROM, same results. Decided to WIPE in TWRP and reflash the rom, the SystemUI FC is still there ! Wipe, Flash ROM, then Wipe, same result...Any help ? What's wrong with my TWRP ? Im on the latest.
I just restored an old backup, and I have the same FC of system UI !
Click to expand...
Click to collapse
TWRP doesn't wipe the vendor partition where the layer is kept. You have to manually mount the vendor partition in TWRP then use TWRPs inbuilt file browser to go into the overlay folder and delete the layer files, this will stop the System UI FCs
There are also flashable stock vendor partition files available in some of the threads in the Android development section (can't remember where exactly) flashing them will restore it to stock.
Finally, you can fastboot flash the whole stock ROM from a pc and this will also remove them.
Deleting them using TWRP is probably the easiest.
Ensifolk said:
I cant seem to find my way to FULLY wipe when I want to flash or try a new ROM. I just installed an RRO that resulted in SystemUI crash, I then went to reflash the ROM, same results. Decided to WIPE in TWRP and reflash the rom, the SystemUI FC is still there ! Wipe, Flash ROM, then Wipe, same result...Any help ? What's wrong with my TWRP ? Im on the latest.
I just restored an old backup, and I have the same FC of system UI !
Click to expand...
Click to collapse
Batfink33 said:
TWRP doesn't wipe the vendor partition where the layer is kept. You have to manually mount the vendor partition in TWRP then use TWRPs inbuilt file browser to go into the overlay folder and delete the layer files, this will stop the System UI FCs
There are also flashable stock vendor partition files available in some of the threads in the Android development section (can't remember where exactly) flashing them will restore it to stock.
Finally, you can fastboot flash the whole stock ROM from a pc and this will also remove them.
Deleting them using TWRP is probably the easiest.
Click to expand...
Click to collapse
My index thread has links to the flashable vendor zips:
http://forum.xda-developers.com/nexus-6p/general/index-huawei-nexus-6p-t3213583
It's the easiest solution.
Related
I have the batman rom installed on my g95ff now since my stock rom got boot looped when i tried to flash a boot logo that was a size too big.When that happened i flashed the stock firmware with odin aswell as stock recovery and it let me clear my cache/factory reset my phone to fix it.Sadly i lost my bootlogo and boot animation collection i had stored but i had most of my important apps backed up with titanium,so to make up for the lost data i rerooted with twrp,installed the batman rom and restored my apps back.The rom is really neat since i can customize more ui things such as the status bar aswell as my nav bar color which couldnt be done on the stock rom.So now that im familiar with installing roms,would i be able to try other ones simply by reflashing the stock firmware over the batman rom and reinstalling twrp?
So you're asking how you can try other custom ROMs?
You don't need to flash the stock ROM and flash TWRP every time you want to try a new custom ROM. It's MUCH easier than that.
You just need to backup your apps as normal with Titanium Backup, then boot into TWRP. From the Wipe menu, wipe system, data, cache, and dalvik-cache.
Then just flash the new ROM zip file as normal in TWRP, and you're done.
the_scotsman said:
So you're asking how you can try other custom ROMs?
You don't need to flash the stock ROM and flash TWRP every time you want to try a new custom ROM. It's MUCH easier than that.
You just need to backup your apps as normal with Titanium Backup, then boot into TWRP. From the Wipe menu, wipe system, data, cache, and dalvik-cache.
Then just flash the new ROM zip file as normal in TWRP, and you're done.
Click to expand...
Click to collapse
So as long as you wipe your phone you can install custom roms over anough anoughter custom rom.Sounds simple enough then.
iostoandroidconvert said:
So as long as you wipe your phone you can install custom roms over anough anoughter custom rom.Sounds simple enough then.
Click to expand...
Click to collapse
Yep, the "System" partition is where the ROM is installed. When you wipe that, you're essentially wiping the ROM from your phone.
Before going into the subject, I'll say that I have tried to seach this matter in XDA and Google, but nothing showed up.
Okay, so my matter is that I can't restore my backup of stock rom(8.0) after I flash a 8.1 rom. I've backuped with official TWRP "recovery-3.2.1-2-oreo.img".
My procedures are :
back up stock 8.0(system, data, cache, efs) with official TWRP "recovery-3.2.1-2-oreo.img"
flash oreo rom(with wiping internel, data, system, cache) and boot it fine.
restore my stock backup with same TWRP
boot system
The results are :
Goes past boot logo
Boot animation('android one' with colors sliding) shows up
and... just infinite loop of boot animation.
The ROM I used is RR.
I think the main problem is related with encryption.... Just my thought, tho.
So what I'm asking is :
1. If you face the same problem as me?
2. If you aren't and you restore goes fine, please tell me your procedures including ROM used and TWRP used.
3. Whether it is safe to decrypt stock rom?
Thanks in advance!
You don't need to flash stock ROM again. You have a system image backup(system, data, cache, efs), right? Wipe data , system, cache if you are coming from any other ROM. Then reboot to bootloader. Boot into latest TWRP from Fastboot (don't flash). Then go to restore and restore the system image you had backed up. Don't restore efs if you haven't lost your IMEI.
I've done exactly as ypu told, but it doesn't boot...
Did you manage to restore without problem with your method?
Yes I was able to. No problem here.
What TWRP did you use? Also, what ROM have you flashed?
Used the latest TWRP by MohanCM for Oreo. I did it when I was on Lineage os and wanted to go to stock
@guy_infinity Okay, thanks for your answer! Gonna try out later, once more.
Hmmm.... Still didn't boot up.
I thought I had to do everything from the begining, but flashing stock with save userdata option rescued me.
P.S. does anyone know about the error E: recv error on uevent?
try flashing stock rom using mi flash and after flashing restore normally using latest twrp/deadman's without system image voila everything will be back
@arjunbalan1994 Big thanks for your suggestion! Will try that too later
Hi, did you solve your restore problem? I have the same w/ my Redmi Note 5 and stock Miui backup after flashing RR.
Thanks for your help
I was use 8.1 root and twrp recovery. Yesterday fastboot flash may rom and update 2nd may OTA
Don't understand : May rom is Miui rom?
And did you restore your miui rom 8.0 backup ith twpr after the fastboot flash stock?
Ok, so I am not new to flashing rom but for some reason I am having huge issues trying to install clean stock OOS 5.1.4 rom. Just want to double check I am not doing anything stupid since I mainly been flashing custom roms (xXx rom mainly).
So I simply wipe dalvik/ART cache, cache, system and data (want to start off completely clan) then flashed the OnePlus5Oxygen_23_OTA_037_all_1807181258_7b4b6.zip file in TWRP.
I am currently on the latest blue TWRP and after flashing, it will try to boot but reboots back into TWRP. I have tried the zip file from a number of sources and they all do the same. Am I missing something here?
UPDATE: I did do something stupid after all. I forgot that my Oneplus was decrypted. So all I had to do was go into TWRP and go to Wipe and format data to re-encrypt it.
Z-Blade said:
Ok, so I am not new to flashing rom but for some reason I am having huge issues trying to install clean stock OOS 5.1.4 rom. Just want to double check I am not doing anything stupid since I mainly been flashing custom roms (xXx rom mainly).
So I simply wipe dalvik/ART cache, cache, system and data (want to start off completely clan) then flashed the OnePlus5Oxygen_23_OTA_037_all_1807181258_7b4b6.zip file in TWRP.
I am currently on the latest blue TWRP and after flashing, it will try to boot but reboots back into TWRP. I have tried the zip file from a number of sources and they all do the same. Am I missing something here?
Click to expand...
Click to collapse
When starting fresh, wiping of internal storage should be considered. I recommended 2 guides here https://forum.xda-developers.com/on...nos-beta-1-android-oreo-t3710003/post77205633
Hi ? all,
I want to flash another custom rom
Bcz the old one has some issues.
Tell me what should I do (process )?
Ayman Djebali said:
Hi ? all,
I want to flash another custom rom
Bcz the old one has some issues.
Tell me what should I do (process )?
Click to expand...
Click to collapse
Boot to recovery (I reccomend orangefox) wipe cache, dalvik, data, system > flash rom > flash gapps (optional) > flash magisk (optional) if after reboot it ask for password you have to format data (i've noticed that if you flash magisk before booting the system the password isn't required). If you come from miui maybe you need to flash vbmeta before rom (i'm not sure but it doesn't hurt)
darhma said:
Boot to recovery (I reccomend orangefox) wipe cache, dalvik, data, system > flash rom > flash gapps (optional) > flash magisk (optional) if after reboot it ask for password you have to format data (i've noticed that if you flash magisk before booting the system the password isn't required). If you come from miui maybe you need to flash vbmeta before rom (i'm not sure but it doesn't hurt)
Click to expand...
Click to collapse
It seems easy.. But i faced a problem before when I wipe the system I think,, I got No OS installed.. How I can avoid that ( flashing the stock rom)
What the role of vbmeta
Should I backup my apps by titaniumbackup
Excuse me for a lot of questions
Ayman Djebali said:
It seems easy.. But i faced a problem before when I wipe the system I think,, I got No OS installed.. How I can avoid that ( flashing the stock rom)
What the role of vbmeta
Should I backup my apps by titaniumbackup
Excuse me for a lot of questions
Click to expand...
Click to collapse
Do you want to flash a custom rom or you want to return to official miui from a custom rom?
darhma said:
Boot to recovery (I reccomend orangefox) wipe cache, dalvik, data, system > flash rom > flash gapps (optional) > flash magisk (optional) if after reboot it ask for password you have to format data (i've noticed that if you flash magisk before booting the system the password isn't required). If you come from miui maybe you need to flash vbmeta before rom (i'm not sure but it doesn't hurt)
Click to expand...
Click to collapse
Ot seems easy.. But before when I wipe the system as I remember,, I got no OS installed how I can avoid that I don't want to flash stock rom again…
What is the role of vbmeta?
Can I put the custom rom in internal storage "I don't have SD card !
Ayman Djebali said:
Ot seems easy.. But before when I wipe the system as I remember,, I got no OS installed how I can avoid that I don't want to flash stock rom again…
What is the role of vbmeta?
Can I put the custom rom in internal storage "I don't have SD card !
Click to expand...
Click to collapse
When you wipe system you delete the previous os (rom) installed then you flash the new os (rom). Wich rom do you want to install?
Ayman Djebali said:
Ot seems easy.. But before when I wipe the system as I remember,, I got no OS installed how I can avoid that I don't want to flash stock rom again…
What is the role of vbmeta?
Can I put the custom rom in internal storage "I don't have SD card !
Click to expand...
Click to collapse
If you don't have SD Card then don't wipe Internal Storage. But Clean Flash always recommend.
darhma said:
Do you want to flash a custom rom or you want to return to official miui from a custom rom?
Click to expand...
Click to collapse
My phone now with ''CrDroid 5.6'' I want to flash "HAVOC'' custom rom
Ayman Djebali said:
I want to flash another custom rom "HAVOC''
Click to expand...
Click to collapse
Ok so if you want to reinstall your app and data after flashing the rom you can backup with titanium backup or migrate. Reboot to recovery and wipe cache, dalvik, system and data after this flash the rom (you can flash it from internal storage) after the rom without rebooting to the system flash gapps (optional) and magisk (I reccomend to flash magisk so you can restore the backup and it avoid to have the problem with password request). Reboot to system
darhma said:
Ok so if you want to reinstall your app and data after flashing the rom you can backup with titanium backup or migrate. Reboot to recovery and wipe cache, dalvik, system and data after this flash the rom (you can flash it from internal storage) after the rom without rebooting to the system flash gapps (optional) and magisk (I reccomend to flash magisk so you can restore the backup and it avoid to have the problem with password request). Reboot to system
Click to expand...
Click to collapse
Last question
i dont have sd card and in the past when i wipe system , data ..... and try to flash the zip custom rom ( in Download folder OF my phone ) i can't find it ... with no OS installed i can't open my phone to transfer files... so the only solution flashing stock rom.
Where should i put the Files ( Custom rom, Gapps, Magisk..) to avoid this case.
Thank you
Ayman Djebali said:
Last question
i dont have sd card and in the past when i wipe system , data ..... and try to flash the zip custom rom ( in Download folder OF my phone ) i can't find it ... with no OS installed i can't open my phone to transfer files... so the only solution flashing stock rom.
Where should i put the Files ( Custom rom, Gapps, Magisk..) to avoid this case.
Thank you
Click to expand...
Click to collapse
Maybe you have wiped also internal storage or format data? If you wipe just cache, dalvik, data and system you must found the files in the download folder.
Thank you bro
Ayman Djebali said:
Thank you bro
Click to expand...
Click to collapse
You're welcome. Aniway you can always download the needed files in your pc then connect the phone to it and transfer the files in the internal memory
darhma said:
You're welcome. Aniway you can always download the needed files in your pc then connect the phone to it and transfer the files in the internal memory
Click to expand...
Click to collapse
In case No OS installed.. PC not detected the phone
in your opinion waht is the best custom rom for RN7 ( for battery and gaming ) :silly:
Ayman Djebali said:
In case No OS installed.. PC not detected the phone
in your opinion waht is the best custom rom for RN7 ( for battery and gaming ) :silly:
Click to expand...
Click to collapse
I think that if you reboot to recovery and enable mtp you can detect the phone from pc but i'm not 100% sure. I don't play game. For now i'm on official havoc and i like it other roms that i like are aosmp and syberia
im having big problems about vendor. for start im giving some info:
device: mi a1 (tissot)
current os: lineage OS 17.1
root: yes
twrp: can install or use just booting .img
i unlocked my device and installed twrp. there is no problem.
i wanted flash lineage OS and i wiped my device. gives error about cannot mount /vendor
i installed treble supported twrp and installed lineage OS. flashed magisk. installed microg...
then i tried flash mapsv1.zip which is recommended for microg. then booom. another /vendor error.
now i can boot device. i can use everything except gps. google maps app cannot found location. yandex maps can found and i can use it until lock screen or going main screen (or another app). then it starts stopping everytime until i clen its data and cache. then again... in chrome when i open google maps and try found my location chrome stops.
i tried to change /vendor/etc/gps.conf. its still same.
what to do now guys? im worrying about if i try re-flash rom it doesnt flash and device bricked. any solution without re-flash rom? what causes to cannot mount /vendor after solved it?
What exactly did you wipe? I think you wiped vendor, or bumped your O.S. from an old firmware. However, wiping system, data and Dalvik was more than enough.
To solve this, the worst thing to do is trying to hook around. Just reflash the latest original firmware and start again.
Keep in mind that you might need to backup your stuff first.
Use adb pull and push commands in case your device is rebooting too much. Check if device works well this time.
Next, open adb access from device and reboot fastboot to reflash your custom recovery, then reboot recovery and wipe just these items. Finally, complete Rom flashing procedure, depending of your needs.
KaaMyA said:
What exactly did you wipe? I think you wiped vendor, or bumped your O.S. from an old firmware. However, wiping system, data and Dalvik was more than enough.
To solve this, the worst thing to do is trying to hook around. Just reflash the latest original firmware and start again.
Keep in mind that you might need to backup your stuff first.
Use adb pull and push commands in case your device is rebooting too much. Check if device works well this time.
Next, open adb access from device and reboot fastboot to reflash your custom recovery, then reboot recovery and wipe just these items. Finally, complete Rom flashing procedure, depending of your needs.
Click to expand...
Click to collapse
Dalvik cache , system, data, and cache. My device is not rebooting too much. Sory if i couldn't explain. Everything working fine except when an app tries use my location, app stops running, i cant flash anything right now.
İ thought anyone knows mapsv1.zip file(microg.org) and which files are replaced or added by this file when flash it. And can i do it manually? Btw i can read and write /vendor file with solid explorer
İf needed to re-flash rom thats ok but i think lineage OS was perfect for me until this error. And a last thing: can i backup my settings. (İ already took backup of everything in stock when unlocked bl)
Thank you for help
Edit: gps problems started when i tried flash mapsv1
ROM could be perfect, but what I doubt is how perfectly you followed the procedure. Again, better start from zero, being sure you have all the prerequisites (latest firmware included). My humble opinion.
KaaMyA said:
ROM could be perfect, but what I doubt is how perfectly you followed the procedure. Again, better start from zero, being sure you have all the prerequisites (latest firmware included). My humble opinion.
Click to expand...
Click to collapse
Okey ilk try it and share the result night. But is it possible to backup settings of phone?
Well, that's why in step 0 is always recommended to backup you phone. At this level you should have nothing in settings, since you wipe it all... However, that's better, that's the goal of a Clean Install after all. Each ROM has its own flavour and is not recomendable to overwrite these values from a backup, if you're changing ROMs. What you could do, was to backup your apps and some settings with a third app like Swift Backup, or older Titanium Backup, before starting it all, or else, making a complete backup from recovery, in case you end with a problem with newly installed ROM (recommendation here is disable any screen security lock before doing Backups).
KaaMyA said:
Well, that's why in step 0 is always recommended to backup you phone. At this level you should have nothing in settings, since you wipe it all... However, that's better, that's the goal of a Clean Install after all. Each ROM has its own flavour and is not recomendable to overwrite these values from a backup, if you're changing ROMs. What you could do, was to backup your apps and some settings with a third app like Swift Backup, or older Titanium Backup, before starting it all, or else, making a complete backup from recovery, in case you end with a problem with newly installed ROM (recommendation here is disable any screen security lock before doing Backups).
Click to expand...
Click to collapse
İ did it all. Step by step. But i realized something. That errors doesnt matter on my device. Bcs when i flashing stock mi flash tool said failed but i booted system and everything working fine. İ installed persistent twrp. Same error. Then wiped. Same error but wipe completed. Than i flashed this zips single and booted everytime: lineage os, magisk, backup of migrate. Everytime it said cannot mount vendor but all of this apps and os and recovery working fine
Thank you for your helps
[Helping alone ]
Nurullah44 said:
İ did it all. Step by step. But i realized something. That errors doesnt matter on my device. Bcs when i flashing stock mi flash tool said failed but i booted system and everything working fine. İ installed persistent twrp. Same error. Then wiped. Same error but wipe completed. Than i flashed this zips single and booted everytime: lineage os, magisk, backup of migrate. Everytime it said cannot mount vendor but all of this apps and os and recovery working fine
Thank you for your helps
[Helping alone ]
Click to expand...
Click to collapse
if you didn't treblized your device then its not a problem. I have this error too but that's because there is no vendor partition to mount. as been said by unipo:
https://forum.xda-developers.com/mi...-3-3-1-0-tissot-manager-t3976117/post81326153
portox said:
if you didn't treblized your device then its not a problem. I have this error too but that's because there is no vendor partition to mount. as been said by unipo:
https://forum.xda-developers.com/mi...-3-3-1-0-tissot-manager-t3976117/post81326153
Click to expand...
Click to collapse
Are you sure? Bcs i can view and change /vendor in root path. Treblizing is updating and repairing system partitions right? İ am using treble support twrp, flashed stock rom via mi flash(said error but worked fine) then how to treblize a device? And is this required for anything(like a rom, an app)?