No announcement yet.

[TUTORIAL] The Ultimate Android TV Experience in R-Box Pro/H96 Pro

  • Filter
  • Time
  • Show
Clear All
new posts

  • [TUTORIAL] The Ultimate Android TV Experience in R-Box Pro/H96 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


    - Model: R-Box Pro / H96 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 4Kx2K@60fps
    - 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.

    You can buy it from:

    If you have the R-BOX PRO 3gb/16gb q6330, you can skip all this and flash the ROM at the bottom of this post


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

    For this mod I used an R-Box Pro 3gb android TV Box, the H96 Pro is the same TV box but with a different name, this should work for any other Android TV Box with an Amlogic s912 or s905 chip and android 5.1.1 or 6.0.1. I haven't tried in any other type of device.

    I also managed to modify an Android TV stick with an Amlogic s905 processor, it cost around $30 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..

    Required Files

    Install these apps from Play Store:

    ES File Explorer Manager
    System App Safe remover
    Hide Status Bar (Full Screen)

    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
    Google Play Services Leanback
    Google Play Store Leanback

    STEP 2:
    Installing Leanback support

    In order for you TV box to be recognised as an real Android TV 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.

    We need 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, then to your computer and make the following changes:

    Look for the lines:
    #Line 21
    #Line 33
    #Line 38
    Where XXXX means your device default values.

    And change it to:

    For faking a Razer Forge:
    #Line 33
    #Line 38
    For faking a Sony Android TV 4K
    #Line 21
    ro.product.model=BRAVIA 4K 2015
    #Line 33
    #Line 38
    NOTE: you can fake any brand and device as long it’s a certified Android TV and has an ARM based processor.

    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) the image shows how to apply the permissions using ES explorer.


    - 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 we will need them later. 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. Do the same for the app NoTouchAuthDelegate, but instead copy it inside the system/app/ directory, this app enables the Leanback login screen in google services.

    Seventh: 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.

    Eighth: 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.

    Last Step: 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.


    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)
    • (not needed for android tv)
    • com.adndroid.wallpapercropper (only used by the the stock launcher to select wallpaper)
    • OpenWnn (japanese input method)
    • Any other bloatware included in your room.
    • Google Search App for TV: does not work anymore since the last R-Box Pro firmware update, you can still use the Google Search standard app
    • No Android TV Netflix: Sorry the app is not listed on 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=S905” 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

    PopCorn Time TV (who needs Netflix if you have this?)
    Play Music (the last version to work)
    Aptoide TV (Alternative Apps Market)
    Leanback Keyboard(Install by copying it in the system/priv-app/ folder and fixing permission, see step Sixth)

    Netflix app patched to work with non certified devices:
    Netflix 3.2.2

    Netflix 3.1.1
    Netflix 2.5.0

    TO DO:
    • Patch the systemUI.apk and framework to hide the status bar instead of using external apps (I could use a little help from some experienced programer).
    • Or even better, find a systemUI.apk and framework from a real Android 6.0.1 TV rom and port it.
    • Create a flashable .zip (sorry I have never done that, I could also get a little help).
    • You can report your bugs here.
    • Have fun with your new full featured android TV device


    R-BOX PRO 3gb/16gb q6330 (that's the name of the mother board, you should check out the compatibility with cpu-z or any other utility before flashing)

    DOWNLOAD LINK:!Ssw1QQbI!nWQFn7Mf8...qi7aOUq5rIS7ro


    -Everything, except Netflix and Pluto TV (Live channels work)
    -Google leanback Apps included, except Google Cast (it just doesn't work on this box)


    Just flash it like you would with any other rom using the Amlogic USB Burning Tool and an USB male to male cable.


    You need a mouse to choose the language in the welcome screen, for some reason it does not work with the OK remote button or the Enter in the keyboard.

    Happy Modding
    Last edited by alienpearl; 12-29-2016, 13:09.

  • #2
    Anyone try this yet?
    Many devices now mk902ii/Shield/Mk68 /Ugoos/neox5/minix5 (yes they still work lol) mk80 no it doesnt work lol.


    • #3
      I have not tried it yet. I did load Ugoos' ATV for the Ugoos AM1 on my S95, but have not had a chance to dive deep yet.

      Nice post alienpearl.
      Khadas VIM(S905X), Beelink R68 II(S912), GOLE1(Intel Z8300), NEXBOX T10(Intel Z8300), Ugoos UT3(RK3288) and UT3+(RK3288), R-Box(RK3229-2GB/8GB), Tronsmart S95 Meta(AMLS905), Inphic i7(S905), UBOX(AMLS805), Q7(RK3188T)


      • #4
        Working, my tv box is R3368 tronsmart R68 Meta , Rom Version, wasser (android m). I buy web cam (playstation one for $5) use only the microphone.


        • #5
          Very cool have to givev it a go
          Many devices now mk902ii/Shield/Mk68 /Ugoos/neox5/minix5 (yes they still work lol) mk80 no it doesnt work lol.


          • #6
            No used leanback.apk in this tutorial, change. Version December 2015, when google update, new version install. (apkmirror, you found).


            • #7
              Wow very good job! Is Netflix on HD or SD capable?


              • #8
                Anyone knows how to fake a Xiaomi TV?


                • #9
                  The conversion is easy, follow this tutorial and replace files that are:


                  (app)- Backdrop,BasicDreams,FrameworkPackageStubs,NoTouch AuthDelegate,SecondScreenSetup,SecondScreenSetupAu thBridge,WebViewGoogle

                  (etc),tv_core_.feature,t v_core_hardware

                  (priv-app)AndroidMediaShell,Katniss,LeanbackLauncher,Xia omiLeanbackCustomizer

                  The double screen is included, it works very well. My experience, do not use google play services leanback, let you have installed. If you get problems replace. You can download the firmware, this link ( use gogle traslate- Ruso-Inglish)

                  My box is R3368(Tronsmart ), i am used wasser rom, remember open build pro, you found xiomi information and change. Used this tutorial all time

                  Good Luck


                  • #10
                    Android M Wasser has problems with wifi and image quality. I could convert android tv, but the poor performance made me give up the idea of ​​using this firmware. Use the application that was Hulu, and poor quality, decided to change the version of android.
                    My other big project was, android tv android 5.1.1. I had to get the firmware xiomi, "MiBox" USA version. Following the tutorial, I decided to use Razer Force settings using firmware xiomi.

                    Use wasser 5.1.1 firmware, this firmware is compatible with my tv box (Tronsmart R3368, Meta). image quality and how well prepared this this firmware is much better than Android M. Wasser No I like to use software to have a full screen display.
                    Ugoos firmware 1.1.3, I went to system (privapp) and change the System UI. I can have the full screen. This was beginner's luck, because I try and not work above me. But I remembered that wasser firmware was handsome to Ugoos. I have complete, hulu and vevo screen, run with superior quality. Use the setting of ugoos tv and also was supported. I could add the icon in the launcher setting and wifi.

                    The problem I have is stuttering in video applications, youtube and vevo. I think changing the Kernel and resource.

                    The best application to decompress system.img (android m and Lollipop) is ( )


                    • #11
                      verify that you have changed all permissions, when you move a folder or file. Remember that folders also have permission. My recommendation is to create a folder with everything you need, including a copy of buid and move that folder to complete, work much more organized. To change permissions I esfile explorer use.


                      • #12
                        Hello guys, I don't check freak tab to much, but I am glad that you found tutorial is useful


                        • #13
                          I found a way to enter all applications
                          in system (app) without having to give permissions.
                          Find a zip folder ( you can open it with winrar, and add to the complications rar all you want to ride. You will have to have installed TWRP, and you can run it and install apk with permissions.

                          The road is much easier.



                          • #14
                            Android Tv Firmware

                            Nvidia- Developer&tx=$additional,shield

                            MIBoxTV(Xiomi) -


                            • #15
                              Hi I tried installing this on KII Pro Android box but I kept on getting "App not installed" message for PlayStoreLeanBack.apk. What's the deal? It is mentioned that it works on any box (is it any box or Android TV certified? How is this Android certified box?) but it seems not to be the case, I have carefully followed instructions. In addition there is also a ro.board line in the build.prop file shouldn't that be also changed?

                              Last edited by korgix300; 11-08-2016, 16:15.