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
  #21 (permalink)  
Old 11-21-2009, 04:44 PM
maxdamage2122's Avatar
Lurker
Offline
Pocket PC: Samsung Moment
Carrier: Sprint
 
Join Date: Jul 2007
Posts: 11
Reputation: 0
maxdamage2122 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: HOW TO ROOT A SAMSUNG MOMENT Thread (help me find out)

Bump. Any new information on rooting or possible exploits?
Reply With Quote
  #22 (permalink)  
Old 11-22-2009, 03:07 PM
zoeman's Avatar
Lurker
Offline
Pocket PC: samsung moment
Carrier: sprint
 
Join Date: Nov 2009
Posts: 2
Reputation: 0
zoeman is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: HOW TO ROOT A SAMSUNG MOMENT Thread (help me find out)

ive been with android since the G1...im a real android fan...i see the most potential ive ever seen in an OS in the android...and i rooted my g1 and flashed a custom rom 2 it...i flahed a regular 1.6 rom to it with all da good stuff...tether, apps2sd and more...and the phone ran like it had a hemi engine in it or a 800 mhz processor in it...it wus super fast...but with out it being rooted it would freeze, force close, crash, just be really buggy...after i rooted it the phone never gave a single problem again...the OS is beautiful but the hardware is never up to par...when the moment came out i thought to my self "this is perfect" da specs were beautiful...so i gave my rooted G1 to my girlfriend and got the moment...and note women are not the most patient people so if i didnt root that G1 she might have broken it the same day...excited about the moment at 1st but soon noticing that 2 of the most important things on the phone was not woking and that was the location finding and gps...i thought my phone didnt work so i brought it back and got a new 1...still didnt work...i would love to root this phone...i want nothing more but i really want a firmware update to fix this issue because like 10 of my apps used my location but not n e more...hero jus got an update so why cant we...i dnt even think sprint is aware of these problems...root access would make this phone the sickest android may b even phone period out rite now...im not a techy or not too smart on these types of things im actually a newb...but i know a good phone when i see it...i cant wait till people to really focus on the moment and i think this might be the place...
Reply With Quote
  #23 (permalink)  
Old 11-22-2009, 11:15 PM
ydoucare's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Diamond
Carrier: Sprint
 
Join Date: Nov 2008
Posts: 90
Reputation: 30
ydoucare is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: HOW TO ROOT A SAMSUNG MOMENT Thread (help me find out)

I just got a Moment, and haven't had any trouble with GPS that other people have mentioned. The first thing I did though was make sure "Use Wireless Networks" was turned off under the location settings.
Reply With Quote
  #24 (permalink)  
Old 11-23-2009, 06:44 PM
zoeman's Avatar
Lurker
Offline
Pocket PC: samsung moment
Carrier: sprint
 
Join Date: Nov 2009
Posts: 2
Reputation: 0
zoeman is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: HOW TO ROOT A SAMSUNG MOMENT Thread (help me find out)

so u can get da exact location from ur moment using the gps on google maps???

Last edited by zoeman; 11-23-2009 at 06:49 PM.
Reply With Quote
  #25 (permalink)  
Old 11-23-2009, 08:38 PM
ydoucare's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Diamond
Carrier: Sprint
 
Join Date: Nov 2008
Posts: 90
Reputation: 30
ydoucare is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: HOW TO ROOT A SAMSUNG MOMENT Thread (help me find out)

Yes. Drove 50 miles to get home last night and tested the GPS with google maps the entire way. Worked perfect.
Reply With Quote
  #26 (permalink)  
Old 11-23-2009, 09:23 PM
dth4310's Avatar
N00b
Offline
Pocket PC: Samsung Moment
Carrier: Sprint
Threadstarter
Location: KS
 
Join Date: Feb 2007
Posts: 46
Reputation: 65
dth4310 is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via Yahoo to dth4310
Re: HOW TO ROOT A SAMSUNG MOMENT Thread (help me find out)

keep to topic folks plz still sitting patiently waiting for a brain to figure out how to root this puppy. daily googlings and still nothin yet.
Reply With Quote
  #27 (permalink)  
Old 11-24-2009, 02:11 PM
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 maxdamage2122 View Post
We already know about the diagnostics menu. What we are trying to find/get is fastboot
Well, we can write to /system (but not /system/bin or any other subdir) if you adb shell in Self Test mode.

There is a oneshot script in the init.rc to flash /system/recovery.img to the recovery partition. We can write /system/recovery.img but it didnt flash. I'm guessing we'd have to factory reset, which I'd rather not do.

I doubt that image wille ven work since its a different processor. I wouldn't try it, instead, we should try to find a way to make our su file on /system while we have write access.

