[android-porting] Problem porting Android to iPhone

2010-04-16 Thread David Wang
So titled because my problem is very similar in symptoms to the thread Problem porting Android to OMAP. My port to the iPhone runs Debian and X.org with the multitouch screen, sound, WLAN and USB gadget ether net working fine. In order to maintain dual-boot capability, I put the Android images on

[android-porting] Downloading android source through git

2010-04-16 Thread suhas
Hi, I want to download the android source for x86. I tried git and it always gives curl: (6) Couldn't resolve host 'android.git.kernel.org' . So i am thinking of downloading it through windows through mysgit installer. Could you please tell me how to configure the installer and fully download

[android-porting] Re: Problem porting Android to iPhone

2010-04-16 Thread mizmit1222
Hi, I guess you got very close to make a thing happen. ashmem - OK binder - OK /data fs type - ext2 - OK Just double checking, but you do chroot to ext2 fs? One more question. It seems to me adbd is up. Is there any way to connect to your iPhone while booting up through USB or WiFi to get

[android-porting] Re: Problem porting Android to iPhone

2010-04-16 Thread David Wang
On Apr 16, 4:59 am, mizmit1222 mizmit1...@gmail.com wrote: Hi, I guess you got very close to make a thing happen.  ashmem - OK  binder - OK  /data fs type - ext2 - OK Just double checking, but you do chroot to ext2 fs? Yes, as you can see at the bottom of

[android-porting] Re: Problem porting Android to iPhone

2010-04-16 Thread David Wang
I've discovered a couple of more clues about the problem, but not enough to solve it yet. Apparently any process that attempts to reset its UID before executing execve gets killed. Since servicemanager wants to run as 1000 (for system), it gets killed. I've tried replacing the servicemanager

Re: [android-porting] Downloading android source through git

2010-04-16 Thread David Turner
android-x86.org has nothing to do with the official Android open-source tree. I recommend you ask on their forums instead, we won't be able to help you there. On Thu, Apr 15, 2010 at 11:21 PM, suhas suvisu...@gmail.com wrote: Hi, I want to download the android source for x86. I tried git and

[android-porting] Re: Problem porting Android to iPhone

2010-04-16 Thread David Wang
I found the problem. For some reason my CONFIG_DEFAULT_MMAP_MIN_ADDR was set to 65536 (a sane default for desktops), but pretty much every embedded program out there maps text below 64 KB. The security capabilities system of Linux was preventing everyone but root from mmaping addresses below