5,599,977 Members 45,155 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
eugene373
Old
#1  
eugene373's Avatar
Recognized Developer - OP
Thanks Meter 7296
Posts: 5,626
Join Date: Aug 2009

 
DONATE TO ME
Default (Guide) Editing Root Explorer to work with Perma-Temp Root!

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
Image Hosting Provided by http://i.imgur.com
TMO SGS2 & Nexus S
Eugene373's github
T-Mobile US

Follow me on Twitter.
http://twitter.com/#!/Eugene373

Like my Work, Buy Me a RedBull by clicking on my Can


Just Remember, Only you can Stop XDA Forest Fires!
The Following 4 Users Say Thank You to eugene373 For This Useful Post: [ Click to Expand ]
 
willy900wonka
Old
(Last edited by willy900wonka; 15th July 2011 at 12:06 AM.) Reason: Tried it.
#2  
willy900wonka's Avatar
Senior Member
Thanks Meter 71
Posts: 629
Join Date: Dec 2009
Location: Penguinville
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.
 
eugene373
Old
#3  
eugene373's Avatar
Recognized Developer - OP
Thanks Meter 7296
Posts: 5,626
Join Date: Aug 2009

 
DONATE TO ME
Quote:
Originally Posted by willy900wonka View Post
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
Image Hosting Provided by http://i.imgur.com
TMO SGS2 & Nexus S
Eugene373's github
T-Mobile US

Follow me on Twitter.
http://twitter.com/#!/Eugene373

Like my Work, Buy Me a RedBull by clicking on my Can


Just Remember, Only you can Stop XDA Forest Fires!
 
kaos420
Old
#4  
kaos420's Avatar
Recognized Contributor
Thanks Meter 1483
Posts: 2,935
Join Date: Dec 2007
Location: dantes inferno

 
DONATE TO ME
weird but my i downloaded root explorer and it works so does es explorer. i can see my root items. weird.
Phone: Sprint Samsung Galaxy Note 3 Rom: Kit Kat 4.4.2 Prl: 16015 With 3G Roaming Kernel: BeastMode SD Card: Micro 64GB SDHC Class 10
Tablet: Asus TF300T 32GB Internal with Dock Rom: CROMi-X 5.3 Kernel: Hundsbuah SD Card: Micro 64GB SDHC CLass 10
Retired Devices Galaxy SIII / HTC Evo 4G Lte / HTC Evo 3D / HTC Evo 4G / HTC touch Pro 2 / HTC Touch Pro / HTC Diamond / HTC Vouge / HTC Hero / HTC Mogul / HTC apache
 
oldjackbob
Old
#5  
Senior Member
Thanks Meter 403
Posts: 1,475
Join Date: Jun 2010
Quote:
Originally Posted by kaos420 View Post
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.
 
danaff37
Old
#6  
danaff37's Avatar
Senior Member
Thanks Meter 753
Posts: 2,639
Join Date: Mar 2010
Location: Saint Petersburg, FL
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
Those who think linux is free, must not value their time.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Control TWRP from within Android with TWRP Coordinator

You may recall that back when TWRP2 introduced a couple of years ago, it brought with … more

Keep Track of Everything Your Device Does with Event Logger

Regardless of their OS choice, computing power users generally share one common … more

A More Competitive Spin on the Addictive 2048 Puzzle

You may recall that a few weeks ago, we talked about a rather interesting take on … more

Multiboot in Progress for the Sony Xperia Z1

As we’ve mentioned quite a few times in the past, multiboot is quite the interesting … more