Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Thread Deleted

[Q] ADB command to push a file to the system directory [NOT ROOTED]

OP mwrobe1

Prev Previous Post   Next Post Next
4th March 2014, 05:13 AM   |  #1  
mwrobe1's Avatar
OP Member
Flag Chicagoland
Thanks Meter: 22
 
44 posts
Join Date:Joined: Dec 2012
More
If this is in the wrong place then I apologize. I have a stock AT&T Galaxy S3 now running 4.3.

I like TW for whatever reason and recently unrooted to go from 4.1.2 to 4.3. There is one hack that I found on this site that was wonderful...Auto-connect Data on sending/receiving MMS (http://forum.xda-developers.com/gala...g-mms-t2102186) I work out of my house and I'm always on wifi...for the battery savings I toggle mobile data off when I'm at home. On an unmodified GS3, when mobile data is off...you don't get MMS (until I found the edit to the \system\csc\feature.xml file to force connect it.)

Problem is, with the unrooted stock ROM and KNOX I can't get write privs to that file (and the whole system directory) w/o rooting. (or so I thought?) I did a little digging and came up with what I think is a workaround...but before I spend any time with it, I got a few questions.

Say I make a copy of the feature.xml file to my sdcard and make the auto connect edit to it: <CscFeature_RIL_ForceConnectMMS>true</CscFeature_RIL_ForceConnectMMS>

Would the following adb commands work to push my modified feature.xml file to the system/csc directory? Or is root and/or KNOX removal completely necessary?

Code:
adb shell
su
mount -o rw, remount /dev/block/stl9 /system
dd if=/sdcard/feature.xml of=/system/csc/feature.xml
Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes