Jump to content


- - - - -

How to maintain root through any upgrade (Motorola Devices Only)


109 replies to this topic

#81 OFFLINE   firefighterguy

    Junior Droid

  • Members
  • PipPipPip
  • 56 posts
  • Device:Droid Bionic

Posted 25 October 2011 - 10:04 AM

PhilD said:

i'd like to hear back from firefighterguy too, especially about the absence of the BusyBox lines...

Sorry everyone for keeping you waiting. Been busy lately.

But to answer the question about .893 or busybox, no on both.. I did not do the .893 flash yet. I am still stock except for root and removing all the crap. And I did not apply the busybox lines. Just the one for Root Exploder (Explorer) from the OP.

Just thought I would mention that I restored a nandroid backup I did when I was straight stock before I deodexed. Then applied the premi-root.

I didn't do the 893 flash yet because I'm seeing how things go with it first. Because My laptop decided to go bouncing down the stairs. So I have no way of doing an FXZ right now and need to be extremely careful. Unless someone knows how to or has done a self contained FXZ that could be done from the phone itself from the fastboot menu etc?

Again, sorry to keep you guys waiting.
____________________
"Patriotism is supporting your Country at all times. And your government only when it deserves it" --Mark Twain

Remove Advertisements Sponsored Links

    MyDroidWorld.com



#82 OFFLINE   Gor22don33

    Junior Droid

  • Members
  • PipPip
  • 11 posts

Posted 25 October 2011 - 07:13 PM

this is totally amazing news! Adding now root explorer method. Thanks mdw for all the greatness you give us.

Posted Image
Posted Image
Posted Image

#83 OFFLINE   rqballjh

    Android Pro

  • Members
  • 485 posts
  • Device:Droid X - GB-rooted

Posted 26 October 2011 - 12:03 AM

I had to do the system restore 886--->893, and I've noticed the mount_ext3.sh has the 1st 2 lines of forever root but not the last line that includes the superuser.apk, was that intentional or shud I add that line back?

#84 OFFLINE   rqballjh

    Android Pro

  • Members
  • 485 posts
  • Device:Droid X - GB-rooted

Posted 26 October 2011 - 11:07 AM

Any ideas anyone?

After all my fun, bootllooping etc from being stoopid, restoring/flashing P3 files, I'm back on 893, full and rooted. I just looked at the mount_ext3.sh file and at the end is this:


mount -o rw,remount /dev/null /system
chmod 4755 /system/bin/su
chmod 4755 /system/xbin/su

The last line with the chmod---superuser.apk, isn't there, any idea why or if it HAS to be there?

Do I need to add it?

#85 OFFLINE   moosc

    Android Master

  • VIP
  • 1,658 posts
  • LocationCharlotte NC
  • Twitter:moosc
  • Device:DroidX on CM7, XOOM WITH HAMMERHEAD, DROID BIONIC ON STEROIDS 893..

Posted 26 October 2011 - 11:54 AM

Do u have superuser app in the app drawer? Does it work? If so just add the line again and reboot.

rqballjh said:

Any ideas anyone?

After all my fun, bootllooping etc from being stoopid, restoring/flashing P3 files, I'm back on 893, full and rooted. I just looked at the mount_ext3.sh file and at the end is this:


mount -o rw,remount /dev/null /system
chmod 4755 /system/bin/su
chmod 4755 /system/xbin/su

The last line with the chmod---superuser.apk, isn't there, any idea why or if it HAS to be there?

Do I need to add it?



Sent from my DROID BIONIC using Tapatalk

#86 OFFLINE   jtelander

    Droid

  • Members
  • 155 posts
  • Device:RAZR

Posted 26 October 2011 - 02:35 PM

rqballjh said:

Any ideas anyone?

After all my fun, bootllooping etc from being stoopid, restoring/flashing P3 files, I'm back on 893, full and rooted. I just looked at the mount_ext3.sh file and at the end is this:


mount -o rw,remount /dev/null /system
chmod 4755 /system/bin/su
chmod 4755 /system/xbin/su

The last line with the chmod---superuser.apk, isn't there, any idea why or if it HAS to be there?

Do I need to add it?

I've learned that it is best to do exactly what p3 says. Why wouldn't you want to add the lines that he recommends?

#87 OFFLINE   moosc

    Android Master

  • VIP
  • 1,658 posts
  • LocationCharlotte NC
  • Twitter:moosc
  • Device:DroidX on CM7, XOOM WITH HAMMERHEAD, DROID BIONIC ON STEROIDS 893..

Posted 26 October 2011 - 04:14 PM

So true.

jtelander said:

I've learned that it is best to do exactly what p3 says. Why wouldn't you want to add the lines that he recommends?



Sent from my DROID BIONIC using Tapatalk

#88 OFFLINE   Bigv

    MDW Noob

  • Members
  • Pip
  • 2 posts
  • Device:Bionic

Posted 26 October 2011 - 04:39 PM

OK I added the 3 lines from the op post but I used file expert which is free not root explorer. the you tube video showed that a bak file would be created mine didnt so I just made my own. I checked and the lines are in the file and the proper permissions. am I good at this point.

Edited by Bigv, 27 October 2011 - 03:36 PM.


#89 OFFLINE   WAldenIV

    Junior Droid

  • Members
  • PipPip
  • 11 posts
  • Device:Droid X

Posted 28 October 2011 - 12:41 PM

chmod 4755 /system/bin/su
chmod 4755 /system/xbin/su
chmod 755 /system/app/Superuser.apk


