How do I install apk from Terminal Emulator from my Android Phone running JellyBean ? - Android Q&A, Help & Troubleshooting

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 ..

Related

Market Enabler on Tattoo

Hi guys,
I wanted to get access to the US-market (as I'm from Germany...) to get my hands on the facebook, amazon or eBay app.
Thus I rooted my Tattoo (thanks to Coburn64 for his guide) and installed the app Market Enabler 3.0.8.
I tried to switch to another carrier with the app, but I only got "Houston, we've got a problem" instead of the success dialog i was hoping for.
Has anyone got that app to work properly on the Tattoo?
Thanks in advance for your answers.
It's working fine for me. I cannot see many apps though.
So I'm using android emulator, and I can see and download everything from market. It is the best solution.
What Android emulator do you use?
If I install the app on the emulater of my Android SDK I can't use the Android market place, can I?
Edit: Tested it just now and it doesn't work. I haven't rooted the emulated phone but... I hardly think that's necessary, is it?
I use 1.6. I just create an sdcard(google it and you will find how) and select the image file of this sdcard when I creaded the AVD. After that start the AVD, wait android to load, open market app, sign up and download first astro file manager. After that, when you want to install a file to tattoo, download it from market, fire up astro file manager, menu->tools->application manager/backup, select the file you want and press backup. Then go to sdcard/backups/apps to see if is there. If yes, start a dos command prompt, cd to drive and directory in which is the tools folder of SDK (eg cd d:\adroid-SDK\tools)
and write the command adb pull (eg: adb pull /sdcard/backups/apps/com.android.myapp.apk D:\programs\apps)
I have the same problem, great succes in rooting the phone, but i´m not able to get Market Enabler to do what it should.
Any ideas?
Kroman
dancer_69 said:
After that start the AVD, wait android to load, open market app, sign up and download first astro file manager.
Click to expand...
Click to collapse
I created the SD card, fine. But I'm still quite clueless where or how to get the market app. It's not availible on the SD card when I create it.
Did you create the SD card from the image of a real Android phone or did you just use the AVD for that, like I just tried? If you created it from a real phone, how did you manage to do that?
Market was there when I run the emulator image.
But I think you can install it via adb. You need to download it and push it to emulator with command adb push path\to\market.apk /sdcard and then install it on emulator. If your device is rooted you can find and copy to sdcard, the apk package by root explorer. After transfer the package to pc, start the emulator, open a command prompt, cd to android SDK tools directrory(you can put market apk package file there too) and run the adb push command
At long last, I (or rather we - I had help from a friend) managed to get access to the Android market of US.
BUT we didn't even need the Market Enabler for that. By googling for "Vending.apk" (the name of the market app) I found the first link to be of help. I can't paste it here cause I'm new to this forum, but it was the blog of someone called Kumar Bibek.
The way it was described on that blog didn't completely work, but after following the comments we finally had success.
Thanks for your help.
Sounds good that you were able to get access to US market!
I have been trying to find the link (blog) you are talking about, with no luck. Can you describe it a little better where i can find the blog
Kroman
If you google for "Android market on emulator" you should find some link to tech-droid whatever.
I'll try to pass you the link via PM, maybe that'll work.
can you explain the way u enabled usa market here cause i can't ?
thanx
Have you already visited the blog I mentioned in my post? In the comments there is some guy who has successfully created an AVD that can easily connect to the US-Market. Just download his AVD from the link he posted there and adjust the path in the .ini-file to the one you store the data at.
Edit 1:
Let's see if I have the permission to post the link by now:
http://tech-droid.blogspot.com/2009/11/android-market-on-emulator.html
Edit 2:
Fine, it works!

[Q] Scripting on the Archos 70

Hi!
Could anyone help steer me towards a solution please?
Or tell me if its impossible (and why).
I am trying to put together a script of some kind which I can use to do a basic rebuild of my Archos 70 after I have done a Full Reinitialization. I like to mess around installing all sorts of stuff, but when done, it's nice to reset and go
back to a clean machine.
As it's not rooted (yet?) I generally rebuild manually which takes ages.
Although a relative newbie at Android/Linux, I have worked with scripting
on mainframes and in the Windoze arena for many years.
The scripting requirement is quite simple, namely to install packages one by one from the SD card. Also to copy back Bookmarks, launcher setting etc
I am happy to work in any language which will work, but to date have just been trying with .SL (Bash?) scripts which run quite happily from within the SL4A environment or according to my theory, should work also from Android natively.
I envisage the script residing on the SD card and when invoked installing my launcher, Dolphin Browser, various other apps and games, then copying back the settings which I have saved (also by script) before the Initialisation.
Trouble is, I can find no simple samples which help. When I try, I can 'cp' stuff about and echo messages etc, but when I try to install, I don't really know where to start. I have tried just the name of the app package
'/sdcard/sdcard/packagename.apk', it replies 'permission denied' and if I try 'sudo package.apk', it says 'not found'.
I am assuming that the 'permission denied' is a good sign because it understands what I'm trying to do at least. But if I am allowed to do it myself, then surely my script should be allowed to do it?
I am quite happy messing around myself. But if anyone has any pointers
(sample scripts, which language/environment to use, etc.) I would be most grateful.
Sorry if this is covered elsewhere. I have searched but was unable to find much which helped. I am continuing the search!
Thanks in anticipation!
1. All normal installed Apps are installed in /data/app as the apk
2. Local/private data comes into /data/data/name.of.the.package
Both directories are ony accessible with root.
Hell again,
Thanks for your reply fzelle, but I'm not sure as to whether I may have explained it properly.
I am running 'Quick System Info' which is great, and it has a function to backup all the installed apps to a directory you can get at without root access. From there I have copied them onto the SD card.
I am not just trying to copy them into the working directory.
If I click on an app, it lets me install it without any problem.
I am trying to automate that part of the process, and I need the name of the software which does the installation, and how to actually give it the parameters for it to do the install. Although a Linux newbie, I don't really understand why, if I am allowed to install apps myself,
a script that I run should not be allowed to install them also?
Anyone got any ideas please?
Oops! - Sorry for that unfortunate typo at the beginning of my last post. Please read as 'Hello'!
No, i didn't understand you wrong.
You want to automate the installation of your std programs, and that normaly doesn't only include the apk but also the private Data.
And if you manually want to install this, you need root to be able to write in /data/data
If you just want to Backup/Install the apps, use appSaver from the market.
That has allready everything you need, and doesn't need root.
fzelle said:
1. All normal installed Apps are installed in /data/app as the apk
2. Local/private data comes into /data/data/name.of.the.package
Both directories are ony accessible with root.
Click to expand...
Click to collapse
Not entirely true.
I have some SSH tunnels set up on my rooted phone that use keys and a shell script to launch them, all set up with Better Terminal Emulator. The key and script files are located under /data/data/com.magicandroidapps.bettertempro/home. I wanted to use the same keys and script on my A70, so I copied the files from my phone to the same directory on my A70 using the terminal command line. Although you can't browse to the app folders under /data/data/, there is some ability to copy stuff into them. I guess the trick is knowing what and to where.
I've not used appsaver, but Astro will also let you back up and reinstall your apps all at once.

[Q] can't get token id on htc desire x

hi guys, i'm new in this forum, and i'm new to android too, i just bought a htc desire x and want it to be root, but i have problem when trying to get token id in hasoon2000 HTC Desire X All-In-One Toolkit V2.0 [1-1-2013], it says C:\ Document is not recognized as an internal or external command openable program or batch file.
usb debugging is already connected, please any one kindly fixing my problem, thx
sorry for my bad english. btw i'm from indonesia
Did you follow these steps?
How To Use. THIS IS FOR THE PC ONLY. No plans ever for Mac or Linux. Sorry.
1. Download the toolkit DO NOT RENAME THE FOLDER
2. Download Winrar from here. Install it after you download it
3. Extract the folder anywhere.
4. Run the program.
thx for replying so quick, after i downloaded then i extract to desktop and just run the program by clicking the symbol written as desire, am i doing it right?
Try to unpack it somewhere else on a root of some partition of your PC, try to unpack it to non system partition.
ok thx, i'll try it tomorrow, i'm sorry i've to go home coz it's 11.41pm already in my town, and i'm still on friend's house.
thx anyway for your reply, i'll let you know the progress
hi nlooooo, i did what u told me to do and it worked, i unpacked to (Cdrive, but another problem came on my device when i clicked get token id.
here is the picture shows the problem
@nlooooo.....i just tried your way on rooting this device, and same problem came up on step 8 when getting token id, still it says C:\ Document is not recognized as an internal or external command openable program or batch file, i've found out my device still locked, is it because of the device still lock? here's the image shown
problem solved
hi nlooooo......i've rooted my device, just try to put all the downloaded file to C:drive, and followed your tutorial on your thread, and i succeeded, at least i saw superuser on my device, thx alot for your tutorial.
No problem, that's why we're here. If you see it then it should be it. Try to install some app that requires root privileges (Titanium Backup for ex) and see if it can get SU rights.
hi.....any recommendation of apps or what to do after this rooting? cos i really a noob in android and root things. thx
uso_diario said:
hi.....any recommendation of apps or what to do after this rooting? cos i really a noob in android and root things. thx
Click to expand...
Click to collapse
Yeah install AdFree, and get rid of the ads
ayyu3m said:
Yeah install AdFree, and get rid of the ads
Click to expand...
Click to collapse
Well, it works for me with wifi but not with mobile data, it's configured over APN IP.
nlooooo.....sorry to bother you again, but i think my dx still not rooted, cos when i installed titanium backup root it comes like this, what do i hv to do?
ayyu3m said:
Yeah install AdFree, and get rid of the ads
Click to expand...
Click to collapse
heyyy........thank you
uso_diario said:
nlooooo.....sorry to bother you again, but i think my dx still not rooted, cos when i installed titanium backup root it comes like this, what do i hv to do?
Click to expand...
Click to collapse
Go and open Superuser app, swipe to first screen and see if the binary is installed. Then go and clear data for Titanium and open it again.
If you still have the problem use some root explorer to check folder system/bin if there is a file named su.
nlooooo said:
Go and open Superuser app, swipe to first screen and see if the binary is installed. Then go and clear data for Titanium and open it again.
If you still have the problem use some root explorer to check folder system/bin if there is a file named su.[/QUOTyes..there is binary installed, but it says outdated binary notification ticked
Click to expand...
Click to collapse
That's ok it should be like that. For me Titanium is working fine I have no problems.
nlooooo said:
That's ok it should be like that. For me Titanium is working fine I have no problems.
Click to expand...
Click to collapse
hi nlooooo........finally i got it fixed by start it all over again today........i'm new in this forum, don't know whether i can click your thanks button or not, but i will try it anyway, thx a lot
ps: i think it clicked
uso_diario said:
hi nlooooo, i did what u told me to do and it worked, i unpacked to (Cdrive, but another problem came on my device when i clicked get token id.
here is the picture shows the problem
Click to expand...
Click to collapse
I've got the same screen too, nothing is happening. What did you do to make it work?
i am getting stuck at last step i am always getting this message sending 'unlocktoken' (0kb) .
i have not installed htc sync app but just directly installed the drivers for unlocking purpose.
the boot loader is recognizing the usb connection as Fastboot usb.
using windows 7 32 bit operating system.
tried putting the unlock_code in c drive and desktop but it doesnt work.
the file is just a 1kb file.
the default view is shown as a vlc player file.
any help will much appreciated. this is my 1st htc mobile and am not used to this kind of rooting. previously owned a samsung so was using odin a lot.

[Q] How do I move the cache folder to SD card without Emulator?

**EDIT** Was seaching for a while couldn't find what I was looking for, pressed back button and posted this in what I thought was just a general troubleshooting forum. Sorry about that please move this question to the correct location. Thank you.
I've looked everywhere for the answer, only answers I could find were for ICS (I have gingerbread 2.3.4), where for non-low-end systems or weren't compatible with low-end systems (at least ones with YAFFS, I don't know if I have that or not though).
How do I move the cache folder to SD card without Emulator? (I believe I have a YAFFS device according to this post: http://forum.xda-developers.com/showthread.php?t=633246 {Since it is a "low-end" device - Kyocera Milano C5120} )
I've found a couple tutorials on how to do this, one doesn't work since my termial emulator wants to say "Failed" on the first command line "umonut /cache" my phone is rooted and I could move stuff around and delete it with Link2sd and RootAppDelete while using "Root File Manager" to give myself permissions.
The other tutorial was here:
rojanu
.wordpress.
com/2011/11/30/
moving-android-cache-to-sd-card/
It tells me to use umount /cache but it says the same thing my computer says when I try to run shell commands on it, "Failed" but all my other root apps work just fine, its just that for some reason I can't use the terminal. (I had to use Poot to Root, since all the commands though the terminal kept saing "Failed".
Would like to just be able to install stuff without having to constantly manipulate internal memory all the time.
With all that information basically my question is: How do I move the cache folder to SD card on a low-end device (Kyrocera milano C5120) running gingerbread 2.3.4 without a Terminal Emulator?
~Rooted Kyocera Milano C5120
Zelious said:
**EDIT** Was seaching for a while couldn't find what I was looking for, pressed back button and posted this in what I thought was just a general troubleshooting forum. Sorry about that please move this question to the correct location. Thank you.
I've looked everywhere for the answer, only answers I could find were for ICS (I have gingerbread 2.3.4), where for non-low-end systems or weren't compatible with low-end systems (at least ones with YAFFS, I don't know if I have that or not though).
How do I move the cache folder to SD card without Emulator? (I believe I have a YAFFS device according to this post: http://forum.xda-developers.com/showthread.php?t=633246 {Since it is a "low-end" device - Kyocera Milano C5120} )
I've found a couple tutorials on how to do this, one doesn't work since my termial emulator wants to say "Failed" on the first command line "umonut /cache" my phone is rooted and I could move stuff around and delete it with Link2sd and RootAppDelete while using "Root File Manager" to give myself permissions.
The other tutorial was here:
rojanu
.wordpress.
com/2011/11/30/
moving-android-cache-to-sd-card/
It tells me to use umount /cache but it says the same thing my computer says when I try to run shell commands on it, "Failed" but all my other root apps work just fine, its just that for some reason I can't use the terminal. (I had to use Poot to Root, since all the commands though the terminal kept saing "Failed".
Would like to just be able to install stuff without having to constantly manipulate internal memory all the time.
With all that information basically my question is: How do I move the cache folder to SD card on a low-end device (Kyrocera milano C5120) running gingerbread 2.3.4 without a Terminal Emulator?
~Rooted Kyocera Milano C5120
Click to expand...
Click to collapse
Have you tried using something like root browser lite and just long press click move and place wherever you want?

[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