TWRP Restore Fails - Huawei P10 Plus Questions & Answers

Hey guys,
So this is the first device I have had where the TWRP Restore does not seem to work.
I recently had a full backup of a stock ROM all partitions etc. When I tried to restore this backup it seemingly went fine, no error displayed. However when booting back into the restored ROM it was all messed up as in it was asking me to resetup the device as if factory reset, which you could not complete as the process would loop and the interface was all funky.
This kind of renders TWRP half pointless at the moment, anyone else had this issue and resolved it ?
Cheers

https://forum.xda-developers.com/p10-plus/development/twrp-recovery-huawei-p10-plus-vky-t3605063
Did you actually read the OP when you were downloading/installing TWRP?
Bugs
1. /data does not work at the moment. Finding the right decryption method takes some time
because we have no device in front of us -please exlude it from any backup for now
Click to expand...
Click to collapse

colthekid said:
https://forum.xda-developers.com/p10-plus/development/twrp-recovery-huawei-p10-plus-vky-t3605063
Did you actually read the OP when you were downloading/installing TWRP?
Click to expand...
Click to collapse
Yes I did but the system partition works just fine as per the OP. Surely if that works then the system itself should function such as the interface etc ?

panzerscope said:
Yes I did but the system partition works just fine as per the OP. Surely if that works then the system itself should function such as the interface etc ?
Click to expand...
Click to collapse
No, as your "restore" of the data partition messed up the encryption, so the phone will not work now until you factory reset, which will re-encrypt the data partition.

colthekid said:
No, as your "restore" of the data partition messed up the encryption, so the phone will not work now until you factory reset, which will re-encrypt the data partition.
Click to expand...
Click to collapse
I get the premise of what you are saying but If I didnt backup the DATA partition then it would not get restored. I get however that basically restore functionality is a no go currently on this device. Hopefully at some point.

Related

Issue with backup in TWRP

so, i did the sensible thing and made a backup before toying around.
however when i try to restore it says "cannot restore system -- mounted read only. "
Anyone that might know a solution?
well, i have some progress but now it freezes at "restoring system image" and reboots the phone
Same happened to me...I lose all my data
Sent from my LEX720 using Tapatalk
Seems pretty obvious, but are you guys all BL unlocked? Or just running it via boot command? Also, have any of you decrypted/formatted data?
benjmiester said:
Seems pretty obvious, but are you guys all BL unlocked? Or just running it via boot command? Also, have any of you decrypted/formatted data?
Click to expand...
Click to collapse
I am bootloader unlocked (running the lex720) I have not encrypted my data, it all seems weird to me. Not an issue I've had before.
I gave up and installed a new 18s on it, thankfully I had nothing really important on that backup.
Citroon said:
well, i have some progress but now it freezes at "restoring system image" and reboots the phone
Click to expand...
Click to collapse
The only partitions you should back up are Boot, Cache, System, Data and EFS. In my experience, trying to restore backed up System Image, Recovery and Firmware doesn't work.
Try restoring only Boot, Cache, System, Data and EFS and see if the restore completes.
hondajohn88 said:
The only partitions you should back up are Boot, Cache, System, Data and EFS. In my experience, trying to restore backed up System Image, Recovery and Firmware doesn't work.
Try restoring only Boot, Cache, System, Data and EFS and see if the restore completes.
Click to expand...
Click to collapse
I thought you shouldnt restore efs EVER. Just make a backup first time and keep it safe somewhere, and never use it unless efs partition ****s up. You dont **** with efs partition lol
Veidas said:
I thought you shouldnt restore efs EVER. Just make a backup first time and keep it safe somewhere, and never use it unless efs partition ****s up. You dont **** with efs partition lol
Click to expand...
Click to collapse
Hmmm, I've never run into problems with that
hondajohn88 said:
Hmmm, I've never run into problems with that
Click to expand...
Click to collapse
Its just storing your imei adress ant stuff. Why restore it, if you cant even delete it? Do full wipe, efs is still there. And like every other memory type, with each re-write its wearing, and it can eventually **** up(ofcourse very little chance) and leave you with only media device(no sim service). So i dont really see a point in restoring efs. Just having a backup is fine
Veidas said:
Its just storing your imei adress ant stuff. Why restore it, if you cant even delete it? Do full wipe, efs is still there. And like every other memory type, with each re-write its wearing, and it can eventually **** up(ofcourse very little chance) and leave you with only media device(no sim service). So i dont really see a point in restoring efs. Just having a backup is fine
Click to expand...
Click to collapse
Fair enough, thanks :good:

Lost IMEI, EFS Folder, really messed up

Hi guys, im in a very deep trouble since yesterday, i was testing trying to flash Renovate Rom on my S8 Plus SM-955F, unbranded exynos version, Ive test before almost 5 o 6 roms without any trouble, but suddenly I got a bootloop, so i decide to restore the backup I made before i was start to flashing any rom, along tow days ago. The backup apparently restores well, but it last only about 15 or 20 seconds, I rebooted and doesnt get pass from galaxy s8 logo at startup; so Ive restarted again , got to thw twrp and tried to flash again another rom, BatStock in this case, phones starts without a problema, but now network doesnt work, and Ive lost my IMEI , baseband, and i guess all EFS folder.
Apparently the backup on the sd is corrupt , and I tought when i tried to restore the backup, It get all erased and messed up.
Does anybody have some idea to solve the problem, Ive tried to restore the efs backup from the backup alone, apparently it restores, but i continue without imei.
Please someone help me, Im getting crazy aboyt that, ive buy the phone trough and Internet page, so I dont have warranty in my country Argentina.
Thanks in advance.
Any idea?
Please Help me folks
Try this way via Smart Switch
Hi, search in S7 edge forum, you have a guide to recover the IMEI. Are you using an external SD for nand backup?
bluheart said:
Try this way via Smart Switch
Click to expand...
Click to collapse
I will try it as soon i came from working,do you think it will restore the efs missing folder?
sekelink said:
Hi, search in S7 edge forum, you have a guide to recover the IMEI. Are you using an external SD for nand backup?
Click to expand...
Click to collapse
Ive tried the guide,but i dont have binary combination.
Yea ive used a external sd for backup,but i suspect the card is damaged or corrupt. When i restore im getting this message.
Twrp restoring
Twrp when restoring the backup:
check this
https://forum.xda-developers.com/s7-edge/how-to/guide-how-to-fix-check-drk-imei-issues-t3379516
sekelink said:
check this
https://forum.xda-developers.com/s7-edge/how-to/guide-how-to-fix-check-drk-imei-issues-t3379516
Click to expand...
Click to collapse
Ive tried,but the problem is i cant find any factory binary firmware for my smg955f
dannytgt said:
Twrp when restoring the backup:
Click to expand...
Click to collapse
If you are sure that your backup was properly created, you can omit the md5 check.
There's an option in the TWRP settings.
Twrp restore
Paradoxxx said:
If you are sure that your backup was properly created, you can omit the md5 check.
There's an option in the TWRP settings.
Click to expand...
Click to collapse
I think that was the beggining of the problem ,when i tried to restore without md5 check,twrp restores thebackup,but im sure its corrupt ,because it only takes 15 seconds,but phone get stuck at startup galaxy s8 screen.
Im getting this screen when restoring with twrp.
dannytgt said:
I think that was the beggining of the problem ,when i tried to restore without md5 check,twrp restores thebackup,but im sure its corrupt ,because it only takes 15 seconds,but phone get stuck at startup galaxy s8 screen.
Im getting this screen when restoring with twrp.
Click to expand...
Click to collapse
From the screenshot it looks like you are trying to restore the cache.
Can you try without it, and restore /efs ?
Paradoxxx said:
From the screenshot it looks like you are trying to restore the cache.
Can you try without it, and restore /efs ?
Click to expand...
Click to collapse
Ive tried right now Paradoxxx, and im still having this succesfull restore message , but nothing happen, right now when i was downloading Phone info from playstore, I ve noticed another weird thing : I CANT INSTALL ANY APP trough play store.
I upload the images Ive said before, about twrp restoring.
Phone info
Right now I'm checking phone info and I've that stats
Just wipe the cache part. Then it should boot
MrSteelX said:
Just wipe the cache part. Then it should boot
Click to expand...
Click to collapse
Restore the backup and then wipe the cache?
Always whenevr we restore, we should wipe cache/dalvik cache then reboot.
Or try smart switch after putting phone into download mode and it does it's job well.
Some files have gone corrupt but majority Looks fine. Wipe cache n reboot n let us know
bluheart said:
Always whenevr we restore, we should wipe cache/dalvik cache then reboot.
Or try smart switch after putting phone into download mode and it does it's job well.
Some files have gone corrupt but majority Looks fine. Wipe cache n reboot n let us know
Click to expand...
Click to collapse
I've tested wiping cache / dalvik previously and right now. Same result
Guys, do you know If it's possible to extract the efs partition or efs folder from the twrp backup, it's maybe posible?
And how I can check if the backup is allright or if it's damaged.?
Extract twrp backup via 7zip

TWRP not decrypting my data

