CoreELEC eMMC installer for Ugoos AM9

DO NOT USE THIS METHOD IF WANT TO ACCESS ANDROID ON THE DEVICE.

IF THE EMMC INSTALL FAILS YOU CAN STILL ALWAYS BOOT FROM SD-CARD BUT YOU WILL NOT BE ABLE TO ACCESS ANDROID WITHOUT RE-FLASHING THE DEVICE WITH UGOOS’S TOOLS (WINDOWS ONLY).

I have CE installed to the EMMC on the AM9 pro. the user interface is noticeably more responsive with a large library and artwork-heavy skin (arctic fuse 3).

Just note that this is destructive - you will not be able to boot into Android after doing this. You will need to use ugoos’s flash too to restore the device back to Android.

2 Likes

Deletes three unused Android partitions from the end of the GPT:

super (p27, 3.1 GB) — Android system images, was empty

Sure it is not :slight_smile:

CoreELECAM9:~ # df -h
Filesystem                Size      Used Available Use% Mounted on
devtmpfs                  1.8G         0      1.8G   0% /dev
tmpfs                   740.9M     17.0M    723.9M   2% /run
/dev/CE_FLASH           487.0M    381.7M    105.3M  78% /flash
/dev/loop0              347.0M    347.0M         0 100% /
/dev/CE_STORAGE          52.8G      5.4G     47.4G  10% /storage
tmpfs                     1.8G         0      1.8G   0% /dev/shm
tmpfs                     1.8G      4.8M      1.8G   0% /var
tmpfs                     1.8G         0      1.8G   0% /tmp
CoreELECAM9:~ # lsblk
NAME                                    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0                                     7:0    0 346.6M  1 loop /
mmcblk0                                 179:0    0  58.2G  0 disk 
\xe2\x94\x9c\xe2\x94\x80reserved        179:1    0    64M  0 part 
\xe2\x94\x9c\xe2\x94\x80env             179:2    0     8M  0 part 
\xe2\x94\x9c\xe2\x94\x80frp             179:3    0     2M  0 part 
\xe2\x94\x9c\xe2\x94\x80factory         179:4    0     8M  0 part 
\xe2\x94\x9c\xe2\x94\x80vendor_boot_a   179:5    0    64M  0 part 
\xe2\x94\x9c\xe2\x94\x80vendor_boot_b   179:6    0    64M  0 part 
\xe2\x94\x9c\xe2\x94\x80bootloader_a    179:7    0     8M  0 part 
\xe2\x94\x9c\xe2\x94\x80bootloader_b    179:8    0     8M  0 part 
\xe2\x94\x9c\xe2\x94\x80tee             179:9    0    32M  0 part 
\xe2\x94\x9c\xe2\x94\x80logo            179:10   0     8M  0 part 
\xe2\x94\x9c\xe2\x94\x80misc            179:11   0     2M  0 part 
\xe2\x94\x9c\xe2\x94\x80dtbo_a          179:12   0     2M  0 part 
\xe2\x94\x9c\xe2\x94\x80dtbo_b          179:13   0     2M  0 part 
\xe2\x94\x9c\xe2\x94\x80cri_data        179:14   0     8M  0 part 
\xe2\x94\x9c\xe2\x94\x80param           179:15   0    16M  0 part 
\xe2\x94\x9c\xe2\x94\x80odm_ext_a       179:16   0    16M  0 part 
\xe2\x94\x9c\xe2\x94\x80odm_ext_b       179:17   0    16M  0 part 
\xe2\x94\x9c\xe2\x94\x80boot_a          179:18   0    64M  0 part 
\xe2\x94\x9c\xe2\x94\x80boot_b          179:19   0    64M  0 part 
\xe2\x94\x9c\xe2\x94\x80init_boot_a     179:20   0     8M  0 part 
\xe2\x94\x9c\xe2\x94\x80init_boot_b     179:21   0     8M  0 part 
\xe2\x94\x9c\xe2\x94\x80metadata        179:22   0    64M  0 part 
\xe2\x94\x9c\xe2\x94\x80vbmeta_a        179:23   0     2M  0 part 
\xe2\x94\x9c\xe2\x94\x80vbmeta_b        179:24   0     2M  0 part 
\xe2\x94\x9c\xe2\x94\x80vbmeta_system_a 179:25   0     2M  0 part 
\xe2\x94\x9c\xe2\x94\x80vbmeta_system_b 179:26   0     2M  0 part 
\xe2\x94\x9c\xe2\x94\x80CE_FLASH        179:27   0   488M  0 part /flash
\xe2\x94\x94\xe2\x94\x80CE_STORAGE      179:28   0    54G  0 part /storage
mmcblk0boot0                            179:32   0     4M  1 disk 
mmcblk0boot1                            179:64   0     4M  1 disk 
CoreELECAM9:~ # dmesg | grep mmc
[    0.865838] mmc0: CQHCI version 5.20
[    1.045531] mmc0: clk= 0x10000206, adj = 0x52000, dly1 = 0, dly2 = 0
[    1.047008] aml_sd_emmc_clktest [878] clktest : 8704, delay_cell: 73, count: 34
[    1.047014] [set_emmc_nwr_clks], delay1: 0x0, delay2: 0x0
[    1.202519] mmc0: new HS400 MMC card at address 0001
[    1.203164] mmcblk0: mmc0:0001 A31M8C 58.2 GiB 
[    1.211644] emmc_key_read:566, read ok
[    1.211920] emmc key: emmc_key_init:526 ok.

yeah this script is a bit clunky, I just had claude spit it out after I finished getting everything installed and verified functionality. just tightened up those two call-outs. always open to feedback.

again want to re-iterate that this is destructive and experimental

You completely remove Android and also they way to be able to restore everything.
This might work for your device with this firmware. But any other device or a newer firmware will prevent booting or media playback again.

This is why the tool ceemmc becomes to be obsolete.

Warning for users:
Such install is not supported by CoreELEC so any support request will be rejected, closed or removed!

1 Like