Power & Source of Big Ideas

How to write Android to SD Card?

Moderators: chensy, FATechsupport

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
Thanks, I'll give it a try and report back.
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/

Who is online

In total there are 5 users online :: 0 registered, 0 hidden and 5 guests (based on users active over the past 5 minutes)
Most users ever online was 2865 on Sun Nov 10, 2019 5:27 am

Users browsing this forum: No registered users and 5 guests