FORUMS

On Qualcomm’s Damage Control: Marketing and Rumors?

The Heated Snapdragon chronicles seemingly see no end, and 5 months into 2015 … more

Xiaomi Mi Note Pro With SD-810 Goes On Sale In China

The Xiaomi Mi Note Pro, announced on 15th Jan 2015, is Xiaomi’s attempt at … more

Project Fi Invites Are Rolling Out

Google is now sending out the first wave of invites to its new wireless service, Project Fi. … more

Vinsic 20,000mAh Ultra Slim Power Bank Giveaway

We have covered a lot of Android Accessories here on XDA TV. Mostly because we realize … more
Post Reply Subscribe to Thread Email Thread

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

14th July 2011, 05:37 PM |#1  
eugene373's Avatar
OP Retired Recognized Developer
Thanks Meter: 7,308
 
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, 08:50 PM |#2  
willy900wonka's Avatar
Senior Member
Flag Penguinville
Thanks Meter: 74
 
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 12:06 AM. Reason: Tried it.
15th July 2011, 01:46 AM |#3  
eugene373's Avatar
OP Retired Recognized Developer
Thanks Meter: 7,308
 
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, 01:59 AM |#4  
kaos420's Avatar
Recognized Contributor
dantes inferno
Thanks Meter: 1,844
 
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, 05:48 PM |#5  
Senior Member
Thanks Meter: 435
 
More
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, 08:59 PM |#6  
danaff37's Avatar
Senior Member
Flag Saint Petersburg, FL
Thanks Meter: 851
 
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