[Dell Venue] pstglia:
Hi,

This is the list of missing features / issues:

Choose one of your preference and hands on! :)

update 2022-05-31: Audio and Rotation were fixed.

kernel display driver was updated. Experience is smoother

-[FIXED] Wi-fi is not working:

Help wanted: Fix code and make it work:

Status so far: Fixed.

It will work on boot if you keep it enabled. If you disable Wi-fi from settings and try to re-enable (or switch on/off airplane mode), it will stop working until you boot it again.

update 2022-06-02: Discovered that you can't ioctl wlan0 to up state when you disable it (using root + proper capabilities).

However, if you rmmod bcm4330 and insmod it again, you can enable it.

It seems a driver issue.

update 2022-06-03: Using stock kernel module for network, no issues with ioctl after disbling wi-fi

update 2023-06-13: Using T00F bcmdhd source with some changes to enable 4330, it runs ok.Now it's using compiled drivers for wi-fi instead of stock ones (except for firmwares)

-[FIXED] Sound is not working:

Help wanted: Investigate what's wrong and fix it

Status: Fixed [working since updated 2022-05-29]

Note: libaudio from stock image couldn't be loaded, so generated one from Android-x86 libaudio code (see [2]).

Maybe adjusts are needed on source, config and Boardconfig files.

update 2022-05-22: all libs are being loaded, but there are some errors when trying to load codecs. Config files must be checked (as well libs);

- [FIXED] Navigation menu is not being displayed:

Help wanted: Discover why is not being shown and fix it

Status: Fixed (created a overlay on device tree and made "def_force_show_navbar" to be enabled - see commit 8768b512c08b5fc60a7d7674ffce7c3a23a7857a)

- Camera is not working:

Help wanted: Make it work

Status so far: HALs must be copied. Possibly lot's of shims and Voodoos/Mojos required.

- [FIXED] Sensors are not working:

Help wanted: Make it work

Status: Fixed (replaced sensor_hal_config files)

- [FIXED] Bluetooth is not working:

Help wanted: Make it work

Status do far: Fixed (used harware/broadcom/libbt instead of vendor lib)

- [FIXED] Port/Enable zram to kernel:

Help wanted: Porting :)

Status: Enabled from stage tree (it was there all the time).

Seems to be working (at least swap was mounted using it)

- [FIXED] Sometimes backlight doesn't light up after resume

Status: Fixed. This ocurred when an out of range bright level was used ( > 100)

Edited liblights code (device/dell/P801_NoModem/liblights) and included a small check to ensure/force valid values ( from 0 to 100)

- [FIXED] ADB only works using network. Not working using USB

Status: Fixed. Copied drivers/usb/gadget changes from T00F Asus kernel and applied to Venue kernel

- Elevated Battery draining (specially on suspend attempt)

Something is blocking system from suspend. If you check dmesg, it keeps an infinite loop of suspend process (disable tasks, disable CPU's) and abort.

At first, wakeup reason is the "misterious" NETLINK. However, even blocking it and some other wakeup_sources it wakes.

This shows suspend backtrace (got from dump_stack):

[ 697.149972] Call Trace:
[ 697.149984] [<c19f90f3>] dump_stack+0x16/0x18
[ 697.149990] [<c12bc9c1>] resume_irqs+0xa1/0xe0
[ 697.149996] [<c12bca2f>] resume_device_irqs+0xf/0x20
[ 697.150004] [<c156a151>] dpm_resume_noirq+0x1a1/0x2b0
[ 697.150010] [<c156a8d0>] dpm_resume_start+0x10/0x20
[ 697.150015] [<c1288945>] suspend_enter+0xa5/0x260
[ 697.150022] [<c1a03cbd>] ? sub_preempt_count+0x3d/0x50
[ 697.150028] [<c1a03cbd>] ? sub_preempt_count+0x3d/0x50
[ 697.150034] [<c19f4646>] ? printk+0x3d/0x3f
[ 697.150040] [<c1569adc>] ? dpm_show_time+0xbc/0xf0
[ 697.150046] [<c156b952>] ? dpm_suspend+0x132/0x1e0
[ 697.150052] [<c1288baf>] suspend_devices_and_enter+0xaf/0x220
[ 697.150057] [<c1288fb8>] pm_suspend+0x298/0x300
[ 697.150063] [<c1289935>] try_to_suspend+0xa5/0xc0
[ 697.150069] [<c1a0091d>] ? _raw_spin_unlock_irq+0x1d/0x40
[ 697.150076] [<c125ebad>] process_one_work+0x11d/0x3d0
[ 697.150082] [<c14b091e>] ? __delay+0xe/0x10
[ 697.150088] [<c125f239>] worker_thread+0xf9/0x320
[ 697.150093] [<c1a00966>] ? _raw_spin_unlock_irqrestore+0x26/0x50
[ 697.150099] [<c125f140>] ? rescuer_thread+0x2b0/0x2b0
[ 697.150104] [<c1264cf4>] kthread+0x94/0xa0
[ 697.150112] [<c1a07077>] ret_from_kernel_thread+0x1b/0x28
[ 697.150117] [<c1264c60>] ? kthread_create_on_node+0xc0/0xc0
[ 697.150121] Wakeup from IRQ 32 penwell_otg

/sys/kernel/debug/mid_pmu_states and other files can give hints about the root cause.

Anyway, if you want to adventure yourself on trying to solve the problem, be my guest :)

[1] - https://github.com/pstglia/linux/tree/DELL_VENUE_LOS_14.1/modules/wlan/PRIVATE/bcm43xx

[2] - https://github.com/pstglia/hardware-libaudio/tree/DELL_VENUE_LOS_14.1