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

Update davinci devices status #238

Open
ghost opened this issue Aug 26, 2023 · 10 comments
Open

Update davinci devices status #238

ghost opened this issue Aug 26, 2023 · 10 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Aug 26, 2023

I have tested the latest version (20.0) on the Xiaomi 9T.

Working:

  • Audio
  • Camera
  • Cell Service
  • GPS

Not working:

  • Wifi (work with lineageOS)

Possible improvement:

The maximum number of character for the screen lock is 16, which is too low for me. Is it possible to augment the max size ?

PS

If you want me to test other functionalities, don't hesitate to ask.

@SkewedZeppelin
Copy link
Member

Can you elaborate on Wi-Fi not working? That is critical functionality.

And lock screen password is already set to 64 chars max for a long while now.

@ghost
Copy link
Author

ghost commented Aug 26, 2023

Okay, I have reinstall DivestOS 20.0 (I used the lineage recovery because #237).

Can you elaborate on Wi-Fi not working? That is critical functionality.

When enabling the wifi, the devices doesn't find any hotspot (No other networks available).

And lock screen password is already set to 64 chars max for a long while now.

I just checked again, the limit is indeed 64 (sorry).

@SkewedZeppelin
Copy link
Member

@GarciaLnk
did you encounter any wifi issues in your build?

@SkewedZeppelin SkewedZeppelin added the bug Something isn't working label Aug 26, 2023
@GarciaLnk
Copy link
Contributor

Sorry I was out on vacation and I didn't have time to test it until now, wifi is broken in my build too.

Here's the relevant logcat trying to activate the wifi in the 20230825 build:

08-28 01:59:12.276  1132  1576 I WifiService: setWifiEnabled package=com.android.settings uid=1000 enable=true isPrivileged=true
08-28 01:59:12.278  1132  1620 D WifiActiveModeWarden: Starting primary ClientModeManager in connect mode
08-28 01:59:12.278  1132  1620 D WifiController: DisabledState.exit()
08-28 01:59:12.278  1132  1620 D WifiController: EnabledState.enter()
08-28 01:59:12.279  1132  1620 D WifiClientModeManager[unknown]: entering IdleState
08-28 01:59:12.280   770   770 W [email protected]: type=1400 audit(0.0:488): avc: denied { search } for name="tombstones" dev="dm-5" ino=25 scontext=u:r:hal_wifi_default:s0 tcontext=u:object_r:vendor_tombstone_data_file:s0 tclass=dir permissive=0
08-28 01:59:12.281  1132  1620 I android_os_HwBinder: HwBinder: Starting thread pool for getting: [email protected]::IWifi/default
08-28 01:59:12.283   770   770 E [email protected]: Failed to open directory: Permission denied
08-28 01:59:12.283   770   770 E [email protected]: Error occurred while deleting old tombstone files
08-28 01:59:12.283   770   770 E [email protected]: Error writing files to flash
08-28 01:59:12.284   770   770 I [email protected]: Wifi HAL stopped
08-28 01:59:12.285  1132  1620 I WifiNative: Vendor HAL died. Cleaning up internal state.
08-28 01:59:12.283   770   770 W [email protected]: type=1400 audit(0.0:489): avc: denied { read } for name="u:object_r:persist_vendor_debug_wifi_prop:s0" dev="tmpfs" ino=26014 scontext=u:r:hal_wifi_default:s0 tcontext=u:object_r:persist_vendor_debug_wifi_prop:s0 tclass=file permissive=0
08-28 01:59:12.288   770   770 W libc    : Access denied finding property "persist.vendor.debug.wifi.hal.preset_interface_combination_idx"
08-28 01:59:12.289   770   770 I [email protected]: Wifi HAL started
08-28 01:59:12.294   770   770 W [email protected]: No active wlan interfaces in use! Using default
08-28 01:59:12.294   770   770 E [email protected]: Unknown iface name: wlan0
08-28 01:59:12.294   770   770 E [email protected]: Unknown iface name: wlan0
08-28 01:59:12.298   770   770 W [email protected]: No active wlan interfaces in use! Using default
08-28 01:59:12.298   770   770 E [email protected]: Unknown iface name: wlan0
08-28 01:59:12.298   770   770 E [email protected]: Unknown iface name: wlan0
08-28 01:59:12.300  1132  1620 I WifiVendorHal: Vendor Hal started successfully
08-28 01:59:12.303   770   770 W [email protected]: No active wlan interfaces in use! Using default
08-28 01:59:12.304   770   770 E [email protected]: Unknown iface name: wlan0
08-28 01:59:12.304   770   770 E [email protected]: Unknown iface name: wlan0
08-28 01:59:12.305  1132  1680 W HalDevMgr: createRttControllerIfPossible: not available from any of the chips
08-28 01:59:12.309   770   770 W [email protected]: No active wlan interfaces in use! Using default
08-28 01:59:12.309   770   770 E [email protected]: Unknown iface name: wlan0
08-28 01:59:12.309   770   770 E [email protected]: Unknown iface name: wlan0

@ghost
Copy link
Author

ghost commented Oct 16, 2023

After a month, I found another problem. The GPS lock is extremely slow (~15 min), which makes GPS unusable.

@ghost
Copy link
Author

ghost commented Oct 16, 2023

Do you have the time (@SkewedZeppelin) to fix the Wi-Fi bug ? I understand if you don't. I just want to know if version 20.0 will be maintained.

PS: I am available to help you debug this. And thank you for this project.

@SkewedZeppelin
Copy link
Member

Slow GPS lock is expected: https://divestos.org/pages/broken#papercuts

I don't know what is causing the Wi-Fi issue, and I don't have one to debug with.

@ghost
Copy link
Author

ghost commented Oct 16, 2023

Slow GPS lock is expected: https://divestos.org/pages/broken#papercuts

About the slow GPS, the previous version (17.1) was faster (slow first lock but quick after). Version 20.0 is always slow.

I don't know what is causing the Wi-Fi issue, and I don't have one to debug with.

If you explain to me which command should be executed, I can send you some log. If you don't have the time to do the slow process of async debugging, don't worry I will switch back to the version 17.0.

@ghost
Copy link
Author

ghost commented Oct 23, 2023

@SkewedZeppelin Sorry to ping you again. Can I have a definitive answer to my previous comment ?

@SkewedZeppelin
Copy link
Member

SkewedZeppelin commented Nov 8, 2023

I'm still not sure what the issue is and it appears vayu has the same issue under 20.0 as well.

I'll try and see what they have in common.

edit: of what they had in common there were only two wifi related patches and both have been there for years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants