Is there an ADB command for no root to swap back and recent on the navbar? - Fire Q&A, Help & Troubleshooting

Hello all, I'm used to having my back on the right and recents on the left on the nav bar but for some reason Amazon won't let me swap them in the settings. So I tried to the ADB commands
adb shell settings put secure sysui_nav_bar "STRING"
And
adb shell settings put secure sysui_nav_bar "space,recent;home;back,space"
But the second command gave me an error and it didn't work. Is there something I'm missing or is rooting my only option?

SoapyTaco said:
Hello all, I'm used to having my back on the right and recents on the left on the nav bar but for some reason Amazon won't let me swap them in the settings. So I tried to the ADB commands
adb shell settings put secure sysui_nav_bar "STRING"
And
adb shell settings put secure sysui_nav_bar "space,recent;home;back,space"
But the second command gave me an error and it didn't work. Is there something I'm missing or is rooting my only option?
Click to expand...
Click to collapse
Even with root swapping back/recents is not easy (reliable) in the absence of a custom ROM or Xposed Framework + GravityBox or similar tool.

Davey126 said:
Even with root swapping back/recents is not easy (reliable) in the absence of a custom ROM or Xposed Framework + GravityBox or similar tool.
Click to expand...
Click to collapse
Ah, I see. I guess I can root and install Xposed and try it that way. Bit silly that something so basic isn't just included, I really hate FireOS.

SoapyTaco said:
Ah, I see. I guess I can root and install Xposed and try it that way. Bit silly that something so basic isn't just included, I really hate FireOS.
Click to expand...
Click to collapse
Key swapping isn't an option on most stock ROMs. Xposed likely won't load/run well with FireOS v5 not to mention the challenges of installing via FlashFire in absence of a custom recovery. You best option is to go with a custom ROM augmented with Xposed. Still requires root which can only be achieved with on 5th gen devices running FireOS 5.3.1 or lower.

Related

Nougat Plugins for Tasker

