How can I disable the guest account without root? - Samsung Galaxy Tab A series Questions & Answers

Tab A 2016, stock ROM, unrooted.
Any way to do this?
The "adb shell settings put global guest_user_enabled 0" does not appear to work on 7.
Thanks

Related

[How To] Disable System Apps and Services (includes OTA, launcher, Appstore, ads)

Here's how to disable the most troublesome system apps and services.
I use the pm disable command throughout, but unless otherwise noted OS 4 can use "pm block"
To re-enable an app, run the same command replacing "disable" with "enable" (or block with unblock)
See end of post about how to run the commands.
OTA updatesRooted
OS4
pm block com.amazon.otaverifier
Rename /system/priv-app/DeviceSoftwareOTA.apk to DeviceSoftware OTA.apk_
0S5
pm disable com.amazon.otaverifier
Rename /system/priv-app/DeviceSoftwareOTA/DeviceSoftwareOTA.apk to DeviceSoftware OTA.apk_
Unrooted
Run these with: adb shell pm . . .
OS4
pm block com.amazon.otaverifier
pm block com.amazon.dcp
OS5 (below 5.1.1)
pm hide com.amazon.otaverifier
pm hide com.amazon.device.software.ota
OS5 (5.1.1 and above) - OTA can't be prevented on unrooted devices at this time​Amazon launcher
> "pm disable" (or block) the stock launcher to make your custom launcher the default (credit: Powerpoint45).
> "am start" the stock launcher (after re-enabling) to run the Amazon UI.
. . See bibikalka's post about using enable and start in a script to switch launchers with one tap.OS 4 - pm block com.amazon.kindle.otter
am start -n com.amazon.kindle.otter/com.amazon.kindle.otter.Launcher
OS 5 thru July 2015 - pm disable com.android.launcher
am start -n com.android.launcher/com.android.launcher2.Launcher
OS 5 Sept. 2015 and later - pm disable com.amazon.firelauncher
am start -n com.amazon.firelauncher/.Launcher​Amazon appstore
> Stop the prompt to open appstore when you press an in-app link to Play Store.
. . Handy in scripts with the launcher commands. Reminder: When disabled, the system sees the Appstore as uninstalled.
. . > Some apps (es file explorer) will prompt to delete data. Say no!
. . > If you try to open Appstore while disabled, the system throws a freak-out error. Just re-enable it.pm disable com.amazon.venezia​Lockscreen ads
> Replace lockscreen ads with Amazon's stock wallpapers. OS 5
pm disable com.amazon.kindle.kso
OS 4
> Note: The OS 5 command may cause bootloop on tablets using Freetime.
. . JMZ's Fire tool makes perm changes and you get a message with each reboot. This command avoids both issues.
Code:
pm disable com.amazon.kindle.kso/com.amazon.kindle.kso.lockscreen.LockscreenUpdateService
Wifi off (or on)
> "Disable" (or "enable") is required in all versions.
> OS 4 note: Some apps may not run or could go wonky with wifi off; just re-enable if things get weird.svc wifi disable​------------------------------------------------------------------
How to Run the Commands
The OTA verifier, stock launcher and appstore can be disabled/frozen with whatever app you use for that.
If you disable/enable regularly (to use the Appstore, for example), it's easier to do with scripts and launcher shortcuts.
From Fire HD:
Shortcut on launcher (fast and easy for any command) - See bibikalka's post for switching launchers and my post below it.
Terminal emulator app:
su
command
From computer:
GatesJunior's Debloater tool (fast and easy for OTA, launcher, appstore)
Manually with adb: Not all commands require root but most do, so . . .
adb shell
su
command
I was only able to pm enable/disable after going > adb shell > su, but it works. When I had it disabled I couldn't register the device with Amazon until I disabled it again. I'm working with Kindle Fire HD 6 Kids Edition Fire OS 5.2.2, HDXposed enabled, working GAPPS and rooted with Go Launcher EX launcher
---------- Post added at 06:10 PM ---------- Previous post was at 05:54 PM ----------
I did the pm disable com.amazon.venezia and went into Applications > ALL and the App Store (Amazon) didn't show up at all. I enabled it and it's there again. Just wanted to share since I want to use the Amazon App Store and know now that I have this option. I also disabled com.amazon.otaverifier and can use the App Store no problem. Thank you!
I'm running fire HD6 devpreview 5.2.0 +root
Disabled ota verifier
Renamed DevicesoftwareOTA.ask
Automatic update is disabled in Amazon app store.
Still they managed to send and install Washington post app in my device. it was not there earlier.
I'm doubt about how to prevent Amazon altering my device.
Sent from my KFARWI using Tapatalk
llranga said:
I'm running fire HD6 devpreview 5.2.0 +root
Disabled ota verifier
Renamed DevicesoftwareOTA.ask
Automatic update is disabled in Amazon app store.
Still they managed to send and install Washington post app in my device. it was not there earlier.
I'm doubt about how to prevent Amazon altering my device.
Click to expand...
Click to collapse
Changes you made for ota verifier and DevicesoftwareOTA prevent Amazon from forcing an updated OS onto device, which would "break" root. Assuming you're still rooted, this didn't happen and you're seeing the Wash post that got installed when you installed/upgraded Lollipop. You can uninstall it and it will stay gone. If you did get updated, you didn't block OTA before turning on wifi and Amazon installed 5.2.2--build date July 2015 in Device settings--and you're no longer rooted. Better check!
build date is june 13, 2015.
still i have root access.
however i did uninstall it again. let me check if it may get installed again or not.
thanks a lot
Updated for 5.2.2u2, which I'm calling OS 5.0.1, September 2015 release.
Is there anyway to disable the lockscreen itself? I want to use the lockscreen from smart launcher 3 but I need to first disable the system lockscreen first for it to work properly.
rlattin24 said:
Is there anyway to disable the lockscreen itself? I want to use the lockscreen from smart launcher 3 but I need to first disable the system lockscreen first for it to work properly.
Click to expand...
Click to collapse
Nope.
DoLooper said:
Nope.
Click to expand...
Click to collapse
Well that's a bummer . Oh well I'll just to get over dealing with Amazon's random selection of wallpspers lol thanks for the reply
Updated! :good:
HELP ME!!!!!!
Im on KindleFire HD 6, i just updated to OS 5.1.1 newest Fire OS. Whenever i try to do the command pm block com.amazon.fire launcher it says Error: java.lang.SecurityExemption. Someone please tell me how to fix it. I wil include a screenshot to show you what is happeing.
cbcava said:
Im on KindleFire HD 6, i just updated to OS 5.1.1 newest Fire OS. Whenever i try to do the command pm block com.amazon.fire launcher it says Error: java.lang.SecurityExemption. Someone please tell me how to fix it. I wil include a screenshot to show you what is happeing.
Click to expand...
Click to collapse
Please relax!!!
Look at the bottom of the post for instructions on running the commands. You need to be in su. You're rooted, right?
adb shell
su
pm disable com.amazon.firelauncher
If not rooted, try: adb shell pm hide com.amazon.firelauncher
Not working!
I did what you said to do, dolooper, but the launcher isnt disabled. Am I still doing something wrong, I really want to disable the terrible fire launcher.
cbcava said:
I did what you said to do, dolooper, but the launcher isnt disabled. Am I still doing something wrong, I really want to disable the terrible fire launcher.
Click to expand...
Click to collapse
Press the Home key, choose Nova and tap Always. Reboot.
But it doesn't show the option to choose it as default!!
cbcava said:
But it doesn't show the option to choose it as default!!
Click to expand...
Click to collapse
Tap Nova in firelauncher app drawer to go to Nova. Now tap home key. If it takes you back to firelauncher, idk the problem because idk what you did. How about you post whether you're rooted or not, the exact commands you entered, and what the output was.
Dolooper, I don't have root
The command that I entered was pm hide com.amazon.firelauncher.
adb shell pm hide com.amazon.firelauncher
I feel stupid asking this so please forgive my ignorance but I searched around and could find the answer.
Can someone please tell me the command to check the status of a service?
For example, I'd like to be able to check and see if a command I ran like one of the ones above, worked or not. Or to check on a different service. I'd like to be able to run a command that shows a list of services and their status or a single service and check its status.
Would it be something like pm status [process name]?

Motorola 'Factory Mode'

Hello,
I very recently had to remove the FRP lock on a client's Motorola G4 Plus because he had forgot his email and password (EXTREMELY common with old people getting smartphones). I have some experience with dirtycow, Samsung modem commands injection (using Realterm) and other bypass methods. Dirtycow was not working since this phone had security update from December 2016 so I had to use an online service with remote USB support. This service required me to enter Motorola's "Factory Mode" from the boot menu.
My question is: does anyone has experience with this special mode? Is there some literature regarding special commands, COM port settings or else when in this mode, or is everything kept private by the people who provide the service? Any basic information on what it does/how it works?
For what its worth, here's how the process went:
-Connected remotely with USB Redirector
-Booted into bootloader and activated "Factory Mode". Phone boots into OS but seems to operate in a special mode.
-Technician does something. I reboot into bootloader and boot again in factory mode.
-Technician somehow is able to enable ADB in 2nd "Factory Mode" boot. (this was not possible when I had access to Settings menu through "Talkback hack")
-Reboot again in normal mode and FRP seems to be removed. Setup has been bypassed, phone boots directly to Google Now Launcher.
What did he do? What does this "Factory mode" unlocks that permits him to enable ADB and completely bypass the Setup and Google Account verification? Did he erase the PERSIST partition? Did he inject app data from an already finished Setup?
Anyways, I am currently looking into it and will open another thread when I have more information.
Thank you!
If the technician used ADB it's likely you can Google whatever command he could have used. My guess is that he either wiped a file that concerns the Setup and Google Account Verification. Maybe he completely removed GApps remotely using ADB?
Sent from my Moto G (4) using Tapatalk
ironman38102 said:
If the technician used ADB it's likely you can Google whatever command he could have used. My guess is that he either wiped a file that concerns the Setup and Google Account Verification. Maybe he completely removed GApps remotely using ADB?
Sent from my Moto G (4) using Tapatalk
Click to expand...
Click to collapse
But these Apps are system apps, which would require ROOT to uninstall... Phone did not seemed rooted and bootloader was still locked after the procedure. I would think that finding a way of disabling the Setup/Google Services apps, and then re-enabling them, you would still be stuck when trying to add a Google Account afterwards since it will check for the PERSIST/FRP lock partition. Can the PERSIST partition be wiped through ADB without ROOT? Even then, how was ADB enabled in the first place? Some special AT command?
daveribss said:
But these Apps are system apps, which would require ROOT to uninstall... Phone did not seemed rooted and bootloader was still locked after the procedure. I would think that finding a way of disabling the Setup/Google Services apps, and then re-enabling them, you would still be stuck when trying to add a Google Account afterwards since it will check for the PERSIST/FRP lock partition. Can the PERSIST partition be wiped through ADB without ROOT? Even then, how was ADB enabled in the first place? Some special AT command?
Click to expand...
Click to collapse
Actually now that I think about it, you're right you can't remove GApps without root and you can't wipe Persist partition without root. I suppose he enabled ADB because that Factory Mode maybe has some special sort of commands, but even then what use is ADB when you don't have root?
Sent from my Moto G (4) using Tapatalk
This is the command that he uses in adb:
Code:
adb shell content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:s:1
sachingodishela said:
This is the command that he uses in adb:
Code:
adb shell content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:s:1
Click to expand...
Click to collapse
does anyone know the command to use in Factory Mode to enable ADB?
daveribss said:
But these Apps are system apps, which would require ROOT to uninstall... Phone did not seemed rooted and bootloader was still locked after the procedure. I would think that finding a way of disabling the Setup/Google Services apps, and then re-enabling them, you would still be stuck when trying to add a Google Account afterwards since it will check for the PERSIST/FRP lock partition. Can the PERSIST partition be wiped through ADB without ROOT? Even then, how was ADB enabled in the first place? Some special AT command?
Click to expand...
Click to collapse
Just to shed some light, adb does allow you to remove system apps or for that fact google apps without root
A tad late to the party but I'll give you a hint on the ADB enabling thing for Moto's.
Before he got ADB he probably set the device into 'factory' mode. This mode lets you send bytes to a certain TCP port via USB that sets system props. One of them is ADB enable.
There's similar tools on Youtube for repair and FRP removal like motoservice.exe
I myself reversed this years back and even found a few bytes that weren't used in the app but able to inject to change device properties.
Anyway, read this wanted to share. Motorola still has this mode, but now some devices won't let you boot factory mode.
Booting in factory mode exposes CQATest. They are using it to run shell commands, in this case to enable adb.

