Related
Hi Guys, I wanted to know the steps for installing a custom rom via TWRP Recovery in a 100% clean way , I don't want any residue of old rom .
What's the best way to have a custom rom installed in the cleanest way ? (No old files no nothing)
I installed the rom cm11 doing this :
1 factory reset, 2 cache, 3 dalvik cache, 4 system ,5 data, 6 flash install rom and gapps , 7 before rebooting wipe cache and dalvik.
Well 1 does 2, 3 and 5 anyway.
Sent from my Nexus 5 using Tapatalk
just wipe data and flash your rom(and gapps). flashing a rom automatically wipes your cache and dalvik, so it does not need to get done again.
It's worth noting some roms updater-scripts will backup some elements in system and restore them during the flash (example slimkat) so a format of system may need to be done in some circumstances
Sent from my Nexus 5 using Tapatalk
rootSU said:
It's worth noting some roms updater-scripts will backup some elements in system and restore them during the flash (example slimkat) so a format of system may need to be done in some circumstances
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I installed Cm 11 Snapshot m6 in this way : 1 factory reset- 2 cache- 3 dalvik cache- 4 system -5 data, 6 flash install rom and gapps -7wipe cache e dalvik and reboot. I installed cyanogemod 11 from stock I did in the right way?
fra6220 said:
I installed Cm 11 Snapshot m6 in this way : 1 factory reset- 2 cache- 3 dalvik cache- 4 system -5 data, 6 flash install rom and gapps -7wipe cache e dalvik and reboot. I installed cyanogemod 11 from stock I did in the right way?
Click to expand...
Click to collapse
Here:
1) Factory reset / wipe data
2) Format System
3) Flash ROM
If you are staying with same ROM dev, skip step 2.
rootSU said:
Here:
1) Factory reset / wipe data
2) Format System
3) Flash ROM
If you are staying with same ROM dev, skip step 2.
Click to expand...
Click to collapse
Thanks for your help, sorry for disturbying I wanted to know are this folder essentials or can they be deleted?
Thanks
Personally, when I move to a new ROM I wipe everything. In TWRP under Wipe, I chose advanced and check everything. After, go back to the wipe menu and select the option on the right to format data. It will require you to type "yes" in the box. When it finishes, I reboot recovery, and use ADB Sideload to install my ROM of choice.
A few warnings, this wipes all data, so make sure anything you wish to save has been backed up. Also, make sure ADB is installed and working correctly as it will be your only way to get a custom ROM transferred to your phone.
Sent from my Nexus 5 using Tapatalk
serty4011 said:
Personally, when I move to a new ROM I wipe everything. In TWRP under Wipe, I chose advanced and check everything. After, go back to the wipe menu and select the option on the right to format data. It will require you to type "yes" in the box. When it finishes, I reboot recovery, and use ADB Sideload to install my ROM of choice.
A few warnings, this wipes all data, so make sure anything you wish to save has been backed up. Also, make sure ADB is installed and working correctly as it will be your only way to get a custom ROM transferred to your phone.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
That's a little over kill. I've never had a problem just using twrp's default swipe to wipe. You also must not use tibu and restore all your apps from Google
Sent from my Nexus 5 using XDA Free mobile app
Yeah, no need to wipe internal SD.....at all.
Adb us unnecessary as well.
Download ROM on phone, flash from internal SD.
rootSU said:
Here:
1) Factory reset / wipe data
2) Format System
3) Flash ROM
If you are staying with same ROM dev, skip step 2.
Click to expand...
Click to collapse
This.
+1
Sent from my GT-I9500
kj2112 said:
Yeah, no need to wipe internal SD.....at all.
Adb us unnecessary as well.
Download ROM on phone, flash from internal SD.
Click to expand...
Click to collapse
It's overkill for sure.. It's an ocd thing.
Sent from my Nexus 5 using Tapatalk
I install ResurrectionRemix M v5.7.2 and gapps 6.0 to my phone through TWRP. it was good. But later i decided to install AospExtended-v3.1 . I took the zip file into my USB Removable disk as my phone didn't have any external storage so that i could install it with the help of OTG cable!
I install AospExtended-v3.1 and gapps 7.1 successfully from TWRP recovery . when it is 'done' i tapped on 'Reboot to system'. I don't know why, my phone goes into bootloop though i installed various ROMS in this process but i wasn't face this problem before!
Anyway then i wiped all data and decided to go back to my previous ROM. I Installed ResurrectionRemix M v5.7.2 through TWRP. it was installed successfully and i thought now that looping problem will resolve, but after successful completion of installing ResurrectionRemix M v5.7.2 when i reboot to system there still the bootloop problem!
Then i though i should go back to my STOCK ROM. I download MIUI 6.7.5_5.0_global fastboot ROM and using miflash tool with proper ADB drivers installed i flash my phone. It was again completed successfully, then i thought this time the bootloop problem will resolve! But no! My phone still stuck into bootloop.
whatever installing process(TWRP/Fastboot) i followed, i am unable to solve this Strange bootloop issue! What should I do?
i am also facing this problem,wht i do i cant understand,pls anyone hlp me to take out from this situation
Try these.
1. Boot into twrp
2. Wipe System, Data, dalvik, cache ( Don't wipe system storage )
3. Connect USB disk
4. Copy desired ROM into internal storage using the file manager given in TWRP.
5. Flash ROM locating the zip in internal storage.
6. Wipe Cache/Dalvik.
Your phone should now boot successfully.
madhurajkumar said:
Try these.
1. Boot into twrp
2. Wipe System, Data, dalvik, cache ( Don't wipe system storage )
3. Connect USB disk
4. Copy desired ROM into internal storage using the file manager given in TWRP.
5. Flash ROM locating the zip in internal storage.
6. Wipe Cache/Dalvik.
Your phone should now boot successfully.
Click to expand...
Click to collapse
I tried this process, but this doesn't work!
try returning to stock MIUI
follow this thread
https://forum.xda-developers.com/mi-4i/help/solved-mi4i-continuous-reboot-issue-t3537896
So guys yesterday I flashed miui fastboot rom through TWRP recovery. It went successfully but the problem is now I can't decrypt my internal storage. I wiped it several times but after reboot it gets encrypted again. Idk what to do now! I'm stuck with encrypted internal storage.
TWRP->Wipe->Format Data->Type "yes"->done
ohwarumbloss said:
TWRP->Wipe->Format Data->Type "yes"->done
Click to expand...
Click to collapse
I've done that several times already. After reboot it gets encrypted again. When I reboot into Twrp recovery it ask for a password to decrypt data.
live4speed said:
I've done that several times already. After reboot it gets encrypted again. When I reboot into Twrp recovery it ask for a password to decrypt data.
Click to expand...
Click to collapse
When you're asked for Password press "Cancel"
Are you sure you've read right, not just wipe Partitions but Format it (the right Button)
It may be that MIUI encrypts Data again while reboot, do you have a MIUI Account activated on your Device? Maybe you first need to deactivate this.
Also, when asked for Password and cancelled that, are you able to mount i.e. System and/or install something like Magisk?
Format Data before flashing custom ROM always works, I never tried that in the other Direction.
ohwarumbloss said:
When you're asked for Password press "Cancel"
Are you sure you've read right, not just wipe Partitions but Format it (the right Button)
It may be that MIUI encrypts Data again while reboot, do you have a MIUI Account activated on your Device? Maybe you first need to deactivate this.
Also, when asked for Password and cancelled that, are you able to mount i.e. System and/or install something like Magisk?
Format Data before flashing custom ROM always works, I never tried that in the other Direction.
Click to expand...
Click to collapse
Yes I'm sure I've format data by typing "yes". It shows the internal storage RIGHT AFTER formatting data but after a reboot it doesn't show internal storage.
Miui account is activated in my device.
It shows internal storage as 0MB & I can't access it.
I can't take a backup but I did manage to flash Aroma bloatware removal zip.
I never flashed Custom Rom. I flashed the official MIUI fastboot rom.
live4speed said:
Yes I'm sure I've format data by typing "yes". It shows the internal storage RIGHT AFTER formatting data but after a reboot it doesn't show internal storage.
Miui account is activated in my device.
It shows internal storage as 0MB & I can't access it.
I can't take a backup but I did manage to flash Aroma bloatware removal zip.
I never flashed Custom Rom. I flashed the official MIUI fastboot rom.
Click to expand...
Click to collapse
Okay, just booted mine into Recovery and internal Storage is there. I'm using latest Xiaomi.eu weekly with no Mi Account set up (don't need it right now)
I'm using the TWRP from this Thread https://forum.xda-developers.com/re...guide-how-to-root-install-twrp-redmi-t3867146
Sorry, that's all I can tell you :/
Can you restore only DATA from TWRP backup after Decrypting internal storage? Or it'll decrypt storage again?
Sent from my Redmi Note 6 Pro using Tapatalk
live4speed said:
Can you restore only DATA from TWRP backup after Decrypting internal storage? Or it'll decrypt storage again?
Click to expand...
Click to collapse
I know this, have the same problem.
The only help for me was changing TWRP from ...mr-r00t to Pitchblack (via fastboot), then i installed Stable Rom 10.2...:Now everyting is fine.
limuc said:
I know this, have the same problem.
The only help for me was changing TWRP from ...mr-r00t to Pitchblack (via fastboot), then i installed Stable Rom 10.2...:Now everyting is fine.
Click to expand...
Click to collapse
Can you share step by step procedure?
I'm already on stable rom 10.2 with pitch-black recovery.
Sorry, I have started so many attempts that I do not remember what was successful. Now I have at least 'PitchBlack' and StableRom 10.2 ... on the run, backups via PitchBlack are also possible, so I can describe the internal memory, in the recovery mode, the internal memory is not displayed 0
limuc said:
Sorry, I have started so many attempts that I do not remember what was successful. Now I have at least 'PitchBlack' and StableRom 10.2 ... on the run, backups via PitchBlack are also possible, so I can describe the internal memory, in the recovery mode, the internal memory is not displayed 0
Click to expand...
Click to collapse
Did you restore the data or start from the scratch again?
limuc said:
I know this, have the same problem.
The only help for me was changing TWRP from ...mr-r00t to Pitchblack (via fastboot), then i installed Stable Rom 10.2...:Now everyting is fine.
Click to expand...
Click to collapse
Are you running 10.2 decrypted or encrypted? Also is there any way to avoid decypting the device to use PBRP or any custom recovery at all?
live4speed said:
Did you restore the data or start from the scratch again?
Click to expand...
Click to collapse
No, I started as a new device.
---------- Post added at 06:55 PM ---------- Previous post was at 06:28 PM ----------
lalibm said:
Are you running 10.2 decrypted or encrypted? Also is there any way to avoid decypting the device to use PBRP or any custom recovery at all?
Click to expand...
Click to collapse
Ok, I'm trying to describe my path again:
- By fastboot I install the PitchBlack recovery
- I wipe data, cache and dalvik
- I format the data partition
- I restart in the recovery status
- in the PitchBlack recovery I flash the stable Rome 10.2 ...
- I wipe data, cache and dalvik
- I flash Magisk 18
I start the device, and do not restore, but a new device.
I hope it will help.
limuc said:
No, I started as a new device.
---------- Post added at 06:55 PM ---------- Previous post was at 06:28 PM ----------
Ok, I'm trying to describe my path again:
- By fastboot I install the PitchBlack recovery
- I wipe data, cache and dalvik
- I format the data partition
- I restart in the recovery status
- in the PitchBlack recovery I flash the stable Rome 10.2 ...
- I wipe data, cache and dalvik
- I flash Magisk 18
I start the device, and do not restore, but a new device.
I hope it will help.
Click to expand...
Click to collapse
Thanks man that worked for me finally I got it working.
live4speed said:
So guys yesterday I flashed miui fastboot rom through TWRP recovery. It went successfully but the problem is now I can't decrypt my internal storage. I wiped it several times but after reboot it gets encrypted again. Idk what to do now! I'm stuck with encrypted internal storage.
Click to expand...
Click to collapse
format data in recovery and you are done but you'll lose all your data
Help me with this situation
Why can not flash?
Do you Reverted partition to stock partitioning?
Is your recovery an up to date recovery like TWRP 3.2.x,3.5.1, OrangeFox ,SHRP?
sys1admin said:
Help me with this situation
Click to expand...
Click to collapse
That happened to me once when using the reparticioner I had to install the rom 8.1 to my factory phone with odin after the first start I installed the twrp and from there my cell phone started working fine again
sys1admin said:
Help me with this situation
Click to expand...
Click to collapse
First thing is few lineage OS not work on Vendor partition. To over come this use below steps:
Note: Use orange fox recovery for smooth flow
1. Run revert vendor practitioner for exynos 7870.
2. Then reboot to recovery.
3. Goto format option perform format ( This will erase your internal storage data before action this step take a backup)
4. Then navigate to wipe option then wipe Dalivk cache, cache, system, data, internal storage
5. Then install lineage os zip. reboot and enjoy
If you want to install any treble rom in feature better use Universal script. This script make 4096MB system partition, 512MB vendor partition & 57 cache partition
So I decided to install Xiaomi EU rom to my device, but after wiping data in TWRP it all goes to ****.
Firstly, Windows no longer recognize the internal storage, it's still there, but I can't copy files into it
Second;y, my TWRP internal data is 0mb, but after restoring that and rebooting twrp, the data is 0mb again and it forces to to do it all over again,
Does someone know a way to fix this issue?
I need a reply asap as I really need the phone
If only had done format data, reboot to system to get into MIUI, will take 5~10 minutes, done the initial setup, then the internal storage should be readable.
If still does not work, buy USBOTG or find a microSD card with sufficient storage to flash.
My guide:
https://forum.xda-developers.com/t/4288121/post-85137963
BreadGyarados said:
So I decided to install Xiaomi EU rom to my device, but after wiping data in TWRP it all goes to ****.
Firstly, Windows no longer recognize the internal storage, it's still there, but I can't copy files into it
Second;y, my TWRP internal data is 0mb, but after restoring that and rebooting twrp, the data is 0mb again and it forces to to do it all over again,
Does someone know a way to fix this issue?
Click to expand...
Click to collapse
Only solution is fastboot rom via MIFLASH in order to refresh partition mess.
lolo9393 said:
Only solution is fastboot rom via MIFLASH in order to refresh partition mess.
Click to expand...
Click to collapse
so I need to do Miflash, another issue is that there's no system partition in the advanced wipe menu but it's stil there in the internal storage in install
p
BreadGyarados said:
so I need to do Miflash, another issue is that there's no system partition in the advanced wipe menu but it's stil there in the internal storage in install
BreadGyarados said:
so I need to do Miflash, another issue is that there's no system partition in the advanced wipe menu but it's stil there in the internal storage in install
Click to expand...
Click to collapse
that's the main issue can someone fix this please i beg you
Click to expand...
Click to collapse
Hello, first of all tell me what version of TWRP you have installed?
twrp 3.5.2
felixpaz1992 said:
Hello, first of all tell me what version of TWRP you have installed?
Click to expand...
Click to collapse
Hola, en primer lugar donde dime qué versión de TWRP tienes instalada.
BreadGyarados said:
twrp 3.5.2
Click to expand...
Click to collapse
Personally, my TWRP gave me an error when trying to install Miui.eu, that's why from TWRP I installed Orange Fox and I was able to install EU, another thing is that twrp does not show you or mount the data partition since by default it comes in format F2fs, you would have to change the data file format to ext4 and go back to f2fs for twrp to work with that partition, which is also why your PC cannot copy files to internal memory
The published versions of TWRP are betas and it has problems with the format of the data partition since by default the Poco X3 Pro brings the f2fs format for data, so the only thing I can think of is that you have to format if or if data and change the partition format so that twrp recognizes it
felixpaz1992 said:
The published versions of TWRP are betas and it has problems with the format of the data partition since by default the Poco X3 Pro brings the f2fs format for data, so the only thing I can think of is that you have to format if or if data and change the partition format so that twrp recognizes it
Click to expand...
Click to collapse
so I decided to replace the recovery twice and the phone is properly recognized now
You could use sideload to install rom btw. Otherwise, you could use the official beta orangefox recovery, iirc, it also recreate the partition if you attempt to use some of its feature.