termux / termux/termux-api

Termux-api :: termux-wifi-enable (no work on BV9900 pro)

Open
#449 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
4.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

Problem description

Hello, as mentioned in the title,
The function: disable/enable wifi does not seem to work on
This smartphone while other features proposed in the api seem to work such as: termux-torch on;
This smartphone has a 10.0 rom and is in armv8l cpu mediatek

Steps to reproduce
su -c "logcat | tee termux-api-wifi.log" &
termux-wifi-enable false;
su -c 'echo "°enabled°" >> termux-api-wifi.log';
termux-wifi-enable true;
su -c 'echo "°disabled°" >> termux-api-wifi.log';
sleep 0.5; su -c "kill 9 $(pgrep logcat)";
cat -n termux-api-wifi.log | grep °;
termux-api-wifi.log

Expected behavior

Additional information

  • Termux application version: 0.117 & 0.48 :version Termux-api
  • Android OS version: 10.0
  • Device model: bv9900 pro

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with termux-wifi-enable false and true on the BV9900 Pro, then compare the attached termux-api-wifi.log with the command output. Trace the Android 10 Wi-Fi behavior used by this API and determine whether the failure is device-specific. Done means the cause and a verified fix or supported limitation are established.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
cli, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.