Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

[ROM] Beelink GS-King X & GT-King Pro ALVATECH Android TV - ATV (9.0 Pie)

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

    [ROM] Beelink GS-King X & GT-King Pro ALVATECH Android TV - ATV (9.0 Pie)

    This is a nice clean ROM with some tweaks, GUI cleanup, Mods and some changes made from Beelink's stock ROM.
    This ROM was converted into Android TV. If you're looking for a Standard Android ROM look here.
    Two different ROMs one for the GT-King Pro (SN:922H) and another ROM for GS-King X / GT-King Pro boxes (SN: C92H, SA9H, SB9H, 6B9H).

    Please read the entire first post before asking questions. Thank you.

    Changes/Mods & Tweaks Alvatech ROM:
    • This ROM is based off of Beelink's Firmware.
    • Removed unneeded apps that Beelink had installed.
    • Cleaned up Beelink's scripts that I don't use in this ROM.
    • Added Extra options in TV Settings (side settings).
    • Fixed TV Settings issues to work like it's supposed to in Android TV.
    • Added Multi Webview options under Developer options / WebView Implementation.
    • Fixed some framework issues.
    • Nicer mouse cursor for easy viewing.
    • Top status bar is hidden but working if needed.
    • The navigation bar is hidden but you can pull up if needed.
    • Double click home button brings up Recent Apps in Grid View.
    • Long Press on the home button brings up Google Assistant.
    • Added TV Settings in the App Drawer.
    • Additional Apps: X-Plore File Manager, Smart YouTube TV, Netflix, Kodi, & Power Menu (With Recovery Boot Option)
    • Added additional *kl files to support more devices.
    • Removed and cleaned up files that are no longer needed.
    • Added 4K support for different YouTube versions.
    • Android TV remote control works with voice too.
    • Fixed a permission grant issue
    • Change screen saver options in TV Settings / Device Preferences
    • Updated Gapps
    • HDMI CEC Language turned off by default.
    • Alvatech Boot Logo and Boot Animation
    • TWRP Recovery
    • IPTV Fix
    • Miracast for Android Phones
    • System Optimizations
    • Other system tweaks and changes, I'll update more info as I remember.
    Changes 11/21/19:
    • Used the latest version of Beelink's ROM as a base to build this.
    • Made 2 different ROM's for the different serial numbers.
    • All changes from above still apply.
    • Fixed an issue with voice typing throughout Android OS.
    • Box now shuts down properly.
    • Updated Apps: Kodi 18.5, X-Plore File Manger, & Smart YouTube TV
    • Updated Gapps & Permissions.
    • Other small changes.
    Changes 01/17/20:
    • Used latest version of Beelink's ROM's as a base to build these.
    • Made 3 different ROM's for the different serial numbers.
    • All changes from above still apply unless specified.
    • Long Press power button on remote for System Switch option.
    • Fixed voice support for other remotes too. Example G30S remote.
    • Removed Chromecast banner from backdrop screensaver.
    • Removed Long Press Google Assistant. If needed use win key on a keyboard.
    • Updated Apps: Kodi, X-Plore File Manger, & Smart YouTube TV
    • Updated GApps & Permissions.
    • Other small changes.
    Changes 12/11/20:
    • Used the latest version of Beelink's ROM as a base to build this.
    • 1 ROM for all the different serial numbers.
    • All changes from above still apply unless specified.
    • Updated Apps: Kodi, Square Home3, X-Plore File Manger, & Smart YouTube TV
    • Smart Youtube issues? (if so, please see 2nd post Tip #4).
    • Updated GApps & Permissions.
    • New Alvatech boot logo
    • New wallpaper
    • Other changes, will update as I remember.


    Donation:
    A token of appreciation is always welcomed. Thank you!
    Donation Link Here

    Notes:
    Please read the "Extra Tips Section" on the 2nd post for additional help.
    When box boots for the first time only, installation is still going on in the background please be patient for it to load completely.
    When you connect the box to the internet for the first time google dependencies will need to be updated, please allow for these updates to finish.

    Download ROM for GT King Pro SN:922H:
    GT_KING_PRO_922H_AT_V6.0_ATV

    Download ROM for GS King X / GT King Pro (SN: C92H, SA9H, SB9H, 6B9H):
    GT_KING_PRO_X_AT_V6.0_ATV

    Installation Instructions:
    Recommend Using Latest Amlogic's USB Burning Tool 2.1.7.0 or later.

    First, open the USB Burning Tool, then in the top left corner click File / Import image and click on the downloaded ROM image file. When you finish loading the ROM press the Start button on the right-hand side of the USB Burning Tool. Next plug in one end of the USB cable to your PC. USB 3.0 ports on a PC seem to work better than the USB 2.0 ports, but USB 2.0 ports work too. Next plug in the power cable to your box first, then you need to immediately plug in the other end of the USB cable into the USB port labeled OTG on your box. Do not use any other USB ports as they will not work. Be persistent until you succeed if at first you fail.

    Very Important! when you flash your box either by USB or SD-Card NEVER use the option Force Erase All only use the Normal Erase option or you will lose DRM Widevine L1.

    Click needed link down below to download tool needed.
    USB Burning Tool Method: Amlogic's USB Burning Tool
    SD Card Method and Instructions: Amlogic's Burn Card Maker

    1ST BOOT TAKES ABOUT 5-6 MINUTES, SO PLEASE BE PATIENT.
    THIS DELETES ALL YOUR DATA SO DO A BACKUP IF NEEDED! USE THIS AT YOUR OWN RISK!


    This is to share my work with everyone and to try to make these TV boxes more enjoyable.
    I will try my best to answer or help with any questions and or concerns as soon as I can.
    If something doesn't function properly please let me know with as much detail as possible and I will try to fix it.
    When posting for help please stay on subject, If it doesn't pertain to this ROM please search other threads for help or start a new thread.
    I HOPE YOU ENJOY IT AS MUCH AS I DO!!

    Thank you Beelink for the sample hardware.



    Last edited by ALVATECH; 02-07-2021, 23:15.

    #2
    Extra Tips Section...
    Please read all the information down below and maybe even re-read it one more time before asking questions. I'm not responsible for any issues you may have with your device. Do this it's at your own risk.


    Important Update: At any point in time, I may remove and/or modify any of this information. I may take down some of this info if I can no longer maintain this post, if I get overwhelming requests, or if I get a lot of users who are not able to follow instructions and understand how some of these things work. I may also move this information to a whole new separate thread if needed for other users to help as needed.

    Remember this!!
    I do this for fun. I try to help when I can. I do this on my own time. I don't have a team helping me. I will respond when I can. I have a life too.

    Tip (1.)
    MAGISK INSTALL & HOW TO PASS SAFETYNET.

    This is to hide ROOT on your box & pass Safetynet and still keep it rooted. You can also install other modules.This Magisk Patch will remove some files and also install Terminal Emulator to help in case you need to reboot with Magisk enabled or to reboot into TWRP from an SD-Card.
    DO THIS AT YOUR OWN RISK!

    Before proceeding please understand and be aware that you would always need to have this box reboot recovery in order for Magisk to work properly. If you boot up box and didn't boot with recovery you can use the Terminal Emulator app to reboot recovery to have Magisk enabled. When you reboot into recovery, your box will not go into any program or recovery console, it will simply just go straight into the Android OS but with Magisk enabled / working. Extra notes available down below starting in Section (B.), about different commands and how to make shortcuts for easy access for different types of reboots.

    Section (A.)
    • 1st Download the latest version of Magisk Manager and install it first before proceeding with further instructions.
    • Next download the Magisk Recovery Patch for your specific box, and put this somewhere you know, like an SD Card.
    • Reboot into Recovery (TWRP) by using the Power Menu App or holding in the reset button on your box while powering it up.
    • Now install Magisk Patch zip file you downloaded through TWRP, If you receive an error such as: mount: failed to mount then just go back and re-run the patch one more time without restarting your box (stay in TWRP and retry) it will work successfully the 2nd time but do not reboot yet.
    • In TWRP now go back to main menu and click on Reboot then choose Recovery. This will make your box reboot with Magisk active.
    • Now in OS go into Magisk Manager, there might be some updates that are needed. Allow those updates to install and reboot if it's required.
    • Open Magisk and see if there are any updates available for Magisk or Magisk Manager if so update as needed.
    • If you need to update Magisk recovery click on the Update button, then you'll see a check box on Recovery Mode, keep that box checked.
    • Then click on the NEXT button and select Direct Install (Recommended) and then click the LET'S GO button to flash/install new Recovery.
    • Now open Magisk Manager again and then go to the download plugin section from the bottom middle menu bar (looks like a puzzle icon).
    • Next search for MagiskHide Props Config and download and install this module. It will require a reboot after you install it, please reboot.
    • After a reboot, go back into the plugin section and check to see if it got installed, if so go to the next step.
    • How to configure MagiskHide Props Config module (this is my preference):

      A1.) open terminal emulator app and grant root permissions if needed (only type what's in bold lettering in the terminal emulator app).
      A2.) 1st command type: props
      A3.) next you will be prompted to enter your desired options throughout this procedure. Here you will type: 1 - Edit device fingerprint
      A4.) next you will type: f - Pick a certified fingerprint.
      A5.) next type 30 - Xiaomi
      A6.) next type 28 - Xiaomi Mi Box S (9)
      A7.) next make sure what you selected is correct before continuing. Then type: y
      A8.) you want to reboot now(y/n)? type: y
    • Go back into Magisk Manager one more time (make sure you rebooted with recovery) you should now be able to pass the SafetyNet check.
    Notes:
    I have tried this on my ROM only, not any other ROM's so please only ask for help if you installed this on this ROM only.
    Other users or myself can maybe try to assist on any problems you may have. If you need additional help please visit Magisk help here.
    I do not make nor do I support Magisk, so please ask on the XDA forum where Magisk is located if you have issues with the program.

    If you can't update certain apps from the play store after you installed Magisk, you may need to clear cache from the google play store app in order to make it work again. To clear cache you need to go to Settings / Apps / Google Play Store / Storage then press CLEAR CACHE button. Now your apps should update.

    Section (B.)
    MAGISK - TERMINAL EMULATOR COMMANDS & EASY ACCESS SHORTCUTS.


    If you want to start your box with Magisk enabled you must restart your box with recovery. The command is listed down below. This will just enable Magisk but will not go into any program or recovery console. This will restart your box enabling Magisk and will go straight into the Android OS. Once you're in the Android OS with Magisk active you can now use the Power Menu app instead to restart your box into recovery mode every time. But every time you start your box for the first time you must restart with recovery active using Terminal Emulator for Magisk to work. If you put your box to sleep instead of shutting off, you should be able to wake up your box without restarting recovery every time. Not all ROM's / boxes have the sleep option easily available so this can vary.
    • Open Terminal Emulator app and type: reboot recovery
      (This will reboot your box with Magisk enabled.)

    EASY ACCESS SHORTCUT TO HOME (Magisk Reboot):
    Depending on which launcher you're using, will determine how to make a shortcut / button. It's actually using Terminal Emulator's widget shortcut.
    Remember In Android TV launcher you can't add shortcuts / widgets. You'll just need to go and open the Terminal Emulator and run commands instead.

    Square Home Launcher:
    • Open menu then click on shortcut then go down and look for Term shortcut.
    • Now go to the Arguments section and type: reboot recovery
    • Next go to Shortcut label section and type: Magisk Reboot
    • Now you should have a shortcut (button) on home screen labeled "Magisk Reboot" with Terminal Emulator's Icon.
    • If you want to pretty up the shortcut you can long press the shortcut and then press the cog wheel that shows up in the bottom left corner.
    • Then click Icon / Icon pack then Square Home on left side menu. Click back button to see full screen and choose Icon to your liking.
      I like to use the green circle with a checkbox icon.
    Android One Launcher:
    • Long press on home screen in a blank area then choose WIDGETS scroll down until you see Terminal Emulator (Term shortcut)
    • Then click and hold shortcut and drag to home screen where you would like it placed.
    • Shortcut opens up and now go to the Arguments section and type: reboot recovery
    • Next go to Shortcut label section and type: Magisk Reboot
    • Now you should have a shortcut (button) on home screen labeled "Magisk Reboot" with Terminal Emulator's Icon.
    Section (C.)
    If you want to use TWRP you'll need to boot into an SD-Card that's formatted with FAT32 and copy the recovery.img file for your box and put it on the root of an SD-Card. Since TWRP doesn't get used very often, I feel it's best to boot into TWRP from an SD-Card as needed only. The following steps are listed down below.
    • Download image for your specific box here, make sure you keep the name recovery.img for that file (do not rename it). Next put it on the root of the SD-Card and save it for when you need to use TWRP. When needed put it into the SD-card slot of your box and then follow the next step.
    • Command to run in the Terminal Emulator app to reboot into TWRP is: reboot update
      (This will reboot your box into TWRP from the SD-Card. Make sure you have the SD-Card in your box first when you type in this command.)

    EASY ACCESS SHORTCUT TO HOME (TWRP):

    Square Home Launcher:
    • You open menu then click on shortcut then go down and look for Term shortcut.
    • Now go to Arguments section and type: reboot update
    • Next go to Shortcut label section and type: TWRP
    • Now you should have a shortcut (button) on home screen labeled "TWRP" with Terminal Emulator's Icon.
    • If you want to pretty up the shortcut (button) you can long press shortcut and then press the cog wheel that shows up in the bottom left corner.
    • Then click Icon / Icon pack then Square Home on left side menu. Click back button to see full screen and choose Icon to your liking.
      I like to use the blue circle with arrow pointing left to right icon.
    Android One Launcher:
    • Long press on home screen in a blank area then choose WIDGETS scroll down until you see Terminal Emulator (Term shortcut)
    • Then click and hold shortcut and drag to home screen where you would like it placed.
    • Shortcut opens up and now go to the Arguments section and type: reboot recovery
    • Next go to Shortcut label section and type: Magisk Reboot
    • Now you should have a shortcut (button) on home screen labeled "Magisk Reboot" with Terminal Emulator's Icon.
    Section (D.)
    Disney+ issues:
    I've noticed on some of these boxes, videos won't play without having to first click the download button and then stopping download for it to play a video.
    A way to fix that would be doing the following down below in Magisk. Another way is using Google Chrome, but before loading the web page, click the menu from top right hand side (3 dots) and click check box "Desktop site" to view in Google Chrome.
    • Open Magisk Manager and then go to the downloads section from the top left menu, and in the top right corner in the search bar type liboemcrypto disabler then download and install that module. It will require a reboot after you install the module, so please do so and reboot.
    • Now you should be able to play videos without having to first click download button and stopping it to play a video.
    • Remember this isn't the case with all boxes and I don't make the Disney+ app. This is just things I have encountered and found a solution to.

    Tip (2.)
    INSTALL SUPERSU / ROOT MANAGER
    DO THIS AT YOUR OWN RISK!
    • Download the patch here.Then put this patch somewhere you know, like an SD Card.
    • Reboot into Recovery (TWRP) by using the Power Menu App or holding in the reset button on the box while powering it up.
    • Next install the patch. If you receive an error such as: mount: failed to mount then just go back and re-run the patch one more time without restarting your box it will work successfully the 2nd time.
    • Once you've installed the patch, reboot your box and enjoy!
    Remember I do not make nor do I support this app.

    Tip (3.)
    AFRd - AUTO FRAME RATE DAEMON.
    AFRd, changes the video frame rate automatically for you on your Android device. This only works with the Amlogic devices (Amlogic S9xx). Your box must be rooted for this app to work. I have added some links down below for those who would like to add this to their Android boxes.
    I do not make nor do I support AFRd, so please, either create a new thread or look for an existing thread and ask for help there if needed.
    • Link 1 located here on Freaktab
    • Link 2 located at original source.
    • Link 3 located at Github.
    Tip (4.)
    SMART YOUTUBE APP.

    Looks like Smart Youtube TV app had done some changes to their app, now you have to choose a different default launcher to make things work.
    If you're having issues with the Smart Youtube app, please try the following steps down below:
    • 1st close/exit the Smart Youtube app completely.
    • 2nd re-open the app, as soon as you re-open the app press the back button immediately, and then you will be prompted with some default launcher options.
    • 3rd choose the Pro Youtube launcher as your default player (this one usually works best for me). You will only have to do this once, as the app will remember your choice.
    Tip (5.)
    SCREENSAVER NOT ACTIVATING.
    if you're having issues with the screensaver not activating, please try the following steps down below:
    • First check screensaver settings in TV Settings>>Device Preferences>>Screen saver and check the following options:
      Screen saver: Backdrop | When to start: After 5 minutes of inactivity (or your preference)
    • Next go into Settings>>Display and toggle off the Status bar status.
    • Once the screensaver activates and starts working you may go back into Settings>>Display and toggle on the Status bar status if you prefer to show your status bar. You only have to do this once, after this your screensaver will work like it normally would even with the toggle turned back on.
    Last edited by ALVATECH; 12-12-2020, 02:46.

    Comment


      #3
      # Saved

      Comment


        #4
        It is my understanding that there are two versions of the Pro. Which version of the box is this for??
        MK818B, T428, ATV 1220, CS918S, TV01, S89H, R89, ADT-1, MK808B Plus, MINIX X8-H Plus, Tronsmart Orion R68

        Comment


          #5
          Originally posted by clarkss12 View Post
          It is my understanding that there are two versions of the Pro. Which version of the box is this for??
          Hello,
          Not sure if they've released the next version yet or not. But this one is based off of the only one they have posted on their forum currently, which should be the first wave of boxes. My box starts with SN:922H. If they release another box with different hardware I'm hoping they will change the serial number like they have on some of their other boxes when there's some hardware changes. If not at least a way to determine what type of box you have.
          Thank you,

          Alvatech

          Comment


            #6
            Originally posted by ALVATECH View Post

            Hello,
            Not sure if they've released the next version yet or not. But this one is based off of the only one they have posted on their forum currently, which should be the first wave of boxes. My box starts with SN:922H. If they release another box with different hardware I'm hoping they will change the serial number like they have on some of their other boxes when there's some hardware changes. If not at least a way to determine what type of box you have.
            Thank you,

            Alvatech
            Thanks for the clarification, perhaps I was thinking of the first "King" and not the "Pro".

            I will test your mod now. At the present, I am running MinixFreak's mod, and it works extremely well.
            MK818B, T428, ATV 1220, CS918S, TV01, S89H, R89, ADT-1, MK808B Plus, MINIX X8-H Plus, Tronsmart Orion R68

            Comment


              #7
              Saw this statement on the CoreELEC forum. It appeas that there are two versions of the "Pro".

              KOPRajs

              I did the proper research before ordering the device and I’ve not seen the GT-King Pro with the rev. A specs anywhere. They are advertised exclusively with the rev. B specs. Actually it makes sense to make the Pro version with the higher clock considered the full aluminum case with the enhanced cooling system. This box with the rev. A CPU hardly ever go above 40 degrees so it seems somewhat under powered.

              I’ve sent a message to the dealer, let’s see what’s their attitude going to be.
              MK818B, T428, ATV 1220, CS918S, TV01, S89H, R89, ADT-1, MK808B Plus, MINIX X8-H Plus, Tronsmart Orion R68

              Comment


                #8
                I just got my king pro a few days ago , do you think this rom will fix my internet speed , on any other box I get over 950 download and 650 upload but this king pro I get barely 350 download and 250 upload ??

                Comment


                  #9
                  Hello Alvatec,
                  I just received my GT-King Pro.
                  It is to be used with IPTV and Netflix preferably in 4K.
                  Does the Android TV version make 4K viewing possible?
                  In generally, what is the difference why to choose ATV instead of normal Android?

                  Thanks in advance!
                  I really appreciate your work!
                  Hansiesan

                  Comment


                    #10
                    I installed your ROM and it looks good, but the VOICE does not work. Tested it with the stock remote and a G30s voice remote, but this ROM can't "hear" any input. When I depress the "mic" button, the little bars pop up, but it can't "hear" any input from the mic. I tried different ports on the box, but no success........ Going back to MiniFreak's ATV ROM.
                    MK818B, T428, ATV 1220, CS918S, TV01, S89H, R89, ADT-1, MK808B Plus, MINIX X8-H Plus, Tronsmart Orion R68

                    Comment


                    • ALVATECH
                      ALVATECH commented
                      Editing a comment
                      Thank you Clarkss12 for the info, I have fixed this immediately. It is now fixed in the latest update which is on the first post now.
                      Thanks again,

                      Alvatech

                    #11
                    Originally posted by clarkss12 View Post
                    I installed your ROM and it looks good, but the VOICE does not work. Tested it with the stock remote and a G30s voice remote, but this ROM can't "hear" any input. When I depress the "mic" button, the little bars pop up, but it can't "hear" any input from the mic. I tried different ports on the box, but no success........ Going back to MiniFreak's ATV ROM.

                    Hi clarkss12

                    Can you provide me the link of Android Tv Rom you installed on GT King?

                    Comment


                      #12
                      Originally posted by Ashwarya View Post


                      Hi clarkss12

                      Can you provide me the link of Android Tv Rom you installed on GT King?
                      It is right here on this page....... First post.
                      GT_KING_PRO_AT_V1.0A_ATV
                      MK818B, T428, ATV 1220, CS918S, TV01, S89H, R89, ADT-1, MK808B Plus, MINIX X8-H Plus, Tronsmart Orion R68

                      Comment


                        #13
                        Originally posted by clarkss12 View Post

                        It is right here on this page....... First post.
                        GT_KING_PRO_AT_V1.0A_ATV
                        Sorry for not being precise. I mean MiniFreaks version link.

                        Thanks

                        Comment


                          #14
                          Originally posted by Ashwarya View Post

                          Sorry for not being precise. I mean MiniFreaks version link.

                          Thanks
                          [ROM] POISON TV GT_KING & PRO V3.1 Changelog V3.1 -Nov 2 2019 Released -Based on Beelink 906P0 Firmware -AndroidTV Version -Stock Recovery -Optimized Systemui -Overclocked Gpu -Tweak System -Fixed Iptv reboot issue -Fixed Glitch in ui -added even more remote layouts:) -Fixed conflict of tweaks i had in previous versions
                          MK818B, T428, ATV 1220, CS918S, TV01, S89H, R89, ADT-1, MK808B Plus, MINIX X8-H Plus, Tronsmart Orion R68

                          Comment


                          • ALVATECH
                            ALVATECH commented
                            Editing a comment
                            Thank you Clarkss12 for the info, I have fixed this immediately. It is now fixed in the latest update which is on the first post now.
                            Thanks again,

                            Alvatech

                          #15
                          Hello everyone,
                          I've been extremely busy the last few days. Sorry for not chiming in earlier. My weekends are usually family time so I don't really do much with these boxes over the weekend. So first things first, I have tested the stock remote on my GT-King Pro box and haven't had any issues with the mic at all. I would like to see if there is any other users having any issues with the mic on their remote. When using the remote please hold down the mic button and speak into the remote when giving a command. Also you need to make sure that the remote's dongle is connected too in order for the mic on the remote to work. Please let me know if you have this problem. If you like you can PM ( Private Message) me to get a little more information from you, if you do have any issues with the mic on your remote. I should have some other people testing this tomorrow hopefully. If anything comes up I'll keep you guys posted.
                          Thank you,

                          Alvatech

                          Originally posted by Hansiesan View Post
                          Hello Alvatec,
                          I just received my GT-King Pro.
                          It is to be used with IPTV and Netflix preferably in 4K.
                          Does the Android TV version make 4K viewing possible?
                          In generally, what is the difference why to choose ATV instead of normal Android?

                          Thanks in advance!
                          I really appreciate your work!
                          Hansiesan
                          Hello,
                          this box is not Netflix certified so it will not play Netflix in 4K. Besides that you need to have a Netflix account in 4K in order to play Netflix in 4K. I hear you can use an addon in Kodi to get Netflix in HD. Android TV has a different feel / GUI interface than the Standard Android OS. Honestly this is usually personal user preference, and usually you either like Android TV or you hate it. Think of Standard Android as a mobile phone. Most of what you can do on an Android Phone you can do on Standard Android. You would need to test it out for yourself and see what better suits your needs. In both Standard Android and Android TV you should be able to play Netflix and use IPTV services.
                          Thank you,

                          Alvatech

                          Comment

                          Working...
                          X