Khadas Edge Custom AndroidTV Pie Firmware

Khadas Edge Custom AndroidTV Pie Firmware

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
    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 :slight_smile:

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
  • Add SYTV(add-free Youtube), 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
  • 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-connect-android-pc-windows-samba/)
  • 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 apps running sideways
  • Removed battery icon

After a lot of work I managed to get AndroidTV firmware built.
It has the AndroidTV layout that is useful to use with a remote.

https://mega.nz/#!wJcimKIZ!2xgWoh6p9qpw3o4fvQChHP7hzepSJPA1ZQ0pF1s8px4
Pass: khadas


All apps screen - Long press Home to see

Recent apps:
Long press back to close all or long press OK to close a single window

Bugs: Just uninstall and reinstall ‘Channels’ app if wanting to use it, seems there is a problem if preinstalling it.
To enter the wifi password just Double press Enter if using an airmouse or keyboard then Search on the right side on the onscreen keyboard to complete.

10 Likes

New v1.3 custom firmware uploaded.
Have fun with AndroidTV.

If there are any good open-source apps like downloaders, screensavers, video/audio players etc, please let me know then I can use them or replace other apps in my ROM’s.
I try to only use open-source or Google Play Store apps with high ratings, no paid apps allowed.

PS: Khadas owes me a gift after this work, making almost the impossible happen, lol.

3 Likes

hello @mo123

thanks to you, to test.
for the moment I’m testing 1.1a

Wow, niubility, what gift do you want?

If anyone found any bug in the firmware or can think of other improvements, please let me know.
I want to make an updated firmware but are running out of ideas of new things to add.

I will improve Kodi video playback even more soon, doing a lot of tests.

@goenjoy You don’t know if Rockchip perhaps made any updates for Pie code, maybe it’s too soon after last update to v4.20? Thanks

Not so fast to update the code for Rockchip.

Hello @mo123
I’m testing it right now, I’m pretty surprised by android tv, but I like it.
how to put apk by default, there is only parameter android tv, not normal android for the parameters, there is but do not remember.
I put mecool android 9, it seems to work.
much less application with android tv on the play store.

thank you

If you want to install normal apps
you can use an app store like APKPure, already preinstalled.
Click on the first app icon ‘App Drawer’ then you can see all the normal installed apps here.
All apps except paid ones available in the Google Play Store, will also be available here.
In the AndroidTV Google Play Store there will only be about 4000 apps compared to millions in APKPure/normal Google Play Store.

You can also use a file manager like MiXplorer to open external storage like a hard-drive or flash drive with your *.apk files on and install them manually. Download your apps then on a Windows PC from the APKPure website and put them on a flash drive.

@mo123

it will have to think about putting apk for the fan, android tv and android normal on your rom.
I liked android tv.

I’ll try to add the fan & led, see it is something new added today.
I’m also going to add lots of gaming controllers and touch screen gaming support with remote.
Kodi should also perform a little better.

2 Likes

hi, Can you show me how to install on mecool

The firmware doesn’t work on Mecool devices and never will.
The Khadas Edge-V and Mecool devices are too different.
Please ask your manufacturer Mecool to fix their broken Oreo firmware or upgrade to Pie.

NVMe storage works flawlessly on v1.3.

Hello mo123, When I try to access More Settings, it seems to crash settings. Can that be fixed?
Thanks

Hi

I finally managed to make the Settings app work.
So you will be able to use the More Settings menu on TvSettings to access the Settings app to change the fan settings etc.
If I get time later this week, I’ll upload an update.

3 Likes

No hurry on this. Thank you for your hard work on this ROM. It is a significant part of why I am fond of the Edge.

hello.

@mo123

my edge v has gone into revision.
as soon as I receive it, I put your rom androidtv with the modifications you have made.

thank fred21

hello.

@mo123

received fan for my khadas edge V.
you will have work for the android tv 1.4 .
thanks to you

Yes
I will update the ROM when Khadas updates the code perhaps end of this week or next week since there are a lot of new bug fixes from Rockchip.
I will also receive the cooling fan next week, so then I will also be able to test it.

2 Likes