Disable Doze - MTCD Android Head Units Q&A

Hi all,
I'm trying to disable the Doze function of my unit, it is Android 10.
I try the following commands:
adb shell "dumpsys deviceidle unforce
adb shell dumpsys deviceidle disable
adb shell dumpsys deviceidle whitelist +com.tombayley.status.bar
But if I restart the unit the doze enable again automatically.
There is a way to disable?
Thanks in advance,

ranxero86 said:
Hi all,
I'm trying to disable the Doze function of my unit, it is Android 10.
I try the following commands:
adb shell "dumpsys deviceidle unforce
adb shell dumpsys deviceidle disable
adb shell dumpsys deviceidle whitelist +com.tombayley.status.bar
But if I restart the unit the doze enable again automatically.
There is a way to disable?
Thanks in advance,
Click to expand...
Click to collapse
Is it an MTCD unit, post screen shot of MCU version

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Related

[MOD][Samsung Devices] Unlock Hidden Toggles in Notification Panel

Unlock Hidden Toggles in Notification Panel
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have seen few posts related to unlocking some hidden toggles (Galaxy s4,s3, ...) but none listed a way to add them all.
Tested on JB S4,S3, Note 3 & Light but it might work with other Samsung devices.
First of all you have to install sqlite3 in /system/xbin.
you can get one here : (thanks to Slaid480)
https://github.com/Slaid480/Android-Universal-Fly-On-Mod/tree/Beta/sqlite
copy libncurses.so -> /system/lib/ (chmod 644)
copy sqlite3 -> /system/xbin/ (chmod 755)
Reboot
Backup (/data/data/com.android.providers.settings/databases/settings.db)
connect your device
adb shell
su
Code:
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "insert into \"system\" values(null, 'notification_panel_active_app_list','Wifi;MobileData;Location;SilentMode;AutoRotate;Bluetooth;Ebook;DormantMode;WiFiHotspot;Brightness;PowerSaving;AllShareCast;MultiWindow;SBeam;Nfc;AirView;AirGesture;SmartNetwork;ToddlerMode;PersonalMode;DrivingMode;SmartStay;SmartScroll;SmartPause;Sync;AirplaneMode;DoNotDisturb;');"
Code:
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "insert into \"system\" values(null, 'notification_panel_active_app_list_for_reset','Wifi;MobileData;Location;SilentMode;AutoRotate;Bluetooth;Ebook;DormantMode;WiFiHotspot;Brightness;PowerSaving;AllShareCast;MultiWindow;SBeam;Nfc;AirView;AirGesture;SmartNetwork;ToddlerMode;PersonalMode;DrivingMode;SmartStay;SmartScroll;SmartPause;Sync;AirplaneMode;DoNotDisturb;');"
Reboot
Note: @jovy23 has posted another way to do it but you need to run factory reset.
Done !!

App Mount, mount/umount apps that you don't like on Android, without root.

App Mount, mount/umount apps that you don't like on Android, without root.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
https://github.com/mthli/Mount/releases
mount: available for use as normal.
umount: unavailable for use, but the data and actual package file remain.
You can run app temporary, when screen off app will be automatically umounted.
Tutorial
0. Download and install App Mount;
1. System Settings > Accounts, remove all accounts here;
2. Run adb command below:
Code:
adb shell dpm set-device-owner io.github.mthli.mount/.app.MountReceiver
3. Goto App Mount's settings, allow UsageAccess/NotificationAccess for ignore;
4. In App Mount, click list item, dialog right-top switch mount/umount.
Cheers
Hi,
Sounds interesting.
Can i ask:
-why do accounts need to be removed?
-if an app is unmounted is it still running or is it disabled?

[GUIDE] Fix for notification icons being cut in half

If you upgraded to Pie and noticed that the notification icons are not displayed properly (as seen on the picture), here's a fix
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1. Install platform-tools (adb and fastboot)
2. Enable USB Debugging in Developer Options
3. Connect your phone to the PC and enter this command in the terminal:
Code:
adb shell settings put secure sysui_rounded_content_padding 0
Nice, i will try this. At least for me i solved this bug restarting with "A Factory Reset" or restarting in secure mode when that happen. Other bug is that in Horizontal Mode sometimes the icon in status bar when a notification arrive dont appear.
Will Try this Solution. Thanks so much <3
Worked like a charm! Thanks!
Worked perfectly. Thank you very much!
It's been so irritating since the pie update and you're life saver. Thanks so much. ??

fix key messages (Google Key) on cubot X19

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
fix key messages (Google Key) on cubot X19
This method worked for me to get rid of the key messages «(Google Key)» . With adb platform tools use this command prompt
the you need to be installed
adb driver
How to install Best Android ADB Driver on your computer​- download adb.zip (Attached file) unzip to your computer desktop
- Open a command prompt inside a folder adb. right mouse button l menu, select to open a command window
- copy and paste command [adb devices] (Check Device by Sending below Command)
Example of making sure to connect to the phone
Code:
adb devices
Code:
adb shell pm uninstall -k --user 0 com.mediatek.factorymode
Restart the device
NEXT
[GUIDE] CUBOT X19​

{CLOSED} [APP][7.0+][MIUI] 5G Switcher (You can quickly switch to 5G in MIUI notification center.)

You can quickly switch to 5G in MIUI notification center.
NOTE: This app only supports MIUI system.
1. Add the toggle to MIUI notification center
In the notification center editing mode, you can find "5G Switcher" at "Available toggles". After adding, long-press the toggle to open settings.
2. Support ADB Shell commands
It is convenient for ROOT devices to run automated scripts by this adb cmd:
# Turn on 5G with "true" or turn off with "false"
am start -n com.ysy.switcherfiveg/.MainActivity --ez enable_5g true
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download:
xxxxxxx
Mod Edit: Link removed.
This is my first app developed by myself on Play Store, thanks for your support!
MOD ACTION:
Thread closed and link removed.
@ysy950803
Please check your PM inbox.

Categories

Resources