Best Alarm App for Android?

There are tons of choices to choose from when looking for a great alarm app for Android. While the stock … more

Unofficial CM12.1 Available for Moto E 2014

While Motorola is yet to release a final 5.0.2 build for the Moto E 2014, XDA Senior … more

Pinsy Brings Social Sketching To Your Watch & Phone

Did you watch Apple’s VP draw on his wrist during the Apple Watch announcement … more

CyanogenMod 12.1 for Samsung Galaxy S5

Android 5.1 is slowly putting its mark in the custom ROM world. CyanogenMod 12.1 is available to … 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,307
 
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, 08: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 12:06 AM. Reason: Tried it.
15th July 2011, 01:46 AM   |  #3  
eugene373's Avatar
OP Retired Recognized Developer
Thanks Meter: 7,307
 
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, 01:59 AM   |  #4  
kaos420's Avatar
Recognized Contributor
dantes inferno
Thanks Meter: 1,784
 
3,337 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, 05:48 PM   |  #5  
Senior Member
Thanks Meter: 432
 
1,545 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, 08:59 PM   |  #6  
danaff37's Avatar
Senior Member
Flag Saint Petersburg, FL
Thanks Meter: 842
 
2,788 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