Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,778,846 Members 39,620 Now Online
XDA Developers Android and Mobile Development Forum

Root 2.20 ThinkTank [Absolutely NO off-topic discussion]

Tip us?
 
gunnyman
Old
(Last edited by PeartFan40; 22nd October 2012 at 08:41 PM.)
#1  
gunnyman's Avatar
Senior Member - OP
Thanks Meter 2659
Posts: 7,882
Join Date: Apr 2010
Location: Greenville SC

 
DONATE TO ME
Default Root 2.20 ThinkTank [Absolutely NO off-topic discussion]

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.
Uncle Gunny says, "MAKE A NANDROID"
LG G2 Uncarriered
LG Gpad 8.3 GPE
Rooted and Xposed
Don't be a d*ck -Wil Wheaton
Unlocking and rooting your HTC One with a Mac
Oh BTW I'm fat.
The Following 3 Users Say Thank You to gunnyman For This Useful Post: [ Click to Expand ]
 
gunnyman
Old
#2  
gunnyman's Avatar
Senior Member - OP
Thanks Meter 2659
Posts: 7,882
Join Date: Apr 2010
Location: Greenville SC

 
DONATE TO ME
DOH asking MOD to move
Uncle Gunny says, "MAKE A NANDROID"
LG G2 Uncarriered
LG Gpad 8.3 GPE
Rooted and Xposed
Don't be a d*ck -Wil Wheaton
Unlocking and rooting your HTC One with a Mac
Oh BTW I'm fat.
 
GuyIncognito721
Old
#3  
GuyIncognito721's Avatar
Senior Member
Thanks Meter 220
Posts: 413
Join Date: Mar 2011
Location: Oswego
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.
 
gunnyman
Old
#4  
gunnyman's Avatar
Senior Member - OP
Thanks Meter 2659
Posts: 7,882
Join Date: Apr 2010
Location: Greenville SC

 
DONATE TO ME
Quote:
Originally Posted by GuyIncognito721 View Post
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?
Uncle Gunny says, "MAKE A NANDROID"
LG G2 Uncarriered
LG Gpad 8.3 GPE
Rooted and Xposed
Don't be a d*ck -Wil Wheaton
Unlocking and rooting your HTC One with a Mac
Oh BTW I'm fat.
 
GuyIncognito721
Old
#5  
GuyIncognito721's Avatar
Senior Member
Thanks Meter 220
Posts: 413
Join Date: Mar 2011
Location: Oswego
Quote:
Originally Posted by gunnyman View Post
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: [ Click to Expand ]
 
gunnyman
Old
#6  
gunnyman's Avatar
Senior Member - OP
Thanks Meter 2659
Posts: 7,882
Join Date: Apr 2010
Location: Greenville SC

 
DONATE TO ME
It's a start. Did the files you put in data/local/temp stay after the reboot?
Uncle Gunny says, "MAKE A NANDROID"
LG G2 Uncarriered
LG Gpad 8.3 GPE
Rooted and Xposed
Don't be a d*ck -Wil Wheaton
Unlocking and rooting your HTC One with a Mac
Oh BTW I'm fat.
 
GuyIncognito721
Old
#7  
GuyIncognito721's Avatar
Senior Member
Thanks Meter 220
Posts: 413
Join Date: Mar 2011
Location: Oswego
Quote:
Originally Posted by gunnyman View Post
so if you changed the debugfs script to point to /data/local/temp did it get you temp root?
Quote:
Originally Posted by gunnyman View Post
It's a start. Did the files you put in data/local/temp stay after the reboot?
Yup
 
gunnyman
Old
#8  
gunnyman's Avatar
Senior Member - OP
Thanks Meter 2659
Posts: 7,882
Join Date: Apr 2010
Location: Greenville SC

 
DONATE TO ME
Ok then I think we have something to work with. Time for smarter folks than me to chime in
Uncle Gunny says, "MAKE A NANDROID"
LG G2 Uncarriered
LG Gpad 8.3 GPE
Rooted and Xposed
Don't be a d*ck -Wil Wheaton
Unlocking and rooting your HTC One with a Mac
Oh BTW I'm fat.
 
superchilpil
Old
#9  
superchilpil's Avatar
Senior Member
Thanks Meter 1209
Posts: 3,765
Join Date: Sep 2009
Location: Texas

 
DONATE TO ME
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
=========================

AT&T HTC One

Help me fill up my thanks meter by hitting thanks
==================================================
 
GuyIncognito721
Old
#10  
GuyIncognito721's Avatar
Senior Member
Thanks Meter 220
Posts: 413
Join Date: Mar 2011
Location: Oswego
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: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes