Page 1 of 1

Problem building android image myself

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

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

I am trying this:
http://wiki.friendlyarm.com/wiki/index. ... e_yourself


Code: Select all

git clone https://github.com/friendlyarm/sd-fuse_nanopi3.git
cd sd-fuse_nanopi3
wget http://112.124.9.243/dvdfiles/S5P6818/images-for-eflasher/android-lollipop-images.tgz
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!

Michael

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.