Hello guys,
I ran the latest oxygen OS and TWRP recovery. Today I saw that the new official Oreo OTA is out so I downloaded the full zip and tried to dirty flash it in TWRP. It did not work out and i got an error, and people suggested to use twrp blu_spark for flashing the oreo build.
So I flashed twrp blu_spark in fastboot, booted into recovery and installed the oreo zip. Before I did that, TWRP always asked to type in my password to decrypt the files.
After flashing oreo my phone wouldn't boot into Android, it just stayed at a black screen while the LED was shining. I realized I had to **** up somewhere so I booted back into recovery, but TWRP doesn't ask for my password to decrypt my data and now everything in my internal storage has weird file names (which I suppose come from the decryption) and I don't know how I can decrypt my data again. I also flashed the normal TWRP but it didn't ask to decrypt my data either.
Can somebody please help me? I can't do anything at all at the moment and I don't want to wipe my system as I unfortunately don't have a backup (I have one, but that's a TWRP backup and in internal storage which is encrypted...).
Thank you so much in advance, you are my last hope
I think my problem is that I don't have a PIN setup in android, because it's actually bricked (had to flash the wrong oreo probably or so). Do you think TWRP will ask for a password again if I somehow manage to install the old oxygen os and setup a lock screen PIN again?
Same Issue here... Searching for a solution
I ended up wiping everything except internal storage. I then pushed the old oxygen os to the internal directory and flashed it (in hope it wouldn't change anything in my internal storage/sd card). Looks like I was wrong. After flashing it also apparently wiped my complete internal /sdcard.
All data gone. Nothing I can do now anyway. If somebody would have known a better way to decrypt my data again with a broken android, feel free to comment - feeling really bad now, so many photos etc. on it. At least learned my lession to always take a back up, but normally I'm super careful and not flashing anything that would wipe/brick something on my device. This freaking oreo update is making me crazy.
Sieth said:
Same Issue here... Searching for a solution
Click to expand...
Click to collapse
If you have broken your android/system like I (it didn't want to boot into the system anymore after flashing) I think there's almost no chance. Atleast my device is clean now and I can't do anything at all and my data is forever gone now. But I learned my lesson and you probably too - always take a backup.
I mean okay, after I thought about it it's not too bad as I didn't have a lot of important photos on it and I fortunately backed up my whatsapp to google drive before playing around so yeah, atleast a clean device now and will look for a nice oreo ROM.
If you think you can find a solution good luck, but I think the only way to get TWRP to decrypt the internal storage partition again is to set up the display lock in your ROM again - and if you have a bricked ROM and flashing a new one it will wipe /sdcard completely like in my case...
test it this twrp
https://androidfilehost.com/?fid=745849072291696652
jahidinbedod said:
test it this twrp
https://androidfilehost.com/?fid=745849072291696652
Click to expand...
Click to collapse
sorry, too late, wiped it already. why should this twrp work? I tried normal one and blu_spark, none of them asked me to decrypt my data.
jahidinbedod said:
test it this twrp
https://androidfilehost.com/?fid=745849072291696652
Click to expand...
Click to collapse
Done and nothing happened, still not asking me to enter a pattern\pin. Is there a way to force it? maybe a line or a terminal code? I remember my pattern ofc
Vanniman said:
Done and nothing happened, still not asking me to enter a pattern\pin. Is there a way to force it? maybe a line or a terminal code? I remember my pattern ofc
Click to expand...
Click to collapse
I don't think there's much chance. I was able to see all those weird filenames in internal storage when connected to my PC, but I could not copy or change files to internal storage. If this would have worked, there might be a chance to decrypt the data manually on your PC if you find how to do it/if it's even possible.
I seriously think there's no good solution for our problem. :/
Michael1200 said:
I don't think there's much chance. I was able to see all those weird filenames in internal storage when connected to my PC, but I could not copy or change files to internal storage. If this would have worked, there might be a chance to decrypt the data manually on your PC if you find how to do it/if it's even possible.
I seriously think there's no good solution for our problem. :/
Click to expand...
Click to collapse
All deleted now... I know that feel
So I wiped the whole device. Adb sideloaded the new rom. Working flawless.
Now installed Magisk 14.0 and device stuck at boot with blue light.
So the rooting is to blame... (In my case...)
So I adbd again the rom.zip and got it working again. But no root for now
Update: flashed Magisk beta v14.6 (1468) and now ist's working.
Vanniman said:
All deleted now... I know that feel
Click to expand...
Click to collapse
RIP our data.. :/ atleast starting with a super clean device now. lesson learned ^^
Hi all.
i was in the same boat as all of you. screwed up somewhere and then lost everything and did a side load. but now the problem is whenever i boot with twrp it still keeps showing my internal storage as 0. so am not able to root it. how do i go about solving this?
---------- Post added at 07:54 PM ---------- Previous post was at 07:54 PM ----------
Sieth said:
So I wiped the whole device. Adb sideloaded the new rom. Working flawless.
Now installed Magisk 14.0 and device stuck at boot with blue light.
So the rooting is to blame... (In my case...)
So I adbd again the rom.zip and got it working again. But no root for now
Update: flashed Magisk beta v14.6 (1468) and now ist's working.
Click to expand...
Click to collapse
How did you flash magisk beta? in my case twrp says that my internal storage is 0
What I did was format not wipe.
ADB sideload rom.zip
Install latest beta from magisk.
So now I have a clean device with working root
Sieth said:
What I did was format not wipe.
ADB sideload rom.zip
Install latest beta from magisk.
So now I have a clean device with working root
Click to expand...
Click to collapse
Nice, data lost as in my case but clean device is great too atleast. ^^
f***, same happenned to me. I did a back-up with twrp before but i left it in my internal memory.
I do have a month old back up on my laptop. How can i push this over to the phone? Can i restore a backup from bootloader ??
I gotta try everything to save my data, too many important things for work on there. I was too ****ing eager to get oreo
I've done the exact same thing. Problem now is that TWRP isn't seeing anything on the phone, there is nothing there. So I can't root with Magisk or install custom recovery.
Edit...had to use blu_spark twrp instead
Bigred065 said:
f***, same happenned to me. I did a back-up with twrp before but i left it in my internal memory.
I do have a month old back up on my laptop. How can i push this over to the phone? Can i restore a backup from bootloader ??
I gotta try everything to save my data, too many important things for work on there. I was too ****ing eager to get oreo
Click to expand...
Click to collapse
Not much chance to get back the data if you can't boot into android at all. You can wipe everything completely and then copy your old backup to your internal storage which will work again once wiped/decrypted. I haven't found a solution to save the data without wiping, I tried different twrp versions like the normal one or blu_spark but none asked to decrypt data and in my internal storage my files were left all encrypted with those weird long file names.
Are you trying to say that all my data is lost even tho I know decryption key? All I did was update to Android O and I had backup and TWRP is showing that my internal storage is full but the files are all encrypted it wont ask me for decryption key. What can I do
SPyxOff said:
Are you trying to say that all my data is lost even tho I know decryption key? All I did was update to Android O and I had backup and TWRP is showing that my internal storage is full but the files are all encrypted it wont ask me for decryption key. What can I do
Click to expand...
Click to collapse
Exactly. That's the weird problem. If I'm right we had to **** up something badly so that TWRP doesn't even know that our internal storage is encrypted and displaying the (encrypted) files just how they are. The problem in my case was that I couldn't even copy the encrypted files from internal storage to my PC or moving files from my PC to my device. The whole partition was just locked, I couldn't do anything on it, neither adb push or whatever else. Tried different TWRP versions but none asked me to decrypt.
I think the mistake is that if you install a new OS version which is somehow not backward/dirty flash compatible (like in my case the new oreo update) your pin/pattern will get deleted and because of that TWRP does not ask you to decrypt as the ROM is telling that you don't have a password set up! But the problem is when you install a new ROM, it wipes /sdcard so the data is lost if you don't find a way to somehow decrypt your internal storage. :/
Really bad to know you can't do anything at all even tho you know your decryption key - I hope someone finds a solution. I for myself wiped because I don't have so much time to look for a solution.

[t585] Almost every application crashes

Good evening, since yesterday my tablet has started to have issues, most of apps which I try to open crash, I tried to reboot the tablet, wipe the cache partition (it succeded but it gives me the following error: E:failed to find /misc), I also tried to uninstall and clean the data apps then reinstall them but they still crash.
Do you have any advice for me?
Thank you in advance.
Nemo1985 said:
Good evening, since yesterday my tablet has started to have issues, most of apps which I try to open crash, I tried to reboot the tablet, wipe the cache partition (it succeded but it gives me the following error: E:failed to find /misc), I also tried to uninstall and clean the data apps then reinstall them but they still crash.
Do you have any advice for me?
Thank you in advance.
Click to expand...
Click to collapse
Wipe the data partition. Usually fixes most issues.
Back up your stuff first. Don't worry about /misc
ashyx said:
Wipe the data partition. Usually fixes most issues.
Back up your stuff first. Don't worry about /misc
Click to expand...
Click to collapse
Thank you for the advice. I'm used to have rooted devices and I backup the data with titanium backup, but the tablet is not rooted because I can't trigger the knox counter, how can I do a proper backup in this situation?
Nemo1985 said:
Thank you for the advice. I'm used to have rooted devices and I backup the data with titanium backup, but the tablet is not rooted because I can't trigger the knox counter, how can I do a proper backup in this situation?
Click to expand...
Click to collapse
Just back up your personal stuff either to sdcard or the PC.
No point in backing apps and settings up as that is what's causing the issue.
ashyx said:
Just back up your personal stuff either to sdcard or the PC.
No point in backing apps and settings up as that is what's causing the issue.
Click to expand...
Click to collapse
I just did as you adviced, now everything works like a charm.
Thank you very much!

Back up help for a newbie

Howdy!
I had my 6T PERFECT, just like I wanted it.....exactly like I wanted it.
I downloaded the latest OOS update, clicked ok when it told me my phone would be unrooted after the update, something that DID NOT happen with my last update. I figured no problem, I will just root the phone after the update.
Well, TWRP recovery is gone. I boot into the Oxygen recovery screen. I have a Titanium backup folder that has a boat load of files I do not know how to use. TWRP still has a folder on my phone with 2 back ups in it.
I did a quick search and checked with google and can't find an answer simple enough for me to use.
How can I do a back up of my phone that will restore it just like it is, without me having to set up all the apps again, and set up my launchpad again like I want it.?
Question 2, how do I use the back up files I already have and will that do what I am wanting to do?
I may be hoping for something that does not exist, but I would like to root my phone, restore a backup, and upon reboot see the exact same phone I am looking at now. I can transfer the back up files to my computer no problem, but I don't know if that will accomplish my goal.
Thanks in advance!
JC the Newbie
https://forum.xda-developers.com/oneplus-6t/how-to/guide-local-upgrade-oos-losing-magisk-t3956818
Thanks Striatum, that will help in the future, however, it does not address the questions in my post.
PattayaGlock said:
Thanks Striatum, that will help in the future, however, it does not address the questions in my post.
Click to expand...
Click to collapse
Flash again twrp through fastboot (many guides here and there) flash Magisk and restore your backup, either the twrp ones either titanium backup
Thank you. I will see if I can muddle through either of those.
It looks as though I may have asked the wrong question. Perhaps I should have asked "if my bootloader is already unlocked can I reflash twrp and magisk after an OOS OTA update without wiping my data". I am back up and running with a rooted phone and did not lose any of my data or settings. Thanks for the help.
PattayaGlock said:
It looks as though I may have asked the wrong question. Perhaps I should have asked "if my bootloader is already unlocked can I reflash twrp and magisk after an OOS OTA update without wiping my data". I am back up and running with a rooted phone and did not lose any of my data or settings. Thanks for the help.
Click to expand...
Click to collapse
....I perfectly understood what you wanted to know.
This is basic knowledge, the answer is yes
How can you mess with your /data partition when twrp and Magisk are dealing with /boot partition
Thank you for the clarification.
Basic knowledge for you guys perhaps, but not for a newbie at the stage I am at. Well, where I was before you straightened me out! LOL.
After flashing a custom ROM in TWRP, when I reboot into recovery and click install, all of the directories have turned into folders with names that look like random letters and numbers, and I can no longer read/write from that internal SD card. Anyone know what is going on or have a solution? I don't want to lose my backups or data, that would suck. But if I have to to get my internal storage back, then fine. Thanks in advance if you can help!!!
boobteg2 said:
After flashing a custom ROM in TWRP, when I reboot into recovery and click install, all of the directories have turned into folders with names that look like random letters and numbers, and I can no longer read/write from that internal SD card. Anyone know what is going on or have a solution? I don't want to lose my backups or data, that would suck. But if I have to to get my internal storage back, then fine. Thanks in advance if you can help!!!
Click to expand...
Click to collapse
No need to post your issue in multiple threads...
This has nothing to do with backup it's an encryption hiccup.
PattayaGlock said:
It looks as though I may have asked the wrong question. Perhaps I should have asked "if my bootloader is already unlocked can I reflash twrp and magisk after an OOS OTA update without wiping my data". I am back up and running with a rooted phone and did not lose any of my data or settings. Thanks for the help.
Click to expand...
Click to collapse
I'm in same position. I lost root/twrp after local update. I can just flash twrp again and magisk without loosing data?
callumbr1 said:
I'm in same position. I lost root/twrp after local update. I can just flash twrp again and magisk without loosing data?
Click to expand...
Click to collapse
That is correct. You can flash both without losing any data. That is exactly what I did......and exactly what I was unsure of.
JC

Categories

Resources