[Q] Double Power D7016 7" - Android Q&A, Help & Troubleshooting

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

Related

[How to] Gmail and the Android Market

THIS METHOD IS NOW OUTDATED.
For everyone that is starting from scratch with a wiped NookColor, I have made a linux script available that will do everything for you. This includes enabling apk installs on the device, live wallpapers, multitouch, etc. It will also download and install YouTube, Gmail, and the Market. It also changes the Market fingerprint to that of a Droid Eris on Verizon so you can see protected apps. It does not require use of the Android Emulator to generate an AndroidId as this is done automatically thanks to clockworx. All it does require is that you be nootered and have working Superuser.
Thread here:
http://forum.xda-developers.com/showthread.php?t=871210
DISCLAIMER:
These steps are what worked for me and some may not even be required. If this guide needs any clarification, post a reply and I will do my best to update it. I'm 99% certain all the steps are here.
If you have already tried to get the Market or other Gapps working, etc then it is very likely you will have to do a full factory reset before this will work for you. I have no idea why, but if these steps don't work I would try that first.
In my experience the factory reset is two steps:
8 failed boots restores the /system partition. You can easily trigger this reset without 8 failed boots by running this command from a Linux or Mac OSX command line:
echo -n -e "\008\000\000\000" > /tmp/foo; adb push /tmp/foo /rom/devconf/BootCnt; adb reboot
Click to expand...
Click to collapse
Afterwards:
Booting while holding power+volumeup+nook button restores /data
I had to do both of these steps in this order to get a full reset on the device.
Required:
nc_gapps.zip
system.img for AVD
Youtube for Eclaire
Optional:
Root Explorer really speeds this up. If you have it, I recommend using it as this tutorial is written with it in mind.
* Copy nc_gapps.zip onto the 4gb internal partition of the NC, /media/
* Unmount both the internal partition and the SD card (if applicable) from within your OS but leave the USB cable connected.
* Using a command prompt on your OS, navigate to android-sdk/tools (or platform-tools in newer SDK) and type the following:
adb shell
mount -o rw,remount -t ext2 /dev/block/mmcblk0p5 /system <-----This can be also done by going to /system/ in Root Explorer and clicking "Mount R/W" at the top
cd /media
miniunz -x nc_gapps.zip -d /system/ <-----Overwrite [A]ll if prompted!
echo "ro.config.nocheckin=no" >> /system/build.prop
exit
Click to expand...
Click to collapse
* Leave this command prompt open, we will need it in a minute!
* Install Youtube App. If you have a previous version installed it's best to use Titanium Backup to wipe it's data then uninstall.
* Run Youtube. Press Menu->My Channel. Log in with Gmail account. If you get the authentication error here you can try rebooting and wiping Youtube data again with Titanium Backup.
* Reboot NC
After reboot:
* Using the command prompt on your OS from before, type:
adb pull /data/system/packages.xml
Click to expand...
Click to collapse
*In this file find the string "uid.system". You should find a line that looks like:
<shared-user name="android.uid.system" userId="1000">
Remove the 3 lines beneath this one. They should look similar to:
<sigs count="n">
<cert index="n" />
</sigs>
n is an integer that may be different for everyone. After removing these lines, the line immediately after "<shared-user...>" should be "<perms>"
Save.
* Using the command prompt on your OS:
adb push packages.xml /data/system/
Click to expand...
Click to collapse
Reboot NC and disconnect USB.
Gmail should work but running the Market should load the TOS after which you will get a server error. This is caused by our device not having a valid androidId. Let's generate a valid androidId using the AVD emulator.
Create a new AVD for Android 2.1-API Level 7 using these settings:
SD Card Size: 100M
Skin: Built-in: Default (HVGA)
Hardware Properties:
Abstracted LCD Density: 160
Touch-screen support: yes
Device RAM size: 1024
Once the AVD is in your list, click on it and then click Details on the right hand side. Note the path and move the system.img you downloaded in that directory.
Start the AVD. When prompted, sign in with your existing Gmail credentials. Use CTRL+F11 to slide the keyboard in and out when prompted.
Run this command to get the androidId from the emulator:
adb shell sqlite3 /data/data/com.google.android.googleapps/databases/accounts.db "select * from meta";
Click to expand...
Click to collapse
It's the long number after androidId|, SAVE IT!
Now, connect your NC back to USB.
On the third command below, be sure to replace ANDROID_ID_FROM_EMULATOR with the number I just told you to save.
adb pull /data/data/com.google.android.googleapps/databases/gls.db
sqlite3 gls.db
update meta set intvalue='ANDROID_ID_FROM_EMULATOR' where name='androidId';
.q
adb push gls.db /data/data/com.google.android.googleapps/databases/
Click to expand...
Click to collapse
Reboot NC
Wow, that was quite a bit of work to figure out, to be sure.
Thanks, will give it a try!
Does this also provide the Google account setup capability (Reader, Listen, etc.)?
Thanks for the fix first of all!!!
I used root explorer and copied over all of the files recommended, then installed the youtube app you linked to, but when I tried to go to menu/my channel it flashes a message that there was a problem authenticating.
Any ideas?
Thanks!!!
Never mind...
Before doing the androidID stuff, Gmail is supposed to work? It doesn't. Just flashed for a sec and goes back to home screen
Also, there is no Market icon available. Am I supposed to install Vending.apk after putting it in /system/app?
EDIT: Youtube now doesn't work either...
EDIT2: Youtube works after an uninstall/reinstall, and I can sign in. Gmail still doesn't work and no market icon
bazzly said:
I'm confused....
"Using Root Explorer:
1) copy etc, framework, and lib folders into /system."
Those files are already in the /media/system directory....ohh...you talking the root /system not media/system....correct...?
Click to expand...
Click to collapse
Yes, that is correct.
bbtheory said:
Thanks for the fix first of all!!!
I used root explorer and copied over all of the files recommended, then installed the youtube app you linked to, but when I tried to go to menu/my channel it flashes a message that there was a problem authenticating.
Any ideas?
Thanks!!!
Click to expand...
Click to collapse
Try rebooting first. If that does not fix it then try clearing the data for the youtube app. If all else fails do a complete factory reset and start this from scratch. The youtube authentication issue was my biggest hurdle and I ended up doing a factory reset myself.
Xhorder said:
Before doing the androidID stuff, Gmail is supposed to work? It doesn't. Just flashed for a sec and goes back to home screen
Also, there is no Market icon available. Am I supposed to install Vending.apk after putting it in /system/app?
EDIT: Youtube now doesn't work either...
EDIT2: Youtube works after an uninstall/reinstall, and I can sign in. Gmail still doesn't work and no market icon
Click to expand...
Click to collapse
Same here...
Does the build.prop contain a valid version string which allows market access?
Also, there's a new version of the market going about too
Ok so I got past the youtube and now gmail works and the market gets the server error. However, I cant seem to get started with AVD to get the android ID... are there some more detailed instructions for an AVD noob???
bbtheory said:
Ok so I got past the youtube and now gmail works and the market gets the server error. However, I cant seem to get started with AVD to get the android ID... are there some more detailed instructions for an AVD noob???
Click to expand...
Click to collapse
Were there any variations from the steps above that you made to get gmail working? Not sure why mine is flashing then closing.
norkoastal said:
Were there any variations from the steps above that you made to get gmail working? Not sure why mine is flashing then closing.
Click to expand...
Click to collapse
No variations from the steps above other than fixing the permissions on the files that I copied over... They need to match the permissions of the other files in the respective folders.
Managed to get Gmail, Reader, and Market working. However, every download on the market fails. When I run a logcat i get "authentication failed"
I did replace androidId using the emulator.
Any ideas?
Nice! this works great! just tested out couple free apps from Market and both installed and worked fine. Thanks for figuring this out! finally I don't have to hunt for apk files
-----------
buy the way, AppBrain works fine with Market too.
From my pandigital days I have this question: does enabling google market and other apps prevent your nook color from staying in deep SLEEP?
Sent from my LogicPD Zoom2 using Tapatalk
I had an issue because I had not ever logged into youtube with my gmail account. I went to youtube.com and logged in, then was able to log in using the YouTube app.
Can someone plase post some AVD or emulator instructions??? That would be awesome!!!
For avd, you have to have the Android SDK installed. Then you can run (sdk folder)/tools/android to start the avd manager.
msid said:
For avd, you have to have the Android SDK installed. Then you can run (sdk folder)/tools/android to start the avd manager.
Click to expand...
Click to collapse
When I do that I get this message:
[INFO] Starting Android SDK and AVD Manager
'java' is not recognized as an internal or external command,
operable program or batch file.
bbtheory said:
When I do that I get this message:
[INFO] Starting Android SDK and AVD Manager
'java' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
You need Java. (java.com)

[Q] HTC Drivers--nonmovable app to SD

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!

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

VRoot to SuperSU Installer

VRoot Cleanup Tool - Easily replace VRoot with SuperSU
From your Windows PC​
OK everyone, here's the deal. I did the VRoot the toher day on my phone and it worked great. The problem is that it can be tricky to get the old Chinese Superuser app and SU binaries updated to SuperSU. As a result I decided to put this tool together to help update the VRoot files to SuperSU, and get rid of the old VRoot ones. What this means is that you can now clean up the Chinese Super User app and completely install SuperSU with a single click, from your Windows PC.
How to use:
Download Root Cleanup from here: https://www.dropbox.com/s/sto74q58uq4r1bj/root_cleaner.zip
Extract it to a folder on your computer.
Open the new folder and double click the clean_root.bat file.
Follow the directions.
** You will want to make sure that USB debugging is on (which it should be from VROOT) and that VRoot is closed when you run this. **
Also note I only have one phone to test with, and it worked great on the one I have. Please let me know if you have any other issues and I will try my best to help. Also, as always, not responsible for problems . <3
Edit: I just got asked via PM if this is to be run after freezing VRoot, etc. So I wanted to add here in case anyone else wondered. With this tool you do not need to freeze VRoot, delete any files, etc. My script will literally take care of everything for you. So, run VRoot and the phone will reboot. You can immediately close VRoot on your computer and run this to completely replace VRoot with SuperSU, and remove VRoot files.
This is my first time writing something like this, but so far I have a lot of people who told me it works fine. Please let me know if you have issues and Ill do my best to help! I went ahead and created this thread at the request of some people who have had good success with this on the other thread here: http://forum.xda-developers.com/showthread.php?t=2511815&page=29
Update: V4 is up - this version makes sure that ADB is accessible. Thank you @k1mu for helping me with this!
I want to ask you, why do you think the process on i9505 hangs on the line "cleaning up files" and does not automatically reboot the phone? You need to manually reboot it.
For the rest it works great!
Thank you
fabrilas said:
I want to ask you, why do you think the process on i9505 hangs on the line "cleaning up files" and does not automatically reboot the phone? You need to manually reboot it.
For the rest it works great!
Thank you
Click to expand...
Click to collapse
My guess would be these lines:
adb shell "su -c 'rm /dev/com.mgyun.shua.su'"
adb shell "su -c 'rm /dev/com.mgyun.shua.su.daemon'"
adb shell "su -c 'rm -rf /dev/com.mgyun.shua.su'"
adb shell "su -c 'rm -rf /dev/com.mgyun.shua.su.daemon'"
The issue is that I cant remember if com.mgyun.shua.su and com.mgyun.shua.su.daemon are directories or files. If you could confirm for me which they are then I will be happy to fix my tool!
Thx
Angie
it tells me that "device not found" any clues?
never mind the first statment if i put the file in the phone the run it from my computer it goes away. but I'm now going to put word for word what it tells me. "When prompted to grant root to ADB select yes. 'adb' is not recognized as an internal or external command, operable program or batch file. Once you have granted root to ADB press any key to continue... Press any key to continue . . .
but it never askes me to grant root to it it just sits there and does nothing and if i hit continue with out allowing it, it just deletes the su and unroots the phone. any clues about what I could be doing wrong
Works also with Galaxy S4 Italy Gt-i9505 :good:
ComputerBro2 said:
it tells me that "device not found" any clues?
never mind the first statment if i put the file in the phone the run it from my computer it goes away. but I'm now going to put word for word what it tells me. "When prompted to grant root to ADB select yes. 'adb' is not recognized as an internal or external command, operable program or batch file. Once you have granted root to ADB press any key to continue... Press any key to continue . . .
but it never askes me to grant root to it it just sits there and does nothing and if i hit continue with out allowing it, it just deletes the su and unroots the phone. any clues about what I could be doing wrong
Click to expand...
Click to collapse
If you are getting device not found that typically means that ADB is not able to access or find the phone. I would make sure that you close the VRoot tool as it will keep the debugging bridge tied up, and give you a device not found error. After you root you need make sure VRoot is closed before running my tool.
ComputerBro2 said:
it tells me that "device not found" any clues?
never mind the first statment if i put the file in the phone the run it from my computer it goes away. but I'm now going to put word for word what it tells me. "When prompted to grant root to ADB select yes. 'adb' is not recognized as an internal or external command, operable program or batch file. Once you have granted root to ADB press any key to continue... Press any key to continue . . .
but it never askes me to grant root to it it just sits there and does nothing and if i hit continue with out allowing it, it just deletes the su and unroots the phone. any clues about what I could be doing wrong
Click to expand...
Click to collapse
That "adb is not recognized.. " is because the batch file is not running with it's current directory in the folder where you extracted it.
@LilTechPrincess -
adding "cd %~dp0"
at the start of the clean_root.bat will ensure that it's able to find the files that it needs since that'll CD to the drive and path where the clean_root.bat was extracted.
LilTechPrincess said:
If you are getting device not found that typically means that ADB is not able to access or find the phone. I would make sure that you close the VRoot tool as it will keep the debugging bridge tied up, and give you a device not found error. After you root you need make sure VRoot is closed before running my tool.
Click to expand...
Click to collapse
okay i just needed to update my drivers witch is odd cause i just did it yesterday hmm. Anyway now it runs fine but it wont prompt me on my phone to allow root access to adb
ComputerBro2 said:
okay i just needed to update my drivers witch is odd cause i just did it yesterday hmm. Anyway now it runs fine but it wont prompt me on my phone to allow root access to adb
Click to expand...
Click to collapse
So did it fix your root to SuperSU?
Also, does anyone know how I can prompt root to ADB easier than this? Currently I am doing this to try and force the Superuser prompt:
adb shell "su -c 'touch /sdcard/invoke-root'"
If anyone knows how to do this better please let me know!
k1mu said:
That "adb is not recognized.. " is because the batch file is not running with it's current directory in the folder where you extracted it.
@LilTechPrincess -
adding "cd %~dp0"
at the start of the clean_root.bat will ensure that it's able to find the files that it needs since that'll CD to the drive and path where the clean_root.bat was extracted.
Click to expand...
Click to collapse
Thank you very much for the help! Im still a newb! haha Anyhow, I updated my tool with your suggestion.
LilTechPrincess said:
So did it fix your root to SuperSU?
Also, does anyone know how I can prompt root to ADB easier than this? Currently I am doing this to try and force the Superuser prompt:
adb shell "su -c 'touch /sdcard/invoke-root'"
If anyone knows how to do this better please let me know!
Click to expand...
Click to collapse
No the adb won't start on my phone
It say to me
rm failed for /sdcard/install-recovery.sh, No such file or directory
And now ? xD
Does it also say no device found?
Sent from my SCH-I545 using Tapatalk
Bfitz26 said:
Does it also say no device found?
Sent from my SCH-I545 using Tapatalk
Click to expand...
Click to collapse
No it freze on this
rm failed for /sdcard/install-recovery.sh, No such file or directory
when i disconnect the pone say not found for 4 or 5 times and finish
---------- Post added at 08:49 PM ---------- Previous post was at 08:28 PM ----------
I tri 3 times
try to wipe all data.
Next try is to reinstall last firmware update whit odin or it trip my knox 0x0 to 0x1 ?
MexyHKR said:
It say to me
rm failed for /sdcard/install-recovery.sh, No such file or directory
And now ? xD
Click to expand...
Click to collapse
Thats not a big deal. Basically, I removed the /sdcard/install-recovery.sh from the script earlier and forgot to not try and delete a file that doesnt exist... Ill fix that! haha That doesnt hurt anything at all. Sowwy!
Ok now im freeze on Cleaning Up Files....
Your link is down
Tomsgt said:
Your link is down
Click to expand...
Click to collapse
The link has 2 hh's in the http
eklipz3 said:
The link has 2 hh's in the http
Click to expand...
Click to collapse
thanks did notice that
Finaly dont work on my GS4
PDA: I9505XXUEMJ7
MODEM: I9505XXUEMJ7
CSC: I9505ITVEMJ8
Try 2 times after full wipe and emergency firmware restore.
Freeze on Cleaning etc...
Now need to go sleep 1:06AM in italy
Good night and sorry for bad speak
I speak like a fish trying to speak Russian

