[Q] HTC Drivers--nonmovable app to SD - Android Q&A, Help & Troubleshooting

I've been trying to move my nonmovable apps to my sd card based on the instructions on this site. It won't let me post the link, but i just googled
"moving your 'non-movable' android apps to an sd card" and it will come up.
Basically it uses the SDK tool to edit some of the lines of code. I'm not really that good with this kind of stuff, but the directions are clear and i should be able to handle it.
My only problem is i can't get the comp to recognize my phone (HTC Evo 4g), probably because i don't have the right drivers installed. I think I'm looking for something called an HTC usb driver. The website i linked to says to check the htc website for the right drivers, but nothing is listed. I even called htc but they acted like they didn't know what i was talking about. I mean, my comp recognizes the phone to the extent i can use it as a disk drive and all that, but not the specific type of phone, which is what i need i guess.
Does anybody know where i can find those drivers, or know of a better way to help me? Thank you.
andrew

Try installing HTC Sync, it should install the correct drivers for your phone.
EDIT: There is also a much simpler (in my opinion, anyway) alternative: Go into the Play Store and download the app "Terminal Emulator" (https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en). Open the app, and from here you can type the commands without the "adb shell" at the start.
So open the app and type the following:
Code:
pm getInstallLocation
to view the current install location (0 or 2 - should be 0 by default) and then the following:
Code:
pm setInstallLocation 2
to change the install location to SD and allow apps to be moved to SD.
You don't need to install anything from the SDK or mess with any drivers. Just download a tiny app from the Play Store and type two commands (the first isn't even really necessary, I just mention it because the guide I think you were following did - may as well do it, it doesn't take very long [<1 second] and won't do any harm)
EDIT: You can also type this:
Code:
pm setInstallLocation 0
afterwards to set it back the way it was, as the guide recommends. Apparently leaving it as 2 can cause problems. (Apps won't be moved back from the SD card, it'll just mean you'll have to do the steps again if you need to move more apps to the SD card).

Thanks a bunch for your response, SifJar. The terminal emulator seems like the way to go, and it should be easy enough for me. But i keep running into a problem when i try it. The terminal emulator app works fine, but when i type "pm setInstallLocation 2" (without the quotes) it says "Error: unknown command 'setinstalllocation'
Then it looks like it lists all the available commands, including the one i just tried to type that it says doesn't exit! Any ideas?
Thanks for your help.
andrew

Make sure you are typing exactly "pm setInstallLocation 2". It is case sensitive. The error you mentioned says "setinstalllocation", which would suggest you don't have the upper case I and L in Install and Location respectively. Make sure you have the upper case letters and try again.

You're right. Thanks a lot for your help!

Related

[HOWTO]Enable greyed out "Move to SD"

Found it in for HTC Desire http://forum.xda-developers.com/showthread.php?t=742379
but tried it on our Optimus One and it worked.
Root access is required else you will get a "killed" reply
Majority, not all apps will have the button enabled.
Always backup your phone (nandroid) before trying anything.
You will need terminal
Download Terminal Emulator from Market. (or any terminal software)
type the command below
Code:
su
pm setInstallLocation 2
if you see "[1] Killed pm setInstallLocation 2" means it didn't work
if it replies with "#" means it worked.
now open up settings->manage application and check out which applications have the move to SD enabled.
NOTE: SD card loads slower than the phone. So you will need to know what can be moved and what is better left in the phone. If an essential app is required on boot and the file cannot be found because it is on SD (which isn't loaded yet) you might run into some problems.
Some apps like Facebook can't be moved to SD.
Yes, I know there is A2SD it I can't get it to work on stock rom so this is my other alternative.
Or you can just install "Move2SD Enabler" from market.
Yeah,that is another way for non rooted users I believe.

android.process.acore process has stopped

running vegan and i keep getting this message. I think my wife was using it and maybe the battery died? not sure. any thoughts?
thanks
I get this about every 2 weeks. I boot into clockwork, reset to defaults, then restore from backup.
sent from my g-tablet using tapatalk
i got it. found the answer in the android general forums. You have to delete a database and it clears it up.
Steps
Posting the steps you took might be a little more helpful to anyone reading your thread.....
gpzjack said:
i got it. found the answer in the android general forums. You have to delete a database and it clears it up.
Click to expand...
Click to collapse
Which data base?
Do you mean perform a clear cache/data?
or are you mentioning the contact database sync from gmail?
from another post:
I noticed at least two people in this thread have had this problem. The following worked for me... At one point I started getting this error also. Driving me crazy! Could not bring up the keyboard, and the message would pop like every 5 seconds. I searched and found this post (thanks and credit to KinkyMunkey):
process com.android.acore FC and how i fixed it
I didn't want to wipe data, so I tried it. I couldn't use ES File Explorer for this, but Root Explorer worked great!
The problem is a corrupt contacts sqlite database. As the referenced post says, you'll be able to tell if thats the problem when there is a .db-journal file in the folder. The folder is /data/data/com.android.providers.contacts/databases/ *Note* this is not the data folder in sdcard, but the data folder in root (/).
Just delete the databases folder in /data/data/com.android.providers.contacts and restart. The contacts database will be rebuilt and re-synced.
This has worked for me twice (thank goodness). I don't know what causes the contacts DB to get messed up... it wasn't a drained battery for me.
Thank you so much, this worked for me!
gpzjack said:
from another post:
I noticed at least two people in this thread have had this problem. The following worked for me... At one point I started getting this error also. Driving me crazy! Could not bring up the keyboard, and the message would pop like every 5 seconds. I searched and found this post (thanks and credit to KinkyMunkey):
process com.android.acore FC and how i fixed it
I didn't want to wipe data, so I tried it. I couldn't use ES File Explorer for this, but Root Explorer worked great!
The problem is a corrupt contacts sqlite database. As the referenced post says, you'll be able to tell if thats the problem when there is a .db-journal file in the folder. The folder is /data/data/com.android.providers.contacts/databases/ *Note* this is not the data folder in sdcard, but the data folder in root (/).
Just delete the databases folder in /data/data/com.android.providers.contacts and restart. The contacts database will be rebuilt and re-synced.
This has worked for me twice (thank goodness). I don't know what causes the contacts DB to get messed up... it wasn't a drained battery for me.
Click to expand...
Click to collapse
I also had the "android.process.acore process has stopped" problem. I seem to have fixed it by going to "Manage Apps", "Running", "Contacts Storage", "Clear Data", then same process for Contacts Sync Adapter. Seems to have resolved problem...so far.
yup the contacts storage got corrupted -> most likely you created an empty contact in the contacts app by mistake. Someone should sticky this - i see one of these threads daily haha. Its a pretty common problem.
many time that error (fc) is due to a contact with blank first and last name as the contact database uses them as index. if you have blanks the probem will keep returning.
thanks for the tip - seems to have helped me out of the
...acore... problem
Mind you, I **Never** touched the contacts app in any
way whatsoever.
The corruption happened "spontaneously"
After playing (it is *only* suitable for play) with android
for a few weeks now, you know what, android is CRAP
Cant get to Manage Apps
Everytime I go to settings the damn thing pops up. Cant get to anything to clear the data base. Dont have root explorer and cant find that in the file manager I do have.
Any help?
cassycan said:
Everytime I go to settings the damn thing pops up. Cant get to anything to clear the data base. Dont have root explorer and cant find that in the file manager I do have.
Any help?
Click to expand...
Click to collapse
I had this problem just tonight. Thanks to GPZJack for posting the file to delete. For those of you who can't launch programs because of the "force close" dialog, here is how to do it without that.
1) Install the android developer kit on your PC. You will need the program adb (short for android debugger). I tried to post a link to the instructions, but am too noobish for the forum to allow me to post links. Just google android sdk install
2) Attach gtablet to computer using usb cable
3) [Assuming windows] Launch a command window. cd to tools directory under the android sdk install directory.
4) type the command "adb devices" (without quotes) to verify that adb sees your tablet. If not, you need to install the correct usb drivers. Find help with google gtablet usb driver install
5) type the command "adb shell" (without quotes) This will connect you to the tablet and provide you with a unix shell prompt #
!! Careful with this next command. It will delete the databases directory. Make sure you type the line correctly so that you don't accidentally delete something else.
6) #rm -r /data/data/com.android.providers.contacts/databases
7) #reboot
And your tablet should reboot and work.
Hope that helps!
Norm Minske said:
I also had the "android.process.acore process has stopped" problem. I seem to have fixed it by going to "Manage Apps", "Running", "Contacts Storage", "Clear Data", then same process for Contacts Sync Adapter. Seems to have resolved problem...so far.
Click to expand...
Click to collapse
I was unable to see the folder described in other peoples solutions, your solution of clearing data through the settings application worked great for me on brilliant corners 1.3.1. Thanks.
simuloid said:
I had this problem just tonight. Thanks to GPZJack for posting the file to delete. For those of you who can't launch programs because of the "force close" dialog, here is how to do it without that.
1) Install the android developer kit on your PC. You will need the program adb (short for android debugger). I tried to post a link to the instructions, but am too noobish for the forum to allow me to post links. Just google android sdk install
2) Attach gtablet to computer using usb cable
3) [Assuming windows] Launch a command window. cd to tools directory under the android sdk install directory.
4) type the command "adb devices" (without quotes) to verify that adb sees your tablet. If not, you need to install the correct usb drivers. Find help with google gtablet usb driver install
5) type the command "adb shell" (without quotes) This will connect you to the tablet and provide you with a unix shell prompt #
!! Careful with this next command. It will delete the databases directory. Make sure you type the line correctly so that you don't accidentally delete something else.
6) #rm -r /data/data/com.android.providers.contacts/databases
7) #reboot
And your tablet should reboot and work.
Hope that helps!
Click to expand...
Click to collapse
i manage to get tru the issue on adb shell by installing usb deview, n my command bar alrdy shown my device no. after typing adb devices but aft adb shell, came $ and not #, is there any different?
okay i had mine miracle- ly and not realising it done, my force stop no longer appear after downloading the latest busybox apps.=)
Hi - I was getting the acore error too. but I went ahead & did an nvflash. The error is still popping up. Any ideas?