I've recently upgraded to Nougat on my rooted phone and wondered how best to replicate my old Tasker profiles that were reliant on Secure Settings which appears to no longer work on Nougat (it says it cannot find root)/
The main functionality i want is the ability to turn on/off:
Airplane mode
Location Completely (when screen off)
GPS when opening apps that use maps
Mobile data
Can anyone suggest the best way to get this functionality back if its possible?
farquea said:
I've recently upgraded to Nougat on my rooted phone and wondered how best to replicate my old Tasker profiles that were reliant on Secure Settings which appears to no longer work on Nougat (it says it cannot find root)/
The main functionality i want is the ability to turn on/off:
Airplane mode
Location Completely (when screen off)
GPS when opening apps that use maps
Mobile data
Can anyone suggest the best way to get this functionality back if its possible?
Click to expand...
Click to collapse
You could try some of the run shell commands from this thread https://forum.xda-developers.com/u/tasker-tips-tricks/best-run-shell-commands-tasker-t3419204 or use the AutoTools plugin https://play.google.com/store/apps/details?id=com.joaomgcd.autotools
Majority (if not all) of Secure settings stuff is now easily available on AutoTools.
Thanks, just installed it and playing around with it and when i try to run a task it tells me 'No pemission to change settings' i see the adb command being talked about. Do i have to run that even though i'm rooted or do i just have something configured wrong?
farquea said:
Thanks, just installed it and playing around with it and when i try to run a task it tells me 'No pemission to change settings' i see the adb command being talked about. Do i have to run that even though i'm rooted or do i just have something configured wrong?
Click to expand...
Click to collapse
You're gonna have to run that command. It should work fine then.
farquea said:
Thanks, just installed it and playing around with it and when i try to run a task it tells me 'No pemission to change settings' i see the adb command being talked about. Do i have to run that even though i'm rooted or do i just have something configured wrong?
Click to expand...
Click to collapse
What ADB command are you talking about?
farquea said:
I've recently upgraded to Nougat on my rooted phone and wondered how best to replicate my old Tasker profiles that were reliant on Secure Settings which appears to no longer work on Nougat (it says it cannot find root)
Click to expand...
Click to collapse
I'm on Nougat as well and I'm using Secure Settings every day, it works fine for me...
The adb command worked but my bigger problem was that my phone had lost root. All fixed now tho
You can replace Secure Settings with SecureTask plugin. Free and it works great.
kitkat85 said:
You can replace Secure Settings with SecureTask plugin. Free and it works great.
Click to expand...
Click to collapse
Sounds great. Can you please provide a link? Thanks!
AJH101 said:
Sounds great. Can you please provide a link? Thanks!
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.balda.securetask
kitkat85 said:
https://play.google.com/store/apps/details?id=com.balda.securetask
Click to expand...
Click to collapse
Fantastic, thank you.
---------- Post added at 08:07 AM ---------- Previous post was at 07:25 AM ----------
kitkat85 said:
https://play.google.com/store/apps/details?id=com.balda.securetask
Click to expand...
Click to collapse
Forgive me, is this not very similar to the Auto Tools plug in? [emoji4]
AJH101 said:
Fantastic, thank you.
---------- Post added at 08:07 AM ---------- Previous post was at 07:25 AM ----------
Forgive me, is this not very similar to the Auto Tools plug in? [emoji4]
Click to expand...
Click to collapse
Simply better. First of all it's free. In addition it has a lot of features like sync settings, failed login monitoring, settings monitoring, change pin/password, log information, data usage and much more, nothing comparing to automess.
kitkat85 said:
Simply better. First of all it's free. In addition it has a lot of features like sync settings, failed login monitoring, settings monitoring, change pin/password, log information, data usage and much more, nothing comparing to automess.
Click to expand...
Click to collapse
Thanks. I will start digging!
kitkat85 said:
Simply better. First of all it's free. In addition it has a lot of features like sync settings, failed login monitoring, settings monitoring, change pin/password, log information, data usage and much more, nothing comparing to automess.
Click to expand...
Click to collapse
@automess... I have used both and though autotools is 2.99 I find it more user friendly. But both are equally up to task.
digitalpig82 said:
What ADB command are you talking about?
I'm on Nougat as well and I'm using Secure Settings every day, it works fine for me...
Click to expand...
Click to collapse
Hi, I'm in nougat with a ROM but I can't open tasker. I hope anyone can help
@farquea,::if you want to stick with securesettings in noughat,here is the work around i am using, found the fixfrom superSu forum..
Obviously i am using superSu to give root access for secure settings..
First flash superSu in systemless mode in twrp.
After reboot, using terminal emulataor type the following command
su
echo "BINDSYSTEMXBIN=true" >> /data/.supersu
and reflash superSU from twrp..securesettings will be enabled...
Reference :
1) https://plus.google.com/+Chainfire/posts/N6EARb8LF3d
2) https://forum.xda-developers.com/showpost.php?p=66140836&postcount=5493
This may help you if u want to stick with securesettings
vedhavyga said:
@farquea,::if you want to stick with securesettings in noughat,here is the work around i am using, found the fixfrom superSu forum..
Obviously i am using superSu to give root access for secure settings..
First flash superSu in systemless mode in twrp.
After reboot, using terminal emulataor type the following command
su
echo "BINDSYSTEMXBIN=true" >> /data/.supersu
and reflash superSU from twrp..securesettings will be enabled...
Reference :
1) https://plus.google.com/+Chainfire/posts/N6EARb8LF3d
2) https://forum.xda-developers.com/showpost.php?p=66140836&postcount=5493
This may help you if u want to stick with securesettings
Click to expand...
Click to collapse
You can actually enter that command in TWRP's terminal as well before you flash SuperSU. Saves that one extra reboot.
JRJ442 said:
You can actually enter that command in TWRP's terminal as well before you flash SuperSU. Saves that one extra reboot.
Click to expand...
Click to collapse
i think dat also..but not sure if enter both the values, will supersu install in systemless mode?
JRJ442 said:
You can actually enter that command in TWRP's terminal as well before you flash SuperSU. Saves that one extra reboot.
Click to expand...
Click to collapse
I'm using the Magisk interface and Secure Settings just works with the root method that is built into Magisk,
Also thinks like AndroidPay work with Magisk

Data dis/enable

Ok. I am running magisk....made shell cmd task of data on and off...they work....but why when I click "use root", it says device doesn't appear rooted. Could magisk be the culprit? Thanks.
Tmobilefan906 said:
Ok. I am running magisk....made shell cmd task of data on and off...they work....but why when I click "use root", it says device doesn't appear rooted. Could magisk be the culprit? Thanks.
Click to expand...
Click to collapse
Tasker cannot detect root with MagiskSU. If you attempt to select the Use Root option, you get a toast: "Error, you device doesn't appear to be rooted." However, as mentioned here, if you preface a Run Shell command with /sbin/su -c, Magisk Manager will prompt to allow Tasker root access and your command will work.
Code:
/sbin/su -c "svc data enable"
axxbat said:
Tasker cannot detect root with MagiskSU. If you attempt to select the Use Root option, you get a toast: "Error, you device doesn't appear to be rooted." However, as mentioned here, if you preface a Run Shell command with /sbin/su -c, Magisk Manager will prompt to allow Tasker root access and your command will work.
Click to expand...
Click to collapse
Yes. I know the commands for it. Lol. The task still works when I click the play arrow button in task window, it just says no root when I click use root.
Tmobilefan906 said:
Yes. I know the commands for it. Lol. The task still works when I click the play arrow button in task window, it just says no root when I click use root.
Click to expand...
Click to collapse
Didn't mean to offend will give a try a Magisk-enabled ROM today and hope will be back with ideas
Tmobilefan906 said:
Yes. I know the commands for it. Lol. The task still works when I click the play arrow button in task window, it just says no root when I click use root.
Click to expand...
Click to collapse
Well. Original position:
- Used RR April 16, 2017 nightly build as fresh install
- recovered Tasker from TiB backup
- created new task
- to avoid cheating assumptions created Tasker's task shortcut to run the task.
Video link is below. Pay attention to LTE symbol in the beginning of the vid. Task's goal was to disable it. The task was run via desktop shortcut
https://drive.google.com/file/d/0B8jDZdXO_06aMW5GYVJIRjBfemM/view?usp=drivesdk
Arrgh.just saw - LTE link run down before the task run - Tasker spotted my homecells and tried to setup WiFi connection (but no WLAN settings were restored). Nevertheless, it changes nothing - Task call via shortcut didn't call any root complaints, did it?
P.S. no offences again. In the cast i've intentionally shown Magisk's superuser tab to demonstrate nothing but two apps had root access. But after restore Tasker asked for 'su' perms (baloon), and was granted. Maybe, skipped 'su' perms for Tasker is Your headache?
axxbat said:
Didn't mean to offend will give a try a Magisk-enabled ROM today and hope will be back with ideas
Click to expand...
Click to collapse
u didn't offend me at all
axxbat said:
Well. Original position:
- Used RR April 16, 2017 nightly build as fresh install
- recovered Tasker from TiB backup
- created new task
- to avoid cheating assumptions created Tasker's task shortcut to run the task.
Video link is below. Pay attention to LTE symbol in the beginning of the vid. Task's goal was to disable it. The task was run via desktop shortcut
https://drive.google.com/file/d/0B8jDZdXO_06aMW5GYVJIRjBfemM/view?usp=drivesdk
Arrgh.just saw - LTE link run down before the task run - Tasker spotted my homecells and tried to setup WiFi connection (but no WLAN settings were restored). Nevertheless, it changes nothing - Task call via shortcut didn't call any root complaints, did it?
P.S. no offences again. In the cast i've intentionally shown Magisk's superuser tab to demonstrate nothing but two apps had root access. But after restore Tasker asked for 'su' perms (baloon), and was granted. Maybe, skipped 'su' perms for Tasker is Your headache?
Click to expand...
Click to collapse
What u mean skipped su perms?
Tmobilefan906 said:
What u mean skipped su perms?
Click to expand...
Click to collapse
1:48 request dialog
Sorry for late reply. Could it be so that Tasker was asking for root permission, but was not granted? Also, guess, You've checked that Tasker is in Device Administrators?
Upd. Stupid assumption. You've said , the task works when running on its own, from Tasker, but pops up the warning, when 'Use root' is checked... Not a big specialist in Magisk, but, haven't You use something like 'Hide root from apps' or alike in Magisk?
axxbat said:
1:48 request dialog
Sorry for late reply. Could it be so that Tasker was asking for root permission, but was not granted? Also, guess, You've checked that Tasker is in Device Administrators?
Upd. Stupid assumption. You've said , the task works when running on its own, from Tasker, but pops up the warning, when 'Use root' is checked... Not a big specialist in Magisk, but, haven't You use something like 'Hide root from apps' or alike in Magisk?
Click to expand...
Click to collapse
I guess I'm not too worried about it. As long as the task works, I'm fine with it. Haha

Lost my navigation bar completely after using an app to hide it...

I used an application to hide my navbar, however, it was glitching and flickering forcing me to stop and uninstall the app.
Doing so permanently removed my navbar. Issue is any other replacent navbar I am not able to use. I must enable access in the accessibility option, however, when trying to do so I keep getting ''settings has stopped working'' error. How can I fix this?
Bump. Anyone? Even when trying other third party apps such as power toggles, I am unable to use the back, go home or recent apps menu....
Any way of restoring the soft navbar keys?? I am unable to do anything without them. The last resort would be to factory/data reset, wipe or re-flash rom. Please advise.
Try clearing cache in recovery mode.
Or
On PC with adb command uninstall the app but with the com.xxx.xxx name of the app.
Or
You can try to flash the stock rom 3 files + home-csc file (won't wipe data).
Or as you said factory reset.
BluePhnx said:
Try clearing cache in recovery mode.
Or
On PC with adb command uninstall the app but with the com.xxx.xxx name of the app.
Or
You can try to flash the stock rom 3 files + home-csc file (won't wipe data).
Or as you said factory reset.
Click to expand...
Click to collapse
I will try the second option, using adb command. I believe the name of the app that caused me this issue is ''Navigation Gestures''
This one - ''https://play.google.com/store/apps/details?id=com.xda.nobar
However, it was uninstalled yet my navbar is still missing. Ever since I tried other ones without success. How do I remove all the ones using adb?
Hi,
In the future, please contact us directly via email. If you uninstall the app without reverting the pill like we warned, this situation will happen. If you have access to ADB, you can manually re-enable the nav bar by running the following command:
adb shell wm overscan reset
The "glitching" and "flickering" by the way, happens if you use Samsung's nav bar hider and not ours. Version 1.2.0 of the app has much better compatibility with Samsung phones (tested personally on a Note 8.)
MishaalRahman said:
Hi,
In the future, please contact us directly via email. If you uninstall the app without reverting the pill like we warned, this situation will happen. If you have access to ADB, you can manually re-enable the nav bar by running the following command:
adb shell wm overscan reset
The "glitching" and "flickering" by the way, happens if you use Samsung's nav bar hider and not ours. Version 1.2.0 of the app has much better compatibility with Samsung phones (tested personally on a Note 8.)
Click to expand...
Click to collapse
Really worked the command. thanks
MishaalRahman said:
Hi,
In the future, please contact us directly via email. If you uninstall the app without reverting the pill like we warned, this situation will happen. If you have access to ADB, you can manually re-enable the nav bar by running the following command:
adb shell wm overscan reset
The "glitching" and "flickering" by the way, happens if you use Samsung's nav bar hider and not ours. Version 1.2.0 of the app has much better compatibility with Samsung phones (tested personally on a Note 8.)
Click to expand...
Click to collapse
I re-flashed my rom 2-3 times due to bootloop/not booting due to messing about with several navbar hiders, VERY surprised that messing with the navbar can prevent the phone from booting!
Even when trying Substratum with the paid addon, even this caused a bootloop/unable to boot.
I may of even tried your version, cannot remember, what is the latest version YOU have that has been tested and works with Note 8? I'll give that a try.

System UI Tuner

Hi
Can anyone help - I want to access the System UI tuner on P20 pro, to remove icons like Bluetooth and NFC from the status bar.
I found a tutorial (link below) which gives me access to the System UI menu - however the options don't seem to have any effect and there is no option to turn off the NFC icon - can anyone help?
https://www.youtube.com/watch?v=gm8PEYKrjrw
This was so easy on my Oneplus.....not sure why Huawei make it so difficult!
Thanks
Don't bother with the tuner. Simply use adb:
adb shell settings put secure icon_blacklist nfc,bluetooth ... then reboot.
Or if you're rooted, just... settings put secure icon_blacklist nfc,bluetooth in a terminal emulator on the phone, then reboot
Full guide here... https://forum.xda-developers.com/htc-10/how-to/remove-nfc-icon-root-adb-t3507739 It's for the HTC10, but works for the P20 Pro
Thanks however I don't have access to a desktop. Only my phone or an iPad
colthekid said:
Don't bother with the tuner. Simply use adb:
adb shell settings put secure icon_blacklist nfc,bluetooth ... then reboot.
Or if you're rooted, just... settings put secure icon_blacklist nfc,bluetooth in a terminal emulator on the phone, then reboot
Full guide here... https://forum.xda-developers.com/htc-10/how-to/remove-nfc-icon-root-adb-t3507739 It's for the HTC10, but works for the P20 Pro
Click to expand...
Click to collapse
rob2005 said:
Thanks however I don't have access to a desktop. Only my phone or an iPad
Click to expand...
Click to collapse
Not possible without either root or adb AFAIK.
The inbuilt System UI Tuner (Demo Mode) doesn't work properly for me either and, as you said, doesn't have NFC as an option anyway.

Question Okay, I'm stupid...

So, I was going through and removing bloat from my phone and was trying to remove the Samsung Contacts app through `adb`, but apparently I removed the wrong thing and now the Phone, Messages, and Contacts app are crashing every time I try to open them. I removed "package:/system/priv-app/SamsungContactsProvider/SamsungContactsProvider.apk=com.samsung.android.providers.contacts" which is apparently a core service. I'm wondering if anyone might know how I could reinstall that APK?
install this apk should solve the problem
If worse comes to worse a factory reset will.
A lot of the bloatware is useful. I prefer to use a package disabler as I can easily toggle them on or off as needed real time.
rtd4 said:
install this apk should solve the problem
Click to expand...
Click to collapse
It sat for a minute trying to install and then came up with, "App not installed" and says that every time I retry.
Trying install via adb I get: "
Performing Streamed Install
adb: failed to install /home/mhicks/Downloads/SamsungContactsProvider.apk: Failure [INSTALL_FAILED_DUPLICATE_PERMISSION: Package com.samsung.android.providers.contacts attempting to redeclare permission android.permission.SEND_CALL_LOG_CHANGE already owned by com.android.providers.contacts]"
Hmmm, perhaps I should remove Google Contacts first...
Okay, that helped, but now I'm getting: "
Performing Streamed Install
adb: failed to install /home/mhicks/Downloads/SamsungContactsProvider.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE]"
I thought deleting the "com.samsung.android.providers.contacts" might solve the problem, but trying gave me: "
./adb -d uninstall com.samsung.android.providers.contacts
Failure [DELETE_FAILED_INTERNAL_ERROR]"
darkfrog26 said:
It sat for a minute trying to install and then came up with, "App not installed" and says that every time I retry.
Click to expand...
Click to collapse
try these commands on pc
adb shell cmd package install-existing com.samsung.android.providers.contacts
adb shell pm install -r --user 0 /system/priv-app/SamsungContactsProvider/SamsungContactsProvider.apk
The first command returns: "Package com.samsung.android.providers.contacts installed for user: 0", but the second command returns: "Failure [-3001: INSTALL_FAILED_REJECTED_BY_BUILDTYPE]"
If you have deleted the apk with root you just have to paste it again in the folder /system/priv-app/SamsungContactsProvider
@rtd4, unfortunately, this device isn't rooted.
darkfrog26 said:
@rtd4, unfortunately, this device isn't rooted.
Click to expand...
Click to collapse
It is somewhat complicated to recover the device without wipe in the past I had these problems, it was solved with a higher version of the application
@rtd4, I suppose it's time for a wipe... Thanks for trying to help me.
If you had made a copy of all your apps including system apks with ApkExport you could now use that copy to restore it.
Now before you factory reset make a copy of your installed apps and any system updates then save it on the PC or SD card. After the reload you won't need Playstore. It speeds things up a lot...
APK Export (Backup & Share) - Apps on Google Play
Manage and extract your apps.
play.google.com
@blackhawk, thanks for the tip. Right now, I'm trying to set up a Telegram account so I can root my phone (US version) if I'm going to go through the trouble of wiping. Unfortunately, Telegram's SMS verification appears to be broken or at least doesn't like Mint Mobile... Fun day.
darkfrog26 said:
@blackhawk, thanks for the tip. Right now, I'm trying to set up a Telegram account so I can root my phone (US version) if I'm going to go through the trouble of wiping. Unfortunately, Telegram's SMS verification appears to be broken or at least doesn't like Mint Mobile... Fun day.
Click to expand...
Click to collapse
You're welcome.
You really don't need to root.
Consider the possible consequences carefully.
Package Disabler will easily block apks you don't want running.
Well, it would appear it's moot anyway since I'm at Baseband v4 and only v1 can be rooted apparently...
darkfrog26 said:
Well, it would appear it's moot anyway since I'm at Baseband v4 and only v1 can be rooted apparently...
Click to expand...
Click to collapse
This is the one I use:
Home - Package Disabler
The only NON-root solution that let’s you disable any unwanted packages that come pre-installed / installed with your phone / tablet.
www.packagedisabler.com
It has an interactive widget that allows you to toggle selected entries on/off. It runs even in Safe mode so be careful what you disable. I've never had to do a factory reset because of it but the potential is there.
Unfortunately it no longer disables Google play Services but will disable all carrier bloatware including OTA updates.
darkfrog26 said:
@rtd4, unfortunately, this device isn't rooted.
Click to expand...
Click to collapse
Then how come you have removed apk from system?
In case you have used command like
pm disable packageName . Then try pm enable packageName
Or
If you have used
pm hide packageName then try
pm unhide packageName
darkfrog26 said:
So, I was going through and removing bloat from my phone and was trying to remove the Samsung Contacts app through `adb`, but apparently I removed the wrong thing and now the Phone, Messages, and Contacts app are crashing every time I try to open them. I removed "package:/system/priv-app/SamsungContactsProvider/SamsungContactsProvider.apk=com.samsung.android.providers.contacts" which is apparently a core service. I'm wondering if anyone might know how I could reinstall that APK?
Click to expand...
Click to collapse
Next time use this, so you don't make mistakes:
[TOOL] ADB AppControl 1.8.0 πŸš€ Ultimate App Manager & Debloat Tool + Tweaks
ADB AppControl πŸš€ Root is not required. Works with any Android device. Can do almost everything you dreamed about with applications. ADB AppControl - the desktop program, that will allow you to easily manage applications on your android device...
forum.xda-developers.com

Categories

Resources