Power & Source of Big Ideas

How to write Android to SD Card?

Moderators: chensy, FATechsupport


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, 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 is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 1 guest