PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Android > Android Samsung Devices > Legacy Samsung Android Devices > Samsung Moment
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #41 (permalink)  
Old 11-24-2009, 10:27 PM
mobstaj's Avatar
Lurker
Offline
Pocket PC: HTC Touch (Sprint)
Carrier: sprint
 
Join Date: Nov 2007
Posts: 15
Reputation: 20
mobstaj is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: HOW TO ROOT A SAMSUNG MOMENT Thread (help me find out)

Sorry. Like I said, I know nothing about rooting. Just wanted to make sure nothing was overlooked. Sounds like significant progress has been made and for that I am very grateful. Thanks for all your work.
Reply With Quote
  #42 (permalink)  
Old 11-24-2009, 10:30 PM
lazariaus's Avatar
Lurker
Offline
Pocket PC: Htc Touch "Vogue"-->Htc Hero-->Samsung Moment
Carrier: Sprint
Location: NC
 
Join Date: Aug 2008
Posts: 2
Reputation: 0
lazariaus is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: HOW TO ROOT A SAMSUNG MOMENT Thread (help me find out)

Hey this is an early Christmas present! I rooted my moment woo hoo. Thanks to midnight and all those who figured it out.
Reply With Quote
  #43 (permalink)  
Old 11-25-2009, 12:07 AM
njbianco's Avatar
Lurker
Offline
Pocket PC: HTC Evo & Blackberry Tour 9630
Carrier: sprint
 
Join Date: Nov 2009
Posts: 13
Reputation: 0
njbianco is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: HOW TO ROOT A SAMSUNG MOMENT Thread (help me find out)

Im new to adb and all that stuff i figured everything out insept for the command to push the file to my /system can someone please help me out thanks
Reply With Quote
  #44 (permalink)  
Old 11-25-2009, 12:20 AM
glitch77-2's Avatar
N00b
Offline
Pocket PC: HTC Touch
Carrier: Sprint
 
Join Date: Jan 2007
Posts: 31
Reputation: 0
glitch77-2 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: HOW TO ROOT A SAMSUNG MOMENT Thread (help me find out)

"adb push playlogo /system"

playlogo must be in your current working directory (most likely where adb.exe is.)


Sad to say the script doesn't seem to work. I can get root, but it wont stick. YMMV
Reply With Quote
  #45 (permalink)  
Old 11-25-2009, 02:13 AM
zefie's Avatar
N00b
Offline
Pocket PC: HTC Touch Pro 2 (RhodiumW)
Carrier: Sprint
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)

I must say, sadly in the current state, those who are expecting it to run their root apps will be disappointed.

Even when the wrapper works, the permissions get reset. Don't know what is doing it. We do know why though. Samsung uses FAT16 in a RFS wrapper for a filesystem. The FS does not support permissions.

I'm too chicken to reflash my phone and try to convert it to yffs2, I'm out of exchanges at Bestbuy and don't want to pay a $100 deductable to Asurion. Those who can still exchange it and want to try it, that might be the way to go.

Not sure yet.

So in summary, this is progress but we are NOT at the stage of running stuff like "Root Explorer", "drocap2", or "wifi tether"

Also, to help keep stuff consolidated, I'll be mostly replying on SamsungMomentForum, http://www.samsungmomentforum.com/ho...ly-achieved!)/

I will keep checking here, and post back here if any major milestones are achieved though, no worries!
Reply With Quote
  #46 (permalink)  
Old 11-25-2009, 04:36 AM
nipsy's Avatar
Lurker
Offline
Pocket PC: Samsung Moment
Carrier: Sprint
 
Join Date: Nov 2009
Posts: 4
Reputation: 10
nipsy is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Thumbs down Re: HOW TO ROOT A SAMSUNG MOMENT Thread (help me find out)

With this, you can format /sdcard as ext3 using an armel version of mke2fs and then simply copy su from /system/bin to /sdcard and chmod 4755 it. I've done this and can now su and become root via better terminal on the phone directly without using adb shell.
Reply With Quote
This post has been thanked 1 times.
  #47 (permalink)  
Old 11-25-2009, 05:55 AM
zefie's Avatar
N00b
Offline
Pocket PC: HTC Touch Pro 2 (RhodiumW)
Carrier: Sprint
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
With this, you can format /sdcard as ext3 using an armel version of mke2fs and then simply copy su from /system/bin to /sdcard and chmod 4755 it. I've done this and can now su and become root via better terminal on the phone directly without using adb shell.
Good find. I thought most apps looked in only /system/bin for su.
Reply With Quote
  #48 (permalink)  
