-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: Value out of range, should be between 0 and 10322051072 #50
Comments
This is on Arch Linux with Python 3 |
This is a bug or corner case in the $ pip3 list|grep progressbar2
progressbar2 (3.10.0) |
progressbar2 (3.12.0) |
@dlenski I have a problem related to the issue above. I killed my phone doing something stupid but hooray Motorola has agreed to replace it and I'll be getting that today. The issue is that the TWRP backup of my old device did not include the decryption key for my adopted storage SD card which I know is kept at /data/misc/vold The only other hope is the image file I got after the above error. I tried mounting it but I cannot seem to read from it. After running I also tried ext4 even though I'm pretty sure I had TWRP format my /data as f2fs Is it still possible to mount that file somehow? I'm hoping the adopted storage SD card key is in there. |
@dlenski after some messing around I was able to fully restore my data. Required the use of hex editor and looking through all my data. |
Huh, what was wrong with it? Was the copy from This is, frankly, the only thing I really care about in the program… tetherback should never, never transfer a corrupt file (and if it does, it must complain loudly and fail immediately). |
@dlenski Your program copied the encrypted /data partition and I still don't know how to decrypt it. I know the original passphrase but there wasn't much information I could find on how to decrypt a image made from a encrypted /data partition. I did copy on my own a 'dd' image from /dev/block/dm-0 which is where TWRP mounted the decrypted data. I did something wrong as it copied bits from the terminal directly into the same image file but I did find the one file I needed to decrypt my adopted storage SD card. |
I get the error as mentioned in the issue title and I'm not 100% sure why. I do have a adopted storage sd card. Device is a Moto X Pure with TWRP 3.1.0 and LinegaeOS 14.1 installed.
The text was updated successfully, but these errors were encountered: