Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request support for X96 Max Plus 100W #909

Closed
trvqhuy opened this issue Jan 9, 2023 · 37 comments
Closed

Request support for X96 Max Plus 100W #909

trvqhuy opened this issue Jan 9, 2023 · 37 comments
Labels
documentation Improvements or additions to documentation new box Research Fills in the Blanks support This need is supported

Comments

@trvqhuy
Copy link

trvqhuy commented Jan 9, 2023

I have the W522A radio module on my X96 Max Plus 100W board.

I found some information.
The W552a is an Fn-Link K255B-SR.
The Fn-Link K255B-SR is an Amlogic W155S1 chip, with the following datasheet:
https://usermanual.wiki/HUNAN-FN-LINK-TECHNOLOGY/K255B-SR.User-Manual-5353157.pdf

I found two github for the sources of this module:
https://github.com/CoreELEC/w1-aml
https://github.com/adeepn/w1-aml

Tutorials for W155S1
https://blog.csdn.net/zhaojy5453/article/details/115484201

I hope it can help you, thanks for your work.

@trvqhuy
Copy link
Author

trvqhuy commented Jan 9, 2023

192023643-e8552a7b-b6ff-41cd-9943-b95159bd4c84 (1).png

@ophub
Copy link
Owner

ophub commented Jan 10, 2023

/boot/uEnv.txt
try meson-sm1-x96-air.dtb or meson-sm1-a95xf3-air.dtb
copy u-boot-x96maxplus.bin to u-boot.ext and u-boot.emmc

@trvqhuy
Copy link
Author

trvqhuy commented Jan 10, 2023

Hi @ophub , I have tried 2 dtb files above, but none of them works.

I can install and boot normally but when I go to "Network" from "armbian-config" command, the screen always shown as the image below:

image

@ophub
Copy link
Owner

ophub commented Jan 10, 2023

Which dtb are you using? The wired network is not available, and the IP is not obtained, right?

ifconfig
lsblk
cat /boot/uEnv.txt

@trvqhuy
Copy link
Author

trvqhuy commented Jan 10, 2023

try meson-sm1-x96-air.dtb or meson-sm1-a95xf3-air.dtb

I've test these 2 files as you'd said.

The wired network works fine with available IP on both dtb files above, but cannot do the "Wifi" config

@trvqhuy
Copy link
Author

trvqhuy commented Jan 10, 2023

Which dtb are you using? The wired network is not available, and the IP is not obtained, right?

ifconfig
lsblk
cat /boot/uEnv.txt

image

@ophub
Copy link
Owner

ophub commented Jan 10, 2023

The user did not reply halfway through the last test of this box, and has not collected available configurations. You can add configurations after you test that the wired box can be used. For wireless, you need to check whether there is a driver, modify the dtb or add a new dtb.

Did you copy u-boot? Execute the following command screenshot:

ls /boot/u-boot*

@trvqhuy
Copy link
Author

trvqhuy commented Jan 10, 2023

Yes I've copied the u-boot. Here is the screenshot:

image

@ophub
Copy link
Owner

ophub commented Jan 10, 2023

Your wireless/bluetooth chip is W522A?

@ophub ophub added documentation Improvements or additions to documentation support This need is supported new box Research Fills in the Blanks labels Jan 10, 2023
@trvqhuy
Copy link
Author

trvqhuy commented Jan 10, 2023

Your wireless/bluetooth chip is W522A?

Yes sir, the radio module is W522A, with the following specifications:

  • Name: X96 Max Plus 100W
  • CPU: Amlogic S905X3 quad-core ARM Cortex A55
  • GPU: ARM Mali-G31MP
  • Radio module: W522A
  • Memory: DDR3 4GB, FLASH 32GB
  • Support 10/100M Ethernet, 2.4 and 5G WiFi, BT4.0;
  • USB3.0 x 1, USB2.0 x 1, TF Card
  • HDMI, AV, SPDIF

@trvqhuy
Copy link
Author

trvqhuy commented Jan 10, 2023

My X96 Max Plus 100W and the 2101W have the same W522A radio module.

I hope I can help you with this link:
https://4pda.to/forum/index.php?showtopic=1013103&st=40#entry102780026

image

@ophub
Copy link
Owner

ophub commented Jan 10, 2023

https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/CONTRIBUTORS.md

Thanks for your beta feedback, your contribution has been added to the list of contributors. x96-max+100W has been added to the device list, and the serial number of the installation option is 517

It's almost 12 o'clock in the middle of the night today, I have to go to bed, and I have to work tomorrow. I will look up the driver information of this wireless tomorrow and reply to you.
Do you have the original android firmware for this box? Share a download link, I will back it up so that other people can restore the system and use it.

@trvqhuy
Copy link
Author

trvqhuy commented Jan 10, 2023

Yes, I do have the original firmware of this box in the following links:

https://drive.google.com/drive/folders/19ZoOEo5c5Ca7U48NtAfFLx2ErqLUA2JB?usp=share_link

https://cloud.mail.ru/public/xcUu/iJFKXGKBE

Thanks @ophub for your dedicated support for the community.
I'm waiting to hear good news from you!

@ophub
Copy link
Owner

ophub commented Jan 10, 2023

Do you know the short contact position of this box? Mark it on the motherboard picture?

@trvqhuy
Copy link
Author

trvqhuy commented Jan 10, 2023

Sorry I don't know the location of the short contact for this box.

However, I have flashed the original firmware with the tooth-picking method, thanks to the help of USB-Burning-Tool on Windows.

@ophub
Copy link
Owner

ophub commented Jan 10, 2023

https://github.com/unifreq/linux-5.15.y

No driver related to W522A can be found in the source code of the mainline kernel. Have you found his driver?

@trvqhuy
Copy link
Author

trvqhuy commented Jan 10, 2023

No I cannot find any information on the driver, however I found some related informations as I've mentioned.

I really hope it can help you.

The W552a is an Fn-Link K255B-SR.
The Fn-Link K255B-SR is an Amlogic W155S1 chip, with the following datasheet:
https://usermanual.wiki/HUNAN-FN-LINK-TECHNOLOGY/K255B-SR.User-Manual-5353157.pdf

I found two github for the sources of this module:
https://github.com/CoreELEC/w1-aml
https://github.com/adeepn/w1-aml

Tutorials for W155S1
https://blog.csdn.net/zhaojy5453/article/details/115484201

@ophub
Copy link
Owner

ophub commented Jan 10, 2023

Found several posts discussing this box, using an external USB wireless, not the one that comes with the box.

In fact, the wireless of the box is not very stable, and the wired network is more stable. Are you inconvenient to use a cable?

Android system I put here:
https://github.com/ophub/kernel/releases

@trvqhuy
Copy link
Author

trvqhuy commented Jan 10, 2023

Yeah, it's a pity that I cannot use the wired connection in my living area

@trvqhuy
Copy link
Author

trvqhuy commented Jan 10, 2023

But if it's so hard to install the wireless driver of this module, you don't need to waste your time for my box.

I've already seen your dedicated support here, please don't bother it.

@ophub
Copy link
Owner

ophub commented Jan 10, 2023

There are drivers in the mainline kernel source, and it's easy to create a dedicated dtb that includes wireless/bluetooth support.

However, the manufacturers of these TV boxes generally only disclose the drivers of the Android system, and rarely support the mainline kernel, so most drivers are hard to find.

@trvqhuy
Copy link
Author

trvqhuy commented Jan 10, 2023

I'm waiting for your news here.

Please tell me if you need any help, I will check this issue many times a day.

I had purchased 10+ of these TV Box from China for installing the Armbian for my working purpose, so that would be a pitty that this box cannot establish the wifi and bluetooth connection.

However that would be fine if you cannot find the driver for this one, I will try better luck in the future.

@Orefie
Copy link

Orefie commented Jan 10, 2023

Hi trvqhuy, ophub,
Another thought, the JetHome JetHub D1+ has the same wifi chip and it runs on armbian.
You can check its firmware to extract drivers and dtb files but it has a different processor.
So probably a lot of work to make it compatible.

The pins to shunt for a flash recovery are here.

reset_pin

@trvqhuy
Copy link
Author

trvqhuy commented Jan 11, 2023

Thanks @Orefie for the informations, I really hope it can help @ophub

@ophub
Copy link
Owner

ophub commented Jan 11, 2023

Which dtb does the JetHome JetHub D1+ use on Armbian?

@trvqhuy
Copy link
Author

trvqhuy commented Jan 11, 2023

Hi @Orefie , can you show us which dtb file does it use?

@trvqhuy
Copy link
Author

trvqhuy commented Jan 11, 2023

I've just figured out that the SlimBoxTV Image from the link below works fine with my 100W.
Both wifi and ethernet connection works normally.

SlimBoxTV image for X96 Max Plus 100W:
https://disk.yandex.ru/d/tuWOHY20DoI4Ow

Community:
https://4pda.to/forum/index.php?act=search&source=all&result=posts&sort=rel&subforums=1&query=w522a&forums=640&st=0

Hope it can help you.

@Orefie
Copy link

Orefie commented Jan 11, 2023

You can find all firmware for jethome d1+ here.
https://fw.jethome.ru/devices/jethome/D1P/
The custom rom SlimBoxTV "sbx_x96max_plus_2101w_aosp_15_4_1" works fine but this is an android rom.
This rom is useful to put the emc back in order after crashing the box. (short contact and Amlogic_USB_Burning_Tool)

@trvqhuy
Copy link
Author

trvqhuy commented Jan 12, 2023

Hi @ophub , is there anything that I can help you?

@ophub
Copy link
Owner

ophub commented Jan 12, 2023

There is no wireless driver, currently cannot support

@trvqhuy
Copy link
Author

trvqhuy commented Jan 12, 2023

Okay I got it, thank you for your support

@ophub ophub closed this as completed Jan 12, 2023
@royan204
Copy link

royan204 commented Jul 27, 2023

@ophub @trvqhuy hi... i need help, my X96max+ 100W wont boot to armbian. i did everything correctly i did change the uEnv.txt to correct dtb, i change the correct u-boot.ext as you mentioned before but nothing seems to work, x96max just keep booting to android and when i long press the reset button it enter boot menu and i chose boot from boatloader the booting screen just stuck forever. is there any step to make x96max to boot to sdcard, i already try to boot with adb and enable usb debugging and the result just the same, pls help i need a tutorial

@ophub
Copy link
Owner

ophub commented Jul 27, 2023

@royan204
Copy link

royan204 commented Jul 27, 2023

@ophub sorry, i don't understand point number 12.14 which one should i edit

@ophub
Copy link
Owner

ophub commented Jul 27, 2023

look at 12.4

@royan204
Copy link

IMG_20230727_21381283

@ophub please help me with this, i tried to change UUID to LABEL=ROOTFS doesn't
work either

@ophub
Copy link
Owner

ophub commented Jul 27, 2023

Why change uuid?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation new box Research Fills in the Blanks support This need is supported
Projects
None yet
Development

No branches or pull requests

4 participants