yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] Oodie:
Enhanced Power Menu

I've setup a enhanced power menu for This port ( used this as guide )

works fine without issues for me

Take a backup first & try it & let me know how it goes .
[Nexus S Android Development] flab80:
Oodie can I use this mod on building 4.1.1 AOSP?
[Nexus S Android Development] RsurNexusS:
Good luck can't wait to see your work
[Nexus S Android Development] AirOne70:
Don't work for me.

Envoyé depuis mon Nexus S
[Nexus S Android Development] RL77LUC:
Doesn't work for me too. No changes ...

EDIT: And could you provide a MOD for enable soft keys pls ?
[Nexus S Android Development] lowtje:
Works like a charm!
[Nexus S Android Development] spupuz:
What?

Inviato dal mio Nexus S con Tapatalk 2
[Nexus S Android Development] lowtje:
The rom + SP4
[Nexus S Android Development] spupuz:
Pucture in gallery media scanner si working?

Inviato dal mio Nexus S con Tapatalk 2
[Nexus S Android Development] alen1901:
Waiting for your rom to pop out. ;)

Sent from SpeedMachine i9023
[Nexus S Android Development] boabsmith:
Didn't work for me unfortunately

:(
[Nexus S Android Development] spupuz:
reflashed rom base + sp4 media scanning probelem persist going to cleanup external storage for test.
[Nexus S Android Development] lowtje:
Had no problems in media gallery. Now back on stock ICS for the ota :)
[Nexus S Android Development] james300:
just install reboot widget for root user this the same https://play.google.com/store/apps/details?id=com.francescoaurino.rebootwidget&hl=en
[Nexus S Android Development] spupuz:
that seems to be a solution i have wiped the external data and done the test and it works now i'm restoring only the relevant data.

---------- Post added at 10:21 PM ---------- Previous post was at 10:11 PM ----------

after that only thing remaining for me for now (waiting official rom) is the Gtalk working.
[Nexus S Android Development] quiquegabriel:
Why don't u upload the build, so you can get support from everybody and try to fix it? ;)
[Nexus S Android Development] mike.b93:
+1 would love to test a ROM build from source instead a Port
[Nexus S Android Development] RsurNexusS:
+1 here too, that way, non developers can test it out and c the source based rom and developers can actually see it and support, help u.

That way everyone is happy
[Nexus S Android Development] giammo:
Offline dictation works for this rom ? Can't find that option in settings menu ...
[Nexus S Android Development] reekotubbs:
@steven676

Is it possible to get Voice Search working on ICS. (we can install Google Now with Voice search, but voice search is not working)

I tried to place the files in system/usr/srec/en-US, but our file structure is system/usr/srec/config/en.us

the jellybean googlesearchbox.apk is placed in the system/app/ folder.

Any help would be appreciate
[Nexus S Android Development] mike.b93:
I guess we still have until next week before the ota drops. A fully working super smooth aosp built 4.1.1 would be pretty awesome. After the ota drops we have our first aosp ROM when the Dev manages to complement the binaries :)

I'm already very very satisfied with the port.
[Nexus S Android Development] Erythnul:
Hey everyone!

I've created a mod to enable on-screen buttons for this ROM! I used the ICS instructions and tweaked that a bit to fit with JB. Then I repackaged the resulting files into the original onscreen button mod zips provided by evilisto.

Please be gentle, it's my first try at something like this, and thus, there can and will be bugs! At the very least, I'm glad to finally be able to do something back for this great community!

Download links:

Enable softkeys: http://www.mediafire.com/?h6nph78ch65nntd

Restore original files: http://www.mediafire.com/?r75orj6qke8k1xv

Known issue(s):

When you use the keyboard, the black bar extends farther up than it's supposed to (no overlap, but it's noticable). I will see if I can try to fix this, I know where the problem lies (the icon for pulling down the keyboard), but I'm no good with graphics editing :P

Enjoy!
[Nexus S Android Development] steven676:
If you're feeling really ambitious, try restoring files one by one from your backup until it breaks. That might take a while, though, so don't feel obligated to do so ...
[Nexus S Android Development] RsurNexusS:
Dont forget that there is hope we can see fab's aosp based rom before next week ;)

Since he only has to figure out how to get wifi to work
[Nexus S Android Development] steven676:
Can someone provide a logcat of this crashing? I'd be willing to bet it's a missing shared library or something similar that's easily fixable.
[Nexus S Android Development] spupuz:
lol after restoring content to rom still no media scan in picture gallery and music anyway i know that is mine problem... strange first time it happen.

