[Completed] How do you change the default Android app installation directory - XDA Assist

I am currently using guides which utilize android sdk (adb) to change Android's default installation directory. (I can't link the guides i'm using because new users can't seem to post links) The instructions say that I need to:
install Java Development Kit
install Android SDK
activate Developer Options for the android device
open Command Prompt with Administrator privileges
open "...android-sdk\platform-tools" installation directory (for me it was "C:\Users\...\AppData\Local\Android\android-sdk\platform-tools")
hold SHIFT and right-click anywhere on the folder
select "Open command window here"
type in
Code:
adb devices
type in
Code:
adb shell pm setInstallLocation 2
close Command Prompt
With these steps, apparently I should be able to use my SD card as my device's default installation directory. I need to do this because this tablet does not have a lot of space to download apps onto.
Brand/Model: MJS T2702
Android Version: 5.1.1 Lollipop
Internal Memory: 8GB
External Memory: 128GB
My problem is that as I follow these directions, when I get to the part of identifying the android devices in CMD (the "adb devices" step), I cannot find any devices. Nothing shows up. Has anyone tried this technique before? I don't know what i'm doing wrong. I have tried the same instructions on my Motorola Moto E and Nexus 7 (2012) but CMD doesn't seem to identify my android devices connected. All three devices are running the same version of Android.

Hi,
Try posting your question here:
Android Q&A, Help & Troubleshooting
The experts there may be able to help.
Good luck!

Related

quake 3 install help

Can someone please give me detailed instructions how to install quake 3 on the samsung captivate
You have to be able to sideload applications and/or install non market apps. There are multiple threads on how to do this, which typically also include rooting. Anyway I would
1. Root the phone
2. Install the Phones drivers on PC
3. Download Qwaak3 Arena for your device
4. Unpack the rar file to somewhere on your PC
5. Copy the quake3 folder to sdcard/ (this is the internal SD card NOT the external sdcard/sd)
6. Put your phone in Debug Mode (Settings > Applications > Development > USB debugging)
7. Fire up Droid Explorer and load the APK file (Tools > Manage Packages > Install Package)
I cant install it using a powermac.
I download the apk
I cant open on my mac
I tried to install the apk onto my sd card
The file is there but when i install it and try to open it the game force closes.
Im a noob so I figure Im doing something wrong. I have some experience with installing files like this onto mobiles but new to android. any ideas?
*EDIT: This is for vanilla kwaak3. Not the kwaak3 arena that was pasted in the Captivate Apps forum*
I just got it working on my Captivate. I'm using Win7 64 bit though. You do not need to root to install and play Kwaak3.
Download adb - I got it through the Android SDK (you would only need to install the tools, nothing else unless you were going to develop). Then use adb to install Kwaak3.
List devices:
Code:
adb devices
If you don't have any Android emulators running, it should be the only thing that shows up. It'll be a bunch of letters and numbers followed by the word "device".
Then use adb to install the kwaak3.apk file. The '-s' flag designates which device to use - if you have multiple Android devices plugged in or emulators running.
Code:
adb -s <put your device ID here. It's the string of letters and numbers from above without the brackets> install kwaak3.apk
Then use adb to push each individual .pk3 file onto the sdcard. Use pak0.pk3 from the quake3 demo or from your cd if you own it. Take pak1-pak8 from the Quake3 1.32 point release.
You have to do it individually for each .pk3, for example, pak0.pk3...
Code:
adb -s <device> push <full path to pak0.pk3 without brackets> /sdcard/quake3/baseq3/
Once all .pk3's are in that folder, you're good to go.
Hope that helps.
Link to Android SDK:
http://developer.android.com/sdk/index.html
Link to adb instructions for your reference:
http://developer.android.com/guide/developing/tools/adb.html

[Q] Modding From A to B Guide?

Sorry to sound pig ignorant about phones but I am ... my expertise is in PCs. So anyway I want to upgrade the Hero with CyanogenMod.
I backed up my contacts, apps, etc and rooted the phone with unrevoked ... lost everything in memory in the process, but that's OK -- the important stuff is backed up.
Rebooted into stock 21. ROM and skipped all the new user stuff ...
OK, here's where I'm lost ... to load the CyanogenMod ROM I apparently need something like Amon-RA, but to load Amon-RA image file I need to install the SDK pack.
So I downloaded the SDK pack, but it is nothing like what is described in all the install SDK posts I've been able to find. What I have found are instructions about running ASroot and other files that don't exist in the SDK version I have.
So like what do I do now, more important ... is there an A to B thread for doing this mod starting from a stock phone, going to unlocking, than loading SDK, than installing Amon-RA (or equivalent) and than installing CyanogenMOD.
I know all this info is out there, but it seems like most of the files I've found don't interface well in the sense that the ones that talk about doing step one aren't terribly relevant to ones that talk about step 2, etc.
Thanks
Yes. Its a sticky at the top of the page. Search "guides" lol...
Sent from my HERO200 using XDA App
All you need to do with the sdk is download it and extract it. I just put it in the root of my C: drive. Then open a cmd prompt in windows by going to Start > Run > cmd (press enter). Then in the command prompt you need to change directories to the sdk folder you extracted. For example, mine is in C:\android-sdk-windows. I just type "cd c:\android-sdk-windows" then "cd tools" to get into the directory where you can run the adb program. Make sure your phone is in debugging mode by going to settings > applications > development > check the USB Debugging box. Then you can hook the phone up to the usb and run the command "adb devices". If everything is working correctly then you should see a device serial number show up. If that doesn't work make sure you have the htc drivers installed by downloading htc sync from their website and installing it.
Once adb can see the phone then you should run the command "adb shell" and then when you get a $ prompt type su in order to elevate to root. Make sure you put a recovery image on the phones sd card using step 4 from this guide: http://forum.xda-developers.com/showthread.php?t=694572 I think he has a link to download the recovery in that guide but just in case here is a direct download link for the recovery: http://www.androidspin.com/downloads.php?dir=amon_ra/RECOVERY/&file=recovery-RA-heroc-v1.6.2.img Feel free to rename it to recovery.img so that the commands in the guide can be used as is.
Now you should be able to start at step nine from the guide in that thread (you should be in an adb shell when you start). It should be the adb command to flash a recovery image. Once you do that installing roms is as simple as putting them on your sd card and booting into recovery to select the flash option.

