FORUMS

PSA: You Can Optimize Your Note 4’s Recents Menu & RAM

The Note 4 never had the fastest Recents Menu, and despite its 3GB of RAM, … more

XDA Picks: Best Apps of the Week (July 25 – Aug 1)

Apps are at the front and center of any smartphone experience, and with over a … more

Voices Of XDA: Orbiting The Earth With Android

Editor’s note: This week’s feature has been written by forum … more

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services … 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 ]
17th August 2012, 06:38 PM |#11  
gunnyman's Avatar
OP Senior Member
Flag Greenville SC
Thanks Meter: 2,682
 
Donate to Me
More
Quote:
Originally Posted by superchilpil

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

I dunno, that's what this thread is for
The Following User Says Thank You to gunnyman For This Useful Post: [ View ]

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes