p9 lite rooted. problem with reset - Huawei P9 Lite Questions & Answers

Hi every one
i recently bought a p9 lite.
I unlocked it and rooted it. I have not set any security measure
After that I did a reset from android and rebooted in some kind of windows
Asking me for a password
When I enter my password I used in my google account, it accept it but cannot continue and reboot. And so it does in an infinity loop.
Then I booted to TRWP recovery
When I try to format or wipe /data it gives me error.
I looked a lot and what I understand is that the data partition is somehow encrypted and TRWP cannot handle that
I did solved this by the following steps:
I installed a stock recovery and booted the phone
When asked for password I gave it and started to do a factory reset. The reset stopped at 10% and a message that reset failed.
However, when the phone rebooted, it miraculously completed the boot and he is live again
*****
What I do not understand is: why and where is the problem
And If it will give me another headache again

You had some strange encryption/security problem, if it happens again you should be able to reset your phone booting to TWRP, click on wipe, select Format Data (Not wipe!), type yes and the data partition will be formatted.

Potato997 said:
You had some strange encryption/security problem, if it happens again you should be able to reset your phone booting to TWRP, click on wipe, select Format Data (Not wipe!), type yes and the data partition will be formatted.
Click to expand...
Click to collapse
thx
I did that and it did not work
and i tried to change the file system and did not work
it show that the size is 0 mb

targat said:
thx
I did that and it did not work
and i tried to change the file system and did not work
it show that the size is 0 mb
Click to expand...
Click to collapse
In the first post you said you did a factory reset and not a Format Data. Anyway if you can flash stock recovery and it boots, it should always able to do a factory reset and allow you to boot up the phone

Potato997 said:
In the first post you said you did a factory reset and not a Format Data. Anyway if you can flash stock recovery and it boots, it should always able to do a factory reset and allow you to boot up the phone
Click to expand...
Click to collapse
yes i said i did a factory reset in the first and this what started the problem

Related

Cannot wipe with TWRP

