Delete system software download - Shield Android TV Q&A, Help & Troubleshooting

Hi guys.
My shield had downloaded 7.2.1 on its own last night and is now telling me to install it.
Can I delete the file from my shield and maybe stop it from downloading again? Where is the update located?
I'm just being paranoid that it's going to update by itself!!
Thanks guys.
Sent from my [device_name] using XDA-Developers Legacy app

run this command in adb
adb shell pm clear com.nvidia.ota
Below to disable update temporary
adb shell pm disable com.nvidia.ota

nanerasingh said:
run this command in adb
adb shell pm clear com.nvidia.ota
Below to disable update temporary
adb shell pm disable com.nvidia.ota
Click to expand...
Click to collapse
Excellent. Many thanks.
Sent from my [device_name] using XDA-Developers Legacy app

works fine in 8.2.2 of course

Related

[ROOT] Disable Automatic Update (OTA) New Kindles

This Method disable ota services.
steps:
-Decompress the attached file
-Execute the following commands:
<important>Please look the screen for superuser permission grant.
Code:
adb push disable_ota_for_kindle.sh /data/local/tmp/
adb shell "su -c 'chmod 777 /data/local/tmp/disable_ota_for_kindle.sh'"
adb shell "su -c '/data/local/tmp/disable_ota_for_kindle.sh'"
adb shell "rm /data/local/tmp/disable_ota_for_kindle.sh"
Tested in a Kindle Fire 2 (10.2.3_user_2313820
julionadal said:
This Method disable ota services.
steps:
-Decompress the attached file
-Execute the following commands:
<important>Please look the screen for superuser permission grant.
Code:
adb push disable_ota_for_kindle.sh /data/local/tmp/
adb shell "su -c 'chmod 777 /data/local/tmp/disable_ota_for_kindle.sh'"
adb shell "su -c '/data/local/tmp/disable_ota_for_kindle.sh'"
adb shell "rm /data/local/tmp/disable_ota_for_kindle.sh"
Tested in a Kindle Fire 2 (10.2.3_user_2313820
Click to expand...
Click to collapse
Guessing this can only be confirmed at the time of the next update for me. Currently running 7.2.2 on KFHD.
Will download and give it a go.
Thanks.
Droidwall is a good solution for this too. You can block all Apps for using the Internet connection to call "home"
This script looks to disable all OTA services. Would that not included whispersync, the personal documents service etc? it is possible that blocking all of these services may have undesired consequences to folks who value those services. That said, thanks for developing this script.
Can you provide more details on how to disable OTAs using Droidwall? I downloaded the application but I am not sure which applications I need to block or how to configure.
Sent from my KFTT using xda premium
Should I disable the system app in the center of the screenshot? Will it lock up the device if I do so?
Sent from my KFTT using xda premium
ameswilliam said:
Should I disable the system app in the center of the screenshot? Will it lock up the device if I do so?
Sent from my KFTT using xda premium
Click to expand...
Click to collapse
I installed DroidWall and blacklist all amazon apps, but it still update to 7.2.2 version. I doubt DroidWall can off OTA update
Did you blacklist the 10000. System file seen in the attachment?
Sent from my SPH-L710 using xda premium
Ok, so I used the OP's .SH file, and then read a bit further on this thread and realized his code would disable whispersync too.
Is there any way to reverse his code? I tried to go into his code and change the word "disable" to "enable" but the file would not execute anymore. I have no idea why. I did not change the file name, but ADB keeps telling me "no such file or directory"
Can anyone please help? I'm using Fire HD 8.9 ver. 8.1.3
After i reverse the code, I will just use droidwall
Thanks for your help.
pullmyfinger123 said:
Ok, so I used the OP's .SH file, and then read a bit further on this thread and realized his code would disable whispersync too.
Is there any way to reverse his code? I tried to go into his code and change the word "disable" to "enable" but the file would not execute anymore. I have no idea why. I did not change the file name, but ADB keeps telling me "no such file or directory"
Can anyone please help? I'm using Fire HD 8.9 ver. 8.1.3
After i reverse the code, I will just use droidwall
Thanks for your help.
Click to expand...
Click to collapse
Try running each command with ADB.
I'm not familiar with the disable 'pm' command but know that services can be enabled/disabled via titanium backup. Dont know if this is the same function but you could install it and give it a go.
bryanchapman9999 said:
Try running each command with ADB.
I'm not familiar with the disable 'pm' command but know that services can be enabled/disabled via titanium backup. Dont know if this is the same function but you could install it and give it a go.
Click to expand...
Click to collapse
Yea I dont see any service that's already frozen using Titanium Backup. Can anyone else who knows what this guy's code did help me reverse it? Thanks.
This is his code:
#!/system/bin/sh
pm disable "com.amazon.dcp/.ota.OTAUpdateMessageHandler"
pm disable "com.amazon.dcp/.ota.InventoryUploadService"
pm disable "com.amazon.dcp/.ota.UpdatesLookupService"
pm disable "com.amazon.dcp/.ota.OTAService"
pm disable "com.amazon.dcp/.ota.AppStateMonitorService"
pm disable "com.amazon.dcp/.ota.CheckForOTAUpdatesService"
pm disable "com.amazon.dcp/.ota.ViewUpdateActivity"
pm disable "com.amazon.dcp/.ota.OTAStatusActivity"
pm disable "com.amazon.dcp/.ota.ResetOTAMessageHandler"
pm disable "com.amazon.dcp/.ota.InventoryUploadService$InventoryUploadReceiver"
pm disable "com.amazon.dcp/.ota.UpdatesLookupService$MountStatusChangedReceiver"
pm disable "com.amazon.dcp/.ota.OTAService$OTAWakeupReceiver"
pm disable "com.amazon.dcp/.ota.OTAService$OTADedupeReceiver"
pm disable "com.amazon.dcp/.ota.OTAService$OTAInstallNowReceiver"
Disable OTA Updates - Kindle Fire 7" HD
Very well thought out script.
On my Kindle Fire 7" HD all I did was moved /system/ect/security/otacerts.zip to /sdcard/download - Reboot the Kindle.
So far no updates, still on 7.2.2
Thanks!
thanks Bro for sharing.just wanted to feedback after doing these procedures.my kindle fire HD 7" is not updating anymore.i give it two thumbsup!now i still have the same build 7.2.2 for almost more than a month even if Amazon has the newest build 7.2.3 thanks alot.it really helps
Thanks for the script. Looks like it worked ok for me...Just wondering about the whisper sync deal? Does it still work"
Whisper Sync Disabled
ninjabeaver said:
Thanks for the script. Looks like it worked ok for me...Just wondering about the whisper sync deal? Does it still work"
Click to expand...
Click to collapse
ninjabeaver,
This script does disable Whisper Sync which is why we had our developers redesign a scipt to remove the OTA Services
only. Here is the less aggressive version:
http://forum.xda-developers.com/showthread.php?t=2086450
when we developed the attached script we were very careful to only effect OTA and no other services. We also wrote
an enable script for the people who need to send back there Kindles for repair.
Right on thanks..I hadn't seen that thread before.
Sent from my KFTT using Tapatalk HD
prokennexusa said:
Very well thought out script.
On my Kindle Fire 7" HD all I did was moved /system/ect/security/otacerts.zip to /sdcard/download - Reboot the Kindle.
So far no updates, still on 7.2.2
Click to expand...
Click to collapse
Hows it going, did you just move otacerts.zip and not block it tru droidwall?
prokennexusa said:
ninjabeaver,
This script does disable Whisper Sync which is why we had our developers redesign a scipt to remove the OTA Services
only. Here is the less aggressive version:
http://forum.xda-developers.com/showthread.php?t=2086450
when we developed the attached script we were very careful to only effect OTA and no other services. We also wrote
an enable script for the people who need to send back there Kindles for repair.
Click to expand...
Click to collapse
If I had used this script on my KF2 but now have installed TWRP and installed new ROM, would I need to run this again ?
Does this script prevent syncing with google play?
I rooted my kindle fire 2 and I ran this script. I uploaded songs onto google play music, but i'm unable to find songs I'd uploaded to the site.
Is it because of this script that google play is unable to sync with my kindle?
Thanks
julionadal said:
This Method disable ota services.
steps:
-Decompress the attached file
-Execute the following commands:
<important>Please look the screen for superuser permission grant.
Code:
adb push disable_ota_for_kindle.sh /data/local/tmp/
adb shell "su -c 'chmod 777 /data/local/tmp/disable_ota_for_kindle.sh'"
adb shell "su -c '/data/local/tmp/disable_ota_for_kindle.sh'"
adb shell "rm /data/local/tmp/disable_ota_for_kindle.sh"
Tested in a Kindle Fire 2 (10.2.3_user_2313820
Click to expand...
Click to collapse
Good afternoon:
Is it possible to provide this service in an APK?
This would allow the user to simply install the APK and then select enable or disable OTA as required?
The User would not have to know anything about ADB and related commands.
If I knew how to create APK apps I would give it a try.
Regards

Galaxy s4 adb shell error

Hey iwant to use adb shell to grant permission for morelocal2 and when I put the command it says error adb closed isearched online and I couldn't find any thing can help any solutions?
Sent from my GT-I9505 using xda app-developers app
Thezombiet said:
Hey iwant to use adb shell to grant permission for morelocal2 and when I put the command it says error adb closed isearched online and I couldn't find any thing can help any solutions?
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
in developer options set "root access" as "Apps and ADB"
and use adb shell as su

Apps install on SD Card by default

Is there a setting in missing...? and if not what is the best option you found that doesn't create complications to the system. I am rooted and using xposed.
Sent from my XT1575 using Tapatalk
shoman94 said:
Is there a setting in missing...? and if not what is the best option you found that doesn't create complications to the system. I am rooted and using xposed.
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
There's a command you can issue in Terminal to do that.
adb shell pm set-install-location 2
Click to expand...
Click to collapse
To verify that it worked, run:
adb shell pm get-install-location
Click to expand...
Click to collapse
If it comes back as "2", apps will install to the SD card by default. This will also enable more apps that have "move to SD card" grayed out to being selectable under App Info.
Do do what I did though, and move just about every app to SD. Most of them kept losing their settings and SU access after a reboot. And speaking of reboot, all of your apps moved to SD will have gray colored icons for a minute or so.
To get back to the default setting, move your apps back to the phone and run:
adb shell pm set-install-location 0
Click to expand...
Click to collapse
Hope this helps.
So even if we have apps installed to internal and we use this command does this automatically move every app to sd card or just that's we install after using this adb command? And are there any Superuser issues doing this?? Or is everything stable this way?
Try link2sd
Sent from my XT1575 using Tapatalk
patt2k said:
Try link2sd
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
Did you get this to work on your device? Which file format did you do on your second drive?
Thanks for your assistance!
Do we need root for this? (The adb commands). I know link2sd is root. Lol
I'm not using it no need but I think fat32 or ext4 is OK.
Sent from my XT1575 using Tapatalk
Wait for android 6.0
Sent from my XT1575 using Tapatalk
Spasticdroid said:
There's a command you can issue in Terminal to do that.
To verify that it worked, run:
If it comes back as "2", apps will install to the SD card by default. This will also enable more apps that have "move to SD card" grayed out to being selectable under App Info.
Do do what I did though, and move just about every app to SD. Most of them kept losing their settings and SU access after a reboot. And speaking of reboot, all of your apps moved to SD will have gray colored icons for a minute or so.
To get back to the default setting, move your apps back to the phone and run:
Hope this helps.
Click to expand...
Click to collapse
I am getting the following error in Moto X style Marshmallow rooted( su 2.61 installed). Any Idea how to fix this?
C:\Users\abhir\AppData\Local\Android\sdk\platform-tools>adb devices
List of devices attached
TA083056FQ device
C:\Users\abhir\AppData\Local\Android\sdk\platform-tools>adb shell pm get-install-location
0[auto]
C:\Users\abhir\AppData\Local\Android\sdk\platform-tools>adb shell pm set-install-location 2
Error: java.lang.SecurityException: Package android does not belong to 2000
ovhirup said:
I am getting the following error in Moto X style Marshmallow rooted( su 2.61 installed). Any Idea how to fix this?
C:\Users\abhir\AppData\Local\Android\sdk\platform-tools>adb devices
List of devices attached
TA083056FQ device
C:\Users\abhir\AppData\Local\Android\sdk\platform-tools>adb shell pm get-install-location
0[auto]
C:\Users\abhir\AppData\Local\Android\sdk\platform-tools>adb shell pm set-install-location 2
Error: java.lang.SecurityException: Package android does not belong to 2000
Click to expand...
Click to collapse
You probably need to type this command:
adb root pm set-install-location 2
not
db shell pm set-install-location 2

Bixby Voice Permissions Notification

Hi. I get this notification every time I press the bixby key "To use Bixby Voice, tap SETTINGS, then allow the permissions and try again".
This problem started after updating to bixby voice 2.0, it says unavailable in your country and reverting back shows the notification.
I tried everything to fix it. Install, uninstall, clean cache, clean all data, back to factory setting to all bixby apps. But*none of it worked.
View attachment 4587572
SM-G950F cihazımdan Tapatalk kullanılarak gönderildi
Got the exact same issue. I guess that is the drawback of installing apps not yet released for country of origin...
I am not using Bixby much so I gues I will wait for an official update for my Country
jabberwock said:
Got the exact same issue. I guess that is the drawback of installing apps not yet released for country of origin...
I am not using Bixby much so I gues I will wait for an official update for my Country
Click to expand...
Click to collapse
I can't use bxactions app
SM-G950F cihazımdan Tapatalk kullanılarak gönderildi
Same on my Galaxy S8+
I dumped all Bixby permissions with ADB: can anybody try the same on a working Bixby so that I can see the differences?
Thank you very much!!!
Code:
dream2lte:/ $ pm list permissions |grep bixby
permission:com.samsung.android.bixby.agent.permission.READ_PERMISSION
permission:com.samsung.android.bixby.plmsync.WRITE_DATABASE
permission:com.samsung.android.bixby.bridge.provision.READ_PERMISSION
permission:com.samsung.android.bixby.agent.permission.BIXBY_SERVICE_AVAILABLE_CHANGE
permission:com.samsung.android.bixbyvision.hostsdk.DUMMY_ACTIVITY
permission:com.samsung.android.bixby.permission.BIXBY_DICTATION
permission:com.samsung.android.bixby.bridge.provision.integrated.READ_PERMISSION
permission:com.samsung.android.bixby.bridge.provision.WRITE_PERMISSION
permission:com.samsung.android.bixby.ACCESS_SERVICE
permission:com.samsung.android.bixby.integratedprovision.mainprovisionservice.PERMISSION
permission:com.samsung.android.bixby.agent.permission.BIXBY_AGENT
permission:com.samsung.android.bixby.agent.permission.BIXBY_ALARM
permission:com.samsung.android.bixby.agent.permission.READ_APPCHOOSER
permission:com.samsung.android.bixby.permission.WAKEUP_SUGGEST_SENSITIVE
permission:com.samsung.android.bixby.agent.permission.WRITE_APPCHOOSER
permission:com.samsung.android.bixby.voiceinput.ACCESS_LANGUAGE_PROVIDER
permission:com.samsung.android.bixby.agent.permission.READ_LEARNING
permission:com.samsung.android.bixby.agent.permission.ACCESS_SETTING
permission:com.samsung.android.bixby.agent.permission.BIND_AGENT
permission:com.samsung.android.bixby.agent.permission.GET_SERVICE_ID
permission:com.samsung.android.bixby.permission.WAKEUP_LAUNCH_BIXBY
permission:com.samsung.android.bixby.agent.permission.READ_LANGUAGE
permission:com.samsung.android.bixby.agent.permission.WRITE_LEARNING
permission:com.samsung.android.bixby.integratedprovision.SERVICECHANGED_PERMISSION
permission:com.samsung.android.bixby.agent.permission.RECEIVE_BIXBY_VIEW_STATE
permission:com.samsung.android.bixby.agent.permission.BIXBY_SIMULATOR
permission:com.samsung.android.bixby.plmsync.ACCESS_SERVICE
permission:com.samsung.android.bixby.apphome.READ_PERMISSION
permission:com.samsung.android.bixby.voiceinput.ACCESS_IME_SERVICE
permission:com.samsung.android.bixby.agent.permission.TEXT_TEST
permission:com.samsung.android.bixby.apphome.permission.CONTENT_SYNC
permission:com.samsung.android.bixby.agent.permission.WRITE_LANGUAGE
permission:com.samsung.android.bixby.apphome.permission.VIEW
permission:com.samsung.android.bixby.plmsync.READ_DATABASE
permission:com.samsung.android.bixby.apphome.WRITE_PERMISSION
permission:com.samsung.android.bixby.agent.permission.LAUNCH_BIXBY_VOICE
permission:com.samsung.android.bixby.agent.permission.APP_SERVICE
So I foolishly installed an update to Bixby for APKMirror and found myself in this sticky situation. Since nobody anywhere seems to have a better answer than a factory reset, which I REALLY didn't want to do. I used Logcat Reader to see what permissions it was complaining about one by one. I was able to get it working again with the changes below. I'm using a Note 8 so YMMV on other models. Hope this is useful to someone.
Code:
adb shell pm grant com.samsung.android.bixby.agent android.permission.READ_CONTACTS
adb shell pm grant com.samsung.android.bixby.agent android.permission.WRITE_CONTACTS
adb shell pm grant com.samsung.android.bixby.agent android.permission.READ_CALL_LOG
adb shell pm grant com.samsung.android.bixby.agent com.android.voicemail.permission.ADD_VOICEMAIL
adb shell pm grant com.samsung.android.bixby.agent android.permission.WRITE_EXTERNAL_STORAGE
The problem is solved for me after receiving OTA update for my mobile
Solved it for me:
Quoting User: pdario
@ https://us.community.samsung.com/t5...age/board-id/BixbyQandA/thread-id/4458/page/7
Re: Bixby Voice Permissions Notification
These seems to work:
adb shell pm grant com.samsung.android.bixby.agent android.permission.READ_CONTACTS
adb shell pm grant com.samsung.android.bixby.agent android.permission.WRITE_CONTACTS
adb shell pm grant com.samsung.android.bixby.agent android.permission.READ_CALL_LOG
adb shell pm grant com.samsung.android.bixby.agent com.android.voicemail.permission.ADD_VOICEMAIL
adb shell pm grant com.samsung.android.bixby.agent android.permission.WRITE_EXTERNAL_STORAGE

Safely to remove with adb?

Hello!
I have Mi 9T 6/64 non rooted with 11.0.5 stable global rom.
With adb I uninstalled some of the programs, but I need confirmation if I may remove App Vault, because it's deeply integrated into system settings?
I have ebank app with NFC and it's working fine, I wonder if I may remove Mi Pay and Mi credit because they have some connections with NFC.
jazzh said:
Hello!
I have Mi 9T 6/64 non rooted with 11.0.5 stable global rom.
With adb I uninstalled some of the programs, but I need confirmation if I may remove App Vault, because it's deeply integrated into system settings?
I have ebank app with NFC and it's working fine, I wonder if I may remove Mi Pay and Mi credit because they have some connections with NFC.
Click to expand...
Click to collapse
In Settings/Apps, Uninstall updates for App Vault, disable its auto-updates in Google Play and disable the app by ADB (yes, it's safe):
adb shell pm disable-user com.mi.android.globalminusscreen
zgfg said:
In Settings/Apps, Uninstall updates for App Vault, disable its auto-updates in Google Play and disable the app by ADB (yes, it's safe):
adb shell pm disable-user com.mi.android.globalminusscreen
Click to expand...
Click to collapse
Thx. What about Mi pay and Mi credit?
jazzh said:
Thx. What about Mi pay and Mi credit?
Click to expand...
Click to collapse
You can disable them - I just did but not by adb but by renaming apps to *.apk, everthing works fine.
However, I don't know would it affect (I don't believe so) Google Pay, you must test
But before you do it, please give me a small favour:
Install an app like ApkInspector (from Google Play), and please tell me the path and the name for MiCredit app - I renamed it to *.bak and now cannot find it
The path is
data/app/MiCreditInStub/MiCređitInStub.apk
jazzh said:
The path is
data/app/MiCreditInStub/MiCreditInStub.apk
Click to expand...
Click to collapse
Thanks. Strange.
I had renamed
data/app/MiCreditInStub/MiCreditInStub.apk
to
data/app/MiCreditInStub/MiCreditInStub.bak
and after rebooting I was searching for
su
chdir /data/app
du -a | grep credit
du -a | grep bak
but did not found.
Now when you gave me the full path/name I see that I don't have the folder MiCreditInStub under /data/app anymore?!
Anyway, MiCredit app is for India only for instant loans in rupies of up to cca 1320 USD:
https://www.jainishshah.in/mi-credit-instant-personal-loan-app-from-xiaomi/
Apparently, the app is also available from Google Play, but only in India:
https://www.jainishshah.in/mi-credit-instant-personal-loan-app-from-xiaomi/
/system/app/InMipay/InMipay.app
is also for India only:
https://www.financialexpress.com/in...ia-through-mi-pay-app-details-inside/1939555/
Btw, I have QFJEUXM, not QFJINXM - so why Xiaomi did not remove them from the firmware?!
Both the two from above plus the third
/system/app/IdMipay/IdMipay.app
can be safely removed:
https://forum.xda-developers.com/showpost.php?p=77706117&postcount=60
Instead of removing or renaming to bak (root or TWRP required), better use adb:
adb shell pm disable-user com.mipay.wallet.id
adb shell pm disable-user com.mipay.wallet.in
adb shell pm disable-user com.micredit.in
zgfg said:
Instead of removing or renaming to bak (root or TWRP required), better use adb:
adb shell pm disable-user com.mipay.wallet.id
adb shell pm disable-user com.mipay.wallet.in
adb shell pm disable-user com.micredit.in
Click to expand...
Click to collapse
I did so, thanks
jazzh said:
I did so, thanks
Click to expand...
Click to collapse
Did you also remove MiCoin:
com.xiaomi.payment
/system/app/PaymentService/PaymentService.apk
I did, everything ok so far

Categories

Resources