[Q] How to extract apks from phone to computer - Android Software/Hacking General [Developers Only]

this might be a newb question (sorry) but i want to know how i can takes apks that i have on my phone and trasnfer them to my computer....i see .apk leaks around here all the time the people extract from their phones to the computer....can someone tell me how i can do the same?

MMontanez347 said:
this might be a newb question (sorry) but i want to know how i can takes apks that i have on my phone and trasnfer them to my computer....i see .apk leaks around here all the time the people extract from their phones to the computer....can someone tell me how i can do the same?
Click to expand...
Click to collapse
If you have root access on your phone, you can download a file manager that can access your phones root files, such as Root Explorer. With your file manager you go into /data and find your .apk and copy the file and paste it on your SD card and from there to your computer. Hope that's useful information to you.
Sent from my HTC Hero CDMA running aospCMod-20110326 using XDA Premium App

android pc suite..google it. and download netdragon software..there is a SAVE APK in this software..thats all..it is better android pc suite..this is a must have

I think something like this should work even if the phone is not rooted.
enter at terminal on phone:
mkdir /sdcard/sysapps
cp /system/app /sdcard/sysapps
mkdir /sdcard/dataapp
cp /data/app /sdcard/dataapp
these should just copy the whole app folder to sdcard. I don't think it needs to be rooted because you are only reading the system, not writing to it.
this worked for me in the past to pull the build. Prop from the system of an unrooted phone.
if those don't work try this one
cp /system/app/*. apk /sdcard/sysapps
Sent from my HTC Vision using XDA Premium App

TheNewGuy said:
I think something like this should work even if the phone is not rooted.
enter at terminal on phone:
mkdir /sdcard/sysapps
cp /system/app /sdcard/sysapps
mkdir /sdcard/dataapp
cp /data/app /sdcard/dataapp
these should just copy the whole app folder to sdcard. I don't think it needs to be rooted because you are only reading the system, not writing to it.
this worked for me in the past to pull the build. Prop from the system of an unrooted phone.
if those don't work try this one
cp /system/app/*. apk /sdcard/sysapps
Sent from my HTC Vision using XDA Premium App
Click to expand...
Click to collapse
cp /data/app doesn't work for non-rooted or rooted.
Sent from my HTC Hero CDMA running aospCMod-20110326 using XDA Premium App

Try app monster backup everything that isn't protected. Then open sdcard/appmonster/backups/ copy all the apks from there.
If ur rooted cp /systems/apps/* should do the trick. Although another way would be to tar /system/apps/ to sdcard i use * coz i think those odex files are important too right?
Sent from my Desire HD using XDA App

Related

Copying files from /data/data..

I'm having some problems copying the files i need from /data/data.. I'm using an old version of SUFBS (tried android mate also, same results), as root explorer is a paid app
So, the thing is, I'm finding the files i need, but when i try to copy them nothing happens. No errors. The files just don't appear where i sent them
Please help
Sent from my E10i using XDA App
I use estrongs file manager with root explorer turned on in options.
Yes, I have tried that too before but it doesn't work on my phone. It only works on Cyanogen and hiapk ROMs
Any more ideas?
Sent from my E10i using XDA App
Try this from 'adb shell' or a terminal emulator on your phone.
su
cp -rf /data/data/dirtocopy /sdcard/diryouwantyourfiles/
I think you'll need busybox installed as android doesn't come with cp.
Done.
Had to give up and use Root Explorer lol
Thanks anyway mercianary
Sent from my E10i using XDA App

HTC sensation qhd keyboard

Can someone please paste the keyboard apk.
Thanks!
Sent from my MB860 using XDA App
Have fun with the keyboard
http://www.sendspace.com/file/zzrj7q
Thanks.!!
Now how do I install it? I extracted the zip but it says there is aaproblem parsing the file (I am trying to install on an Atrix)
Sent from my MB860 using XDA App
ekerbuddyeker said:
Thanks.!!
Now how do I install it? I extracted the zip but it says there is aaproblem parsing the file (I am trying to install on an Atrix)
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
you are the person who wanted the app, i just extracted it, try anywhere else on the forum cause i dont have a phone to test it
Oh my god ! I've an Atrix too and I want Sense Keyboard !! Where can I find someone to help me parsing this app ??
To install it you need root and knowledge of adb. Then use these commands
Code:
adb remount
adb push qhdkeyboard.apk /system/app
adb shell
su
chmod 644 /system/app/qhdkeyboard.apk
Then reboot
Flippy125 said:
To install it you need root and knowledge of adb. Then use these commands
Code:
adb remount
adb push qhdkeyboard.apk /system/app
adb shell
su
chmod 644 /system/app/qhdkeyboard.apk
Then reboot
Click to expand...
Click to collapse
is there another method to install that ? I don't know how to use ADB.. But i'm rooted
belig1234 said:
is there another method to install that ? I don't know how to use ADB.. But i'm rooted
Click to expand...
Click to collapse
If you have Root Explorer you can copy it to /system/app after mounting R/W and the long press and change permissions to RW-R--R-- and reboot
is it possible for the atrix users to somehow extract the skype skin they have ....was playing arouind with one today and much prefer the white and black skin they have to the blue one...
with gimpsta you can make your own Sense's skin keyboard then you just have to install an apk
search gimpsta on google
Flippy125 said:
If you have Root Explorer you can copy it to /system/app after mounting R/W and the long press and change permissions to RW-R--R-- and reboot
Click to expand...
Click to collapse
i tried this. but no keyboard appears either in system / keyboards or as a choice when editing
anyone else have an idea?
ekerbuddyeker said:
i tried this. but no keyboard appears either in system / keyboards or as a choice when editing
anyone else have an idea?
Click to expand...
Click to collapse
Tried the same thing, i have the Atrix. so it should work cause same resolution.. this needs to get ported
Flippy125 said:
To install it you need root and knowledge of adb. Then use these commands
Code:
adb remount
adb push qhdkeyboard.apk /system/app
adb shell
su
chmod 644 /system/app/qhdkeyboard.apk
Then reboot
Click to expand...
Click to collapse
This zip doesn't have a apk file in it... It has 2 .odex files... Do i place the 2 files in system/app or the folder, or the zip?
Sent from my ADR6300 using XDA App
Would like to know as well.
So... Has anyone ported this and/ or got this to work on gingerbread dinc?
Sent from my ADR6300 using XDA App
Installing the apk on your devices its not gonna work the apks are tied to framework which you don't have on atrix
Sent from my HTC Sensation 4G using Tapatalk
We know it won't work... That's why we've been trying to get some one to deodex it and port it... Personally I need it for dinc not atrix.....
yozpalang said:
Installing the apk on your devices its not gonna work the apks are tied to framework which you don't have on atrix
Sent from my HTC Sensation 4G using Tapatalk
Click to expand...
Click to collapse
Sent from my ADR6300 using XDA App

Deleted stock task manager

Hello everyone,
I am new to all hacking and modding so please forgive me if I do something wrong.I was uninstalling applications from my rooted atrix 2 2.3.6 stock when I deleted the task manager can you give me the apk or the file and tell me how to use it.I have the 55.28.37 Asia retail please help me.
Sent from my MB865 using XDA
A word of advice: NEVER delete system applications, instead just freeze them. You never know when you may need them or want them back, and if you delete something (case in point here) that you want back, then you're asking for possible unwanted issues...
Sent from my MB865 using xda's premium carrier pigeon service
Try doing "adb install com.motorola.PerformanceManager.apk" or copy it to SD card and then use some file manager.
kousik said:
Try doing "adb install com.motorola.PerformanceManager.apk" or copy it to SD card and then use some file manager.
Click to expand...
Click to collapse
He should have no problem downloading the file and placing on root of the /sdcard and install like any other .apk (unless he's deleted his file manager also!).
Sent from my MB865 using xda's premium carrier pigeon service
Set the right permissions otherwise even after placing app into system it will not work.
Sent from my MB865
For reference, my Performance Manager's location is /system/app/PerformanceManager.apk and the permissions are rw-r--r-- which is chmod 644
Thanks every one for your replies you people are really helpful
Sent from my MB865 using XDA
If you can give me a step by step guide then it would be very helpful
Sent from my MB865 using XDA
Easiest way is to download the file to your computer, then connect your phone in usb mass storage mode to your computer, copy the .apk file you downloaded to your sdcard (which might show up as D: or E: in your PC), disconnect phone from computer, on phone use the "Files" file manager, go to "sd card", locate the .apk and tap on it to install. (Unknown sources should be ticked in your Settings > Applications)
Delete previous performance Manager that you have copied to system/app folder
Extract the attachment then copy both files to system/app without renaming or modifying them
Now to set the permission press and hold both files one after other for 3 seconds a window will appear in that select permission .
Now set permission as I have attached a Image.
People please help me I copied the apk and odex file and I have set the permissions but its not helping
Sent from my MB865 using xda app-developers app
Please help me
Sent from my MB865 using xda app-developers app
shaurya19 said:
Please help me
Sent from my MB865 using xda app-developers app
Click to expand...
Click to collapse
For future reference just copying files to system/app never works. You ALWAYS have to push them with adb. Do you have adb set up on your computer?
If you must use root explorer, you need to copy the files first to the /system folder, and change the permissions to rw-r--r--.. Then "multi-select" both files and "MOVE" (do not copy) them to the /system/app folder, then reboot immediately. If you can go into recovery mode (with bootstrap or cwm on boot feature), then wipe dalvik and cache partition - if not, it may act up.. and it may not.. I have done this countless times with no issues (unless I was sloppy and forgot to rename or change permissions).
It's not the best method - farshad525hou is right, adb is cleaner.. but it can/does work
alteredlikeness said:
If you must use root explorer, you need to copy the files first to the /system folder, and change the permissions to rw-r--r--.. Then "multi-select" both files and "MOVE" (do not copy) them to the /system/app folder, then reboot immediately. If you can go into recovery mode (with bootstrap or cwm on boot feature), then wipe dalvik and cache partition - if not, it may act up.. and it may not.. I have done this countless times with no issues (unless I was sloppy and forgot to rename or change permissions).
It's not the best method - farshad525hou is right, adb is cleaner.. but it can/does work
Click to expand...
Click to collapse
Using root explorer never worked for me...
Sent from my MB865 using xda app-developers app
farshad525hou said:
Using root explorer never worked for me...
Sent from my MB865 using xda app-developers app
Click to expand...
Click to collapse
Yea, I know some folks are opposed to it and/or can't get it to work properly, but I've doing it for quite some time and never ran into a problem - unless I don't do something right. But, come to think of it, I am usually overwriting old files when pushing with root explorer, not placing new ones - I wonder if that may have something to do with it..?
But, I am all for adb - it's an excellent tool that everyone who wants to mod needs to get familiar with.
I suppose we are getting off topic, but this would make a good discussion thread somewhere...
EDIT: just checked, I guess I'm not alone after all!! http://forum.xda-developers.com/showthread.php?t=1412729 - the key steps are to set permissions (which can't be done on the sdcard) and MOVE to /system/app (or where ever)
Where can i get abd?
Sent from my MB865 using xda app-developers app
farshad525hou said:
For future reference just copying files to system/app never works. You ALWAYS have to push them with adb. Do you have adb set up on your computer?
Click to expand...
Click to collapse
I got adb but should i adb install the file that kousik has posted or should i push both the odex and apk files posted by prasannapmv?
Whenever i type adb remount it says that it is not allowed and when i try to adb install it gives an error
Sent from my MB865 using xda app-developers app
shaurya19 said:
I got adb but should i adb install the file that kousik has posted or should i push both the odex and apk files posted by prasannapmv?
Whenever i type adb remount it says that it is not allowed and when i try to adb install it gives an error
Click to expand...
Click to collapse
Just do adb install xx.xx.xx.apk there is no need to remount (or odex file). What is the error message do you get when you tried adb install? If it says already installed, then go to settings -> applications -> all and uninstall the same, and try adb install again.
kousik said:
Just do adb install xx.xx.xx.apk there is no need to remount (or odex file). What is the error message do you get when you tried adb install? If it says already installed, then go to settings -> applications -> all and uninstall the same, and try adb install again.
Click to expand...
Click to collapse
it says install-failed-dexopt

Installing Cerberus

Can someone help me to install Cerberus on my rooted verizon s3. I rooted using the non-flash method and I don't have a custom recovery or rom. Their instructions say:
you can manually install Cerberus in /system/app this way:
- Uninstall Cerberus from your device
- Download Cerberus.apk and put the file on your sd card
- Open a terminal emulator and execute:
su
mount -o remount rw /system
cp /sdcard/Cerberus.apk /system/app/
Click to expand...
Click to collapse
After research, it seems that I should be able to install using either Titanium Backup or root explorer or adb if necessary.
Is this a simple matter of using Titanium Backup's "convert to system app" feature? Does this automatically move the file to the /system/app directory and set the correct rights?
Or should I place the apk in the /system/app directory using root explorer? What rights would I have to set?
Thanks for your help.
I suggest using RootExplorer. You would just navigate to the system/app directory, mount r/w, and then copy the apk. All those steps are performed using the UI in RootExplorer.
Sent from my SCH-I535 using xda app-developers app
I will give it a try. Thanks.
NP. It's one of those apps that is worth two or three times what the dev charges for it.
Sent from my SCH-I535 using xda app-developers app
Wifi won't connect
I installed Cerberus in \system\app and rebooted. I got the custom lock screen but this went away after rebooting again.
However, I can no longer connect to my wifi (either automatic or forced).
When I remove Cerberus, and reboot, wifi automatically connects
Any ideas what is going on?
** UPDATE - uninstalled and reinstalled to system/app and everything worked as it should. I'm curious what happened internally - e.g. why the lock screen and why it messed up wifi.

[Q] Need tool to access phone using PC, cant access phone

I have accidentally installed a theme that is probably of higher resolution than my phone screen. Now in locked mode the unlocking option/pattern/graphics is not visible as it is 'spilling out of screen'.Only a part of large lockscreen wallpaper is occupying my entire screen. Android debugging is on in my device (thankfully). Please suggest me a tool/method using which i can control the phone using PC(or atleast unlock the phone). I (obviously) cannot install anything on my phone, i found some such apps that need installation on phone.
Last option is to flash my phone in recovery with a ROM, but i dont want to do that if other ways possible. my phone is on MIUI ROM developed on 26/9/12
You can wipe your /data in recovery if you don't mind
Or you can manually delete the theme using adb(the apk will be in /data/app).
PS: make a nandroid backup first in case anything goes wrong...
Edit: if you don't know the Apk name, navigate to /data/app and type find(Idk if it will work on windows, cause I tested it in android )
Sent from my LG-P500 using xda premium
how to i enter in my phone's system dir using command line??
what commands to enter?
thankfully i am able to atleast see files and folders in my phone's system using http://code.google.com/p/androidscreencast/
Why would you enter in your system dir.
Btw now that you have access to your phone, download rootexplorer or es file explorer and you'll have access to /data, /system and more
Sent from my LG-P500 using xda premium
but my friend i am not able to access my device,meaning i am not able to unlock it, how do i install it (even if installation possible how to open that app without accessing phone)
i dont know if i am expressing my case properly, i am a noob you see.
Jigar Gada said:
how to i enter in my phone's system dir using command line??
what commands to enter?
thankfully i am able to atleast see files and folders in my phone's system using http://code.google.com/p/androidscreencast/
Click to expand...
Click to collapse
FIRST YOU STOP SPAMMING EVERYWHERE
What is the problem when you can see all system files and folder. Go to data /app.. and delete it. Or if you have moved the theme apk to sdcard.. just browse your sdcard using an adapter and delete that appname.apk from ".android_secure" folder.
Use these (if you havent moved the app to sdcard)
adb shell
login as.. su
cd data/app
ls
rm appname.apk
reboot
problem solved
Sorry 'senior member' , i did not mean to spam but if u can understand my desperation. btw problem solved- a noobie like me suggested to call from a different phone and while on the call change the theme....
i myself tried a lot fiddling with command line but wasnt able to figure out.
Peace \/
Jigar Gada said:
how to i enter in my phone's system dir using command line??
what commands to enter?
thankfully i am able to atleast see files and folders in my phone's system using http://code.google.com/p/androidscreencast/
Click to expand...
Click to collapse
FPChaim said:
Why would you enter in your system dir.
Btw now that you have access to your phone, download rootexplorer or es file explorer and you'll have access to /data, /system and more
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Sorry I was sleeppy when I replied that...
Sent from my LG-P500 using xda premium

Categories

Resources