Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Thread Closed

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

OP tgascoigne

28th June 2012, 06:24 AM   |  #1  
OP Retired Recognized Developer
Flag Bristol, UK
Thanks Meter: 1,593
 
497 posts
Join Date:Joined: Apr 2012
More
This is old. See this topic

Banner thanks to Sebianoti
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.
Last edited by tgascoigne; 10th July 2012 at 05:46 PM.
The Following 162 Users Say Thank You to tgascoigne For This Useful Post: [ View ]
28th June 2012, 06:31 AM   |  #2  
Atrixx's Avatar
Senior Member
Flag Melbourne
Thanks Meter: 38
 
144 posts
Join Date:Joined: Jul 2009
Nice work so far! Can the 4.1 apps be ported back to 4.0.4?
This way we can use the new apps like the launcher and what not without using 4.1?
28th June 2012, 06:34 AM   |  #3  
ShyamSasi's Avatar
Recognized Contributor
CLASSIFIED
Thanks Meter: 1,752
 
2,753 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Holy S..t! That was fast .... Awesome work mate
The Following User Says Thank You to ShyamSasi For This Useful Post: [ View ]
28th June 2012, 06:35 AM   |  #4  
Senior Member
Flag Manama
Thanks Meter: 39
 
207 posts
Join Date:Joined: Feb 2007
Donate to Me
More
can you take a screenshot on the multi-language keyboard please?

they said they have changed the way to switch between languages

thanks
28th June 2012, 06:35 AM   |  #5  
mdeejay's Avatar
Recognized Developer
Flag Abakan
Thanks Meter: 11,640
 
2,505 posts
Join Date:Joined: Jul 2010
Donate to Me
More
i ported galaxy nexus dump



only bt, hw accel, sensors works for now.
need nexus7 system dump for fix others crap
The Following 19 Users Say Thank You to mdeejay For This Useful Post: [ View ]
28th June 2012, 06:45 AM   |  #6  
Rouz.'s Avatar
Senior Member
Flag XDA
Thanks Meter: 193
 
997 posts
Join Date:Joined: Jun 2010
Thumbs up thanks
wow that was fast! great work!
28th June 2012, 06:49 AM   |  #7  
Sebianoti's Avatar
Senior Member
Flag Krakow
Thanks Meter: 206
 
660 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Woah, fast work there buddy, btw there is a proper stable Jellybean for Galaxy Nexus released now, would that help?
28th June 2012, 06:51 AM   |  #8  
OP Retired Recognized Developer
Flag Bristol, UK
Thanks Meter: 1,593
 
497 posts
Join Date:Joined: Apr 2012
More
Quote:
Originally Posted by Sebianoti

Woah, fast work there buddy, btw there is a proper stable Jellybean for Galaxy Nexus released now, would that help?

It would, see mdeejay's post above, but like I said in the first post my interest basically stops here, I'm not really looking to maintain this rom.
28th June 2012, 06:53 AM   |  #9  
Sebianoti's Avatar
Senior Member
Flag Krakow
Thanks Meter: 206
 
660 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Quote:
Originally Posted by tgascoigne

It would, see mdeejay's post above, but like I said in the first post my interest basically stops here, I'm not really looking to maintain this rom.

Understandable, no point continuing tbh until source is out
28th June 2012, 06:54 AM   |  #10  
OP Retired Recognized Developer
Flag Bristol, UK
Thanks Meter: 1,593
 
497 posts
Join Date:Joined: Apr 2012
More
Quote:
Originally Posted by Sebianoti

Understandable, no point continuing tbh until source is out

Exactly, when the source is out we can have fully working builds rather than ugly cooked up things, and I'm willing to live with ICS until then.

The Following User Says Thank You to tgascoigne For This Useful Post: [ View ]
Thread Closed Subscribe to Thread

Tags
android 4.1, jelly bean
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes