Random names TWRP - OnePlus 5 Questions & Answers

Hi, I'm from Nougat 4.5.14 and these are the steps I made:
1. Flash codeworx then reboot to twrp
2. Wipe cache and dalvik
3. Install OS 5.0.2
4. Install magisk
5. Wipe cache dalvik
6. Reboot to system
However after rebooting to system it started bootlooping so I decided to reflash OS and wipe data as recommended. So I power off the phone then hold volume down + power to boot to recovery. However when I boot to recovery, file folders started to become random names like its encrypted. Luckily I backed up my internal storage and data so I'm okay to flash everything but can someone help me how to fix the twrp random file names and the steps for reflashing the OS?
EDIT: I rebooted to recovery, wiped dalvik, cache, and data. flashed OS 5.0.2, wipe dalvik cache, flashed magisk, wipe dalvik, reboot to system and it does not proceed to circling dots. So what I did is just, wipe dalvik, cache, data, flashed OS, wipe again dalvik cache, boot to system and it proceeds to circling dots however it takes so long that I can consider this as bootloop. I'm very tempted to wipe everything (data, system, internal storage, cache, dalvik) then just flash again the OS but I don't know if it would work so I hope someone could give me some steps how to fix this
Edit 2: This is solved now: What I did is just after trying the flash OS with no magisk, I booted to system. However, i just dont boot at all so I decided to boot to recovery again, but this time the recovery is the stock one. I wipe everything I could including cache, system reset, and data (music pics etc) and it booted to the system in no time but everythings lost.

You have to format data... Not just wipe it. From TWRP go to format data, write yes, and let it format everything. Then transfer over to the phone all the fil a you need (ROM, kernel, no verity zip) and flash them as per the instructions of your rom thread. You should be fine.

panooos said:
You have to format data... Not just wipe it. From TWRP go to format data, write yes, and let it format everything. Then transfer over to the phone all the fil a you need (ROM, kernel, no verity zip) and flash them as per the instructions of your rom thread. You should be fine.
Click to expand...
Click to collapse
What I did is just after trying the flash OS with no magisk, I booted to system. However, i just dont boot at all so I decided to boot to recovery again, but this time the recovery is the stock one. I wipe everything I could including cache, system reset, and data (music pics etc) and it booted to the system in no time but everythings lost.

Edit: nvm you've solved it

Peshyy said:
Edit: nvm you've solved it
Click to expand...
Click to collapse
You can still show other solutions as others may need it sometime

Related

[How to]99.9% No bootloops when flashing ROM

1) Boot into CWM red recovery
2) Wipe Data
3) Wipe Cache
4) Wipe dalvik cache
5) Go to mounts and storage
6) format everything that doesn't start with SD, so format boot, system, data, dbdata.
7) Install your new ROM
8) Reboot
Basically 100% chance of NO bootloops or running into errors. Don't know why I put 99.9%.Good Night~
dwight28 said:
1) Boot into CWM red recovery
2) Wipe Data
3) Wipe Cache
4) Wipe dalvik cache
5) Go to mounts and storage
6) format everything that doesn't start with SD, so format boot, system, data, dbdata.
7) Install your new ROM
8) Reboot
Basically 100% chance of NO bootloops or running into errors. Don't know why I put 99.9%.Good Night~
Click to expand...
Click to collapse
No Offense, but there's plenty(I mean tens hundreds ) of posts saying this.
And step 6 is not necessary, I have flashed over 20 Roms and havent had to format my sd.
dwight28 said:
1) Boot into CWM red recovery
2) Wipe Data
3) Wipe Cache
4) Wipe dalvik cache
5) Go to mounts and storage
6) format everything that doesn't start with SD, so format boot, system, data, dbdata.
7) Install your new ROM
8) Reboot
Basically 100% chance of NO bootloops or running into errors. Don't know why I put 99.9%.Good Night~
Click to expand...
Click to collapse
Thanks xHoLyx, you beat me to posting the same thing. And step #6 is classic gunnermike speak. I'd recognize that anywhere. Adrynalyne just released EC01 ROM and radio, and both he and GizmoDroid have posted slightly different methods for installing the new ROM and radio. Would you like to also post those exact steps in a how to thread and make it seem like you came up with the steps?