APN Settings blocked

Hi! I edited my phone's hotspot settings using "settings put global tether_dun_required 0" on the adb terminal to bypass the tether cap my carrier set on the phone, after that I wanted to change the APN settings to add the ",dun" thing, but it was blocked. How can I edit this without root? or do I really need to edit the APN settings for the dun=0 thing to work? Do i need root for the "settings put global tether_dun_required 0" thing to work?
how do I know if the adb thing worked?
I have tether unlocked, I just want to bypass the gb cap.

Disable OTA on the 2nd Gen Fire TV stick :

Update: It's been reported that the method works on FireOS up to and including 5.2.6.0, but does not work on 5.2.6.1
To catch a break, and avoid force fed OTA updates, run these commands from your ADB:
Code:
adb.exe uninstall -k --user 0 com.amazon.device.software.ota
adb.exe uninstall -k --user 0 com.amazon.device.software.ota.override
This will disable the OTA apps till the next factory reset. In case there is ever root, your system will be old enough to be rootable.
Once you do this, and go check for system updates, it'll generate a message "System update failed".
More details can be found in this thread.
this was patched on the tablets and if not already will likely be patched on the sticks soon as well.
krsmit0 said:
this was patched on the tablets and if not already will likely be patched on the sticks soon as well.
Click to expand...
Click to collapse
Sure, nothing lasts forever ... But even more reason to do this NOW !!!
At the moment, I have this version : Fire OS 5.2.4.1, ro.build.date=Fri Jun 9 23:01:51 UTC 2017, so not patched yet.
@bibikalka is there a way to reinstall an uninstalled APK for user 0 ?
rainman74 said:
@bibikalka is there a way to reinstall an uninstalled APK for user 0 ?
Click to expand...
Click to collapse
I don't know an easy one
But you can always do a factory reset! These operations don't actually delete anything, just flag it as unusable.
This should allow debloating the Fire TV sticks. Does anyone have a list with apps that you can safely remove? Maybe even replacing the stock launcher is possible. Although on the Fire HD 10 5th generation removing the stock launcher breaks the home button detection.
MWin123 said:
This should allow debloating the Fire TV sticks. Does anyone have a list with apps that you can safely remove? Maybe even replacing the stock launcher is possible. Although on the Fire HD 10 5th generation removing the stock launcher breaks the home button detection.
Click to expand...
Click to collapse
Yes, you can completely replace Fire Stick Launcher without root! But first ensure, that all settings are made, because you can not access certain settings anymore (again only after a factory reset).
And you must install another launcher first, e.g. AppStarter (https://github.com/sphinx02/AppStarter/releases)
1. Uninstall:
adb uninstall -k --user 0 com.amazon.device.software.ota
adb uninstall -k --user 0 com.amazon.device.software.ota.override
adb uninstall -k --user 0 com.amazon.tv.nimh
adb uninstall -k --user 0 com.amazon.tv.launcher
2. Access settings then via ADB without com.amazon.tv.launcher (Fire Stick "tank" on 5.2.4.1):
Controller:
Code:
adb shell am start -n com.amazon.tv.settings/.tv.controllers_bluetooth_devices.ControllersAndBluetoothActivity
App-Menu:
Code:
adb shell am start -n com.amazon.tv.settings/.tv.applications.ApplicationsActivity
Network:
Code:
adb shell am start -n com.amazon.tv.settings/.tv.network.NetworkActivity
Factory Reset:
Code:
adb shell am start -n com.amazon.tv.settings/.tv.FactoryResetActivity
rainman74 said:
But first ensure, that all settings are made, because you can not access certain settings anymore (again only after a factory reset).
Click to expand...
Click to collapse
Thanks! Do you know what settings are affected?
I can recommend Activity Launcher to open settings, it also allows you to open some hidden settings. See NO ROOT: Use 'Activity Launcher' to remove accounts, grant/revoke usage access.
MWin123 said:
Thanks! Do you know what settings are affected?
Click to expand...
Click to collapse
yes, because of we can't grant com.amazon.tv.permission.LAUNCHER_SETTINGS to com.amazon.tv.settings (adb -d shell pm grant com.amazon.tv.settings com.amazon.tv.permission.LAUNCHER_SETTINGS), you can't access the following settings anymore:
Account (but you'll in no way ever change your Amazon Account)
Display & Sound (so set each setting there to "automatic" before you uninstall com.amazon.tv.launcher)
Info/About (you'll not need that anyway)
Childlock (no need for that anyway, because you will not have Amazon Launcher)
Debug/ADB (so set ADB/USB to "yes" before you uninstall com.amazon.tv.launcher and you'll be fine)
MWin123 said:
I can recommend Activity Launcher to open settings, it also allows you to open some hidden settings. See NO ROOT: Use 'Activity Launcher' to remove accounts, grant/revoke usage access.
Click to expand...
Click to collapse
Thanks, I'll try that...
After installing modified "Android TV Settings" (https://forum.xda-developers.com/attachment.php?attachmentid=4255667&d=1503965469) with regular "adb install" you can access the following settings again if amazon.tv.launcher is disabled or uninstalled (non-root):
Sound (system sounds only)
Code:
com.android.tv.settings.device.sound.SoundActivity
Info/About
Code:
com.android.tv.settings.about.AboutActivity
Debug/ADB
Code:
com.android.tv.settings.system.DeveloperOptionsActivity
CEC/HDMI Control
Code:
com.android.tv.settings.system.InputsActivity
Bluetooth/Pairing
Code:
com.android.tv.settings.accessories.AddAccessoryActivity
Date/Time
Code:
com.android.tv.settings.system.DateTimeActivity
Device Name
Code:
com.android.tv.settings.name.DeviceNameSettingsActivity
Language
Code:
com.android.tv.settings.system.LanguageActivity
Do the ADB commands in post 1 work on the 2nd gen Amazon Fire TV please? (not the stick).
I have just acquired one which is non rooted and loaded with software v5.2.4.2 which I understand that I am unable to root.
Any advice greatly appreciated.
meohmy said:
Do the ADB commands in post 1 work on the 2nd gen Amazon Fire TV please? (not the stick).
I have just acquired one which is non rooted and loaded with software v5.2.4.2 which I understand that I am unable to root.
Any advice greatly appreciated.
Click to expand...
Click to collapse
Yes they do, I just tried it on mine and it worked flawlessly. Good luck!
Thanks for the prompt reply, I will have a go as soon as the wife goes out.
apologiez for hijacking your thread, these infors are very appreciated.
i 'accidently' uninstalled "com.amazon.tv.settings", any idea how i can force a factory reset? Installing the modfied "Android TV Settings" didnt help.
TV33 said:
apologiez for hijacking your thread, these infors are very appreciated.
i 'accidently' uninstalled "com.amazon.tv.settings", any idea how i can force a factory reset? Installing the modfied "Android TV Settings" didnt help.
Click to expand...
Click to collapse
this is probably not possible anymore then!
But you can try this method: http://www.aftvnews.com/how-to-unbrick-by-entering-recovery-mode-and-factory-reset-the-amazon-fire-tv/
Worked first time so thanks for all the info, now to get a vpn so I can start using it.
Hi, I need help
I have a Fire TV Stick2 (Tank), after trying Post #7 I have no choice to change the WIFI account.
Post #10 doesn't work.
Any Idea? Post #15 seems not possible for "tank"
Any advice greatly appreciated.
remoter3406 said:
Hi, I need help
I have a Fire TV Stick2 (Tank), after trying Post #7 I have no choice to change the WIFI account.
Click to expand...
Click to collapse
You will have access to wifi on Fire TV Stick2 ("tank") with this cmd as stated in post #7:
Code:
adb shell am start -n com.amazon.tv.settings/.tv.network.NetworkActivity
Post #10 doesn't work.
Click to expand...
Click to collapse
Did yo install the modified "Android TV Settings" first. The command definitely works then!
Any Idea? Post #15 seems not possible for "tank"
Any advice greatly appreciated.
Click to expand...
Click to collapse
It's possible with an Micro USB OTA adapter: https://www.amazon.de/gp/product/B00N2LSLKA/ref=oh_aui_search_detailpage?ie=UTF8&psc=1
You will have access to wifi on Fire TV Stick2 ("tank") with this cmd as stated in post #7:
Code:
adb shell am start -n com.amazon.tv.settings/.tv.network.NetworkActivity
Click to expand...
Click to collapse
First, sorry for my english. I mean WIFI is working with my WIFI repeater, but I want change it to my main WIFI router. How?
Did yo install the modified "Android TV Settings" first. The command definitely works then!
Click to expand...
Click to collapse
Yes, I installed the "apk" and it apears on TV, but no reaction. Is a adb command needed for activating?
It's possible with an Micro USB OTA adapter:
Click to expand...
Click to collapse
OK, this is the last try if I coudn't change the WIFI
Many Thanks for your quick response
remoter3406 said:
First, sorry for my english. I mean WIFI is working with my WIFI repeater, but I want change it to my main WIFI router. How?
Click to expand...
Click to collapse
I will show you a screenshot of that later this evening...
Yes, I installed the "apk" and it apears on TV, but no reaction. Is a adb command needed for activating?
Click to expand...
Click to collapse
You can't click the icon, you must access the settings of it via adb or the app "Activity Lauchner" mentioned in this thread:
Code:
adb shell am start -n com.android.tv.settings.about.AboutActivity
adb shell am start -n com.android.tv.settings.accessories.AddAccessoryActivity
adb shell am start -n com.android.tv.settings.device.sound.SoundActivity
adb shell am start -n com.android.tv.settings.name.DeviceNameSettingsActivity
adb shell am start -n com.android.tv.settings.system.DateTimeActivity
adb shell am start -n com.android.tv.settings.system.DeveloperOptionsActivity
adb shell am start -n com.android.tv.settings.system.InputsActivity
adb shell am start -n com.android.tv.settings.system.LanguageActivity

Accessability Services Not working on Amazon Fire HD 8

I have a problem, after I unlocked and rooted my amazon fire HD 8 following this guide and now I can't enable the accessibility services, it just shows a blank screen when ever I try to enable an accessibility service (i.e. launcher hijack) Is there a way to fix this (preferably without installing an update)
Toothless_NEO said:
I have a problem, after I unlocked and rooted my amazon fire HD 8 following this guide and now I can't enable the accessibility services, it just shows a blank screen when ever I try to enable an accessibility service (i.e. launcher hijack) Is there a way to fix this (preferably without installing an update)
Click to expand...
Click to collapse
You can do over ADB
Code:
adb shell
settings put secure enabled_accessibility_services com.baronkiko.lancherhijack/.AccServ
AmznUser444 Dev said:
You can do over ADB
Click to expand...
Click to collapse
I was thinking of a more permanent fix like a modified settings apk (or a version from 6.3.0.1 when this bug was fixed) since I'm not always near my pc
The reason is because I sometimes have to enable and disable accessibility services on the fly
Sent from my Amazon Fire HD 8 on Fire OS 6.3.0.0 (Rooted)
@DragonFire1024 Do you have any Ideas for how to fix this issue possibly a modified settings apk or custom rom

Categories

Resources