Related
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"
I just got Chis's GB rom and as usual it is lacking Google apps, I understand that I must flash them or use adb push, but every time i try adb push it never works!!
I copy the apk files and paste it under androidsdk/tools
then i go to command: cd\androidSDK\tools\adb push androidmarket.apk /system/app/.
then when it should show the file size and download time, it just says directory not found, I've watched tons of tuts, but it does the same every time. What am I doing WRONG!?!
and i know i spelled gingerbread wrong, sorry!
try
cd {path to your android sdk tools} (just drag it to your terminal) enter
androidSDK/tools/ adb root enter
androidSDK/tools/ adb push {path to your .apk, again just drag} /system/app/ enter
it should push then, where did you download the latest gapps from?
I picked them up from the cyanogen guys, u cant flash them all as u normally would because you will get a boot loop.
gullygossner said:
cd {path to your android sdk tools} (just drag it to your terminal) enter
androidSDK/tools/ adb root enter
androidSDK/tools/ adb push {path to your .apk, again just drag} /system/app/ enter
it should push then, where did you download the latest gapps from?
Click to expand...
Click to collapse
I tried this method, but for some reason adb is acting up because almost everything i do it says "permission denied"
You need to mount the file system as rw first.
thanks to both of you guys, i successfully pushed the market on the nexus, however, IT KEEPS CRASHING!!!! It truly never ends! any ideas for this one?
I need an app that support exchange email and can be used with GDX v22.
The one that can be downloaded on GDX thread makes me some problems while flashing.
it bricks phone an need to reflash kernel after that for some reason.
which FREE app supports activesync?
is there a way to use Roadsync that I payed with phone with custom ROMs?
Where can I find the app included in most of ROMs here, but maybe newer? and if possible in .apk format, not for recovery.
Any of three options would work for me
Thank you very much!
Just download the Email.apk which was formerly included in older versions of GingerDX.
To "install" the file you have to options ...
1. Copy the file onto your SD card and move it into /system/app (use Root Explorer or Root Browser for this task) - don't forget to restore permissions!
User: R W x
Group: R x x
Other: R x x
(644 in its numerical value)
Open the Terminal, type 'su', confirm Superuser's request and then type 'chmod 644 /system/app/Email.apk
Reboot!
2. Enable USB-Debugging and make sure you have adb installed. Connect the phone by USB to your computer or via WiFi to your LAN.
Open a command prompt (Windows) or terminal (Linux) and type
- USB Connection:
adb connect
adb push C:\Users\<yourusername>\Downloads\Email.apk /system/app
adb kill-server
- WiFi Connection:
adb connect <ip address of your phone>
adb push C:\Users\<yourusername>\Downloads\Email.apk /system/app
adb kill-server
*Note: In Linux you type ~/Downloads/Email.apk instead of C:\Users\...
Reboot the phone!
Thank you for the answer!
I will try this another time. now, I found out another way that didn't cause brick.
couldn't wait for the answer
I realised that I backed up all apps (system and user), including email.apk, with Titanium backup. So I restored email.apk in new ROM. and it's working.
Just couldn't restore data also, but that doesn't matter
And just wondering, cause I haven't got a clue about Linux, why do I have to set rights with root explorer, and not with adb ?
and what does kill-server do?
kulen said:
Thank you for the answer!
I will try this another time. now, I found out another way that didn't cause brick.
couldn't wait for the answer
I realised that I backed up all apps (system and user), including email.apk, with Titanium backup. So I restored email.apk in new ROM. and it's working.
Just couldn't restore data also, but that doesn't matter
Click to expand...
Click to collapse
Yea, that's also a way to resolve the problem by pulling the Email.apk back out of a Titanium Backup.
kulen said:
And just wondering, cause I haven't got a clue about Linux, why do I have to set rights with root explorer, and not with adb ?
and what does kill-server do?
Click to expand...
Click to collapse
You can set the permissions by any way you like ...
- Through a File Manager (capable of getting super user rights granted).
- Through the terminal right there on your phone.
- Through adb shell and issuing the correct command.
- Though SSH command line access (in case you have QuickSSHd or SSHDroid installed)
You don't need to fix permissions when you adb push a file into /system/app as that was already taken care of.
"adb kill-server" means that the adb daemon on your computer will be shut-down again.
thank you!
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.
I don't know what I've done to my KF2. I have successfully rooted the device, and have even been in fastboot for something I tried (can't remember what, just that I was trying to properly root my device). But I have about 14 programs that won't remove off my device (they only show "Add to Favorites" on my device instead of the additional option to remove from device)? I cannot get into ES File Manager and delete them. The .apk's for these files are located in the system folder, and even when I mount root in ES File Manager, I can't delete any of the files in the folder.
I also have a lot of problems with my toolbars randomly flickering on and off. But nothing I've read and tried, except for restoring the device and rerooting it again fixes this problem. I've also looked at a lot of posts that tell me to do a command with the /data/local.prop file. But I don't have this file on my kindle. I've searched for it everywhere using ES File Manager. I do have a /data/default.prop file, however. But I can't use ADB commands on that file either.
So I was advised to get a factory cable so that I can boot into fastboot. But I can use KFFIRSTAIDE to get into that successfully. Can anyone tell me what I've done to my kindle, what programs, and what commands I need in order to fix this problem? I'm not an idiot; I successfully rooted 3 KF2's and a KFHD successfully before this monster of a device came along!
herrenfam said:
I don't know what I've done to my KF2. I have successfully rooted the device, and have even been in fastboot for something I tried (can't remember what, just that I was trying to properly root my device). But I have about 14 programs that won't remove off my device (they only show "Add to Favorites" on my device instead of the additional option to remove from device)? I cannot get into ES File Manager and delete them. The .apk's for these files are located in the system folder, and even when I mount root in ES File Manager, I can't delete any of the files in the folder.
I also have a lot of problems with my toolbars randomly flickering on and off. But nothing I've read and tried, except for restoring the device and rerooting it again fixes this problem. I've also looked at a lot of posts that tell me to do a command with the /data/local.prop file. But I don't have this file on my kindle. I've searched for it everywhere using ES File Manager. I do have a /data/default.prop file, however. But I can't use ADB commands on that file either.
So I was advised to get a factory cable so that I can boot into fastboot. But I can use KFFIRSTAIDE to get into that successfully. Can anyone tell me what I've done to my kindle, what programs, and what commands I need in order to fix this problem? I'm not an idiot; I successfully rooted 3 KF2's and a KFHD successfully before this monster of a device came along!
Click to expand...
Click to collapse
Well, if you can reboot into fastboot via KFFA, than no, you don't necessarily need a fastboot cable. Have you tried removing these programs via ADB? If you ADB shell into the device, does the command "su" work? System apps can't be uninstalled the normal way, you have to manually delete them from "/system/app/" yourself. But that's weird that you can't get ES to work. Which version of ES file explorer are you using? I know the new version requires you to not only turn root explorer on, but you have to tap two radial dials to switch it from "/system" from RO (read only) to RW (read writable).
Hope this helped
Ph0enix_216 said:
Well, if you can reboot into fastboot via KFFA, than no, you don't necessarily need a fastboot cable. Have you tried removing these programs via ADB? If you ADB shell into the device, does the command "su" work? System apps can't be uninstalled the normal way, you have to manually delete them from "/system/app/" yourself. But that's weird that you can't get ES to work. Which version of ES file explorer are you using? I know the new version requires you to not only turn root explorer on, but you have to tap two radial dials to switch it from "/system" from RO (read only) to RW (read writable).
Hope this helped
Click to expand...
Click to collapse
What command(s) would I use to remove these programs? The only command I know is "ADB SHELL su". I am not an idiot at computer software, but I was absent on the day they handed out the intelligence on DOS commands.
And how would I get rid of the associated program files? Or do I just leave them on the drive?
What I would really like to do is unroot the device (which seemed to screw it up last time I tried it), restore to factory defaults as to erase all this gibberish, and restart from fresh, with a clean slate and then a clean root. Can that be done? How would I accomplish that? Like I said, it seemed that I the problems with the programs not uninstalling started with the restoring of the device, be it by unrooting it or by restoring the device to factory defaults on the kindle.
PS: yes, I can get into SU on ADB on my computer. I just don't know where to go from there. And my ES File Explorer is V. 3.0.9.0. I looked in the settings and could not find a option to change file to RW.
herrenfam said:
What command(s) would I use to remove these programs? The only command I know is "ADB SHELL su". I am not an idiot at computer software, but I was absent on the day they handed out the intelligence on DOS commands.
And how would I get rid of the associated program files? Or do I just leave them on the drive?
What I would really like to do is unroot the device (which seemed to screw it up last time I tried it), restore to factory defaults as to erase all this gibberish, and restart from fresh, with a clean slate and then a clean root. Can that be done? How would I accomplish that? Like I said, it seemed that I the problems with the programs not uninstalling started with the restoring of the device, be it by unrooting it or by restoring the device to factory defaults on the kindle.
PS: yes, I can get into SU on ADB on my computer. I just don't know where to go from there. And my ES File Explorer is V. 3.0.9.0. I looked in the settings and could not find a option to change file to RW.
Click to expand...
Click to collapse
The commands to remove bloatware and stuff (in this case, apps) would be:
Code:
adb shell
su
mount /system
rm /system/app/nameofapp1.apk
rm /system/app/nameofapp2.apk
rm /system/app/nameofapp3.apk
reboot
If a clean slate is what you want, then you can use this tool here to flash three stock Kindle partition images (boot.img, recovery.img, and system.img) to your Kindle via fastboot. The images aren't of the latest firmware, but I don't think OTA updates are disabled, so you can just let your Kindle auto update over wi-fi.
If "su" works in the ADB shell, then I guess you are rooted. I don't know what to say from there, except to backup whatever data you can and start fresh.
Ph0enix_216 said:
The commands to remove bloatware and stuff (in this case, apps) would be:
Code:
adb shell
su
mount /system
rm /system/app/nameofapp1.apk
rm /system/app/nameofapp2.apk
rm /system/app/nameofapp3.apk
reboot
If a clean slate is what you want, then you can use this tool here to flash three stock Kindle partition images (boot.img, recovery.img, and system.img) to your Kindle via fastboot. The images aren't of the latest firmware, but I don't think OTA updates are disabled, so you can just let your Kindle auto update over wi-fi.
If "su" works in the ADB shell, then I guess you are rooted. I don't know what to say from there, except to backup whatever data you can and start fresh.
Click to expand...
Click to collapse
Thanks a great deal. Where is the program to flash the three stock .img files so I can have a from-the-beginning kindle? I've already got the only thing I need from the device - a list of the third-party apps and where I downloaded them from.
herrenfam said:
Thanks a great deal. Where is the program to flash the three stock .img files so I can have a from-the-beginning kindle? I've already got the only thing I need from the device - a list of the third-party apps and where I downloaded them from.
Click to expand...
Click to collapse
...I forgot to post the link, didn't I?
Here it is: http://forum.xda-developers.com/showthread.php?t=2096888
>>>Sent from my homebuilt TARDIS running Android 4.0.3... or maybe it's a rooted Kindle Fire HD<<<