Kinhank G1

You may not be confused
I still am
Who cares about Windows and ethernet adapters…

Your questions are hypothetical
Your box is not missing a chip?
What are you trying to solve?

Originally you tagged Portisch to look at an image of a ethernet adapter.

Maybe he can answer :thinking:

Iam out

Happy Testing

Was the question by any chance given to you when there was some talk about that mention on network ethernet and adapters?
So again, happy testing :blush:

no ones answered my question. What’s the point making it on request to share this firmware when it’s been given out to anyone that asks it. You think SDMC won’t make an account and ask for it?
Damn you SDMC!, this would have been such an amazing Kodi box and you ruined it

OMG - This is the end of the world
There are so much boxes, why are You crying and crying ?

This box isn´t amazing

3 Likes

What sort of answer are you expecting? What if SDMC gets hold of this FW? What can they do about it…, not a thing :slight_smile:

As I was very happy with the box with @hungphutho 's firmware I ordered a second one… Flashing Android went well as expected. But…

This one does not boot CE-NG with the device tree “sc2_s905x4_kinhank_g1”
It boots with the generic “sc2_s905x4_4G” but wifi and bluetooth are not working
it boots CE-NE but wifi and bluetooth are missing again.

Both devices are a model DV8910, the good one has a serial beginning with 24200xxx. the problematic one a serial of 24600xxx

So the G1 is a hit & miss for CE…

2 Likes

Few days ago I wrote I can’t boot CoreELEC on my new Kinhank G1. I didn’t open it but I think I have the one with missing ethernet chip. S/N also starts with 24600…
It’s my first time using CoreELEC. Previously I was using just LG webOS apps such as Plex and Emby with my HTPC running Plex and Emby servers.
If the reason to hang on boot is caused by missing ethernet chip I thought if we can just take a sc2_s905x4_kinhank_g1.dtb and remove a support for 1Gb LAN from this file. I tried to do it. I decompiled sc2_s905x4_kinhank_g1.dtb, sc2_s905x4_4g_1gbit.dtb and sc2_s905x4_4g.dtb to DTS files. Then I opened them in Notepadd++ using “Compare” plugin and looked for differences. I made 4 changes in sc2_s905x4_4g.dts file, recompiled it to DTB and tried on my Kinhank G1. Box boots normally without hanging. It seems to Wifi and Bluetooth working but I didn’t test. I can see a list of available networks and bluetooth devices. I’m not going to use Wifi but ethernet only. I have an USB 3.0 1Gb/s ehternet adapter. I was using it last few years on my LG E9 TV which have only 100Mb ethernet. I tested it on sc2_s905x4_4g and my modified DTB file. Both times I gained around 280Mb/s in iperf.

I tried to boot using a sc2_s905x4_kinhank_g1.dtb with USB ethernet adapter connected like Hassan suggested few posts ago but it didn’t work.

1 Like

I am sure there is an ethernet chip inside, I have working LAN even if it is only 100 mbit if I boot with CE-NG and generic sc2_s905x4_4G.dtb and in ATV everything works. Still CE does not find an SDIO device :frowning:

Can someone check my dsmeg result if it shows anything?:
dsmeg result link

CoreELEC-G1ng:~ # dmesg | grep dhd
[    0.516950@2]- Wifi: bcmdhd_init_wlan_mem: [dhd] STATIC-MSG) bcmdhd_init_wlan_mem : 101.10.361.10 (wlan=r892223-20210623-1)
[    0.517388@2]- Wifi: bcmdhd_init_wlan_mem: [dhd] STATIC-MSG) bcmdhd_init_wlan_mem : prealloc ok: 8162304(7971K)

CoreELEC-G1ng:~ # ethtool eth0 | grep Speed
        Speed: 100Mb/s
CoreELEC-G1ng:~ # udevadm info /sys/bus/sdio/devices/* | paste
Unknown device "/sys/bus/sdio/devices/*": No such device
https://paste.coreelec.org/EmptyPaste

could you post that dtb.img here? I could try it as I could live with 100MB LAN but not without wifi. Thanks.

If you can SSH on NG nightly version, try these and see if it works for wifi&BT

mount -o rw,remount /flash
fdtput -t s /flash/dtb.img /sdio@fe088000 status disabled
fdtput -t s /flash/dtb.img /pcieA@f5000000 status okay
sync
reboot
1 Like

Hey guys, I have two Kinhank G1 boxes. The firt one works great with current CE-NG nightly (wifi, BT, GB LAN). The second one does not even boot with the same NG build or same SD-card (with sc2_s905x4_kinhank_g1.dtb).
It boots though using the general sc2_s905x4_4G.dtb), but Wifi and BT are not awailable and LAN is only 100 mbit.


      Machine model: Amlogic
     CoreELEC dt-id: sc2_s905x4_4g
      Linux version: 4.9.269 (docker@2265665cdd69) #1 Thu Oct 17 07:09:40 IDT 20                           24
      Kodi compiled: 2024-10-17 04:49:10 +0000

CoreELEC-G1ng:~ # ethtool eth0 | grep Speed
        Speed: 100Mb/s
CoreELEC-G1ng:~ # udevadm info /sys/bus/sdio/devices/* | paste
Unknown device "/sys/bus/sdio/devices/*": No such device
https://paste.coreelec.org/EmptyPaste
CoreELEC-G1ng:~ # udevadm info /sys/bus/pci/devices/* | paste
Unknown device "/sys/bus/pci/devices/*": No such device
https://paste.coreelec.org/EmptyPaste
CoreELEC-G1ng:~ # lspci | paste
-sh: lspci: command not found
https://paste.coreelec.org/EmptyPaste
CoreELEC-G1ng:~ # dmesg | paste
https://paste.coreelec.org/YachtAubrey
CoreELEC-G1ng:~ #

Because they sell boxes with not correct working LAN chip and get only 100MBit. So they saved again money to not solder the LAN chip at all anymore.
And modified the kernel to work for both revisions.

We had some experience in past with such vendor by swapping any parts on the board what did cause stop booting again.

The support by CE will be dropped in future release for this device.
The new hardware shipped is locked anyway and not able to boot third party systems.

1 Like

https://www.dropbox.com/scl/fi/vniw08vfc240a7wsavqr0/sc2_s905x4_kinhank_g1_new_revision.dtb?rlkey=r7ohzqk54pm1yyrwt5vg86qr8&st=1e5inq1n&dl=0

I totally understand the concept of removing the device from the supported list, but why would it be completely deleted as a compatible HW with CE when it can continue working as before? I mean drivers for lan&wifi&BT with the righ DTB file.

Anyone else can just create a customised DT when they want. But official support by Team CE is closed.

2 Likes

Probably Kinhank G1 old revision have 2 ethernet chips. One integrated in SOC (100Mb) and second soldered on PCB (1000Mb). When we run CE-NE integrated chip is used. When we run CE-NG soldered chip is used.
In the new revision of Kinhank G1 there is only integrated chip.

3 Likes

Thank you, very kind of you for sharing.
Your modified dtb works => boots and wifi & BT are available.

I have two new PCIe devices:
E: ID_VENDOR_FROM_DATABASE=Synopsys, Inc.
E: ID_MODEL_FROM_DATABASE=DWC_usb3 / PCIe bridge
and
E: ID_VENDOR_FROM_DATABASE=Broadcom Inc. and subsidiaries
E: ID_MODEL_FROM_DATABASE=BCM43752 802.11ax Dual Band Wireless LAN Controller

Not anyone can do a customised DT. My box is working OK with CE and I use it as my primary device now. Please do not drop support for it.

It’s already done.

Just continue using the device until all others are locked out by Android.

1 Like

The fact that there are two revisions of the G1 is not a great deal, we would only need different dtb images (100Mbit and 1000 Mbit). Even such undocumented moves disqualify the vendor from being thrustworty.

But one must admit that CE support should be dropped for devices which are or get its bootloader locked and encrypted. Makes no sense to invest the effort.

1 Like