====== Android TV from Android stock ROM ======
This guide is made for the GMMZ Stream V3.1 android box running Android 7. This is a work in progress, and I have not yet successfully created a fully functional Android TV box with Android TV OS.
- Replace the product identifier in /system/build.pro.
* Tx6 build.pro:ro.product.model=GMM Z STREAM V.3
ro.product.brand=MXQ
ro.product.name=g9x
ro.product.device=g9x
* Xiaomi Mi Box S build.pro:ro.product.model=MIBOX4
ro.product.brand=Xiaomi
ro.product.name=oneday
ro.product.device=oneday
* Copy //tv_core_hardware.xml// and //tv_features.xml// to ///system/etc/permissions//
===== Conversion from Stock Android to Android TV =====
- Install //SSHelper// from Play Store
- Install //ES File Explorer// from Play Store
- Install //System App Remover (root needed)// from Play Store
- Install //Show Full Screen// from Play Store
- Install //Fulscrn Free// from Play Store
- Remount / (root) or /system to rw file system:# mount -o rw,remount /system
- Backup com.android.vending and com.google.android.gms from /data/app
- cp build.prop
- cp tv*.xml
- Uninstall //Google Play services// Updates
* Go to //Manage Device Administrators// when trying to uninstall, and click //Deactivate this device administrator// for each listed device
* Then uninstall updates
- Uninstall //Google Play store// Updates
==== Uninstall Google Play Services from Android TV ====
Check first whether you need the following steps.
* Start //System App Remover//
* Find Google Play Services in User Apps
* Uninstall
==== Links ====
* [[http://valecast.com/2016/09/10/how-to-get-the-ultimate-android-tv-experience-on-android-chinese-tv-box-r-box-pro-3g/|Conversion from Stock Android to Android TV]]
* [[https://www.getdroidtips.com/stock-firmware-tanix-tx6-tv-box/|How to Install Stock Firmware on Tanix TX6 TV Box [Android 9.0 Pie]]]
* [[https://developer.android.com/studio/command-line/adb|Android Debug Bridge (adb)]]
* [[https://www.youtube.com/watch?v=xYh4R8169kU|Smart TV How to Uninstall Google Play Services - 2018]]
* [[https://forum.freaktab.com/forum/tv-player-support/amlogic-based-tv-players/771029-amlogic-proprietary-code-to-be-removed-from-kodi-libreelec|Amlogic proprietary code to be removed from Kodi/LibreELEC]]
* [[https://forum.xda-developers.com/android-stick--console-computers/help/force-plex-android-tv-mode-t3324772|Force Plex into Android TV mode]]
* [[https://www.youtube.com/watch?v=99LUjX63LhU|How to build your own custom Android ROM]]
* [[https://stackoverflow.com/questions/6066030/read-only-file-system-on-android|Read only file system on Android]]
* [[https://play.google.com/store/apps/details?id=com.google.android.leanbacklauncher&hl=en|Android TV Launcher]]
* [[https://androidpctv.com/tanix-tx6-firmware-rom/|FIRMWARE: TANIX TX6 with Allwinner H6 and Android 9 (03-23-2019)]]
* [[https://androidpctv.com/firmware-tanix-tx6-06152019/|FIRMWARE: TANIX TX6 with Allwinner H6 and Android 9 (06-15-2019)]]
* [[https://www.youtube.com/watch?v=t0mq2Pt6VcQ|Tanix TX3 USB Firmware Recovery TX3 How To Fix]]
* [[https://www.reddit.com/r/MiBox/comments/9tpay9/xiaomi_mibox_s_mdz22ab_buildprop_file_for/|Xiaomi MiBox S MDZ22AB Build.prop file for inspection]]
* [[https://www.atvxperience.com/#home|atvXperience]]
* [[https://androidpctv.com/firmware-transpeed-6k/|FIRMWARE: Transpeed 6K with Allwinner H6 SoC (09-30-2019)]]
* [[https://androidpctv.com/firmware-pendoo-x6-pro/|FIRMWARE: Pendoo X6 Pro with Allwinner H6 SoC (08-19-2019)]]
* [[https://forum.freaktab.com/forum/development-area/app-developers-kitchen/597512-android-tv-app-mods-leanback-and-fireos-remote-friendly-apps-modified-to-work-on-regular-android|"Android TV" App Mods *Leanback and FireOS Remote friendly apps modified to work on regular android*]]
* [[https://developer.android.com/training/tv/start/start|Get started with TV apps]]
* http://valecast.com/2016/09/10/how-to-get-the-ultimate-android-tv-experience-on-android-chinese-tv-box-r-box-pro-3g/
* [[https://www.youtube.com/watch?v=ajhf22DxzjM|Best Mi Box S Apps Every User Should Know]]