Again, load up Self Test/Diag mode, and connect to adb shell and /system is chmod'd 0777.

Make sure 12. USB is set to "PDA". Setting it to "Phone" will disable ADP, but will allow QPST.

We can setuid on /system, but the problem I'm facing is the fact that everything I create is owned by "shell"

Last edited by zefie; 11-24-2009 at 02:14 PM.
Reply With Quote
This post has been thanked 1 times.
  #28 (permalink)  
Old 11-24-2009, 02:42 PM
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)

Ok we have ROOT!

As above, load into Test Mode and use ADB Shell
then run the following
cd /system/bin
cat btld_testmode > ../btld_testmode (this backs up the file)
cat sh >> btld_testmode (we append it first, don't know why, but we cant just overwrite it at first)
cat sh > btld_testmode (overwrite it)

Now, it lost is setuid. but that is fine, the factorytest.rc will restore it. so reboot the phone, reloading test mode.

cd /system/bin
./btld_testmode
Now you are in a root shell, you know what to do
cat sh > su
chmod 4755 su
exit
./su

Now we will put btld_testmode back.

cat ../btld_testmode > btld_testmode
chmod 6777 btld_testmode

Currently the su looses it's setuid on reboot, so it is not permanent.
Still working on that.

Edit: it seems all permissions get reset, then are set up by the init script.
Sadly, we can't overwrite the init script because changes in / do not persist.
All we can use this root access for is flashing, unless we find another way to persist our setuid...
But hey, at least we have a root shell! It is a start

EDIT: here is a cheap hack that will restore root when the splash logo is played:

Done! I made a wrapper around the playlogo script, which plays teh carrier logo:


first, while root still in testmode:
cd /system/bin
mv playlogo playlogo_real

Then create this file locally, and name it playlogo:

Code:
#!/system/bin/sh
/system/bin/mount -o remount,rw,codepage=utf8,vfat,fcache\(blks\)=128,xattr,check=no /dev/stl5 /system
/system/bin/chmod 4755 /system/bin/su
/system/bin/chmod 0755 /system/bin/playlogo_real
/system/bin/mount -o remount,ro,codepage=utf8,vfat,fcache\(blks\)=128,xattr,check=no /dev/stl5 /system
/system/bin/playlogo_real
push it to /system
back in the shell:
chmod 755 /system/playlogo
mv /system/playlogo /system/bin/playlogo

reboot

now it will restore your su root access when the boot logo plays.
cheap hack for now

More here, including a trick to guarantee test mode will activate:
http://midnightchannel.net/blog/255-...ng-moment.html

Last edited by zefie; 11-24-2009 at 04:04 PM.
Reply With Quote
This post has been thanked 7 times.
  #29 (permalink)  
Old 11-24-2009, 04:12 PM
clockcycle's Avatar
VIP Member
Offline
Pocket PC: LG v10
Carrier: T-mobile
Location: SO_FLA
 
Join Date: Dec 2007
Posts: 1,804
Reputation: 1067
clockcycle is halfway to VIP status based on repclockcycle is halfway to VIP status based on repclockcycle is halfway to VIP status based on repclockcycle is halfway to VIP status based on repclockcycle is halfway to VIP status based on repclockcycle is halfway to VIP status based on repclockcycle is halfway to VIP status based on repclockcycle is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: HOW TO ROOT A SAMSUNG MOMENT Thread (help me find out)

@ zefie Still have to absorb and figure what you have done here, but thanks has been clocked.. Looks like nice work.
__________________
LG V10 LG-H901BK / LG G4 LG-H811LB (Stock) LG-F500L (QHSUSB__BULK Bricked) / Motorola Nexus 6 (rooted) / Sony Xperia Z3 (rooted)

Last edited by clockcycle; 11-24-2009 at 04:15 PM.
Reply With Quote
  #30 (permalink)  
Old 11-24-2009, 04:15 PM
maxdamage2122's Avatar
Lurker
Offline
Pocket PC: Samsung Moment
Carrier: Sprint
 
Join Date: Jul 2007
Posts: 11
Reputation: 0
maxdamage2122 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: HOW TO ROOT A SAMSUNG MOMENT Thread (help me find out)

trying it now. let you know how it goes.

update:
I performed the 1st steps
cd /system/bin
cat btld_testmode > ../btld_testmode (this backs up the file)
cat sh >> btld_testmode (we append it first, don't know why, but we cant just overwrite it at first)
cat sh > btld_testmode (overwrite it)

hit save and reboot at the bottom of the menu
now my phone wont be turn on (not even into diag mode)

UPDATE 2: For some reason I had to pull the battery before it would reboot.

Last edited by maxdamage2122; 11-24-2009 at 04:24 PM.
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 05:06 PM.


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