Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Khadas Edge-V RK3399 Custom AndroidTV Pie Firmware by mo123

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Khadas Edge-V RK3399 Custom AndroidTV Pie Firmware by mo123

    Khadas Edge-V RK3399 Custom AndroidTV Pie Firmware v1.6 by mo123

    Click image for larger version  Name:	d20df361d9691f5ed739566148213f11ed8bb451_2_690x388.jpeg Views:	0 Size:	104.5 KB ID:	807103

    v1.6 Changelog
    • Remove the Setup screen so users in China(and elsewhere) can also use the ROM
    • Update video codecs and GPU drivers
    • Add YUV422 10-bit color options
    • TvSettings Support mouse operation with ethernet settings
    • Add Filelinked App Store to easily install popular apps.
      Use code 17 76 76 76 (easy to remember )
    • Add Settings app for phone launchers
    • Fix widgets on phone launchers
      After installing and opening your launcher:
      Open Terminal app and type without quotes ‘ su ’ then Enter then ’ /system/bin/widget and press Enter again. Widgets should work now for around 30 popular launchers by default.
      If not working, tell me your launcher name then I’ll tell you how to fix it.
      Use FTVLauncher to set a phone launcher - https://github.com/codefaktor/FTVLau...nchX-1.0.1.apk
      You can also use YoWindow for interesting live or static desktop wallpaper.
      Preferred phone launchers are Zim(better and open-source) or Nova(more options) Launcher.
      For Zim Launcher, swipe from the left side on the homescreen for extra settings and to set wallpaper or long press on the homescreen to set wallpapers, app icons can easily be dragged from the Appdrawer to the homescreen too.
      For Nova Launcher, you have to search for an app in the Appdrawer’s Search bar and long press it to be able to drag it or it’s widget to the homescreen.
    • Update Kodi - Can now seek in H265 videos, improved frame-rate switching, Inputstream, includes a patch that will be in 18.8 and not in 18.7.
    • Update Nova Video Player - Fix some DTS-HD sound issue
    • Update LeanKeyKeyboard - The onscreen keyboard’s size can now be changed and other languages can now enter special characters.
    • Update Lightning browser
    • Add Google Clock Screensaver
    • Updated ad-blocker
    • Add permissions for Vulkan API for some apps that might require it
    • Fix Search in More Settings
    • Update busybox to latest version
    • Improve Mele F10 airmouse - Bottom row keys now control Rewind, Stop, Play/Pause, Forward & the 1st key second bottom row now opens menus in apps.
    • Extra gamepad remotes
    • Enable support for VirtualXposed
      This app can be used together with the Hijack Suite Free Xposed Module to make some apps work that check Safetynet if Magisk doesn’t work.
      Magisk patched by default again
      You also need to enable ‘Hide Magisk’ in Magisk Manager’s Settings otherwise the BasicIntegrity test will fail. Using a Xiaomi Mi 7 as fingerprint and device simulation with all settings enabled makes both CTS and BasicIntegrity tests pass
    • For Netflix, install version 7.42 or earlier from the APKPure app store or Filelinked Store

    Download link v1.6:
    https://mega.nz/file/BccgTIJb#PaUfplwoL_bhtO0tgMMqetHlE8AIMy3RdoV09XhmY HE 4
    Pass: khadas
    Flash with FactoryTool v1.68 and use Restore (Windows)
    https://github.com/rockchip-linux/tools/raw/master/windows/FactoryTool_v1.68.02.rar 3 or
    https://github.com/rockchip-linux/tools/raw/master/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool_v1.49.zip 1 (Linux)
    To run from a micro-sd card or upgrade existing AndroidTV ROM use SDDiskTool
    https://github.com/rockchip-linux/to...kTool_v1.6.zip


    Want to buy me a beer or send a donation, click here or scan here.


    v1.5 Changelog
    • Fixed Google Play Store new layout to use the top Apps/Games/Updates/Settings menu correctly.
    • Decreased animation time by 50% for AndroidTV.
      Should be a lot snappier now.
    • Fixed slow AndroidUI on every boot caused by fractional frame-rates(finally)
      No need to manually set the resolution anymore.
    • Removed additional stock apps not needed
    • Changed DPI to 320 for a better AndroidTV experience
    • Updated to latest video codecs
    • Changed AppDrawer icon
    • Updated to the latest Magisk Manager
    • Add RefreshRate switching for any app
      Add KeyMapper application
      This is an open-source app. Check the AppDrawer to open it.
      You can map the power off menu, screenshot and Google Assistant(if you have a voice button on your airmouse)
    • Add CetusPlay server app so you can use your phone as a remote control for AndroidTV.
      Install the client app on your phone - https://play.google.com/store/apps/details?id=com.cetusplay.remotephone 4
    • Nova Video Player added
      – Support 10-Bit H265 video playback on Rockchip devices now
      – Support 10-Bit H264 software decoding now used by Anime videos.
      (1080p support still wip)
    v1.4 Changelog
    • Add More Settings Menu in TvSettings
      – Use it to change fan speed or LED settings.
    • Add Fan and LTE drivers
    • Fix HD Audio passthrough in apps like Kodi
    • Add Disable sound in TvSettings menu
      – It can be useful if you use the tv remote to control the volume and don’t want a ir remote/airmouse or apps to change the volume.
    • Add 192Khz FLAC audio playback
    • Add extra gamepads like PS3/4, Xbox/Xbox 360/One, Nintendo Switch
    • Fix SDBoot - Use SDDiskTool v1.67 and Restore option to write firmware to a micro-sd card and for it to upgrade the emmc firmware easily.
    • Add TvSettings - Developer Options Flash image, Reboot Recovery, Reboot MaskROM Mode options.
      Click 7 times on About - Build Info to activate Developer Options.
    v1.3 Changelog
    • Add VC-1 Video Codec Playback support
      – Use MXPlayer then set the codec to H/W+ instead of H/W, make it the default in the settings
      – Download the custom ffmpeg codec and set it as default in MXPlayer’s Decoder settings to have AC3/DTS sound. https://forum.xda-developers.com/devdb/project/dl/?id=28999 20
      Kodi can also playback VC-1 but sometimes you need to set the audio ahead by 1 second in the bottom right audio settings in Kodi while a video is playing. Not sure how to fix this yet.
    • Add Root with Magisk.
      Please read Useful guide for custom Android Pie firmware if you want to pass Safetynet for some streaming app support.
    • Fix Home button
      – Double press for Recent apps screen
      – Long press for All Apps screen
      – Short press to return to the launcher home screen
    • Add auto mount for nvme storage (not sure if it works, will try to update if it doesn’t work)
    • Disabled forced encryption of userdata partition for a slight speed improvement
    • Video playback improvements
      drm/atomic: use active_only flag for connector atomic
      drm: bridge: dw-hdmi: signal none colorimetry for rgb output
      Fix activation of HDR mode on LG OLED
      drm/rockchip: hdmi: fix no sound some time
      drm: bridge: dw-hdmi: signal full range for rgb output
      drm: add picture_aspect_ratio to hdmi 1.4 4k modes
      drm: workaround for crash when trying to open render node
      vcodec: skip reduce freq
      Mali: midgard: fix the memory translation for aarch32
      drm: rockchip: dw-hdmi: only force YCbCr422 when max tmds is
      up to 340Mhz
      drm: bridge: dw-hdmi: signal it content and content type
      drm: bridge: dw-hdmi: default to underscan mode
      drm/bridge: icn6211: Fix pll setting make the output clock
      freq more accurate
      clk: rockchip: fix round rate
      phy: rockchip-inno-hdmi-phy: add vesa dmt pixel clocks
      WIP: mm: dma-mapping: increase dma pool size
    v1.2 Changelog - First AndroidTV UI
    • Add support for virtual batteries
    • Add camera imx214 driver and iq
    • Fix some apps that had black bars on the right side
    • ddr: update version to v1.28;
    • update drm/rockchip: cdn-dp
    • kernel: cdn-dp: ignore firmware fallback mechanism
    • Add LatinIME keyboard to be selectable in Keyboard settings for French(azerty) and German(qwertz) users
    • Add Appdrawer to run sideloaded apps not meant for AndroidTV
    • Add favorite apps to App row
    • Fix volume changing not working on AndroidTV
    • Fix Google Search crash
    • Updated Google apps to fix ATV Store not downloading problem
    • Some other changes, removed non compatible changes made for AndroidTV to work
      Use the Channels app to put Youtube channels on your home screen
    v1.1 Changelog
    • Add 10-Bit H264 video playback support in Kodi 18(not even Vim 3 can play these videos smoothly )
    • New Recent Apps menu(Long press OK on a window to close it, long press back to close all recent apps)
    • Fix shutdown with ir remote(Long press power button to power off or restart)
    • Enable permissions for installed apps so you don?t have to enable it for all apps manually(Disable permissions not wanted if needed)
    • Spoof ethernet as wifi (Now you can play games like Asphalt etc. that only work on wifi over ethernet too. Some apps only added wifi support since phones/tablets don?t have ethernet)
    • Extra speed improvements
    • Can switch to Google Webview in Developer options if using apps that use a lot of web content for better experience. Install GWV manually - https://apkpure.com/android-system-w...ndroid.webview
    • Add Youtube leanback, Kiwi browser, Netflix apps
      (Kiwi browser can use Chrome addons just like the PC Chrome browser)
    • Removed a lot of bloatware apps that were meant for tablets
    • Add HD SBC Bluetooth codec support in Developer Settings - More Settings in TvSettings
      (Sound should have much higher bitrate playing over bluetooth speakers or headphones)
    • Block some ads by default to browse faster
    • Add kernel support for NFS, Samba v2(MiXplorer + Samba v2 addon is already installed)
      (To use Samba v2, use a file manager like MiXplorer, most apps only use Samba v1 with slower speeds and follow this guide - https://androidpctv.com/tutorial-con...windows-samba/)
    • Make TvSettings app visible in other launchers
    • Add Settings app to TvSettings app menu(More Settings) to stop confusion of 2 installed Settings apps
    • Changed default keyboard app to work better with an airmouse, it follows mouse movements.
    • Fixed Keyboard - Physical keyboard - Show virtual keyboard(Now you can enter the wifi password correctly if using TvSettings with the onscreen keyboard if using a mouse)
    v1.0 Changelog
    • Fixed Kodi crashing
    • Add Kodi auto frame-rate switching
    • Fixed Youtube freezing problem
    • Added fractional frame-rates 23.976hz( Can be useful for apps like Netflix to play smoother)
    • General speed improvements
    • Add writing to external storage support
    • Made HDMI Bitstream audio the default to not manually set it if using passthrough audio
    • Fixed Nova launcher crashes
    • Fixed apps running sideways
    • Removed battery icon
    Navigation bar
    • Add Screenshot button
    • Add Hide Bar (Hide Bar also added to Display settings, can be used with a game controller or keyboard) Can also long press menu button to hide/unhide.
    • Add Power off icon (Shutdown also added to About menu, can be used with a game controller or keyboard)
    Changed launcher to RKTVLauncher (more useful for ir remote and gamepads)
    • Long press on icon to move it around
    • New Settings at the bottom

    Connect USB C cable to your PC, plugged into the button left port on Khadas Edge V and press the middle Function button 3 times in 2 seconds to enter Loader mode.

    (For additional info posted by users, can also check https://forum.khadas.com/c/Khadas-Edge)

    Flashing on other devices might brick you device, so don't try if you don't have a backup and know how to recover from MaskROM Mode.

    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Setup Videos

    Fix phone launcher widgets - Run after you installed and switched to your launcher with FTVLauncherX
    https://github.com/codefaktor/FTVLau...nchX-1.0.1.apk
    https://mega.nz/file/gQVUWShJ#I8bxDa..._u7tW7uW3BiYzg

    Kodi auto frame-rate switching setup guide
    https://mega.nz/file/cVcwzIwA#r818RT...b87JNYtcDY78Ac

    App Store
    Can also install Netflix app from here that works with an airmouse
    https://mega.nz/file/VZMi1CQQ#t1JMMG...-Hlj-5ZGqgxd2U
    Last edited by mo123; 06-02-2020, 07:47.

    #2
    Look forward to giving it a run. Thanks.

    Comment


      #3
      Looking Good...

      First boot you get to choose what settings to use
      Then appears the launcher options


      Home screen Sample Black screen only and fails
      Home Screen OK

      Flashed twice to confirm...

      Also Black edge on ES File explorer not full screen
      Last edited by trebor; 07-12-2019, 09:52.
      treboR
      Please consider
      Donating to Freaktab

      Comment


        #4
        RK3399 H96 Max board ?

        Comment


          #5
          Originally posted by MasterCATZ View Post
          RK3399 H96 Max board ?
          No, doesn't support it most likely as the hardware is very different.
          10-bit Anime works great on this firmware on Khadas Edge RK3399, everything hardware decoded.
          It's a pity Wechip - http://www.wechipbox.com/, the manufacturer of the H96 only cares about Nougat.

          Comment


            #6
            hi mo123, suitable for vs-rk3399?

            Comment


            • mo123
              mo123 commented
              Editing a comment
              The Khadas Edge is very different than other devices. It uses USB-C for power, not a barrel connector, only 2 USB ports, no SPDIF, different camera, lcd, extension boards, different remote, different voltages for components. So the chance of it working on other devices is less than 10%.

              From Android Pie onwards partitions are also linked to each other and don't boot if compiled on different dates or machines. File hash values are also checked to see if they weren't tampered with later. All Google's plan to improve security and make custom firmware development harder.

              You can ask Videostrong to make their own Pie firmware and skip their outdated Oreo firmware perhaps. The Khadas Edge and RockPi 4 RK3399 are far better development boards with community support.

              The only way I can make firmware for other devices is if the manufacturer provides a sample device, source code and device patches.

            #7
            Originally posted by dragon92 View Post
            hi mo123, suitable for vs-rk3399?
            I already tore apart MO's firmware and a stock N6-rk3399 firmware as reference, to see how different the 2 devices are, this Edge firmware doesn't have Ramdisk in the boot.img so my guess it will not work in any tv box board except on the Edge development board. Don't try it, you'll just brick your box.

            Comment


              #8
              New ROM v1.6 uploaded, see OP

              Comment


                #9
                I broke my HD96MAX RK3399 trying to install (Khadas Edge-V RK3399 Custom AndroidTV Pie Firmware by mo123) firmware.
                Tried many famous ways to restore factory firmware include method maskrom described here https://forum.freaktab.com/forum/tv-...o-maskrom-mode but unsuccessful.

                Have some one any idia how to fix it?

                Comment


                  #10
                  Originally posted by olegka View Post
                  I broke my HD96MAX RK3399 trying to install (Khadas Edge-V RK3399 Custom AndroidTV Pie Firmware by mo123) firmware.
                  Tried many famous ways to restore factory firmware include method maskrom described here https://forum.freaktab.com/forum/tv-...o-maskrom-mode but unsuccessful.

                  Have some one any idia how to fix it?
                  Use the latest tools I mention like FactoryTool v1.68 or AndroidTool v2.71 and enter maskrom mode by shorting the pins on your board.
                  It's always best to first test the firmware from a micro-sd card before flashing it on a device that is completely different than the one it was made for, read the OP.
                  If it doesn't work, you can try to install your stock firmware to a micro-sd card and see if it works or ask someone to make a backup of their device in LibreELEC mainline so you can restore the backup from LibreELEC from a micro-sd card.
                  Otherwise you will have to buy a new device if this doesn't work.

                  Comment


                    #11
                    Thanks for an answer! I tried all these whays, besides backup from LibreELEC. All that I see now then i switch on my brick it's have a logo of Khadas and blue led blinks ones after a 30 sec.

                    Comment

                    Working...
                    X