Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phhusson/super-bootimg
Tools to edit Android boot.img. NDK buildable, to be usable in an update.zip
https://github.com/phhusson/super-bootimg
Last synced: 4 days ago
JSON representation
Tools to edit Android boot.img. NDK buildable, to be usable in an update.zip
- Host: GitHub
- URL: https://github.com/phhusson/super-bootimg
- Owner: phhusson
- License: gpl-3.0
- Created: 2015-10-24T19:59:57.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-05-09T07:48:57.000Z (over 4 years ago)
- Last Synced: 2025-01-08T21:15:04.197Z (11 days ago)
- Language: C
- Size: 6.94 MB
- Stars: 228
- Watchers: 43
- Forks: 121
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rainmana - phhusson/super-bootimg - Tools to edit Android boot.img. NDK buildable, to be usable in an update.zip (C)
README
# super-bootimg
Tools to edit Android boot.img. NDK buildable, to be usable in an update.zip# Integrate superuser.zip into another zip
In your update.zip, create a folder called su, and put superuser.zip in it,
then add the following lines in your updater-script, AFTER flashing boot.img:> package_extract_dir("su", "/tmp/su");
> run_program("/sbin/busybox", "unzip", "/tmp/su/superuser.zip", "META-INF/com/google/android/update-binary", "-d", "/tmp/su");
> run_program("/sbin/busybox", "sh", "/tmp/su/META-INF/com/google/android/update-binary", "3", "42", "/tmp/su/superuser.zip");