[HELP]I can not move app to SD using SDK (Lollipop) - G 2014 Q&A, Help & Troubleshooting

Hi guys, when I use the command " adb shell pm setInstallLocation 2" in order to install apps on the sd appears the following error " Error : java.lang.SecurityException : Package android does not belong to 2000" I use room stock 5.0.2 , I will be very grateful if anyone can help, thank you now, and sorry for the mistakes!

Same problem.
IcedG said:
Hi guys, when I use the command " adb shell pm setInstallLocation 2" in order to install apps on the sd appears the following error " Error : java.lang.SecurityException : Package android does not belong to 2000" I use room stock 5.0.2 , I will be very grateful if anyone can help, thank you now, and sorry for the mistakes!
Click to expand...
Click to collapse
I am having the same Issue. Trying to change default install location on the new moto e lte.

You should partition your extSd card first after it's work.
Sent from my SM-G355H using XDA Premium 4 mobile app

Related

help with sdk commands

ok this is where i am i unzipped android sdk6 on my c drive.. i put the asroot(unzipped) and the i.5 recovery image in the tools folder of the sdk.. i go to the windows prompt and type "cmd" (no quotes) screen comes up i type cd C\android-sdk-windows\tools.. press enter.. then i get "this system cannot find the path specicied" help.....
Run the setup dcs in the Android ask folder and make sure you do it as admin in Vista and 7. You'll probably have to force http in options, most people do.
-------------------------------------
Sent via the XDA Tapatalk App
darrick913 said:
ok this is where i am i unzipped android sdk6 on my c drive.. i put the asroot(unzipped) and the i.5 recovery image in the tools folder of the sdk.. i go to the windows prompt and type "cmd" (no quotes) screen comes up i type cd C\android-sdk-windows\tools.. press enter.. then i get "this system cannot find the path specicied" help.....
Click to expand...
Click to collapse
are you typing what you put above or cd c:\android-sdk-windows\tools ?
don't see the colon in there.
are you sure you installed it like Kcarp. says?
yeah i put colon still the same
ill try it again
u have a link foe kcarp.. i was doing it like fliptz says...
thanks for all your help...
i forced options but then what ther are nothing but update choices...
ok i got the problem solved it was file name... now i get down to the part where you install the 1.5 flash to the sd card and it cant find it.. yes i did remame it per the little glitch that fliptz said
darrick913 said:
ok i got the problem solved it was file name... now i get down to the part where you install the 1.5 flash to the sd card and it cant find it.. yes i did remame it per the little glitch that fliptz said
Click to expand...
Click to collapse
ok, can you provide a link of what tutorial you are following, and let us know what step # you are stuck on.
THis will make us helping you a lot easier.
i was following the thread of how to root 2.1.. i get down to the part where super user is installed on phone.. the su is there but when i open it its a blank program sheet and the cmd prompt says permission denied . what can i do? and thanks for your help..
--------------------------------------------------------------------------------
i followed the steps for rooting the 2.1 in thread.. i get down to the part where the super user is on phone i open it and the command propmt says permission denied.. and thanks for all your help....
darrick913 said:
--------------------------------------------------------------------------------
i followed the steps for rooting the 2.1 in thread.. i get down to the part where the super user is on phone i open it and the command propmt says permission denied.. and thanks for all your help....
Click to expand...
Click to collapse
is USB debugging enabled in Menu->Settings->Applications->Development
I have it.thanks.we are back.yes!
-------------------------------------
Sent via the XDA Tapatalk App
darrick913 said:
I have it.thanks.we are back.yes!
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
what fixed it?

Adb shell access problems

