Skip to content
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

Password? #124

Closed
OneEyedTiamat opened this issue Dec 20, 2023 · 8 comments
Closed

Password? #124

OneEyedTiamat opened this issue Dec 20, 2023 · 8 comments

Comments

@OneEyedTiamat
Copy link

Hello,

I'm still trying to get abe.jar to unpack a file. Here is my command: java -jar abe.jar abe unpack color.note.adb color.note.tar [password]

(I tried the app's password, no password, and the default password, with and without [], I can’t try phone password because there isn’t a password, just a shape and fingerprints)

It gives me the possible commands, but no file, so clearly I’m still doing something wrong. What password am I supposed to use here? The app's password? A password set when I got the color.note.adb file? Something else? Could the issue be something else?

Thanks.

@nelenkov
Copy link
Owner

If you want to use Linux, spend some time learning the basics of command line and your shell. Also check the readme and blog post to understand how Android backups work. It takes some time, but is eventually easier than trying random things.

[password] here means the password is optional -- if the backup is not encrypted there is no password. Implementation might be different on some devices, but typically you are asked for a password when you create the backup. If didn't specify one, the backup is probably not encrypted.

Look at the first lines of the .ab file, that would also give you a hint if it's encrypted. If it is, you need to specify the password.

@OneEyedTiamat
Copy link
Author

Thanks, I'll take a look at the file when I get back home.

@OneEyedTiamat
Copy link
Author

If you want to use Linux, spend some time learning the basics of command line and your shell. Also check the readme and blog post to understand how Android backups work. It takes some time, but is eventually easier than trying random things.

[password] here means the password is optional -- if the backup is not encrypted there is no password. Implementation might be different on some devices, but typically you are asked for a password when you create the backup. If didn't specify one, the backup is probably not encrypted.

Look at the first lines of the .ab file, that would also give you a hint if it's encrypted. If it is, you need to specify the password.

I'm new at using jar files, and it's been a few years since I last used Ubuntu. I'm quite rusty.

The first lines of the file are :

ANDROID BACKUP
5
1
none

There's also a last line I don't really get, but that I can also post here if required. The device isn't encrypted, and the file shouldn't be either, but it's possible that it is.

@nelenkov
Copy link
Owner

Looks like the backup is not encrypted, so it should work without specifying a password.

@OneEyedTiamat
Copy link
Author

Looks like the backup is not encrypted, so it should work without specifying a password.

Then what could be the issue? Again, the command java -jar abe.jar abe unpack color.note.adb color.note.tar doesn't seem to do much other than just display

Usage:
unpack: abe unpack <backup.ab> <backup.tar> [password]
pack: abe pack <backup.tar> <backup.ab> [password]
pack for 4.4: abe pack-kk <backup.tar> <backup.ab> [password]
If the filename is -, then data is read from standard input
or written to standard output.
Envvar ABE_PASSWD is tried when password is not given

I'm not sure what else I can do.

@nelenkov
Copy link
Owner

Not sure what you have downloaded, but either use the shell script (abe) or the jar file, not both in the same command.

If using the jar file: java -jar abe.jar unpack color.note.adb color.note.tar

@OneEyedTiamat
Copy link
Author

That worked, thank you.

@nelenkov
Copy link
Owner

Sure. But looking at the readme and checking out what's in the script file would have given you the same result, much faster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants