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

Print out command line arguments for pkbootimage after splitting image #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

philippelatulippe
Copy link

Thanks for writing this useful program. It came in really handy when I wanted to make some small changes to my Nexus 4 boot image but found that most splitting scripts don't take in account the Nexus' non-standard offsets in the header.

To save time when repackaging the image, I added some code that makes spbootimage print out the command line to use with pkbootimage. The only extra change I had to make was to write_chunk, which I made accept arbitrary output file names instead of concatenating the name itself.

I tested it with my Nexus 4, and the repackaged boot.img came out identical as the input.

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.

1 participant