[Guide] How to install Ubuntu Linux on your phone [1.0 Coming Soon]

Notice:
Click to expand...
Click to collapse
Sorry guys this no longer works...
Ubuntu removed alot of the files needed to run it on a phone off of their website which is why you are getting the errors on the script to try and install it.
Recapped:
Here's what I mean the website the script is going to to get the files no longer exists...
Heres an example to see for yourself: http://ports.ubuntu.com/ubuntu-ports/pool/universe/t/tightvnc/tightvncserver_1.3.9-4_armel.deb
I will try and find a new link to plug in but for now it DOES NOT WORK!
Thank you for your patience on the thread,
StrumerJohn
==== How to Install Ubuntu Linux on your HTC EVO 3D / Sensation 4G ====
Table of Contents
Post 1
1: Disclaimer
2: Pre Requirements
3: PC Guide to push to phone
4: MAC Guide to push to phone
5: Additional Scripts
6: Credits
Post 2
1: FAQs
2: Recognitions
Post 3
1: News and Updates
2: Additional Notices
Click to expand...
Click to collapse
-Disclaimer-
This has been tested on my phone and runs perfectly fine, I am not responsible for you breaking, bricking, or dropping your phone on the floor and causing the USB cable to fall out and blow up your device.
Pre Requirements:
A rooted HTC EVO 3D or Sensation 4G
A S-off'd HTC EVO 3D or Sensation 4G
netarchy's kernel (Silverneedle Test5)
Android SDK
The USB drivers for your phone. (x32) (x64)
A microSD Card
2.3 GB Free of space on your microSD card
Know how to read to directions
Click to expand...
Click to collapse
The intense Procedure:
1. Download this version of Ubuntu. [Download #1] [Download #2]
2. Unzip the Ubuntu folder to your desktop and if you want, delete the compressed one you downloaded.
3. On your phone go to Settings > Applications > Development and turn on USB debugging.
4. Plug in your USB cable (from your computer to your phone) and mount your (mirco)SD card.
5. Move or copy over the unzipped / normal Ubuntu folder. This will take a long time unless you have a class10 microSD card.
6. After moving / copying that file over, tell your phone to unmount the (micro)SD card / Set the phone to Charge Only mode.
7. Now on your computer, go to where you have Android SDK installed. (Example on my computer: E:\Program Files (X86)\Android\android-sdk )
8. When in the main SDK folder, hold shift and right click a blank area and then click on "open command window here". It should of opened the command line window with the directory of your SDK already put in. If not type cd "C:\Your directory or location of your SDK"
9. Now type "cd platform-tools"
9.5. (Optional) "type adb devices" and check if the computer recognizes your phone. If not you need to reinstall your drivers from the download link above in the requirements.
10. Type "adb shell"
11. Type "su" so we have superuser permissions
12. Type "cd /sdcard" so the directory is changed to the (micro)SD card
13. Type "cd ubuntu" so the directory is changed to the Ubuntu File
14. Type "sh ubuntu.sh" so we can install Ubuntu
15. Type "bootubuntu" to start up Ubuntu. Next time you enter Ubuntu, you just need to type "bootubuntu" from your /sdcard/ubuntu directory, there is no need to run ubuntu.sh again.
16. If you got "[email protected]" in the command line, you have sucessfully installed Ubuntu. If not make sure you installed netarchy's kernel. If it still does not install correctly please try a different ROM, I have only tested this on SteelROM 1.1. *AFTER INSTALLING ANY ROM, YOU NEED TO REINTALL THE KERNEL.*
17. Now type "apt-get update" to update Ubuntu to the latest version. Then "apt-get upgrade" to apply the update.
18. Type "apt-get install tightvncserver" to install the vncserver. (Your telling your phone to read off it self pretty much.)
19. Type "export USER=root" To make yourself a user / the user
20. Type "vncserver -geometry 1024×800" to set the screen resolution you want to display on your phone. Remember you can always zoom in by pinching, so you don't need to make this that much smaller. You should also get prompted to set a password, do so. You will need to remember this password to log in.
21. Download the AndroidVNC Viewer off the Market here.
22. Open the viewer, and put in a nickname, your PASSWORD FROM ABOVE, and for the IP Address put: 127.0.0.1 for the port put 5901. THEN SCROLL DOWN and make the COLOR FORMAT 24-bit colors (4bpp).
And finally, hit Connect to launch Ubuntu on your phone!
For Mac users:
Finder -> Applications -> Utilities (folder) -> Terminal
When you cd to where your adb is located, cd is lowercase as are most all unix commands.
If you're unsure where to go, get to adb in your Finder, right-click, get info, the pop-up will show you the path. Note in unix that the folders (subdirectories) are separated by / and not by \ like in Windows.
Once you're there, the only trick you need to know is to tell unix that adb is located where you are, so you change the adb shell command like this:
./adb shell
That's about it, all other instructions once you're inside the phone shell are the same.
OBTW - after the unzip of the initial file from the OP, just drag and drop the whole ubuntu folder to your NO NAME drive (normal sd card formatting doesn't get a name at the factory, so by now you know that your sd card mounts like that anyways I'd suppose - just put it here in case).
Click to expand...
Click to collapse
Additional Scripts
Danaff37's
danaff37 said:
That's the script catted out.
I posted a different script a few pages back that I think will help you guys. I modified it so we should have no trouble with apps in sd.. I finally got a bigger sdcard so I can test this stuff and this script works great. Please guys try this script. If you download it in phone it will change the name and add a bin on it I think, so rename it accordingly and make sure it gets into /system/bin with the right permissions (755 or rwxr-xr-x), then run it
http://db.tt/gin57Gd
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
Credits:
Ubuntu Modded and Guide by: Me
Mac Guide Written by: EarlyMon
danaff37's Script by : danaff37 (of course)
Original dev of Ubuntu: Zedomax
If you have any problems beside the slow downloads because of the blown up servers, let me know below. Also I tried to type this fast, so if there is any typo's or broken links let me know too! Thanks!
Also feel free to hit the Thanks button or Donate for more Guides
FAQS
FAQS
Do I need to have everything in the android-sdk downloaded and installed?
No, you just need to have the base sdk.
When I tell the command prompt to adb devices, my phone does not show up!!
Make sure you have installed the proper drivers for your phone and for your correct operating system
I'm not getting "[email protected]" when I type / copy-&-paste "bootubuntu"
Well, this could be for a various amount of reasons, first make sure you have a rooted HTC EVO 3D/Sensation. And by root, I mean a full root, not just a temp root or S-off. If you still do not get "[email protected]", flash your device (or go though your data folder and delete all the ubuntu files, then delete the ubuntu file off of your sd card and clear your caches.), and retry the above steps. If the problem still persists, then please PM me with your exact problem.
I'm having issues within the VNC, and I get an error message when I hit "connect".
Make sure you typed your password correctly, the passwords are case sensitive. If you still cannot get in, make sure your IP Adress is set to "127.0.0.1" and your Port(s) are "5901".
The colors on my screen look all weird and disorientated, how do I fix this?
Close Ubuntu, and re-open the VNC application, then scroll down to "Color Format" and tap on "24-bit color (4 bpp)".
The on-screen keyboard does not work and I get a different letter or character for whatever character I type!
The on-screen keyboard will work now, if you install LXDE.
I'm not good with reading text! I need a video demonstration!
For a video head here: http://www.youtube.com/watch?v=YbunTRzEQCI
How do I close Ubuntu?
Two options here:
1.Logout of the server and go to your homescreen and push menu, then go to settings, then Applications, then Running Services and close any remaining open part of the server program. The service may re-open later, do not close it though. It won't use up a noticable amount of RAM, just enough to make sure the application opens quick again.
2. Logout of the server and use your favorite task killer to close the server process. The service may re-open later, do not close it though. It won't use up a noticable amount of RAM, just enough to make sure the application opens quick again.
FAQS should be in order chronologically (until the end of them).​
I would like to give a huge thanks to EarlyMon, for helping out lost members. This thread would not be as peaceful if it were not for him.
And it seems I have forgotten to list another VERY helpful person here, danaff37. I am really grateful to both of these two for all of the help and work they have done to aid others.
Am I missing a question that you are pretty sure is asked ALOT (lol)? Then PM me please and I'll get it up here ASAP!
Upcoming Change log for final release:
(StrumerJohn's Zedomax Ubuntu Mod)
Made a launchable .exe for easier updating and installing of Ubuntu
Default mode LXDE for fixed keyboard
Pushes Server application to your phone
Fixed a few problems that caused people to have an error in installing
Server application updated
Fixed port issues for log in errors
News update 11/13/11
Bad news and Good News:
Ubuntu was successfully updated
Update brakes keyboard
Update breaks Apps2SD
Update takes up less space (1GB instead of 2GB)
Update ONLY works on MIUI so far
Updated script to add work around for those facing issues
Computer .exe only working on x64 Windows 7 computers ;-;
Thank you for those of you testing! Might make this open Beta...!
Version as of 12/12/11
Alpha Build 1.0
What Doesn't Work so far:
Boots to latest version only to lock up phone (Unless you are running MIUI)
Keyboard borked
Doesn't work on ICS
Audio Broken
Apps Saved on SD
What works:
Everything else
Sweeeeet.
Appreciate my help? Thank me
Wow this is amazing! Never used linux before tho...
Haven't looked at the bootubuntu script yet, but I know a lot of these couldn't work if you had any apps on sdcard at all. Each app moved to sd takes a loop device.
Sent from my PG86100 using XDA App
maazing will try tonight!!!!!!
danaff37 said:
Haven't looked at the bootubuntu script yet, but I know a lot of these couldn't work if you had any apps on sdcard at all. Each app moved to sd takes a loop device.
Click to expand...
Click to collapse
Just moved partially like moving to the SD or Actually having them Downloaded and Installed to the SD?
Interesting. Nice write up
Sent from my PG86100 using XDA Premium App
Cool...
But, why.
Cause you can?
Sent from my 3vo via Tapatalk
Because Ubuntu has some computer applications you can't normally use on your phone. In the browser download Java and check out runescape runs like shizzle but once we get new quad phones out I'm sure it would run fine. lol
This is what I wanted. Million thanks....
Sent from my PG86100 using www.psvitahacks.co app
Added to my 'Complete LIST' thread: http://forum.xda-developers.com/showthread.php?p=16132451
StrumerJohn said:
Just moved partially like moving to the SD or Actually having them Downloaded and Installed to the SD?
Click to expand...
Click to collapse
Using the stock apps to sd like under manage applications (like the same as is available on a non rooted phone). The script for ch rooting can be made to work around it though. But most aren't.
Sent from my PG86100 using XDA App
danaff37 said:
Using the stock apps to sd like under manage applications (like the same as is available on a non rooted phone). The script for ch rooting can be made to work around it though. But most aren't.
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
If there are any small minor problems like that and it's not working proper, let me know. I'll mess around with some things and release a patch.
Installed successfully and works great except I can't type cause of the keyboard glitch. Anyway around it?
Sent from my PG86100 using XDA Premium App
Working with shooter rewind
akiradavis said:
Installed successfully and works great except I can't type cause of the keyboard glitch. Anyway around it?
Sent from my PG86100 using XDA Premium App
Click to expand...
Click to collapse
The only way to get around it atm (at the moment) is to use a bluetooth keyboard.
Very sweet! I will test this tomorrow when I get home. It should work on my ROM as well
Nice....can't wait for the keyboard fix.

How do I install apk from Terminal Emulator from my Android Phone running JellyBean ?

Hello,
Here is the short story.
I have Samsung Galaxy ACE which is rooted.
Till y'day I was using CM9 Beta 8 ICS 4.0.4 and it was working well.
I installed CM10 JB for Galaxy Ace alpha1 from "hxxp://maclaw.pl/?page_id=180#comment-3642"
Now the problem is, JB doesn't have File Manager installed and I need to install TB to revert my backups.
Due to some unknown reason I am not able to access internet on my device either through GPRS or 3G connection.
I am desperately looking for a way to access my SDCARD wherein I have all my apk's which I can install however, without File Manager I am not sure how to install an apk.
I did some google search and came across topics about installing apk using Android SDK etc.. however I would not want to work on SDK as I feel its bit tedious job for me.
I also tried Android Injector however that didnt work even if I have enabled USB debugging Mode for adb + apps.
Now, I am hoping that, I can use the Terminal Emulator which is preinstalledo n my phone to install apk present on my sdcard.
However, I am not sure how to do that, It would be really appreciated if anyone can suggest the steps to install apk present on my sdcard from Terminal Emulator available on my phone.
Here are some of the screen captures
http://imageshack.us/photo/my-images/855/screenshot2012072418240.png/
http://imageshack.us/photo/my-images/52/screenshot2012072418234.png/
http://imageshack.us/photo/my-images/822/screenshot2012072418230.png/
Thanks
Never mind...
I managed to install Astro File Manager apk from Terminal Emulator.
For those who are interested, here is what I had done.
Previously, I wasn't able to browse sdcard contents from TE,
I rebooted my phone once, fired up TE again
~Android$ su
Allow root access for TE
~Android# cd sdcard
~Android# ls ( Contents of SD card are listed ) I had copied astrofm.apk on root of SDCARD
~Android# pm install astrofm.apk
Success !
Thanks
P.S. This thread can be closed.
@@
hsotnas said:
Never mind...
I managed to install Astro File Manager apk from Terminal Emulator.
For those who are interested, here is what I had done.
Previously, I wasn't able to browse sdcard contents from TE,
I rebooted my phone once, fired up TE again
~Android$ su
Allow root access for TE
~Android# cd sdcard
~Android# ls ( Contents of SD card are listed ) I had copied astrofm.apk on root of SDCARD
~Android# pm install astrofm.apk
Success !
Thanks
P.S. This thread can be closed.
Click to expand...
Click to collapse
Awesome guide !!!! , thanks bro !! :good::fingers-crossed:
Thank you for the guide
it works. thank you
works, thanks
hsotnas said:
Never mind...
I managed to install Astro File Manager apk from Terminal Emulator.
For those who are interested, here is what I had done.
Previously, I wasn't able to browse sdcard contents from TE,
I rebooted my phone once, fired up TE again
~Android$ su
Allow root access for TE
~Android# cd sdcard
~Android# ls ( Contents of SD card are listed ) I had copied astrofm.apk on root of SDCARD
~Android# pm install astrofm.apk
Success !
Thanks
P.S. This thread can be closed.
Click to expand...
Click to collapse
I very much appreciate the quick tutorial!
However, with that being said, I am having an issue trying to install my .apk onto my Motorola Xoom (Rooted running CM10.1) through the use of Terminal Emulator. I first tried installing the .apk from my File Manager and just clicking on the icon, and clicking Install, like one would think one should be able to do. When that method failed, multiple times(kept saying "insufficient storage, please delete files through app manager") which by the way, I know for a fact I have 15.8GB of storage left on my Xoom, so this should not be the issue. I then decided to try and install through Terminal Emulator. Now one would think it would be about the same as using adb commands on a Computer, which it somewhat is I guess you could say. So I go to T.E. and type the commands to get Super User access, then cd sdcard to go into the directory, then cd download because this is where my file is located, then I type pm install ****.apk.
I get a line of command that says: a) pkg: ****.apk and then b) Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE], and then the command line just goes back to my download folder directory.
I've had this issue before on my Galaxy S3, but can't remember how I ended up resolving the issue. Think I did a factory data reset/wipe, which I don't want to have to do to my Xoom. So any assistance would be much appreciated. I do understand that your device was a Galaxy ACE, but I wouldn't think it would matter as to what the device is, since it is the same install method/command for any Android device essentially. Hope someone can help out. If not, I may have to post in another Device Thread (Motorola Stingray Xoom I would assume).
Many thanks in advance, and I will click the Thank You, if any responses come through.
Really appreciate for the guide man
Sent from my LG-P700 using xda app-developers app
Thanks for the reply... short, to the point, and it works.
DannyShane said:
I very much appreciate the quick tutorial!
However, with that being said, I am having an issue trying to install my .apk onto my Motorola Xoom (Rooted running CM10.1) through the use of Terminal Emulator. I first tried installing the .apk from my File Manager and just clicking on the icon, and clicking Install, like one would think one should be able to do. When that method failed, multiple times(kept saying "insufficient storage, please delete files through app manager") which by the way, I know for a fact I have 15.8GB of storage left on my Xoom, so this should not be the issue. I then decided to try and install through Terminal Emulator. Now one would think it would be about the same as using adb commands on a Computer, which it somewhat is I guess you could say. So I go to T.E. and type the commands to get Super User access, then cd sdcard to go into the directory, then cd download because this is where my file is located, then I type pm install ****.apk.
I get a line of command that says: a) pkg: ****.apk and then b) Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE], and then the command line just goes back to my download folder directory.
I've had this issue before on my Galaxy S3, but can't remember how I ended up resolving the issue. Think I did a factory data reset/wipe, which I don't want to have to do to my Xoom. So any assistance would be much appreciated. I do understand that your device was a Galaxy ACE, but I wouldn't think it would matter as to what the device is, since it is the same install method/command for any Android device essentially. Hope someone can help out. If not, I may have to post in another Device Thread (Motorola Stingray Xoom I would assume).
Many thanks in advance, and I will click the Thank You, if any responses come through.
Click to expand...
Click to collapse
Hi DannyShane,
Not sure if this is still relevant and you are around here, since it's been a very long time and I stopped using Android
I am not an Android geek but here are my 2 cents...
You need to keep .apk file on the root of the SD CARD instead of a folder. IIRC, I had the same exact error which you had mentioned, I was trying to install .apk which was placed in a folder and it didnt work., then I had to move the .apk file to root and it worked flawlessly.
Extremely sorry for the very late response though. I use my secondary e-mail for this forum and missed replies on this thread.
@ All others who have replied, I am glad that, my little finding helped you guys.
Cheers :angel:
I have a few things to add to hsotnas answer. The insufficent space error seems to be a very generic error on android that can have various causes. Maybe there is something like this in the android source code:
PHP:
try{
installApk();
} catch (Exception ex){
output("Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]");
}
If you understand what I mean
I had this error myself a few days ago and for me it was caused by some left over files in the /data/app-lib directory. It was a self-developed application and I added a library to this directory manually. As I uninstalled the application, it wasn't removed and the reinstall failed with the above mentioned error. So make sure the directories /data/data/app.package.name/ and /data/app-lib/app.package.name/ are empty.
I tried this, to install the play store apk. But I get the error INSTALL_FAILED_INVALID_URI. What is this error refering to?
PSV_Supporter said:
I tried this, to install the play store apk. But I get the error INSTALL_FAILED_INVALID_URI. What is this error refering to?
Click to expand...
Click to collapse
Me too same thing happens when I try to install 3.apk
the command used is "pm install apps/*.apk"
Mine are backups of play store
Thankyou for this tutorial... IT WORKS.. Can't believe it.. You made my day. Thankyou :good:
I'm trying to recover an old tablet and need to install a file manager... the touch screen inst working so I thought terminal would do the job... but .APK's dont show when I go to the root of the SD card and type 'ls'
An ideas?
Thanks it works
failed on me ..

