Porting Wi-Fi from stock ROM to atvX

Post your great articles here :)
Nayam
Administrator & Developer
Posts: 1275
Joined: Mon Jun 11, 2018 11:58 pm
Has thanked: 195 times
Been thanked: 425 times
Contact:

#11

soldiaz wrote: Mon Oct 28, 2019 6:37 am Thanks, so it does not matter wether AP62xx or RT8xxx? Beside this I experienced some better performance on different roms, maybe due to tweaks in General no matter which chip is used? Could be just a feeling...

I equipped the tx92 with external antenna connector and I had better connection then with attached WiFi antenna.

What about the internal PCB antenna. Does replacing with internal 8dbi PCB antenna make sense?
Antenna should help in some way.
I ripped my h96's off and it stopped receiving signals, now the wire attached to the antenna must be in perfect position to catch signals or else only the closest AP appears.
BUT, I'm not sure if replacing antenna with your own is feasible or not
BE NICE, BE RESPECTFUL
RESPECT THE MODERATORS
PM ONLY WHEN IMPORTANT
ENJOY!
My Devices:
X96 Mini, A95X Pro, H96 Pro Stick, A95X Max
apricot007
Posts: 2
Joined: Fri Dec 06, 2019 11:39 pm
Has thanked: 1 time

#12

I have been trying to compile 8812au.ko to work correctly with my device ID (0bda:0811). I can insmod the existing driver file but it does not recognize my device.

I have found new driver source here: https://github.com/gnab/rtl8812au
But I do not know how to find the kernel source and compile it myself. Is there anyone who can help me compile it?

Internal wifi makes this rom unusable for me. I have a FayTun USB adapter, and it works out of the box on CoreELEC.
TsutomuSakai
Posts: 1
Joined: Fri Dec 13, 2019 11:24 am

#13

Have you already used these sources? Does everything work correctly?
soldiaz
Expert Member
Posts: 404
Joined: Sat Sep 29, 2018 6:29 pm
Has thanked: 28 times
Been thanked: 22 times

#14

Back to wifi performance: I experienced a real wifi boost using MINIXFREAK OS...awesome!
oblus
Posts: 4
Joined: Sun Mar 01, 2020 11:33 pm

#15

Ok and how to copy wifi drivers in oposite way: from atvX to stock?
khoudou
Posts: 3
Joined: Tue Jun 09, 2020 3:19 am

#16

h96 PRO H3 wifi and bluetooth not working i changed this files with amlogic flash tool V6 but wifi not working
User avatar
em3ka
Moderator
Posts: 1715
Joined: Sun Jul 15, 2018 11:43 am
Has thanked: 128 times
Been thanked: 357 times

#17

khurram_rizvi wrote: Sat Jun 20, 2020 11:59 am ...I just download the Ricky's Tool v6.0 [earlier tried with v4.0 but it couldn't extract till the required folder] and changed the files as below and that turned my WiFi ON!!

Copied Files from Stock Rom to ATVx ROM (as per the WiFi porting guide by [mention]Nayam[/mention] )

1)Replaced all bin files
\level2\system\bin

2)Replaced all wifi files
\level2\system\etc\wifi

3)Replaced dhcpcd folder
level2\system\etc\dhcpcd

4)Replaced lib folder all files
level2\system\lib

Cleared cache through recovery on first boot.

And the good thing is that along with WiFI, my LED display was also working fine as on stock and It didn't required any patch file to be flashed...
chancat
Posts: 6
Joined: Fri Oct 04, 2019 10:26 am
Been thanked: 1 time

#18

Can the Bluetooth driver files be extracted? In what directory?
User avatar
em3ka
Moderator
Posts: 1715
Joined: Sun Jul 15, 2018 11:43 am
Has thanked: 128 times
Been thanked: 357 times

#19

chancat wrote: Sat Oct 17, 2020 12:13 pm Can the Bluetooth driver files be extracted? In what directory?
Under PIE firmware from:
vendor/etc/bluetooth/*.* - all files
vendor/etc/wifi/*.* - files relevant for chip used
vendor/firmware/*.* - files for RTL chip, if used
vendor/lib/*.*
vendor/lib/modules/*.* - files relevant for chip used
soldiaz
Expert Member
Posts: 404
Joined: Sat Sep 29, 2018 6:29 pm
Has thanked: 28 times
Been thanked: 22 times

#20

wifi under PIE same as mentioned?
Post Reply