Go Back   Android Forums > Android Phones > Motorola Droid > Droid - All Things Root
Droid - All Things Root Rooting, ROMS, Overclocking, etc.

test: Reply
 
LinkBack Thread Tools
Old May 12th, 2010, 02:17 AM   #1 (permalink)
Member
Thread Author (OP)
 
Join Date: Mar 2010
Posts: 101
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 10 Times in 6 Posts
Default Moving Apps to /system/app

I would like to move a few apps (such as Terminal Emulator and OSMonitor) to the /system/app folder. I'm able to get them moved, then chmod them to 644, but upon trying to launch them, they force close. Am I missing something?

Advertisements
RTAdams89 is offline  
Reply With Quote
sponsored links
Old May 12th, 2010, 03:21 AM   #2 (permalink)
Senior Member
 
doomedromance's Avatar
 
Join Date: Nov 2009
Location: The Left Coast
Posts: 664
 
Device(s): HTC Thunderbolt
Carrier: Not Provided

Thanks: 31
Thanked 82 Times in 47 Posts
Default

I do it in terminal emulator this way.

su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
busybox cp /sdcard/location/of/application.apk /system/app/
busybox cp /sdcard/location/of/application2.apk /system/app/
mount -o remount,ro -t yaffs2 /dev/block/mtdblock4 /system
sync

But I guess it wouldn't help you much in pushing terminal emulator over.
__________________
The very popular R2D1 bootanimation optimized for the Droid 1 here. the popular Droid X teaser commercial eye Droid 1 boot mashup here. The Droid X teaser commercial eye Droid X boot mashup here
Droid 2 bootanimation modified so the eye makes multiple scans here MotoTorchLED skinned to match Beautiful Widgets here
doomedromance is offline  
Reply With Quote
Old May 12th, 2010, 03:24 AM   #3 (permalink)
Member
Thread Author (OP)
 
Join Date: Mar 2010
Posts: 101
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 10 Times in 6 Posts
Default

Seems like the same thing I have already tried
RTAdams89 is offline  
Reply With Quote
Old May 12th, 2010, 09:11 AM   #4 (permalink)
Senior Member
 
Join Date: Jan 2010
Location: Wilmington, DE
Posts: 1,307
 
Device(s): Moto Droid Nook Color
Carrier: Not Provided

Thanks: 114
Thanked 517 Times in 295 Posts
Default

For me, the easiest way to move apps to /system/app is using Root Explorer:

1. Copy the apk and paste it into /system/app -- you'll need to press the button on the top right that says "Mount R/W".

2. Long-press on the newly pasted apk file and select Permissions.

3. Change the permissions to User: Read - Write, Group: Read, Others: Read

4. When you click Okay, you should see "rw-r--r--" in the fine print under the apk name.

5. Click the Mount R/O button, then reboot.

Since it appears that you've already moved the apps to /system/app, then all you really need to do is look at the permissions and make sure they show as noted above.
__________________
Droid
Project Elite 6.5 test/CorCor67 PE 1150Mhz SV
Nook Color
Dual boot from eMMC: CM7/Dalingrin OC kernel at 1350Mhz + Nook Color Stock 1.2 rooted
GirLuvsDroid is offline  
Reply With Quote
The Following 5 Users Say Thank You to GirLuvsDroid For This Useful Post:
Amin Sabet (September 23rd, 2010), Capnwalker (September 13th, 2012), eatsoap2 (October 20th, 2010), Kaessa (August 7th, 2011), xploPR (July 11th, 2012)
Old May 12th, 2010, 10:01 AM   #5 (permalink)
Member
Thread Author (OP)
 
Join Date: Mar 2010
Posts: 101
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 10 Times in 6 Posts
Default

I think I have done all that. Here is the (partial) directory lsiting of my /system/app folder using ADB:

Code:
# ls -l /system/app
ls -l /system/app
-rw-r--r-- root     root        50473 2010-05-12 07:59 jackpal.androidterm.apk
-rw-r--r-- root     root       391160 2010-03-31 18:15 Camera.odex
-rw-r--r-- root     root        20960 2008-08-01 05:00 LiveWallpapersPicker.odex
Permissions seem to be correct, yet I still get a force close...

Here is the code I am using to move apps using ADB:
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
cp /data/app/com.swype.android.inputmethod.apk /sdcard/com.swype.android.inputmethod.apk
cp /data/app/com.eolwral.osmonitor.apk /sdcard/com.eolwral.osmonitor.apk
cp /sdcard/com.swype.android.inputmethod.apk /system/app/com.swype.android.inputmethod.apk
cp /sdcard/com.eolwral.osmonitor.apk /system/app/com.eolwral.osmonitor.apk
chmod 644 /system/app/com.swype.android.inputmethod.apk
chmod 644 /system/app/com.eolwral.osmonitor.apk
mount -o remount,ro -t yaffs2 /dev/block/mtdblock4 /system
sync
RTAdams89 is offline  
Last edited by RTAdams89; May 12th, 2010 at 10:17 AM.
Reply With Quote
Old May 12th, 2010, 10:08 AM   #6 (permalink)
Senior Member
 
Join Date: Jan 2010
Location: Wilmington, DE
Posts: 1,307
 
Device(s): Moto Droid Nook Color
Carrier: Not Provided

Thanks: 114
Thanked 517 Times in 295 Posts
Default

And they read the same way for Terminal Emulator and OSMonitor?
GirLuvsDroid is offline  
Reply With Quote
Old October 18th, 2010, 11:56 AM   #7 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: SF Bay Area
Posts: 557
 
Device(s): MT4G w/CM7
Carrier: Not Provided

Thanks: 16
Thanked 21 Times in 17 Posts
Send a message via AIM to Phateless HondaJosh
Default

Quote:
Originally Posted by GirLuvsDroid View Post
For me, the easiest way to move apps to /system/app is using Root Explorer:

1. Copy the apk and paste it into /system/app -- you'll need to press the button on the top right that says "Mount R/W".

2. Long-press on the newly pasted apk file and select Permissions.

3. Change the permissions to User: Read - Write, Group: Read, Others: Read

4. When you click Okay, you should see "rw-r--r--" in the fine print under the apk name.

5. Click the Mount R/O button, then reboot.

Since it appears that you've already moved the apps to /system/app, then all you really need to do is look at the permissions and make sure they show as noted above.
Where are installed apps stored? I cannot for the life of me find them.
Phateless is offline  
Reply With Quote
Old October 18th, 2010, 12:03 PM   #8 (permalink)
Senior Member
 
Join Date: Jan 2010
Location: Wilmington, DE
Posts: 1,307
 
Device(s): Moto Droid Nook Color
Carrier: Not Provided

Thanks: 114
Thanked 517 Times in 295 Posts
Default

Quote:
Originally Posted by Phateless View Post
Where are installed apps stored? I cannot for the life of me find them.
If they're stored on the SD card, you need to go into Settings>Applications>Manage applications and "Move to phone." All apps stored in data on the phone are in /data/app.
GirLuvsDroid is offline  
Reply With Quote
Old October 18th, 2010, 12:10 PM   #9 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: SF Bay Area
Posts: 557
 
Device(s): MT4G w/CM7
Carrier: Not Provided

Thanks: 16
Thanked 21 Times in 17 Posts
Send a message via AIM to Phateless HondaJosh
Default

Quote:
Originally Posted by GirLuvsDroid View Post
If they're stored on the SD card, you need to go into Settings>Applications>Manage applications and "Move to phone." All apps stored in data on the phone are in /data/app.
I see nothing under /data. Absolutely nothing. Tried 4 different file managers with the same results and they're all set to display hidden files. What gives?
Phateless is offline  
Reply With Quote
Old October 18th, 2010, 12:17 PM   #10 (permalink)
Senior Member
 
Join Date: Jan 2010
Location: Wilmington, DE
Posts: 1,307
 
Device(s): Moto Droid Nook Color
Carrier: Not Provided

Thanks: 114
Thanked 517 Times in 295 Posts
Default

Quote:
Originally Posted by Phateless View Post
I see nothing under /data. Absolutely nothing. Tried 4 different file managers with the same results and they're all set to display hidden files. What gives?
Did you use Root Explorer? It's the only file manager I know of that will display /data.
GirLuvsDroid is offline  
Reply With Quote
sponsored links
Old October 18th, 2010, 12:20 PM   #11 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: SF Bay Area
Posts: 557
 
Device(s): MT4G w/CM7
Carrier: Not Provided

Thanks: 16
Thanked 21 Times in 17 Posts
Send a message via AIM to Phateless HondaJosh
Default

Quote:
Originally Posted by GirLuvsDroid View Post
Did you use Root Explorer? It's the only file manager I know of that will display /data.
Yep, tried that one. None of my file managers display it. Why would that be?
Phateless is offline  
Reply With Quote
Old October 18th, 2010, 12:22 PM   #12 (permalink)
Senior Member
 
Join Date: Jan 2010
Location: Wilmington, DE
Posts: 1,307
 
Device(s): Moto Droid Nook Color
Carrier: Not Provided

Thanks: 114
Thanked 517 Times in 295 Posts
Default

Quote:
Originally Posted by Phateless View Post
Yep, tried that one. None of my file managers display it. Why would that be?
Are you rooted?
GirLuvsDroid is offline  
Reply With Quote
Old October 18th, 2010, 12:29 PM   #13 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: SF Bay Area
Posts: 557
 
Device(s): MT4G w/CM7
Carrier: Not Provided

Thanks: 16
Thanked 21 Times in 17 Posts
Send a message via AIM to Phateless HondaJosh
Default

Quote:
Originally Posted by GirLuvsDroid View Post
Are you rooted?
Yup, using oem 1.6 w/univ. androot.
Phateless is offline  
Reply With Quote
Old October 18th, 2010, 12:32 PM   #14 (permalink)
Senior Member
 
Join Date: Jan 2010
Location: Wilmington, DE
Posts: 1,307
 
Device(s): Moto Droid Nook Color
Carrier: Not Provided

Thanks: 114
Thanked 517 Times in 295 Posts
Default

Quote:
Originally Posted by Phateless View Post
Yup, using oem 1.6 w/univ. androot.
My instructions are for a Motorola Droid 1 (since this is the Motorola Droid forum). I take it you have a different device? If so, I have no idea how to help you.
GirLuvsDroid is offline  
Reply With Quote
Old October 18th, 2010, 12:40 PM   #15 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: SF Bay Area
Posts: 557
 
Device(s): MT4G w/CM7
Carrier: Not Provided

Thanks: 16
Thanked 21 Times in 17 Posts
Send a message via AIM to Phateless HondaJosh
Default

Quote:
Originally Posted by GirLuvsDroid View Post
My instructions are for a Motorola Droid 1 (since this is the Motorola Droid forum). I take it you have a different device? If so, I have no idea how to help you.
I have a mytouch, thanks tho.
Phateless is offline  
Reply With Quote
Old October 18th, 2010, 12:58 PM   #16 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: SF Bay Area
Posts: 557
 
Device(s): MT4G w/CM7
Carrier: Not Provided

Thanks: 16
Thanked 21 Times in 17 Posts
Send a message via AIM to Phateless HondaJosh
Default

Can anyone help with this? It's preventing me from getting my ota update to 2.2.
Phateless is offline  
Reply With Quote
Old October 18th, 2010, 02:19 PM   #17 (permalink)
Junior Member
 
Join Date: Aug 2010
Posts: 84
 
Device(s):
Carrier: Not Provided

Thanks: 10
Thanked 15 Times in 12 Posts
Default

Your in a Moto Droid forum. You might try posting in the My Touch All Things Root forum...

MyTouch 3G - All Things Root - Android Forums

or the standard My Touch forum...

T-Mobile MyTouch - Android Forums
sharkerbaby is offline  
Reply With Quote
Old October 19th, 2010, 02:27 PM   #18 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: SF Bay Area
Posts: 557
 
Device(s): MT4G w/CM7
Carrier: Not Provided

Thanks: 16
Thanked 21 Times in 17 Posts
Send a message via AIM to Phateless HondaJosh
Default

Quote:
Originally Posted by GirLuvsDroid View Post
Did you use Root Explorer? It's the only file manager I know of that will display /data.
Just realized I DIDN'T try root explorer, I tried File Manager. Will Root Explorer make a difference? Don't wanna pay $3 just to find out...

I think what I really need is an adb guide.
Phateless is offline  
Reply With Quote
Old October 19th, 2010, 02:30 PM   #19 (permalink)
Senior Member
 
Join Date: Jan 2010
Location: Wilmington, DE
Posts: 1,307
 
Device(s): Moto Droid Nook Color
Carrier: Not Provided

Thanks: 114
Thanked 517 Times in 295 Posts
Default

Quote:
Originally Posted by Phateless View Post
Just realized I DIDN'T try root explorer, I tried File Manager. Will Root Explorer make a difference? Don't wanna pay $3 just to find out...

I think what I really need is an adb guide.
You can try it and get a full refund if you decide you don't want, so long as you uninstall it within 24 hours from purchase.
GirLuvsDroid is offline  
Reply With Quote
Old October 19th, 2010, 03:34 PM   #20 (permalink)
Senior Member
 
Join Date: Feb 2010
Location: SF Bay Area
Posts: 557
 
Device(s): MT4G w/CM7
Carrier: Not Provided

Thanks: 16
Thanked 21 Times in 17 Posts
Send a message via AIM to Phateless HondaJosh
Default

Quote:
Originally Posted by GirLuvsDroid View Post
You can try it and get a full refund if you decide you don't want, so long as you uninstall it within 24 hours from purchase.
Hmm, that's not a bad idea. Thanks!
Phateless is offline  
Reply With Quote
sponsored links
Old July 29th, 2011, 06:53 AM   #21 (permalink)
New Member
 
Join Date: Jul 2011
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I have Samsung Galaxy 3 (I5800) and it works for me :
"rw-r--r--" - there is a problem
by Root Explorer, I moved app from Data to System and set ALL PERMISSION to Enable , then reboot , ALL works

tested on CPU FREQ, Beautiful Widgets, THINK OFFICE etc...
radek.god is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > Motorola Droid > Droid - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:38 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.