Page 1 of 1

Problem building android image myself

Posted: Thu Jun 14, 2018 7:50 pm
by sugoke

I would like to build my Android image (to change the boot logo)

I am trying this: ... e_yourself

Code: Select all

git clone
cd sd-fuse_nanopi3
tar xvzf android-lollipop-images.tgz

Code: Select all

Change the files in rootfs.img and boot.img
apt install android-tools-fsutils
simg2img rootfs.img r.img
mount -t ext4 -o loop r.img /mnt
… To Change Something …
umount /mnt
img2simg r.img rootfs.img

If I unpack boot.img, and repack it (without changing files), it doesn't work. It is not copied to the SD Card. Do you know why?

Thank you!


Re: Problem building android image myself

Posted: Sat Jun 30, 2018 9:10 pm
by sugoke
I found a way by compiling android from the start, if someone runs into the same issue.