Hey Praky,
I have faced below issues.
In step 3, I can't find any USB drivers in Available Packages,I have Samsung Kies installed already on my system
Now, I followed the rest of the steps but am stuck when i put adb devices.
It returns error: 'adb' is not recognized as an internal or external command,
operable program or batch file.
i couldnt install the usb driver from available packages
Quote:
Originally Posted by praky
After a lot of people asking the same questions in different threads, I decided to make this thread since other thread is slightly outdated and deals with an HTC phoen which can be confusing.. Force Apps to install to SD without Root!!
Getting Ready:
1. First you have to enable USB debugging on your Android device from Settings > Applications > Development > USB debugging.
2. You need to download and install the latest Android SDK on your computer from http://developer.android.com/sdk/.
Tutorial:
1. Extract the package to the folder of your choice [Let's say- C:/android-sdk-windows/], run SDK Manager.exe
2. Close the command / windows command prompt window that opens.
3. In the new window, click on Available Packages to the left. Untick all options you are prompted to download except the USB driver option. Usb driver option will need and addition package called xxx.revision 5 at the top of the list. So you need to check a total of 2 options.
(Note-If you get an error message at this point, enable “Force https://…” in the Settings. From the list of available packages, select “Usb Driver package”, click on the Install Selected button in the bottom right corner and follow the prompts. )
4. Do not open Samsung Kies. Connect your phone to your computer with a USB-cable. Your OS will prompt you to install new drivers. Choose to install them from the android-sdk-windows/extras/google/usb_driver folder. Do not mount your device; you only need to plug-in the cable.
(If you don't see this prompt like me, well no problem. It might be due to samsung kies already installed.(not sure though)
5. Run command prompt in administrator.
Type in the following after the ">" at each step (without quotations,and including spaces and capital letters)
"cd C:\android-sdk-windows\platform-tools"
"adb devices"
"adb shell"
A $ sign should pop up
"pm setInstallLocation 2"
Another $ should pop up
And your done. Close everything, disconnect phone, turn off phone and then turn it back on again
Note:Now the phone will be set to install all apps you install onto the SD card. However, current apps on phone will mostly still be stored on the internal memory. This process doesn't move these apps for you, it adds the ability. So you must now manually move those already installed on the phone. Install some apps like app2sd etc.
From original Blog entry-
Note:I should point out that it’s preferable to install certain apps to the main memory, since it will take a while before the SD card becomes available when you start your phone. Applications installed on the memory card will also be unavailable to the system each time you mount your phone as a disk drive. The internal storage is probably quicker as well, even though Google claims that “there is no effect on the application performance so long as the external storage is mounted on the device.” In general, apps that integrate with the Android OS and that often run in the background is better to install on the internal storage, while games and most other applications will have no problem chilling outside on your SD.
Widgets should essentially be installed on phone memory.
Hope it helps.
Update:
From what I have come to understand (correct me if I am wrong), Each app will store some .odex files on phone memory to speed up the boot process.
So don't complain that phone memory is getting lesser after each install. Though if you could've installed 40 apps before now maybe 150+ and still have 30-40 mb left. (depends on what kind of apps you install).
Darktremor's a2sd scripts deodex the apps and COMPLETELY move the apps and cache to sd card but you will need to root and run the scripts.
Though an easier way will be to install a custom rom.
hi
as you told tried to install that usb driver from the available packages in sdk manager. i am getting an access denied mesage and a file not found message. it was the usb driver revision 4.
i think my problem may be with that revision 4. but i couldnt find any revision 5 there in available packages. is there any like older version new version of sdk? and also couldnt find that xxx. revision 5
Ok here is what i think is going wrong now-
when i wrote the android sdk rev 11 was the latest. now it is r13.
So you have to select an option related to USB in packages window. Also 2 more packages called something like "android sdk platform-tools revision x(7 as of this time)"
Android sdk tools revision x(13 as of this time)
Post if this solves your problem
The Following User Says Thank You to praky For This Useful Post:
Ok here is what i think is going wrong now-
when i wrote the android sdk rev 11 was the latest. now it is r13.
So you have to select an option related to USB in packages window. Also 2 more packages called something like "android sdk platform-tools revision x(7 as of this time)"
Android sdk tools revision x(13 as of this time)
Post if this solves your problem
hi. first of all, i want to thank praky for posting the tutorial. it helps me a lot.
at first, i failed to install because i can't find usb driver. command driver for sure turns out error. i have kies installed to my computer.
then i read praky post above, finally i got to install sdk and it works wonderfully
it turns out that sdk has updated to r13. that's why.
so people, this is how i done it.
at available packages windows, i unticked all except android sdk platform-tools revision 7. then install.
the rest is as same as praky's tutorial, and voila! it works!
how this will help those who have the same problem as mine before.
thank you!
hi. first of all, i want to thank praky for posting the tutorial. it helps me a lot.
at first, i failed to install because i can't find usb driver. command driver for sure turns out error. i have kies installed to my computer.
then i read praky post above, finally i got to install sdk and it works wonderfully
it turns out that sdk has updated to r13. that's why.
so people, this is how i done it.
at available packages windows, i unticked all except android sdk platform-tools revision 7. then install.
the rest is as same as praky's tutorial, and voila! it works!
how this will help those who have the same problem as mine before.
thank you!
Thank you for your feedback. I have updated the tutorial to reflect that.
hiiii
while istalling anything from that available packages i am getting this msg shown below
Downloading Google USB Driver package, revision 4
File not found: C:\Program Files (x86)\Android\android-sdk\temp\usb_driver_r04-windows.zip (Access is denied)
can't download the Android-SDK platform-toold, revision 7
Hi all!
Thanks alot for this great tutorial!
well, I am facing a problem
I've downloaded the Android SDK manager (together with all the Java programs that I was required to have)...
now, I was trying to dowload all the packages with the USB drivers and such, thou when the programs goes on dowloading the packeges it says that the files werent found or something like that...
I think I have the kies here cause the galaxy Ace is connecting no problems
other then that I don't have a platforms-tools directory, rather only 2 seperatr platform and tools directories... the platform directory is empty, while in the toold directory there are many files... one of them called adb-has-moved and in it wrriten that I need to download the platform-tools package from the Android SDK manager, though when I am going on to do that It won'e download...
I get:
"
Downloading
File not found: C:\Program files\Android\Android-sdk\temp\platform-tools_r07-windows.zip (Access is denied)
"
well, I have dowloaded the adb files I have found somewhere above in the thread...
the first command: "adb devices" gives me back: "List of devices is attached"
the command "adb shell" gives back: "error: device not found"
hiiii
while istalling anything from that available packages i am getting this msg shown below
Downloading Google USB Driver package, revision 4
File not found: C:\Program Files (x86)\Android\android-sdk\temp\usb_driver_r04-windows.zip (Access is denied)
hi, I got the samr problem. did you solve it somehow?...
seems like all is working just as written at the tutorial!
that's what nI have done:
1. downloaded the sdk manager
2. downloaded the USB drivers (2 files I have found on this forum some where on the above threads)
3. wrote the code lines - and all works!
Thanks to everybody!!! I am so happy - the storage thing was the only downside I had with this phone! YHAYYY!
I followed this tutorial several days ago, and it worked like charm. No I have just upgraded my from Froyo to official Gingerbread. The previous apps that I have installed are currently on SD card, and I can still move them from phone to SD and vice versa. However, newly installed apps can't be moved from phone to SD card. Anybody experiencing this?
Thanks for the tutorial!
Had a little problem with the directories but after editing their values, everything progressed smoothly.
Are there any other tweaks like this?? i haven't rooted my phone but i want to improve my phone wherever i can.. thanks
I followed this tutorial several days ago, and it worked like charm. No I have just upgraded my from Froyo to official Gingerbread. The previous apps that I have installed are currently on SD card, and I can still move them from phone to SD and vice versa. However, newly installed apps can't be moved from phone to SD card. Anybody experiencing this?
@shlomimoto
no still i didnt complete it.
after after making 'user account control' (UAC) off in control panel i could avoid this error..
and i got some other errors and i think it was problem with my net connection.
now i installed usb driver and that sdk platform. now i will try the rest :-)
thanks pranky!!!!!!!!!
thanks everyone:-)
Last edited by ksajeeb; October 12th, 2011 at 06:24 AM.
Reason: got the solution of problem
I followed the TUT, didn't get any error messages.
Downloaded app2SD and it got installed on my phone, not on the SD card.
I thought this procedure was to install all new apps on the SD card automatically?
Cheers
Gerry
in available package I cant find the USB package. or was it Google USB package? i dont know which one to tick cause I cant find Android sdk tools revision. Im using Galaxy Ace (gingerbread 2.3.4)
Honestly, I'm not rooted. I just installed it on my phone. There are comands that are not permitted, and all of the commands that are not permitted on my terminal emulator are not also permitted on my adb shell when I have my phone connected on my PC. So I assune since the command works on adb shell given my current permissions, I guess it will work as well in terminal emulatr even when not rooted.
hey guys, i need help!
i've followed the procedure step by step, i've done all: installed drivers, installed even kies, installed sdk... i've done all , but , when i type adb devices, the console says : adb is not recognized as an internal or external command, operable program or batch file.
i am in the right directory (tools), i've followed all steps and installed everything... can anybody help me?
thanks.
Hi! i have a non rooted galaxy ace with gingerbread!
i read your TUT and got stuck at one point. when i give commands in the command promt, it says invalid directory. i checked the properties of my sdk manager and it has the same location! please help.
thanks in advance
You can find the latest version of this tutorial here. Though I will try to keep updating this thread too.
Getting Ready:
1. First you have to enable USB debugging on your Android device from Settings > Applications > Development > USB debugging.
2. You need to download and install the latest Android SDK on your computer from http://developer.android.com/sdk/.
3. Install the latest java SDk if you don't already have one.
Tutorial:
1. Extract the package to the folder of your choice [Let's say- C:/android-sdk-windows/], run SDK Manager.exe
2. Close the command / windows command prompt window that opens.
3. In the new window, click on Available Packages to the left. Untick all options you are prompted to download except the USB driver option & Android sdk tools revisionx(13 as of now) & Android sdk platform-tools revision x(7 as of now) if they are there.
(Note-If you get an error message at this point, enable “Force https://…” in the Settings. From the list of available packages, select “Usb Driver package”, click on the Install Selected button in the bottom right corner and follow the prompts. )
4. Do not open Samsung Kies. Connect your phone to your computer with a USB-cable. Your OS will prompt you to install new drivers. Choose to install them from the android-sdk-windows/extras/google/usb_driver folder. Do not mount your device; you only need to plug-in the cable.
(If you don't see this prompt, It means USB drivers are already installed or else install them manually: SAMSUNG USB drivers from samfirmware.com)
5. Run command prompt in administrator.
Type in the following after the ">" at each step (without quotations,and including spaces and capital letters)
"cd C:\android-sdk-windows\platform-tools"
"adb devices"
"adb shell"
A $ sign should pop up
"pm setInstallLocation 2"
Another $ should pop up
And your done. Close everything, disconnect phone, turn off phone and then turn it back on again
Note:Now the phone will be set to install all apps you install onto the SD card. However, current apps on phone will mostly still be stored on the internal memory. This process doesn't move these apps for you, it adds the ability. So you must now manually move those already installed on the phone. Install some apps like app2sd etc.
It’s preferable to install certain apps to the main memory, since it will take a while before the SD card becomes available when you start your phone. Applications installed on the memory card will also be unavailable to the system each time you mount your phone as a disk drive.
In general, apps that integrate with the Android OS and that often run in the background is better to install on the internal storage, while games and most other applications will have no problem chilling outside on your SD.
Widgets should essentially be installed on phone memory.
Update:
From what I have come to understand (correct me if I am wrong), Each app will store some .odex files on phone memory to speed up the boot process.
So don't complain that phone memory is getting lesser after each install. Though if you could've installed 40 apps before now maybe 150+ and still have 30-40 mb left. (depends on what kind of apps you install).
Darktremor's a2sd scripts deodex the apps and COMPLETELY move the apps and cache to sd card but you will need to root and run the scripts. How to install Darktremor's a2sd on Froyo!!
Though an easier way will be to install a custom rom.
Can you please tell me from where do I install JAVA SDK? Did you mean JAVA ADK? I am not a developer and not well versed with these things. So thought of confirming with you.. Rad Installing SDK tutorial.. it seems i need to install Eclipse and SDK pakage.
Thanks Praky for the wonderful tutorial...
I read and re-read about the memory issues before purchasing Ace but had no option in that range but had to go for Ace(though I actually like it!!) because of the good customer base Samsung has in India..
I purchased it on 10th October and had a Andriod version 2.3.4
The andriod forums have helped me from day in understanding things which I myself could not. The forums have practically answers to all the questions I had till date.
I have installed Whats App,FB, Battery Dr Saver, Angry birds and everything started getting storing on phone memory as expected. My phone was running slow since past two days and took seconds to load messages or phone book though I had 132 MB free..
I installed App2SD and it was of no use at all to me as I couldn't move anything to SD card.
As I have to install many many apps yet, I thought I quickly will go through this tutorial and started installing apps on memory card directly.
I just finished installing and apps like FB, Market, Angry birds, Battery Dr Saver can be moved to SD card now.
Thanks a lot Praky. I am hoping the rest of the apps which I would download would be stored on my memory card.
But I still have 2 questions and if you could possibly answer that would be of great help to me:
1. My memory card currently is 2GB, suppose I install some apps on SD card and later if i have to change my SD to suppose 16GB card do i have to shift them back to phone memory and then again back on card?
2. The apps like Maps, Gmail, Gtalk, are still stored in internal memory. Can they be moved? Do I have to install App2SD to move them??
And I hope I have not ruined my warranty as I still have a year to go
Thanks alot once again!! You guys make Android actually available to ppl like us by enabling us to make customizations!!
oh and the path i tried using was this
cd C:\android-sdk\platform tools
any help would be very appreciated
This is the way I did..
When I launched my command prompt , I was on this directory:C:\Users\Harsha>
The I entered : cd C:\ ( means change directory to C:
the I moved to C directory and command prompt showed this:
C:\>
after that I did not type anything but instead pressed tab until I saw android-sdk-windows(the folder where i installed drivers)
selec the folder which appears and enter
once u r intot hat sub folder press tab again until you find the sub folder's name appearing..
In this way you dont make any mistakes in writing the directory path
once you you reach the desired location, then start typing commands..
1. My memory card currently is 2GB, suppose I install some apps on SD card and later if i have to change my SD to suppose 16GB card do i have to shift them back to phone memory and then again back on card?
2. The apps like Maps, Gmail, Gtalk, are still stored in internal memory. Can they be moved? Do I have to install App2SD to move them??
Can you please tell me from where do I install JAVA SDK? Did you mean JAVA ADK? I am not a developer and not well versed with these things. So thought of confirming with you.. Rad Installing SDK tutorial.. it seems i need to install Eclipse and SDK pakage.
No eclipse needed.
Just install the latest Java SDK from the official website at the default location & you are good to go with the rest of the tut.
Hi! i have a non rooted galaxy ace with gingerbread!
i read your TUT and got stuck at one point. when i give commands in the command promt, it says invalid directory. i checked the properties of my sdk manager and it has the same location! please help.
thanks in advance
You must be typing wrong. Check for typos. Be in the same directory(in CMD) where u installed Android SDK.
Hi Praky, is possible to reverse the process? I mean once you have decided to install by default the apps to sd modifing the setting of a keys in the phone sw or fw (actually i don't know) as you are accessing as developer it's possible to restore the default setting like launching a command to re-set the parameter to original?
Yeah. Reflashing or updating firmware will put you on default setting. Otherwise it can be done via ADB too (pm setinstalllocation command). Or you can simply move all apps back to phone memory. However, it would be hard to understand why one would do so?
Yeah. Reflashing or updating firmware will put you on default setting. Otherwise it can be done via ADB too (pm setinstalllocation command). Or you can simply move all apps back to phone memory. However, it would be hard to understand why one would do so?
I'm not sure if will void the warranty. Also I didn't understand very well if once the procedure is done app2sd application will work without routing or not. Thanks in advance for your time
Hi! I followed all of the steps and got a message that appears like a menu:
0)system chooses
1)internal
2)external
When I enter 2 it reads "access denied"
However, after I enter "adb shell" I get a $, and after I enter "pm setinstalllocation 2" I get another $ and then the menu. It's suppossed to work right? Because it doesn't work at all; my phone keeps installing apps onto the main memory and you can;t even move them to sd. I am using Android 2.3. Is it suppossed to be rooted?
ive got up to stage 4. so i have installed the SDK manager. but when i plug my phone in i don't understand what to do? I have downloaded Kies and the USB downloader but niether seem to work? the OS prompt doesnt come up? nothing pops up and theres nowhere for me 2 choose install?
please help.
Hey Praky,
In my case, does the appearance of the menu I mentioned signal that the process is complete, or am I doing something wrong? Also, almost all of the apps still cannot be moved to the sd card. Is this normal, or did something go wrong? I am running Android 2.3 Gingerbread. Thanks.
The Samsung Galaxy Ace is an Internation/European Android phone with a 3.5-inch screen and 800MHz processor. Samsung describes it as minimal yet sophisticated and we'd have to agree. While the specs aren't top notch, the Galaxy Ace still co... Read More