TWRP Recovery not working.

I just rooted my phone yesterday and I tried to delete a TWRP backup that was on my internal memory. I was unable to find out how to do it and set permissions in TWRP, which caused my phone to start booting with unable to start messages and a black screen. I tried restoring a backup and I wiped and restored, both have still same issue.
So at the moment I can start TWRP or factory reset, but as of yet, I cannot restore my backup.
When I backed up the phone I didn't select everything, I left out data.
Since you didn't backup your data, they are a few options. Wipe dalvik and cache from recovery, dirty flash a rom, clean flash a rom.
metalfan78 said:
Since you didn't backup your data, they are a few options. Wipe dalvik and cache from recovery, dirty flash a rom, clean flash a rom.
Click to expand...
Click to collapse
I was using an old version of twrp. I updated to 2.8.6.0 and it all works now, thanks.

Blisspop: updating without wiping data

Hi,
I've recently done a succesful flash of Blisspop after a full wipe.
Now I want to update, but I don't want to do a full wipe. Simply installing the zip on-top gives a permanent booting screen. Can you update without starting from scratch?
Did you wipe cache & dalvik after flashing updated zip?
I did not. Is that the only required extra step? And will I lose data if I do so?
Kalenden said:
I did not. Is that the only required extra step? And will I lose data if I do so?
Click to expand...
Click to collapse
No, you only lose data when you wipe the data partition
In recovery, you'll see different named partitions, cache, dalvik cache, system, data, etc etc
If you wipe System, you wipe the ROM
If you wipe Data, you wipe your user data
Caches are just temp partitions, safe to wipe any time, only side effect is a longer first boot as Android needs to re-cache everything
But yes, you do need to wipe the caches when updating to a newer version of the same ROM/Droid version, and no you won't lose your data
Here's how I do it:
Wipe System
Wipe Caches
Flash new ROM
Flash new Gapps
Flash SuperSU if needed
Wipe Caches again
Reboot
Result = New ROM with no loss of data
That's a clean flash, a dirty flash is how you did it without wiping System
If you are moving to a newer version of android, or a different ROM, wiping data becomes more necessary, especially if the move is to an older version of droid
Thanks. I'll try it out.

encryption password on boot

