OUKITEL U7 PRO captive portal detection - General Questions and Answers

How to disable captive portal detection on Android 7.0?
OUKITEL U7 Pro - Android 7
i try put this command on ADB Shell: settings put global captive_portal_detection_enabled 0
but terminal response is java no permission ...ect-- bla bla bla
Can anyone help me ?

MauMorris said:
How to disable captive portal detection on Android 7.0?
OUKITEL U7 Pro - Android 7
i try put this command on ADB Shell: settings put global captive_portal_detection_enabled 0
but terminal response is java no permission ...ect-- bla bla bla
Can anyone help me ?
Click to expand...
Click to collapse
You did not use "su" to get the required permissions, e.g.
Code:
adb shell su -c settings put global captive_portal_mode 0
Note that "captive_portal_mode" is the setting for Android 7 and obove...

Terminal
your code not works... my device root not accept (su) command
i not understand why

there is some App for Terminal Android adb shell ?

Related

bypass android security new method!!!

I know the last 2 ways of bypassing android security doesn't work anymore for some devices here i found the solution (adb shell rm /data/system/gesture.key does not work and lets not talk about te other method the simple solution is this command. OPEN cmd connect your device usb deb should be on. Type adb devices then adb shell+enter then su+enter then rm /data/system/gesture.key and that's it no morelocked devices . EAsy solution gime the credits efren calvario if your are gonna repost my commands

gsam access permission still not granted try again

Any help for enable more stats
realme 5 pro android 10 without root
im try
adb shell pm grant com.gsamlabs.bbm.pro android.permission.BATTERY_STATS
adb shell settings put global hidden_api_policy 1
adb shell settings get global hidden_api_policy 0
adb shell settings get global hidden_api_policy
nothing changed
​
+1

{Guide} Fix yellowish display aka night-light [rootless and magisk] \(◎o◎)/

~Fix nightlight in MIUI~
For what is it?
Sometimes it happens that the Google setup activates the "classic" Nightlight mode from AOSP.
This one doesn't work like MIUI handles this feature.
This means that deactivation via the settings is not possible and your display will get every day to same time yellowish.
Will I have to do this after every new installation?
No, when you use the backup function from Google it will sync this settings and bug is fixed until you restore a old google backup or one from a other phone.
Post 2:
Rootless guide via PC (Mac/Windows/Linux/Other Phone with adb binary)
Post 3:
Root guide via termux (or any other terminal emulator)
•rootless•
For PC: *
Open either powershell or cmd or terminal, this depends on your installed system and run one after the other the following commands:
adb shell settings put secure night_display_activated 0
adb shell settings put secure night_display_auto_mode 0
\_That's all!_/
This star is talking to you
↓
*
You have to install adb binarys for your system before you can run this command.
Installation guide: https://wiki.lineageos.org/adb_fastboot_guide.html#installing-adb-and-fastboot
•rooted•
For termux**:
Open termux and run one after the other the following commands:
su
env -i USER=shell "$(PATH=/system/xbin:/system/bin:/su/bin:/sbin:/magisk/.core/bin which su)" shell --context u:r:shell:s0 --shell /system/bin/sh --command settings put secure night_display_activated 0
env -i USER=shell "$(PATH=/system/xbin:/system/bin:/su/bin:/sbin:/magisk/.core/bin which su)" shell --context u:r:shell:s0 --shell /system/bin/sh --command settings put secure night_display_auto_mode 0
\_That's all!_/
This stars are talking to you
↓
**
You need a magisk rooted device and termux
Download: https://play.google.com/store/apps/details?id=com.termux

ADB shell responds differently in terminal emulator

I tried to execute the following through adb on windows, and it works fine.
.\adb.exe shell cmd overlay enable com.android.internal.systemui.navbar.gestural
However, when I tried this:
cmd overlay enable com.android.internal.systemui.navbar.gestural
, via terminal emulator, it throws an error saying:
cmd: Can't find service: overlay
Click to expand...
Click to collapse
Why is it that it works, through adb from windows, and not through terminal emulator?
Don't both of them interact with the same shell environment?
Are there some sort of permission differences between the two, causing such discrepancies?
manish_s said:
...
cmd overlay enable com.android.internal.systemui.navbar.gestural
, via terminal emulator, it throws an error ...
Click to expand...
Click to collapse
If you are rooted (Magisk su#), you can launch any shell command, on-the-fly, with ADBungFu https://forum.xda-developers.com/t/...pops-manager-adb-simulator-su-magisk.4104149/
oF2pks said:
If you are rooted (Magisk su#), you can launch any shell command, on-the-fly, with ADBungFu https://forum.xda-developers.com/t/...pops-manager-adb-simulator-su-magisk.4104149/
Click to expand...
Click to collapse
Not rooted. Is it expected to work otherwise too, right?

DeGoogling

Hi
I used to use Cyanogenmod on my phones years ago and want to DeGoogle my Samsung A12. CF-ROOT is what I always used and Odin but It's not supported and seems to be depreciating. What Is the way forward now as I don't think Lineage does anything like a rom for this phone. I've gone for this phone because It's easy to get the back off and disconnect the battery easily.
Can you help?
Kind Regards
Graeme
You may manually - or programmatically by a script that makes use of ADB-commands - remove / uninstall all of Google's services and apps ( read: GMS ) what are put inside the running Android system. You can't do that unless you have the permissions level of the system itself - means ROOT, and you can't remove / uninstall files that are in use.
Example of a Degooglefy script
Code:
adb devices
adb root & adb shell "stop"
for /F "tokens=2 delims=:" %%a in ('adb shell "pm list packages | grep 'google'"') do (
set "pkg=%%a"
if NOT [%pkg%]==[] (
adb uninstall %pkg%
)
)
adb shell "start"
adb reboot
jwoegerbauer said:
You may manually - or programmatically by a script that makes use of ADB-commands - remove / uninstall all of Google's services and apps ( read: GMS ) what are put inside the running Android system. You can't do that unless you have the permissions level of the system itself - means ROOT, and you can't remove / uninstall files that are in use.
Example of a Degooglefy script
Code:
adb devices
adb root & adb shell "stop"
for /F "tokens=2 delims=:" %%a in ('adb shell "pm list packages | grep 'google'"') do (
set "pkg=%%a"
if NOT [%pkg%]==[] (
adb uninstall %pkg%
)
)
adb shell "start"
adb reboot
Click to expand...
Click to collapse
Thanks
Problem is I don't know how to achieve root to this device since I always previously used CF-ROOT sadly depreciated. I've unlocked the bootloader and have odin but no further forward.
Graeme3514
If anyone can help me root and get another software on this phone I'll donate/ pay , whatever. I'm sick of having Google running in the background and CF-ROOT is now depreciated, sadly.
jwoegerbauer said:
You may manually - or programmatically by a script that makes use of ADB-commands - remove / uninstall all of Google's services and apps ( read: GMS ) what are put inside the running Android system. You can't do that unless you have the permissions level of the system itself - means ROOT, and you can't remove / uninstall files that are in use.
Example of a Degooglefy script
Code:
adb devices
adb root & adb shell "stop"
for /F "tokens=2 delims=:" %%a in ('adb shell "pm list packages | grep 'google'"') do (
set "pkg=%%a"
if NOT [%pkg%]==[] (
adb uninstall %pkg%
)
)
adb shell "start"
adb reboot
Click to expand...
Click to collapse
If anyone can help me root and get another software on this phone I'll donate/ pay , whatever. I'm sick of having Google running in the background and CF-ROOT is now depreciated, sadly.
Graeme

Categories

Resources