Copying files from /data/data.. - Android Software/Hacking General [Developers Only]

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

Related

using adb for installing stock apps

sorry if this has been asked a lot, i have tried searching and need some help.
I flashed the latest Axura, and hate the music app installed in it. So i found the stock samsung music player, and tried to install it in the /system/app folder via Astro file manager, but i can't paste or cut anything that's not in the sd card.
so i tried adb. i couldn't push anything to the system/app folder as my permission was denied, so i copied the apk to the sd card, then i went into adb shell and used su to copy the file into the /system/app folder. that worked, but when i did that i lost the music player icon totally.
if i go to my music files on the sd card they will play individually, so the player must be installed, i just have to icon to boot into the player.
any help would be appreciated!
Anything?!
Sent from my SAMSUNG-SGH-I897 using XDA App
drizzle67 said:
Anything?!
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
copy to your sdcard
adb shell
su
(accept the prompt on your screen)
cd /sdcard/whereveryoustuckfile
cp blahblahblah.apk /system/app/
I did that, and the music player apj is in the folder now, but its not in my application drawer. I have tried to install it from there but it fails everytime as well. I can always reflash the axura rom but I would like the stock player back!
Sent from my SAMSUNG-SGH-I897 using XDA App
drizzle67 said:
I did that, and the music player apj is in the folder now, but its not in my application drawer. I have tried to install it from there but it fails everytime as well. I can always reflash the axura rom but I would like the stock player back!
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
sounds like you dont have proper permissions on it
do you have root explorer?
I had to remount the system/app folder to allow write.
Sent from my SAMSUNG-SGH-I896 using XDA App
I don't have root explorer, I have astro file manager, but thsts it.
Also I tried remounting the system/app folder to read/write but it wouldn't let me in adb.
Sent from my SAMSUNG-SGH-I897 using XDA App
drizzle67 said:
I don't have root explorer, I have astro file manager, but thsts it.
Also I tried remounting the system/app folder to read/write but it wouldn't let me in adb.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
once you su, run this command
mount -o rw,remount /dev/block/stl9 /system

[Q] How to extract apks from phone to computer

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

System files

I know this may sound stupid...but...How and where can i find the system files...?...im in my file explorer and don't see them...im used to windows...new to android...thanks in advance...
Sent from my SGH-T959V using XDA App
The file explorer that came with the phone only lists the contents of the sdcard. You'd have to get a better file explorer from the market. Root Explorer is one I hear about a lot.
Another way is to download the Android Software Development Kit (SDK), install it, run it, download the platform tools within it, and then use the Android Debug Bridge (adb). adb gives you the ability to do a lot of things, one of which is to open a shell (adb shell) which then allows you to see all of the files on the root (/) of the file system.
I use ES file explorer to view system files. It has a root option plus it's free. other than cost, I don't know how it differs from root explorer.
Sent from my SGH-T959V using XDA App
phordych05 said:
I know this may sound stupid...but...How and where can i find the system files...?...im in my file explorer and don't see them...im used to windows...new to android...thanks in advance...
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
Before you do any of that you have to have root
Sent from my SGH-T959V using xda premium
Hi
If you're a noob I advise you to first read rhe SGS 4G bible and use a rooted custom ROM, experience it and some of the tweaks and tools and only then ask yourself why do you need to deal with system files, once you're there i recommend thd root explorer.
Sent from me
itzik2sh said:
Hi
If you're a noob I advise you to first read rhe SGS 4G bible and use a rooted custom ROM, experience it and some of the tweaks and tools and only then ask yourself why do you need to deal with system files, once you're there i recommend thd root explorer.
Sent from me
Click to expand...
Click to collapse
yeah...i checked out the bible...i how alot about windows...so im sure i can catch on pretty quick...i just new to android...not files and all...well android files i am...lol...but i cant deal with stock crap...i need to try to get rid of apps that i dont use...like layers...tmobile tv...drive smart...the stuff thats pointless to me...im rooted...have file explorer...super user...and it wont let me fully get rid of them...just uninstall the updates...why...?...thanks in advance...
Use ROOT EXPLORER but don't delete anything from system, just move it to SD to make sure you can work without it first.
Sent from me

How to Flash zipped file without custom recovery?

Hi there!
I have U30GT tablet which unfortunely till now didn't have any custom recovery. Some time I want to flash files to the ROM but due to this limitation I need to copy the files manually (easy job) and set the permission (hard job when there's a lot of files).
So is there any other ways that I can automated the task of copying the files and setting the correct permission without using custom recovery?
Many thanks!
Have you tried using a script or bat file to copy and set permissions through adb from your desktop?
Sent from my VS910 4G using xda app-developers app
I.M.famous XMAN said:
Have you tried using a script or bat file to copy and set permissions through adb from your desktop?
Sent from my VS910 4G using xda app-developers app
Click to expand...
Click to collapse
Thanks. But I don't know how to do a script or bat file to be used with adb. Can you write up some guide for it?
I'll see what I can do. No garruntees. But another option is to push the files through adb then use v6 supercharger to fix emissions. Idk. Let me see if I can Whip something up for you.
Sent from my VS910 4G using xda app-developers app
package can be flashed through stock recovery but they are needed to be signed properly with the manufacturer's key
dheeraj (dhlalit11) said:
package can be flashed through stock recovery but they are needed to be signed properly with the manufacturer's key
Click to expand...
Click to collapse
Thanks but I wanna copy files for some tweaks only.
Well I found 1 solution, that is to manually copy the files than use ROM Manager app to fix permission. Also found thread here in XDA about using .bat file to automated the push and set permission but as I very lacking in knowledge in using command, I'll stick to Root Explorer + ROM Manager combo.
you can root device,cat stock recovery.img,and then compile cwm recovery.
Check this website someone is working on getting CLOCKWORK recovery on U30GT
http://www.freaktab.com/showthread.php?1396-Cube-U30GT-H-JB-Finless-1-4-ClockWork-BETA1
Sent from my EVO

Adb push w/o root!!!

Can't we push an apk to /system without having to root the device and mounting the system partition????
Found that there are some add ons available for SDK that doesn't need root.
P.S: Not for me, but my sisters phone. Shes pretty rough user and does not want to lose warranty.
Sent from my HTC Explorer A310e using xda app-developers app
goateegauti said:
Can't we push an apk to /system without having to root the device and mounting the system partition????
Found that there are some add ons available for SDK that doesn't need root.
P.S: Not for me, but my sisters phone. Shes pretty rough user and does not want to lose warranty.
Sent from my HTC Explorer A310e using xda app-developers app
Click to expand...
Click to collapse
I never tried it but i think it is possible bcoz i pulled whole /system folder from unrooted mobile
Just make sure you have proper driver installed
Sent from my HTC Explorer using xda premium
Pulling apps doesn't require root permissions but to push apps we need to change the system partition with RW access. I found somewhere on net that for nook HD and HD+ there are some plugins available for SDK through which they can modify system partition without the device being rooted. Is there any plugins available for other OEMS.
Sent from my HTC Explorer A310e using xda app-developers app
I had pushed fonts to /system partition of an unrooted mobile
i just used adb and pushed the files
didn't need anything else
hope apps can also be pushed :fingers-crossed:

Categories

Resources