title might sound dumb. But I am running into an issue thats more of just customizing a ROM. Ive searched high and low only running into dead ends. But someone please HOW DO I PUSH .APK's what i am trying to do is get apps such as advanced task manager, setcpu and more. I have all the roms from where they come from. i know i need .apk and i also know i need .odex. ive tried just copy and pasting these things but i run into booting issues i know it cant be done that way ive tried. so if anyone can help with information installing it through adb or is it about moving some files around making sure its all in place then reboot????? please someone HELLPPPPPPPPPPPP!
hobbitton said:
title might sound dumb. But I am running into an issue thats more of just customizing a ROM. Ive searched high and low only running into dead ends. But someone please HOW DO I PUSH .APK's what i am trying to do is get apps such as advanced task manager, setcpu and more. I have all the roms from where they come from. i know i need .apk and i also know i need .odex. ive tried just copy and pasting these things but i run into booting issues i know it cant be done that way ive tried. so if anyone can help with information installing it through adb or is it about moving some files around making sure its all in place then reboot????? please someone HELLPPPPPPPPPPPP!
Click to expand...
Click to collapse
to push an app you type
Code:
adb push app /system/sd/app
adb push app-private /system/sd/app-private
You can also use adb install <path of apk>
do my eyes deceive me or did u two just help someone
pistol4413 said:
do my eyes deceive me or did u two just help someone
Click to expand...
Click to collapse
Hey I was flyin solo for awhile waitin for you jerks. In the mean time I had a nice bone.
pistol4413 said:
do my eyes deceive me or did u two just help someone
Click to expand...
Click to collapse
we help people when we are feeling lonely
but sometimes we give people instructions to brick their phones too
that usually makes me less lonely
Related
I am trying to install the new Hero OS, and can gain adb mount, but when the file I want to upload is on my desktop, adb wont see it. I have also tried adding it to the tools folder of the sdk itself, and it still doesnt see it.
Can anyone help me out a bit? I have even tried writing the full path to the file, but i dont think i have that correct either. So far i have tried these:
adb push app_s /system/sd/app_s
"cannot stat "app_s": No such file or directory"
I also have tried various forms of this, but still get the above responce.
adb push C:\users\username\app_s /system/sd/app_s
Is this a problem with not see ing the file, or am i maybe trying to push it to a non-existant directory on my sd. I dunno, i have searched on here for anything adb, but when you search, nothing comes up.
I have been listening to the stupid htc jingle for over an hour simply trying to figure out how to push a file, so please help me keep my sanity..
you did install the SDK right?
http://developer.android.com/sdk/1.5_r2/index.html
if so, you need to add it to your path or give the full path to where you installed it every time you execute the command
you're even not very smart, or completely lost.
lolz, i'm j/k
i'm a mac user too, pm me you ichat i'll help you out.
i looked at my PATH,
(/Users/tslate/Desktop/fastboot:Users/tslate/Desktop/SDK/tools:
/Users/tslate/Desktop/SDK/tools:/Users/tslate/Desktop/SDK/tools/adb:
tslate/Desktop/SDK/tools/adb:/tslate/Desktop/SDK/tools/adb:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin)
and added the folder to the tools folder and the fastboot folder, but this still doesnt work for me. Still getting Cannot stat 'app_s': No such file or directory exists.
Any ideas?
need mac adb help
I dont understand but my thread was moved to general for some reason so here it is again.
I cannot make adb find local files to push to my g1. I can and do have adb mount though. My PATH is:
/Users/tslate/Desktop/fastboot:Users/tslate/Desktop/SDK/tools:/Users/tslate/Desktop/SDK/tools:/Users/tslate/Desktop/SDK/tools/adb:tslate/Desktop/SDK/tools/adb:/tslate/Desktop/SDK/tools/adb:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
I have tried adding the local file to both the tools folder of the sdk itself, and to the "fastboot" folder mentioned in the PATH, but i get the following error:
cannot stat 'localfile': No such file or directory
Anyone have an idea?
It was moved to general, because it is a general android (poorly worded) question.
Please don't make duplicate threads.
I'm sorry, but I guess I didnt really know there was any other way to ask. I and prob many others here are trying to learn what you guys already seem to know. If I'm going to be called stupid, I would at least like to know the proper procedure is for asking.
I didn't see anyone call you stupid, except one person who said "you're even not very smart, or completely lost." but was just kidding.
neoobs said:
I didn't see anyone call you stupid, except one person who said "you're even not very smart, or completely lost." but was just kidding.
Click to expand...
Click to collapse
Ok, so not stupid, but unable to write a question correctly. So what's the correct way for me to ask this? Im not trying to be a smartass, but when things like this happen, and people don't understand what they did to receive such treatment, it reflects poorly on the xda dev community, and makes it hard to appease the powers that be and get my question answered. So how can i reword the aforementioned poorly written question differently?
For that I point you to some threads, which are all stickied by the way.
http://forum.xda-developers.com/showthread.php?t=479704
http://forum.xda-developers.com/showthread.php?t=519523
http://forum.xda-developers.com/showthread.php?t=480521
how did you setup your variable?
i can adb just fine on my windows computer. i have no idea how to set up the adb on my mac. how do i set the variable?
neoobs said:
For that I point you to some threads, which are all stickied by the way.
http://forum.xda-developers.com/showthread.php?t=479704
http://forum.xda-developers.com/showthread.php?t=519523
http://forum.xda-developers.com/showthread.php?t=480521
Click to expand...
Click to collapse
I actually did do a search through both those adb threads, as well as a search through the general developer forum, which returns 0 results for the term "adb". My question isnt answered in either of those threads which are mostly windows based from what i have seen.
Since no one can really give me an answer on how to make the question better or more to the point so I dont get locked/moved/etc. I'm going to assume there isnt one.
Thanks to those that actually tried to help.
Thread locked. Don't create another one until you learn to read.
I need to change between some sdcards, because I have a lot of videos and games that does not fit in only one sd...
But I have ap2sd, and I figure I need to clone ext partition to the others sd cards (phone hangs if I insert other sdcard) ...
So, that is the question... ¿How can I clone the ext partition of the working sdcard to the rest???
I tried Partion magic, and parangon, but the problem is that software aks to reboot to do the job, and out of windows the usb sdcard reader driver don´t work, and those applications can´t find it when reboot.
I tried ubuntu, but it said I am not (even I am root) the ownership of the files, and don´t let me copy and paste...
I tried G1 terminal with busybox, to copy /system/sd/ to another folder, but it said (even with SU) it can´t, even I see all apps and delvik folder and so on inside /system/sd/...
Any idea how can I do it??
THANKS
check your pm's
So how do you do it?
josepz said:
Any idea how can I do it??
THANKS
Click to expand...
Click to collapse
I'm looking to do the same thing, did you find a suitable solution?
Charrion said:
I'm looking to do the same thing, did you find a suitable solution?
Click to expand...
Click to collapse
check your pm's as well
david1171 said:
check your pm's as well
Click to expand...
Click to collapse
It would be nice if you can post a solution so if other people want to try this the answer is here.
Post Deleted by Author
supremeteam256 said:
It would be nice if you can post a solution so if other people want to try this the answer is here.
Click to expand...
Click to collapse
it involves commands that could be seen as a way to pirate other peoples work so the mods do not like to see them which i cannot blame them. i cannot recall the thread but i saw one where they edited a post that showed how to do pull apps.
david1171 said:
it involves commands that could be seen as a way to pirate other peoples work so the mods do not like to see them which i cannot blame them. i cannot recall the thread but i saw one where they edited a post that showed how to do pull apps.
Click to expand...
Click to collapse
Thats cool, I know how to do this. I didn't know if you had a different method that would be helpfull to others.
I would like to switch sdcards too. Anyone can help me?
Ok so I have been tinkering around for the past few trying to get the Fender Music app on my dream. Well I did it but the app sucks cause it's not FOR my device. And being that I don't know how to make it work right, I decided to go back with the stock app.
Enough rambling, you want the goods...
Backup before doing this cause I take no responsibility.
remove the .zip from the name.
Wouldn't hurt to resign it either...
Put the file in your theme's .zip. In the app folder within the .zip of course.
I don't know how to take screen shots but I will tell you to try it and you will like it. This works on my dream flawlessly. I hope the same for you...
This wasn't really that hard to do. Mostly because I don't know how to modify/make .9's nor these .xml's for that matter. But most of the visuals are what I have modified anyway so I don't see the need...
The one thing I have a problem with is the lack of album art. As soon as I figure that out, things will be nice!
This will be on my theme as soon as I get it out. I have grown to understand how long this takes for you themeer's out there. I thank you all for everything you do. But I would like to thank Binary for helping me understand the basics of things around here!!!
Which brings to my attention, this is based on CM 4.2.13......
screenshot.apk from market...
Thanks much. I was waiting for that actually though.
But that's what I will use when I have everything finished.
Knowing this environment though, I'll never finish...
philosophics said:
Thanks much. I was waiting for that actually though.
But that's what I will use when I have everything finished.
Knowing this environment though, I'll never finish...
Click to expand...
Click to collapse
You can take screenshots even easier with ddms.bat
In revision 4 just go to Device and Screen Capture (or whatever).
Simple.
Ok. Thank you. But I'm still going to wait until I finish my theme before I take screen shots. Until then, you'll just have to dl it to find out what it looks like...
Nice to see you getting so into this. If you want help with .9.pngs, Jairomeo taught me a nice trick that makes it very easy (assuming eclipse is set up).
Eclipse is set up I just don't know how to use it other than to start up a virtual android...
Gonna try it out now. I want to know what it looks like
/edit: here is the signed .apk (Or was it already signed?)
(push to system/app)
ok noob question lol... i downloaded the file but when i try to copy it to system/app folder it says file is read only.. something i missed?
rel500 said:
ok noob question lol... i downloaded the file but when i try to copy it to system/app folder it says file is read only.. something i missed?
Click to expand...
Click to collapse
You need to root your device...
done that.. phones rooted with Dwang 1.7.1 rom. sd parted etc etc... im just confused, do i have to delete the current music apk and replace with the new one?
rel500 said:
done that.. phones rooted with Dwang 1.7.1 rom. sd parted etc etc... im just confused, do i have to delete the current music apk and replace with the new one?
Click to expand...
Click to collapse
adb remount
ffff00 said:
adb remount
Click to expand...
Click to collapse
yea. what he said.
This is outdated. I haven't had the time to work on it lately and I apologize for that. My theme hasn't seen any love for a few days either.
But it works and looks better than stock.
Here's how I install it.
Put music.apk in root sdcard folder. Use a file manager like Astro or And Explorer to navigate to it. Click it and install with package installer.
Enjoy!
I am wondering if there is any literature online about a simple guideline or something of that nature about the adb shell and commands and all that. I have rooted my phone and used the adb, but dont really understand it just basically copying off guides that were on here. also like loading apks through the shell and taking apks off, and having to rename zips all this stuff im kinda gray on but if someone could maybe point me in the direction of a good place to understand all this i would be very grateful....i am new to this but am very addicted to xda now modifying my phone I am currently using darch's 2.1 and really want to add all the additions but need to know about using the shell thanks in advance guys...people on xda rule the world
aauussttiinn88 said:
I am wondering if there is any literature online about a simple guideline or something of that nature about the adb shell and commands and all that. I have rooted my phone and used the adb, but dont really understand it just basically copying off guides that were on here. also like loading apks through the shell and taking apks off, and having to rename zips all this stuff im kinda gray on but if someone could maybe point me in the direction of a good place to understand all this i would be very grateful....i am new to this but am very addicted to xda now modifying my phone I am currently using darch's 2.1 and really want to add all the additions but need to know about using the shell thanks in advance guys...people on xda rule the world
Click to expand...
Click to collapse
Well id say if your very addicted to xda then you should know there's these things called Sticky's at the top of page very useful info could of answered your own question.
forum.xda-developers.com/showthread.php?t=603052
When you use the command "adb shell", that is simply dropping you into the shell of the phone. The phone runs Android, which is a version of Linux. Since almost EVERY ROM has "busybox" installed, you are able to run Linux shell commands on the phone, just as if you were on a Linux install on a computer. So just learn basic Linux commands, and you'll be fine
yea bertman in the stickies there is nothing what im asking about but thanks for your help anyway....mrhinehart so instead of running the cmd promt from my pc i can just run busy box or do i run busy box from reboot recovery?......................ohh snap i found it in the stickes thanks bertman that actually exactly what i was looking for just didnt think it would be in something that had to do with rooting....thanks a bunch man
ADB / 101 Info from Nexus One Forum
Here's some information from the Nexus One forum. Hopefully you'll find it useful.
http://forum.xda-developers.com/showthread.php?t=619153
I seriously apreesh all the help that last post was like the icing on the cake.Roundaway i see that you have darch's 2.1 seriously a badd ace rom. i have v3 of the rom and the aosp 2.1 kernal and thats all and i have really been wanting to add the jit and fix the whitelist etc etc all that awsome stuff that people have been finding at that thread and i would real remount this or rename the zip to this and just never understood why but that clears up alotta things and connects alot of bridges for me so no on to playing with the adb thanks again everyone
I have the one click root on my computer. I was able to root stock 2.1 but not Froyo. I cant seem to get a normal Update.zip to reinstall to root it. Can anyone help me out with this? Thank you
Have you used adb before? Its easy. Just need to get the sdk dev kit. Then go here.
http://forum.xda-developers.com/showthread.php?t=797397
smokestack76 said:
Have you used adb before? Its easy. Just need to get the sdk dev kit. Then go here.
http://forum.xda-developers.com/showthread.php?t=797397
Click to expand...
Click to collapse
I never have. But Im to nervous to attempt it bud lol
Its not hard. You can PM me if you want. Its easier than all the flashing to swap Kernels i think.
smokestack76 said:
Its not hard. You can PM me if you want. Its easier than all the flashing to swap Kernels i think.
Click to expand...
Click to collapse
+1 Its easier to cut and paste between windows. I also like to see how adb commands are used.
Terrigno said:
I never have. But Im to nervous to attempt it bud lol
Click to expand...
Click to collapse
If you're comfortable with flashing Froyo using adb shouldn't be a problem.
cappysw10 said:
If you're comfortable with flashing Froyo using adb shouldn't be a problem.
Click to expand...
Click to collapse
I sent smokestack a PM to see if he can help me out on how to do it. I just flashed the phone with Froyo following the directions here. I wasnt to sure about what I was doing but I did everything and it all eventually worked out well, with a couple scares lol. Im new to the rooting scene. I mean Im pretty savy when it comes to certain stuff and I was easy to install beta leaks and builds with BlackBerrys for 3 years. Im new to Android since the Captivate came out, so Im slowly trying to learn the tricks of the trade
Terrigno said:
I sent smokestack a PM to see if he can help me out on how to do it. I just flashed the phone with Froyo following the directions here. I wasnt to sure about what I was doing but I did everything and it all eventually worked out well, with a couple scares lol. Im new to the rooting scene. I mean Im pretty savy when it comes to certain stuff and I was easy to install beta leaks and builds with BlackBerrys for 3 years. Im new to Android since the Captivate came out, so Im slowly trying to learn the tricks of the trade
Click to expand...
Click to collapse
Sent you a reply as well.
I was wondering if someone was also willing to help me, the instructions on the link are kinda of vague I think
we are working on it
Seems that adb does not like Win7. Anyone else see issues?
smokestack76 said:
Seems that adb does not like Win7. Anyone else see issues?
Click to expand...
Click to collapse
nope. been working fine on mine since July....i have it on 3 machines all running win7 64bit ultimate
alme1304 said:
I was wondering if someone was also willing to help me, the instructions on the link are kinda of vague I think
Click to expand...
Click to collapse
The instructions seemed clear as day to me. Put the phone in debug mode, use adb to push the files, execute a shell script, use sqlite3 to allow side loading, change permissions on the files you pushed, and reboot.
Sent from my SAMSUNG-SGH-I897 using XDA App
rajendra82 said:
The instructions seemed clear as day to me. Put the phone in debug mode, use adb to push the files, execute a shell script, use sqlite3 to allow side loading, change permissions on the files you pushed, and reboot.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
you are forgetting one important step that nobody seems to want to do.
learn what all that means
its a gimme gimme gimme world....gimme now, i dont want to understand it! just do it for me!
Pirateghost said:
you are forgetting one important step that nobody seems to want to do.
learn what all that means
its a gimme gimme gimme world....gimme now, i dont want to understand it! just do it for me!
Click to expand...
Click to collapse
Kinda. Seems the OP here has win7 and i cant get it to play right. I see the above poster said they have it. Please post some info
rajendra82 said:
The instructions seemed clear as day to me. Put the phone in debug mode, use adb to push the files, execute a shell script, use sqlite3 to allow side loading, change permissions on the files you pushed, and reboot.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
I think what they are looking for is where to put the files that they download. I know in the rooting tread, it was missing. I also think some people do it differently, so it may help just to let them know how you find it easiest to navigate to them, etc.
Personally, I take the files that were downloaded and extract them all. Then make sure you have downloaded the android SDK program and put it on the root of your computers hard drive such as drive C:. Then add those files you downloaded to the "Tools" file within sdk.
To navigate to them with command prompt, it would look like: cd C:\android-sdk-windows\tools
Then run the commands as listed in the tread.
Hope this helps.
Perhaps this is not the answer you are looking for, but if you are comfortable flashing roms, flash Cognition 2.2 (its already rooted).
Good luck
ronandi said:
Perhaps this is not the answer you are looking for, but if you are comfortable flashing roms, flash Cognition 2.2 (its already rooted).
Good luck
Click to expand...
Click to collapse
Its funny all the n00b post. I guess i dont know what im doing
Gr8Danes said:
I think what they are looking for is where to put the files that they download. I know in the rooting tread, it was missing. I also think some people do it differently, so it may help just to let them know how you find it easiest to navigate to them, etc.
Personally, I take the files that were downloaded and extract them all. Then make sure you have downloaded the android SDK program and put it on the root of your computers hard drive such as drive C:. Then add those files you downloaded to the "Tools" file within sdk.
To navigate to them with command prompt, it would look like: cd C:\android-sdk-windows\tools
Then run the commands as listed in the tread.
Hope this helps.
Click to expand...
Click to collapse
I'm running W7 and am having issues with adb. I'm a noob to android but I'm learning. Anyway, I tried your suggestion of adding the files to the tools directory but when I enter "su" the system returns "su: not found". Any help?
Moved to Q&A.