[Android Stick & Console AMLogic based Computers] akabawy:
( I am not responsible for anything that goes wrong with your device if you flash this. I have taken as many steps possible to ensure top quality and am running this myself, but you have been warned!!)

This thread is for device K1 DVB-S2 S805 Quad Core 1G/8G

I created this guide to cover most important points regarding Root, Recovery and Installing custom roms. I also included my custom rom (SlimROM_k1_s805).

Rooting:

Download root file (M8_root_update.zip)

Copy file (M8_root_update.zip) to root directory of sd card or usb flash drive

Install the file though one of two methods:

A) Though Device update service:

Open Settings----Other----System Update----Update Locale----Select File

Browse to your file (M8_root_update.zip) and select it

Click on update button

Wait until finished and device reboot

B) Through Device Recovery:

Copy file (M8_root_update.zip) to root directory of sd card or usb flash drive

Unplug the tv box from electricity

Use a pin to press on reset button on the back of the device

Continue pressing on reset button and connect the electiricity cable (Do not release your finger yet)

Wait for about 10 seconds and release your finger

The device should boot into recovery now

Choose (install update from Ext)

Browse to root file on sd card ( M8_root_update.zip) and choose it

After finished installing click on (Reboot device now)

Installing TWRP Recovery:

Actually I did not find the exact twrp file for our device. So, I used another file for another model (S82b) . Use it under your responsibility. I confirmed it working with me in sections (Wipe, Mount and Install).

To install this recovery you need to follow these steps:

Make sure the device is rooted

Install Terminal emulator from google play

Download the recovery file (twrp-s82b.zip) and extract it to the root of your internal storage (Recovery.img)

Open terminal emulator and type the following commands:

su

dd if=/sdcard/recovery.img of=/dev/block/recovery

exit terminal emulator

you may now try the booting into recovery as mentioned before to make sure it works.

Installing Custom ROMs:

For developers, the most important step is to remove device identification from the rom script (updater-script).

Because the TWRP revovery is not for (K1). we must change the following line in updater-script:

getprop("ro.product.device") == "k1" || getprop("ro.build.product") == "k1" || abort("This package is for "k1" devices; this is a "" + getprop("ro.product.device") + "".");

replace (k1) with (s82b). it will be like this

getprop("ro.product.device") == "s82b" || getprop("ro.build.product") == "s82b" || abort("This package is for "s82b" devices; this is a "" + getprop("ro.product.device") + "".");

After that the rom can be installed easily from twrp recovery as mentioned before.

My Custom ROM (SlimROM_k1_s805)

Finally, I introduce my custom rom (SlimROM_k1_s805) which is built from stock rom for K1 DVB-S2 released 26 Jan 2016. I integrated root in my rom and removed too many apps that I do not use. Also, some build.prop tweaks.

If you need any file not included in my rom, go ahead and download the full rom and extract it to get what you want.

List of the files I have deleted:

system/kodipack.tar.gz

system/app/BasicDreams.apk

system/app/GenieWidget.apk

system/app/Gmail2.apk

system/app/GoogleCalendarSyncAdapter.apk

system/app/GoogleContactsSyncAdapter.apk

system/app/GoogleTTS.apk

system/app/Hangouts.apk

system/app/MediaBoxLauncher.apk (replaced with Nova Launcher)

system/app/MediaBoxLauncher.odex

system/app/PicoTts.apk

system/app/PicoTts.odex

system/priv-app/CalendarProvider.apk

system/priv-app/Contacts.apk

system/priv-app/ContactsProvider.apk

system/priv-app/Launcher2.apk

system/priv-app/talkback.apk

system/priv-app/Velvet.apk

system/preinstall/AirPin_LITE.apk

system/preinstall/anmaple.apk

system/preinstall/CloudTV.apk

system/preinstall/com.facebook.apk

system/preinstall/com.twitter.android.apk

system/preinstall/Crackle.apk

system/preinstall/FilmOn.apk

system/preinstall/flickr_3.1.2.apk

system/preinstall/hulu.plus-116.apk

system/preinstall/kodiapp-armeabi-v7a-debug.apk

system/preinstall/mobdro.apk

system/preinstall/Netflixv3.1.1build1112.apk

system/preinstall/sports.apk

system/preinstall/tdo.apk

Download Links:

Root:

https://drive.google.com/open?id=0B-Ki1hUVdsyYTzRlNVh2VW1sZzA

Recovery:

https://drive.google.com/open?id=0B-Ki1hUVdsyYYkFlRTZac3hSV2M

Stock ROM:

https://mega.nz/#!qJV2TCgQ!trCuhEodouMdRfY7GzeUTWxfhj1Z5wrCeN9_2StoPnA

My ROM (SlimROM):

http://www.mediafire.com/file/wd4w9bqgaizjes8/SlimROM_k1_s805.zip

XDA:DevDB Information

Ultimate guide for K1 DVB-S2 S805 1G/8G /SlimROM, ROM for the Android Stick & Console Computers

Contributors

akabawy

ROM OS Version: 4.4.x KitKat

Version Information

Status: Testing

Created 2016-09-28

Last Updated 2016-09-27