on my A2017U After unlocking the bootloader and having twrp 3.0.4 installed I went to install resurrection remix and gapps and upon boot it asks for a password that I had never set up. before installing the ROM i formatted the data and wiped everything. What do I need to do? I reloaded a stock rom and in the settings it says the phone is encrypted. I've tried searching for answers to this but I haven't been able to find anything..
unknown3rror said:
on my A2017U After unlocking the bootloader and having twrp 3.0.4 installed I went to install resurrection remix and gapps and upon boot it asks for a password that I had never set up. before installing the ROM i formatted the data and wiped everything. What do I need to do? I reloaded a stock rom and in the settings it says the phone is encrypted. I've tried searching for answers to this but I haven't been able to find anything..
Click to expand...
Click to collapse
Go to TWRP - Wipe - Format data - write 'yes'
...and maybe update TWRP.
Choose an username... said:
Go to TWRP - Wipe - Format data - write 'yes'
Click to expand...
Click to collapse
I flashed it again, formatting data before flashing everything, still came up with the dialog to inter password. I rebooted into twrp and formatted data again, reboot, still asks for password
Spillunke said:
...and maybe update TWRP.
Click to expand...
Click to collapse
updating TWRP to latest build and I still have the same issue
If you Install another ROM, after wiping everything, is this problem still there?
Delete locksettings.db?
unknown3rror said:
I flashed it again, formatting data before flashing everything, still came up with the dialog to inter password. I rebooted into twrp and formatted data again, reboot, still asks for password
Click to expand...
Click to collapse
Are you sure you are ACTUALLY USING the 'Format data' button? Wiping won't do anything to the encryption (i'm asking just to be sure).
Otherwise try doing this:
-Format data, wipe system, dalvik, cache
-Flash Universal Bstck
-Flash your modem
-Flash the ROM
-Flash either noverity-opt-encrypt-axon7 (I think the name was that one; just make sure it is for the axon7 or ailsa_ii), or SuperSU/Magisk which should have that packaged in.
This really shouldn't happen...
Choose an username... said:
Are you sure you are ACTUALLY USING the 'Format data' button? Wiping won't do anything to the encryption (i'm asking just to be sure).
Otherwise try doing this:
-Format data, wipe system, dalvik, cache
-Flash Universal Bstck
-Flash your modem
-Flash the ROM
-Flash either noverity-opt-encrypt-axon7 (I think the name was that one; just make sure it is for the axon7 or ailsa_ii), or SuperSU/Magisk which should have that packaged in.
This really shouldn't happen...
Click to expand...
Click to collapse
yes, I am actually using format data button and typing yes. I will try using the noverity later this evening and give you a followup
If I remember this right you have to use both in twrp,
factory reset and format data, I read this here on XDA or Reddit before I unlocked my bootloader.
coremania said:
If I remember this right you have to use both in twrp,
factory reset and format data, I read this here on XDA or Reddit before I unlocked my bootloader.
Click to expand...
Click to collapse
this is what I did.
1. Boot to TWRP
2. wipe/factory reset
3. advanced wipe everything but sd card and usb
4. format data, type yes
5. install ROM and Gapps
6. boot.
everything loads okay except I get it asking for password
I have not tried another ROM yet or the noverity-opt-encrypt-axon7 I will have to do those later tonight.
One more thing I was going to try is remove the lockscreen pin/fingerprint on the stock before doing anything
unknown3rror said:
this is what I did.
1. Boot to TWRP
2. wipe/factory reset
3. advanced wipe everything but sd card and usb
4. format data, type yes
5. install ROM and Gapps
6. boot.
everything loads okay except I get it asking for password
I have not tried another ROM yet or the noverity-opt-encrypt-axon7 I will have to do those later tonight.
One more thing I was going to try is remove the lockscreen pin/fingerprint on the stock before doing anything
Click to expand...
Click to collapse
Do this after you flashed rom and gapps, only factory reset and format data, no need to wipe other stuff.
Edit: I did this directly after the unlock, I flashed the latest official twrp through the unlock twrp version, rebooted to twrp, advanced wiped caches and data, not system, flashed bootloader and modem from the Los thread for my axon version, flashed dark rom with gapps, rebooted and run into the same issue as you. Back to twrp, factory reset, format data, then reboot and everything was good ....., Or Format data and then factory reset, try both if necessary.
unknown3rror said:
this is what I did.
1. Boot to TWRP
2. wipe/factory reset
3. advanced wipe everything but sd card and usb
4. format data, type yes
5. install ROM and Gapps
6. boot.
everything loads okay except I get it asking for password
I have not tried another ROM yet or the noverity-opt-encrypt-axon7 I will have to do those later tonight.
One more thing I was going to try is remove the lockscreen pin/fingerprint on the stock before doing anything
Click to expand...
Click to collapse
Another thing you could try is booting to the bootloader and trying "fastboot format userdata"
unknown3rror said:
on my A2017U After unlocking the bootloader and having twrp 3.0.4 installed I went to install resurrection remix and gapps and upon boot it asks for a password that I had never set up. before installing the ROM i formatted the data and wiped everything. What do I need to do? I reloaded a stock rom and in the settings it says the phone is encrypted. I've tried searching for answers to this but I haven't been able to find anything..
Click to expand...
Click to collapse
You just need to wipe data cache dalvic after flashing the ROM
You have the factory reset step in the wrong place. Do it after the rom and gapps installation...
Essentially the phone is still encrypted though factory reset . You need to get rid of the encryption AFTER you flash the new ROM...
Change the data file system to ext4.
coremania said:
Do this after you flashed rom and gapps, only factory reset and format data, no need to wipe other stuff.
Edit: I did this directly after the unlock, I flashed the latest official twrp through the unlock twrp version, rebooted to twrp, advanced wiped caches and data, not system, flashed bootloader and modem from the Los thread for my axon version, flashed dark rom with gapps, rebooted and run into the same issue as you. Back to twrp, factory reset, format data, then reboot and everything was good ....., Or Format data and then factory reset, try both if necessary.
Click to expand...
Click to collapse
This did the trick.
Flashed bootloader, modem, rom, gapps. factory reset and format data. boot to password, reboot to twrp, factory reset, format data, reboot to working rom no password. Thank you and to everyone else for your help!
Cablespider said:
Change the data file system to ext4.
Click to expand...
Click to collapse
This seemed to do the trick for me.
To change the file system type in TWRP 3.2.3.0:
Go to 'wipe', then 'advanced wipe' and select 'Data', press 'Repair or Change File System' and then 'Change File System' to EXT4. It will say "format" which often means "delete" but didn't remove the ROM I had flashed moments before.
I also did this below first- but without doing a re-flash of the bootloader and modem:
unknown3rror said:
This did the trick.
Flashed bootloader, modem, rom, gapps. factory reset and format data. boot to password, reboot to twrp, factory reset, format data, reboot to working rom no password. Thank you and to everyone else for your help!
Click to expand...
Click to collapse
Idk if this will help with your use case, but for other users, it can be good to know.
but for the stock ROM: Settings -> Security -> Screen Lock -> Enter your pin -> It should ask you if you want to shut off the password on boot up

