Captain_Throwback
Recognized Developer
So I guess now that TWRP is able to decrypt, this script isn't necessary anymore?
So I guess now that TWRP is able to decrypt, this script isn't necessary anymore?
I guess you didn't see who the "previous poster" was....this has not happened yet with the htc 10. previous poster must be mistaken
Yeah it is not necessary any moreSo I guess now that TWRP is able to decrypt, this script isn't necessary anymore?
If I am currently in an unencrypted state (no passwords, no boot patterns required, etc), would I be able to restore a backup that was made in an encrypted state for my system and data partitions?
Essentially, are we limited by the CURRENT state of encryption for restoring images or are the backups affected by the state of encryption DURING the time the backup was made?
you are never in an unencrypted state with this device.
Also, this script is obsolete now that TWRP can handle the HTC encryption (starting with 3.0.2-3).
I understand not being in an unencrypted state hence the parentheses to explain the status further in my original post.
I also understand that this is no longer an issue with the newest TWRP. My question was about PREVIOUS backups.
I need an answer, not a critique. :laugh: But I do appreciate the additional details!
I understand not being in an unencrypted state hence the parentheses to explain the status further in my original post.
I also understand that this is no longer an issue with the newest TWRP. My question was about PREVIOUS backups.
I need an answer, not a critique. :laugh: But I do appreciate the additional details!
The backup was for system and data, not system image. It was performed before the TWRP version could handle encryption and done while security was enabled on the device (security to start/bootup)..
I am just toying around and about to start fresh again on 1.53.617.5 and thought I would see if it's possible to restore those previous backups since I am now in an "unencrypted state" (E.g. no required PIN/password/pattern to start device and no PIN/password/pattern before bootup.)
---------- Post added at 03:56 PM ---------- Previous post was at 03:53 PM ----------
Just answered my own question.
The answer is NO, we cannot restore backups from a password protected state, no matter what our current state is.
Thanks!
wasn't critiquing. I thought I did answer your quesiton. You never made an unencrypted backup.
how did you back up previously with TWRP (pre version 3)? The entire 25GB partition? If so, you can throw that out because it's useless.
---------- Post added at 03:49 PM ---------- Previous post was at 03:42 PM ----------
Are you asking if you can restore a backup that you made while you had a device password set now that you don't have a device password? If so...http://xdaforums.com/showpost.php?p=66931692&postcount=256
Read this post and the next few.
I'd recommend redoing the backup just to be safe, but Captain_Throwback's solution isn't hard either.
SO...if this is what you were talking about, this is not what you originally asked.
package_extract_dir("wipe", "/tmp/wipe");
run_program("/sbin/busybox", "unzip", "/tmp/wipe/wipe.zip", "META-INF/com/google/android/*", "-d", "/tmp/wipe");
run_program("/sbin/busybox", "sh", "/tmp/wipe/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/wipe/wipe.zip");
Yeah it is not necessary any moreSo I guess now that TWRP is able to decrypt, this script isn't necessary anymore?
Ah, a full wipe is only applicable to data buddy, if a rom dev doesn't wipe system before their installation, they need a good slap with a frozen kipper.huh? Ever since I began rooting phones, I would wipe system, data and cache before a clean flash of a rom. I guess I never knew the rom does it for you. I thought the rom just over wrote the system possibly leaving remnants of the old system which could lead to issues which is why devs advise to full wipe when switching roms.