Cleared cache, now phone doesn't boot and goes to recovery - OnePlus 5 Questions & Answers

A friend just cleared cache and dalvik cache from TWRP on his OP5 and now when the phone turns on, it shows the spinning OOS boot screen and after about 30 seconds it starts the recovery.
We tried flashing the ROM again but it didn't change a thing. We tried flashing it from the stock recovery but clicking "Install from internal storage" didn't work and ADB sideloading is not possible.
I'm running out of ideas.

Try doing adb sideload from linux instead of windows. You can also choose to load the rom from a pendrive using otg.

just flash twrp again, flash oos, boot. might ask for a password, at that point you will restart back to recovery (will be oos recovery now) and just select you dont know the password and it will wipe your phone and then turn on. then go back and reinstall twrp again.
my guess is he accidentally clicked clear system, clearing cache doesnt break anything. clearing system on oos breaks it and you have to start fresh. that or install a custom rom.... but oos is better, so id spend the time and just do it right.

Related

[Q] is my galaxy s4 soft bricked or hard bricked? can I fix it? help please

so I tried to install a custom "rom negalite-s4-r41" I installed it all fine, when I was at boot screen it keeps repeating boot screen. I tried to wipe data/cache. It didn't do anything. it says my sd card is not mounted and when I try to mount it, it just says error. I can boot into download and I plan to try to install a stock non rooted everything with odin. I can boot into system recovery, but the ittle droid falls over with the red exclamation point. I can choose the follow options "Reboot system, Apply update from ADB, apply update from external storage, wipe data/factory reset, wipe cache partition, apply update from cache" I have tried reboot system just repeats reboot like I said, I have no clue what ADB is, apply update from external storage says it fails to mount sd, I have wiped data/factory reset, I did do the cache partition, my update from cache is all empty. Please help, I'm sitting in panera bread off their wifi because i have no internet at my house, this really sucks.
You are soft bricked. Odin to a stock ROM. Then re root.
Sent from my SPH-L720 using Tapatalk 4
I had a similar situation. I was able to Odin crawrj's Stock/Rooted/Deodexed/Stock Recovery ROM. Factory reset from stock recovery after you Odin the ROM.

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

Random names TWRP

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

Encryption Password not working

Hey, so I can't decrypt my device anymore. Not in Android itself, and not in the recovery. I've tried sideloading no_verity.zip and formatting the system via fastboot, so far nothing helped. When I try to flash the stock rom via sideload, it says it's not readable. I don't know if thats because I didn't decrypt the device before flashing or because the zip is faulty, but I've tried 3 diffrent roms, including one that has worked before.
Is there anything I can do to get my phone working again?
Device: Onepluss 5 6GB
Rom: Omnirom
Install latest codeworkx twrp or blue spark twrp, skip password menu, format data (not wipe), reboot recovery, now wipe everything, then flash what you want
more_than_hater said:
Install latest codeworkx twrp or blue spark twrp, skip password menu, format data (not wipe), reboot recovery, now wipe everything, then flash what you want
Click to expand...
Click to collapse
Thank you! That worked. I figuered formatting data and wiping data would work quite the same, but thanks for proofing me wrong ^^

twrp issues

Hi o am on the latest twrp for this phone. I don't have my data encrypted and when I boot into recovery from the phone using the reboot into recovery method it works fine. Bit if I power off the phone and reboot into recovery it says data is encrypted and asked for a password. I tried my lock screen password but it doesn't work. So I'm thinking that I should just wipe the entire phone and start fresh. I aslo noticed that since the last term update my Los updater doesn't work it won't run the updater script.
What would be the best way to do this? Should I just wipe the phone and then adb sidload the latest Los gapps and magisk? Or should I just wipe then push the files to my phone and install the from twrp? I have never done either of those operations but it doesn't look too complicated.n
Any suggestions?

Categories

Resources