even though u.s. dont get ours for some time... i just want to know will root/su
access be capable on the magic
even though u.s. dont get ours for some time... i just want to know will root/su
access be capable on the magic
Thank you!
I did some research on my own in the last few hours.
I tried to debug a bit, played with the SDK and saw that the adb tool has support to get a shell. So I plugged in my USB cable and started "adb shell" and voila: We have a shell.
The problem is, that the shell is executed as user "shell" as you can see here:
The funny thing is, if I create a new directory on the SD-Card, it has the user and group "system". The only reason for this could be that it is actually a FAT filesystem which doesn't support users and groups. So it is the default that is set by the kernel when the SD-Card is mounted.Code:|andy@geekbook-2:~ 00:13:28 |-> adb shell $ ps USER PID PPID VSIZE RSS WCHAN PC NAME root 1 0 280 164 c00ad64c 0000c74c S /init [... some other stuff I removed for a clear view ...] shell 2773 616 740 336 c004e318 afe0d08c S /system/bin/sh shell 2774 2773 884 344 00000000 afe0c1bc R ps
With the "shell" user I can read some stuff in /etc but not everything.
It seems to be pretty solid to me, for now.
Looks that we have to find some vulnerability in the kernel or a daemon.
There are also no daemons listening on the network interface which a portscan with nmap revealed.
Any ideas?
edit:
Here is the mount output for the sdcard:
It is mounted with the default gid and uid 1000. I think that these are the ids for the user and group "system".Code:/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1000,fmask=0711,dmask=0700,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8 0 0
It is also mounted as noexec. So we have no chance to execute code from it.![]()
Last edited by Andy1988; 05-05-2009 at 06:03 PM.
Hi community. You seem to be somewhat more helpful than Vodafone staff atm.
I'm loving my new phone. Its my first smart phone, so the lack of hard keyboard is not something I miss, although it would be nice to have a t9 style input option.
I also think that the os is hella cool, and although I haven't found a really top-notch audio player, the sound quality is significantly better than my old Sony, even with the same headphones.
My only gripe is no paid apps, and that vodafone might be trying to do an aol. But that aside i'm loving it (ahem...)
Hi all, got my vodafone HTC magic (UK) yesterday and been playing around. I like the tether ap but im not sure how to root. It can be done but are there differences in the UKMagic?
Im a bit of a linux noob but do know a little through yellowdog on the PS3.
Branwen wrote:
Better Keyboard offers t9 and a lot of other options. Even makes the keyboard skinnable. $3.00 U.S, skins are free. I haven't tried it myself as I don't use the VK much, but others who have really seem to like it....it would be nice to have a t9 style input option.
So far I like OR Player best. $3.00 U.S. A free beta version is still in the Market, but not for much longer....a really top-notch audio player...
Sorry these are paid apps, especially since paid apps are not available to you yet, but you can try OR Player now and keep Better Keyboard in mind for later.
gbk1 wrote:
I know I can't. Gotta have a hard keyboard and trackball on any phone I own. Looks like I'll be keeping the G1 for quite a while.I don't think I can do without a real keyboard.
Registered Linux user #266531
Bookmarks