Program to install .apk from computer? - Android Q&A, Help & Troubleshooting

There was a program i used before i reformated the computer, i think it was called android sdk tools... it would install .apk i have on my desktop
but i tried installing it again, but nothing happen the .apk are just regular files...

Try batch apk installer. You can search for it on XDA.
Sent from my SGH-T959 using xda app-developers app

You can install apks from a computer using ADB found in the Android SDK

zacthespack said:
You can install apks from a computer using ADB found in the Android SDK
Click to expand...
Click to collapse
... I don't understand.. and where do i find adb, i tried serchign it in android sdk tools but cant find anything

zacthespack said:
You can install apks from a computer using ADB found in the Android SDK
Click to expand...
Click to collapse
adityamunshi said:
Try batch apk installer. You can search for it on XDA.
Sent from my SGH-T959 using xda app-developers app
Click to expand...
Click to collapse
Im trying to use batch installer and it says superuser permission denied, and i check the app how do i allow shell?

anthonyly said:
... I don't understand.. and where do i find adb, i tried serchign it in android sdk tools but cant find anything
Click to expand...
Click to collapse
Download the android sdk (Google is your friend here) and when you install it, navigate to the folder and inside there should be a Tools folder, adb should be in there.
Sent from my htc_jewel using Tapatalk 2

megabiteg said:
Download the android sdk (Google is your friend here) and when you install it, navigate to the folder and inside there should be a Tools folder, adb should be in there.
Sent from my htc_jewel using Tapatalk 2
Click to expand...
Click to collapse
there avd manager and sdk manager

anthonyly said:
there avd manager and sdk manager
Click to expand...
Click to collapse
There should be a folder called tools or platform tools, can't remember which (not at my computer right now). It should have adb inside. It is a command line function as far as I know, but it can be used to install apks while the phone/tablet is connected to the pc.
Sent from my Verizon Galaxy Nexus running Fruits 'N Vegetables with bacon grease (FNV007) via Xparent Cyan Tapatalk 2

Airdroid also let's you install from your pc. I use it all the time
Sent from my HTC Desire HD using xda app-developers app

MrBC said:
Airdroid also let's you install from your pc. I use it all the time
Sent from my HTC Desire HD using xda app-developers app
Click to expand...
Click to collapse
Yes and it have a great ui, with drag and drop. I really like it. Hope the OP have solved the question. And if you want remote adb try a app named adb wifi or a ssh server.
Sent from my RK29 tab...

I tried airdroid, but i don't really see the point of your phone downlaoding the app and installing it when you have it on your desktop already
for batch apk installer, its not working for me, it says cannot access shell, help?

You start the airdroid server, then in you PC internet browser tap deviceip:8888, insert the password and inside the apps screen tap install app...
Sent from my RK29 tab...

Airdroid is the best app
Saves time alot
~~rUcK
fUlEs~~

Just push it with ADB
Example
"adb push c:\facebook.apk /data/app"
Sent from my Galaxy Nexus using Tapatalk 2

CdTDroiD said:
Just push it with ADB
Example
"adb push c:\facebook.apk /data/app"
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
This a better way too but requires usb cable

Not if you are root !
Just put adb wifi app and run command "adb connect ip"
Sent from my RK29 tab...

Related

Few questions

Has there been anything on rooting directly from the phone?
And has anyone made an update.zip with unlockd boot?
Sent from my MB855 using XDA Premium App
Yes, you can root directly from your phone by using terminal emulator but you have to put photon-torpedo.tar to /data/tmp first. I rooted my photon on the phone itself.
GraphicDemon said:
Has there been anything on rooting directly from the phone?
And has anyone made an update.zip with unlockd boot?
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1216143
A little bit of reading goes a long, long way. This thread will tell you the current state of the art.
urcboss07 said:
Yes, you can root directly from your phone by using terminal emulator but you have to put photon-torpedo.tar to /data/tmp first. I rooted my photon on the phone itself.
Click to expand...
Click to collapse
Ok can you please tell me how you got terminal to process your commands. I get permission denied every time I use terminal to try and do anything with /data. I obviously need root to complete the commands using terminal to write to anything besides the sd. I would appreciate any help. Thanks in advance.
Sent from my MB855 using XDA Premium App
Ok I tried using it from phone but how u push it to data without using comp
Sent from my MB855 using XDA Premium App
Did you install superuser from market? You also need to install Superuser and push photon-torpedo.tar to /data/tmp
then type the following in terminal emulator:
cd /data/tmp
/bin/tar xf /data/tmp/photon-torpedo.tar
/data/tmp/photon-torpedo.sh
/data/tmp/install-su.sh
Just say "THANKS" to Edgan for great work and job well done.
urcboss07 said:
Did you install superuser from market? You also need to install Superuser and push photon-torpedo.tar to /data/tmp
then type the following in terminal emulator:
cd /data/tmp
/bin/tar xf /data/tmp/photon-torpedo.tar
/data/tmp/photon-torpedo.sh
/data/tmp/install-su.sh
Just say "THANKS" to Edgan for great work and job well done.
Click to expand...
Click to collapse
Not sure if you were responding to me or the other guy but my MacBook and my Linux laptop both recognize my phone but they both say its offline when I try and use a adb. Some people say they have done this root without the computer and just using the terminal on the phone but I get permission denied messages since it needs root. I have super user installed but that does me no good without root. I want to know how they got past the permission denied using the terminal on the phone?
Sent from my MB855 using XDA Premium App
smoothone said:
Not sure if you were responding to me or the other guy but my MacBook and my Linux laptop both recognize my phone but they both say its offline when I try and use a adb. Some people say they have done this root without the computer and just using the terminal on the phone but I get permission denied messages since it needs root. I have super user installed but that does me no good without root. I want to know how they got past the permission denied using the terminal on the phone?
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Exactly I'm having same problem. I m not understanding how I can push it to that part of the phone without root.
Sent from my MB855 using XDA Premium App
GraphicDemon said:
Exactly I'm having same problem. I m not understanding how I can push it to that part of the phone without root.
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Make sure you have USB debugging checked. Menu > settings > applications > development. This was my problem when I first tried to adb the file to the /data/tmp folder on the phone.
Also, I was getting an error at "Run /data/tmp/photon-torpedo.sh," but I just ignored it and kept going. It worked. You can use root checker from the market to verify that you have root.
my2cents said:
Make sure you have USB debugging checked. Menu > settings > applications > development. This was my problem when I first tried to adb the file to the /data/tmp folder on the phone.
Also, I was getting an error at "Run /data/tmp/photon-torpedo.sh," but I just ignored it and kept going. It worked. You can use root checker from the market to verify that you have root.
Click to expand...
Click to collapse
Thanks for the advice but the both of us are not using adb. I always have debugging enabled. We are both trying to do this from or phones with terminal. An update zip would be amazing :~)
Sent from my MB855 using XDA Premium App
smoothone said:
Thanks for the advice but the both of us are not using adb. I always have debugging enabled. We are both trying to do this from or phones with terminal. An update zip would be amazing :~)
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Ok. I thought one of you was trying to use a Mac or something to push the file then use terminal. And an update.zip would be awesome!
my2cents said:
Ok. I thought one of you was trying to use a Mac or something to push the file then use terminal. And an update.zip would be awesome!
Click to expand...
Click to collapse
I was trying to use adb with my Mac and my Linux laptop but both give me "device offline" when I use adb. I'm going to try a different USB cable as I have seen this happen before and a different cable works but I find it hard to believe that i'm the only one that used stock cable and does not work
Sent from my MB855 using XDA Premium App
What happened to that person said they did everything from phone?
Sent from my MB855 using XDA Premium App
GraphicDemon said:
What happened to that person said they did everything from phone?
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Lol, I guess they all vanished! Funny thing is that I am not new to Linux and those are busybox commands which
1: busybox does not come installed on the factory ROM and
2: even if you install it from the market it still needs root access.
Sent from my MB855 using XDA Premium App
So what are we developing in this thread again?
Sent from my MB855 using XDA App
Custodian said:
So what are we developing in this thread again?
Sent from my MB855 using XDA App
Click to expand...
Click to collapse
If you cannot help then just save your useless comment! Your bringing back bad memories from the EVO forum. That forum was full of bashers and flamers.
smoothone said:
Lol, I guess they all vanished! Funny thing is that I am not new to Linux and those are busybox commands which
1: busybox does not come installed on the factory ROM and
2: even if you install it from the market it still needs root access.
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Yeah tell me about it, wish they would just make a damn step sheet it's getting ridiculous.
Sent from my MB855 using XDA Premium App
http://forum.xda-developers.com/showthread.php?p=16904179
Sent from my MB855 using Tapatalk

Rooting Motorola Photon

I would appreciate if somebody could tell me step by step on how to root my phone.
There are many different variants on the photon-torpedo method that you can find on these forums, the stickies, and through google search, but here is the step by step method I prefer. Credit goes to Edgan.
Photon Root Instructions
1. Create a folder in the C:/ drive on your Windows 7 machine called Photon root. (You can call it anything you want, but that’s what I called mine and will use for the purpose of this post).
2. Download and install the adb package from http://gititbit.ch/AFAS and install them into C:/Photon root.
3. Download photon-torpedo.tar from http://proton.cygnusx-1.org/~edgan/photon/photon-torpedo.tar and copy it to C:/Photon root in your windows machine. Do not unzip it.
4. On your phone, go to Settings > Applications > Development and select USB Debugging.
5. Plug your phone to your computer and on your phone, set it to USB Mass Storage.
6. Copy photon-torpedo.tar from C:/Photon Root to your phone’s internal storage using Windows 7. Don’t put it in any folder, and leave it zipped.
7. Install Superuser from the Market. (This is absolutely necessary to do before you get started or it won’t work)
8. Open the command prompt (Start >> run “cmd” >> enter)
9. Type the following commands – don’t worry about the errors, it will be all right
• cd C:/photon root • adb push photon-torpedo.tar /data/tmp • adb shell • cd /data/tmp • /bin/tar xf /data/tmp/photon-torpedo.tar • /data/tmp/photon-torpedo.sh • /data/tmp/install-su.sh
10. That's it. Reboot and enjoy.
Sent from my MB855 using xda premium
Here our friend qbking77 latest step by step video. https://www.youtube.com/watch?v=7xAYkejI4CE&feature=youtube_gdata_player
Sent from my SPH-D710 using Tapatalk 2
If ypu dont want to use your computer you can do it right from your phone just google root photon without computer and the first thing to pop up should be an xda thread
Sent from my MB855 using xda app-developers app
The adb package link dont work
Sent from my MB855 using xda app-developers app
MarcquisDale said:
The adb package link dont work
Sent from my MB855 using xda app-developers app
Click to expand...
Click to collapse
did you try the way i suggested? http://forum.xda-developers.com/showthread.php?t=1243792 it never fails
Ill try that way
Sent from my MB855 using xda app-developers app
Any Luck
MarcquisDale said:
The adb package link dont work
Sent from my MB855 using xda app-developers app
Click to expand...
Click to collapse
Hello Marcq, Did you get any working link for adb package. I am searching for long time. If you have, please update. Thanks. Bala
nice
jayalaba said:
I am searching for long time. ...
Click to expand...
Click to collapse
Go here: http://forum.xda-developers.com/showthread.php?t=1819660
I just verified the download, it has the adb.exe you seek, and also the photon-torpedo.tar file you'll need. It's all in a zip file, QBKing77 also includes a video on what to do.
Hope this helps.
Btw, drop a thanks on mof for the work. You might also seriously consider flashing mof's Slim ROM, it's great.
Sent from my Slim Photon using xda app-developers app
one guy just posted a link
Sent from my MB855 using xda app-developers app
adb package
adb package link is dead
dark_boy99 said:
adb package link is dead
Click to expand...
Click to collapse
This community has been dead for a while so it may be hard to find a working link
Sent from my XT1058 using XDA Free mobile app
MarcquisDale said:
This community has been dead for a while so it may be hard to find a working link
Sent from my XT1058 using XDA Free mobile app
Click to expand...
Click to collapse
i downloaded this from extra link
i rooted this phone with your tips
tnx a lot
*********************
now my device in logo...
http://forum.xda-developers.com/showthread.php?t=749620&page=5#post60391586

Superuser On Jellybean

I flashed the Jelly Bean update to my XT912 and used Voodoo Rootkeeper and all was fine for a week or so up until tonight when I noticed that Superuser wasn't working so I downloaded Root Check and it says "Sorry, This device does not have proper root access", then when I try to update the binary on superuser it fails on "Gaining root access" any ways to fix this?
Try this:
Extract to desktop
Make sure you have the drivers installed
Connect phone to PC
Enable USB Debugging
Enable installing unknown apps
Double click the FixRoot.bat file
http://d-h.st/nep
Superuser
Finalchrono said:
Try this:
Extract to desktop
Make sure you have the drivers installed
Connect phone to PC
Enable USB Debugging
Enable installing unknown apps
Double click the FixRoot.bat file
http://d-h.st/nep
Click to expand...
Click to collapse
Any way to do this on mac?
Help Please?
Sent from my DROID RAZR using XDA Premium HD app
Malesso671 said:
Help Please?
Sent from my DROID RAZR using XDA Premium HD app
Click to expand...
Click to collapse
Here is the RestoreRoot.zip for Mac
Courtesy of mattlgroff: http://www.batakang.com/ftp/DROID_RAZR/RestoreRootMac.zip
klabit87 said:
Here is the RestoreRoot.zip for Mac
Courtesy of mattlgroff: http://www.batakang.com/ftp/DROID_RAZR/RestoreRootMac.zip
Click to expand...
Click to collapse
Thanks I know this is noob question but what do I do after I download the file?
unzip the file and run the .sh file inside it.
That should be it.
klabit87 said:
unzip the file and run the .sh file inside it.
That should be it.
Click to expand...
Click to collapse
It's not doing anything but opening textedit?
oh sorry you need to make the file executable.
open a terminal window in the location of the RestoreRoot.sh file and type "chmod -x RestoreRoot.sh" without quotations.
Then you can double-click the file to run it.
klabit87 said:
oh sorry you need to make the file executable.
open a terminal window in the location of the RestoreRoot.sh file and type "chmod -x RestoreRoot.sh" without quotations.
Then you can double-click the file to run it.
Click to expand...
Click to collapse
I'm very new to all of this and do not have any experience using terminal, you mind telling me how to do this step by test?
i can't really give you a step by step because I dont have a mac but I think if you drag the folder to the terminal icon it will open the terminal to the location you need and type what I had in the previous post then you can double-click the restoreroot.sh file
Thanks to klabit87, I got this issue all sorted out!
Sent from my DROID RAZR using XDA Premium HD app
Malesso671 said:
Thanks to klabit87, I got this issue all sorted out!
Sent from my DROID RAZR using XDA Premium HD app
Click to expand...
Click to collapse
In glad we got it all sorted out. :thumbup:
Sent from my JellyBeaned Droid RAZR Maxx

installing apps from...

im trying to install apps from my pc and having problems? advice? tried downloading "DroiDrop" but i dont think it works with these phone
bump
1. Get dropbox
2. Upload apk from PC to dropbox.
3. Download apk from dropbox to phone
4. Install apk.
5. Profit?
Sent from my LG-E970 using Tapatalk 2
1. Download apk via PC
2. Transfer via USB to phone
3. Use a file manager to find said apk
4. ????
5. Profit
Sent from my Nexus 4 converted LG Optimus G
Neroga said:
1. Download apk via PC
2. Transfer via USB to phone
3. Use a file manager to find said apk
4. ????
5. Profit
Sent from my Nexus 4 converted LG Optimus G
Click to expand...
Click to collapse
tried didnt work....what should i have used ?
Install adb put your phone in usb debug and use android injector. You can install multiple apks at once
Sent from my Nexus 4 using xda premium
Dr0!dFreek said:
Install adb put your phone in usb debug and use android injector. You can install multiple apks at once
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
whats "adb"
Dr0!dFreek said:
Install adb put your phone in usb debug and use android injector. You can install multiple apks at once
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
whats "adb"
also any idea why "dropbox" is syncing with my lgog?....it continually says "loading"....the website says its loaded together

Please help I need a solution!!!

Hi so I just got an HTC one x+ and unlocked and it and rooted it. I flashbooted a boot.img from a custom and realized I forgot to put the custom ROM itself on the phone. My phone now can't use WiFi or show up on the computer unless in fastboot. I really need help please let me know what to do. Thanks!!!
Sent from my SGH-T999 using xda app-developers app
brianisawesome1 said:
Hi so I just got an HTC one x+ and unlocked and it and rooted it. I flashbooted a boot.img from a custom and realized I forgot to put the custom ROM itself on the phone. My phone now can't use WiFi or show up on the computer unless in fastboot. I really need help please let me know what to do. Thanks!!!
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Within a custom recovery, ex. TWRP. Go into advance and select adb sideload. Use adb to sideload the Rom using the command adb sideload Rom.zip to your phone
Sent from my HTC One X+ using Tapatalk
nheolon thous
I have a similar problem here.
I wanted to try this"adb sideload" but I can get ti to work because when I use "adb devices". I get nothing listed.
can I get an extra help please?
Thank you
XAlexander_AlexanderX said:
Within a custom recovery, ex. TWRP. Go into advance and select adb sideload. Use adb to sideload the Rom using the command adb sideload Rom.zip to your phone
Sent from my HTC One X+ using Tapatalk
Click to expand...
Click to collapse
I got cannot read ROM.zip anything more specific I didn't do
Sent from my SGH-T999 using xda app-developers app
brianisawesome1 said:
I got cannot read ROM.zip anything more specific I didn't do
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Use the name of the Rom. For example. If the Rom name is cm10. You type adb sideload cm10.zip
Sent from my HTC One X+ using Tapatalk
XAlexander_AlexanderX said:
Use the name of the Rom. For example. If the Rom name is cm10. You type adb sideload cm10.zip
Sent from my HTC One X+ using Tapatalk
Click to expand...
Click to collapse
Ya I did that and still sane problem
Sent from my SGH-T999 using xda app-developers app
brianisawesome1 said:
Ya I did that and still sane problem
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Is the Rom in the same folder as adb (if your using windows )?
Sent from my HTC One X+ using Tapatalk
XAlexander_AlexanderX said:
Is the Rom in the same folder as adb (if your using windows )?
Sent from my HTC One X+ using Tapatalk
Click to expand...
Click to collapse
Ill tell u step by step what I do:
1. Recovery to adb sideload on phone
2. Move ROM to c:\android where fastboot and adb are located
3. Run cmd
4. cd c:\android
5. Adb sideload "ROM name"
6. I get the error
Sent from my SGH-T999 using xda app-developers app
brianisawesome1 said:
Ill tell u step by step what I do:
1. Recovery to adb sideload on phone
2. Move ROM to c:\android where fastboot and adb are located
3. Run cmd
4. cd c:\android
5. Adb sideload "ROM name"
6. I get the error
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Adb is located in platform tools. Put Rom there and CD cmd there and run the command.
Sent from my HTC One X+ using Tapatalk
brianisawesome1 said:
Ill tell u step by step what I do:
1. Recovery to adb sideload on phone
2. Move ROM to c:\android where fastboot and adb are located
3. Run cmd
4. cd c:\android
5. Adb sideload "ROM name"
6. I get the error
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
open platform-tools(or the folder where adb is found) shift + right click on any empty space, you will find "open command prompt here" press on it, then type ADB devices, if it is read, simply type " adb sideload " then drag and drop the rom zip into the command prompt. it will automatically write its location and prevent the spelling mistakes.
IF: ADB devices can't read your device try the following:
1-Try another usb port, if you tried 2.0 then try 3.0 and vice versa.
2- If you are on windows vista or above, open start menu and search for cmd, right click on it and run as administrator, however you will have to cd to the platform tools location, " cd C:\Android\sdk\platform-tools " then you type in adb devices should read your device fine now. however running cmd as admin prevents the drag and drop technique (atleast here on windows 8.1 it does) so you have to type in the location of your rom and rom name correctly, and dont forget the .zip
Ghand0ur said:
open platform-tools(or the folder where adb is found) shift + right click on any empty space, you will find "open command prompt here" press on it, then type ADB devices, if it is read, simply type " adb sideload " then drag and drop the rom zip into the command prompt. it will automatically write its location and prevent the spelling mistakes.
IF: ADB devices can't read your device try the following:
1-Try another usb port, if you tried 2.0 then try 3.0 and vice versa.
2- If you are on windows vista or above, open start menu and search for cmd, right click on it and run as administrator, however you will have to cd to the platform tools location, " cd C:\Android\sdk\platform-tools " then you type in adb devices should read your device fine now. however running cmd as admin prevents the drag and drop technique (atleast here on windows 8.1 it does) so you have to type in the location of your rom and rom name correctly, and dont forget the .zip
Click to expand...
Click to collapse
Ok great thanks it worked! Question: can u flash a custom kernel that's not in the same and ROM? I got viper ROM and everything is slow and I'm trying to make it fast
Sent from my SGH-T999 using xda app-developers app
brianisawesome1 said:
Ok great thanks it worked! Question: can u flash a custom kernel that's not in the same and ROM? I got viper ROM and everything is slow and I'm trying to make it fast
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Since we have the stupid s-on, your choice of custom kernels is very limited and they make almost no difference, if you are on viper rom which is sense based, you can use the stock kernel (I THINK<<< Not sure) or insertcoin kernel's , but no they don't make any difference as far as i know. Try and see

Categories

Resources