[Samsung Epic 4G Touch] thefredelement:
Change of plans, hopefully with the help of anyone who is willing I'd like to compile an aosp build for the Sprint GS2 from source instead of trying to hack a port together, as suggested in this thread and other places, it just feels like it will be a lot more of a fruitful experience for all involved and have a better end result.

(a big thank you to everyone who so far have been super encouraging and friendly with noob questions, it's much appreciated!, I hope that if you wanted to help with the port you'll help with this build as well!)

This is a WIP. Starting out with Samsung's open source platform and kernel instructions on how to build from aosp and I'll take it from there.

I've setup some repos to get this all started in one place:

Samsung SPH-D710 platform source - https://github.com/thefredelement/sph-d710_platform_source

Samsung SPH-D710 kernel source - https://github.com/thefredelement/sph-d710_kernel_source

Team Hacksburg kernel source - https://github.com/thefredelement/android_kernel_samsung_c1spr

Stock kernel initramfs (thanks buddy323!) - https://github.com/thefredelement/stock-initramfs-eg30-epic-4g-touch

https://github.com/thefredelement/Samsung-Galaxy-S2-Sprint-Epic-4G-Touch-AOSP-Build - will be where the build will live after I push over Samsung's platform make and upload it!

--- old stuff that will make your head spin ---

If anyone wants to continue working on this, feel free.

This is my attempt to get get a pure aosp build of android 2.3.5 for the Sprint Galaxy S2. I've never done anything like this before and it's mostly hacked together pieces of two different ROMs. I guess you can call this a "learning" experience.

THIS ROM JUST BOOTS AND NOTHING ELSE REALLY WORKS, THIS IS A WORK IN PROGRESS AND I POSTED IT HERE TO SEE IF ANYONE CAN HELP, THIS IS NOT A DAILY DRIVER, NOT EVEN CLOSE.

THIS HAS ONLY BEEN RUN ON MY PHONE, EVERYTHING IS FINE ON MY PHONE AND I CAN RESTORE A NANDROID BACK TO STOCK AND EVERYTHING STILL WORKS FINE BUT I MAKE NO GUARANTEES FOR YOUR PHONE. IF YOU DO NOT KNOW WHAT YOU'RE DOING I WOULD STOP READING NOW

This rom is based on AdamG's devnull-test aosp rom for the Euro Galaxy S2. (post: http://xdaforums.com/showthread.php?t=1183063)

Credit must be given to AdamG for his rom in the first place, bubby323 for his help on IRC and kpkimmel at ACS for the Gerbal V1 beta ROM (post: http://www.forums.acsyndicate.net/showthread.php/2734-ROM-Gerbal-v1-beta-ROM) which I used for guidance for the build.prop and updater script.

I am not trying to steal anyone's work or take credit for anything, I really just want a pure AOSP rom for the Sprint GS2 and would love anyone's help as far as guidance, code, a guide I haven't found, anything would be great, thanks.

Known bugs:

- No radios

- No Wifi

- When wifi is on (or trying to turn on) the screen turns on/off as if a process is restarting

- Orientation sensor is out of whack (disable auto rotate so it doesn't drive you crazy)

- Home button & search button do not work

- Something FCs real fast on first boot but android setup starts

- Distortion on the touch screen occasionally

Known positives:

- No real FCs

- I added the Nexus S boot animation

- Calculator, gallery, etc. all work fine

What I've done so far:

Based on buddy323's advice in IRC, I've brought over vendor, firmware, wifi, vold, egl and hw from the Gerbal v1 rom to the devnull rom.

I used the wipe partition section of the Gerbal update script and then the symlinks/permissions from the devnull script (I removed the kernel installation as this rom doesn't come with a kernel). My approach has been to go through as much as I can on devnull and change out anything that's platform specific to the sph-d710.

I'm sure there's a bunch of noob happening in this rom and I'd appreciate it if you can call me out on it and tell me where to look to make it right. :)

Installation:

Install via clockworkmod, this will wipe /system /data so I'd erase your user data before flashing.

I've been booting this with the stock kernel.

Link: you don't want this...