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
Related
I need the low down on this. Can someone provide brief steps for how I can get on storing my apps on my class 6 SDcard.
I've already rooted recently and installed 1.2.3 bootloader? Then I installed Damage Controls Rom. So I think I'm ready to rock and roll. I've already installed a few apps, but I guess I can uninstall them and reinstall when I figure out this A2SD thing.
Thanks in advance for any install instructions!
chugger93 said:
I need the low down on this. Can someone provide brief steps for how I can get on storing my apps on my class 6 SDcard.
I've already rooted recently and installed 1.2.3 bootloader? Then I installed Damage Controls Rom. So I think I'm ready to rock and roll. I've already installed a few apps, but I guess I can uninstall them and reinstall when I figure out this A2SD thing.
Thanks in advance for any install instructions!
Click to expand...
Click to collapse
Most of the ROMs it's automatic. You just have to partition your SD card. There are instructions floating around, do a search and you'll find some. Especially look at tkirton's thread. It has some really good information about a2sd.
The DC 2.0.8.1 ROM comes with TrevE's a2sd implementation, and you can find information on his a2sd as well if you search.
So I fomatted and partitoned the card to ext3. Rebooted and how do I verify? Do I have to reinstall the apps so they get moved to the sdcard?
chugger93 said:
So I fomatted and partitoned the card to ext3. Rebooted and how do I verify? Do I have to reinstall the apps so they get moved to the sdcard?
Click to expand...
Click to collapse
you are almost there....
if you partition your card.. you should have lost all your data. which is correct.
you are running DC 2.08.x .. right?
there should be an app by TrevE on your phone now.
Do a search for their a2sd app and how to configure it. It will require you to reboot your phone to implement it.
once you have it installed and completed...
download from the market: quick systems info.
it will tell you if a2sd is running and how much is being used.
then just use your phone as normal.. android and a2sd will take care of the rest....
ya DC 2.08. An app by Trev? I dont see that. Where do I find that? I thought DC's ROM already had a2sd integrated? I see it enabled in the DCConfig
I downloaded that app and it says A2SD Storage: 457MB, Free: 348MB
You can verify if apps2sd is working by using ADB commands:
ADB shell
ls -l /data
If its working, you should get:
App > /system/sd/app
App-private > /system/sd/app-private
-------------------------------------
Sent via the XDA Tapatalk App
srkmagnus said:
You can verify if apps2sd is working by using ADB commands:
ADB shell
ls -l /data
If its working, you should get:
App > /system/sd/app
App-private > /system/sd/app-private
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
I did !
Sweet! Thanks. So even the apps I had installed prior to formatting my card, etc must have moved automatically. nice
when i type adb shell i get permission denied ???!!!!!!!!!
hwoarang626 said:
when i type adb shell i get permission denied ???!!!!!!!!!
Click to expand...
Click to collapse
How about adding a leading su command?
would the rom manager partition do the same thing?
How about moving apps to SD....we have to wait for permission for each and every app to move it to the SD?
I am running out of space on the phone, but my SD has 7GB free.
the developer of the app has to specify if they want to use apps2sd for their app. (that's what i heard at least, to my knowledge)
do we need an ext partition
will this work without an ext partition
Use `adb shell pm setInstallLocation 2`, move all the apps you want to move. Use `adb shell pm setInstallLocation 0` to change it back unless you want apps to installed by default to the sd card.
Official apps2sd doesn't need an ext partition.
zer0day said:
Use `adb shell pm setInstallLocation 2`, move all the apps you want to move. Use `adb shell pm setInstallLocation 0` to change it back unless you want apps to installed by default to the sd card.
Official apps2sd doesn't need an ext partition.
Click to expand...
Click to collapse
where do we go to type in that command?
is there a terminal like in ubuntu?
I use both Terminal Emulator and Better Terminal Emulator on Android Market
but both of them say "adb: permission denied"
I have not rooted my phone, is it only possible for a rooted Froyo?
cstyle226 said:
where do we go to type in that command?
is there a terminal like in ubuntu?
Click to expand...
Click to collapse
Perhaps we need to install the Android USB driver on our PC first
and then install the Android Debug Bridge (ADB)using its shell UI to enter the command above - `adb shell pm setInstallLocation 2`
Cr1al said:
I use both Terminal Emulator and Better Terminal Emulator on Android Market
but both of them say "adb: permission denied"
I have not rooted my phone, is it only possible for a rooted Froyo?
Click to expand...
Click to collapse
adb is part of the development kit. If you are using a native terminal, skip the "adb shell" part of the command.
I have selected the 'set installLocation 2'
However I am tryin to restore (with Titanium Backup) my 445 apps.
It got to 131 and will go no further.
Everything it has installed is on the SD and I have loads of space left.
I also have not seen the 'tick box' to install apps to SD?
It's never been an option since flashing Froyo unless I have to enable each app under market or something?
not
After putting the command in better terminal with out adb shell command it still says "permission denied"
datnukkapenut187 said:
After putting the command in better terminal with out adb shell command it still says "permission denied"
Click to expand...
Click to collapse
Yes you need to be rooted, the correct course of action would be to start the terminal, type SU then pm setInstallLocation 2 then close term and reboot, same to put back the perm to 0,
make you you do not move more than 100 apps or so, there's a limit I heard somewhere..
Right now I'm fully unlocked/rooted, but I'm wondering how any of you might have been able to successfully remove/uninstall stock apps? Obviously if this was on my N1 I'd just use TB, but as I'm sure others have found TB is currently unable to detect the apps (unless someone has gotten it to work??).
Thanks, hope someone has a suggestion!
I was able to uninstall them using Better Terminal Emulator. The code is pretty simple:
su
cd /system/app
mv Cordy.apk Cordy.apkb
mv DungeonDefenders.apk DungeonDefenders.apkb
exit
exit
This only changes the file type so the don't show up. If you want true uninstall (irreversible) use:
su
cd /system/app
rm Cordy.apk
rm DungeonDefenders.apk
exit
exit
If you want to know file names in the system apps folder, use:
cd /system/app
ls
Sent from my Xoom using XDA Premium App
alexdw369 said:
I was able to uninstall them using Better Terminal Emulator. The code is pretty simple:
su
/system/app
mv Cordy.apk Cordy.apkb
mv DungeonDefenders.apk DungeonDefenders.apkb
exit
exit
This only changes the file type so the don't show up. If you want true uninstall (irreversible) use:
su
/system/app
rm Cordy.apk
rm DungeonDefenders.apk
exit
exit
If you want to know file names in the system apps folder, use:
/system/app
ls
Sent from my Xoom using XDA Premium App
Click to expand...
Click to collapse
Ok, just tried this with another terminal emulator, but after entering "/system/app" I get "permission denied". Though it did show that I had superuser permissions after entering su.
I use root explorer. You just click mount r/w and delete or rename or move just like on your computer
https://market.android.com/details?id=com.speedsoftware.rootexplorer&feature=search_result
bwcorvus said:
I use root explorer. You just click mount r/w and delete or rename or move just like on your computer :]
Click to expand...
Click to collapse
Is there a free app that can do the same thing?
Root uninstaller
https://market.android.com/details?id=com.rootuninstaller.free
LPHS said:
Root uninstaller
https://market.android.com/details?id=com.rootuninstaller.free
Click to expand...
Click to collapse
Thanks a bunch.
would someone be so kind as to post a list of apps that are safe to remove?
derekstory said:
would someone be so kind as to post a list of apps that are safe to remove?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1341558
[Updated 9/11] Bloadware Freeze List
Instead of deleting it just freeze it. If you want it without all the bloatware just flash a rom.
Sent from my SGH-I727R using Tapatalk
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
For some reason I cannot delete system apps. I know for sure that I am rooted and that the system is mounted. No matter what app I use it doesn't work. System app remover from the Play Store gives me a "failed uninstall" error, deleting the system app folders with root explorer does not work, and Titanium Backup doesn't work. I even tried changing the permissions to rw for each app to no avail. Does anyone have any idea what the problem is?
bkores said:
For some reason I cannot delete system apps. I know for sure that I am rooted and that the system is mounted. No matter what app I use it doesn't work. System app remover from the Play Store gives me a "failed uninstall" error, deleting the system app folders with root explorer does not work, and Titanium Backup doesn't work. I even tried changing the permissions to rw for each app to no avail. Does anyone have any idea what the problem is?
Click to expand...
Click to collapse
Probably system write protection (see here http://androidforums.com/threads/zte-write-protection-for-zmax-and-other-zte-phones.1040331/)
running this will disable it
adb shell reboot disemmcwp
peramikic said:
Probably system write protection (see here http://androidforums.com/threads/zte-write-protection-for-zmax-and-other-zte-phones.1040331/)
running this
adb shell reboot disemmcwp
Click to expand...
Click to collapse
Thanks. I'll try this when I get home and update with the results.
It worked! Thank you so much! @peramikic
I'm also trying to delete system apps. The link posted above is no longer working can someone post a new link or point me in the right direction
dunas2331 said:
I'm also trying to delete system apps. The link posted above is no longer working can someone post a new link or point me in the right direction
Click to expand...
Click to collapse
if you use adb:
adb shell reboot disemmcwp
if you use terminal emulator:
su
reboot disemmcwp
if you use TWRP terminal:
reboot disemmcwp
Thanks it worked I used twrp
chek my youtube video