Install BOTH Android AND CoreELEC to EMMC for ultimate Flexibility and Performance
Originally validated using 7.1.2 Nougat Android Image - Now has also been tested/confirmed with Official Android 6 WF008 Marshmallow
(if you have problems, or to remove partition, re-flash the Android ROM with USB Burning Tool)
@Skynet & @pusb87 - see my info below - you no longer have to choose between installing one OS vs the other - get them BOTH on EMMC without having to reflash to replace one with the other. Both OS exist on separate partitions of EMMC - this is a major development!
See notes in this thread (link), particularly those by Emerson as pertains to S912 devices
I am pleased to say this works perfectly! Whatever you have in your Kodi Setup - all configuration elements, skin, addons, userdata, account info etc will ALL be transferred during this script - and your CE will look exactly as it does running off your removable storage - no need to re-set-up your CE in any way!
So you maintain your Android Installation AND have CE running out of EMMC.
Here's what you do (I have no credit associated with this - it all came from the link I posted above from that posted by Emerson other than the extra notes I added in parentheses)
Specifically:
Notes - I was a little confused initially as, although it all appeared to go smoothly, I had no reboot to Android in the CE shutdown menu; and since it all looks identical to your SD Card install, I was questioning whether it was really transferred - or not!!!
Then I did a better job on my reading comprehension!!! ....
Important things I did not immediately grasp:
Having read that, from the System Information on the CE System Summary screen I could see that it was indeed installed in MMC
So I popped out the SD card (after it was booted) and confirmed that CE was indeed all still working properly - can't get better confirmation than that!
I then thought about why the 'quit' menu wasn't showing the reboot to Android option - but I run a different skin - I switched back to Estuary and there it was! Then switched back and I looked under the quit menu options in my preferred skin and saw that Reboot to Android* was a selectable option (which had not been selected) - selected that and now all is as advertised!
* Actually there is a quirk to action that reboot where you need to first click 'reboot to android' and then click reboot - another excellent workaround for that action from a single click can be found here - https://discourse.coreelec.org/t/command-to-reboot-to-emmc-nand-to-use-on-other-skins/1937/5
(if using the std Estuary skin that comes on CE, no need to do anything)
So in final note, just to reiterate it does still require the SD card (or USB) to be in place for booting and mounting the partition but the actual CE is running off the EMMC.
I think this is a great mod, major kudos to the developers for amending the CEEMMC program by CE to run on older gen systems - it works!!!
Originally validated using 7.1.2 Nougat Android Image - Now has also been tested/confirmed with Official Android 6 WF008 Marshmallow
(if you have problems, or to remove partition, re-flash the Android ROM with USB Burning Tool)
you can use dual boot:
-boot from CoreElec (boot from pendrive for example)
-or boot from android.
It's very reliable.
If you install it on the main memory it will be 10x faster.
To come back to Android just flash the full firmware.
I found it incredibly slow when installed on the SD card, virtually unusable in navigating menus...playback was fine though.
I realise that it would be much quicker if installed to internal memory but that is not a favoured option for me as i like to use some android apps.
... .
@Skynet & @pusb87 - see my info below - you no longer have to choose between installing one OS vs the other - get them BOTH on EMMC without having to reflash to replace one with the other. Both OS exist on separate partitions of EMMC - this is a major development!
See notes in this thread (link), particularly those by Emerson as pertains to S912 devices
The install script will
This workaround will let both systems run from eMMC’s appropriate partition which are the halves of the original data partition. The installed and used CE system data will be copied to the new storage by the installer script.
- gather data of eMMC
- count the appropriate partition address and size parameters and store them in local envs
- check the free space original Android file system and resize the data partition
- create new ext4 partition exclusively for CE
- copy all the necessary files from storage to the new ext4 partition
The system will start from SD/USB as before but it is only for load and run the kernel from that.
The new system will not allow to update as usual.
Installation steps:
- to install this mod you have to start CE from SD/USB as always.
- download and copy the install-script and the modified kernel image to the Backup share of CE
- login via SSH and type this 3 lines
I am pleased to say this works perfectly! Whatever you have in your Kodi Setup - all configuration elements, skin, addons, userdata, account info etc will ALL be transferred during this script - and your CE will look exactly as it does running off your removable storage - no need to re-set-up your CE in any way!
So you maintain your Android Installation AND have CE running out of EMMC.
Here's what you do (I have no credit associated with this - it all came from the link I posted above from that posted by Emerson other than the extra notes I added in parentheses)
Specifically:
(For first-time CE users, prepare a std CoreELEC installation on a removable drive using one of methods from this guide - link
After you have the bootable image created go through at least the initial CE set-up for Network, Samba and SSH; you can then proceed as follows to move it to EMMC
Note that you can move the OS as-is and configure to your personal preferences (skin, add-ons, etc) after it has been moved, or you can configure it all on the card first - either way makes no difference, you will end up in the same place)
(Download) this version for S912 - https://drive.google.com/file/d/1TTnY2A2zBokdgg2dV7vWH4FLsjA3sNyi/view
Copy the files to the backup share
(You will need to use either SSH or Samba into the booted CoreELEC on the SD Card to copy the 4 unzipped files into the 'Backup' folder - Samba is easier to transfer the files - just note your local LAN IP address and add it as a share on your PC - go to 'Quick Access' on File Explorer and enter \\ yoursystem local IPAddress\ and you will see the file system for your CoreELEC SD Card - just use std copy/paste techniques to move the downloaded files into the Backup folder)
and run the commands.
Login via SSH
(I use Putty - and of course you need to enable SSH - and SAMBA if you're using that too - in the CE options - note the username and password for SSH)
and type this 3 lines
cd backup
chmod +x install_ext4.sh
./install_ext4.sh
(confirm the appropriate actions to proceed at each step;
then finally will ask you to reboot and again affirm)
Notes - I was a little confused initially as, although it all appeared to go smoothly, I had no reboot to Android in the CE shutdown menu; and since it all looks identical to your SD Card install, I was questioning whether it was really transferred - or not!!!
Then I did a better job on my reading comprehension!!! ....
Important things I did not immediately grasp:
The system will start from SD/USB as before but it is only for load and run the kernel from that.
The whole procedure will run automatically and no user interaction need, after reboot the system will run on the ext4 partition.
If I understand script correctly you still need SD card to boot from?
It reads the SD card for a few seconds and umount the system
Having read that, from the System Information on the CE System Summary screen I could see that it was indeed installed in MMC
So I popped out the SD card (after it was booted) and confirmed that CE was indeed all still working properly - can't get better confirmation than that!
I then thought about why the 'quit' menu wasn't showing the reboot to Android option - but I run a different skin - I switched back to Estuary and there it was! Then switched back and I looked under the quit menu options in my preferred skin and saw that Reboot to Android* was a selectable option (which had not been selected) - selected that and now all is as advertised!
* Actually there is a quirk to action that reboot where you need to first click 'reboot to android' and then click reboot - another excellent workaround for that action from a single click can be found here - https://discourse.coreelec.org/t/command-to-reboot-to-emmc-nand-to-use-on-other-skins/1937/5
(if using the std Estuary skin that comes on CE, no need to do anything)
So in final note, just to reiterate it does still require the SD card (or USB) to be in place for booting and mounting the partition but the actual CE is running off the EMMC.
I think this is a great mod, major kudos to the developers for amending the CEEMMC program by CE to run on older gen systems - it works!!!
Last edited: