Announcement

Collapse
No announcement yet.

[Tutorial] How to get the ultimate android TV experience on R-box Pro

Collapse
This topic is closed.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

    [Tutorial] How to get the ultimate android TV experience on R-box Pro

    This video is a demonstration of how a Chinese TV box that cost around $70 can run Android TV smoothly even when it's not Google certified.



    As you may know Android TV is basically Android with a custom Leanback launcher. In this demo I modified the build.prop of this device to make it appear as an Android TV device (Razer Forge) to google servers, that way it installs the google services and all the apps in leanback mode for Android TV.

    I also added "tv_core_hardware.xml" and "tv_features.xml" files to system/ect/permissions to avoid the "This version of the App Store is not compatible with your device" error, as well with other apps.

    This Chinese TV Box has higher specs than other google certified devices and it's sold for half of the price

    THE TV BOX:

    - Model: R-Box Pro
    - CPU: Amlogic S912 64 bit Octa core ARM Cortex-A53 up to 2 GHz
    - GPU: ARM Mali-T820MP3 GPU up to 750MHz (DVFS)
    - RAM: DDRIII 3GB, eMMC Flash 16GB
    - OS: Android 6.0 marshmallow
    - Support HDR10 and HLG HDR
    - Support to H.265 HEVC up to [email protected]
    - Max 4Kx2K @60 Resolution
    - Support 2.4GHZ/5.8GHZ AP6330 Wifi, 802.11a/b/g/n
    - Support 100/1000M Ethernet, Bluetooth 4.0
    - 4 USB ports supporting webcam and microphone for skype and google voice search.

    Buy from: https://www.aliexpress.com/wholesale...Text=r-box+pro
    you can also find it on geek buying, or gear best online stores.

    TUTORIAL:

    For this mod I used an R-Box Pro 3gb android TV Box, but is should work for any other Android TV Box with decent specs.
    I also managed to modify an Android TV stick with an Amlogic 905 processor, it cost around $30 in Aliexpress but the experience is not so smooth as with this device. It can run, but is not able to play high end games like the demo, it usually overheats and disconnect from the internet after one hour or so. For the best experience is always better to go with an Android TV box with decent specs.

    Disclaimer: As always I supply this tutorial just for fun and without any guarantees, I am not responsible if you break your device.

    Now we start

    STEP ONE:
    Required Files

    Install these apps from Play Store:

    ES File Explorer Manager https://play.google.com/store/apps/d...gs.android.pop
    System App Safe remover https://play.google.com/store/apps/d...ager.systemapp
    Hide Status Bar (Full Screen) https://play.google.com/store/apps/d...eamori.hidebar

    Download this files in your SD card or a place where you can access them later using a root file explorer on your Android TV box:

    Android TV Launcher: https://mega.nz/#!apxz3DAR
    Google Play Services Leanback: https://mega.nz/#!LoBR2TzA
    Google Play Store Leanback: https://mega.nz/#!Hh4lSYqZ
    tv_core_hardware.xml https://mega.nz/#!OpR1QTbC
    tv_features.xml https://mega.nz/#!n1JjBSpQ

    STEP 2:
    Installing Leanback support

    In order for you device to be recognised as an real Android TV device you need to make google think you have a Certified Android TV device, for that we are going to modify your build.prop file located at your system/ folder.

    For that we are going to use ES File explorer in Root mode, make sure to make a backup of your build.prop file before making any changes.

    - First: You need to copy your build.prop to your SD card and make the following changes:

    Look for the lines:
    Code:
    ro.product.model=XXXX
    ro.product.brand=XXXX
    ro.product.name=XXXX
    ro.product.device=XXXX
    Where XXXX means your device default values.

    And change it to:

    For faking a Razer Forge:
    Code:
    ro.product.model=Forge
    ro.product.brand=razer
    ro.product.name=pearlyn
    ro.product.device=pearlyn
    For faking a Sony Android TV HD
    Code:
    ro.product.model=BRAVIA 2015
    ro.product.brand=Sony
    ro.product.name=SVPDTV15_EU
    ro.product.device=SVP-DTV15
    For faking a Sony Android TV 4K (only use this if you attach your device to a 4K monitor)
    Code:
    ro.product.model=BRAVIA 2015
    ro.product.brand=Sony
    ro.product.name=SVP4KHDTV15_UC
    ro.product.device=SVP-4KHDTV15
    NOTE: you can fake any brand and device as long it’s a certified Android TV.

    After making the changes copy back the file to the system/ folder overwrite the old one and and correct the permissions to -rw-r-r (again remember to make a backup of your original build.prop file before overwriting)

    - Second: Now copy the files “tv_core_hardware.xml” and “tv_features.xml” that you downloaded before to the system/etc/permissions/ folder and apply the right permissions (-rw-r-r).


    STEP 3:
    Installing Leanback apps

    First: disconnect your device from internet to prevent automatic updates and Uninstall all the updates to google Play Services and Play Store.

    Second: Using the App Installer or ES File Explorer, install “Google Play Services Leanback" and “Google Play Store Leanback" you downloaded earlier (do not try to open it at this point because it will crash)

    Third: Go to Settings > More Settings > Home and make your default launcher the stock android launcher instead of “Launcher3” or “XBMC launcher”.

    Fourth: Open the “System App Safe remover” app and remove “Launcher3” or “XBMC launcher”, do not remove the “Launcher” or “Launcher2” apps this are the default stock launcher, and do not worry the app will make a backup of all your uninstalled apps.

    Fifth: Restart your device to make sure it boots to the Stock Android launcher

    Sixth: Open ES File Explorer, go to system/priv-app/ and make a new folder called “LeanbackLauncher”, copy inside that folder the Android TV Launcher you downloaded earlier and rename it to LeanbakLauncher.apk (note that the .apk name has to be the same as the folder name) correct the permissions (-rw-r-r) and restart.

    When you restart “Android TV Launcher” will be the default Launcher, from here you can activate your internet connection fire up the Play Store and download all the apps you want, they will be all in leanback mode.

    Depending on your room you may see that the Status bar will be always on top, even when you play videos, that's very annoying, for that you can use the Hide Status Bar app and check the options: Run un in root mode, hide the status bar and run at login that will hide the status bar without modifying any system files.

    You should also use the “System App Safe remover” app to uninstall the “Launcher2” now that you don't need it, but do not remove the “Launcher” app, that one is essential for the system to work.

    OPTIONAL:

    If you want to use the Search function of the Android TV Launcher I recommend you to buy an external USB microphone, that way the search function will not crash because of lack microphone, you can also install “Google App for Android TV” from the Play Store and it will give you a better experience.

    You can also remove all the bloatware apps from your TV box using the “System App Safe remover”, just be sure not to remove essential system apps, I made a list of safe apps to remove, some of them are in the system folder but you can remove them anyway:
    • DLNA (you can use KODI, Archos Video Player or PLEX if you want to stream from the network)
    • Movie Player (MX player will do better)
    • Music (Play Music or any other leanback music player will also do better, but the newest version of Play Music has a bug that freezes after you launch, to prevent this you can disable automatic updates in google play store or go with another music player I also recommend ALSong for Android TV )
    • Music FX (if you delete music, this is not necessary)
    • Live Wallpaper picker and any live wallpaper (in fact you can remove all the wallpapers since Android TV Launcher does not use them at all)
    • Filebrowser (there are others like ES File Explorer with a much more better interface)
    • com.android.smspush (not needed for android tv)
    • com.adndroid.wallpapercropper (only used by the the stock launcher to select wallpaper)
    • PPPoE (that’s something about ip calls, I don’t use it and I doubt most of you will)
    • OpenWnn (japanese input method)
    • Any other bloatware included in your room.

    CAVEATS:
    • No Android TV Netflix, Sorry is not available to download from the Play Store, you can install the patched version but is somehow unstable, the R-Box Pro has a line on the build.prop called “#netflix ro.nrdp.modelgroup=p205” I don’t know exactly what it is for, but apparently it blocks the Netflix TV patched app from connecting into the network, so if you want to try the patched app, you need to delete or comment that line. The android Standard Netflix works but you have to launch it from settings or using an app called sideload launcher.
    • Amazon prime: non tested
    • A lot of video apps are still non tested, you can try and post a comment below
    BONUS APPS:

    PopCorn Time TV (who needs Netflix if you have this?): https://mega.nz/#!ipwWXQZa
    Play Music (the last version to work): https://mega.nz/#!H4ZTiJSR
    Aptoide TV (Alternative Apps Market): https://mega.nz/#!LtAERIgC

    Netflix app patched to work with non certified devices:
    Netflix 3.1.1: https://mega.nz/#!yxYi2ZrK
    Netflix 2.5.0: https://mega.nz/#!WtoX3DaZ

    TO DO:
    • Patch the systemUI.apk and framework.apk to hide the status bar instead of using external apps
    • Even better find a systemUI and framework from a real Android 6.0.1 TV rom
    • You can report your bugs here
    • Have fun with your new full featured android TV device

    Happy Modding

Working...
X