yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] velis74:
Strange undervolting issue

First: Thanks, Francisco, for this awesome kernel.

I've been playing with undervolting a bit and got a bit stuck while declaring voltage for 729 MHz. Here's what I did:

Disabled MPU SmartReflex. I set the min / max both to 384MHz. Then I reduced voltage down to 600mV which still worked great. I confirmed good operation by running a game and playing for a couple of minutes.

Having met success, I moved on to 729 MHz. Set min and max to 729 and kept reducing the voltage all the way down to 600mV again. The 2 minutes game test again proved great and stable.

Again I moved up to th next higer voltage: 1036 MHz. However, I was grreted by a complete OS freeze while setting the min / max frequencies.

Why does the phone work just fine on this freq, but completely freezes when I try to set other frequencies?

???What's this??? I just tried again and set min / max to 1036 without voltage adjustments and the phone froze again. It seems it freezes every time I try to set min freq to 1036.On reboot, the frequencies will be set as I have set them (min and max both @ 1036). Changing the min freq works after the reboot.

I am now @600mV even for 1036 MHz, but I can't realy believe my phone can actually work at such low voltages for all three frequencies. Since I have no other way of verifying, I'm going to play the game for a while now to see how hot the CPU gets.

Menatime, has anyone else had a similar undervolting experience?
[Samsung Galaxy Nexus] IAmAN00bie:
I run 728 at 600, 1036 at 700, and 1228 at 800.
[Samsung Galaxy Nexus] yahyoh:
OMG really :eek:

the exynos cpu in the s2 if i run 200MHz step lower than 800 or 850 it will stuck or i will gor sod , 1200Mhz never run on my s2 with lower than 1150 :rolleyes:

:D:D
[Samsung Galaxy Nexus] IAmAN00bie:
Yeah I don't know how this is stable for me but it works fine with no crashes even after days of use. Almost 500mV undervolting working? Not complaining here.
[Samsung Galaxy Nexus] daggerxXxsin:
I am running 600mv on 384-729 and 675mv on 1036-1228. Only works when I'm on 512gpu though. No random reboots or nothin'. Plays games like a champ and never heats up (temp never goes higher than 45°)
[Samsung Galaxy Nexus] dmbfan36_23:
More than one of us have this issue...

As I said above, I have no power modes set and I'm still getting this issue. It happened again last night, after 3 hrs of not using the phone Core 1 was off. I've been using it today and it's still off, even charged the phone up and while plugged in, full juice, in use and Core 1 is still offline. I'm sure a reboot will fix it, but it doesn't explain why it's happening?
[Samsung Galaxy Nexus] IAmAN00bie:
This happens to me as well. CPU core 1 is offline, with no powermodes set. Governor is on lazy.
[Samsung Galaxy Nexus] morfic:
Which way do you verify core1 is off?
[Samsung Galaxy Nexus] IAmAN00bie:
I go into Franco's app and under Settings it says CPU1 is offline. Also, in /sys/devices/system/cpu/cpu1/online it reads 0, which is where I assume Franco's app is reading from.
[Samsung Galaxy Nexus] franciscofranco:
The only system that turns cpu1 off is the internal OMAP routines and that happens in very special circumstances (screen off for example) - I haven't added anything to turn off cpu1. And the app doesn't turn cpu1 in any circumstance unless you create a custom power mode and select the Hotplug option. Other than that theres no chance in hell cpu1 can go offline, at least not from my kernel/app.
[Samsung Galaxy Nexus] IAmAN00bie:
Thanks for the response. Yeah, it's strange that this is happening. If it were just me, then I wouldn't be wondering why it's happening, but some other users are reporting it as well.
[Samsung Galaxy Nexus] mikeandjaimie:
I had this happen several times to me.. Basically it was like it got stuck off after the screen came back on. I noticed this on ics alot, but since I went to jb it hasn't happened, or at least that I noticed.
[Samsung Galaxy Nexus] yahyoh:
damn its happend again but with sod i think here is last_kmsg
[Samsung Galaxy Nexus] franciscofranco:
Sigh:

Restarting Linux version 3.0.36-cyanogenmod-geb0f696 (koush@Koushik-Lion.local) (gcc version 4.4.3 (GCC) ) #1 SMP PREEMPT Thu Jul 12 13:52:24 PDT 2012
[Samsung Galaxy Nexus] yahyoh:
i just noticed damn :cyclops:
[Samsung Galaxy Nexus] simms22:
if you are using franco kernel and cwm recovery, i bet the reboot came from your recovery since cwm recovery uses a cm kernel. try twrp recovery, its better anyways.
[Samsung Galaxy Nexus] GeekMcLeod:
It almost seems like certain phones react differently to kernels. I've never experienced any of the issues mentioned recently or even anything earlier on any other versions. Which is why I always stick with francos kernel. Either the kernels react different from phone to phone, or they're doing something to cause issues or an app they use is. I'm pretty sure the majority of users don't experience these issues. Most that don't have issues usually just don't say anything.

GSM Galaxy Nexus -- ParanoidAndroid -- franco.Kernel Nightlies
[Samsung Galaxy Nexus] The Gingerbread Man:
I just switched to twrp and am impressed, although if its recommended may I suggest a small line in the OP if there isn't one? I only tried it as as I was bored but it really knocks the socks off cwm and then some

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] BrUhNiGGs:
Yesterday while I was at Six Flags my phone was at a endless bootloop. It kept going to the Google Logo then to the boot animation over and over. I pulled the battery then it just bootlooped. It just had to happen when It was a day I really needed it, make calls, texts, instagram, etc. So I had to reflash a rom while I was in line for a ride, lol. Im using JellyBro CM10 Kang with r225 and CWM Recovery. I think I will try TWRP Recovery to see if it doesnt happen again.
[Samsung Galaxy Nexus] yahyoh:
same problem here :D

did u cheked last_kmsg if it available post here mabe it will help :highfive:

i will install twrp hope the problem will gone :rolleyes:
[Samsung Galaxy Nexus] gzub:
I just checked this and it was offline (or at least listed off line in the app) on my phone too... I am running your 228 beta... I will look and see if I can find anything in the dmesg or logcat...

Geoff
[Samsung Galaxy Nexus] yahyoh:
something weird happening here after 5 minutes from flashing twrp recovery problem happend the this time get really slow the its show me on screen shall has denied by super user the black screen the stuck bootanimation bootloop
[Samsung Galaxy Nexus] The Gingerbread Man:
Change from Jellybro to Minco and your problems will be solved

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] vomer:
lol you are quite patient with this cynaogen situation. I would have given up long ago :p
[Samsung Galaxy Nexus] BrUhNiGGs:
Yeah, I will do that next time I get a random reboot or bootloops, etc. Running r225 with PA 1.9.2a with no problems so far :D
[Samsung Galaxy Nexus] motopuk:
I was having The exact same issue and ended switching to TWRP. No issues so far.
[Samsung Galaxy Nexus] :
I can honestly say I have never had anything strange happen during a run w/this kernel. Using r225 now and I have gotten better battery life than I have in a while. Tks Franco!

Sent from my toroplus Galaxy Nexus using CM10 Skank and Twrp recovery
[Samsung Galaxy Nexus] franciscofranco:
Eheh. Try r228 :)
[Samsung Galaxy Nexus] c_86:
Is there a 512 GPU veraion?
[Samsung Galaxy Nexus] yahyoh:
i dont think so :)
[Samsung Galaxy Nexus] Serious_Beans:
Where can we try r228? I don't see it in the nightlies folder.
[Samsung Galaxy Nexus] yahyoh:
http://xdaforums.com/showpost.php?p=29406054&postcount=23805

:)
[Samsung Galaxy Nexus] franciscofranco:
Not yet, maybe tomorrow ;)
[Samsung Galaxy Nexus] osm0sis:
Are you sure SR is off? Those are extremely low voltages..
[Samsung Galaxy Nexus] c_86:
Very good :). Thx
[Samsung Galaxy Nexus] yahyoh:
franco r u going to add back conservative governor i really like it :D

i noticed something i was watching some one like u on youtube (http://www.youtube.com/watch?v=nSeZkVXu4k8) and i saw werid color popup when on dark sence so played little with colore control and finly found setting gamma to 1.2 fix the problem :D
[Samsung Galaxy Nexus] IAmAN00bie:
Yes it is off.
[Samsung Galaxy Nexus] muhsli:
Franco, I've got this hardware-fault http://code.google.com/p/android/issues/detail?id=23789

My phone charges fine, but it still thinks I'm plugging it in and out, once I unplug it, leading to the screen wakes every damm second through all day. I turn it of and 1 second later it turns on again. This **** makes my phone never deepsleap.

I've Googled for a workaround to make it through the day, as I remember on my Desire HD I've used a combination of ROM and kernel which never activated the screen when plugging in the charger. all that happened back then was the diode turned on.

All I found was this one comment that said this is something that has to be turned off in the kernel.

Is it possible? to turn off in the kernel, so that screen never wakes when the charger is plugged? (or in my case when the phone thinks it gets plugged)

is anyone else interested in turning this off?

I'm well aware this ain't solving my issues with battery drain, but at least I don't have to make calls in my pocket.

I will send my phone for repair in 3 weeks but until then, and when I get it back, I would love to have this feature turned off.

I've never liked it...

regards muhsli
[Samsung Galaxy Nexus] britoso:
Thought Id share an interesting story.

I upgraded to 225/512 and was trying benchmarks at 1.7, 1.8GHz.

At 1.8GHz the phone rebooted (overheating), and after rebooting bootlooped after I unlocked.

To fix the issue I put the phone in the freezer for a minute and then changed the cpu max down to 1.7GHz before it overheated again.

ps: 4161 in Quadrant at 1.7 and in the freezer :)
[Samsung Galaxy Nexus] derPianist:
At this point I stopped believing you... :D

via Google Galaxy Nexus
[Samsung Galaxy Nexus] Marcb:
oh god... why man? just for benchmarks?!

you're ****ing up your phone for good...
[Samsung Galaxy Nexus] britoso:
proof :
[Samsung Galaxy Nexus] LNJ:
Shouldn't you be hitting over 7k for I/O with FSync off?
[Samsung Galaxy Nexus] britoso:
Dont know, Is it off by default in this Kernel ?
[Samsung Galaxy Nexus] LNJ:
You have to turn it off. But if it is on, you wouldn't exceed 3k in I/O so looks like you just had a bad I/O run.
[Samsung Galaxy Nexus] simms22:
never put the phone in the freezer. there is air inside the phone. and in this air is moisture. by putting the phone in the freezer, the moisture condenses out of the air and onto you moisture hating galaxy nexus parts.. i can go on if you want. anyways, if you do want to cool your phone down safely for benchmarks, remove the batter cover and bench it in front of an air conditioning vent or a strong fan. and all that you did for a measly 4161? i get more at 1.5ghz :eek:
[Samsung Galaxy Nexus] LNJ:
I miss my SGS2 for benching.....could hit 5k with 1.4Ghz.
[Samsung Galaxy Nexus] simms22:
my nexus s hit 6100+ at 1.54ghz. heres one from back in the day, lolz. gingerbread and old quadrant benchmark of course. now, on jellybean, my nexus s would be lucky to hit 4000.
[Samsung Galaxy Nexus] LNJ:
Yeah I had the old Quadrant trip out on my Captivate a few times giving me 5-7k scores. But once the dual core aware versions came out, the scores have been more consistent.
[Samsung Galaxy Nexus] yahyoh:
s2 generally get better io and its have better gpu + lower screen res but i like Gnex more :cool:
[Samsung Galaxy Nexus] LNJ:
I like the GNEX for the software and resolution but I like the SGS2 for the design and hardware.
[Samsung Galaxy Nexus] britoso:
did it to get out of the bootloop quickly. May be measly but its my best result so far :)

