Unable to decrypt data TWRP on Nokia 1 - Nokia 1 Questions & Answers

Hi,
I have successfully flashed magisk_patched_boot.img and TWRP but when I enter in TWRP using adb reboot recovery then it asks for the password and whichever I enter password it says Unable to decrypt data. Can anyone please help how can I flash SuperSu in TWRP which says this error?

Firstly, why don't you just use magisk, using SuperSu seems dumb, since, it can't offer systemless customisations, I recommend you to restore your phone to the original state, lock the bootloader of you unlocked it, and, patch the boot image of the device and flash it using so flash tools... Also, using sp flash tools you can keep your bootloader locked and still be able to use magisk and other customisations, also, I need a nvram partition backup, since, I fully erased my device age now my imei is gone, just take a backup of the nvram and send it to me, I will edit the info for my device and flash it myself...

Related

Bootloop Honor 9 with Bootloader and FRP unlocked

Hi all people,
first of all, I want excuse me for not my perfect English.
I have Honor 9 from few days. And I think to have bricked it.
I have unlocked bootloader correctly.
I have flashed recovery this TWRP recovery with the intention to proceed to root with Magisk or SuperSu. I accidentally and unconsiuosly do factory reset then the phone goes bootloop. (it power off and power on continuously) with the alert "your device has been unlocked and..etc".
Yesterday, reading this thread, I flashed, from fastboot console, boot, recovery and system, the phone resets two/three times then goes to eRecovery where I do a factory reset.
After a factory reset the phone works correctly and seems successfully unbricked. So I re-flash TWRP recovery.
But this morning, during the attempt to install from TWRP one between Magisk or SuperSu (I don't succeed to do it beacuse the phone was crypted and I don't see zip files from TWRP). I have reset the phone but goes bootloop again.
I tried to re-flash boot, recovery, system and cust more (that I don't have flashed yesterday). Now the phone goes eRecovery and ask me to connect to download latest version and recovery, but don't ask me to do a factory reset.
Now I don't know what I can do.
How I can solve this situation? I want only unlock bootloader (done!), install TWRP and have root permission. Now I don't think to change rom.
Something similar happened to me. It seems like the TWRP provided has some issue..... After installing TWRP I had a bootloop problem. I have resolved installing Magisk. It seems that Magisk patchs something. If you can access TWRP try to install Magisk (put the zip file on external sd). In other words: copy magisk zip on sd card - during the bootloop you have the chance to power off phone - Power off - Power on in recovery mode. If you have TWRP correctly installed Honor should go in recovery using TWRP . Install Magisk and see what happens...
unvisigoth said:
Something similar happened to me. It seems like the TWRP provided has some issue..... After installing TWRP I had a bootloop problem. I have resolved installing Magisk. It seems that Magisk patchs something. If you can access TWRP try to install Magisk (put the zip file on external sd). In other words: copy magisk zip on sd card - during the bootloop you have the chance to power off phone - Power off - Power on in recovery mode. If you have TWRP correctly installed Honor should go in recovery using TWRP . Install Magisk and see what happens...
Click to expand...
Click to collapse
I have tried to flash TWRP recovery again to do install Magisk from sd card. I have done it but the phone doesn't work fine.
So I have put rommco05 TWRP Backup into sd card then restored it from TWRP restore (boot and vendor img). Now the phone seems have bootloader locked, in fact I don't have bootloader warning at the power on. Now in fastboot mode the phone says me that I have Phone locked and FRP unlocked.
How can I exit from this situation?
Try this
Killus3 said:
Hi all people,
first of all, I want excuse me for not my perfect English.
I have Honor 9 from few days. And I think to have bricked it.
I have unlocked bootloader correctly.
I have flashed recovery this TWRP recovery with the intention to proceed to root with Magisk or SuperSu. I accidentally and unconsiuosly do factory reset then the phone goes bootloop. (it power off and power on continuously) with the alert "your device has been unlocked and..etc".
Yesterday, reading this thread, I flashed, from fastboot console, boot, recovery and system, the phone resets two/three times then goes to eRecovery where I do a factory reset.
After a factory reset the phone works correctly and seems successfully unbricked. So I re-flash TWRP recovery.
But this morning, during the attempt to install from TWRP one between Magisk or SuperSu (I don't succeed to do it beacuse the phone was crypted and I don't see zip files from TWRP). I have reset the phone but goes bootloop again.
I tried to re-flash boot, recovery, system and cust more (that I don't have flashed yesterday). Now the phone goes eRecovery and ask me to connect to download latest version and recovery, but don't ask me to do a factory reset.
Now I don't know what I can do.
How I can solve this situation? I want only unlock bootloader (done!), install TWRP and have root permission. Now I don't think to change rom.
Click to expand...
Click to collapse
https://forum.xda-developers.com/honor-9/help/bootloader-locked-help-to-enable-usb-t3683145
Rommco05 said:
Again unlock bootloader
Click to expand...
Click to collapse
I have unlocked bootloader again and do a factory reset from TWRP recovery, now the phone seems works correctly!!!:good:
Now I should try to root the phone with Magisk or SuperSu, right?
I have a question about TWRP. From TWRP's file manager I don't see the files that I put in the internal memory. It's because I have used finger print to lock the phone that encryptes files?
raw_jay said:
https://forum.xda-developers.com/honor-9/help/bootloader-locked-help-to-enable-usb-t3683145
Click to expand...
Click to collapse
This is to re-brand the phone from Chinese to EU version...I don't think is my case.
Rommco05 said:
Take a backup before make root. You don't see files because is some issue with decryption in TWRP. I achieved root with Magisk but I don't remember exactly steps
Click to expand...
Click to collapse
I think it's too late
Anyway I can re-flash all thing from begin.
Then I can't use TWRP with the phone encrypted ( PIN, password, fingerprint, etc...) ?
Rommco05 said:
I'm not sure about thatz Huawei roms are encrypted somehow by default
Click to expand...
Click to collapse
After I have installed Magisk (v14.0) now I have problem with google play services which don't download and do updates apps.
If I do a factory reset again I can solve it?
Update:
After I done a factory reset from TWRP recovery
and formatting data partition the phone seems working perfectly (I don't know why, but before format data the phone says me that I have only 150mb of memory space)
I say "seems" because there's something getting me in trouble, for example, I don't have anymore ringtones in the settings menu.
And I don't know if I have lost something else.
Exists a possibilty to restore all contents of the phone?
You could try this and flash your phone back to stock. But then you would need to unlock your bootloader and install TWRP again. Another way would be to unpack an image of your ROM and flash system and other parts via fastboot. Of course this could be risky and you could brick the device.
Meranico said:
You could try this and flash your phone back to stock. But then you would need to unlock your bootloader and install TWRP again. Another way would be to unpack an image of your ROM and flash system and other parts via fastboot. Of course this could be risky and you could brick the device.
Click to expand...
Click to collapse
If I understand it well...
I have 2 options:
1) Rebrand the phone and flashin, then at end I have back the phone stock.
2) Unpack the image of ROM (what it means?) and flash system and other parts via fastboot. (Which are those parts? How?) But this procedure is more hazardous then rebrand procedure?
I have understand right?
1. Yes, correct. I would recommend that. Everything is explained in the thread I linked. Of course everything you do could potentially harm your phone, but you should know that already.
2. Get an update.app file for your specific phone model (there are threads already here, just search a bit, or use Firmware Finder), open it with the Huawei Update Extractor and extract the parts you want to flash (like system or recovery). Then flash them via fastboot. I tried this because I was in a situation like yours, but it didn't work for me. But in theory it could, because you would replace the faulty parts of your firmware.
Killus3 said:
I have understand right?
Click to expand...
Click to collapse
Could you solve your problem?
Meranico said:
Could you solve your problem?
Click to expand...
Click to collapse
Hi, I don't say it because I have replaced the phone with another same.
Now I'm starting to unlock bootloader, installing recovery TWRP and rooting the phone.
I hope to avoid bootloop this time.
Goodmorning everyone!
Yesterday I have:
- Unlocked bootloader correctly!
- Installed TWRP correctly!
- Make a TWRP Backup of all partitions of the device, except data partition because TWRP gives me an error during backup attempt.
- Then I start the device.
- After start the device I go to recovery TWRP to install Magisk, but the phone goes bootloop.
After reboot 2-3 times on the screen appears for a few moments a message of eRecovery that have restored something but I don't know. Then the device shows me the eRecovery that asks me to make a factory reset.
At this point I shutdown the device, go in TWRP to flash Magisk unistaller and the device goes out bootloop and works fine but without root.
How I can solve this problem and install Magisk and have root finally?
Some question:
-When I flashed TWRP (via fastboot) and I configurate it, example language, hours, etc... TWRP don't save the settings, in fact when I go in TWRP again I do remake the settings. Why?
-Then I go in sdcard I don't navigate files, I see folders with casual characters. This is an effect of encryption of the device?
Killus3 said:
Goodmorning everyone!
Yesterday I have:
- Unlocked bootloader correctly!
- Installed TWRP correctly!
- Make a TWRP Backup of all partitions of the device, except data partition because TWRP gives me an error during backup attempt.
- Then I start the device.
- After start the device I go to recovery TWRP to install Magisk, but the phone goes bootloop.
After reboot 2-3 times on the screen appears for a few moments a message of eRecovery that have restored something but I don't know. Then the device shows me the eRecovery that asks me to make a factory reset.
At this point I shutdown the device, go in TWRP to flash Magisk unistaller and the device goes out bootloop and works fine but without root.
How I can solve this problem and install Magisk and have root finally?
Some question:
-When I flashed TWRP (via fastboot) and I configurate it, example language, hours, etc... TWRP don't save the settings, in fact when I go in TWRP again I do remake the settings. Why?
-Then I go in sdcard I don't navigate files, I see folders with casual characters. This is an effect of encryption of the device?
Click to expand...
Click to collapse
Answers to all your concerns go here mate---> TWRP doesn't decrypt data. Done.
Hence: weird folders in there, nowhere to store its settings prefs, about Magisk it's another story, if you want root go SuperSU latest beta.
Regards.
a basically did what that guy did, got root installed via TWRP but my google apps are all busted.
I tried flashing the update_data_full_public.zip and update_full_hw_usa.zip I found using the russian device lookup link switching trick but I the HW errored when I tried to flash it in TWRP and my play store still broken.

Cannot decrypt Xiaomi Redmi Note 3 (SD version)

Hello guys,
There's a problem associated with encryption of my RN 3 Snapdragon edition. Some time ago, I've officially unlocked my bootloader, to flash any custom roms I want, whenever I want (before I was using the way around it, where unlocked bootloader wasn't necessary).
OK. Back to my point, when i unlocked my bootloader, I installed Resurrection Remix rom and it was android 7.x.x I think. Somehow I was offered to encrypt my data, to have better security of my phone, etc. So I encypted it. Then everytime I turn on or reboot the phone, I was asked for a PIN code during the rom start up screen or when entering TWRP recovery. I forgot that my phone was encrypted, and I formated/deleted all possible data on my phone (internal storage, cache, etc) using TWRP and installed a fresh Lineage 8.0. Then it asked for a password on first boot, if i want to use my old data, the old password was not correct and i just chose the option to forget about old data and use it as a new phone. The phone didn't boot at all. It booted only after installing stock MIUI rom via FASTBOOT with miflash tool, and then installing the Android 8.0. But until now it shows, that my phone is encrypted in the settings menu and when i enter TWRP, it tells me the phone is encrypted and I can't see my files on internal memory and it's hard to flash the phone, as I have to use adb sideload or some other ways, but I cannot use the TWRP in normal way.
BTW, I tried factory reseting, wiping everything I can, installing official MIUI roms several times and so on, nothing helped.
If you have any thoughts please write them below, any info is important,
Thanks in advance
Then everytime I turn on or reboot the phone, I was asked for a PIN code during the rom start up screen or when entering TWRP recovery.
Click to expand...
Click to collapse
You obliviously choosed to "Require Pin/Password/Pattern on boot up" when setting up your pin code.
To decrypted the device, you will need to Format Data (Not wipe or Factory Reset), and flash any of following before booting the device:
SuperSU, Magisk, Custom Kernel or FED Patcher.
Thanks alot, it worked.
I've formated data, flashed fresh rom, gapps and custom kernel before first boot up from TWRP.
Reminder!
If you update your rom,
make sure also to reflash the custom kernel before booting the device.
Otherwise your device will encrypt on boot.

Some root questions

I want to root my poco f1 ....
But i have some questions regarding it
1. Will my data be format while rooting and installing twrp
2. How i will get ota update
3. Will installing ota update also format my data?
1. Your whole internal data needs to be wiped... To flash the force decryption enabler at first...
Even while installing twrp via fastboot.. Your data will be formated
2. You will get updates... But not via ota.... Yes you will get to download the updateds in some roms... But you need to dirty flash them.
3. While dirty flashing.... Formatting data is not required.
roxor101 said:
1. Your whole internal data needs to be wiped... To flash the force decryption enabler at first...
Even while installing twrp via fastboot.. Your data will be formated
2. You will get updates... But not via ota.... Yes you will get to download the updateds in some roms... But you need to dirty flash them.
3. While dirty flashing.... Formatting data is not required.
Click to expand...
Click to collapse
Does the twrp with working decryption also need to format my data?
You can root your device in two ways.
First, with twrp (OTA won't work afterwards)
Second, without twrp (OTA will work)
First method, unlock the bootloader (device will be wiped)>Grab the twrp with working decryption>Boot your device into fastboot and type fastboot flash recovery twrp.img (or whatever the recovery image name is)>Now type fastboot boot twrp.img (or whatever the recovery image name is)>Once booted into twrp, swipe to allow modification>Now download Magisk installer and copy into the device>Flash it?Reboot to system>Profit.
N.B. After flashing twrp, make sure to first boot into twrp before booting into system or else device will restore stock recovery. If you need to update in future, just grab the twrp flashable update package and flash it. That's it. No need for OTA.
Second method, this will also require an unlocked bootloader. Once the bootloader is unlocked, get the stock boot image of your current software (e.g. if you are on miui 10 with October security patch, make sure to grab the stock boot image for miui 10 october). Now install Magisk manager apk in your device. Now open magisk manager and go to install. You will find an option for patching stock boot image. Click on it and select the stock boot image. Magisk will patch the boot image and will place it in your internal memory. Now boot into fastboot mode and type fastboot boot patched_boot.img (or whatever the name is). Once device is booted into system, go to Magisk and click on Install>Direct install (recommended).Magisk will get flashed by itself and reboot. Once rebooted, go to Magisk manager and check. If you do everything correctly, you are rooted.
N.B. When you get an OTA update, open Magisk and go to Unsinatll and click on "Complete uninstall". It will uninstall magisk and revert your stock boot image back. Note that, if you play witgh system partition like modifying build.prop or change host file or bootanimantion or any such thing, you won't be able to get any further OTA update. In that case, you need to flash the complete fastboot rom through MiFlash tool.
For more information, please go to Magisk thread or search online.

Rooitng LG G5

Hi,
I am intending to instal my LG LG (European model) with the custom pie ROM. Currently I am runing official stock 8.0 firmware. Since this is the first time I am flashing my phone I am reading tutorials and guides, obviously the first step is to do a full back of the current ROM for recovery should I need it. I am reading that I should use TWRP to do this backup, but before I can install this I need root the phone. However when I read about rooting the phone I read that all data will be lost!
So given a stock ROM what is the correct and safe way to root and install TWRP. The guides are sending me around in circles!
Thanks.
robburne said:
Hi,
I am intending to instal my LG LG (European model) with the custom pie ROM. Currently I am runing official stock 8.0 firmware. Since this is the first time I am flashing my phone I am reading tutorials and guides, obviously the first step is to do a full back of the current ROM for recovery should I need it. I am reading that I should use TWRP to do this backup, but before I can install this I need root the phone. However when I read about rooting the phone I read that all data will be lost!
So given a stock ROM what is the correct and safe way to root and install TWRP. The guides are sending me around in circles!
Thanks.
Click to expand...
Click to collapse
The best way to root the lg g5 is to use lg up to restore it back to stock 7.0 20a. Then use adb and fastboot to flash twrp. Then magisk for root (optional). The best roms are currently lineage 16.0 and 17.0.
Thanks - but before I flash any images (stock or custom) I want to do a nandroid backup. I am not sure how to install TWRP without root access, and root access requires flashing!
You have to first find which model you have (for example h850) and see if its possible to unlock the bootloader.
This is necessary if you want to install custom roms/recovery.
On the h850 you can find a tutorial on xda called Official LG G5 H850 Bootloader Unlock.
After you unlock the bootloader you need to flash twrp recovery, after that you need to boot into the recovery and flash magisk for root.
Good luck
Thanks, I do have a European model H850. I found the official guide on this forum, but note that it says after the unlock.bin is received:
6. While the phone is still in fastboot enter the following command to unlock the bootloader:
This will unlock your phone AND factory reset your device wiping all data!
I don't want to wipe my data yet because it isn't backed-up. In order to back it up I need TWRP installed and in order to install TWRP I need to unlock the bootloader - so again I hit a dead end.
robburne said:
Thanks, I do have a European model H350. I found the official guide on this forum, but note that it says after the unlock.bin is received:
6. While the phone is still in fastboot enter the following command to unlock the bootloader:
This will unlock your phone AND factory reset your device wiping all data!
I don't want to wipe my data yet becasue it isn't backed-up. In order to back it up I need TWRP installed and in order to install TWRP I need to unlock the bootloader - so again I hit a dead end.
Click to expand...
Click to collapse
You would have to use a third party back up app either on your phone or PC.
I did try the Titanium app but it required root access I wasn't aware of any PC tools but will take a look now, thanks.
Ok so I have made some progress.
1. I unlcoked the bootlader with he unlock.bin from the LG Developers site
2. I then installed the latest TWRP
3. I booted into TWRP and installed the SU root zip. During the process I got this:
Failed to mount '/system' (Device or resource busy)
Failed to decrypt data
Unable to decrypt with default password. You may need to perform a Format Data
Updating partition details...
...done
Unable to mount storage
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
Regardless it seemed to be successful,I followed the option to reboot. Now I am stuck in a boot loop, until after a while it just stays on the LG splash screen.
Any suggestions?
Thank you!
robburne said:
Ok so I have made some progress.
1. I unlcoked the bootlader with he unlock.bin from the LG Developers site
2. I then installed the latest TWRP
3. I booted into TWRP and installed the SU root zip. During the process I got this:
Failed to mount '/system' (Device or resource busy)
Failed to decrypt data
Unable to decrypt with default password. You may need to perform a Format Data
Updating partition details...
...done
Unable to mount storage
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
Regardless it seemed to be successful,I followed the option to reboot. Now I am stuck in a boot loop, until after a while it just stays on the LG splash screen.
Any suggestions?
Thank you!
Click to expand...
Click to collapse
Did you root with magisk? Try flashing either a rom or boot into download mode and restore your phone.
I didn't try magisk yet, I followed the officla Lg G5 boot unlock thread which says to root with SuperSU.
Do I use magisk instead of or as well as SuperSU?
When I want to flash a rom is it the same process used to install SuperSU - use TWRP to boo into recovery mode -> install -> select zip -> flash?
Thanks.
robburne said:
Ok so I have made some progress.
1. I unlcoked the bootlader with he unlock.bin from the LG Developers site
2. I then installed the latest TWRP
3. I booted into TWRP and installed the SU root zip. During the process I got this:
Failed to mount '/system' (Device or resource busy)
Failed to decrypt data
Unable to decrypt with default password. You may need to perform a Format Data
Updating partition details...
...done
Unable to mount storage
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
Regardless it seemed to be successful,I followed the option to reboot. Now I am stuck in a boot loop, until after a while it just stays on the LG splash screen.
Any suggestions?
Thank you!
Click to expand...
Click to collapse
robburne said:
I didn't try magisk yet, I followed the officla Lg G5 boot unlock thread which says to root with SuperSU.
Do I use magisk instead of or as well as SuperSU?
When I want to flash a rom is it the same process used to install SuperSU - use TWRP to boo into recovery mode -> install -> select zip -> flash?
Thanks.
Click to expand...
Click to collapse
So you first must find a rom for your variant of the g5 since it's a European version it's most likely an h850 then, boot into twrp wipe system, art chache, chache, data. Installing magisk is the same as super su
Thanks - can I try and flash the intended custom ROM at this stage - the revolution pie (Android 10) or should this be an official ROM first?
robburne said:
Thanks - can I try and flash the intended custom ROM at this stage - the revolution pie (Android 10) or should this be an official ROM first?
Click to expand...
Click to collapse
Whatever you prefer should work the best way to get back to stock is threw download mode
I managed to flash Linege 17.1 - seems to work well. The SyncDroid app I used won't restore my SMS messages though. Contacts and call logs were restored ok. My backup file is an xml, can I manually restore this?
robburne said:
I managed to flash Linege 17.1 - seems to work well. The SyncDroid app I used won't restore my SMS messages though. Contacts and call logs were restored ok. My backup file is an xml, can I manually restore this?
Click to expand...
Click to collapse
I don't know if you can restore an xml file.

Can't install TWRP without rooting; need... better drivers...?

Followed the instructions on several websites such as this one here at XDA:
https://www.xda-developers.com/how-to-install-twrp/
All goes well until I get to this line:
fastboot flash recovery recovery.img (latest TWRP image, renamed)
The command prompt window just sits there and says "(waiting for any device)"...
Most websites and forum threads seem to indicate that this is a problem with the drivers. Can anyone confirm?
FWIW, I did a total reflash of the latest stock ROM from this thread:
https://forum.xda-developers.com/ga...icial-stock-fw-update-odin-thread-xx-t3825204
so I currently have only the "stock" recovery.
I'd rather not root it quite yet. Help please?
P.S. The phone shows up in Device Manager and for "adb devices"; the phone's bootloader has been unlocked... can't see what I'm missing... I'm using a Windows 10 computer... I removed any screen locking mechanisms (PIN, fingerprint, etc.)...
Follow this instructions https://forum.xda-developers.com/galaxy-note-9/development/recovery-twrp-galaxy-note9-exynos-t4097441
Most samsung device use odin to install twrp
ACC18 said:
Follow this instructions https://forum.xda-developers.com/galaxy-note-9/development/recovery-twrp-galaxy-note9-exynos-t4097441
Most samsung device use odin to install twrp
Click to expand...
Click to collapse
Thanks. I'm trying it with 3.4.0-0
Do I flash this file while I'm still in TWRP? Or do I reboot the phone and go back *into* TWRP to flash it?
>After booting in TWRP download and flash no-verity-opt-encrypt-6.1 zip to disable data partition encryption
Edit: I tried flashing no-verity-opt while still in TWRP. Got the dreaded:
"Verification failed.
Unable to restart your device. The integrity verification has failed. You need to reset your device to factory default settings. This will erase all your data."​
I *really* tried to follow the instructions exactly, and think I did.
Was it because I tried to flash 3.4.0-0...?
I am currently re-flashing the stock firmware again.
Dougmeister said:
Thanks. I'm trying it with 3.4.0-0
Do I flash this file while I'm still in TWRP? Or do I reboot the phone and go back *into* TWRP to flash it?
>After booting in TWRP download and flash no-verity-opt-encrypt-6.1 zip to disable data partition encryption
Edit: I tried flashing no-verity-opt while still in TWRP. Got the dreaded:
"Verification failed.
Unable to restart your device. The integrity verification has failed. You need to reset your device to factory default settings. This will erase all your data."​
I *really* tried to follow the instructions exactly, and think I did.
Was it because I tried to flash 3.4.0-0...?
I am currently re-flashing the stock firmware again.
Click to expand...
Click to collapse
You need to format data after install twrp. This is avoiding internal data encrypted.
After twrp installed, do format data from twrp. Of course all of ur data on internal erased. And then take custom rom. I suggest devbase rom, this have "no verity encrypt" when u install this rom. Devbase is stock firmware for easy upgrade for rooted phone. And this is easy to install for beginner
Sorry for bad English
ACC18 said:
You need to format data after install twrp. This is avoiding internal data encrypted.
After twrp installed, do format data from twrp. Of course all of ur data on internal erased. And then take custom rom. I suggest devbase rom, this have "no verity encrypt" when u install this rom. Devbase is stock firmware for easy upgrade for rooted phone. And this is easy to install for beginner
Sorry for bad English
Click to expand...
Click to collapse
No worries. Thank you for your help.
I use Odin to install the Devbase ROM, right? Or can I use TWRP?
Edit: apparently it works just fine to install it with TWRP.
Thank you so much. This time TWRP works just fine for me and the new ROM is great.

Categories

Resources