Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,193 Members 37,447 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
tgascoigne
Old
(Last edited by tgascoigne; 10th July 2012 at 04:46 PM.)
#1  
Retired Recognized Developer - OP
Thanks Meter 1,474
Posts: 452
Join Date: Apr 2012
Location: Coventry, UK

 
DONATE TO ME
Default [ROM][30 June] Jellybean for the One X [Nexus Port] [JB 4.1]

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.


Programmers are sophisticated machines designed to turn caffeine into code. If I've helped you, consider buying me a coffee
Have an issue? Include a logcat
Follow me on Google+
The Following 162 Users Say Thank You to tgascoigne For This Useful Post: [ Click to Expand ]
 
Atrixx
Old
#2  
Atrixx's Avatar
Senior Member
Thanks Meter 38
Posts: 144
Join Date: Jul 2009
Location: Melbourne
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?
Galaxy Nexus

HTC One X
MIUI | Faux Kernel | Infamous Hardware Fault

Motorola Atrix 4G
Built from Turl & Joker's CM9 | Faux kernel | Noop | Aggressive Memory | Kernel Tweaks | 4096kb SD card cache | UV | .37 Radio
 
ShyamSasi
Old
#3  
ShyamSasi's Avatar
Recognized Contributor
Thanks Meter 1,733
Posts: 2,746
Join Date: Dec 2010
Location: CLASSIFIED

 
DONATE TO ME
Holy S..t! That was fast .... Awesome work mate
The Following User Says Thank You to ShyamSasi For This Useful Post: [ Click to Expand ]
 
Alhaddad
Old
#4  
Senior Member
Thanks Meter 38
Posts: 206
Join Date: Feb 2007
Location: Manama

 
DONATE TO ME
can you take a screenshot on the multi-language keyboard please?

they said they have changed the way to switch between languages

thanks
 
mdeejay
Old
#5  
mdeejay's Avatar
Recognized Developer
Thanks Meter 11,642
Posts: 2,505
Join Date: Jul 2010
Location: Abakan

 
DONATE TO ME
i ported galaxy nexus dump



only bt, hw accel, sensors works for now.
need nexus7 system dump for fix others crap
Follow me -> http://twitter.com/#!/mdeejay_ru
HTC One / ZTE Grand S / Nexus 5
The Following 19 Users Say Thank You to mdeejay For This Useful Post: [ Click to Expand ]
 
Shu.
Old
#6  
Shu.'s Avatar
Senior Member
Thanks Meter 129
Posts: 800
Join Date: Jun 2010
Location: Seoul
Thumbs up thanks

wow that was fast! great work!
Phones: Touch 3G, HD2, HD7, Galaxy S, Sensation, Galaxy Nexus, One X, Nexus 4, Lumia 720, HTC One, iPhone 5s, HTC One M8
.
Tablets: Asus TF300T, Microsoft Surface, Asus Nexus 7 (LTE), iPad Air
.
 
Sebianoti
Old
#7  
Sebianoti's Avatar
Senior Member
Thanks Meter 206
Posts: 656
Join Date: Mar 2011
Location: Krakow

 
DONATE TO ME
Woah, fast work there buddy, btw there is a proper stable Jellybean for Galaxy Nexus released now, would that help?
Main Phone: HTC One M8 (Gunmetal Grey/16GB Internal + 16GB MicroSD Class 10/GSM+LTE)

____________________
Other Phones: HTC One (Silver/32GB/GSM+LTE/GPe) / HTC One X (White/32GB/GSM)
Past Phones: HTC Desire / HTC Desire HD / Galaxy S3 / Galaxy Note 3
Past Tablets: HP Touchpad 32GB / Google Nexus 7 (2012)
 
tgascoigne
Old
#8  
Retired Recognized Developer - OP
Thanks Meter 1,474
Posts: 452
Join Date: Apr 2012
Location: Coventry, UK

 
DONATE TO ME
Quote:
Originally Posted by Sebianoti View Post
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.


Programmers are sophisticated machines designed to turn caffeine into code. If I've helped you, consider buying me a coffee
Have an issue? Include a logcat
Follow me on Google+
 
Sebianoti
Old
#9  
Sebianoti's Avatar
Senior Member
Thanks Meter 206
Posts: 656
Join Date: Mar 2011
Location: Krakow

 
DONATE TO ME
Quote:
Originally Posted by tgascoigne View Post
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
Main Phone: HTC One M8 (Gunmetal Grey/16GB Internal + 16GB MicroSD Class 10/GSM+LTE)

____________________
Other Phones: HTC One (Silver/32GB/GSM+LTE/GPe) / HTC One X (White/32GB/GSM)
Past Phones: HTC Desire / HTC Desire HD / Galaxy S3 / Galaxy Note 3
Past Tablets: HP Touchpad 32GB / Google Nexus 7 (2012)
 
tgascoigne
Old
#10  
Retired Recognized Developer - OP
Thanks Meter 1,474
Posts: 452
Join Date: Apr 2012
Location: Coventry, UK

 
DONATE TO ME
Quote:
Originally Posted by Sebianoti View Post
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.


Programmers are sophisticated machines designed to turn caffeine into code. If I've helped you, consider buying me a coffee
Have an issue? Include a logcat
Follow me on Google+

The Following User Says Thank You to tgascoigne For This Useful Post: [ Click to Expand ]
Tags
android 4.1, jelly bean
THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes