Redmi 12C (earth) hotspot and tethering issue [Missing Library in /vendor]

Expected Behavior

When enabling hotspot/tethering the network should be able to work correctly and be able to share the network.

Current Behavior

The hotspot settings are not working, enabling hotspot from the Quick Settings works and outputs a router network.. but no data are able to be transferred.

Unrelated note, i have found a temporary way to fix this issue.. but it is NOT a permanent one Copying libnetutils.so from /system/lib64 to /vendor/lib64 with read and write permissions (overlay) makes all the artifacts and issues get fixed until reboot.

Steps to Reproduce

  • On a Redmi 12C device, Install LineageOS 21 normally with or without GAPPS / Add-ons

  • Setup the device.

  • Open the Quick Settings menu.

  • Edit the QS menu so that it shows the "Hotspot" Option

  • Enable the "Hotspot" Option

  • Does not work, either hotspot stays on forever, either it gets stuck on "Turning on.."

  • IMG_20240715_183909

  • Check in any ways the logcat output of the device.

2024-07-15 18:22:24.242 6832 6832 system F linker : CANNOT LINK EXECUTABLE "/vendor/bin/hw/tetheroffloadservice": library "libnetutils.so" not found: needed by main executable

Device information

/device earth

/version lineage-21

/date 2024-07-15

/kernel Linux localhost 4.19.306-perf-ge1d7983c7a49 #1 SMP PREEMPT Mon Jul 15 06:20:14 UTC 2024 aarch64 Toybox

/baseband MOLY.LR12A.R3.MP.V98.3.P48,MOLY.LR12A.R3.MP.V98.3.P48

/mods none

I have read the directions.

Edited by JuiceyDev