Can anyone plz tell me how access adb shell ive tried open it from run in the computer but it only opens for like milli second then it closes. Can someone plz tell me what am doing wrong:-( thanks
Sent from my E15i using XDA App
open adb with command prompt (cmd)
http://forum.xda-developers.com/showthread.php?t=502010
try to reboot your pc maybe drivers haven't finished installing into system.
Thank you for this post
this forum is relly helpfull and usefull
for me I was waiting for more than 1 and 1/2 months to find a way to unlock my X8
this afternoon i have tried the ADB methode for unlocking Samsung galaxys
the methode on xda developper is correct and works perfectly
I was wondering to do so for my experia but no way
please help me to make it working cus I change it with my samsung galaxy fit and no I do not have Handhelp
thnx
I think If it too hard to access Adb shell (so do I) you can use Android Emulator instead

[GUIDE] Simple method to move apps to SD without link2sd or scripts

Title says it all no scripts needed nor is any link2sd and ext-sd partition. This is no new discovery it just sets default install location via a terminal parameter - am just sharing it so that those of you who might not know this benefit from it
Requirements :
*Rooted device (with usb debugging enabled in settings - developer options)
*Terminal emulator
Steps
* open term. Emulator
* type su and press enter key (accept any super user prompt that follows)
* key in the following code and press enter when done :
Code:
pm set-install-location 2
After completion you can go to setting - manage applications and move all apps to sd even the likes of stubborn apps like Facebook.
NOTE:
You can also get current default location by following code :
Code:
pm get-install-location
You can set it back to desired location by using 'pm set-install-location' if ever you feel the need to. The number after location denotes -
Code:
0-auto
1-internal sd
2-external sd
If the any of above codes give errors then try without hyphens in middle. Ex.
Code:
su
pm setInstallLocation 2
Have a good day
Nice but i'm ok to my sdmerg
Sent from message 911 Police
Nice!
Onel de Guzman said:
Nice but i'm ok to my sdmerg
Sent from message 911 Police
Click to expand...
Click to collapse
Yeah this is for those who don't are lazy for installing the likes of sdmerge
xoxodemo said:
Nice!
Click to expand...
Click to collapse
Thanks buddy do try it out and let me know if it works or not
Hmmm, apps tell that no memory enought to install =(
xoxodemo said:
Hmmm, apps tell that no memory enought to install =(
Click to expand...
Click to collapse
Mate use the code then go to settings manage applications and move all desired apps to sd then revert the code
pm set-install-location 0
Hope it helps
dont work =\
xoxodemo said:
dont work =\
Click to expand...
Click to collapse
What doesn't work please elaborate. Which rom are you using and what commands did you type?
Hmm, stock 4.1.2 Lg L5, commands - pm set-install-location 2. all ok, it set default location to external SD, but i can not move apps
No button to move on external SD in settings)
xoxodemo said:
Hmm, stock 4.1.2 Lg L5, commands - pm set-install-location 2. all ok, it set default location to external SD, but i can not move apps
Click to expand...
Click to collapse
Works well for me in cm9 and 2.3.6 and in fact should work on all android devices but don't exactly know why you can't get it to work - am sorry i can't help to revert just use 0 by the way you could also give internal sd (1) a try to see if it works. Anyway thanks mate for letting me know it doesn't work
I am having problems too, I have entered the comands in the terminal emulator but no results at all. Do i have to reboot my device ?
Im using a LG P700 with CM10
Sent from my LG-P700 using Tapatalk 4 Beta
Working. Thanks.
I cant move apps. Im using L7 + cm10 + gandalf kernel 2.1.2
Sent from my LG-P708 using xda app-developers app
Thanks for the tut. I will try it
Sent from my LG-P700 using xda app-developers app
Not working on v20e from szymel0,
The command gives me:
Bash: precmd command not found !
I have busybox pro installed and not know what to do more...
Sent from my LG-P700 using xda premium
haha
not working on emulated storage device
guys, nikufellow wrote that the applications, with this method, can be installed on the SD card, not that they can be moved

[Q] Install apps to sd card by default without rooting phone

My friend is trying to fix her phone so that by default any apps that she installs go straight to her SD card. She found a link on how to do it but it's not working. She keeps getting this message.
C:\Users\Christine\Desktop\android-sdk-windows\platform-tools>adb shell pm set-install-location 2
Error: java.lang.SecurityException: Package android does not belong to 2000
Here is the link to the post that she tried.
https://www.whattechsays.com/install-and-move-android-apps-to-sd-card/
She does not want to root her phone.
Any ideas?
Trilback said:
My friend is trying to fix her phone so that by default any apps that she installs go straight to her SD card. She found a link on how to do it but it's not working. She keeps getting this message.
C:\Users\Christine\Desktop\android-sdk-windows\platform-tools>adb shell pm set-install-location 2
Error: java.lang.SecurityException: Package android does not belong to 2000
Here is the link to the post that she tried.
https://www.whattechsays.com/install-and-move-android-apps-to-sd-card/
She does not want to root her phone.
Click to expand...
Click to collapse
i don't think it is possible till we get m update

[GUIDE] Root - Unlock bootloader and Install TWRP on LG Magna H502f

Hello people.
So after a long search, I managed to find the method to install TWRP on my LG Magna H502f V10a.
To do this, he must first root phone with the method: LG ONE CLICK ROOT:
- Install the latest drivers for LG: https://sourceforge.net/projects/av...S51MAN313AP22_ML_WHQL_Ver_3.13.2.exe/download or drivers LG Verzion: https://sourceforge.net/projects/av...S51MAN313AP22_ML_WHQL_Ver_3.13.2.exe/download
- Download LG One Click Root 1.3 (Graphic UI): http://forum.xda-developers.com/lg-g3/general/guide-root-lg-firmwares-kitkat-lollipop-t3056951
- Unzip the archive
- Enable Usb debugging on your phone . (General > About phone > Software information, tap Build number seven times and then go to Settings > Developer options and turn on Usb debugging)
- Connect your phone to pc.
- If the phone not Recognize, try to switch entre MTP and PTP options.
- Launch LG ONE CLICK ROOT and be guided to the end of the procedure.
- Once completed you will SUPER SU installed on your device.
- To check the status of root you can download ROOT CHECKER from the play store.
Step 2: UNLOCK THE BOOTLOADER and TWRP INSTALL:
- To do this, first download both files (I specify that it is for the H502f) https://drive.google.com/file/d/0BwmQ3F48xaJjV1lKNUdPQkV2a2M/view
- And download and install TERMINAL EMULATOR from the play store: https://play.google.com/store/apps/details?id=jackpal.androidterm
- Copy both files and uboot.img and recovery.img in the root of the internal memory of the phone
- Go to TERMINAL EMULATOR and run the following commands (after getting the root right):
su
dd if=/storage/sdcard0/uboot.img of=/dev/uboot count=1024
dd if=/storage/sdcard0/recovery.img of=/dev/recovery count=32768
reboot recovery
And you're in TWRP 2.8.7.1 and there you can make a backup just to have a little backup in case pending a Custom ROM which I hope will happen soon.
Thank you.
A small up to raise the thread ... to reach 10 posts
TWRP 3.0.0-0 available here : http://forum.xda-developers.com/android/general/twrp-3-0-0-0-lg-magna-t3319479
Root alternative method
Hey...you can also gain root priviliges by using the Kingroot apk ...Also in my device (Lg H500) instead of TERMINAL EMULATOR, i did use the pc connection and adb shell
(in order to avoid typing)...
But all these are details....The tutorial is 100% correct and confirmed...Cudos
Thank you
awesome! this works for me...
Help!!
Hello, i have a problem with the installation of twrp and unlocking the bootloader. When i type the command "dd if=/storage/sdcard0/uboot.img of=/dev/uboot count=1024" in the emulator, it says, "not valid direcory or location". I tried to change the location of the files, although i am prety sure they are where they are supposed to be. I am desperate
Nice, thank you for your information
Are you about to have:
1- unzip the archive (for both files: uboot.img and recovery.img)?
2- copied the 2 files .img in root of the internal storage memory of phone (not sd card) ?
Aneom7331 said:
Hello, i have a problem with the installation of twrp and unlocking the bootloader. When i type the command "dd if=/storage/sdcard0/uboot.img of=/dev/uboot count=1024" in the emulator, it says, "not valid direcory or location". I tried to change the location of the files, although i am prety sure they are where they are supposed to be. I am desperate
Click to expand...
Click to collapse
Copy both files to the internal storage (storage/emulated/0/) and use these commands
dd if=/storage/emulated/0/uboot.img of=/dev/uboot
dd if=/storage/emulated/0/recovery.img of=/dev/recovery
That works for me.
Sent from my LG-H502 using XDA-Developers mobile app
IT WORKED!
OMG dude it worked!!! Thank you so much!!!:laugh:
[emoji106] thats cool. Glad to help.
Sent from my LG-H502 using XDA-Developers mobile app
No such file
So i entered terminal, and when i enter the command lines it says no such file or directory, and i followed the instructions and copied both files into the internal storage, pleeeeaaaassse help
masteryoda110 said:
So i entered terminal, and when i enter the command lines it says no such file or directory, and i followed the instructions and copied both files into the internal storage, pleeeeaaaassse help
Click to expand...
Click to collapse
[quote name="Aneom7331" post=66276037]Hello, i have a problem with the installation of twrp and unlocking the bootloader. When i type the command "dd if=/storage/sdcard0/uboot.img of=/dev/uboot count=1024" in the emulator, it says, "not valid direcory or location". I tried to change the location of the files, although i am prety sure they are where they are supposed to be. I am desperate [/QUOTE]
Copy both files to the internal storage (storage/emulated/0/) and use these commands
dd if=/storage/emulated/0/uboot.img of=/dev/uboot
dd if=/storage/emulated/0/recovery.img of=/dev/recovery
That works for me.
Sent from my LG-H502 using XDA-Developers mobile app
Hi,
So i've read not just this thread, but also the LG 3 where the LG one click root files come from.
I have the LG Magna - H502Y. It's probably the most "recent" kernel with 3.10.54 version. Anyway, it doesn't work with me. Has anyone tried with this version?
thanx
Thank you, now my lg stock lg magna h502f get TWRP recovery....I have plan to flash Marshmallow, with titeuf15 instruction under link 'http://forum.xda-developers.com/android/general/official-update-to-marshmallow-6-0-lg-t3395098/post67233869#post67233869".
So to continue my task, do I need any task such as Software update(that's security patch) to install?
Or
Should I just do directly in titeuf15's instrctions????
Thz. . .I m beginner in this field...
Just go ahead and follow titeuf15's instruction.
Berong said:
Just go ahead and follow titeuf15's instruction.
Click to expand...
Click to collapse
Thz Berong
Hi, in case I want to relocked it to send it to waranty how do i relock the BL? . Does the LG Pc tool works without a chance of brick??
just flash stock rom again...
Sent from my LG-H502 using XDA-Developers mobile app

Categories

Resources