Hi,
I have G935F, installed TWRP 3.0.0.0 and rooted, WITHOUT wiping. System boots correctly, but I cannot do factory reset or wipe with TWRP, because I got some messages like "Cannot mount Data" and "Failed crypto loader". I understand that it has to do with encryption. Can someone please enlight me, and give me tips about the issue?
Thank you
Polemos82 said:
Hi,
I have G935F, installed TWRP 3.0.0.0 and rooted, WITHOUT wiping. System boots correctly, but I cannot do factory reset or wipe with TWRP, because I got some messages like "Cannot mount Data" and "Failed crypto loader". I understand that it has to do with encryption. Can someone please enlight me, and give me tips about the issue?
Thank you
Click to expand...
Click to collapse
You have to download dm-verity and force encryption disabler from here , put it to SD card, reboot into TWRP, FORMAT DATA (not wipe) and flash that file (dm-verity and force encryption disabler). All your data will be erased.
No way to unencrypt without loosing you data for the moment(
"All your data will be erased" means that after boot I'll find a clean system installation (as factory reset)?
I hope not to be posing stupid questions, I'm completely new to this world
Thank you very much
Yes just as a factory reset
Sent from my SM-G935W8 using Tapatalk
Ok, thank you all!!! ???
s it very important to wipe data?
Can I first flash the twrp ,second back up the rom by TWRP recovery
and then after factory reset ,I restore thw rom by twrp??
IS IT possible?
AGU PENG said:
Can I first flash the twrp ,second back up the rom by TWRP recovery
and then after factory reset ,I restore thw rom by twrp??
IS IT possible?
Click to expand...
Click to collapse
No, you cannot perform a backup, because your data is encrypted by default and the only way to disable it is to format your data.
I have a unique problem. I have a HTC Desire 612 from Verizon and I decided to revive it to playe PoGo. But it was stuck in a boot loop and I couldn't get any custom ROM.
Finally a gentle soul here gave me the stock rom and I flashed it vide TWRP and played PoGo for weeks. Then yesterday the phone bro led and when it came up it was stuck in a boot loop.
So I decided to flash the stock ROM again. But before that I tried to factory reset. I could go to TWRP, select wipe data, enter yes and the wiping was successful, then clear dalvic and cache and system beforehand finally I flashed the stock ROM.
Surprise surprise is NOTHING happens. The phone boots without the apps telling me they are installing. Then I get back the exact same data in my phone including my selected wallpaper and apps. Before I can do anything the phone restarts.
Point is wiping and restoring the stock ROM does NOTHING to the phone yet the processes are successful. Can somebody help?
vooks said:
I have a unique problem. I have a HTC Desire 612 from Verizon and I decided to revive it to playe PoGo. But it was stuck in a boot loop and I couldn't get any custom ROM.
Finally a gentle soul here gave me the stock rom and I flashed it vide TWRP and played PoGo for weeks. Then yesterday the phone bro led and when it came up it was stuck in a boot loop.
So I decided to flash the stock ROM again. But before that I tried to factory reset. I could go to TWRP, select wipe data, enter yes and the wiping was successful, then clear dalvic and cache and system beforehand finally I flashed the stock ROM.
Surprise surprise is NOTHING happens. The phone boots without the apps telling me they are installing. Then I get back the exact same data in my phone including my selected wallpaper and apps. Before I can do anything the phone restarts.
Point is wiping and restoring the stock ROM does NOTHING to the phone yet the processes are successful. Can somebody help?
Click to expand...
Click to collapse
HTC?? Wrong thread.
B3311 said:
HTC?? Wrong thread.
Click to expand...
Click to collapse
It really is about TWRP failing to wipe

Android one Spice stuck on bootloop

need help guys, my android one(spice) 1st Gen stuck on bootloop, i tried factory reset too, but thus wont work, flash stock rom, it shows e signature failed, bootloader is not unlocked so cant flash custom recovery, what to do?
yash951 said:
need help guys, my android one(spice) 1st Gen stuck on bootloop, i tried factory reset too, but thus wont work, flash stock rom, it shows e signature failed, bootloader is not unlocked so cant flash custom recovery, what to do?
Click to expand...
Click to collapse
Similar situation here. I run on my spice uno on stock Android with all security updates. Recently my device entered into boot loop when I restarted it.
Things I tried -
1. Wipe cache, restart
2. Factory reset, restart
I did these steps by entering into recovery mode with both sims and memory card attached.
Then I removed everything and again tried above steps.
At last I also tried, mount system, wipe cache, factory reset, restart (in sequence)
I don't want to root my device and loose ota updates.
Please suggest a way out.
Thanks in advance
Contact 9973145015(WhatsApp)
bip847 said:
Similar situation here. I run on my spice uno on stock Android with all security updates. Recently my device entered into boot loop when I restarted it.
Things I tried -
1. Wipe cache, restart
2. Factory reset, restart
I did these steps by entering into recovery mode with both sims and memory card attached.
Then I removed everything and again tried above steps.
At last I also tried, mount system, wipe cache, factory reset, restart (in sequence)
I don't want to root my device and loose ota updates.
Please suggest a way out.
Thanks in advance
Contact 9973145015(WhatsApp)
Click to expand...
Click to collapse
Same problem for me any one suggest a solution for this.

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

Data partition was damaged seriously! How to fix?

I restored my friend' s Huawei P9 Lite (L31), it was bricked because he didn't flashed good the TWRP image, when i reboot the smartphone it displays "Data partition was damaged seriously! and you are recommended to format it to recover your phone".
Smartphone works, but even after a factory reset it still displays that message when it boots up, back up app is missing.
What can I do?
I need an answer to this omg! I have the same problem! And even though I format the data partition, it doesn't install all system apps, and Bluetooth doesn't work at all. In the system update it tells me to install update V**-*********-FULL which is 2GB in size, and even though I hit it just tells me that the data partition is damaged and needs a reset. After the reset, the same thing happens again. No system apps and update is back in the settings asking me to update.
Oh, when i hit the format data partition it just takes me to the eRecovery page, and then hit Download and Recover, but the download just fails all the time.
MariusMeeren said:
I need an answer to this omg! I have the same problem! And even though I format the data partition, it doesn't install all system apps, and Bluetooth doesn't work at all. In the system update it tells me to install update V**-*********-FULL which is 2GB in size, and even though I hit it just tells me that the data partition is damaged and needs a reset. After the reset, the same thing happens again. No system apps and update is back in the settings asking me to update.
Oh, when i hit the format data partition it just takes me to the eRecovery page, and then hit Download and Recover, but the download just fails all the time.
Click to expand...
Click to collapse
If your phone is bootloader unlocked, you could try and install TWRP for your emui version, format your /system with that (WITH A BACKUP TO THE SD CARD) and then recover your backup still within TWRP.
Eurostream said:
I restored my friend' s Huawei P9 Lite (L31), it was bricked because he didn't flashed good the TWRP image, when i reboot the smartphone it displays "Data partition was damaged seriously! and you are recommended to format it to recover your phone".
Smartphone works, but even after a factory reset it still displays that message when it boots up, back up app is missing.
What can I do?
Click to expand...
Click to collapse
Hey could you get this fixed? I have the exact problem here and need genuine help on the same.
MariusMeeren said:
I need an answer to this omg! I have the same problem! And even though I format the data partition, it doesn't install all system apps, and Bluetooth doesn't work at all. In the system update it tells me to install update V**-*********-FULL which is 2GB in size, and even though I hit it just tells me that the data partition is damaged and needs a reset. After the reset, the same thing happens again. No system apps and update is back in the settings asking me to update.
Oh, when i hit the format data partition it just takes me to the eRecovery page, and then hit Download and Recover, but the download just fails all the time.
Click to expand...
Click to collapse
You have to vipe and reset your data partition format using TWRP and then use dload method to install official firmware.

TWRP problem on S7 edge SM-G935F.

So I flashed the latest version of TWRP on my s7 edge SM-G935F
And I got the error "failed to mount data" I formatted my phone and I didn't see the error again, I rebooted my phone and everything was working fine then when I wanted to root my phone with Magisk, i went back to TWRP recovery and I got the error again, so I formatted my phone again and rooted it, then I rebooted my phone and I said that the data is corrupted that I should reset my phone to factory reset, I went back to TWRP recovery and still get the same error.
It's like the TWRP recovery is not stable and it also reset immediately you leave so that when you come back you must format your data or factory reset it before you can use the recovery.
Can Anyone help fix this problem, I don't want to wipe/factory reset my phone every time I go to recovery. What if I make a mistake and go to recovery? That means I must wipe/factory reset my phone before using.
Please help!
ChrisHero9 said:
So I flashed the latest version of TWRP on my s7 edge SM-G935F
And I got the error "failed to mount data" I formatted my phone and I didn't see the error again, I rebooted my phone and everything was working fine then when I wanted to root my phone with Magisk, i went back to TWRP recovery and I got the error again, so I formatted my phone again and rooted it, then I rebooted my phone and I said that the data is corrupted that I should reset my phone to factory reset, I went back to TWRP recovery and still get the same error.
It's like the TWRP recovery is not stable and it also reset immediately you leave so that when you come back you must format your data or factory reset it before you can use the recovery.
Can Anyone help fix this problem, I don't want to wipe/factory reset my phone every time I go to recovery. What if I make a mistake and go to recovery? That means I must wipe/factory reset my phone before using.
Please help!
Click to expand...
Click to collapse
If it's telling you "failed to mount /data", go to wipe > format data and type yes. Factory reset, do your things and then reboot back and install what you want, you shouldn't get the error anymore.
But later if I want to flash another thing like a mod, I have to wipe data again
Visera said:
If it's telling you "failed to mount /data", go to wipe > format data and type yes. Factory reset, do your things and then reboot back and install what you want, you shouldn't get the error anymore.
Click to expand...
Click to collapse
But later if I want to flash another thing like a mod, I have to wipe data again.
ChrisHero9 said:
But later if I want to flash another thing like a mod, I have to wipe data again.
Click to expand...
Click to collapse
Nono. Wipe data once, factory reset in twrp, and you don't need to wipe data again after that. Only wipe it once after you format data.
Visera said:
Nono. Wipe data once, factory reset in twrp, and you don't need to wipe data again after that. Only wipe it once after you format data.
Click to expand...
Click to collapse
Okay, thanks for the help

Categories

Resources