[ROM 4.2] Android 4.2 for the Nexus S 2012-11-28 Bluetooth & Bat Drain fix

Search This thread

IAmTheDarkOne

Senior Member
Oct 22, 2012
114
140
Vancouver
iamthedarkone.com
This is a Repost from the general thread. I posted it there originally to get a little help from the community with my first attempt at making a nexus s firmware but it seems it would be more appropriate to move the thread here.

Original Thread:http://forum.xda-developers.com/showthread.php?t=1991616

I've managed to take the GIT of android 4.2 and get it to compile with the crespo device tree from the 4.1.2 GIT repo with some minor modifications.

I currently have a GT9020A (fido canada network) and I'm currently running android 4.2 on it with my custom kernel.


Overall Changleog:
http://iamthedarkone.com/?page_id=182

New Source tree added. Not my latest on the crespo source but it includes the crespo4g and also I linked my kernel image in the device tree

Android GIT Changes: http://www.mediafire.com/?b9xbluvo1v5h6d2

For those who don't check the website source is here: http://iamthedarkone.com/?page_id=179


Using the new apps package here makes a massive difference in how smooth the play store runs etc

1owvv9.png


ROMS SECTION

-Bluetooth is functioning
-Battery Drain issues Resolved
11-28-2012 Main Nexus S (custom kernel): http://www.mediafire.com/?40qzyg6c17iev7r <---latest ROM

No current Stock Samsung kernel is available for this rom because I haven't had a chance to test bluetooth etc with the latest release

-I found an issue in my GPU code in the custom kernel. This patch increased performance significantly
11-25-2012 ***With GPU Fix*** MAIN Nexus S (custom kernel): http://www.mediafire.com/?td545c2183d32mv <--- second latest ROM

11-25-2012 MAIN Nexus S (stock kernel):http://www.mediafire.com/?85ns3yn58jadqdl <----latest ROM with a stock kernel

use the 20121127 package from CM 10.1 (this is your gapps package)
http://goo.im/gapps

Root : http://download.chainfire.eu/282/SuperSU/CWM-SuperSU-v0.98.zip


Good news guys the site it back up!:http://iamthedarkone.com/
 
Last edited:

jojoost

Senior Member
Jan 8, 2012
1,084
232
This is a Repost from the general thread. I posted it there originally to get a little help from the community with my first attempt at making a nexus s firmware but it seems it would be more appropriate to move the thread here.

Original Thread:http://forum.xda-developers.com/showthread.php?t=1991616

I've managed to take the GIT of android 4.2 and get it to compile with the crespo source from the cyanogenmod jellybean GIT repo with some minor modifications.

I currently have a GT9020A (fido canada network) and I'm currently running android 4.2 on it with my custom kernel.

Kernel Changes

-Overclocking enabled to 1.3 ghz as that's the highest I could get my phone to go stable
-added VR i/o scheduler as default
-added smartassv2 as default governor
-removed fsync for performance (francisco kernel)

I upgraded this os from a stock android 4.1.2 firmware all I needed to do is wipe cache no factor reset
GAPPS is now included

Firmware GAPPS:http://www.freefilehosting.net/fullcrespo-ota-eng-with-gappsdark

Firmware (No GAPPS): www.freefilehosting.net/fullcrespo-ota-engdark

Android GIT Changes: www.freefilehostingdotnet/devicesourcetar

Update

I've gotten gapps working porting them from the factory GN firmware. The phone seems fully functional now.

Sorry guys didn't relise I didn't disable recovery from the source


wikidotcyanogenmoddotorg/wiki/Latest_Version/Google_Apps

15e7bs5.png
Waaaaaaaahhhhhh!!!! Cant wait





My build is also nearing the end, you beat me to it, congratz. :)
Is everything working? I saw BT might give some trouble and I'm assuming fixing that stupid camera error (O_CREAt LOL, FU Samsung) is enough to get it working.



Sent from my Nexus S using Tapatalk 2
 
  • Like
Reactions: keb00

samcortez

Senior Member
Dec 11, 2011
248
30
Curitiba
Could someone here gives me a new server? I can't download anything from that site. Please, upload a rom with that "bug" fixed. :)

Raducux. I think that should be easy to active, maybe something at build.prop? Google maybe wants this, remember that Google have put magnets sensor at the Nexus 7 for the hability to turn on screen with the open cover? And they never released some official acessorie like this to Nexus 7 because Apple has pattented this. Google doesn't allow multiple user at smartphone because Nokia has a patent for that, only on smartphones, not tablet.

----
God! Guys, you are very fast! I can't see your moves...
 
Last edited:
  • Like
Reactions: raducux

madd0g

Senior Member
May 8, 2010
2,845
869
Alright, tried this latest build now. Seems that the clock is cut off on the lockscreen, no idea how Google coded this. Photosphere is also missing, guess it could be done with some extra efforts. Google TTS engine keeps fcing.

Screenshot_2012-11-15-00-13-50.png
 
Last edited:

nikolas60

Senior Member
Apr 17, 2011
499
82
how to root android 4.2 i root it from jelly bean root tytorial but root checeker says google baned super user for apps and in es explorer says im unrooted
 

apatal

Senior Member
Feb 27, 2012
3,576
2,066
Manila
Found an Issue in google voice search. the app fails to start. If you go into apps an uninstall it then reinstall it from the play store it resolves the issue.
I think even the official 4.2 update for the supported devices had the Google Voice bug but as major tech sites has reported, the Play Store update fixed the issue. :)

Posted using xda mobile app
 

Articudos

Senior Member
Dec 20, 2011
1,494
2,113
4.1.x custom kernel works great with 4.2? Voodoo colour and High bigmem is essential to me.

Sent from my Nexus S using Tapatalk 2
 

IAmTheDarkOne

Senior Member
Oct 22, 2012
114
140
Vancouver
iamthedarkone.com
Location services don't work. Google now and maps can't get a lock.

From a Nexus S bathing in Jelly Beans

That's probably the classic gps flaw that's been around since ICS. you can get around that by downloading a program like faster fix to correct it


Or you can do it manually:


1. Create a gps.conf file containing these:

NTP_SERVER=ca.pool.ntp.org <----- change this to the closest server to you
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
SUPL_HOST=supl.google.com
SUPL_PORT=7276

2. Copy gps.conf in to your sdcard

3. With adb shell, run these commands:
su
remount rw
cat /sdcard/gps.conf > /system/etc/gps.conf
reboot
 

Logomotph

Senior Member
Dec 18, 2011
229
47
That's probably the classic gps flaw that's been around since ICS. you can get around that by downloading a program like faster fix to correct it


Or you can do it manually:


1. Create a gps.conf file containing these:

NTP_SERVER=ca.pool.ntp.org <----- change this to the closest server to you
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
SUPL_HOST=supl.google.com
SUPL_PORT=7276

2. Copy gps.conf in to your sdcard

3. With adb shell, run these commands:
su
remount rw
cat /sdcard/gps.conf > /system/etc/gps.conf
reboot
I wasn't talking about gps. I'm talking about wifi/data connection. Can't get location through them.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 62
    This is a Repost from the general thread. I posted it there originally to get a little help from the community with my first attempt at making a nexus s firmware but it seems it would be more appropriate to move the thread here.

    Original Thread:http://forum.xda-developers.com/showthread.php?t=1991616

    I've managed to take the GIT of android 4.2 and get it to compile with the crespo device tree from the 4.1.2 GIT repo with some minor modifications.

    I currently have a GT9020A (fido canada network) and I'm currently running android 4.2 on it with my custom kernel.


    Overall Changleog:
    http://iamthedarkone.com/?page_id=182

    New Source tree added. Not my latest on the crespo source but it includes the crespo4g and also I linked my kernel image in the device tree

    Android GIT Changes: http://www.mediafire.com/?b9xbluvo1v5h6d2

    For those who don't check the website source is here: http://iamthedarkone.com/?page_id=179


    Using the new apps package here makes a massive difference in how smooth the play store runs etc

    1owvv9.png


    ROMS SECTION

    -Bluetooth is functioning
    -Battery Drain issues Resolved
    11-28-2012 Main Nexus S (custom kernel): http://www.mediafire.com/?40qzyg6c17iev7r <---latest ROM

    No current Stock Samsung kernel is available for this rom because I haven't had a chance to test bluetooth etc with the latest release

    -I found an issue in my GPU code in the custom kernel. This patch increased performance significantly
    11-25-2012 ***With GPU Fix*** MAIN Nexus S (custom kernel): http://www.mediafire.com/?td545c2183d32mv <--- second latest ROM

    11-25-2012 MAIN Nexus S (stock kernel):http://www.mediafire.com/?85ns3yn58jadqdl <----latest ROM with a stock kernel

    use the 20121127 package from CM 10.1 (this is your gapps package)
    http://goo.im/gapps

    Root : http://download.chainfire.eu/282/SuperSU/CWM-SuperSU-v0.98.zip


    Good news guys the site it back up!:http://iamthedarkone.com/
    7
    why all roms look like each other? change menu or design or icons !!!!!!!!! im bored with 4.0 4.1 and 4.2

    I don't make roms to look pretty. To be clear I am in no ones craziest imagination an artist of any kind. If you are and you want to make some icons for me I would be more then happy to implement them. In the meantime I'm on a 3 year contract with fido with this phone (sigh) and google isn't making 4.2 for it (sigh) so I did. If I'm using it then I want to have the latest releases but what is honestly most important to me is that my phone personally didn't work that great from factory.

    I really want to try and get any performance I can out of this phone. Any tweaks changes etc I can make to anything that will make this old thing run smooth I'm willing to try. You'll notice, and I realize the utter inconsistency of it, but benchmarking the write speed specifically of the sdcard on this phone has been a point of focus for me as my current alpine deck in my car with time alignment + the double baffle competition subs and the cdt mids and tweets + crossovers means that sound quality is very important to me. I tend to use this phone through USB mass storage with big as hell lossless audio as my primary audio source. This is why you'll also notice not only benchmarks but actual transfer speeds through usb tend to be higher speed then stock. Next most important to me is that my nephew loves playing games on my phone whenever I come over to hang out.

    I tend not to use bluetooth at all as I have a wired handfree set for when I drive (dispite the bluetooth on my sterio as using that would mute my music -_-) I also tend to dodge calls while driving altogether.

    Hope this makes my priorities clear to everyone. I want things to be stable good battery life etc but performance is the most important this to me. Graphics changes custom menus etc basically everything else with me takes a back seat.
    6
    My build is also nearing the end, you beat me to it, congratz. :)
    Is everything working? I saw BT might give some trouble and I'm assuming fixing that stupid camera error (O_CREAt LOL, FU Samsung) is enough to get it working.
    5
    Sorry for the delay guys. Got myself a nice lung infection and been feeling like trash for the last week. I added an update. It's not perfect but it's alot closer. As I type this I have a rom compiling with a stock nexus s kernel and what I hope will have all the bugs worked out.

    Thanks for your support guys
    4
    Sorry but i had to ditch the rom, made my Nexus S, very slow and unstable.
    Hope to see a more stable version, i know you will succeed.

    No **** sherlock, what part of "experimental" and "work in progress" was hard to comprehend ?

    Sent from my Nexus S using Tapatalk 2
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone