• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[v8] Aidan's ROM [S905X] [ATV 9] (No Lag & Bloat) [1&2GB] [2021 Update]-TV NETFLIX

Search This thread

aidanmacgregor

Senior Member
Nov 19, 2011
1,179
332
Caithness
aidansrom.freecluster.eu
to brighten.png

Home Screen With Apps
Screenshot_20210725-010734.png

^^^NEW Home Screen, Update From Play Store ^^^
Screenshot_20210725-010752.png

Preinstalled Apps
Screenshot_20210712-104107.png

Initial Set Up Screen
Screenshot_20210712-104128.png

Initial Set Up Screen 2
Screenshot_20210725-010826.png

About
Screensaver.png

New Google Dream X Included
Screenshot_20201116-025413 - Copy.png

Google Play Protect Certified
Screenshot_20210207-224128.png

Android TV Netflix! (Install Apk From Website)


Aidan's Custom Android TV 9 ROM For S905X

This is My Android 9.0 Firmware, This Is Based On The Official Mi Box Android TV 9.0 Firmware

This Is A Firmware Port Of The Xiaomi Mi Box Firmware Designed To Run On Other Amlogic S905X Devices

This Firmware Is FAST & STABLE

WARNING: This Is Experimental & Requires Multiple Steps, Please Read About "Mask Rom Mode" To Know How To Recover Your Device If Installation Fails!
This Has The New Amlogic Kernel And As Such Will Not Work On All S905X Devices, My Older Android 7 Based Firmware Works On Most Devices

How To Install

Use USB Burning Tool, See Website

Wait Up To 5 Mins For Firmware To Boot For First Time & Proceed Through Initial Set Up


Enjoy!
------------------------------------------------
NEW Website! Check it out & Download!
>>>> Website Click Here <<<<
-----------------------

v8 New Features (25.July.2021)
BASED ON LATEST MI BOX Official Pie Build 3595
Security Patch 5.March.2021
Low Ram False All Roms
Forceencrypt Disabled
Default Volume MAX
New Bootanimation
More Debloating
DPI Set At 320/213
New Welcome (Thanks AcidIce18)
No Remote Pair Screen
More Cleaned & De Bloat
More Tweaks...

v7 New Features (29.April.2021)
BASED ON LATEST MI BOX Official Pie Build 3409
Security Patch 5.January.2021
NEW Mygica ATV495x (maybe more) Version Available
NEW F30UP (maybe more) Version Available
Now Includes App Drawer (Non Tv Apps)
Now Includes File Browser
Now 11 Wi-Fi Versions Available
Cleaned & De Bloat
More Tweaks...

v6 New Features (21.Jan.2021)
Netflix TV Version (APK Provided)
Stability Improved (Fixed Random Reboot Bug)
Now 10 Wi-Fi Versions Available
Cleaned Further & De Bloat
More Video Playback Performance Improvements
More Key layout Files Added
More Tweaks...

v5 New Features (08.Jan.2021)
Universal Version Now Available
More WIFI Chips supported
Cleaned Further & De Bloat
Now The Versions Are More Similar Than Ever
Video Playback Performance Improvements
More Key layout Files Added
More Tweaks...

v4 New Features (16.Nov.2020)
1st Update After OTA Update Available Notification
BASED ON LATEST MI BOX Official Pie Build 3139
Security Patch 5.October.2020
NTFS & exFAT USB Drive Support Added
Removed Mi Tv Analytics
Bug Report Sender Removed

v3 New Features
BASED ON STABLE MI BOX Official Pie Build 2696
Security Patch 5.April.2020
New Google Keyboard From Chromecast With Google TV
New Boot animation
Enabled 14 Wi-Fi Channels
Updated Google Play Store
De Bloat System
Remove Chromecast
Remove Google Play Games, Music & Video
Remove Netflix & Prime Video
Reduced img Size For Faster Download
Reduced Install Time
More Tweaks

v2 New Features
BASED ON STABLE MI BOX Official Pie Build 2696
Security Patch 5.April.2020
Created USB Burnig tool Image
New Install Method Now 1 Step Install

v1 New Features
BASED ON STABLE MI BOX Official Pie Build 2696
Security Patch 5.April.2020
Original Install Method Using base ROM & Update.ZIP


Help & FAQ

USB Burning Tool Cant See Device
if usb burning tool cant detect your device, and youve tried other ports, cables ect then Mask ROM Mode May Be Needed, See Here
Youtube Unbrick Guide

Netflix wont work from play store
The TV Version of Netflix needs Widevine Level 1 DRM, This cannot be added to your device with a firmware, Patched Netflix Apk Now Available

Amazon Prime Wont Work
A. Like Netflix Install the mobile app, the TV version needs Widevine Level 1

Disney+ No Sound
A. Fixed Earlier Release

No Root
There Is No Root In This Firmware Because This Is a User Build (Not User Debug)
User Build: This Is Like The official Android Tv Devices (Like Mi Box), it does not have root or TWRP, Uses Release Keys and is SELINUX enforced
Why?
This Makes More Apps Show Up In The Play Store that didn't show before, (Example: Isp Android TV live tv app, only shows in Play Store On non rooted and SELINUX enforced devices, also the streams in the app do not even play in rooted devices.) And other Apps With Similar Issues On Non Certified Devices....

myCANAL App No Sound...
See This Post

-------------------------------------------------------------------------
[OLD] How To Install: [OLD]
1) Download One Of The Base Firmwares That We Will Write Over (By Wi-Fi Chip If Possible But This Will Work Without Wi-Fi Using Ethernet)
1.2) Download Reboot Revovery.zip & TWRP 3.3.1 AML By ViT
1.3) Download One Of My Custom Mi Box Update Zip File
1.4) Download USB Burning Tool (I Use v2.2.0 Download On My Website)
2) Flash The Base Firmware Image Using USB Burn Tool,
2.1) See If Wi-Fi & Bluetooth Seem To Work And Try The Other Version If Not
3) Open The Update App And Choose Select, Choose Reboot To Recovery.zip & Chose Update & Update Again
4) You Will Be Inside Recovery Now, Choose Update From EXT, And Choose (USB/SD Depending What You Use)
5) Choose TWRP 3.3.1 .zip, This Will Boot Into TWRP, Slide The Screen To Accept (Mouse Needed) & Choose Install
6) Flash My Custom Mi Box Update Zip File By WiFi Chip If Possible, If You Don't Have One Of These Chips You Will Have To Try The Versions & See Or Use Ethernet
7) You Will Be Rebooted Automatically After Installation And Put Into The Stock Android Recovery
8) Choose "Wipe/Factory Data Reset" Option Here, And Then Once Done Choose Reboot
9) Wait Up To 5 Mins For Firmware To Boot For First Time & Proceed Through Initial Set Up
10) Open Settings & Navigate To "Apps", Then Choose "See All Apps" Then "Show System Apps" Find The App "Chromecast Android Shell" And DISABLE It (Wont Work Without Widevine Level1 & slows device down)
11 Disable "Movie Player" & Any Other Apps You Want To Hide
12 Enjoy!

--------------------------------------------------------------------------------

Thanks DiogoSilva48

--------------------------------------------------------------------------------
 
Last edited:

Nitrus015

New member
Nov 17, 2020
1
0
Hi Aidan, great job with this.
I just tried it on my Nexbox A95X-B7N (16GB ROM/2GB RAM) and it works fine so far, have not done any in-depth testing yet.
No Wifi as it stands as mine uses the AP6630 chip, I picked your 6212 variant hoping it might work but no dice.
Remote doesn't work either but that's to be expected. (MiBox works with BT Remote whereas the original Nexbox A95X with an IR one)

I own a Mi Box S as well, and the experience is very comparable.

Let me know if you need anything tested, I'll check LAN later in the day as well
 
Last edited:

aidanmacgregor

Senior Member
Nov 19, 2011
1,179
332
Caithness
aidansrom.freecluster.eu
Hi Aidan, great job with this.
I just tried it on my Nexbox A95X-B7N (16GB ROM/2GB RAM) and it works fine so far, have not done any in-depth testing yet.
No Wifi as it stands as mine uses the AP6630 chip, I picked your 6212 variant hoping it might work but no dice.
Remote doesn't work either but that's to be expected. (MiBox works with BT Remote whereas the original Nexbox A95X with an IR one)

I own a Mi Box S as well, and the experience is very comparable.

Let me know if you need anything tested, I'll check LAN later in the day as well

Awesome Glad its Close To Stock, The Feel I'm Going For, To Try & Get Wi-Fi Working You Can Try Take Drivers From A Working 9.0 ROM (8.0 will probably work too as both use newer kernel 4.19), Look For Relevant Files in Vendor/Etc & Vendor/Lib, The Base Rom Has Root Already So You Can Edit Vendor Then Flash "Wi-Fi Works Already, This Should Leave Vendor Changes Intact And Just Flash The System, My IR Remote Works, You Could Use HDMI CEC & USB, I Tend To Use Ethernet myself. Use Powerline Ethernet Adapters :)
 

timosat

Member
Sep 25, 2017
41
27
Great rom Aidan. It installed on my box, very cool user interface. WiFi didn't work though but I used my Tplink portable router to connect through Lan port. My WiFi chip type is realtek rtl8188f sort of. I hope you add it to your next release. The remote didn't work either I copied and pasted my remote.conf file on to vendor/etc folder still no luck. Do I need to change my remote.conf file to remote.tab file format? Or what should I do to make it work? I brought out all remote I have in my house and was testing them one by one funny enough I got one that can increase volume up and down, another button scroll up and another scroll down, power off and on and what was to be menu button worked as Google assistance button. I'm using that remote for now. Thanks for this great job. Ah! why should I forgot; I want to commend you the rom is Google certified by default. My Dstvnow app works.
 

aidanmacgregor

Senior Member
Nov 19, 2011
1,179
332
Caithness
aidansrom.freecluster.eu
Great rom Aidan. It installed on my box, very cool user interface. WiFi didn't work though but I used my Tplink portable router to connect through Lan port. My WiFi chip type is realtek rtl8188f sort of. I hope you add it to your next release. The remote didn't work either I copied and pasted my remote.conf file on to vendor/etc folder still no luck. Do I need to change my remote.conf file to remote.tab file format? Or what should I do to make it work? I brought out all remote I have in my house and was testing them one by one funny enough I got one that can increase volume up and down, another button scroll up and another scroll down, power off and on and what was to be menu button worked as Google assistance button. I'm using that remote for now. Thanks for this great job. Ah! why should I forgot; I want to commend you the rom is Google certified by default. My Dstvnow app works.

Yhea Wi-Fi May Be An Issue For Alot Of people, Good News dstv wroks now, Some Wi-Fi Chips Don't Have Drivers For The New Amlogic Kernel On Android 8.0 & Newer, Some Wifi chips will probably never work, yhea with the remote is remote tab files & .kl files, for more info see this post https://forum.freaktab.com/forum/tv-player-support/amlogic-based-tv-players/s905x2/779350-x96max-4-64-adding-keys-to-the-remote-tab-files
 

timosat

Member
Sep 25, 2017
41
27
Hi Aidan, My WiFi chip is rtl8189ftv. Please can you help me/some of us using this WiFi drivers to incorporate it or create our own update to android TV port(mibox4 port). The driver is available on atvxperience android TV 9 realtek/SSV romhttps://drive.google.com/file/d/1-lRJrrGMiKwKy1Tsn7AxhJp5Mz3o_NoG/view . Thanks.

---------- Post added at 06:42 AM ---------- Previous post was at 06:41 AM ----------

This is the link

https://drive.google.com/file/d/1-lRJrrGMiKwKy1Tsn7AxhJp5Mz3o_NoG/view
 

Kewl_one

Member
Dec 4, 2015
31
2
Dordrecht
Super Adian Thanks! Rom works (fast!) on a MXq pro model g9cx. 1G 8G
Only...
Filebrowser does not work ..?
Issue with USB drives
Wifi does not work well sees networks but cannot connect (maybe old standard?)
Thanks
 
Last edited:

aidanmacgregor

Senior Member
Nov 19, 2011
1,179
332
Caithness
aidansrom.freecluster.eu
Super Adian Thanks! Rom works (fast!) on a MXq pro model g9cx. 1G 8G
Only...
Filebrowser does not work ..?
Issue with USB drives
Thanks

Ahh tha is its Good to know it runs well on 1gb ram devices, I notaced on the qca version the file manager wouldn't launch (I use the ap6212a) I ended up disabling file manager & video player among others and downloaded a file browser from the play store, the one of my usb stick that worked in my android 7 wasnt recognised and needed the system to format to use, others formatted my my PC seem ok
 

Kewl_one

Member
Dec 4, 2015
31
2
Dordrecht
FYI I am using the AP6212 and maybe more rom. Did install Kodi Leia (18.9) succesfully but had to install through google Play...

Also succeeded in flashing this snappy rom to my A95X Nexbox. A95X-B7N Not connected yet will update here later..

So even the Nexbox started up! .. But...
The original remote from the Nexbox did not work (The remote from the other box MXq did work though..pfff)
The Wifi does not work. Does not see any network. Switches itself off, will try the non 6212 rom.

Update: Tried the QCA rom on the Nexbox, wifi sees more networks but cannot connect... returns with message network xx not found.. I think these boxes have the realtek 8189 Wifi...

On the MXq installed another file explorer that works but it still does not see the USB.

Will update later..
 
Last edited:

aidanmacgregor

Senior Member
Nov 19, 2011
1,179
332
Caithness
aidansrom.freecluster.eu
FYI I am using the AP6212 and maybe more rom. Did install Kodi Leia (18.9) succesfully but had to install through google Play...

Also succeeded in flashing this snappy rom to my A95X Nexbox. A95X-B7N Not connected yet will update here later..

So even the Nexbox started up! .. But...
The original remote from the Nexbox did not work (The remote from the other box MXq did work though..pfff)
The Wifi does not work. Does not see any network. Switches itself off, will try the non 6212 rom.

Update: Tried the QCA rom on the Nexbox, wifi sees more networks but cannot connect... returns with message network xx not found.. I think these boxes have the realtek 8189 Wifi...

On the MXq installed another file explorer that works but it still does not see the USB.

Will update later..

hey progress, still limited with Wi-Fi fixes currently still learning hope to make more improvements in future versions, basically currently advice is try the 3 versions hopefully one works as i cant say that the changes made to get one chip to work didn't make another one work too (Should Probably Rename All 3 To XXXXX & Maybe Others) can then get a list started with information on version & Chip compatibility

as for the nexbox, on android 7 most firmware's would have no remote, and had a bug where the device wouldn't wake from standby mode and needed power cycled, i can suggest trying other android 9 roms and let me know if any fix any of the issues (Standby Bug, remote & wifi) be helpful in figuring out android 9 changes needed
 

vooyeq

Member
Apr 7, 2011
9
0
Hi there, thanks for active development.

Can somebody confirm whether it works on MDZ-22-AB ?
Having DDR_USB size 0 issues together with [0x10103005]Romcode/Initialize DDR/Download buffer/Read item data failed error.

Thanks.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    also try qca 9377, this works for rtl8188ETV so may help you
    It worked! Thanks.
    Bluetooth is not working but it wasnt working in the atv 7 either.
    1
    Hi, i have the same tv box (x96 max plus Q2)
    How can I go into Mask Rom mode?

    Hi, i have the same tv box (x96 max plus Q2)
    How can I go into Mask Rom mode or recover it in case of hard brick
    i havent needed to yet but remind me tomorrow and ill have a look at my device :)
    1
    can v8 be dirty flashed onto v7 of this rom to save apps and settings?
    to answer my own question, i tried to dirty flash it was stuck on boot screen. clean install worked.
    Update: i forgot to uncheck erase boot, only unchecked erase flash thats why dirty flash didn't work.
    1
    to answer my own question, i tried to dirty flash it was stuck on boot screen. clean install worked.
    Update: i forgot to uncheck erase boot, only unchecked erase flash thats why dirty flash didn't work.
    I've just done it with erase boot unchecked and it didn't work anyway. Same as yours, stuck on boot screen. Doing clean install now.
    1
    Nice to meet you!
    I also have an X96 Max Q2 and tried TEST-Q2 but it goes into the boot loop.
    Next, I will try plus 2.
    What other trial and error should I do? Please give me advice.
    Hello!
    I have installed the X96 Max plus 2 ROM on my X96 Max plus Q2.
    Launch, add google account, install from playstore, wired internet, wi-fi worked fine.
    But unfortunately Bluetooth didn't work.

    If you can solve the bluetooth problem, it will be the best ROM!
  • 20
    to brighten.png

    Home Screen With Apps
    Screenshot_20210725-010734.png

    ^^^NEW Home Screen, Update From Play Store ^^^
    Screenshot_20210725-010752.png

    Preinstalled Apps
    Screenshot_20210712-104107.png

    Initial Set Up Screen
    Screenshot_20210712-104128.png

    Initial Set Up Screen 2
    Screenshot_20210725-010826.png

    About
    Screensaver.png

    New Google Dream X Included
    Screenshot_20201116-025413 - Copy.png

    Google Play Protect Certified
    Screenshot_20210207-224128.png

    Android TV Netflix! (Install Apk From Website)


    Aidan's Custom Android TV 9 ROM For S905X

    This is My Android 9.0 Firmware, This Is Based On The Official Mi Box Android TV 9.0 Firmware

    This Is A Firmware Port Of The Xiaomi Mi Box Firmware Designed To Run On Other Amlogic S905X Devices

    This Firmware Is FAST & STABLE

    WARNING: This Is Experimental & Requires Multiple Steps, Please Read About "Mask Rom Mode" To Know How To Recover Your Device If Installation Fails!
    This Has The New Amlogic Kernel And As Such Will Not Work On All S905X Devices, My Older Android 7 Based Firmware Works On Most Devices

    How To Install

    Use USB Burning Tool, See Website

    Wait Up To 5 Mins For Firmware To Boot For First Time & Proceed Through Initial Set Up


    Enjoy!
    ------------------------------------------------
    NEW Website! Check it out & Download!
    >>>> Website Click Here <<<<
    -----------------------

    v8 New Features (25.July.2021)
    BASED ON LATEST MI BOX Official Pie Build 3595
    Security Patch 5.March.2021
    Low Ram False All Roms
    Forceencrypt Disabled
    Default Volume MAX
    New Bootanimation
    More Debloating
    DPI Set At 320/213
    New Welcome (Thanks AcidIce18)
    No Remote Pair Screen
    More Cleaned & De Bloat
    More Tweaks...

    v7 New Features (29.April.2021)
    BASED ON LATEST MI BOX Official Pie Build 3409
    Security Patch 5.January.2021
    NEW Mygica ATV495x (maybe more) Version Available
    NEW F30UP (maybe more) Version Available
    Now Includes App Drawer (Non Tv Apps)
    Now Includes File Browser
    Now 11 Wi-Fi Versions Available
    Cleaned & De Bloat
    More Tweaks...

    v6 New Features (21.Jan.2021)
    Netflix TV Version (APK Provided)
    Stability Improved (Fixed Random Reboot Bug)
    Now 10 Wi-Fi Versions Available
    Cleaned Further & De Bloat
    More Video Playback Performance Improvements
    More Key layout Files Added
    More Tweaks...

    v5 New Features (08.Jan.2021)
    Universal Version Now Available
    More WIFI Chips supported
    Cleaned Further & De Bloat
    Now The Versions Are More Similar Than Ever
    Video Playback Performance Improvements
    More Key layout Files Added
    More Tweaks...

    v4 New Features (16.Nov.2020)
    1st Update After OTA Update Available Notification
    BASED ON LATEST MI BOX Official Pie Build 3139
    Security Patch 5.October.2020
    NTFS & exFAT USB Drive Support Added
    Removed Mi Tv Analytics
    Bug Report Sender Removed

    v3 New Features
    BASED ON STABLE MI BOX Official Pie Build 2696
    Security Patch 5.April.2020
    New Google Keyboard From Chromecast With Google TV
    New Boot animation
    Enabled 14 Wi-Fi Channels
    Updated Google Play Store
    De Bloat System
    Remove Chromecast
    Remove Google Play Games, Music & Video
    Remove Netflix & Prime Video
    Reduced img Size For Faster Download
    Reduced Install Time
    More Tweaks

    v2 New Features
    BASED ON STABLE MI BOX Official Pie Build 2696
    Security Patch 5.April.2020
    Created USB Burnig tool Image
    New Install Method Now 1 Step Install

    v1 New Features
    BASED ON STABLE MI BOX Official Pie Build 2696
    Security Patch 5.April.2020
    Original Install Method Using base ROM & Update.ZIP


    Help & FAQ

    USB Burning Tool Cant See Device
    if usb burning tool cant detect your device, and youve tried other ports, cables ect then Mask ROM Mode May Be Needed, See Here
    Youtube Unbrick Guide

    Netflix wont work from play store
    The TV Version of Netflix needs Widevine Level 1 DRM, This cannot be added to your device with a firmware, Patched Netflix Apk Now Available

    Amazon Prime Wont Work
    A. Like Netflix Install the mobile app, the TV version needs Widevine Level 1

    Disney+ No Sound
    A. Fixed Earlier Release

    No Root
    There Is No Root In This Firmware Because This Is a User Build (Not User Debug)
    User Build: This Is Like The official Android Tv Devices (Like Mi Box), it does not have root or TWRP, Uses Release Keys and is SELINUX enforced
    Why?
    This Makes More Apps Show Up In The Play Store that didn't show before, (Example: Isp Android TV live tv app, only shows in Play Store On non rooted and SELINUX enforced devices, also the streams in the app do not even play in rooted devices.) And other Apps With Similar Issues On Non Certified Devices....

    myCANAL App No Sound...
    See This Post

    -------------------------------------------------------------------------
    [OLD] How To Install: [OLD]
    1) Download One Of The Base Firmwares That We Will Write Over (By Wi-Fi Chip If Possible But This Will Work Without Wi-Fi Using Ethernet)
    1.2) Download Reboot Revovery.zip & TWRP 3.3.1 AML By ViT
    1.3) Download One Of My Custom Mi Box Update Zip File
    1.4) Download USB Burning Tool (I Use v2.2.0 Download On My Website)
    2) Flash The Base Firmware Image Using USB Burn Tool,
    2.1) See If Wi-Fi & Bluetooth Seem To Work And Try The Other Version If Not
    3) Open The Update App And Choose Select, Choose Reboot To Recovery.zip & Chose Update & Update Again
    4) You Will Be Inside Recovery Now, Choose Update From EXT, And Choose (USB/SD Depending What You Use)
    5) Choose TWRP 3.3.1 .zip, This Will Boot Into TWRP, Slide The Screen To Accept (Mouse Needed) & Choose Install
    6) Flash My Custom Mi Box Update Zip File By WiFi Chip If Possible, If You Don't Have One Of These Chips You Will Have To Try The Versions & See Or Use Ethernet
    7) You Will Be Rebooted Automatically After Installation And Put Into The Stock Android Recovery
    8) Choose "Wipe/Factory Data Reset" Option Here, And Then Once Done Choose Reboot
    9) Wait Up To 5 Mins For Firmware To Boot For First Time & Proceed Through Initial Set Up
    10) Open Settings & Navigate To "Apps", Then Choose "See All Apps" Then "Show System Apps" Find The App "Chromecast Android Shell" And DISABLE It (Wont Work Without Widevine Level1 & slows device down)
    11 Disable "Movie Player" & Any Other Apps You Want To Hide
    12 Enjoy!

    --------------------------------------------------------------------------------

    Thanks DiogoSilva48

    --------------------------------------------------------------------------------
    4
    Thanks for the reply and eagerly waiting for manual update. The existing rom is almost like stock one. Happy with it, and the manual update would enhance it further.

    I tried sideloading many .apk for prime video of different versions and both platforms - mobile and android tv. Even tried aptroid.tv app store with someone's suggestions on google.
    However, the mobile versions did not even install. And the TV versions though installed but returned with the same error. Only trailers are able to play. Main content isn't playing and the error "Something went wrong" shows up.

    If you could help me with any working apk for prime video, kindly provide. Just like the netflix you provided.

    Thank you so much in advance Aidan.
    hey v7 is now available, most are uploaded 2 still uploading :)
    3
    3. [V6](Qualcomm QCA9377 & LTM8830)

    Wifi working perfectly fine on my 8189etv.
    3
    Hello Timosat, as I understood I have to find ly remote file and then after several step sut this folder in aidans rom... Where to find the right remote folder for my box? I have the remote.conf from a previous rom can I use this file?
    I read that you use Atvx 4 rom to do this ? You choosed this rom because your remote works with this rom?
    It's a long process with patience. Your remote.conf file has to be renamed to remote.tab1 and use any good file explorer eg mixexplorer and transfer tthe remote file to vendor/etc folder .But before you do this make sure you are rooted. You may try and root Aidan's rom first by patching recovery.Partition method.And see if your remote will work. As for my case yes I use atvx4 rom because I've tried Aidan's rom my remote did not work. So I made (should I call it hybrid) rom.By taking system.PARTITION from Aidan's rom and substitute it in atvx4 and also patching atvx4 recovery.PARTITION with Magisk.Then I repacked and flashed to my box.