[Q] Double Power D7016 7"

I just bought this tablet today, and I wish to root it to run the Android OS 4.3 or higher. It won't let me play Magic 2014 and I can't successfully download the Google Play Store. Does anyone know anything about this who can help me? Would the rooting process be similar to other Double Powers?
Also just picked up a few of these for the kids. Noticed that it does not have google play or log in services. will have to push the apk and libs to the tablet after root has been granted
sketchle said:
I just bought this tablet today, and I wish to root it to run the Android OS 4.3 or higher. It won't let me play Magic 2014 and I can't successfully download the Google Play Store. Does anyone know anything about this who can help me? Would the rooting process be similar to other Double Powers?
Click to expand...
Click to collapse
I just got the same tablet for the kids, super cheap. I used kingo-android Root (just google "kingo android root cnet") it's super easy!:good:
Ah, damn it, I can help, but I can't post hyperlinks. I'll see what I can do. If this is hard to read, I hope some non-rookie will quote me and fix the links in the quote.
I picked one of these up on Black Friday for less than 50 bucks. Good times. It was a bear getting the Play Store not to crash every session. For quite a while I struggled with the Play Store seeming to run OK for a minute, then "Unfortunately Play Store has stopped" and back to the home screen. Clearing the cache and making sure the Download service was started didn't help. But now things are looking up.
I'm still running Android 4.2.2, which is what the tablet came with. I'm afraid I can't help you with finding a 4.3 rom.
Anyway, mgordon's suggestion of Kingo Root works as well as any. You can also use its bundled adb.exe to push the Play Store onto your tablet. To install a working Play Store, after rooting, follow these steps:
Get this Play Store APK: triple-w dot androidfilehost dot com /?fid=23203820527945029 (found [here](triple-w dot androidpolice dot com /2013/11/01/download-latest-google-play-store-4-4-22/#download))
Go to your Start Menu --> All Programs --> Accessories, and right-click on Command Prompt and choose "Run as Administrator."
In the command prompt window, navigate to adb supplied by Kingo Root. (cd "\Program Files (x86)\Kingo Android ROOT\tools") then continue with the following additional commands.
adb push \users\yourusername\Downloads\com.android.vending-4.4.22.apk /system/app/com.android.vending-4.4.22.apk
adb shell chmod 755 /system/app/com.android.vending-4.4.22.apk
adb reboot
Good luck!
I tried using the Kingo ROOT app, but mine just wont root. Ive rum it close to a dozen times now. Any suggestions? Thanks!
And calraith, thanks for the walk through on getting google play to work. It works great!
tbs123456q said:
I tried using the Kingo ROOT app, but mine just wont root. Ive rum it close to a dozen times now. Any suggestions? Thanks!
And calraith, thanks for the walk through on getting google play to work. It works great!
Click to expand...
Click to collapse
I attempted three or four various methods of rooting before successfully rooting with Kingo. It could've been that Kingo wouldn't have been successful for me without the filesystem modifications made by other tools -- I'm not sure, and don't really feel like restoring to find out.
Maybe try rooting with sf.net/projects/rootandroid ; and after reboot if your apps fail to gain root privileges, use Kingo to remove and restore root. See if that helps.
calraith said:
I attempted three or four various methods of rooting before successfully rooting with Kingo. It could've been that Kingo wouldn't have been successful for me without the filesystem modifications made by other tools -- I'm not sure, and don't really feel like restoring to find out.
Maybe try rooting with sf.net/projects/rootandroid ; and after reboot if your apps fail to gain root privileges, use Kingo to remove and restore root. See if that helps.
Click to expand...
Click to collapse
I will give that a try. Thanks!
Here's another useful hack. You know /sdcard points to the rather scant internal sdcard. Once you install a few apps there's little room left for music, movies, etc. You can put some of your media on an external sdcard mounted at /mnt/extsd, but some apps expect their media content to be accessible within /sdcard -- camera apps and FireTaps, for example.
It'd be nice if you could have /sdcard/DCIM and /sdcard/FireTaps as symlinks from true directories on /mnt/extsd. Unfortunately since sdcards use a fat32 filesystem, symlinks aren't supported. You can, however, use mount bindings to accomplish the same sort of thing. Mount is a kernel thing rather than a filesystem thing.
After you get your tablet rooted, you can install and use "Universal init.d" from the Play Store to execute user-made startup scripts. I wrote the following script to bind all the directories from my external sd to my internal. I saved it as /system/etc/init.d/99extbind (using ES File Explorer with root permission) and did chmod 700 (from a JS Terminal console and su for root). Any directory I want to move from the internal sd to the external, now i just move it via cut & paste then reboot. After reboot, the contents of the directory are accessible from both directory trees, but physically only use space on the external card.
Code:
#!/system/bin/sh
bind_to_sdcard() {
d=$*
d2=/mnt/sdcard/${d##*/}
[ ! -d "$d2" ] && mkdir "$d2"
mount -o bind "$d" "$d2"
}
# purging empty directories
for d in /mnt/sdcard/.*; do [ -d "$d" ] && rmdir "$d" 2>/dev/null; done
for d in /mnt/sdcard/*; do [ -d "$d" ] && rmdir "$d" 2>/dev/null; done
# binding directories from external sd on internal sd
for d in /mnt/extsd/.*; do [ -d "$d" ] && bind_to_sdcard $d; done
for d in /mnt/extsd/*; do [ -d "$d" ] && bind_to_sdcard $d; done
exit 0
Edit: If you attach your tablet to a PC via USB and enable USB storage, the tablet will not be able to make the internal sdcard available to the PC. I'm guessing this is because when the tablet attempts to umount /mnt/sdcard the device is busy with other child mounts and can't be umounted. The internal sdcard is still accessible to ES File Explorer and similar while not plugged into a PC, though. I recommend copious backups just in case calamity strikes, in any case.
Edit 2: After ejecting from the PC, SwiftKey complained about not being able to read the sdcard, and predictions and swiping were unavailable. A reboot fixed it.
So far for me, the benefits outweigh the problems. I've now got over a gig of FireTaps songs, 250 megs of books, and 500+ megs of application data available in /sdcard where before i was limited to about 1.3 gigs.
Sent from my D7020 using Tapatalk 2
calraith said:
Ah, damn it, I can help, but I can't post hyperlinks. I'll see what I can do. If this is hard to read, I hope some non-rookie will quote me and fix the links in the quote.
I picked one of these up on Black Friday for less than 50 bucks. Good times. It was a bear getting the Play Store not to crash every session. For quite a while I struggled with the Play Store seeming to run OK for a minute, then "Unfortunately Play Store has stopped" and back to the home screen. Clearing the cache and making sure the Download service was started didn't help. But now things are looking up.
I'm still running Android 4.2.2, which is what the tablet came with. I'm afraid I can't help you with finding a 4.3 rom.
Anyway, mgordon's suggestion of Kingo Root works as well as any. You can also use its bundled adb.exe to push the Play Store onto your tablet. To install a working Play Store, after rooting, follow these steps:
Get this Play Store APK: triple-w dot androidfilehost dot com /?fid=23203820527945029 (found [here](triple-w dot androidpolice dot com /2013/11/01/download-latest-google-play-store-4-4-22/#download))
Go to your Start Menu --> All Programs --> Accessories, and right-click on Command Prompt and choose "Run as Administrator."
In the command prompt window, navigate to adb supplied by Kingo Root. (cd "\Program Files (x86)\Kingo Android ROOT\tools") then continue with the following additional commands.
adb push \users\yourusername\Downloads\com.android.vending-4.4.22.apk /system/app/com.android.vending-4.4.22.apk
adb shell chmod 755 /system/app/com.android.vending-4.4.22.apk
adb reboot
Good luck!
Click to expand...
Click to collapse
Thank you, thank you!! I have been trying for I don't know how long to get the Play Store to work. I tried it and now it works great!!!
More help with Google Play please...
Hello everyone I have the DOPO D7020 and am trying to install Google Play per the instructions given. I installed Kingo Root and have successfully rooted the device. I downloaded the play store APK to my desktop. I am running the command prompt as administrator but this is where I get stuck. When I follow the directions and enter the commands or even copy and paste the commands to the command prompt it says "....is not recognized as an internal or external command, operable function or batch file." Any help is greatly appreciated, thanks in advance!
impp83 said:
Hello everyone I have the DOPO D7020 and am trying to install Google Play per the instructions given. I installed Kingo Root and have successfully rooted the device. I downloaded the play store APK to my desktop. I am running the command prompt as administrator but this is where I get stuck. When I follow the directions and enter the commands or even copy and paste the commands to the command prompt it says "....is not recognized as an internal or external command, operable function or batch file." Any help is greatly appreciated, thanks in advance!
Click to expand...
Click to collapse
You need to hold down shift and right click on the adb folder, you can't just run the adb commands from any old command prompt, not without setting environment variables, Windows gets cranky about that stuff.
EDIT: Shift, right click, and select "Open Command Window here"
---------- Post added 25th December 2013 at 12:15 AM ---------- Previous post was 24th December 2013 at 11:37 PM ----------
So I scored a couple of these from amazon, planned on giving one to my mother for Christmas, but before that, I had to have one for myself to see what it was about. I actually used Vroot as my root solution. I was able to use the method above to get google play working, so big win there, now if I could only get TiBu to write to the external SD
Kamiex said:
So I scored a couple of these from amazon, planned on giving one to my mother for Christmas, but before that, I had to have one for myself to see what it was about. I actually used Vroot as my root solution. I was able to use the method above to get google play working, so big win there, now if I could only get TiBu to write to the external SD
Click to expand...
Click to collapse
Super Backup (com.idea.backup.smscontacts) will let you specify the backup path. Or you could use my mount -o bind trick in comment #8.
Sent from my SCH-I405 using Tapatalk 2
calraith said:
Super Backup (com.idea.backup.smscontacts) will let you specify the backup path. Or you could use my mount -o bind trick in comment #8.
Sent from my SCH-I405 using Tapatalk 2
Click to expand...
Click to collapse
I actually figured it out late last night. I had the SD card formatted in Fat32, things like ES File Manager and Root Explorer could read and write to it just fine, I formatted the card with exFat and TiBu had no problem writing to it.
USB Drivers
calraith said:
Ah, damn it, I can help, but I can't post hyperlinks. I'll see what I can do. If this is hard to read, I hope some non-rookie will quote me and fix the links in the quote.
I picked one of these up on Black Friday for less than 50 bucks. Good times. It was a bear getting the Play Store not to crash every session. For quite a while I struggled with the Play Store seeming to run OK for a minute, then "Unfortunately Play Store has stopped" and back to the home screen. Clearing the cache and making sure the Download service was started didn't help. But now things are looking up.
I'm still running Android 4.2.2, which is what the tablet came with. I'm afraid I can't help you with finding a 4.3 rom.
Anyway, mgordon's suggestion of Kingo Root works as well as any. You can also use its bundled adb.exe to push the Play Store onto your tablet. To install a working Play Store, after rooting, follow these steps:
Get this Play Store APK: triple-w dot androidfilehost dot com /?fid=23203820527945029 (found [here](triple-w dot androidpolice dot com /2013/11/01/download-latest-google-play-store-4-4-22/#download))
Go to your Start Menu --> All Programs --> Accessories, and right-click on Command Prompt and choose "Run as Administrator."
In the command prompt window, navigate to adb supplied by Kingo Root. (cd "\Program Files (x86)\Kingo Android ROOT\tools") then continue with the following additional commands.
adb push \users\yourusername\Downloads\com.android.vending-4.4.22.apk /system/app/com.android.vending-4.4.22.apk
adb shell chmod 755 /system/app/com.android.vending-4.4.22.apk
adb reboot
Good luck!
Click to expand...
Click to collapse
Where did you get the USB Drivers? In my device manager, I get "Other Devices -> Android" with a yellow triangle and exclamation point.
EDIT: Nevermind, just finished rooting! Had it connected as MTP, switched to USB large storage.
after rooting its easir to install lucky patcher > toolbox >then install modded play store. inintely easier and faster

Categories

Resources