Should that last line be "chmod 4755..." like the rest?

#90 OFFLINE   p3droid

    Chief Of Staff

  • Administrators
  • 1,396 posts
  • Device:Motorola Droid

Posted 28 October 2011 - 02:49 PM

WAldenIV said:

chmod 4755 /system/bin/su
chmod 4755 /system/xbin/su
chmod 755 /system/app/Superuser.apk


Should that last line be "chmod 4755..." like the rest?

Nope it shouldn't.

Posted Image
> Register at MDW | MDW Rules and Guidelines <
Click the Posted Image in a member's post to thank them for their post!


#91 OFFLINE   Mamba94

    MDW Noob

  • Members
  • Pip
  • 2 posts
  • Device:Motorola Droid

Posted 28 October 2011 - 02:55 PM

p3droid said:

Nope it shouldn't.

Thanks for the clarification!

#92 OFFLINE   jtelander

    Droid

  • Members
  • 155 posts
  • Device:RAZR

Posted 28 October 2011 - 04:09 PM

p3droid said:

Nope it shouldn't.

I'm glad this was clarified because it made me check...and sure enough I had it wrong!

#93 OFFLINE   PhilD

    Junior Droid

  • Members
  • PipPip
  • 24 posts

Posted 28 October 2011 - 04:37 PM

jtelander said:

I'm glad this was clarified because it made me check...and sure enough I had it wrong!

i had it wrong too, no idea how though because i checked it like twelve times when i first edited that file...

EDIT: there are instructions in other forums that include the 4 on the last line, apparently it has to do with setting user id upon execution but i've never used that on unix, no idea if its presence will cause folks problems when the OTA shows up, i'm following P3's directions and leaving it out

Edited by PhilD, 28 October 2011 - 05:25 PM.


#94 OFFLINE   Bigv

    MDW Noob

  • Members
  • Pip
  • 2 posts
  • Device:Bionic

Posted 28 October 2011 - 05:28 PM

There's a post in this thread that shows a 4 as well check out post#64

Edited by Bigv, 28 October 2011 - 05:46 PM.


#95 OFFLINE   PhilD

    Junior Droid

  • Members
  • PipPip
  • 24 posts

Posted 28 October 2011 - 05:55 PM

Bigv said:

There's a post in this thread that shows a 4 as well check out post#64

yeah, looks like P3 edited his original post at some point

#96 OFFLINE   moosc

    Android Master

  • VIP
  • 1,658 posts
  • LocationCharlotte NC
  • Twitter:moosc
  • Device:DroidX on CM7, XOOM WITH HAMMERHEAD, DROID BIONIC ON STEROIDS 893..

Posted 28 October 2011 - 06:47 PM

The original post hasn't changed. Just do as p3 typed you'll b fine. To many folks try to change what original is posted that can lead to problems.

PhilD said:

yeah, looks like P3 edited his original post at some point



Sent from my DROID BIONIC using Tapatalk

#97 OFFLINE   -Ö¿Ö-

    Droid

  • Members
  • 258 posts
  • Device:Droid X

Posted 28 October 2011 - 07:11 PM

moosc said:

The original post hasn't changed. Just do as p3 typed you'll b fine. To many folks try to change what original is posted that can lead to problems.



Sent from my DROID BIONIC using Tapatalk


Not trying to argue the point...but he did drop the 4 from the last line at some point, because I followed the OP from day one and that's what was there. Now I am changing it to show what he currently is indicating.
-Ö¿Ö-

#98 OFFLINE   mikedede0421

    MDW Noob

  • Members
  • Pip
  • 3 posts
  • Device:Droid Bionic

Posted 29 October 2011 - 05:26 AM

im sorry to ask but is the command

chmod 755 /system/app/Superuser.apk or
chmod 4755 /system/app/Superuser.apk
sites are misleading sorry again

#99 OFFLINE   firefighterguy

    Junior Droid

  • Members
  • PipPipPip
  • 56 posts
  • Device:Droid Bionic

Posted 30 October 2011 - 12:44 AM

*Edit. (I fatfingered and sent it before I was done typing. Lol.)

The OP says 4755. But I used 4755 and it worked. (It goes back to when I manually rooted my DX1 using Terminal Emulator.

But I'd like to know uf I'm gonna bork my phone usung 4755 instead. I'm scared now. Lol

Apparently it changed from 4755 to 755 at some point? Because I copied and pasted from the OP.

So because I copied and pasted and from experience from my DX1, I just assumed that the value 4755 was correct...

Can you shed some light, P3, of why it was changed? And I assume changing it now won't harm anything, correct?

____________________
"King of the Self-Edit'"

"Patriotism is supporting your Country at all times. And your government only when it deserves it" --Mark Twain

Edited by firefighterguy, 30 October 2011 - 12:57 AM.

____________________
"Patriotism is supporting your Country at all times. And your government only when it deserves it" --Mark Twain

#100 OFFLINE   zarkuu

    MDW Noob

  • Members
  • Pip
  • 3 posts
  • Twitter:zarkuu
  • Device:Motorola Xoom, Motorola Bionic

Posted 30 October 2011 - 06:06 PM

As a linux sysadmin I can tell you it doesn't matter. The "4" sets the setuid bit which basically means any files generated by the exe will have the same permissions as the user running it. This is significant for an executable like su but not for the apk file. You can set the setuid bit if you want. It won't hurt but it also won't do anything.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users