FORUMS

Android 5.1.1 Omni ROM For Motorola Xoom

Back in Feb 2011, the Motorola Xoom became the first device to be sold with Android 3.0 … more

CleanSlate Brings Fingerprint Scanner Mod to HTC One M9+

Work of XDA Recognized Developer tbalden, CleanSlate custom kernel for the HTC … more

Sunday Debate: Which Factors Caused HTC’s Woes?

Join us in a fun Sunday Debate on HTC’s situation. Come with your … more

HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading … more

Root 2.20 ThinkTank [Absolutely NO off-topic discussion]

7,893 posts
Thanks Meter: 2,682
 
By gunnyman, Senior Member on 17th August 2012, 05:38 PM
Post Reply Subscribe to Thread Email Thread
It's that time again kids.
I Ran the 2.220 RUU on my HOX today just to see if ANYTHING we used to be able to do would work.
/data/local is still write protected so the easy ways won't work.
I do have a question regarding write protection on partitions though. Do any of the low level tools we have contain the ability to push files to write protected partitions? Or change the condition of said partitions, even temporarily?
I'm sure this has been tried but I've never tried it so I'm asking.
Last edited by PeartFan40; 22nd October 2012 at 08:41 PM.
The Following 3 Users Say Thank You to gunnyman For This Useful Post: [ View ]
 
 
17th August 2012, 05:40 PM |#2  
gunnyman's Avatar
OP Senior Member
Flag Greenville SC
Thanks Meter: 2,682
 
Donate to Me
More
DOH asking MOD to move
17th August 2012, 06:04 PM |#3  
GuyIncognito721's Avatar
Senior Member
Flag Oswego
Thanks Meter: 221
 
More
I'm no dev by any means, so I may sound stupid here.
But I was messing around with some stuff yesterday and noticed that, even though data/local is WP, you can still create a new directory within data/local, like data/local/temp, and then that new directory you can write to and copy files to (I had tried playing around with the debugfs root stuff)
Like I said, probably worthless, just an observation.
17th August 2012, 06:06 PM |#4  
gunnyman's Avatar
OP Senior Member
Flag Greenville SC
Thanks Meter: 2,682
 
Donate to Me
More
Quote:
Originally Posted by GuyIncognito721

I'm no dev by any means, so I may sound stupid here.
But I was messing around with some stuff yesterday and noticed that, even though data/local is WP, you can still create a new directory within data/local, like data/local/temp, and then that new directory you can write to and copy files to (I had tried playing around with the debugfs root stuff)
Like I said, probably worthless, just an observation.

so if you changed the debugfs script to point to /data/local/temp did it get you temp root?
17th August 2012, 06:09 PM |#5  
GuyIncognito721's Avatar
Senior Member
Flag Oswego
Thanks Meter: 221
 
More
Quote:
Originally Posted by gunnyman

so if you changed the debugfs script to point to /data/local/temp did it get you temp root?

All the files were pushed successfully, but upon reboot (part of the script) I got an error with something along the lines of "failed to load filesystem".

After some reading in the GS3 forums, I think it might have something to do with /data and /system being on different partitions?
The Following User Says Thank You to GuyIncognito721 For This Useful Post: [ View ]
17th August 2012, 06:20 PM |#6  
gunnyman's Avatar
OP Senior Member
Flag Greenville SC
Thanks Meter: 2,682
 
Donate to Me
More
It's a start. Did the files you put in data/local/temp stay after the reboot?
17th August 2012, 06:23 PM |#7  
GuyIncognito721's Avatar
Senior Member
Flag Oswego
Thanks Meter: 221
 
More
Quote:
Originally Posted by gunnyman

so if you changed the debugfs script to point to /data/local/temp did it get you temp root?

Quote:
Originally Posted by gunnyman

It's a start. Did the files you put in data/local/temp stay after the reboot?

Yup
17th August 2012, 06:26 PM |#8  
gunnyman's Avatar
OP Senior Member
Flag Greenville SC
Thanks Meter: 2,682
 
Donate to Me
More
Ok then I think we have something to work with. Time for smarter folks than me to chime in
17th August 2012, 06:33 PM |#9  
superchilpil's Avatar
Senior Member
Flag Texas
Thanks Meter: 1,246
 
Donate to Me
More
Maybe I'm ignorant but wouldn't that created folder have different permissions than a folder that was existing?
So anything in that folder would not be able to execute anything

Sent from my HTC One X using Tapatalk 2
17th August 2012, 06:38 PM |#10  
GuyIncognito721's Avatar
Senior Member
Flag Oswego
Thanks Meter: 221
 
More
Let me go back on what I said.
You cannot create a new dir in data/local as you get permission denied. However, you can write/push to data/local/tmp, and those files persist after reboot.
The Following User Says Thank You to GuyIncognito721 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes