[ROM][30 June] Jellybean for the One X [Nexus Port] [JB 4.1]


I've just noticed that this has made the XDA portal. It's been up on quite a few websites today that I've noticed, and I just wanted to say a big thank you to all the writers who have helped spread the word. If you are one of them, you're awesome!

This is a port of Jellybean, based off of the roms for the two nexus devices that were released yesterday. I'm working to add in all of the key features at the moment, and it's going pretty well, so you can probably expect to see some kind of Alpha release fairly soon.

It's based off the porting work done for CM9 for our phone in the topic here, with some help from randomblame in the #cyanogenmod-dev channel. (Thanks!)

Working
Core system with little to no crashes
Not working
Wifi
Radio
Audio
Camera

Ironically, the issue we've been trying to resolve with CM9 for this phone, the rotation bug, appears to be fixed here. Not sure whether to laugh or cry :P

Images
http://i.imgur.com/CgWMF.png
http://i.imgur.com/DLd2U.png
http://i.imgur.com/eQRbc.png
http://i.imgur.com/htOEO.png
http://i.imgur.com/ewQrl.png
http://i.imgur.com/y4R30.png

Video (Thanks to Vere850211)
http://www.youtube.com/watch?v=whavUiVkYq8

DOWNLOAD

Remember to flash the boot.img in the zip.

Progress log
Now based off of the Nexus 7 tegra rom. Things are running a lot smoother and with little to no crashes
Wifi firmware loaded, just need to get it talking with netd and we'll have wifi
I have been able to manually configure wpa_supplicant and it successfully scans for networks. The problem now is that the rest of Android seems to be having trouble communicating with wpa_supplicant.

To those PMing me asking about porting info: Don't expect there to be a simple cut and paste way to port. If you have no experience with porting or don't at least have an understanding of how android is structured, then I would advise you to read up before attempting this. I can provide targeted help if you have a specific issue, but I won't port it for you, and please don't be offended if I suggest you go do some reading.
If you still think you can do this, then here's a checklist of the major things you should look at to get it booting:
boot.img - Grab mine or any other jellybean boot.img, and pull the entire init.rc and init.traces.rc, and package it up with a cm9 boot.img
/system/lib/modules + /system/lib/hw - Modules must be brought across from a cm9 rom, and unless your device runs the same chipset as the base you're using (tegra for the n7, omap for the gn), you'll probably need to put all of the hw libs into there too
/system/etc/firmware + /system/vendor - You'll most probably need to pull both of these dirs into the rom
/system/lib/egl - You'll want all of the egl libs and egl.conf
Various /system/etc files - There's usually some configs, firmware, and other stuff in here
/system/lib - There's tons of files in here, a lot of which you'll need to bring over, and a lot of which you'll need to leave alone. Best advice I can give you is to find an open source cm9 tree for your device and check the proprietary-files.txt file
That's it. By now you should at least have it showing the boot animation. Now it's up to you and your debugging tools. strace is invaluable if you have a specific binary that doesn't want to load, it'll show you all of the system calls it makes and the errno if one gets set. Read through the logcat carefully and it'll probably tell you if you're missing any libraries or other files. Good luck.

http://forum.xda-developers.com/showthread.php?t=1737736