How to take a logcat?
[Nexus S Android Development] wizardslovak:
Tryin it now ;-)
[Nexus S Android Development] quiquegabriel:
screenshot command is driving me crazy in SP4!!

can't get a screenshot!!
[Nexus S Android Development] vetvito:
^ how? Vol down + power button
[Nexus S Android Development] steven676:
One buglet I've found: high-performance WifiLocks (WIFI_MODE_FULL_HIGH_PERF) don't prevent the wifi driver from going to low-power mode when the screen turns off, as they should (and as they do on ICS).

This should work just fine with SP4 installed. (Yes, we have stuff in /system/usr/srec/config/en.us from the SDK, but the Google services expect a different set of files in /system/usr/srec/en-US.)
[Nexus S Android Development] quiquegabriel:
yeah i know that :)! but not working for me, don't know why!!
[Nexus S Android Development] james300:
everything is working here

everything is working here even google now
[Nexus S Android Development] reekotubbs:
Ok, got it. I won't be able to install SP4 because I'm on a different device. But when I push en-US to /system/usr/rec/ my Google Now FCs on boot up and I cannot get it to start after that. I had to remove the en-US folder to get it to start up.
[Nexus S Android Development] steven676:
Check your logs, then -- you may be missing a library needed by the speech recognition engine.
[Nexus S Android Development] siftekhar:
Now I see why they call it project butter ! :)
[Nexus S Android Development] reekotubbs:
I was getting an "Error thrown by amr encoder". Does this mean anything to you?

Also is there a library that you have to install with the velvet.apk to get the voice search part to work correctly?
[Nexus S Android Development] seriosbrad:
Flashed over top of ICS Slim with no problems!

Small thing missing, it doesn't shade the background when you slowly pull down the notification bar ;)
[Nexus S Android Development] steven676:
Make sure that stagefright is set up correctly and working, and that you have the appropriate stagefright libraries (I have libstagefright_soft_amrdec.so, libstagefright_soft_amr{nb,wb}enc.so, libstagefright_amrnb_common.so, plus the stagefright core). Also, check your OpenMAX configuration -- you should have libstagefright_omx.so, libwilhelm.so, and /system/etc/media_codecs.xml and /system/etc/media_profiles.xml that include the AMR codec.

Not that I recall, but that was quite a while ago. You could disassemble the APK with apktool and see if it tries to load any shared libraries.
[Nexus S Android Development] dEris:
I have no mms , gallery or WiFi issues. Sp4
[Nexus S Android Development] sykomaniac:
Find reboot and reboot to recovery (by me) flashable zip here: http://db.tt/LwjXChQa

Preview:

Tested and works perfect (on the ported JB rom at least). As always backup before flashing.
[Nexus S Android Development] reekotubbs:
I have all the lib except libstagefright_soft_amr{nb,wb}enc.so and media_codecs.xml
[Nexus S Android Development] steven676:
That'd be your problem, then ... grab the Stagefright AMR encoder libraries from a Jelly Bean ROM and media_codecs.xml from an ICS ROM for your device.
[Nexus S Android Development] nibla101:
Still does not work for me atleast :rolleyes:
[Nexus S Android Development] Oodie:
Oh . My rom is deodexed . Original Steve's rom is odexed . That's the issue . Should work on urko version . I can't upload 180mb file , hangs on the middle . Otherwise i could share the whole rom i created with su fully working , reboot menu , fully deodexed , etc .

May be i can share a torrent with one person . He can download it ( will take about 3-4 hours) then reupload it . Pls pm me if anyone who can do it . Thanks .

°°° This comment is Sent from my Nexus S °°°
[Nexus S Android Development] deltatux:
Looks like in Airplane Mode, if you enable WiFi, even if you set the phone to airplane mode, the WiFi is still on.

Android 4.1 JRN83C

deltatux
[Nexus S Android Development] derrell1978:
Rom is great and really smooth, the battery life is just too bad for daily use.
[Nexus S Android Development] chosen14u:
I second this..
[Nexus S Android Development] steven676:
Wait, are you saying that if wifi is on when you try to enter airplane mode, the wifi doesn't turn off? That would be a bug, but I can't reproduce. Enabling wifi while airplane mode is on is supported by Android since Froyo or Gingerbread, I think.
[Nexus S Android Development] Billchen0014:
What other kernels can I use?

Xxx oops! accidentally beamed from my awesome NEXUS S! xxX
[Nexus S Android Development] SalsaForte:
Me too! Congrats and thank you.
[Nexus S Android Development] derrell1978:
Is anyone running a kernal the boosts battery life?
[Nexus S Android Development] deltatux:
It should only stay on if you explicitly reenable WiFi after you turn Airplane Mode on. I didn't explicitly reenable WiFi after turning on Airplane Mode and my wireless router was still blinking WiFi traffic and when I checked DD-WRT, it listed my Nexus S as the only client connected...

deltatux
[Nexus S Android Development] RsurNexusS:
anyone whos working on an aosp rom can please post their buiods up?So we can compare aosp based and sdk based.

And so if u have any trouble people can help looking into the aosp build ur workig on and support u
[Nexus S Android Development] :
Wiped and flashed this baby tonight.

Sweet rom and port.

I use Apex Launcher. It was running fine until I loaded up 2 home screens with widgets then it became unbearably slow. I selected the option in "Advanced settings" to always keep Apex Launcher in memory and the performance issue was fixed.

Nice work.

Looks like everything is working fine.

So far I don't have any battery drain issues. We'll see how it holds up tomorrow after heavy use. If it does, this will be my daily.

Thanks!
[Nexus S Android Development] rener78:
Which rom are you using ?
[Nexus S Android Development] Skyline969:
Really? I find that the battery life is better than some other ROMs, such as CyanogenMOD 9.
[Nexus S Android Development] rener78:
First off thanks to everyone involve. Really good work.

But I have a question I'm not a dev whatsoever and I would use it only for me but am I allowed to take Steve's SP4 and change the

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.

For the french one instead of English ? Since I speak french and use rom in french.

Not a Dev but read about how to do it a little bit but I just want to make sure that I can do it. Not that anyone would know that I tried that cause I won't post it anywhere anyways, juste pour moi.

Is it possible (for me to try to change it) and could it work too.

Thanks
[Nexus S Android Development] steven676:
So many different factors (usage patterns, cell signal strength, battery age, brightness of rooms/outdoors areas where the screen is turned on when auto-brightness is on ...) could contribute to anecdotal battery life reports that it's very difficult to figure what exactly the impact any particular device software has on battery life. In the ideal world, we'd have a standard benchmark which could be run which eliminates or controls for those variables ... but such a test would probably take several hours, and for full accuracy, we'd need a robot with a capacitive finger to pretend to use the device ... (Given that the touchscreen hardware itself is probably a minimal power draw, I suppose you could come up with something which injects touches into the kernel's input subsystem instead. Cheating by injecting higher up the stack could cause significant differences in terms of power usage.)

In other words, anecdotal battery life reports can be useful, but take each individual data point with a grain of salt.
[Nexus S Android Development] steven676:
I certainly wouldn't object to you trying, if that's your question.

You can try, but this presupposes the existence of a French language pack for the offline speech recognition in the first place. As far as I know, offline recognition only works for American English, and the online recognition mode (talking to Google servers) doesn't need language-specific files on the device.
[Nexus S Android Development] rener78:
Yes just homemade stuff that's it, you won't see it anywhere. Thanks I appreciate that.

And thank you very, those are very usefull information about the language pack and all.

Might be done when Android 9.8 will come out lol but eh, what the heck !!

Merci beaucoup
[Nexus S Android Development] Skyline969:
At least for me, I've been using my phone the exact same before and after flashing jelly bean. If anything, I've noticed an improvement in battery life. I'll continue to test, but so far I'm liking the results.
[Nexus S Android Development] jay_993:
I agree. Just wipe everything as you should data, system, cache, dalvik and flash rom spX then the thalamus kernel. It runs beautifully.
[Nexus S Android Development] sykomaniac:
PMed oodie about his mod.

Sent from my Nexus S
[Nexus S Android Development] RsurNexusS:
has fab fixed his WiFi issue yet? Can u update ur progress fab?

Thanks and I hope ur WiFi problem won't take too much work and time to fix. Good luck!!
[Nexus S Android Development] devcager:
I have big battery drain. 52% over night :( :( :(
[Nexus S Android Development] RsurNexusS:
Wow that's a big bTter drop. Mine is so much better than ehen i was rnning aokp. maybe try clearing the battery cache
[Nexus S Android Development] Spidergio:
Here there are some mods. I have tried only the "circle battery" (works). Here: http://xdaforums.com/showthread.php?p=27997536
[Nexus S Android Development] RsurNexusS:
Haha

I think this thread is dying. Although I still really want to hear from fab about his aosp based ROM :l
[Nexus S Android Development] spupuz:
hey stop it ..... when something is ready fab will post it.. you are just spamming like the hell!
[Nexus S Android Development] RsurNexusS:
He he sorry I'm an impatient person and I thought coz thread isn't that alive I can just post.

Sorry
[Nexus S Android Development] m4Dze:
This thread isn't dying. It's the frequenzy of new posts that has slowed down, since the excitement of this ROM istn't that big anymore. The ROM ist pretty stable and most of the features are working. I can unterstand that the devs don't put too much time into this ROM since the OTA will come next week (I guess).
[Nexus S Android Development] Filipe Galego:
Thank you!

I've tested the battery percentage only (no circle) and works fine ;)
[Nexus S Android Development] Oodie:
this posts reminds me a fact :D

If you need a HOT THREAD with lots of posts , make a rom with issues . lol . the thread will fly ( with issue posts )

I knew a person like this when i owned a X10 . he uploads a rom in almost every 30mins , but every rom had isues . thread flied & he was the most famous dev yet . lol
[Nexus S Android Development] G-DannY:
lol i remember this from my X10 season... :laugh:
[Nexus S Android Development] Spidergio:
holding down the power button for a long time you should go into a mode where I do not know the name, but the phone does not go there. Can anyone help me?:D
[Nexus S Android Development] Billchen0014:
Is it called 'never-boot-again' mode? :confused::p

Xxx oops! accidentally beamed from my awesome NEXUS S! xxX
[Nexus S Android Development] raulillo88:
I'm wondering why anyone have an horrible battery drain and other ones has better battery drain than ICS. Could be SLCD screen or something in its configuration. Maybe force gpu rendering¿

Using my phone only for whatsapp I'm getting 20%/h consumption, much more than ICS. Now I have thalamus kernel but the battery drain is the same
[Nexus S Android Development] shanyel:
Google Talk

Guys

any idea regardd Google Talk voice and video calls?

it doesn't work

I think this is the last one from have almost a day to day working JB rom

thanks
[Nexus S Android Development] rener78:
Well I need to go to bed I think I just downloaded the French TTS from Google in the parameters section but still doesn't reply in french the same as in English :-( Not ready yet i guess for French Google now. Everything else work tho.

Thanks again. Must be relieved odie took over and cooked up a new JB rom ;) love the time and effort.
[Nexus S Android Development] Spidergio:
Progress?
[Nexus S Android Development] steven676:
One quick anecdotal take-with-a-grain-of-salt data point on battery life before I plug this phone in: it's been close to 19 hours since this phone was last charged and the battery still shows 27% remaining. Approximately 3 hours screen-on time, of which a few minutes is some light gaming and another few minutes for web browsing. Wifi the entire time, 2G cell signal for voice only (no reliable 3G in this building on this carrier).

That compares to typically 10-12 hours on stock ICS with this exact kernel, though I suspect the typical usage pattern there involves quite a bit more web browsing. (Did I mention that a fair comparison on battery life is hard?)
[Nexus S Android Development] spupuz:
wich kernel?
[Nexus S Android Development] RsurNexusS:
For all u wondering about cm10 here is a preview video of it running. The only thing that seems to be a problem is the Google now and search.

Link and the video http://m.androidcentral.com/early-video-shows-cyanogenmod-10-progress-optimus-4x-hd
[Nexus S Android Development] sidnoit22:
Yep which kernel? And WOW. :eek:
[Nexus S Android Development] Haizum74:
That looks nothing like my battery stat screen. Come on, did you photoshop that? :rolleyes:
[Nexus S Android Development] sidnoit22:
LOLOL :cyclops:
[Nexus S Android Development] Spidergio:
It is called safe mode. How i can activate it? Thanks in advance.
[Nexus S Android Development] Oodie:
@ steven

hey buddy ,

about the screen off animation . can you please look into the libsurfaceflinger.so file & try to get it patched to get the crt animation working . ( i think it's the related file for crt animation , i may be wrong )
[Nexus S Android Development] vetvito:
Press and hold this button, and you will get the option.
[Nexus S Android Development] Spidergio:
Thanks thanks thanks thanks.:thumbup::D
[Nexus S Android Development] :
So my phone was running great on SP4 until this morning when my battery started draining quickly. I noticed that Mediaserver was using 45% of my battery.

I found some related threads.

http://code.google.com/p/android/issues/detail?id=6765

http://xdaforums.com/showthread.php?t=980575

Not sure if someone posted a similar comment. I don't have time to catch up on the thread right now. I thought this might help some people so I posted it.
[Nexus S Android Development] DroidHead:
Did everyone jump ship on this build??
[Nexus S Android Development] stevew84:
in a few weeks time, there will probably be 4.1 or 4.1.1 based ROMs on this site or rootzwiki.com I wouldn't worry too much about the build in this thread.
[Nexus S Android Development] mike.b93:
i guess everyone jumped to the other thread...
[Nexus S Android Development] stevew84:
what other one? is it a new base?
[Nexus S Android Development] mike.b93:
no, just oodies thread with minor tweaks. look at the dev section
[Nexus S Android Development] cavanman:
This works on t-mobile Nexus S right? I tried the SDK zip in the other thread and got an E:Signature failed when I tried to apply the update.
[Nexus S Android Development] RsurNexusS:
Lol I've been searching in my phone for that thread. Searching XDA on a phone is hard...can u link me?

Thanks
[Nexus S Android Development] AirOne70:
http://xdaforums.com/showthread.php?t=1769861&page=12
[Nexus S Android Development] steven676:
About custom kernels

Those of you trying to get custom kernels working with this software should see Oodie's post in the other thread for advice.

For those of you asking about my phone's kernel, it's a local build which doesn't have anything particularly interesting in it -- basically the android-samsung-3.0-ics-mr1 from Android's kernel/samsung.git, with kernel/common.git's android-3.0 branch and kernel.org stable/linux-3.0.y merged in. I carry only one patch of significance, which is an ugly hack to prevent system_server from using 20% of CPU all the time when autorotation is enabled; if you see that behavior, this patch may help improve your battery life and performance. (It's attached to this post. Available under GPLv2+, as is typical for Linux kernel patches.)
[Nexus S Android Development] steven676:
Also, a reminder: we're still looking for a logcat of Google Talk voice/video chat crashing, as that could very well lead to an easy fix.
[Nexus S Android Development] wizardslovak:
So wait ..sound works or not?
[Nexus S Android Development] steven676:
Bingo -- libvideochat_jni not matching the corresponding Java code for Google Talk. Does flashing the attached zip (or unpacking it and adding/replacing the contents of system/lib to your install's /system/lib) fix things?

EDIT: Confirmed to fix the problem by zerioe (see next post). Flash this patch on top of SP4.
[Nexus S Android Development] zeiroe:
testing now

---------- Post added at 01:31 AM ---------- Previous post was at 01:28 AM ----------

confirmed working now!
[Nexus S Android Development] omlet:
great rom my daily!
[Nexus S Android Development] tchaari:
I have to give a big up for the developers that worked on this port. Really nice work.

I am just missing the volume buttons wake up option to save the fragile power button of our nexus S.

is it easy to make a mod for that or we should compile from sources please?
[Nexus S Android Development] thangman22:
Face unlock

Can we have face unlock feature in this rom?
[Nexus S Android Development] apatal:
+1

Had doubts at fist about flashing a mere port of a ROM for another device, but I decided to take the plunge and am enjoying it so far. Thanks, DaXmaX, steve and Oodie! :)

Yeah i miss this too. For the meantime, I just set my Screen lock type in the Security settings into None. That way, I get volume wake at the expense of not seeing the lockscreen, which is fine by me. You can try that too if you feel your power button deserves some rest. :D
[Nexus S Android Development] vetvito:
http://androidforums.com/evo-v-4g-all-things-root/574539-resource-apps-jelly-bean-4-1-apks.html
[Nexus S Android Development] technogravy:
This ROM is really good. I haven't found anything to keep it from being my daily driver yet. However I do miss BLN, can I flash Simple Kernel on this and have the same experience?
[Nexus S Android Development] apatal:
Yes, just delete the hw folder in system/lib in the flashable zip file before flashing. :)
[Nexus S Android Development] sidnoit22:
You are saying that if i want to Flash Air Kernel i have to delete hw folder from the kernel zip? :confused:
[Nexus S Android Development] tthaz777:
I'm gonna try it now. Too busy. Thanks.
[Nexus S Android Development] randy92:
THIS ROM IS AMAZING just flashed and really smooth.
[Nexus S Android Development] the1dynasty:
Just posted this in the ns4g jb port thread... this should work on this rom as well since I only modified systemui.apk

I take no responsibility if your phone gets messed up... have a backup or at least extract your roms systemui and put it in my zip in place of the systemui in the app folder... that will return it to stock if it fails or u just don't like the look lol...