I have Android 9 running on IMX6 board with SDCARD. I can burn the sdcard using a script provided by NXP at out/target/product/sabresd/. It's works, no problem. At Android 6 I can copy the result SDCARD using a sdcard duplicator machine or DD at Linux without any problem. Now in Android 9 sdcard, that uses GPT, this copy doesn't work, even with linux dd raw copy. Anyone have a idea of reason for a raw copied SDCARD doesn't work (boot)? Are there some kind of verification or anything else that can explain this?
Thank you,
Leonardo
解決済! 解決策の投稿を見る。
Answer my own question:
Android uses GPT and the table is at last 512 bytes of the card. The script write this table exactly at this position of the card. If I try to reproduce the sdcard, it will work only if the cards are exaclty the same size. If not, the table will not stay in the last 512 positions and device will not boot.
Answer my own question:
Android uses GPT and the table is at last 512 bytes of the card. The script write this table exactly at this position of the card. If I try to reproduce the sdcard, it will work only if the cards are exaclty the same size. If not, the table will not stay in the last 512 positions and device will not boot.
You could download the Android 9 documentation from here
There is Android User's Guide. Please read the Chapter 5 "Programming Images" for more information.