Definitive guide to Rooting the Gear S

This thread has been deleted.
This thread has been deleted.
This thread has been deleted.
***** really really really reserved*****
Working w/ Root on a Mac (OSX Yosemite)
CONFIRMED: This works using AT&T (SM-R750A), OSX (Yosemite), VirtualBox and Windows XP. See this link for the driver setup I used on my Mac.
http://www.onebadkid.com/?p=6930
I also find that after factory reset, I still have root! Great job!
---
Also, I haven't been able to get the scripts to work in the virtual machine so I've just been "pushing" the files manually. I did open up the scripts to get the destinations for the various files, so thank you OP. Also, you have to have the Tizen Wearables SDK installed and then use SDB commands in the terminal.
Remember, when using SDB on a Mac, it's: ./sdb [command] (you have to use the "dot-slash")
./sdb devices (to show whether or not your device is connected)
./sdb root on
./sdb shell (puts you into the device's shell so you can navigate the device in a Darwin/Linux terminal)
./sdb push [/full path of the file you want to upload to the device] [/full path of the desination]
I usually open up three Darwin/Linux Terminals on my Mac. One to use to navigate my watch in shell, the other to run the ./sdb command (just like in Windows, you have to run SDB on the mac from within it's home location: "/Users/[you]/tizen-wearable-sdk/tools"), and a third to drop files into so I can quickly see their full file path/location.
"PWD" = print working directory so you can use that in the Darwin/Linux Terminal so you don't get lost.
I'm using Windows 8.1 (don't know if it matters) but after updating to this driver my PC no longer recognized my Gear S. Had to roll back to previous driver.
Ohhhhh!!!
ohh SO installing these and getting it ready for the rest
Edit: got rootfs.img odin'd in so now i wait lmao
Wondering
Good write up so far. I had already gotten root from the previous thread with horrible direcions. LoL After I got my replacement gear s (ALWAYS CHECK YOUR SIM COVER), I rooted it using the bad direction method again (luckily I already know how to do these things), but your directions are very clear cut and noob friendly. You're doing a huge favor to new comers who come looking to root their gear. Hopefully they don't brick them before they find this.
cipherswitch said:
Got any request for certain alarms, notification sounds or ringtones? Shoot me a PM and I will get through them as fast as I can and repost here.
No themes as of yet, but I will definitely be working on custom clock faces apart from everything else​
Click to expand...
Click to collapse
Reset my gear to factory to try out your method.
Odin'd over the root img and all went well after a few reboots (dont' turn off destination, installing new configuration, final reboot).
Watch reboots, open a command prompt and type "sdb root on" (Switched to'root' account mode)
sdb shell whoami
root
sdb shell setup-folder.sh
-1: /bin/setup-folder.sh: Permission Denied
I went and checked your .bat file and it uses the same command. The device says I have root but it's read only file system. I have been trying every trick I know the past half hour; any thoughts?
Megaflop666 said:
Reset my gear to factory to try out your method.
Odin'd over the root img and all went well after a few reboots (dont' turn off destination, installing new configuration, final reboot).
Watch reboots, open a command prompt and type "sdb root on" (Switched to'root' account mode)
sdb shell whoami
root
sdb shell setup-folder.sh
-1: /bin/setup-folder.sh: Permission Denied
I went and checked your .bat file and it uses the same command. The device says I have root but it's read only file system. I have been trying every trick I know the past half hour; any thoughts?
Click to expand...
Click to collapse
Do this
sdb root on
sdb shell
chmod +x /bin/setup-folder.sh
./bin/setup-folder.sh
Megaflop666 said:
Reset my gear to factory to try out your method.
Odin'd over the root img and all went well after a few reboots (dont' turn off destination, installing new configuration, final reboot).
Watch reboots, open a command prompt and type "sdb root on" (Switched to'root' account mode)
sdb shell whoami
root
sdb shell setup-folder.sh
-1: /bin/setup-folder.sh: Permission Denied
I went and checked your .bat file and it uses the same command. The device says I have root but it's read only file system. I have been trying every trick I know the past half hour; any thoughts?
Click to expand...
Click to collapse
Color me embarrassed. It seems in the final uploads, I nabbed the rootfs file that wasn't done yet. Uploading the new file now,sorry for the delay.
I reset, flashed the wrong one to confirm the issue then flashed the correct rootfs and confirmed it working. That was the issue, Im waiting for the new one to upload to mediafire now.
and yeah, I couldnt type this morning, totally freaking out.
cipherswitch said:
Color me embarrassed. It seems in the final uploads, I nabbed the rootfs file that wasn't done yet. Uploading the new file now,sorry for the delay.
I reset, flashed the wrong one to confirm the issue then flashed the correct rootfs and confirmed it working. That was the issue, Im waiting for the new one to upload to mediafire now.
and yeah, I couldnt type this morning, totally freaking out.
Click to expand...
Click to collapse
Its all good, I decided to tear into some things and bricked the damn thing, so I am sitting here waiting (forever) for the original firmware to download so I can factory restore it. I was not even able to get into recovery, just download mode. LoL
Oh well, if flashing the original firmware doesn't fix it, i'll take it up to Tmo at 10am and get a new one.
new rootfs uploaded as of 12/17/14 8:42 am est, I also updated the link in the writeup.
::::::Just a quick dirty write-up of how to load sounds with your newly rooted Samsung Gear S::::::
Since most folks are rooting their Gear S for the ability of adding Ringtones (which can be done via a pay app) and adding Notifications, Wallpapers, Watch Faces, you get it......
Once you have followed the awesome rooting guide contained here and you want to load some stuff:
Path for Ringtones:
/opt/share/settings/Ringtones/
Path for Notifications:
/opt/share/settings/Alerts/
Path for Wallpapers:
/opt/share/settings/Wallpapers/
Path for Alarm Sounds:
/opt/share/settings/Alarms/
I have placed both mp3 and off files and they both work fine. Sometimes when setting your applicable Alert/Notification/Ringtone and the file is a mp3, the sound will not play, no worries, it will when the Alert/Notification/Ringtone is invoked.
To load files (Choose appropriate folder listed above)
sdb root on
sdb shell ls /opt/share/settings/Alerts/ (Shows directory listing for /opt/share/settings/Alerts/ on the Gear 2)
sdb push NAMEOFFILE /opt/share/settings/NOTIFICATION_TYPE_FOLDER (ie /Alerts or /Ringtones)
Megaflop666 said:
Its all good, I decided to tear into some things and bricked the damn thing, so I am sitting here waiting (forever) for the original firmware to download so I can factory restore it. I was not even able to get into recovery, just download mode. LoL
Oh well, if flashing the original firmware doesn't fix it, i'll take it up to Tmo at 10am and get a new one.
Click to expand...
Click to collapse
It is SO hard to brick this device so you will be fine! If you get into the firmware failed to install screen you're still good to go. Like I said, I got to bootloops and thought it was dead but stock fixed everything.
No worries you're fine!
You'll be fine!
You will be fine. I've been able to restore from this screen using stock.
Um actually..... its easier. Connect your gear, drop your content into the right folders (eg; ringtones, alerts and such) and run the update script. done and done.
ipstack said:
::::::Just a quick dirty write-up of how to load sounds with your newly rooted Samsung Gear S::::::
Since most folks are rooting their Gear S for the ability of adding Ringtones (which can be done via a pay app) and adding Notifications, Wallpapers, Watch Faces, you get it......
Once you have followed the awesome rooting guide contained here and you want to load some stuff:
Path for Ringtones:
/opt/share/settings/Ringtones/
Path for Notifications:
/opt/share/settings/Alerts/
Path for Wallpapers:
/opt/share/settings/Wallpapers/
Path for Alarm Sounds:
/opt/share/settings/Alarms/
I have placed both mp3 and off files and they both work fine. Sometimes when setting your applicable Alert/Notification/Ringtone and the file is a mp3, the sound will not play, no worries, it will when the Alert/Notification/Ringtone is invoked.
To load files (Choose appropriate folder listed above)
sdb root on
sdb shell ls /opt/share/settings/Alerts/ (Shows directory listing for /opt/share/settings/Alerts/ on the Gear 2)
sdb push NAMEOFFILE /opt/share/settings/NOTIFICATION_TYPE_FOLDER (ie /Alerts or /Ringtones)
Click to expand...
Click to collapse
sbrownla said:
It is SO hard to brick this device so you will be fine! If you get into the firmware failed to install screen you're still good to go. Like I said, I got to bootloops and thought it was dead but stock fixed everything.
No worries you're fine!
Click to expand...
Click to collapse
I wasn't worried to begin with. It's dead, stock firmware flash didn't even fix it. New one will be here tomorrow afternoon. It'll be my third one since I first bought it done my kids drowned the first one. Lmao
Megaflop666 said:
I wasn't worried to begin with. It's dead, stock firmware flash didn't even fix it. New one will be here tomorrow afternoon. It'll be my third one since I first bought it done my kids drowned the first one. Lmao
Click to expand...
Click to collapse
Hm ... what was it doing when you tried to flash?!
I was working on changing some permissions, rebooted it and it never came back, don't even have recovery. From what tmo said, this has happened to other people on this watch

Categories

Resources