Two Questions - Android Software/Hacking General [Developers Only]

Hey
First of all, I'm trying to install an application through adb on my comp, and i was wondering how i could install the apk file on a selected device
like
adb install -s [SERIAL GOES HERE]
but i end up with an error saying "Failure [INSTALL_FAILED_CONTAINER_ERROR]
so, how can i send it to a specific serial? How does it handle the process if there are two devices connected?
Lastly i wanted to know, will adb work without the usb drivers?
Kinds Regards
-Jazerix

Push...

Related

cannot access adb and cannot bypass registration?

ok so i downloaded the SDK and the windows drivers. i downgraded the phone to rc29 and have just enabled adb on the phone using the command <enter>setprop persist.service.adb.enable 1<enter> and <enter>telnetd<enter>. i opened up CMD in windows and changed the directory where i needed and tried to run adb and it gave me this error: "* daemon not running. starting it now *
* daemon started successfully *
error: device not found"
why did it give me this error? and alo im stuck at the part where im supposed to "copy a busybox binary" using adb push. i dont know exactly what im supposed to do to do that step. i am a noob at this stuff so please be kind and use noob terms and steps.
Thanks
PS: i did connect the phone to the pc with the data cable and the add new hardware thing popped up and i installed the drivers like i was supposed to. it said something about they were installed correctly but may not be working properly, whatever that means.
Try this....
Unplug the phone.
Reboot the computer.
When fully rebooted, plug the phone back in and see what the computer does.
Did it say, "Found new hardware" or some such message?
Did it say that it couldn't find a driver?
Okay - after the OTA updates, I'm now having the same problem! Ouch!
Plugging in, running DOS Command...
c:\> adb devices
Reports that there are no devices attached!
BUG!!!!!!!!!!!!!!!

[Q] How to install Market ?

Sorry to be a noob about this but could someone post a how to install on a new Apad?
I've installed superuser already which I assume is working??
This is one of the new IMX 515's Android 2.2 800 mhz tablets with 10.1 flash etc.
Where do I go from here to get the Market installed?
Sorry folks but I'm kind lost.
Thanks for your help.
I got one of those 9.7" iMX515's and I have the same question...
If you need the market installed search the forums for market.apk.
Please use the forum search feature before posting next time.
Have any more questions, msg me on gtalk at androidsamurai.
Sent from my Hacksung - M910 using Tapatalk
I managed to get part way there. Basically I followed the instructions here (http://www.androidtablets.net/forum...tall-instructions-imx515-cnddu.html#post37829)
and here (original post: http://www.padbbs.net/thread-2909-2-1.html).
I had problems getting the adb to work on my Mac, but finally managed to figure that one out:
Download the sdk and unzip in a folder of your choice.
Set your slate to USB debugger "on" and plug in to your mac. I think I didn't actually mount my slate when I did this (neither memory was mounted on my desktop when I executed the process), but have a go and see if there is a difference in adb behaviour.
Run the Unix executable called "android" in the "tools" sub-folder. Then run the "adb" executable.
These should both open up their own terminal window. Then open a new terminal window. The fastest way to insert adb commands is by dragging the adb file into the window and follow up with your adb command.
Start off with "adb shell", which gives you a hash (sorry, my keyboard won't give me the sign) as line start. Then start using adb command lines (drag drop adb into the window, followed by "push", followed by drag-dropping the file you want to push into the terminal window, followed by typing where you want it to go, e.g. /systems/app.
Do this for all the files mentioned and you should be there.
Now, this is as far as I got myself! When I restarted, I had the market app in my app list, but when I start the google sign in service, I continuously get the message "can't connect to server", and I have no idea how to get passed that point. SO suggestions for that one will be welcome!
I have a mac. How do I install a firmware without recovery mode? I don't have recovery mode, doesn't exist on my unit

[Q] adb from within a phone?

hey guys,
does anyone know how to load adb onto a device and then run it from there?
what i've tried so far is loading it onto the device but it is unable to connect to itself.
./adb help returns the various adb commands etc.
it's not an architecture issue because my device is x86 and i'm sure the adb binary file is as well.
any help or helpful comments are appreciated .
Thanks,
Kurrpt

[Q] How to remove ADB from my computer ?

Hey everyone, I keep getting a "adb out of date...killing" whenever I try and use ADB with my Motorola Moto G.
I think I somehow have messed up the ADB files or something, I want to start an ALL new installation of ADB to see if I can get my computer to get it working correctly.
How do I go about completely removing ADB from my computer so I can redownload it and reinstall it ?
ikillechewbacca said:
Hey everyone, I keep getting a "adb out of date...killing" whenever I try and use ADB with my Motorola Moto G.
I think I somehow have messed up the ADB files or something, I want to start an ALL new installation of ADB to see if I can get my computer to get it working correctly.
How do I go about completely removing ADB from my computer so I can redownload it and reinstall it ?
Click to expand...
Click to collapse
Install THIS and you're fine again
LS.xD said:
Install THIS and you're fine again
Click to expand...
Click to collapse
I downloaded that and installed it....I still get problems with my adb.
Here are more examples of the problems I am getting :
"adb server is out of date. killing..."
"adb server didn't ACL"
" * failed to start daemon *
error:
uninstall Android Phone or Android composite ADB interface from the device manager

Those with "error: more than one device and emulator"

I've searched so many forums to answer this, but I found this under another website
This is only my case though, but trying everything else, this was the most simplest (i think)
When you get "error: more than one device and emulator" even though you know there is only one device that is connected to the PC
what you put in cmd is quite simple.
1. adb kill-server
2. adb start-server
3. adb "whatever you were trying to do"
That fixed my problem for good!
Doesn't matter if it's rooted or not!
Don't think this is the problem since my phone was NOT rooted, but adb push and pull all worked without rooting!
Just wanted to help those who might need this.
I apologize in advance if this is a re-post
==============
Raisona
ps this is my first forum

Categories

Resources