Page 1 of 1

How to write Android to SD Card?

Posted: Fri Apr 29, 2016 5:11 am
by kconger
Hi,

I've followed the steps on http://wiki.friendlyarm.com/wiki/index.php/NanoPi_2 under the "Make Your Own OS Image" section. After I've built everything what are the steps to write the kernel and android to the SD card?


Thanks

Re: How to write Android to SD Card?

Posted: Thu May 05, 2016 8:50 am
by FATechsupport

Re: How to write Android to SD Card?

Posted: Thu May 05, 2016 1:57 pm
by kconger
Thanks, I'll give it a try and report back.

Re: How to write Android to SD Card?

Posted: Tue May 10, 2016 2:33 pm
by kconger
The wiki wasn't very helpful in this area for me. However that section did lead me to look at the sd-fuse_nanopi2 package. After poking around in there I found the sd_update tool.

So after you build a new version of Android, use the following command to write a new image to the SD card:
./sd_update -d /dev/sdc -p ~/Projects/nanopi2/android/out/target/product/nanopi2/partmap.txt -i ~/Projects/nanopi2/android/out/target/product/nanopi2/