New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
eugene373
Old
#1  
eugene373's Avatar
Recognized Developer - OP
Thanks Meter 7271
Posts: 5,623
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 69
Posts: 625
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 7271
Posts: 5,623
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
Senior Member
Thanks Meter 779
Posts: 1,755
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 Evo 4G LTE Rom: Viper4G 3.1.4 Radio: 1.12.11.1210 CPU O.C: 1809GHZ dual core SD Card: Micro 64GB SDHC Class 10
Tablet: Asus TF300T 32GB Internal with Dock Rom: CM10.1 CPU O.C: 1.6Ghz Tegra 3 SD Card: Micro 64GB SDHC CLass 10
 
oldjackbob
Old
#5  
Senior Member
Thanks Meter 378
Posts: 1,449
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 713
Posts: 2,515
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.

XDA PORTAL POSTS

MicrowaveTimePicker Brings 4.2 TimePicker to 2.1+ Devices

It’s frustrating to see slick new features that you can’t use when … more

What’s Possible with CASUAL & How to Make Your Own CASUAL – XDA Developer TV

XDA Elite Recognized Developer AdamOutler is known … more

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more