Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
cryptographrix
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: May 2010
Default 2.1 RUU root vectors

So the way I see it, there are a couple vectors from which we can attempt to root the official 2.1 RUU:

1. SUID privilege escalation - this is /possible/ through many of the suid binaries in /system/bin (anyone know what skyagent is, and how to use it?)

2. TCP/IP ports 9734, 16650, 2479, 9000 - I don't know what these are for. If someone does, please let me know.

3. mkfs.ext2 the sdcard (except that noexec is set when card is mounted)

4. Some other way involving fastboot erase/restore???

If anyone else thinks of anything, I'm all ears - until then, I'll be playing with it

 
cryptographrix
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: May 2010
Default What I've been playing with so far

pppd, wifitools, reboot and ip are setuid root.

skyagent is setuid/setgid root (REALLY, if anyone knows ANYTHING about this, now is the time to speak up).

pppd can execute scripts through pppd connect...

so, I've done this so far...

to make /sqlite_stmt_journals/callit.sh:
Code:
echo "exec /system/bin/pppd -detach modem crtscts \\" > /sqlite_stmt_journals/callit.sh
echo "/dev/tty 460800 noipdefault defaultroute \\" >> /sqlite_stmt_journals/callit.sh
echo "noauth name fakeUsername connect \'/sqlite_stmt_journals/dialer\'" >> /sqlite_stmt_journals/callit.sh
to make /sqlite_stmt_journals/dialer:
Code:
echo "exec /sqlite_stmt_journals/su - /system/bin/sh" > /sqlite_stmt_journals/dialer
and then I drop su into /sqlite_stmt_journals.

After that, I chmod everything 0755 and chmod su 4755.

tried to have dialer chown root su, but that doesn't seem to work.

Any suggestions?
 
thatguythatdid
Old
#3  
thatguythatdid's Avatar
Senior Member
Thanks Meter 4
Posts: 839
Join Date: Mar 2010
Location: With your mom :) milf
I don't know what your talking about but I know there is an official section in development for rooting the hero
Rooted sprint hero
rom: stock 2.1 with live wallpapers and a crazy japanese weather widget
baseband:2.42.01.04.27
pri:flipz_01
prl:60665

links you should read
Adb for beginners
Get your msl
Remap your keys
How add a2sd to your custom rom
Whole lotta learnin
avabox
How to make mymode themes
 
cryptographrix
Old
#4  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: May 2010
ah thank you!
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
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

Go to top of page...