FXP Team Delivers Lollipop to Various Xperia Devices!

From all of us here at XDA-Developers, we’d like to wish you Happy Holidays! If … more

Turn Your Camera Into a Live Puzzle Game

The classic sliding puzzle game hasnt changed much, if at all, over the years. Dating all the way … more

Samsung Begins Production of 8 Gb RAM Chips

With the release of Android 5.0, our favorite mobile operating system has become 64-bit ready. … more

CM, Micromax and OnePlus – Sales Ban Lifted

It’s less than a week since our recent in-depth analysis of the legal battle over the … more

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
Post Reply

(Guide) Editing Root Explorer to work with Perma-Temp Root!

OP eugene373

14th July 2011, 06:37 PM   |  #1  
eugene373's Avatar
OP Recognized Developer
Thanks Meter: 7,303
 
5,626 posts
Join Date:Joined: Aug 2009
Donate to Me
More
First off: This is a Paid app so I will not Post the App its self, This is just a Guide to make Root Explorer Work with our Perma-Temp Root so you never Lose Root Access via Root Explorer!

You need to know how to use smali & able to resign apk's, I wont be covering a how-to for those steps..


Step 1.).. De-compile Root Explorer using smali

Step 2.).. Open the File CommandShell.smali located at > \smali\com\speedsoftware\rootexplorer\CommandShell .smali

Step 3.).. Find the Strings
Code:
    const-string v8, "/system/xbin/su"

    const-string v7, "/system/bin/su"

    const-string v6, "/data/bin/su"
Step 4.).. We now change those string to match these
Code:
    const-string v8, "/sbin/su"

    const-string v7, "/vendor/bin/su"

    const-string v6, "/system/bin/su"
Step 5.).. baksmali it & resign the apk

Step 6.).. Unistall the current version of Root Explorer

Step 7.).. Now we can install via adb install or off the sdcard

That's it.. Hope that helps everyone with Root Explorer!
~Eugene
The Following 4 Users Say Thank You to eugene373 For This Useful Post: [ View ]
14th July 2011, 09:50 PM   |  #2  
willy900wonka's Avatar
Senior Member
Flag Penguinville
Thanks Meter: 74
 
636 posts
Join Date:Joined: Dec 2009
More
adb shell ln -s /vendor/bin/su /system/bin/su

Think it will work? I'll try it tonight and let you know.
Method:
Set system to rw.
Do the symlink : adb shell ln -s /vendor/bin/su /system/bin/su

Results:
Rootexplorer Works as root:
The real unknown is how long will this last.
Thanks for the symlinks.
Last edited by willy900wonka; 15th July 2011 at 01:06 AM. Reason: Tried it.
15th July 2011, 02:46 AM   |  #3  
eugene373's Avatar
OP Recognized Developer
Thanks Meter: 7,303
 
5,626 posts
Join Date:Joined: Aug 2009
Donate to Me
More
Quote:
Originally Posted by willy900wonka

adb shell ln -s /vendor/bin/su /system/bin/su

Think it will work? I'll try it tonight and let you know.
Method:
Set system to rw.
Do the symlink : adb shell ln -s /vendor/bin/su /system/bin/su

Results:
Rootexplorer Works as root:
The real unknown is how long will this last.
Thanks for the symlinks.

I think everyone has already tried that... I know I have, when the symlinks fail you are left with no Root for Root Explorer though.
~Eugene
15th July 2011, 02:59 AM   |  #4  
kaos420's Avatar
Recognized Contributor
dantes inferno
Thanks Meter: 1,697
 
3,176 posts
Join Date:Joined: Dec 2007
Donate to Me
More
weird but my i downloaded root explorer and it works so does es explorer. i can see my root items. weird.
15th July 2011, 06:48 PM   |  #5  
Senior Member
Thanks Meter: 417
 
1,508 posts
Join Date:Joined: Jun 2010
Quote:
Originally Posted by kaos420

weird but my i downloaded root explorer and it works so does es explorer. i can see my root items. weird.

But can you edit those items, or any items in your root folders?

Not sure what the issue is with Root Explorer, but ES File Explorer can edit system files just fine for me without having to jump through any hoops, I've been using Eugene's old Perma-Temp Root from last Saturday (thanks Eugene!).

I've edited the SD card read-ahead buffer value in /sys/devices/virtual/bdi/170:0/read_ahead_kb to 4096 and it's stayed there all week.
15th July 2011, 09:59 PM   |  #6  
danaff37's Avatar
Senior Member
Flag Saint Petersburg, FL
Thanks Meter: 791
 
2,724 posts
Join Date:Joined: Mar 2010
More
Been rooted nearly all week, and just tried it... Root explorer still works. Just added a comment on build.prop to test. Made the change and created the backup file, then erased the backup file

Sent from my PG86100 using XDA App
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes