Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

[ROM] Beelink GS-King X & GT-King Pro ALVATECH Standard Android (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 Standard Android (9.0 Pie)

    This is a nice clean ROM with some tweaks, GUI cleanup, Mods and some changes made from Beelink's stock ROM.
    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 on Beelink's original firmware.
    • Removed unneeded apps that Beelink had installed.
    • Removed and cleaned up files and scripts that are no longer needed.
    • Nicer mouse cursor for easy viewing.
    • Top status bar is working.
    • Double click home button brings up Recent Apps in Grid View.
    • Long Press on the home button brings up Google Assistant.
    • Long Press microphone button on remote and keep holding down while talking into the mic for Google Assistant.
    • Two Launchers: Square Home 3, Android One Launcher.
    • Added TV Settings in the app drawer.
    • Added Extra options in TV Settings.
    • Additional Apps: X-Plore File Manager, Smart YouTube TV, Netflix, Kodi, & Power Menu
    • Added additional *kl files to support more devices.
    • Added 4K support for different YouTube versions.
    • Updated Generic.kl to use the "Enter" Key.
    • Fixed a permission grant issue.
    • Added Google Clock (can be used as a screen saver too).
    • Added Backdrop from Android TV for screen saver. You can change when to initiate it in TV Settings.
    • Updated Google Apps (GApps)
    • TWRP Recovery
    • Added Multi Webview options under Developer options / WebView Implementation.
    • Setup Wizard so users can choose language and other options during first time initialization.
    • Added Android TV remote control.
    • Fixed some framework issues.
    • HDMI CEC Language turned off by default.
    • Alvatech Boot Logo and Boot Animation
    • New Wallpaper
    • Other system tweaks and changes, I'll update more info as I remember.
    Changes 11/21/19:
    • Used latest version of Beelink's ROM's as a base to build these.
    • 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/16/20:
    • Used latest version of Beelink's ROM's as a base to build these.
    • Made 2 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 11/30/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 or Screensaver issues? (if so, please see 2nd post Tip #4, Tip #5).
    • 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 the 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 some google dependencies might 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

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

    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 the right hand side of 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 the needed link down below to download the tool needed.
    USB Burning Tool Method: Amlogic's USB Burning Tool
    SD Card Method: 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:14.

    #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
        Is this valid for the non pro
        thanks

        Comment


          #5
          Originally posted by shehatasat View Post
          Is this valid for the non pro
          thanks
          Sorry for the late reply but this ROM is for the GT-King Pro only. I have made another ROM for the standard GT-King over here.
          Thank you,

          Alvatech

          Comment


            #6
            Is the problem solved for gamepads?

            Comment


              #7
              Originally posted by alberth0 View Post
              Is the problem solved for gamepads?
              I haven't added any extra drivers for any game pads. So if it didn't work with the original ROM then more than likely it still won't work. If you provide a good known working driver I can try to integrate it. If you're insterested you can PM me for some additional information.
              Thank you,

              Alvatech
              Last edited by ALVATECH; 05-18-2023, 16:02.

              Comment


                #8
                Hello everyone,
                I have now made an ATV version for this box. If you're interested please see link down below.
                Thank you,

                Alvatech


                ATV ROM for GT-King Pro:
                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 (https://forum.freaktab.com/forum/tv-player-support/amlogic-based-tv-players/s922x/others-s922x/firmware-roms-tools-dq/787817

                Comment


                  #9
                  Hello everyone,
                  I have now updated the GT-King & GT-King Pro ROM's. There was an issue with the mic not working in certain areas throughout the Android OS. I also went ahead and updated some Gapps & other applications on the ROM while I was at it. Also for those who had the GT-King Pro and your box wasn't shutting off, it should now shutdown properly. There is now another variant of the GT-King Pro so I made a separate ROM for that one too. I want to thank clarkss12 & dutch_ for helping out with some testing of the new ROM's.
                  Thank you again,

                  Alvatech
                  Last edited by ALVATECH; 05-18-2023, 16:02.

                  Comment


                    #10
                    THANKS FOR THE NEW ROM FOR VER2.0

                    Comment


                      #11
                      Originally posted by hfutfeng View Post
                      THANKS FOR THE NEW ROM FOR VER2.0
                      Your're welcome, hope you enjoy it.
                      Thank you,

                      Alvatech

                      Comment


                        #12
                        maybe there is a mistake,c922x version is atv,not standard android

                        Comment


                          #13
                          Thanks for updata ROM ,but C92X 2.0 link is ATV ROM ,please check ,thanks

                          Comment


                            #14
                            Originally posted by changwp View Post
                            Thanks for updata ROM ,but C92X 2.0 link is ATV ROM ,please check ,thanks
                            Originally posted by hfutfeng View Post
                            maybe there is a mistake,c922x version is atv,not standard android
                            Hello,
                            Sorry about that, I added the wrong link but I've updated it and it should be good to go now.
                            Thank you,

                            Alvatech

                            Comment


                              #15
                              thank you,is this rom 32bit or 64 bit? does first start login need GOOGLE ACCOUNT and google enviroment ? china youknow
                              Last edited by hfutfeng; 11-26-2019, 01:11.

                              Comment

                              Working...
                              X