Redmi note 7 stuck on boot image

I was using PE rom and I flashed a kernel and wiped cache and dalvik, after rebooting i couldn't turn on my mobile data for some reason. I went back to orange fox recovery and wiped system, cache, data, dalvik, vendor. Then i tried rebooting but it says no os installed. I used my other phone to download the latest PE rom and saved it on my sd card so i can flash it on my phone. I wiped cache, data, system, dalvik and vendor again before flashing the PE rom. After i flashed the rom im stuck on the boot image of PE i dont know why. Anyone knows how to fix this?
Is bc i wiped my phone's firmware too and thats the reason why my phone wont boot completely?
My device is redmi note 7. Thank u in advance
Skye1080p said:
I was using PE rom and I flashed a kernel and wiped cache and dalvik, after rebooting i couldn't turn on my mobile data for some reason. I went back to orange fox recovery and wiped system, cache, data, dalvik, vendor. Then i tried rebooting but it says no os installed. I used my other phone to download the latest PE rom and saved it on my sd card so i can flash it on my phone. I wiped cache, data, system, dalvik and vendor again before flashing the PE rom. After i flashed the rom im stuck on the boot image of PE i dont know why. Anyone knows how to fix this?
Is bc i wiped my phone's firmware too and thats the reason why my phone wont boot completely?
My device is redmi note 7. Thank u in advance
Click to expand...
Click to collapse
OMG!
1. You should never wipe system or vendor.
2. You should never wipe the firmware. Why on earth would you want to do that?
3. Format the data partition; reboot the recovery; flash a working firmware image (if you did indeed wipe the firmware); flash PE; hope for the best
DarthJabba9 said:
OMG!
1. You should never wipe system or vendor.
2. You should never wipe the firmware. Why on earth would you want to do that?
3. Format the data partition; reboot the recovery; flash a working firmware image (if you did indeed wipe the firmware); flash PE; hope for the best
Click to expand...
Click to collapse
Thank you for the knowledge! After formatting data and flashing PE it finally worked! I really appreciate it man.
Skye1080p said:
Thank you for the knowledge! After formatting data and flashing PE it finally worked! I really appreciate it man.
Click to expand...
Click to collapse
:good: Hit the "Thanks" button.

Categories

Resources