Quadrant is easily tricked, especially io, so the numbers don't mean much.
[Samsung Galaxy Nexus] mullemulle86:
Thats because the nexus has 2.4x more pixels than a s2. I dont get it why you all have to bench that much. The nexus runs great and smooth even with 1ghz.

Gesendet von meinem Galaxy Nexus mit Tapatalk 2
[Samsung Galaxy Nexus] Mrc527:
I've recompiled the 225 JB version, with CIFS support and RTL8187 support! :p

Look at here:

http://www.kernel-xp.net/index.php/en/progetti/20-galaxy-nexus-kernel

I hope you enjoy it.

Bye!

Inviato dal mio Galaxy Nexus usando Tapatalk
[Samsung Galaxy Nexus] mariachi202:
@Franco,

Congrats on the 3 million thread views man!

Keep it up :cool:
[Samsung Galaxy Nexus] franciscofranco:
Muchas gracias!
[Samsung Galaxy Nexus] gautam_nexus:
@Franco: any update in the next build?
[Samsung Galaxy Nexus] franciscofranco:
I released a test build yesterday or something, isn't that enough lol?
[Samsung Galaxy Nexus] GeekMcLeod:
I believe it is! You're doing amazing work and I haven't had any issues at all on this test build. Everything is just as smooth as ever, love your kernels!
[Samsung Galaxy Nexus] Culex316:
228 has been giving me great battery life!
[Samsung Galaxy Nexus] Rimher:
Trying out now test build 228...everything seem to work very very smoothly! Great work =)
[Samsung Galaxy Nexus] optmkleung:
228 is a bit lag compare to 225
[Samsung Galaxy Nexus] kashix:
a day's full usage of r228-JB

stock setting with Ondemand governor
[Samsung Galaxy Nexus] franciscofranco:
With 3G thats not bad at all.
[Samsung Galaxy Nexus] mtmjr90:
I went back through the past 15ish pages but gave up...where can I find r228 (or any JB test builds in the future too)?
[Samsung Galaxy Nexus] kashix:
& that is the product of your excellent work sir, oh yes, I had it @ 3G all the way.
[Samsung Galaxy Nexus] c_86:
I wish I got usage like that... I'm lucky to see 2 hours of screen on time.
[Samsung Galaxy Nexus] kashix:
I've had better results :(
[Samsung Galaxy Nexus] Tarun95:
I think it should be some app causing trouble. I removed all the useless apps from my phone and my battery life is perfect. Testing 228 now :)
[Samsung Galaxy Nexus] Wynnded:
There's a link for it four pages back.
[Samsung Galaxy Nexus] c_86:
Don't know what it could be... not like j have unusual stuff on my device.

- adfree

- adobe flash

- adobe reader

- advanced task killer pro

- auto ring

- battery widget

- beweather pro

- beyond pod

- beyond pod unlocker

- chompSMS

- chrome

- chrome to phone

- cineplex

- dictionary

- dock no op

- DrawSome

- Drive

- dropbox

- ebay

- evernote

- facebook

- File Explorer

- fml

- fruit ninja

- getglue

- gmail

- google play music

- greader pro

- groupon

- Ice cream sandwich theme

- imdb

- instagram

- issimo

- light flow

- linked in

- market enabler

- metro magazine

- mobile checkbook

- mobile tv

- my coffee card

- Nobex radio

- nova launcher

- pageonce

- paypal

- Rdio

- Reboot Logger

- root explorer

- setcpu

- shazam

- Skype

- smart keyboard pro

- speed test

- tapatalk

- teslaUnread

- tetris

- tfln

- titanium backup

- virgin ML

- W&Y pages

- voice search

- youtube

- utorrent remote
[Samsung Galaxy Nexus] kashix:
there you have it, Facebook.
[Samsung Galaxy Nexus] nikulogical:
Anyone successfully undervolt the 1536 step below 1300 mv and have it calibrated by Sr?

I've been doing this with 1420 for a while and it seems to be pretty stable. Calibrating at 1230mv.

Ondemand btw
[Samsung Galaxy Nexus] yahyoh:
R228 run amazing here I don't have any problem so far after one day :cool: :D

sent from another galaxy
[Samsung Galaxy Nexus] asicman:
Question about fsync. Is /sys/module/sync/parameters/fsync_enabled specific to this kernel or does stock kernel actually look at this file to enable/disable fsync?
[Samsung Galaxy Nexus] funkyblue04:
I removed the Facebook app and still get bad battery life. Now do you read a better battery stats to know what is causing the issue? Thanks.
[Samsung Galaxy Nexus] TEK112:
Look at kernel wakelocks and post the top 10.
[Samsung Galaxy Nexus] dascjb:
One thing that might be helpful download memory usage from twistbyte from market. Any app running in priority 300 is a potential battery drainer as they are running as service and doing 'stuff' in the background
[Samsung Galaxy Nexus] Tarun95:
I don't think its Facebook. It never drains battery for me.
[Samsung Galaxy Nexus] franciscofranco:
Specific to this kernel.
[Samsung Galaxy Nexus] kashix:
It's the worst app written for Android, rogue app. You're better off using the browser to access facebook, it loads faster as well :laugh:
[Samsung Galaxy Nexus] Tarun95:
It never showed up in battery use. I mean unless i use it. In the background it never drains battery. Works great for me :)
[Samsung Galaxy Nexus] LNJ:
Why do you guys blame Facebook? It's never given me an issue. Plus you can set sync intervals in it anyway.
[Samsung Galaxy Nexus] asicman:
So I'm guessing that for stock kernel its not as simple as setting a file to 1/0 to set fsync? How would stock set this?
[Samsung Galaxy Nexus] franciscofranco:
Thanks, glad you like it.

Yes I can fix logcat, I shouldn't have turn it off since this phone is new and people want to develop with it. I'll compile it as a module next time so you can insmod it on boot. If it doesn't work that way I'll compile it back to the kernel.

I know nothing of ODIN (I know what its used for though), but thanks for the suggestion.

About the egl file I guess some apps just load that file for rendering (if you load quadrant pre-deletion and post-deletion you'll see what I'm talking about) thus the deletion. You know more about it than me since it's your area of expertise, but I'm sure that there is a difference when deleting the file. If not, I'd love to hear your insight on it.
[Samsung Galaxy Nexus] drmason:
before flashing the kernel, is there a stock kernel available to go back? I just found the complete recovery image for stock and it would be easier just to be able to flash the stock kernel back over if I ran into issues.

Or am I able to extract the kernel from my clockwork recovery backup?
[Samsung Galaxy Nexus] Chainfire:
Root

New features request... can you automatically install the su binary and Superuser.apk, or if not, at the very least make the kernel insecure ? It's a real drag to have to do this otherwise. Great for new users. Will provide the script if you need it, I have many kernels that do exactly this.

Re: logcat

Great, can't wait (literally, lol)

Re: ODIN

Odin is the firmware flash tool used on most-if-not-all Samsung devices. The Samsung-built Nexus devices also support Odin (vol-down + power). It is not that different from fastboot, with the exception that most users that already own Samsung devices will have everything set up already to support this. This while for fastboot, especially on Windows, it is not unheard of that you have to search for drivers for hours, do manual updates, etc etc before you can even use fastboot. I know - it took me a few hours to get just fastboot to work with the Galaxy Nexus - and I'm definitely not your average user, and do have previous fastboot experience.

Wrapping the boot.img in a tar file as I stated above allows ODIN to flash it, no CWM etc needed. I know it's a pain to provide yet another package, but hey... I'm sure I'm not the only one who would appreciate it. Especially since ODIN users are generally Windows users, tar is not a standard Windows command, and most archivers can only extract it, not pack it.

Re: egl

I haven't tried Quardrant pre- or post-deletion, that's true. However, if you put any trust in Quadrant scores you could use them to prove that dancing naked for 5 minutes in your garden affects device performance. It could well be that this file deletion makes a different, but it should not be the case. If it does, there is a framework issue or egl loader bug present in the build.
[Samsung Galaxy Nexus] Chainfire:
The stock kernel is in the complete recovery image ?

