Skip to content

Commit

Permalink
fixed repack and removed burning script
Browse files Browse the repository at this point in the history
  • Loading branch information
natinusala committed Feb 8, 2018
1 parent be9cf96 commit 3ae5c87
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 40 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ output
bin/simg2img
bin/img2simg
bin/aml_image_extractor
tmp
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Allows to unpack and repack AMLogic Android images on Linux systems without usin
* Unpack and repack any image
* Mount and edit `system` partition
* Unpack and repack `logo` partition (for bootup and upgrading logos)
* *(WIP)* "Burn" a SD Card for USB-less installation
* Works for Android 7
* No need to unpack the image each time you want to use the tool

Expand All @@ -24,7 +23,6 @@ Allows to unpack and repack AMLogic Android images on Linux systems without usin
* If you happen to loose the `output/system` mounting point (after a reboot for instance), just run `./bin/remount` to mount it again
* On the other hand, you can unmount the system partition using `./bin/unmount`
* When you have finished editing the files, run `./bin/repack output.img` to repack the image to `output.img`
* *(WIP)* You can "burn" the image to a mounted SD Card by running `./bin/burn_sdcard image.img sdcard_directory` (this will copy the required `img`, `ini` and `UBOOT` files)
* Done !

# Credits
Expand Down
35 changes: 0 additions & 35 deletions bin/burn_sdcard

This file was deleted.

1 change: 1 addition & 0 deletions bin/cleanup
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
sudo umount output/system

rm -rf output
rm -rf tmp

rm -f bin/simg2img
rm -f bin/img2simg
Expand Down
3 changes: 0 additions & 3 deletions bin/unpack
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ then
echo "Mounting system image..."
sudo mount -t ext4 -o loop,rw output/image/system.img output/system

echo "Setting permissions..."
sudo chmod -R 777 output/system

echo "Unpacking logo..."
bin/logo_img_packer -d output/image/logo.PARTITION output/logo

Expand Down

0 comments on commit 3ae5c87

Please sign in to comment.