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

Support for specifying boot image path? #145

Open
manoedinata opened this issue May 1, 2024 · 4 comments
Open

Support for specifying boot image path? #145

manoedinata opened this issue May 1, 2024 · 4 comments

Comments

@manoedinata
Copy link

Hello,

Does this tool support specifying a path to boot image that will be unpacked/modified?

For example, I have both boot.img and vendor_boot.img, and I'd like to unpack either boot.img or vendor_boot.img, without the need to move one of them to another directory.

Thank you.

@cfig
Copy link
Owner

cfig commented May 11, 2024

Let me have a think about how the flow may be, for years, this tool has been tightly coupled with "gradle" ("gradlew") scripts.

@manoedinata
Copy link
Author

Sure. Take your time.

Sorry I can't do much contribution. I'm not familiar with Java & Gradle build system.

cfig added a commit that referenced this issue May 12, 2024
boot.img V3
unpack
java -jar bbootimg/build/libs/bbootimg.jar unpackInternal ../boot.img out
pack
java -jar bbootimg/build/libs/bbootimg.jar packInternal out ../x/boot.img.modified
@firmianay
Copy link

Is it possible to support specifying any .img/.bin, not just boot.img, like --file /path/to/xxx.img

@cfig
Copy link
Owner

cfig commented Nov 18, 2024

Is it possible to support specifying any .img/.bin, not just boot.img, like --file /path/to/xxx.img

Yes, will do this. stay tuned

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

3 participants