Can't get apk's to install? - Nook Color General

I got my NC rooted (I think LOL) I went through the root process and everything looks fine but now i'm trying to install some apk's and I cant get it to work. I want to install root explorer so I pulled the apk from my Htc Evo and put it in a folder on my desktop. Then in cmd I type
cd\
cd android-sdk-windows\platform-tools
adb kill-server
adb devices
I get my device listed so then I type (before the cursor it says C:\android-sdk-windows\platform-tools>)
adb install C:\documents and settings\owner\desktop\apks\root explorer 2.12.4.apk"
and I get a message that says "can't find 'explorer 2.12.4.apk' to install
I am stuck I don't know what to do. Please help me!!
I have tried the name root explorer 2.12.4.apk with and without spaces

Novarider said:
adb install C:\documents and settings\owner\desktop\apks\root explorer 2.12.4.apk"
Click to expand...
Click to collapse
If cmd is like Linux you have to put \ before spaces like root\ explorer\ 2.12.4.apk

its definitely related to where the apk is located or the file name.
Try putting quotes around the path such as....
adb install "c:\docume...."
If that doesn't work then create a folder on your c:\ called apk then move the file over to that folder and rename the .apk file to something without spaces.
Good luck!

So I am at the correct path? What EXACTLY do you type after you open the cmd? Can you just open the cmd and start installing apps or do you have to navigate to android-sdk-windows...
What do I need to type from the time I open cmd?

rob04 said:
its definitely related to where the apk is located or the file name.
Try putting quotes around the path such as....
adb install "c:\docume...."
If that doesn't work then create a folder on your c:\ called apk then move the file over to that folder and rename the .apk file to something without spaces.
Good luck!
Click to expand...
Click to collapse
The " around the path worked. Thanks!
Now that I have root explorer installed how do I use it? Can I put it on my home screen?

Related

How to put ringonte (.mp3) into phone memory?

As above. Anyone knows?
bryant_16 said:
As above. Anyone knows?
Click to expand...
Click to collapse
put it in the media>ringtone folder.
bryant_16 said:
As above. Anyone knows?
Click to expand...
Click to collapse
Ok... I'll bite. Ringdroid from the market. Any other answer will take some info.
As in, the ringroid will put the ringtones in the sd card memory not the phone memory, i tried copy paste over but fail.
To place them into the phone memory you will need to either copy them using the terminal or push them through adb.
using adb, place the file(s) in your tools folder
Code:
adb push filename.mp3 /system/media/audio/ringtones
In the terminal, if you place them in the root of your sdcard
Code:
cp /sdcard/filename.mp3 /system/media/audio/ringtones
I am not sure if you need to remount or not to push/copy into the folder or not.
It says read-only file system as the error.
jairomeo said:
To place them into the phone memory you will need to either copy them using the terminal or push them through adb.
using adb, place the file(s) in your tools folder
Code:
adb push filename.mp3 /system/media/audio/ringtones
Click to expand...
Click to collapse
Try:
Code:
adb remount
That should fix the "read only" problem.
i'm not using adb... I'm using the second method which is in the terminal.
Do yourself a favor and go get Root Explorer from the market. It lets you move any file to anywhere.
Move your files to /system/media/audio/ringtones and remember to check to see if the files that are there are .ogg or .mp3. If they are .ogg just rename your files after you move them.
What you mean I have to rename the files after i move them?
What's the exact application name? I tried searching on market but could not find any.
bryant_16 said:
What's the exact application name? I tried searching on market but could not find any.
Click to expand...
Click to collapse
I like SUFBS but ES (or estrong) file explorer is good also. SUFBS cost a buck or 2 but I think it is worth it. Either way your phone needs to be rooted for this. You do have root right?
Yeah, phone is rooted. I tried ES Strong Explorer but cannot work, it says something about permission or something like that..
bryant_16 said:
What you mean I have to rename the files after i move them?
Click to expand...
Click to collapse
I'm not sure if it's a "hero thing" but sometimes the file extensions in the ringtones folder are not .mp3. They are .ogg. If you look into the folder and see .ogg files just change the extension and you'll be all good.
As for the apps. Look for "Root Explorer". I believe there are both free and paid options. The paid one isn't very much $$ so, considering how much easier it makes things, give up the loot and support a dev.
I tried searching under market, but cant find it..
id use terminal with cmds, would be a tad faster and a bit more reliable, in my opinion, but as of searching on your behalf i have found root explorer a paid version and estrongs free version by searching "root" while in the market. estrongs sounds unstable. If your going to pay for a good file explorer get SU file manager&terminal. (and...SAA?ror)
How do I use terminals? I tried but that say permission thingy..
Did you mount the system?
OK dude. If you're rooted I assume you have somebody's recovery. Boot to recovery and go into console (Alt+x). Now do this.
<enter>
mount /system <enter> (maybe mount /system/media if just /system doesn't work)
mount /sdcard <enter>
cp /sdcard/yourfolder/yourringtone.mp3 /system/media/audio/ringtones <enter>
reboot
You should be good to go.
Can I do that in terminal? As in one of the application in my HTC Dream?

ADB help...

OK, I know how to use ADB to reboot and get into download mode on my phone, but I have a kind of emergency. I was attempting to replace a framework-res.apk file on my phone to change the battery icon, and now I am stuck FCing all over the place. So much that I can't put my backed up framework-res.apk file back in /system/framework via Root Explorer like I normally do.
I am connected to my phone, can list directories, but cannot seem to push the framework-res.apk file.
Can someone give me a step by step on how to do this and soon please...
EDIT: I think I got it. I needed to be in Recovery Mode, and then it seemed to copy fine.
While I do have someone's attention (hopefully), how do you change directories if the directory you want to change to is two names, IE 'Battery Mod'?
Demented71 said:
OK, I know how to use ADB to reboot and get into download mode on my phone, but I have a kind of emergency. I was attempting to replace a framework-res.apk file on my phone to change the battery icon, and now I am stuck FCing all over the place. So much that I can't put my backed up framework-res.apk file back in /system/framework via Root Explorer like I normally do.
I am connected to my phone, can list directories, but cannot seem to push the framework-res.apk file.
Can someone give me a step by step on how to do this and soon please...
Click to expand...
Click to collapse
Is your backed up framework on your sdcard? You could try adb shell.
from pc,
adb shell
su
cp XXXX/framework-res.apk system/framework <<<may need to use busybox cp
exit
exit
adb reboot
bobbylx said:
Is your backed up framework on your sdcard? You could try adb shell.
from pc,
adb shell
su
cp XXXX/framework-res.apk system/framework <<<may need to use busybox cp
exit
exit
adb reboot
Click to expand...
Click to collapse
My backed up framework file was on my PC. The first one I was trying to get to was on my phone, in a folder called Battery Mod, which I could not get into because ADB kept saying wrong substitution or something?
Either way, I was able to get it done, so I learned something new again.
EDIT: I think I got it. I needed to be in Recovery Mode, and then it seemed to copy fine.
While I do have someone's attention (hopefully), how do you change directories if the directory you want to change to is two names, IE 'Battery Mod'?
Click to expand...
Click to collapse
That makes sense, it may not let you Push to the file system while it's in use.
As for 2 names, do you mean from a windows command box or in the android command line. Windows you just type it as is. Linux is a little more picky, I usually try to remove spaces from directory names so I don't run into any problems with that. In linux a backslash works, ie, cd /sdcard/Battery\ Mod
Not sure if it will work on our phones.

How: can I mod the stock phone.app?

Ok, I must have posted this question somewhere but I would like to know the answer cause no one has answered it. "how do I get the stock phone app to modify?. How would I get it and put it back into my phone? please I would like to know.
38 views and no response?
the .png files for the phone are actually in the contacts.apk.
Are you asking how to modify the apk, or just specifically where are the phone images?
To copy the app from your phone just do: adb pull /system/app/Phone.apk
That will put a copy of the file in your "tools" directory in the android sdk folder
Then when you want to put it back on you should be able to overwrite it with: adb push /system/app/Phone.apk
What exactly are you planning on doing with this file?
Thank you. I want to create my own images to make it look different then the stock colors.
There are 2 apks that contain dialers, one is the Contacts.apk as stated bfore that brings up the phone when the phone icon is pressed the second is in the Phone.apk appears once a call is placed, and the persons picture appears of the person you are calling.
I don't know how to do a adb pull. can you explain?
johnny quest said:
I don't know how to do a adb pull. can you explain?
Click to expand...
Click to collapse
In terminal or command prompt, navigate to the tools directory in the android SDK and run the following commands:
Code:
adb remount
adb pull /system/app/Phone.apk
That will dump the file in you tools directory.
If you are having trouble with this, let me know what operating system you are using and if you have the android SDK installed.
synesthete said:
In terminal or command prompt, navigate to the tools directory in the android SDK and run the following commands:
Code:
adb remount
adb pull /system/app/Phone.apk
That will dump the file in you tools directory.
If you are having trouble with this, let me know what operating system you are using and if you have the android SDK installed.
Click to expand...
Click to collapse
This is confusing. I didn't think it would be so hard. I do UI's for iphone and ipod touch and this is way different. There are so many different things. Its discouraging in some ways. Sorry. I would love to create an app but of course its different. So, I stick to creating themes.
I would love to take a ROM and mod it myself or even modifying Launcher pro but it has that 9.pngs which makes it hard.
Ok, I have the Eris 2.1 rooted with Tenzo Rcmix2.0 installed. I have the SDK installed but don't know what to do with it. I appreciate you taking the time to help me out. I really want to create and mod lots of apps.
this is what I've done to a phone app I downloaded from the market:
-I created my images through Photoshop and saved them to a folder with its correct name used.
-I opened draw9patch and saved the images with the correct name again to a folder.
-I named the folder drawable-hdpi that belongs in the Res folder
-took the files and folder and created a zip out of it.
-opened the AvaboxV2 and signed it.
-loaded to my phone and changed the name to the correct name and installed it
but it keeps saying application not install, I just don't get it. What step did I messed up on?
Anybody? anybody?...............................
This is what you need to do:
1. Open Contacts.apk in 7-zip
2. Copy the images over top of the original images in drawable, drawable-mdpi, and drawable-mdpi-finger (notice I didn't say anything about hdpi)
3. Close the archive.
4. Copy it back onto the device with:
Code:
adb remount
adb push Contacts.apk /system/app
Your phone may not appreciate you pushing Contacts.apk while it is running, so it may become unstable at this point. I would recommend restarting.
icbeer said:
This is what you need to do:
1. Open Contacts.apk in 7-zip
2. Copy the images over top of the original images in drawable, drawable-mdpi, and drawable-mdpi-finger (notice I didn't say anything about hdpi)
3. Close the archive.
4. Copy it back onto the device with:
Code:
adb remount
adb push Contacts.apk /system/app
Your phone may not appreciate you pushing Contacts.apk while it is running, so it may become unstable at this point. I would recommend restarting.
Click to expand...
Click to collapse
thank you but I'm trying to understand what you mean by push ADB. is that the one in the sdk folder? if so, I open it and it just flashes for a few seconds then closes.
ADB is a command line program that allows you to debug and move/edit files on your phone. You need to run those commands from a command prompt (should be a link in the Accessories folder on the Start menu if you can't right-click on the sdk folder and open one). Navigate to the tools folder, then run the remount and push commands like icbeer said to get your modified .apk on your phone:
Code:
C:\users\brtnbrdr> cd c:\android-sdk-windows\tools
C:\android-sdk-windows\tools> adb remount
C:\android-sdk-windows\tools> adb push Contacts.apk /system/app

[Q] [AOKP] Cannot access root files to install boot animation

So, I've rooted my captivate and have installed build 32 of aokp.
I'm trying to install a custom boot animation. However i cannot access /system/media from my computer and when i try to copy and paste the .zip from the sdcard, file manager won't let me. /data/local does not exist.
I should mention i'm running blue infinium.
Any help? I'm pretty sure i'm being stupid but i've tried everything i can think of and read a bunch of threads.
Thanks in advance,
JSP
jsb_front said:
So, I've rooted my captivate and have installed build 32 of aokp.
I'm trying to install a custom boot animation. However i cannot access /system/media from my computer and when i try to copy and paste the .zip from the sdcard, file manager won't let me. /data/local does not exist.
I should mention i'm running blue infinium.
Any help? I'm pretty sure i'm being stupid but i've tried everything i can think of and read a bunch of threads.
Thanks in advance,
JSP
Click to expand...
Click to collapse
Unless I'm mistaken, you actually want to put your boot animation in /system/media.
And if you have ADB installed, you can just reboot to recovery, hook up the USB cable, put your bootanimation.zip into the /platform-tools folder where ADB resides, and issue this command:
adb push bootanimation.zip /system/media/bootanimation.zip
If you don't have ADB, you'll need to get a root-level file manager (ES File Explorer, Root Explorer, etc) to move the file.
Noob mode activated:
I'm assuming ADB is an app, and the code i'm supposed to enter is entered on the phone through a terminal program?
Otherwise thanks, makes sense. Anyway to access /system files through windows explorer?
Thanks again
*EDIT* Also, thats what i've been trying to do with the file manager. But when the file is selected/cut/copied, i cannot access the root files. I have tried several different root file systems.
jsb_front said:
Noob mode activated:
I'm assuming ADB is an app, and the code i'm supposed to enter is entered on the phone through a terminal program?
Otherwise thanks, makes sense. Anyway to access /system files through windows explorer?
Thanks again
Click to expand...
Click to collapse
ADB is on the computer, you run it in terminal or command prompt. There isn't a way to access /system through windows explorer
Sent from my CM9 ICS i897 Captivate
korockinout13 said:
ADB is on the computer, you run it in terminal or command prompt. There isn't a way to access /system through windows explorer
Sent from my CM9 ICS i897 Captivate
Click to expand...
Click to collapse
Alright, thank you. Also, does terminal=cmd? I understand terminal can be on the phone, but i always thought, on windows anyway, that terminal is synonymous with command prompt.
Thank you all for the help
jsb_front said:
Noob mode activated:
I'm assuming ADB is an app, and the code i'm supposed to enter is entered on the phone through a terminal program?
Otherwise thanks, makes sense. Anyway to access /system files through windows explorer?
Thanks again
*EDIT* Also, thats what i've been trying to do with the file manager. But when the file is selected/cut/copied, i cannot access the root files. I have tried several different root file systems.
Click to expand...
Click to collapse
ADB is Android Debug Bridge - it's part of the Android SDK that you have to download and install from Google. It's a pretty handy tool to have.
As korockinout13 pointed out, no dice with the Windows Explorer seeing the root files, and terminal does equal cmd/command prompt.
With the explorer app on your phone, you'll have to look around and find a setting that will tell Android to mount your /system folder as read-write. I believe in Root Explorer there's a button near the top that switches read-only and read-write.
Looked around on explorer and couldn't find the setting. Root explorer costs 4$ and I've tried a couple others. All giving me the read only memory error. I'll just have to wait till I get home to do it over adb. Thanks for all the help.
root access wont let you "see" your root folders when you mount your phone as SD card.
adb is one of many options.
copy to sdcard, then use a root level manager to move
wait!! there was this on the portal today.... Quick ADB Pusher.. adb file pusher GUI
http://www.xda-developers.com/android/push-files-to-your-device-with-quick-adb-pusher/
Got it to work with Ghost Commander. There's an option to remount files as ro/rw.
Works great. Thanks for your help!
That bootanimation is screwed up - it's not zip, files are stored. It took me a while to figure it out.

OBB access

Rooted pure. Can't view android/obb folder in any root explorer. I can verify it is there by switch to its directory in terminal emulator. However I can't write to it. "Error permission denied "
Does anyone know how to make it visible and set write permissions?
I am NON ROOTED
I can only add files or overwrite them, by making a obb folder anywhere else, putting the files in it ,then moving this folder inside the Android folder
Sent from my XT1092
Hmm. I can do that. However it say that folder exist so I have to overwrite it. Seeing that I can't view it I'm worried there might be something I need in it.
Holyoblation said:
Rooted pure. Can't view android/obb folder in any root explorer. I can verify it is there by switch to its directory in terminal emulator. However I can't write to it. "Error permission denied "
Does anyone know how to make it visible and set write permissions?
Click to expand...
Click to collapse
Same problem here
I tried changing permissions in terminal but I couldn't make it visible. It wouldn't even let me delete the folder because the device or resource is busy. It would be nice to fix this. Maybe with twrp you could delete the folder and make a new one that would be visible.
Holyoblation said:
Rooted pure. Can't view android/obb folder in any root explorer. I can verify it is there by switch to its directory in terminal emulator. However I can't write to it. "Error permission denied "
Does anyone know how to make it visible and set write permissions?
Click to expand...
Click to collapse
Hi,
I was also facing the same problem and by some hit and trial i was able to see the folder and write to it. This is what i did:-
1) I used ES File Explorer.
2)In it if you search for obb folder using the "search" option you are able to see the obb folder and the files in it.
If you want a step by step guide i have written it in the following page:- http://forum.xda-developers.com/showpost.php?p=57161290&postcount=3
VHNDEV said:
Hi,
I was also facing the same problem and by some hit and trial i was able to see the folder and write to it. This is what i did:-
1) I used ES File Explorer.
2)In it if you search for obb folder using the "search" option you are able to see the obb folder and the files in it.
If you want a step by step guide i have written it in the following page:- http://forum.xda-developers.com/showpost.php?p=57161290&postcount=3
Click to expand...
Click to collapse
I saw that post. Thanks. I can get into the folder and write to it, but I would really like to make it visible. I think its really odd that with root you can view all the other folders, but not to the obb folder. If anyone knows why, that would be helpful.

Categories

Resources