• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Not sure how to or Where it is

draky

Newbie
Aug 23, 2010
15
0
So I have very little of the android apps installed on my Ally thanks to Velocity. I wanted to move a couple big apps over so they weren't taking up as much space, Quickoffice and Scan2PDF.
I'm not sure where to find the installed apps though first. I've looked under /data with Astro and it says "(Directory is empty)." I need to find the names of the files so I can move them.
Second, I don't know the command off the top of my head to move the files. I'm sure I can look it up though, I'm simply being lazy.

Any help is appreciated, thank you!
 
Download a terminal emulator or get adb running, in both these commands will be identical
Code:
su
ls /system/app
ls /data/app

This will give you a list of everything in /data/app and /system/app the move command is mv

Code:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
mv /system/app/bloatware.apk /data/app/
 
  • Like
Reactions: draky
Upvote 0
Ok, I'm trying this and it's not working well for me. I got the lists and when I use the move command I get a failed message. Example: failed on '/data/app/com.burrotec.scan2pdf202.apk' - Cross-device link

What am I doing wrong?
Just got this error earlier! reboot into recovery and do adb shell and try doing you command again, it should work this time!
 
Upvote 0
Ok, I'm trying this and it's not working well for me. I got the lists and when I use the move command I get a failed message. Example: failed on '/data/app/com.burrotec.scan2pdf202.apk' - Cross-device link

What am I doing wrong?

This is an age-old unix thing. You can NOT move a file across a filesystem using most implementations of mv. mv is not made to copy data from device to device, it simply changes a file's location within a partition. Since /data and /system are different partitions, it's failing.

You should use:

cat /data/app/FILENAME > /system/app/FILENAME
rm /data/app/FILENAME

The first copies, the second deletes the original. Actually, in my experience, after the file is copied, the original is deleted anyway (the system deletes the redundant apk).
 
Upvote 0
This is an age-old unix thing. You can NOT move a file across a filesystem using most implementations of mv. mv is not made to copy data from device to device, it simply changes a file's location within a partition. Since /data and /system are different partitions, it's failing.

You should use:

cat /data/app/FILENAME > /system/app/FILENAME
rm /data/app/FILENAME

The first copies, the second deletes the original. Actually, in my experience, after the file is copied, the original is deleted anyway (the system deletes the redundant apk).
HA! i knew there was a logical reason i was forgetting. Thanks dark!
 
Upvote 0
This is an age-old unix thing. You can NOT move a file across a filesystem using most implementations of mv. mv is not made to copy data from device to device, it simply changes a file's location within a partition. Since /data and /system are different partitions, it's failing.

You should use:

cat /data/app/FILENAME > /system/app/FILENAME
rm /data/app/FILENAME

The first copies, the second deletes the original. Actually, in my experience, after the file is copied, the original is deleted anyway (the system deletes the redundant apk).
This worked perfectly! I was able to move the almost 9meg pig to the /system/app. Thank you very much Darkxsun!
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones