5,814,797 Members 51,132 Now Online
XDA Developers Android and Mobile Development Forum

[ROM] Jelly Bean SDK JRN83C port for GSM Nexus S

Tip us?
 
steven676
Old
(Last edited by steven676; 20th July 2012 at 02:23 AM.)
#1  
Senior Member - OP
Thanks Meter 2,380
Posts: 582
Join Date: Nov 2011
Default [ROM] Jelly Bean SDK JRN83C port for GSM Nexus S

An official OTA for GSM Nexus S (GT-i9020T/i9023) is now available:
http://android.clients.google.com/pa...o/9ZGgDXDi.zip (thanks bl1nkk)
Because an official release is now available, this ROM is now EOL and will receive no further support.

By popular demand, here's a new thread for my port of the Jelly Bean SDK. This is a continuation of DaxMax's thread, so if you want to see previous discussion, look there. (Thanks to DaxMax for putting up with discussion of what is essentially a distant cousin of his original ROM for so long on his thread.)

http://files.mrks.me/update-crespo-J...2012063001.zip http://goo.gl/40Cxf (thanks to bl1nkk for the hosting)
Code:
MD5: 015e322b048b7e1464a90a87a5a6bcb1
SHA1: 3aca40900b40625505d4b6c0afce93c31e33770d
SHA256: 3b0b76444c307f4ffe685205cb92ad6060d957152dadef72444b3f2407510a34
Service Pack 4 for this ROM: https://docs.google.com/uc?export=do...HFrRUROcDhIeVk http://goo.gl/ZVlQS (many thanks to bl1nkk for hosting) (alternately, check thread for mirrors) (see this post for changelog)

Code:
MD5: ac85b1e309ba3a3f438efe0954c11c32
SHA1: d147f777f8594c5d33dfd480143758107ff1baab
SHA256: 951d39e75e8d4891e18a1da3896567f293074262d8aef3cd0021d4239492cf00
Flash the main ROM zip (update-crespo-JRN83C-preview-2012063001.zip) first, then the service pack.

These are zips which should be flashable from ClockworkMod or other recovery. They contain /system and a boot.img and will not touch your recovery, data, or SD card. I believe you need to do a full wipe if you're flashing over ICS or below.

This ROM is quite stable and almost fully working at this point. Highlights:
  • Based on the Jelly Bean SDK release (JRN83C), with Google apps and other components from the Nexus 7 factory image (JRN84D). Hardware-related files and kernel from the ICS IMM76D release for Nexus S. (The source for the GPL components (mainly the kernel) is available from http://android.googlesource.com/.) The wifi hack (libhardware_legacy.wifi.so) is posted farther down this thread (including source).
  • Remarkably smooth. Project Butter really lives up to its name. (I've made one tweak in the init.herring.rc to make the default ICS cpufreq governor more aggressive in upping the clock frequency, in order to simulate the change in governor in the Jelly Bean kernel.)
  • Wifi, Bluetooth, GPS, GSM all work. NFC should work.
  • Sound and calls work as of July 9 (SP1).
  • Video recording works as of July 10 (SP2).
  • Tethering, including wifi tethering, works as of July 11 (SP3).
  • Calls via a Bluetooth headset work as of July 11 (SP3).
  • Google Now/voice search, offline voice text input, voice dialing, and text-to-speech all work as of July 11 (SP4).

Broken:
  • Voice/video chat in Google Talk Patch available to fix video/voice chat, see this post. (thanks selectormoldy for the crash log leading to fix)
  • Media scanning (used by Gallery and Music to find files on the SD card, among other things) is broken for some, but not for others. This appears to be triggered by something stored on the SD card/external storage. (thanks spupuz)
  • High-performance WifiLocks (the wifi driver drops into low-power mode when the screen turns off, even though it shouldn't when a high-perf WifiLock is held).
  • Sound. Note that means no phone calls of any kind, not even emergency calls, so this isn't ready for serious day-to-day use. This is likely unreasonably difficult to solve given that we have an official OTA coming in 2-3 weeks; look upthread for an account of what's been tried.
  • Ambient light sensor. It worked in the Galaxy Nexus-based ROM, and I'm not sure why it doesn't work in this one; in any event I'm not planning on putting more time into figuring out why. The light sensor works, but automatic brightness setting does not -- presumably something in the Android framework needs to be changed.
  • Video recording (as reported by users in this thread).
  • The Google Now/Google Search app may crash (reported by users in this thread). (This should be fixed in SP3 -- if you're still having problems, please provide a logcat.)
  • Tethering via wifi.
  • Phone calls via Bluetooth.
  • Voice dialing.
  • Voice search in Google Now. (The app fails to recognize when you stop speaking, so the search is never performed.)
  • Text-to-speech functionality with Google TTS (Pico TTS works).

Notes:
  • If the first-run setup keeps crashing on you: from the language selection (first) screen, tap on the four corners of the screen, proceeding clockwise from top left. This will bypass the first-run setup; you can then set up a Google account manually in Settings. (thanks urko95) (If you are still experiencing this with SP4, please report in this thread. A logcat would be helpful.)

Note also that there won't be much in the way of support -- I do have other things that I really should be doing ...
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2012-06-30-15-32-04.jpg
Views:	9374
Size:	24.6 KB
ID:	1189801   Click image for larger version

Name:	Screenshot_2012-06-30-15-31-12.jpg
Views:	9163
Size:	18.5 KB
ID:	1189802   Click image for larger version

Name:	Screenshot_2012-06-30-15-31-22.jpg
Views:	9047
Size:	14.0 KB
ID:	1189804  
The Following 107 Users Say Thank You to steven676 For This Useful Post: [ Click to Expand ]
 
steven676
Old
(Last edited by steven676; 12th July 2012 at 05:20 PM.)
#2  
Senior Member - OP
Thanks Meter 2,380
Posts: 582
Join Date: Nov 2011
Default Service Pack 4

Service Pack 4 for the 2012/06/30 SDK JRN83C ROM. This can be flashed on top of the original JRN83C ROM with or without any of the previous service packs applied.

https://docs.google.com/uc?export=do...HFrRUROcDhIeVk http://goo.gl/ZVlQS (many thanks to bl1nkk for hosting) (alternately, check thread for mirrors)

Changes in SP4:
  • Added the files in /system/usr/srec/en-US from the Nexus 7 JRN84D factory image -- Google Now/voice search, voice dialing, and offline voice dictation input all work.
  • Added /system/lib/libpatts_engine_jni_api.so from the Nexus 7 JRN84D factory image -- Google TTS now works. (Pico TTS already worked in previous releases.)
  • Replaced /system/app/SetupWizard.apk with the version from the Galaxy Nexus JRN84D build -- first-run setup should now display properly. (For the curious, I got the apk from Koush's jb-takju.zip and verified that it matched the JRN84D OTA via the SHA1 sums in the OTA update package.)
  • Added /system/app/{LiveWallpapers,VisualizationWallpapers,HoloSpiral Wallpaper}.apk from Nexus S IMM76D to provide some live wallpapers.
  • Reverted a change in /system/framework/framework-res.apk to the default wallpaper; defaulting to the Nexus live wallpaper hurts performance.

Changes in SP3 (included in SP4):
  • libhardware_legacy.wifi.so updated to support wifi tethering. (See the linked post for source code.)
  • Permissions on /system/etc/bluetooth fixed to allow BlueZ to see its config files -- fixes phone calls over a Bluetooth headset, plus lots of other Bluetooth-related functionality.
  • hwcomposer.s5pc110.so replaced with a build from Jelly Bean-based source -- hopefully fixes hwcomposer bugs people have been experiencing. (See this post for more information.)
  • Removed /system/app/QuickSearchBox.apk to prevent conflicts with Google Now -- should fix Google Now access for most people. If you're still seeing problems, please provide a full logcat. (thanks afzalarsalan)

Changes in SP2 (included in SP3 and later):
  • New boot.img with /init.herring.rc edited to fix a thinko which was preventing CPU governor tweak from taking effect -- should result in more smoothness.
  • /system/build.prop edited to report as a "user" build instead of an "eng" build -- resolves red border flashing on screen. (thanks capez)
  • /system/etc/media_codecs.xml and /system/etc/media_profiles.xml copied from the Jelly Bean device/samsung/crespo tree -- video recording now works.
  • /system/lib/libjni_mosaic.so copied from Nexus 7 JRN84D image -- panoramic camera now works.
  • More changes from Nexus S ICS /system/framework/framework-res.apk integrated -- automatic brightness setting now enabled, tethering menu now enabled (wifi tethering is still broken).

Changes in SP1 (included in SP2 and up):
  • Jelly Bean audio HAL modules included -- sound now works.
  • /system/build.prop edited to report as a "user" build instead of an "eng" build -- resolves red border flashing on screen. (thanks capez) I screwed up integrating this fix, so it's not actually part of SP1. Will be in SP2.
  • /system/bin/make_ext4fs and /system/bin/setup_fs replaced with Nexus 7 JRN84D binaries -- fixes installing apps to SD card. (thanks smojica for reporting)
  • Removed LegacyCamera app to avoid having two camera apps.

Code:
MD5: ac85b1e309ba3a3f438efe0954c11c32
SHA1: d147f777f8594c5d33dfd480143758107ff1baab
SHA256: 951d39e75e8d4891e18a1da3896567f293074262d8aef3cd0021d4239492cf00
This is safe to flash on top of your ROM, whether or not you have any of the previous service packs installed.

I'll probably continue to distribute updates to this ROM via these service packs, mostly to save everyone bandwidth. (As with MS Windows service packs, they will be cumulative -- e.g. SP5, assuming there is one, will be flashable on top of the base ROM or any of SP1-4.)
The Following 34 Users Say Thank You to steven676 For This Useful Post: [ Click to Expand ]
 
steven676
Old
(Last edited by steven676; 16th July 2012 at 10:47 AM.)
#3  
Senior Member - OP
Thanks Meter 2,380
Posts: 582
Join Date: Nov 2011
Default FAQ

Frequently Asked Questions:

Did you see that the Jelly Bean source is out?

Yes -- and we're using it to provide audio, among other things. It was faster to use bits and pieces of the source to fix the SDK port than it was to sync and build the whole thing from source -- particularly since Google has not released proprietary blobs matching Jelly Bean for the Nexus S yet.

How do I get root?

The same way you do on a stock ROM -- flash Superuser. (thanks DaxMax)

The first-run setup keeps crashing!

From the language selection (first) screen, tap on the four corners of the screen, proceeding clockwise from top left. This will bypass the first-run setup; you can then set up a Google account manually in Settings. (thanks urko95)

Google Now crashes when I try to use GPS/navigation!

Install Google Maps from Market. (Several of the standard Google apps were not included in the base ROM to save download time.) (thanks legolas93)

My language is something other than US English, and offline speech recognition/voice input doesn't work!

Google's only implemented offline speech recognition for US English at the moment -- all other languages (including other English variants) still rely on Google servers to perform speech recognition.

I can't install the XDA app.
I can't install apps to SD card!

Flash Service Pack 1 or later.

I flashed http://www27.zippyshare.com/v/48676662/file.html, and I still can't install apps to SD card!

Flash Service Pack 1 or later. That zip only includes audio HAL modules and a fix for the red flashes on screen, not the rest of the SP1 bugfixes.

What are those red flashes on screen?
Video recording doesn't work!
Where's the tethering menu?

Flash Service Pack 2 or later.

The bar at the top of the home screen doesn't launch Google Now!
Wifi tethering doesn't work!
My Bluetooth headset/hands-free kit can't be used in phone calls!

Flash Service Pack 3 or later.

Google Now doesn't recognize when I stop talking!
Text-to-speech doesn't work!
Why is "Welcome" in the first-run setup screen so giant?

Flash Service Pack 4 or later.

I flashed 1337kernel, and now XYZ doesn't work!

See this post by Oodie for advice.

XXX/YYY/ZZZ doesn't work!!!!!!

Make sure you've done a full wipe (including data) and flashed the ROM correctly (base ROM, then the latest service pack). Try using the stock kernel included with this ROM; people have reported problems using custom kernels, particularly with sound. If the problem persists, pleave provide a detailed description of the problem and a logcat so that we can help you.

Why not do a full build from source?

This was quicker for me and works quite well. That said, anyone who wants to attempt a build from AOSP and/or CM10 source is welcome to do so, and I'll be happy to answer any questions that may come up in the process.
The Following 11 Users Say Thank You to steven676 For This Useful Post: [ Click to Expand ]
 
thomnow
Old
#4  
Junior Member
Thanks Meter 6
Posts: 29
Join Date: Aug 2010
From the first 30 minutes playing with it.. Google Search / Now takes into account what your saying but doesnt do anything with the data - But doesnt seem to crash with SP1 Also a little big laggy here and there. But pretty much perfect. EXCELLENT ROM Steven676. I have been so excited for this release Thankyou!!

EDIT: Also get a red flash around screen when unlocking phone (still not a huge thing) :]
The Following User Says Thank You to thomnow For This Useful Post: [ Click to Expand ]
 
memtew
Old
#5  
memtew's Avatar
Member
Thanks Meter 6
Posts: 78
Join Date: Oct 2010
Location: Chelny
Looks great, thank you!
Google Nexus 4 - CyanogenMod 10.1 Nightly
Galaxy Tab 8.9 GT-P7310 16gb Wi-Fi - ICS Stock
 
g1user101
Old
#6  
Senior Member
Thanks Meter 99
Posts: 1,641
Join Date: Apr 2010
Location: OC
So flash the rom, then flash the service pack in op and then service pack in second post?
Phones: Tmobile Lg G2 D801 CURRENT
Older: G1, Mytouch 3g, HTC Fuze, Iphone 3gs, Mytouch 4g, Infuse 4g,Sensation 4g,Amaze
Tmobile S2 Blacklisted, Htc Radar,, Tmobile G2x, Nexus S, g2, galaxy nexus
Mytouch 4g Slide, Note II
Rom: SlimKat
 
thomnow
Old
(Last edited by thomnow; 10th July 2012 at 08:44 PM.)
#7  
Junior Member
Thanks Meter 6
Posts: 29
Join Date: Aug 2010
Quote:
Originally Posted by g1user101 View Post
So flash the rom, then flash the service pack in op and then service pack in second post?
Both are the same, as I understand
 
thanr
Old
(Last edited by thanr; 10th July 2012 at 08:44 PM.)
#8  
Member
Thanks Meter 3
Posts: 38
Join Date: May 2011
Location: Bangkok
Flashed to SP1 half a day ago and it was rocking! Kudos for this!

I tried flashing GN's JB-SuperSU.zip, it seems to be incompatible (constantly crashing on the permission dialog). Anyone got ideas of how to get root?

Nexus 4 | 4.4.2 Barebones
iPhone 5 | 7.1.1

Past: Nexus S (died), Galaxy Nexus (died), Nexus 4 (lost)
 
leap_ahead
Old
(Last edited by leap_ahead; 10th July 2012 at 09:19 PM.)
#9  
leap_ahead's Avatar
Senior Member
Thanks Meter 519
Posts: 2,196
Join Date: Jul 2009
Location: Limassol
nice thread !! i want to try it but i use the Phone calls via Bluetooth on my car radio !! i cant make call when the bluetooth connect on my car radio ?
thanks
[Phone]Samsung Google Nexus S Gt-i9023 Crespo(Soju) VDF
[Rom]Fireb33@Stock JellyBean-4.1.2 JZO54K BMseeder
[Kernel]Bedalus@Marmite MTP 404Mb Ram zCache 3.0.31 v10.3
[Recovery]Koush@ClockWorkMod Touch v6.0.4.3
 
DaXmax
Old
#10  
DaXmax's Avatar
Recognized Themer
Thanks Meter 10,031
Posts: 10,693
Join Date: Sep 2008
Location: Singapore
Quote:
Originally Posted by thanr View Post
Flashed to SP1 half a day ago and it was rocking! Kudos for this!

I tried flashing GN's JB-SuperSU.zip, it seems to be incompatible (constantly crashing on the permission dialog). Anyone got ideas of how to get root?

Superuser - Download it and flash it.

The Following 8 Users Say Thank You to DaXmax For This Useful Post: [ Click to Expand ]
Tags
jelly bean, jrn83c, port, rom, sdk port
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes