Sometimes i flash a new rom and there is no internet so i have to find a place where i can get 3g or wifi and download file manager and install my backup. So is there a way to install mybackup which is in my root and without downloading file manager??
There is a way with a computer. Assuming you have a working adb on your computer, of course, you can try this.
You need to have an .apk of either mybackup of some file browser on your computer. Plug the phone in, open command prompt/console and type:
adb install path_of_apk_to_install
For example if your apk is called app.apk and is in C:\apks. Then type
adb install C:\apks\app.apk
yea i know we can install through adb but is there another way of installing without connecting internet or from my computer, is it possible through terminal??????????
You should be able to ope nterminal and do "install \sdcard\my_app.apk"
Related
I hope this post can be of use to someone. My workplace is running Lotus Notes (sigh) and IBM recently released an update to their Traveler server which supports Activesync sychronizaton of mail, contacts, calendar and directory on Android, Iphone, etc.
The only problem is AT&T blocks Sideloading. Yes a simple root can fix the issue but that is not a true solution for every Captivate for our users. I figured out a relatively easy method of getting around this limitation.
First you need the following:
Rooted Captivate (to obtain the .apk files necessary) Only needed once, I would upload the necessary files but IBM won't like that very much.
Computer with Captivate drivers and Android SDK
The Lotus Traveler setup requires two installs which makes the process more tricky than simply doing an adb install lotusinstaller.apk, so we need a few more steps.
1. On your PC download the Lotusinstaller.apk file from your traveler server and copy it to you sdk\tools folder.
2. Plug your rooted Captivate phone into you computer with debugging mode on and use adb to issue the following command "adb install lotusinstaller.apk"
3. Open the installer application on your phone and enter the required server and authentication information for your system and click next. (this will create the server setting on the phone and download the lotustraveler.apk file to your rooted phone.) I can't remember the exact location so simply do an adb shell then "su" to gain super user rights and then do a find -name LotusTraveler.apk (or *.apk and find the lotustraveler.apk)
4. copy this file to your computer. One easy way would be to adb pull LotusTraveler.apk c:\location of sdk\tools\
Now that you have both the lotusinstaller.apk and lotustraveler.apk you will not need the rooted captivate for future phone setups.
5. Now to setup a stock Captivate. Enable usb debugging
6. adb install lotusinstaller.apk
7. launch the installer and enter the appropriate settings on the phone and click next. It will attempt to download the lotustraveler.apk and then give you an error about not being able to install applications that aren't from the market. Ignore that and close the installer.
8. now issues abd install lotustraveler.apk on your pc
You're done. The installer setup the initial server settings and the lotustraveler did the rest.
To setup more phones begin from step 5 from now on
***Disclaimer***
I wrote this up simply from memory so I'm sorry if this is not 100% accurate with the commands etc.
you could user the The Android Central Sideload Wonder Machine to put .apk's on the device and not need to root.
Just a thought.
jetski said:
you could user the The Android Central Sideload Wonder Machine to put .apk's on the device and not need to root.
Just a thought.
Click to expand...
Click to collapse
thats exactly my first thought.
jetski said:
you could user the The Android Central Sideload Wonder Machine to put .apk's on the device and not need to root.
Just a thought.
Click to expand...
Click to collapse
Or just side load through ADB in a command window in windows. "adb install filename.apk" done.
Sent from my SGH-I897
Clienterror said:
Or just side load through ADB in a command window in windows. "adb install filename.apk" done.
Sent from my SGH-I897
Click to expand...
Click to collapse
I'll try the wonder machine first. thanks for that tip.
Your suggestion won't work as stated in my walkthrough. The initial apk downloads another apk to your phone somewhere in the system directory. Once you have both apk files it's a simple "adb install lotusinstaller.apk" then "adb install Lotustraveler.apk"
wonder machine causes the issue of not being able to install the second apk file as stated in my last post. It can replace adb install after you have both apk files on your computer.
I need to get the second file to install it on my non-rooted phone.
Does anyone know the location of the download on the phone so it can be pulled via adb?
Ziuck said:
I need to get the second file to install it on my non-rooted phone.
Does anyone know the location of the download on the phone so it can be pulled via adb?
Click to expand...
Click to collapse
just do
find -name LotusTraveler.apk
it will show you where the apk is located
Trying to be charitable and cautious, I'm trying to back up my EFS folder before I go messing around and it is consistently failing. I'm using:
SGS Tools Vz 0.5.7
Busy Box Vz1.17.2
On my previous captivate this works just fine. Now I get
"could not create backup folder /sdcard/SGSToolbox/backup (date string)" and then the bluebox saying creating backup. This never goes away and to clear I have to reboot.
Any helpful hints?
I tried to download the latest and greatest SGS Tools but Google knows I have it installed and won't let me get the newest one. Haven't figure out how to get around that unless I just have to un-install my current one.
Rooted 2.2, KB2, running existz KB1 kernel.
Knowing there are no successful backups... just successful restores.
If you're willing to use your computer and can get the Android SDK and ADB going, just get into a command prompt in the ADB directory and type "adb pull /efs". That will back it up to your computer.
Or you could open a file explorer and copy the directory from there to your sd card
You could use an app called nitrality
Sent from my SGH-I897 using XDA App
Try to update your su binary, the simpliest way is use Root Explorer to backup whatever u want
Well just to be daring, I tried to install the ADB tools. Had to install the Java development software first. After I installed what I thought was the ADB suite, I can't seem to find the place to type in commands, dumb as that sounds. I may not have gotten the right package. Going to tinker with it though.
My SU is up to date.
I can see the folder with Super Manager so I guess I'll just copy with that. Interesting though I can't see anything in the /efs directory. Probably just something else I don't understand.
Still curious though as to why SGS Tools is failing... part of my nature.
Thanks to all that replied.
Make a note of where adb is installed (e.g. c:\users\person\Android-sdk-windows\platform-tools). Then hit the windows key and R, and type cmd. Once in the prompt, type CD (directory from before, no parentheses) and hit enter. From there, type your adb commands.
Ahhhh.... I get it. Was expecting something a bit more elegant. Gotta love DOS commands.
Well..there are a couple more elegant ways to do it.
Open up a new note in NotePad, just type:
Cmd
Exit
And save, but instead of a .txt file extension save it as a .bat, now drop that into your adb directoty, then just double click on that to open a prompt in that directory, so you don't have to do the cd command every time.
Or..the most elegant way is to add adb to your environmental variables so you can enter adb commands from anywhere
That's a good solution. I've got a set of files put into my C:\Users\(my username) folder called "adb", "adbr" (adb reboot), "adbrd" (adb reboot download), and "adbrr" (adb reboot recovery).
Each of these is a .bat file with a version of this text in it:
@ echo off
cd "C:\Users\(me)\Other\tools\android-sdk-windows\platform-tools"
adb reboot
That way, all I have to do is hit Win-R and type one of those file names and it does that command for me. Or, I can type cmd, then adb, and automatically be where adb is installed without cd'ing through a long file list.
My suggestion is Root Explorer. I was able to backup the EFS directory without problems also create a .tar file.
I used root explorer to do my backups, another option is the explorer inside the rom tollbox aplication its also very good
Now I have another adb question...
First off, now I'm just trying to learn and get better. I've built my bat files and I can get adb working. Thanks to those that helped with that. When I tried to pull the /efs folder it said there was no device recognized. I was in "mass storage" mode at the time.
Whenever I've seen people talk about using adb, I don't recall anything being said about if it should be in Download, debug or what. One of those assumed knowledge things.
So what do I have to do to the phone to let adb recognize it?
gnawing on the bone....
I'm also thinking of pulling a logcat or something when SGS tools fails... just to see. That's my next step.
Enable usb debugging in settings> applications> development
SGS Toolbox doesn't work with efs backups. Are there easier ways to do the backup?
Adb or root explorer.
I did both... just to say I did it and finally got adb working.
NOTE: Before you can install ROM Manager, you must have ROOT access. You can find one such method here: http://forum.xda-developers.com/showthread.php?t=804296
If you were unable to flash_recovery to your phone, you can now install ROM Manager with the method that I found:
Download the attached ROM Manager apk file.
Copy/cut the file to your SDK folder [ex: C:\android-sdk-windows\platform-tools]
Connect your HTC Hero (CDMA) into your PC and make sure you are on the "CHARGE ONLY" setting.
Open command prompt on your PC (or Terminal)
Find the path to your SDK files
Type in the command: adb install rom manager 2.5.0.7.apk
Let the program install and SUCCESS!
This is my first official contribution. If you liked my work, please give a THANKS! If I've broken some rule, please show me the error in my ways. Thanks guys! :laugh:
Had to factory reset kfhd7 and when I did, it booted up like an android phone. ... Now there's no browser and I can't get play to work. Usb debug is enabled but when I connect to the computer to try and push a browser, my computer doesn't recognize it. I have all the newest drivers installed and just about every program that I can think of (adb, sdk, jdk) What I don't have is a fastboot cable. Any ideas?
Missing my kindle
Edit* So I do have chrome installed but when I open it, I get an error message saying "critical functionality required to run chrome is missing; either your chrome installation is incomplete, or not compatible with this version of android"
Terminal emulator installed too but when I try to open it I get a "terminal emulator has stopped" error.
Super SU installed, works.
No es file explorer
edit#2
Ok, so I decided to open cmd just to see if I can recognize my device.... and it did! So how can I fix my kindle if adb is connecting?
Edit#3 adb devices shoes device but when running a command, it says "device offline"....
Edit#4 plugged usb into another port and reloaded drivers = adb connects, device is online. I have tested by pushing an app to the sdcard. My goal now is to be able to push es file explorer to /system/app/ .... or ..... /data/app/ ...... or where ever it will become active for use. (you know what I mean?) I don't know how to change the permissions via adb and push to system folder. I believe I have successfully pushed es file explorer to the /sdcard/ but I have no idea where to go next.
Now what..... ?
How to Install Packages using adb install
Krsmqn said:
Had to factory reset kfhd7 and when I did, it booted up like an android phone. ... Now there's no browser and I can't get play to work. Usb debug is enabled but when I connect to the computer to try and push a browser, my computer doesn't recognize it. I have all the newest drivers installed and just about every program that I can think of (adb, sdk, jdk) What I don't have is a fastboot cable. Any ideas?
Missing my kindle
Edit* So I do have chrome installed but when I open it, I get an error message saying "critical functionality required to run chrome is missing; either your chrome installation is incomplete, or not compatible with this version of android"
Terminal emulator installed too but when I try to open it I get a "terminal emulator has stopped" error.
Super SU installed, works.
No es file explorer
edit#2
Ok, so I decided to open cmd just to see if I can recognize my device.... and it did! So how can I fix my kindle if adb is connecting?
Edit#3 adb devices shoes device but when running a command, it says "device offline"....
Edit#4 plugged usb into another port and reloaded drivers = adb connects, device is online. I have tested by pushing an app to the sdcard. My goal now is to be able to push es file explorer to /system/app/ .... or ..... /data/app/ ...... or where ever it will become active for use. (you know what I mean?) I don't know how to change the permissions via adb and push to system folder. I believe I have successfully pushed es file explorer to the /sdcard/ but I have no idea where to go next.
Now what..... ?
Click to expand...
Click to collapse
Krsmqn,
Sorry for the delayed response, we have been real busy the last few days. You may use the
following command to install or reinstall software on the Kindle:
Code:
adb kill-server
adb start-server
adb devices
android update adb
If adb is working move on to install software:
Code:
adb install package-whatever.apk
You need to make sure the .apk software package in in the same directory as adb. If
you can not get the Kindle stable you may need a USB Factory Cable, you may order
one from XDA User SkOrPn just send him a PM with the subject Factory Cable Info Please,
include your ship to country and number of cabled needed. He will respond with a PayPal
Invoice. The cable is about $15 USD and is worth every penny since it allows quick
recovery of your Kindle.
prokennexusa,
I want to thank you for all your help. Unfortunately, my issue was kind of a rare issue. I had deleted some amazon apps that were system apps. I tried your solution time and time again to no avail. I was stumped until I remembered a thread I saw in development.
http://forum.xda-developers.com/showthread.php?t=1886189
I was able to download and unzip the 7.2.3 update version and simply install the apks that I was missing. Then, as far as google play went, I just went into System>Applications>Installed Applications>Appstore (Amazon)> Force stop, clear data & cache. Reinstalled Vendor.apk and then updated. Viola!
The USB notification came back, as well as all the other options in settings. Problem solved. Hope this helps future users.
Follow Up - Feedback
Krsmqn said:
prokennexusa,
I want to thank you for all your help. Unfortunately, my issue was kind of a rare issue. I had deleted some amazon apps that were system apps. I tried your solution time and time again to no avail. I was stumped until I remembered a thread I saw in development.
http://forum.xda-developers.com/showthread.php?t=1886189
I was able to download and unzip the 7.2.3 update version and simply install the apks that I was missing. Then, as far as google play went, I just went into System>Applications>Installed Applications>Appstore (Amazon)> Force stop, clear data & cache. Reinstalled Vendor.apk and then updated. Viola!
The USB notification came back, as well as all the other options in settings. Problem solved. Hope this helps future users.
Click to expand...
Click to collapse
Krsmqn,
Great post Krsmqn, I am glad to hear your problems are solved! We offer a fresh copy of the /system/app
folder here: https://dl.dropbox.com/u/54456659/app.zip
Anyone who is experiencing odd issues can download this folder and side load it back to the Kindle through
adb or ES File Explorer. Thank you again, I was getting a bit worried.
Hi all,
I have pushed a file via adb after I had softbricked my phone, and reinstalled a fresh OS via this file (aptly renamed CM.zip).
From the back of my head, I did something like :
adb push CM.zip /sdcard/0/CM.zip
file was pushed fine and I was able to use it. Now my issue is : I can't delete it anymore. I've tried with root explorer and from the PC, root explorer cannot delete it; from the PC it deleted, but then it comes back when I unpug/replug USB. I assume I have to delete it via ADB, but I'm ot familiar enough with it.
Thanks for your help
adb shell
rm /sdcard/0/CM.zip