View Single Post
  #61 (permalink)  
Old 11-27-2009, 03:26 AM
zefie's Avatar
zefie
N00b
Offline
Location: Arkansas, USA
 
Join Date: Jul 2008
Posts: 36
Reputation: 70
zefie is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to zefie Send a message via MSN to zefie
Re: HOW TO ROOT A SAMSUNG MOMENT Thread (help me find out)

Quote:
Originally Posted by nipsy View Post
I think there are some issues with all of this here. First, steps 12 and 13 probably need to happen around step 8.5. And they can be consolidated into just:

Code:
/system/bin/btld_testmode
Also, steps 10 and 11 need to be swapped.
Sorry about that, I was tired when I wrote that post. I fixed that.

Quote:
Originally Posted by nipsy View Post
Two issues here. First, your remount commands can be simplified as:

Code:
/system/bin/mount -o remount,ro /dev/stl5 /system;;
and:

Code:
/system/bin/mount -o remount,rw /dev/stl5 /system;;
respectively. All the other mount options are kept by default so no need to specify them again.
Good point, I didn't even try that, I just put the full command because I know Root Explorer cannot remount, being as we have no recovery at the moment, I did not want to risk it mucking up /system. However I just tested this and it works fine.

Quote:
Originally Posted by nipsy View Post
Also, the trailing $ after esac is not necessary any may cause the script to not run at all. I'm not sure why that's there but your other script has the same problem below.

For this, there is the "$ cat /media/bin/remount" at the end which probably all needs to be taken out. I'm not sure what it's suppose to be doing, if anything.
This stems from the tiredness and pasting too much from my windows CMD prompt. Sorry

Quote:
Originally Posted by nipsy View Post
Also, you might want to throw a:

Code:
/system/bin/chmod 1777 /media
someplace in all of that before the "/system/bin/playlogo_real" at the end so that /media will be world writable by other users than root in day to day use of the phone. This is assuming that the ext3 partition is of significant size for normal use rather than just a few megabytes to pull off everything you're accomplishing just in this post.
This is another good idea.


Quote:
Originally Posted by nipsy View Post
And finally, this last one makes me really nervous. I think we should probably leave the normal commands in /system/bin mostly unmolested. It's not a huge deal to pull up Better Terminal Emulator and type /media/bin/su to become root instead of using /system/bin/su in the PATH. And it also means that if /media disappears for some reason in the future, this base system command is still there in some form or fashion, even if it's mostly useless.

Otherwise, I concur.
I did this mainly to test other root applications that don't let you specify a path.

Last edited by zefie; 11-27-2009 at 03:42 AM.
Reply With Quote