Old 11-25-2009, 06:04 AM
nipsy's Avatar
Lurker
Offline
Pocket PC: Samsung Moment
Carrier: Sprint
 
Join Date: Nov 2009
Posts: 4
Reputation: 10
nipsy is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: HOW TO ROOT A SAMSUNG MOMENT Thread (help me find out)

Most probably do since /system/bin is in the PATH by default. At least this will get you root directly on the phone without having to use adb shell. Having said that, it's probably best to leave /sdcard vfat (since having full blown UNIX style permissions on /sdcard breaks some things) and creating two separate partitions on the SD card. Make the second one ext3, mount it wherever (/media or some such, doesn't really matter), and start loading it up with ARM/Android compiled binaries. It should be rather trivial to get the base Debian image running at that point like the G1 had not too late into its rooting.

Past all that though, the real thing to start messing with at this point would be iptables, IP forwarding, and the wireless card for tethering via WiFi. And it would be nice how to figure out replacing the base system of course with 1.6 or 2.0. But I'll leave that to more adventurous folks than myself. I'm just happy to have a fully busybox installed in /system/bin with a bunch of symlinks for the time being.

Last edited by nipsy; 11-25-2009 at 06:13 AM.
Reply With Quote
This post has been thanked 1 times.
  #49 (permalink)  
Old 11-25-2009, 06:32 AM
zefie's Avatar
N00b
Offline
Pocket PC: HTC Touch Pro 2 (RhodiumW)
Carrier: Sprint
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
Most probably do since /system/bin is in the PATH by default. At least this will get you root directly on the phone without having to use adb shell. Having said that, it's probably best to leave /sdcard vfat (since having full blown UNIX style permissions on /sdcard breaks some things) and creating two separate partitions on the SD card. Make the second one ext3, mount it wherever (/media or some such, doesn't really matter), and start loading it up with ARM/Android compiled binaries. It should be rather trivial to get the base Debian image running at that point like the G1 had not too late into its rooting.

Past all that though, the real thing to start messing with at this point would be iptables, IP forwarding, and the wireless card for tethering via WiFi. And it would be nice how to figure out replacing the base system of course with 1.6 or 2.0. But I'll leave that to more adventurous folks than myself. I'm just happy to have a fully busybox installed in /system/bin with a bunch of symlinks for the time being.
Then perhaps the wrapper script should auto-mount this sdcard partition, and update the environment variable for PATH I wonder if the OS would touch the env.

Parititoning is my drawback since im on windows, and i couldnt get armel debian binary of mke2fs to work. I'll have to boot a ubuntu livecd.

Edit: I made a ext3 partition and put /media/bin/su and chmod 4755, but when i reboot it removed my setuid!

ls -l /media/bin/su
-rwxr-xr-x root root 86944 2009-11-24 18:02 su

the moment is also complaining the sd card is invalid or blank.

Edit2: Went back to unbutu and used mkfs.msdos instead of mkfs.vfat, and chmodded my su back. all is working now. Now to figure out how to override the system environment varible

Edit3: Just use my wrapper to automount your ext3 partition to /media
Make a symlink ln -s /media/bin/su /system/bin/su


In the zip you will find 2 files.
remount goes in /media/bin, it makes remounting the /system partition easier (just call /media/bin/remount ro or /media/bin/remount rw)

playlogo is like before, move the original playlogo to playlogo_real under /system/bin and put my playlogo in its place

Note this REQUIRES an ext3 partition on your sd card and it needs to be the SECOND partition.
Attached Files
File Type: zip Samsung Moment.zip (486 Bytes, 34 views) Click for barcode!

Last edited by zefie; 11-25-2009 at 07:44 AM.
Reply With Quote
  #50 (permalink)  
Old 11-25-2009, 09:14 AM
petrafan007's Avatar
PPCGeeks Regular
Offline
Pocket PC: Samsung Moment
Carrier: Sprint
 
Join Date: Apr 2009
Posts: 80
Reputation: 50
petrafan007 is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: HOW TO ROOT A SAMSUNG MOMENT Thread (help me find out)

ok zefie....all this is amazing, but now the directions are scattered in several different posts. can you make a step by step post separately please? one that is easy to understand even for noobs? thank you!
Reply With Quote
Reply

  PPCGeeks > Android > Android Samsung Devices > Legacy Samsung Android Devices > Samsung Moment


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 12:31 AM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com