So I did a big oopsie. I was just playing around with my old moto g5s plus trying to root it. It was successful somehow thanks to youtube. I had to unlock the bootloader and install TWRP.
Coming to my problem, while checking out all the options in TWRP, I ended up wiping out all data which apparently also erased the OS. I DID NOT BACK UP before this happened and when i reboot it, i see a message "no OS installed".
Then I tried installing a custom ROM with gapps. It was moto's android 8.1 as it was the one i had before. I then had to type a password which I didn't know. But, it says "decryption unsuccessful" and that the file is corrupt. Could anyone please help me with this. I would be forever grateful.
Ajayghale said:
So I did a big oopsie. I was just playing around with my old moto g5s plus trying to root it. It was successful somehow thanks to youtube. I had to unlock the bootloader and install TWRP.
Coming to my problem, while checking out all the options in TWRP, I ended up wiping out all data which apparently also erased the OS. I DID NOT BACK UP before this happened and when i reboot it, i see a message "no OS installed".
Then I tried installing a custom ROM with gapps. It was moto's android 8.1 as it was the one i had before. I then had to type a password which I didn't know. But, it says "decryption unsuccessful" and that the file is corrupt. Could anyone please help me with this. I would be forever grateful.
Click to expand...
Click to collapse
https://forum.xda-developers.com/moto-g5s/help
Sent from my mata using XDA Labs
Related
Hi there, I'm desperately hoping someone can help me with this issue as I have trawled through Google for solutions to no avail
I've followed the tutorials from all the lovely people on these forums to get quite far into installing a custom rom for my HTC One X (XenonHD). Unfortunately I've been greeted with the "Decryption unsuccessful" error which I have discovered to be a very persistent error - where many people have many different solutions for it (none have worked for me ) I'm greeted with a password box, and no matter what I type into the box over 4 characters long it says:
Code:
Decryption unsuccessful.
The password you entered is correct**, but unfortunately your data is corrupt.
To resume using your phone, you need to perform a factory reset. When you set up your phone after the reset, you'll have an opportunity to restore any data that was backed up to your Google Account.
<Reset Phone>
** - It says this regardless of what I type into the password box.
There was no important data on the phone (it's an old phone) so I'm more interested in just getting this custom rom up and running, it doesn't matter to me if I have to wipe data.
Here are the approximate steps I took to reach this position:
Set up bootloader/fastboot
Installed twrp
Wiped the device (cleared every cache etc.)
Copied XenonHD zip and gapps zip on to sd card
Flashed boot.img to the device
Rebooted - XenonHD spinning logo appears, then after about 30 seconds it asks me to enter the password, and I get the Decryption Unsuccessful error.
If you need any more information from me please just ask!
I am so appreciative of how helpful this forum has been to me so far, so I have really high hopes you guys can help me
Just a quick update: I actually managed to install a different rom using the exact same method that I did for Xenon - no signs of the decryption error whatsoever. I'm a noob at this stuff so I'm not really sure of the relevance of this but it sounds like it could be helpful in pointing towards a solution?
Ollie1700 said:
Just a quick update: I actually managed to install a different rom using the exact same method that I did for Xenon - no signs of the decryption error whatsoever. I'm a noob at this stuff so I'm not really sure of the relevance of this but it sounds like it could be helpful in pointing towards a solution?
Click to expand...
Click to collapse
Wich rom you install? The answare will help
I said in my original post which rom I was installing (XenonHD) - but I've actually managed to fix it!
To anyone else who stumbles upon this thread, if you are getting the decryption unsuccessful error you have to format your phone. In my case, it was a case of updating to the latest TWRP which includes a Format option on the wipe screen. This got rid of the encryption on my phone and I was able to use the rom!
Ollie1700 said:
I said in my original post which rom I was installing (XenonHD) - but I've actually managed to fix it!
To anyone else who stumbles upon this thread, if you are getting the decryption unsuccessful error you have to format your phone. In my case, it was a case of updating to the latest TWRP which includes a Format option on the wipe screen. This got rid of the encryption on my phone and I was able to use the rom!
Click to expand...
Click to collapse
Yes offcorce you migrate from old layout to the new leyout the roms for this two layouts are different
Hi.
Recently, I decided to unlock my bootloader and install TWRP onto my Moto G(2014), as I wanted to use a custom ROM. After much debate between CyanogenMod and Paranoid Android, I decided to go with ParanoidAndroid.
So today, I downloaded the ROM ZIP file, loaded it up onto my SD Card, and flashed away. After the flash, I started my phone (kinda.). The phone wouldn't start, it got stuck on the boot animation. Weird, I decided.
I turned my device off, redownloaded the ROM, put it onto my SD Card, and reflashed. Same problem, in fact, the phone is sitting right next to me as I type this, on the Paranoid Android loading screen.
I was wondering if I should keep waiting, or if this is a problem. If it's a problem, how can I solve it?
Thanks.
EDIT: New Problem. It got past the boot, but now it keeps saying "Encryption Failed". It tells me to factory restore the phone, and when I do that and restart the phone, it says the same error. It's a viscious cycle. Any help please? I completely forgot to make a backup of my original stock ROM, so I have no way to use my phone anymore. The faster the reply, the better.
Thanks.
Hit your device forums and ask. It's a device specific issue.
I recently rooted and installed TWRP on my 2018 Moto G6 Play so I could try pixel experience pie ROM and had similar issue... I finally had to go find the factory stock ROM and reflash it to my device... Then I tried again with a custom kernal with no dm- verity from github source... That worked for me.. If you have Ann questions PM me...
Sent from my SM-G965U using Tapatalk
Nexus 5x successfully installed LineageOS 14.1 02132017 build last week. I tried installing the weekly update today but the phone goes through the process of 'Preparing to update' then reboots to TWRP 3.0.2. Nothing happens after getting to TWRP, so I tried to run the install by pointing TWRP to /data/data/org.lineageos.update/app_updates and run the update but get the following:
'Zip file is corrupt!'
'Error installing zip file '@/cache/recovery/block.ma
etc
etc
etc
'Zip signature verification failed!'
I have deleted the file and downloaded again twice, but still receive the same message.
Any insight to what might be going wrong here?
Thanks,
jktrahan said:
Nexus 5x successfully installed LineageOS 14.1 02132017 build last week. I tried installing the weekly update today but the phone goes through the process of 'Preparing to update' then reboots to TWRP 3.0.2. Nothing happens after getting to TWRP, so I tried to run the install by pointing TWRP to /data/data/org.lineageos.update/app_updates and run the update but get the following:
'Zip file is corrupt!'
'Error installing zip file '@/cache/recovery/block.ma
etc
etc
etc
'Zip signature verification failed!'
I have deleted the file and downloaded again twice, but still receive the same message.
Any insight to what might be going wrong here?
Thanks,
Click to expand...
Click to collapse
Well known issue with build-signing. The devs are looking into it.
https://status.lineageos.org
Hello I am new to xda
I have Nexus 5x (bullhead) I recently installed Lineage OS 14.1 I had the same issue while installing updates in twrp it was showing zio is corrupt
So I used a trick I downloaded the ROM zip from Lineage OS downloads
and I installed it with twrp and then I have my phone updated
Hope this helps !
Wondering whether this is still an issue the devs are working on. Received my brand new 5X yesterday and immediately rooted, unlocked en put LineageOS on the thing.
First message was about the version mismatch, which I solved by re-flashing the vendor, radio and bootloader using the original factory image. Afterwards, I read that you should re-apply the LineageOS update. Which I did... and it ended up in TWRP with the log message in the OP.
I can manually install using the zip file... but does that mean I will never be able to automatically update?
Kaastosti said:
Wondering whether this is still an issue the devs are working on. Received my brand new 5X yesterday and immediately rooted, unlocked en put LineageOS on the thing.
Click to expand...
Click to collapse
It still is, at least on my 6p. Some nightlies will work, some won't. I haven't figured out the pattern.
Hi guys,
I'm having trouble with my A2 Lite. Right after unboxing the phone I installed Magisk as described in the guide (https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-device-t3825626), which worked like a charm. Today, I wanted to install a OTA security update. After the update was downloaded I got an error and I remembered that I had to "uninstall" Magisk, as described in "step a" of the guide. So I did exactly as described in the guide. After Magisk was "uninstalled" I closed the app and tried again to install the OTA security ("step b") update. Unfortunately I got the same error message again ("Can't install update"). So I thought f*** it - I skipped "step b" and proceeded to "step c" and installed Magisk into an empty slot. After that I hit "reboot" and now my phone's in a bootloop :-/
bootloader is unlocked, oem unlock and debug usb are activated. I'm able to enter fastboot, but no recovery, whatsoever.
Is there any way to fix this?
just letting you guys know that "fastboot set_active b" did the trick. I don't know what the hell went wrong though. I did everything according to the guide, except for trying to update the ota update (and failing) before uninstalling Magisk.
Now, the phone is booting correctly, but I still can't install the ota update. it says "Couldn't update" and "Installation problem". What the heck...
lunatikk said:
just letting you guys know that "fastboot set_active b" did the trick. I don't know what the hell went wrong though. I did everything according to the guide, except for trying to update the ota update (and failing) before uninstalling Magisk.
Now, the phone is booting correctly, but I still can't install the ota update. it says "Couldn't update" and "Installation problem". What the heck...
Click to expand...
Click to collapse
This is probably due to the root as it modified the system partition. Check the thread regarding on how to update without losing root.
fake__knv said:
This is probably due to the root as it modified the system partition. Check the thread regarding on how to update without losing root.
Click to expand...
Click to collapse
Could you explain further? Will flashing the stock boot.img fix the issue and will I lose all data on the phone after flashing the boot.img?
thanks
lunatikk said:
Could you explain further? Will flashing the stock boot.img fix the issue and will I lose all data on the phone after flashing the boot.img?
thanks
Click to expand...
Click to collapse
Please go see my guide, I just added a troubleshooting section that you should check:
https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-proper-support-ota-t3836952
Your feedback could improve it further.
No, flashing boot.img will not erase any data on the phone. But you must remove any PIN, password or screenlock before proceeding, or you could not access your data anymore (because of encryption).
BubuXP said:
Please go see my guide, I just added a troubleshooting section that you should check:
https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-proper-support-ota-t3836952
Your feedback could improve it further.
No, flashing boot.img will not erase any data on the phone. But you must remove any PIN, password or screenlock before proceeding, or you could not access your data anymore (because of encryption).
Click to expand...
Click to collapse
Hi BubuXP
I followed your troubleshooting guide and flashed the boot.img as instructed. Flashing the boot.img didn't do the trick so I continued with flashing the system.img. I checked for the correct build no. of course and for both boot.img and system.img the active slot "b" was chosen. After flashing the system.img I got stuck at a bootloop. I tried to set the active slot to "a", but that didn't help either: Now it wasn't in a bootloop anymore, but it was stuck at the boot animation (horizontal beam) loading forever. After 10 minutes I tried to restart - still the same problem.
What's going on here??
edit:
I flashed daisy_global_images_V9.6.4.0.ODLMIFF_20180724.0000.00_8.1_4afd3431a2 using MiFlash and the "Save user data" option. It was flashed successfully. However, when I start the phone it askes for a password and won't boot up into android if not entered. What the hell...? I deactivated my screenlock pin before I started all this. Is there a default password or what's the problem here?
regards
lunatikk said:
Hi BubuXP
I followed your troubleshooting guide and flashed the boot.img as instructed. Flashing the boot.img didn't do the trick so I continued with flashing the system.img. I checked for the correct build no. of course and for both boot.img and system.img the active slot "b" was chosen. After flashing the system.img I got stuck at a bootloop. I tried to set the active slot to "a", but that didn't help either: Now it wasn't in a bootloop anymore, but it was stuck at the boot animation (horizontal beam) loading forever. After 10 minutes I tried to restart - still the same problem.
What's going on here??
edit:
I flashed daisy_global_images_V9.6.4.0.ODLMIFF_20180724.0000.00_8.1_4afd3431a2 using MiFlash and the "Save user data" option. It was flashed successfully. However, when I start the phone it askes for a password and won't boot up into android if not entered. What the hell...? I deactivated my screenlock pin before I started all this. Is there a default password or what's the problem here?
regards
Click to expand...
Click to collapse
Sorry, but I don't know anything about that. It's an encryption problem, and that's why I hate data encryption on the phone: my data is not so important to be protected when some hackers physically stole my phone, it's only a nuisance when things like this happens.
I can only suggest to change the active slot, maybe with this you can resolve.
I will also update my troubleshooting section of the rooting guide to make the data backup as the first option to be safe.
If you can sacrifice the data, you can simply format the data partition via fastboot or reflash using the flash_all.bat script.
BubuXP said:
Sorry, but I don't know anything about that. It's an encryption problem, and that's why I hate data encryption on the phone: my data is not so important to be protected when some hackers physically stole my phone, it's only a nuisance when things like this happens.
I can only suggest to change the active slot, maybe with this you can resolve.
I will also update my troubleshooting section of the rooting guide to make the data backup as the first option to be safe.
If you can sacrifice the data, you can simply format the data partition via fastboot or reflash using the flash_all.bat script.
Click to expand...
Click to collapse
I also thought that it had something to do with encryption. In the security menu, where I turned off the display lock, it said that the phone is encrypted. However neither pin nor fingerprint could unlock the phone.
I had to go for ultima ratio and flash my device with the newest fastboot image and miflash (save user data option didn't work either, btw.).
I lost all data on the device, but now everything works fine and the OTA update also ran through without any issues.
Now, I'm not sure if I will fiddle with magisk again. I really don't have no clue about what went wrong at all...
Thanks
lunatikk said:
I also thought that it had something to do with encryption. In the security menu, where I turned off the display lock, it said that the phone is encrypted. However neither pin nor fingerprint could unlock the phone.
I had to go for ultima ratio and flash my device with the newest fastboot image and miflash (save user data option didn't work either, btw.).
I lost all data on the device, but now everything works fine and the OTA update also ran through without any issues.
Now, I'm not sure if I will fiddle with magisk again. I really don't have no clue about what went wrong at all...
Thanks
Click to expand...
Click to collapse
Thanks for sharing.
Maybe something to try for next time to restore data, I don't know.
I haven't tested yet but I did make a backup using the method explained here
https://9to5google.com/2017/11/04/how-to-backup-restore-android-device-data-android-basics/
I have yet to try (or need) the restore function but running that backup created a 6gb file. My understanding is this is the majority of your apps, data, messages, etc
Without twrp I was hesitant to root but with the bit of knowledge and files shared here so far I have moved forward and glad I did. I haven't had to flash the stock image yet but hopefully this backup helps ease the pain. It is nice to be able to modify at will
BubuXP said:
Please go see my guide, I just added a troubleshooting section that you should check:
https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-proper-support-ota-t3836952
Your feedback could improve it further.
No, flashing boot.img will not erase any data on the phone. But you must remove any PIN, password or screenlock before proceeding, or you could not access your data anymore (because of encryption).
Click to expand...
Click to collapse
Had the same problem. I tried to install the OTA of March, followed the guide to install OTA with Magisk, but after unistalling Magisk, i tried to install the OTA but it gave me this message "installazione riprenderà automaticamente quanto il dispositivo non sarà attivo";
I looked for some help online, but didn't find anything, so skipped to the point c, and i got this bootloop now.
I tried the "set_active b" command, but I'm still in bootloop. I tried to flash the stock rom but apparentrly it's impossible to do it without recovery (which I'm unable to open), so... Help?
EDIT: By using miFlash and using the flash_all command I flashed the most updated ROM I found on MIUI.en, which is the january's one. It worked, even if the build version (10.0.3) is different from the one I had previously (10.0.4). The system says that there's an available update, but i'm too afraid to try it. Suggestion are accepted!
Hello, guys. I just ran into an error I had never seen before while flashing a new firmware on my T320. After searching around, I found more people have reported it as well on many devices and I've tried most solutions, to no avail.
When installing a zip for a lineage 16 rom, I got an error 7 message, which implies a mismatch between the rom and the device being flashed. I'm sure they should be a match, so I proceeded with the most common solution (when you know it's a match), which is to remove the device-checking code from within the zip. That didn't work, I got a "invalid zip file format" error.
I haven't tried many different roms after this in order to exclude the possibility this being actually a incompatibility issue but I'm worried because, when first flashing, I wiped the device quite carelessly. I'm afraid I might have "over-wiped" something important. I have TWRP installed, version 3.1.1.0, and did the wiping using it's built in tools.
Is there something I should never wipe, risking breaking it beyond repair? Is there a special procedure to perform or option to choose when zipping the rom back after removing the device-checking code?
Thanks for any advice,
Horácio.
horaciosalles said:
Hello, guys. I just ran into an error I had never seen before while flashing a new firmware on my T320. After searching around, I found more people have reported it as well on many devices and I've tried most solutions, to no avail.
When installing a zip for a lineage 16 rom, I got an error 7 message, which implies a mismatch between the rom and the device being flashed. I'm sure they should be a match, so I proceeded with the most common solution (when you know it's a match), which is to remove the device-checking code from within the zip. That didn't work, I got a "invalid zip file format" error.
I haven't tried many different roms after this in order to exclude the possibility this being actually a incompatibility issue but I'm worried because, when first flashing, I wiped the device quite carelessly. I'm afraid I might have "over-wiped" something important. I have TWRP installed, version 3.1.1.0, and did the wiping using it's built in tools.
Is there something I should never wipe, risking breaking it beyond repair? Is there a special procedure to perform or option to choose when zipping the rom back after removing the device-checking code?
Thanks for any advice,
Horácio.
Click to expand...
Click to collapse
A Slimroms file just made it through, so it's not destroyed, it's a matter of compatibility, somehow.
update the TWRP to 3.3.1.0
I have the same problem with T320 and was using TWRP 3.3.1.0, lineage-16.0-20191211-UNOFFICIAL-mondrianwifi.zip . I was able to install RR-N-v5.8.10-20190128-mondrianwifi-Unofficial.zip.
Any idea why?
Thanks
thro14 said:
I have the same problem with T320 and was using TWRP 3.3.1.0, lineage-16.0-20191211-UNOFFICIAL-mondrianwifi.zip . I was able to install RR-N-v5.8.10-20190128-mondrianwifi-Unofficial.zip.
Any idea why?
Thanks[/Q]
I got it working now. I downloaded 16.0 again. In TWRP- Factory reset, Advance wipe-chose Dalvick, Data, System & Cache.
This time I did not "Format Data". Not sure which did it (download or not format data).. Hope it helps.
Click to expand...
Click to collapse
having this same problem says "this package is for mandrainwifi , this device is . "
Trevorlay said:
having this same problem says "this package is for mandrainwifi , this device is . "
Click to expand...
Click to collapse
Make sure you have the latest twrp. If it still doesn't work, you could try messing with wiping/not wiping.