Delete PassWord ADB sideload - Android Software Development

Sorry wrong place, i've moved it. You can delete it.

Related

how remove apps on unrooted phone?

so, things like amazon mp3 download, which constantly starts itself up, is useless to me. i can adb shell into the app folder, but i don't know which app it is, or even if i even have permissions to remove it, since i haven't rooted my phone.
any suggestions, help?
timothydonohue said:
so, things like amazon mp3 download, which constantly starts itself up, is useless to me. i can adb shell into the app folder, but i don't know which app it is, or even if i even have permissions to remove it, since i haven't rooted my phone.
any suggestions, help?
Click to expand...
Click to collapse
You have to have root for this, sorry
But when you do root: com.amazon.mp3.apk
Sorry to noob it up in here, but I have root and have been dying to delete the facebook app. Can you put it in simple terms?
:/ what are the possiblities that brute force su password checks would work? i mean, this thing has to have a password, right?
kozm0naut said:
Sorry to noob it up in here, but I have root and have been dying to delete the facebook app. Can you put it in simple terms?
Click to expand...
Click to collapse
u need to establish a command line shell. first you need the sdk, which is probably easier to install with eclipse, just so you have everything. there are instructions around here somewhere.
once you have that, go to the sdk/tools folder in a terminal, and type in 'adb shell', and that'll put you into the file system for the phone. cd to the app directory, and if you have root ownership (dangit), you can remove apps or add apps
on your pc, open command prompt, and type in adb uninstall [directory to the application]
timothydonohue said:
:/ what are the possiblities that brute force su password checks would work? i mean, this thing has to have a password, right?
Click to expand...
Click to collapse
No, it doesn't

[Q] RESTORING Stock Apps

So I deleted a few apps and am curious as to how I go about restoring them to the phone if I say, deleted them by accident. I made a backup of all of the apps on my pc in the SDK Tools subdirectory so they are all there. Also, will installing an .odex file be the same as an .apk file? Do I need to restore the .odex files or will they automatically be rebuilt?
How did you perform this backup? With adb? Then it will be easy to put the apps back. You should just be able to use adb with the install command. Just type in adb at the command prompt and read the help instructons for install. Not sure if the install command takes care of the .odex files. You could try it and then copy them over manually if they dont get copied. I am sure once you boot the phone the default .odex will be built, just a quess on that though.
anika200 said:
How did you perform this backup? With adb? Then it will be easy to put the apps back. You should just be able to use adb with the install command. Just type in adb at the command prompt and read the help instructons for install. Not sure if the install command takes care of the .odex files. You could try it and then copy them over manually if they dont get copied. I am sure once you boot the phone the default .odex will be built, just a quess on that though.
Click to expand...
Click to collapse
I would think that pushing the files back to the original location from recovery would be the safest bet. ADB install will install it to /data and I would think that the apps being system apps originally then they don't have the signatures anyway to allow an ADB install.
I think you're right
I believe I originally used ADB to put them in Android SDK Tools/Desktop/~ folder. When I tried installing them back I don't believe it worked. I specifically remember receiving an error when trying to install the .odex file about a database issue. Assuming it's a system file I'm trying to restore, does someone have the syntax for the push command or how I go about doing that?
If you have the .apk and .odex files on your computer, or really backed up anywhere, you can install them a few ways:
ADB Method
#Prerequisites:
Make sure you have the APK files in AndroidSDK/tools.
1. Connect the phone to your computer
2. Launch a command prompt and enter the following commands:
cd C:\AndroidSDK\tools
Replace "C:\AndroidSDK\tools" with the path to the tools folder in your SDK installation.
adb install filename.apk
Replace "filename.apk" with the name of the file you're trying to install.
Actually, **** it, the ADB method works anyway, why list a bunch lol
No wait, these are original files so you should probably put them back in their original location.
Just use "adb push filename.apk /system/app", replacing filename.apk with your filename, of course..
Push it
Okay, thanks for the tips. So I guess when you have files in the system/app directory on the phone it knows automatically to look there for program installs. This is good to know.

Nothing in /data/??

I'm trying to root my phone (HTC Panache), but when I try to push files to the /data/ directory, I am unable to. I went to have a look at the directory with File Expert and it seems like there is absolutely nothing in there. I can't create new folders in there or anything. Can anyone help me determine what's going on? The phone still functions perfectly.
edit--
Ok, I know that there are sub directories within the /data/ folder because I am able to perform a pull command from there but it seems like I have no permission to view anything in there or push anything to there. Any help is appreciated.
You can't push to /data/, or see /data/, because you have no root permissions.
You can push to /data/local/ or /data/local/tmp/.
If you don't succeed - means you're doing something wrong. Post your exact command and the error message you're getting, if you want more help then just telling you that.
For rooting Panache, follow the guide by Jgobeil, links in Wiki or in "Videotron/Mobility Panache thread" in General section.

[Q] need help with ADB shell

So I've got an Atrix 4g. I was in root explorer and accidentally moved instead of copied PortalApp.apk from /system/app/ to the root of my internal storage.
I wish I could just use root explorer to copy it back but i have this constant error on the screen telling me that portalapp.apk has force closed. I'm really awful with ADB shell and need help with how to copy the portalapp.apk file BACK to system/app/ where it should be. Thanks!
Nevermind. Got it.

Please help a beginner understand ADB

I am quite proud to have got as far as I have (please see screenshot).
However, I am trying to adb pull my nandroid backup from TWRP onto my PC. I've searched all over the place for the right commands but whatever I type, I get a "could not find" message.
Could someone please let me know what to type to adb pull the nandroid backup onto my PC please?
Also, when I have reformatted my Nexus 7, what do I need to do to adb push the nandroid backup back onto my sdcard?
Many thanks in advance!
It should be in your /data/media/0/TWRP/BACKUPS/015d4172c98600219/ directory to c:/users/a/desktop.
Username invalid said:
It should be in your /data/media/0/TWRP/BACKUPS/015d4172c98600219/ directory to c:/users/a/desktop.
Click to expand...
Click to collapse
Thanks! I have been at it all day! I've finally managed to adb pull my nandroid backup and my TBU. I now want to sideload them to make sure I can do everything before I reformat my N7. When I enter: adb sideload 015d172c98600219, I get a "cannot read message". What is it that I should be entering?
You can not sideload a nandroid backup. You need to push it to your TWRP directory.
Username invalid said:
You can not sideload a nandroid backup. You need to push it to your TWRP directory.
Click to expand...
Click to collapse
Ah ok, good to know! So it's "adb push /015d4172c98600219/data/media/0/TWRP/BACKUPS/"?
Example
Code:
adb push c:/users/a/desktop/2013-07-29--11-07-31 /sdcard/TWRP/BACKUPS/015d4172c98600219/2013-07-29--11-07-31
Username invalid said:
Example
Code:
adb push c:/users/a/desktop/2013-07-29--11-07-31 /sdcard/TWRP/BACKUPS/015d4172c98600219/2013-07-29--11-07-31
Click to expand...
Click to collapse
Thanks very much for this. I guess adb is not for me.
This is where I am (screenshots). No matter what code I try nothing happens. I just see a set of instruction run quickly on the screen and then I'm back to square one.
Do I need to do something about the device itself, in "mount" perhaps?
Sorry to be a pain! Don't worry if you don't have the time!
StrangerWeather said:
Thanks very much for this. I guess adb is not for me.
This is where I am (screenshots). No matter what code I try nothing happens. I just see a set of instruction run quickly on the screen and then I'm back to square one.
Do I need to do something about the device itself, in "mount" perhaps?
Sorry to be a pain! Don't worry if you don't have the time!
Click to expand...
Click to collapse
Make a temporary backup so it will create the directory. You should still have your system image after the format so have you tried booting up then copying through My Computer?
Well I haven't reformatted yet because I wanted to make sure I mastered the adb method before I wiped everything. But now I don't know whether I should format at all. Sounds a bit risky if I don't have a rom to go back to!
Sent from my Nexus 7 using xda premium
It's strange, though, that I can successfully adb pull files but not adb push them back. Does anybody have a clue?
Your ROM will still be there after formatting. If is not, just reflash it with fastboot or sideload.
Also, you can't have spaces in the command.

Categories

Resources