Yes, you could probably also extract it from your CWM backup.
[Samsung Galaxy Nexus] drmason:
Is it not? This was just a guess, sorry.

You won't might have any link at hand about information extracting the kernel?
[Samsung Galaxy Nexus] Chainfire:
No, I mean, IT IS !

Inside the download tgz, is a zip file. In that zip file is a "boot.img", which is the stock kernel.

I'm not quite sure if this is still true for CWM5 (it is for older versions of CWM), but if you wanted to get the kernel from there, it located somewhere in /sdcard/clockworkmod/backups/<backupname>/ , probably a file called boot.bin or so. Something like that, this is all "top of my head".
[Samsung Galaxy Nexus] franciscofranco:
Root:

Yes, I want that!

Logcat:

Coming up in a sec.

ODIN:

Thanks for the explanation. Do you want me to give you ODIN flashable kernel?

EGL:

I don't trust Quadrant and that ****, I just wanted to show you that deleting the file definitely changed something. That dancing naked phrase made my day, I couldn't help it but pasting it in my signature ;)
[Samsung Galaxy Nexus] drmason:
thanks a lot Chainfire, I found it in the backup, its called boot.img suspected that but wasn't sure.

so I should be good to go.

Edit: In retrospect it was a stupid questions since all kernel come as a boot.img
[Samsung Galaxy Nexus] Chainfire:
You're going to have to wait for that root stuff, because I have to change the scripts (dependencies). I'll try taking a look at it tonight or tomorrow.

Re Odin, it's not for me per se... I know to tar it, but other less knowledgable users may appreciate Odin flashable versions.
[Samsung Galaxy Nexus] franciscofranco:
Ok, you can twitter/email whatever me when you have that ready. Kernel link its in your twitter.
[Samsung Galaxy Nexus] netchip:
This device has download mode? :eek:

Sent from my GT-I9100
[Samsung Galaxy Nexus] Proyoyo:
Hi Franco,

I flashed your custom kernel 1 hour ago. Now the device seems to be a little bit laggy. I was running custom stock ROM with the ITL41F build number.

Noob question here. I've tried to use my mouse with the USB OTG host cable and it works. When I tried it with my thumb drive, I can't locate the thumb drive in the Root Explorer. Which folder does the thumb drive mounted to?

Regards,

Proyoyo
[Samsung Galaxy Nexus] beekay201:
adb shell su

adb shell mount
[Samsung Galaxy Nexus] Dmw017:
Anxiously awaiting new kernel version ^.^ Any chance of an eta?
[Samsung Galaxy Nexus] Chainfire:
logcat is working, thanks a bunch!

@netchip

Yes, yes it does :)

Every "special" Samsung device I know that has fastboot also has Odin mode somewhere.
[Samsung Galaxy Nexus] netchip:
Download mode is reachable via usb JIG?

Or via vol down + power?

Sent from my GT-I9100
[Samsung Galaxy Nexus] Chainfire:
Both work... just tested :)

Not quite sure how external drives work, maybe you need to manually mount them ?

DSLR Controller works now, so the USB host functionality is working deep down, at least.
[Samsung Galaxy Nexus] jkoljo:
External drives show up as /dev/block/sda1. You have to use mount -t vfat /dev/block/sda1 /your/desired/path. I am using /sdcard/usbStorage.
[Samsung Galaxy Nexus] drdino:
Using root explorer, I don't get the sd1 at the path you mention...:confused:
[Samsung Galaxy Nexus] Vangelis13:
Installation aborted. Anyone else? Maybe a bad download..
[Samsung Galaxy Nexus] kjwalker:
Different kernels can cause different drain causing the battery estimation to be different per kernel.
[Samsung Galaxy Nexus] Redflea:
Thanks for the update, Franco...flashed using the new touch-screen CWM alpha recovery, and booting up nicely.

Really appreciate your efforts on this kernel, you provide quality work and are responsive to feeback, that's very much appreciated.