[Q] Android OS development

Hi folks,
I have a few question here.
1) I love to have a look inside Android internals (lets say v2.3).
For eg, I may want to change the way lock screen looks or works.
or change the way menu works/see (icons).
As of now, i dont have an android phone. I love to test that in an emulator.
How can i do that?
2) I have an apk file. How will work/run that in an emulator?
Thanks a lot.
There are instructions for the Android emulator here:
http://www.androidguys.com/2010/12/15/android-emulator/
Once that's running, you should just need to open a cmd prompt, and type
adb install nameofmy.apk
(if you get an 'adb' is not a recognised command, you'll need to CD to the 'platform-tools' folder from the sdk first)

phone memory problem somehow solved for low memory phones

Now phones having very low memory...can move almost all apps to sd card (not pre-installed apps) without root
some apps like whatsapps, ninjump were quite big and doesn't support app2sd
but now you can move these apps also...
Here's how to do this
1. To download the latest version of Android SDK (which includes adb executable), follow instructions from step 2 in the Installing the SDK article from the official Android development site. Note: you do not need to install any other software such as Eclipse for this procedure.
2. After downloading the archive of the SDK, unzip it to any folder and remember its location (let’s call this folder <sdk>).
3. If you are installing Android SDK on Windows machine, you also need to install USB driver as described in USB driver for Windows section.
4. Connect the phone using USB cable and do not enable USB storage mode. Go to Settings -> Applications -> Development and enable USB debugging.
5.Start terminal window on your computer (on Windows: click Start, type “cmd” and press Enter).
6.In the terminal window, navigate to folder containing file named “adb”:
If using SDK 2.3 or later: navigate to <sdk>\platform-tools folder using this command: cd “full-path-to-sdk-platform-tools” (replace “full-path-to-sdk-platform-tools” with an actual path as shown in the screenshot below).
If using SDK 2.2 or older: navigate to <sdk>\tools folder using this command: cd “full-path-to-sdk-tools”.
7.Type the following lines in the terminal window and press Enter after each line:
"adb devices"
( This checks that the phone is connected and is in the correct mode. You should see one entry in the list of the attached devices. If you get “device not found” error, see Troubleshooting section below.)
"adb shell"
(If you get “cannot find file” error and are using Mac or Linux, instead type: ./adb shell )
"pm setInstallLocation 2"
"exit"
without quotes
8.Now on your phone go to Settings->Applications->Manage Applications.
and move all the apps to sd card...
remember not to move apps containing widgets to sd card as the widgets wont work after moving to sd card...
If you fin it useful hit thanks button..
Thanks for this tip
Inviato dal mio LG-P690 usando Tapatalk

[Completed] ./adb devices Command: Permission Denied

I'm trying to get my computer set up for when my Nexus 6 arrives so that I can just flash the factory images onto it as sort of a learning experience. I'm using my 2014 Moto X Pure (XT1095) to try to get it to be recognized in Terminal using ./adb devices but it just keeps returning permission denied. I have USB debugging enabled and I'm following TechnoBuffalo's guide on YouTube but I can't seem to get it to work.
I'm using a 2014 Moto X Pure Edition (XT1095), stock, unrooted 5.1.1, 2015 rMBP OS X El Capitan 10.11.1, both Android Studio and Standalone Android SDK Tools installed with all of the tools and packages installed.
Update: Today I uninstalled Android Studio, all SDK files, and then reinstalled just the Standalone tools (Android 6.0 tools and the entire Platform Tools package) and after changing the directory and running ./adb devices, it is still returning this: "-bash: ./adb: Permission denied" every single time. I can't do anything with su or sudo commands because it keeps returning "su: sorry" after I type my admin password. I really can't do anything because it looks as if I have no permissions on my own computer. Is there any way I can gain root/super user privileges on my computer so I can use ADB/Fastboot?
Hi,
Here are a few threads about ADB,
Beginner’s Guide to the Android Debug Bridge
[GUIDE] ADB Workshop and Guide for everyone
[GUIDE] ADB For Beginners (Setup, Use, and More!)
[TOOL] [WINDOWS] ADB, Fastboot and Drivers - 15 seconds ADB Installer v1.4.2
[TOOL]Minimal ADB and Fastboot [11-6-14]
I think your system is read only at the moment, and ADB will not work if so.
You can ask in one of the above threads if you still have issues. But read the first couple posts of each one, and it may help you.
Good luck!

Categories

Resources