eMMC Boot Guide
- 1.If you have a new eMMC, install it and write back boot0/1 and the rawnand bin in hekate.
- 2.Under Linux mount the eMMC with hekate. Deactivate write protect!
- 3.Check where linux has mounted the eMMC (sdb, sdc ...)
gpartedand confirm the resize from the eMMC gpt table.
- 5.Close gparted.
- 6.Open Terminal and
sudo gdisk /dev/sdx(where x is your the device letter)
- 7.Press x=>s=>20=>v=>w=>y to enlarge the gpt table to 20 entries. (If you also want to do linux on the eMMC you have to enter 24.)
- 8.Open gparted again.
- 9.HOS has 11 partitions, Android need 9 partitions we have to create them.
- 10.Add the 9 partitions and set the file system as deleted.
- 11.If you want to add Linux, add a partition with the label of your choice (e.g.:
SWR-UBUfor Ubuntu Bionic) and 3 dummy partitions with 1mb unformated. In order to have 24 partitions. gdisk cannot create 21 partitions because the sector is filled automatically (multiple of 4) if there are only 21 partitions on the eMMC and not 24 Horizon does not start. The bootloader checks that and Horizon brings up a pink screen.
ddin terminal flash the following (replacing
- 3.Add the release files (bootfiles, ini, lineage zip, any extra zips) a. If running Android 11, add
bootloader/ini/android.inib. If running Android 10, add
overlays=tegra210-icosa_emmc-overlayto a new file
switchroot/android/uenv.txtand add the emmc overlay from build artifacts to
hekate-> More Configs -> click on the entry for you Android version while you press VOL +
- 5.In recovery, flash the lineage zip and any extra zips
WARNING: When setting up Android, under no circumstances use the sd card as a memory extension (adopted storage), otherwise it will be formatted. The FAT32 partition will be mounted regardless, so no need.