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

New command line argument "--skip_hash" #1

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

CaptainThrowback
Copy link

Just add it to the beginning of the command (./extract.py --skip_hash)
and the hash will be skipped.

Fixed bug where if the old file that matches the new file does not exist
we get a crash. Now we attempt to extract the new file without the old file.

Added automatic file renaming. You can put your .img files in the "old"
directory and they will be renamed automatically, and back at the end of
the extraction. Additionally, the "output" directory will get .img appended
to their file names after the extraction.

Removed the need for the "LD_LIBRARY_PATH=./lib64/" part of the
command by setting it within the script.

Updated README.md to reflect all changes.

Just add it to the beginning of the command (./extract.py --skip_hash)
and the hash will be skipped.

Fixed bug where if the old file that matches the new file does not exist
we get a crash. Now we attempt to extract the new file without the old file.

Added automatic file renaming. You can put your .img files in the "old"
directory and they will be renamed automatically, and back at the end of
the extraction. Additionally, the "output" directory will get .img appended
to their file names after the extraction.

Removed the need for the "LD_LIBRARY_PATH=./lib64/" part of the
command by setting it within the script.

Updated README.md to reflect all changes.
This was changed with the skip_hash check and appears to break the ability for the tool to run in full payload mode.
Specifying output folder name is optional

Add six dependency & requirements.txt
CaptainThrowback and others added 4 commits July 2, 2022 23:07
On some newer devices, script will error if destination image
size is larger than the source. This is possible on virtual AB
devices and should be allowed in some cases.

It should be noted that this may result in unusable images
in some cases. Use with caution.
Separate arm & arm64 binaries will still be needed, which
need to be installed to system/bin on mobile devices.

The necessary library dependencies will also already have to be
present on the device (most are standard on current Android versions)
Using system/bin creates an overlay which can be detected. Module support zip has also been updated
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

Successfully merging this pull request may close these issues.

3 participants