[GH-ISSUE #49] [Enhancement] Option to automatically enable WiFi Debug when LADB launches #39

Closed
opened 2026-03-04 02:11:01 +03:00 by kerem · 2 comments
Owner

Originally created by @e-t-l on GitHub (Dec 2, 2021).
Original GitHub issue: https://github.com/tytydraco/LADB/issues/49

Since apps are able to write the system setting [Global] adb_wifi_enabled(1) It would be nice if there were an option IN LADB to activate wifi debugging automatically on launch, so users don't have to go into Dev Settings and turn it on manually.

(It would also be good for LADB to then set [Global] adb_wifi_enabled(0) upon exit, but I'm not sure how this would be accomplished without a persistent background service to monitor LADB's running status. Such a service could kill itself right after it sets the system setting, and if it's only triggered by LADB's launch, it shouldn't be a drain on phone resources, but background services are beyond my ability to code).

I'm not familiar with using Kotlin as it is, but if this sounds like a feature you'd be interested in adding, I can take a look and see how far I can get in a new branch.

Originally created by @e-t-l on GitHub (Dec 2, 2021). Original GitHub issue: https://github.com/tytydraco/LADB/issues/49 Since apps are able to write the system setting `[Global] adb_wifi_enabled(1)` It would be nice if there were an option IN LADB to activate wifi debugging automatically on launch, so users don't have to go into Dev Settings and turn it on manually. (It would also be good for LADB to then set `[Global] adb_wifi_enabled(0)` upon exit, but I'm not sure how this would be accomplished without a persistent background service to monitor LADB's running status. Such a service could kill itself right after it sets the system setting, and if it's only triggered by LADB's launch, it shouldn't be a drain on phone resources, but background services are beyond my ability to code). I'm not familiar with using Kotlin as it is, but if this sounds like a feature you'd be interested in adding, I can take a look and see how far I can get in a new branch.
kerem 2026-03-04 02:11:01 +03:00
Author
Owner

@tytydraco commented on GitHub (Jan 14, 2022):

This is a good idea! I can look into this feature.

<!-- gh-comment-id:1013348422 --> @tytydraco commented on GitHub (Jan 14, 2022): This is a good idea! I can look into this feature.
Author
Owner

@tytydraco commented on GitHub (Jan 15, 2022):

Added in github.com/tytydraco/LADB@f4eaf469e5

<!-- gh-comment-id:1013760986 --> @tytydraco commented on GitHub (Jan 15, 2022): Added in https://github.com/tytydraco/LADB/commit/f4eaf469e596498eba7ea0117d668b836b9859b2
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LADB#39
No description provided.