yashsingh1/xdaforums huggingface dataset:
[myTouch 4G Q&A, Help & Troubleshooting] kpdadroid:
neid, 2 questions!

1. I want to underclock to 768 as well (never messed with CPU settings before) on CM7 RC3 using the system built in setting not set cpu, have you seen any performance degradation?

2. when I revert back to stock from my nandroid, would the CPU be throttled back to default settings or will it stay at 768?

Thanks
[myTouch 4G Q&A, Help & Troubleshooting] neidlinger:
1) on my phone, i use 768Mhz day in and day out, Fruit Ninja, Angry birds, Browser, dialer, navigating the phone in general everything performs EXTREMELY well. I've not had any complaints. just go to settings > cyanogen > performance > CPU > max > 768. Since Cyanogen is a lightweight ROM it doesn't have to push though all the bloat that MySense brings so we can scale it back and still get good results.

i personally do not care for Quadrant scores. but i know some people live by them so i've attacthed a 768Mhrz and a 1016Mhrz Quad score. The names will be the set speed.

2) the CPU speed will revert back to what ever you have it set as on that ROM. So if you left it 1017 in your Nanadroid it'll be 1017 when you flash the restore.
[Thunderbolt Q&A, Help & Troubleshooting] Trev186:
I read in some "review" blog about the Thunderbolt that it was compatible with SDXC up to 128 GBs

Can anyone here confirm that? The blog post was 03/25/2011.
[Nexus One Android Development] pershoot:
-initial release for 2.6.38, for Gingerbread.

-based off of AOSP's dima, android-msm-2.6.38-wip

-merged up to kernel.org's 2.6.38.8

-merged in coolbh3k's oc patch

-frequency range is from 245 to 1113; default bootup is 245-998.

-undervolt some frequencies (max mv is 1275)

-merged in zinx's GAN_ETH wifi calling module modifications

-merged in changes from: cyanogen's cm-kernel, pershoot's kernel-2635, and AOSP's common

-optimisations based off of .35 release from Nexus/DS.

-added/amended a few things to the config (-xtra (please see below and in github)).

-includes rogerpodacter's/loginwithnoname's enhanced battery driver/extensions.

-includes audio boost for in-call audio

http://droidbasement.com/db-blog
[Nexus One Android Development] Markdental:
Will this work if I am not using cm 7?
[Nexus One Android Development] pershoot:
i am unsure if all the bits will work (camera, etc.).

check it out, and see.
[Nexus One Android Development] superg81:
Running now on rc4. No issues found :D
[Nexus One Android Development] crachel:
Tried on OTA GRI40 and camera force close..
[Nexus One Android Development] sosquidtaste:
IIRC, a lot of these custom kernels will have an issue opening the camera the first time. I've had crashes and even phone reboots after first installing an UV/OC kernel.

Try opening the camera again. It usually works fine, and stably after that.

And lest I forget, thanks Pershoot!!
[Nexus One Android Development] pershoot:
Ota does not have the needed camera frame/bits to deal with the current drivers being used.
[Nexus One Android Development] RogerPodacter:
Excellent, I'll try this out tonight.
[Nexus One Android Development] houzuoguo:
Sweet we nexus one owners use the latest Linux kernel <3
[Nexus One Android Development] drive2droad:
Now on CM7 RC4 & your kernel & there seem to be no issues at all !!
[Nexus One Android Development] intersectRaven:
Beaten to the punch! Damn real life! :p
[Nexus One Android Development] Autinhyeu:
Thanks your information :)

im on RC4, ill flash this Kernel now...

Thanks pershoot :)
[Nexus One Android Development] drive2droad:
This kernel seems to be the best combination for CM7 , Performance wise (I can't state for battery usage right now) .
[Nexus One Android Development] pershoot:
battery is great (as it was on the mid-to-later .35 series), from what i can tell, so far. i only have wifi on tho (which uses less power), but it should be good, nonetheless.

make sure to calibrate using rogerpodacter's/loginwithnoname's app! (shameless plug;) ), to get the most out of your specific battery.
[Nexus One Android Development] drive2droad:
where can i get this app ? any market links please ??
[Nexus One Android Development] pershoot:
battery calibrator in Market, by Jon Richards.

then follow this:

http://xdaforums.com/showpost.php?p=9583271&postcount=340
[Nexus One Android Development] phewizzo:
.38? Pardon my french but holy ****!
[Nexus One Android Development] pershoot:
have added this to the droidbasement blog posting under instructions.
[Nexus One Android Development] redstar3894:
I know.... the numbers just keep climbing higher and higher.... :eek:

Sent from my Nexus One
[Nexus One Android Development] phewizzo:
Yes, its very impressive.
[Nexus One Android Development] pershoot:
Push the wifi module in to place from the .zip, manually. It did not copy properly, most likely, from the flash process.
[Nexus One Android Development] pershoot:
Below 245 will not be stable for the masses.
[Nexus One Android Development] pershoot:
refreshing this shortly.
[Nexus One Android Development] pershoot:
nexus - 2.6.38.6 - refreshed - http://droidbasement.com/db-blog
[Nexus One Android Development] pershoot:
can someone please test USB tether, and report back?

thx.
[Nexus One Android Development] pershoot:
0513 kernel ok?
[Nexus One Android Development] mynameisjon:
I can confirm that both Wireless and USB tether work.

Wifi is working too...

I'll report back on stability in 12 hours.

EDIT: 12 hours and still going strong.
[Nexus One Android Development] mynameisjon:
just had a lock up.

last_kmsg
[Nexus One Android Development] pershoot:
Are you using the dewonk app? If so uninstall it.

If you are using the latest cm rls, the dewonk fix may be causing issues for some.
[Nexus One Android Development] pershoot:
That log is also not from my kernel.
[Nexus One Android Development] dyndragon:
Yes, i installed the update zip for the dewonk fix and after about 36 hours i got the wakelock again. Darn...
[Nexus One Android Development] mynameisjon:
hmm seems i may have forgotten to re-flash your kernel after flashing the wonk-fix build.. my mistake. i'll re-flash and test it again.

btw no de-wonk app.
[Nexus One Android Development] eug89:
I'm running cm nightly #74 and your latest kernel. Just happened that I wasn't able to wake up the phonoe anymore and had to take off the battery, happened me only once with the latest kernel though.

Here's the last_kmsg http://pastebin.com/bPG47Wza

P.S. not using dewonkificator
[Nexus One Android Development] pershoot:
Pls look above u.

Roll back to a rls that does not have the wonk fix in. Then observe.
[Nexus One Android Development] pershoot:
anywhoo, same issue with your specific device. i2c bus goes in to error, and causes a crash.

i can't reproduce this (to a state where it crashes the phone out). i also spoke to someone in the past few days who was running a recent .38 (38.5), who does not receive this anymore (phone crashing out).

i am unsure why some devices do it and most of them don't, at this current time.
[Nexus One Android Development] eug89:
Sorry, I've posted after reading just the last two or three posts and thanks for taking a look at my last_kmsg anyway. I really don't now how often I get these i2c errors, I read logs only when I get hard reboots or when I'm unable to wake up the device. Probably I should start taking a look at logs more often.

I don't understand if it's this i2c error you think related to the wonk fix or if it was already there, on certain devices, even before the fix?
[Nexus One Android Development] pershoot:
The symptom is the i2c bus freezing/erroring out.

The definitive root cause, I am unaware of at this current time. Could be a race condition and/or attributed to another component in error.
[Nexus One Android Development] mynameisjon:
i've been using your kernel (for real this time, i checked :p) for the past few days and it's pretty rock solid. everything seems to work, I don't get lockups or random reboots.

yay!
[Nexus One Android Development] mynameisjon:
i think i jinxed it, just rebooted on me while i was typing a message on whatsapp

http://pastebin.com/6gDpfedX
[Nexus One Android Development] Treatcon:
One of the lock screen problems on CM have been sorta tracked down here.

http://xdaforums.com/showthread.php?p=13993495#post13993495
[Nexus One Android Development] pershoot:
SMD: ARM9 crashed. it didn't indicate why that was so. the kernel itself did not panic.

any possible issues with the app itself and running on 2.3.4?
[Nexus One Android Development] mynameisjon:
it happens randomly... like when i'm deleting stuff from my gmail inbox and i accidently press "undo" and delete in quick succession.. :s
[Nexus One Android Development] pershoot:
nexus - 2.6.38.7 - http://droidbasement.com/db-blog ; RM updated.
[Nexus One Android Development] pershoot:
nexus - 2.6.38.8 - gingerbread - http://droidbasement.com/db-blog ; RM updated.
[Nexus One Android Development] momomok:
ARM9 crash seems to be a indicator that your N1 has some hardware fault, according to this post:

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

Maybe it's time to call HTC for service
[Nexus One Android Development] ~semsem~:
thank u pershoot, & waiting for2.6.39.1 :))
[Nexus One Android Development] Mayday_XL:
Thanks pershoot, very good kernel.
[Nexus One Android Development] puttytatko:
thank you pershoot!!! awesome kernel...the best kernel I've ever used with my N1....
[Nexus One Android Development] drive2droad:
the latest ubuntu linux kernel is 2.6.39.0 & brings many performance & reliability updates to linux as a whole .. when can we see that coming to our N1 ?
[Nexus One Android Development] smartphoneguy:
Can this kernel be flashed to a rooted but otherwise stock Nexus One running Gingerbread 2.3.4? Any issues? Will camera and wifi still work?
[Nexus One Android Development] drive2droad:
I don't suppose you could use a cm7 based aosp kernel with a stock rom
[Nexus One Android Development] puttytatko:
You can flash it over stock but some stuff like camera and wifi will not work.. you'll lose a bit functionality..
[Nexus One Android Development] mark_20:
I tried this kernel with the Sense ROMs, RCADSmixHD and the Kingdom Port, and both just hang at the X during boot up. Any thoughts on why, or if this could be fixed?
[Nexus One Android Development] RogerPodacter:
This is a stock AOSP ROM krrnel not a sense ROM kernel, so it won't work.
[Nexus One Android Development] mark_20:
I guess I wasn't clear in my question. I know this kernel, and most others, are for AOSP/CM based ROMs and won't work on Sense ROMs. What would be involved in making a version for Sense ROMs?
[Nexus One Android Development] gtavo:
Awesome kernel in combitation with setcpu, more than 3 days battery life with normal use

Thanks!!
[Nexus One Android Development] drive2droad:
What settings are you using ? can you please elaborate on this as mine doesn't last more than one day !!
[Nexus One Android Development] puttytatko:
I had an interesting read on AXI optimizations on the desire forums... I was wondering if these are implemented in pershoots kernels????
[Nexus One Android Development] n0w4y:
Works perfectly on my Nexus!

btw, does someone know, what's the min mv of this kernel?
[Nexus One Android Development] gtavo:
Sorry, I haven´t read xda for a long time, I´ll answer you now...

First, screen brightness 20-40% (only 100% if needed), I also use black wallpapers, OLED reduces power comsumption a lot with this 2 small tricks.

Second.

SetCpu 2.21

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

Autodetect

-Main-

Max 1075

Min 245

Sacaling: Ondemand

Profiles (enabled)

Temp >50.0ºC Priority 100 max 614 min 245 Ondemand

Charging Priority 90 max 1113 min 245 Ondemand

Screen Off Priority 80 max 245 min 245 Ondemand

Battery <10% Priority 70 max 576 min 245 Ondemand

With this, my batterys last at least 2 days with intensive use.

I hope this will be useful for you too.
[Nexus One Android Development] phewizzo:
Any info on kernel 3.0 pershoot? IR tried getting it to work but no success.
[Nexus One Android Development] drive2droad:
Lately Cyanogen had quoted in one of his posts on Google+ that he is working on porting the 3.0 kernel to CyanogenMod 7
[Nexus One Android Development] phewizzo:
Niceee thats good news.
[Nexus One Android Development] pershoot:
sorry all.

will get back in to the nexus swing of things in the next few days.
[Nexus One Android Development] phewizzo:
Sounds good!
[Nexus One Android Development] puttytatko:
any new updates????
[Nexus One Android Development] drive2droad:
can anybody direct me to a wiki on how to compile kernel for android device , i would like to compile the 3.07 rc5 kernel for the nexus one myself !!
[Nexus One Android Development] pershoot:
ill try my best to work through some stuff this week for it.
[Nexus One Android Development] puttytatko:
pershoot please cook us some of your latest kernel with your awesome tweaks for the nexus too...sorry to bother you, seeing as your are busy with other projects... :) :)
[Nexus One Android Development] pershoot:
g2/nexus - 2.6.35.14/2.6.38.8 - http://droidbasement.com/db-blog ; RM updated.
[Nexus One Android Development] themetatron:
New kernel is running great. Feels much smoother than cm7.1 stock kernel.
[Nexus One Android Development] DaXmax:
Smoother?! How smooth? Is it good in gaming?
[Nexus One Android Development] drive2droad:
the latest stable kernel is shown as 3.04 , any chance as to when it may show up on a Nexus One ... how awesome it could be if its ported before the release of IceCream Sandwich by Google .

I hope you take up coding again for N1 seriously & consider this request .
[Nexus One Android Development] dyndragon:
My N1 is getting occasional (at least once or twice daily) unable-to-wake situations where I have to pull the battery. Phone gets warm too, and is draining the battery. I've had to go back to stock CM7.1 kernel, and I no longer get this problem. Any idea what change might cause this pershoot? FYI, I was on the previous N1 update before this one and had no issues so I don't think this is a UV/OC problem...unless voltage values have changed.
[Nexus One Android Development] pershoot:
Post logs. I cannot reproduce. My n1 stayed alive for days without issue (until battery ran out).
[Nexus One Android Development] dyndragon:
I would certainly post logs, except that I'm finding that when this happens, last_kmsg is not generated. I have to pull the battery, and I think technically the phone did not crash or kernel panic so it didn't create the last_kmsg.

Anyway, if I get one, I'll post it.
[Nexus One Android Development] pershoot:
Were you able to get logs, or has it ceased?
[Nexus One Android Development] dyndragon:
It still freezes, but I never get a last_kmsg. I'll keep trying.
[Nexus One Android Development] pershoot:
Freezing? Something seems wrong.

Dont overclock.

Leave display anim on off.

Flush your system out clean. Flash latest nightly, latest kernel.

If it occurs, flash previous kernel, observe.

Nothing that went in should be causing your issue (it was very minimal).

No one else has reported this either.
[Nexus One Android Development] pershoot:
How did this work out dyn?
[Nexus One Android Development] dyndragon:
Sorry, I will try the suggestions this weekend. It's my wife's phone, and I need to be nearby if it freezes up to help her fix it, so I don't want any risks during the week when she's commuting ;-)
[Nexus One Android Development] MitchRapp:
tried searching ... will this run on Nexus One stock 2.3.6 (unlocked and rooted but running Vanilla GB...)
[Nexus One Android Development] crachel:
you'll probably get camera force closes (discussed for previous Android vs. on 1st page of this thread).. nandroid and give it a shot
[Nexus One Android Development] crachel:
cifs

I've downloaded lib "lib-2638.8_gb.tar.gz" extracted cifs.ko, pushed to /system/lib/modules and can NOT mount SMB shares with CIFSManager

ESFileExplorer finds the shares fine and my other devices do as well.. am I missing something?
[Nexus One Android Development] MitchRapp:
Thanks I will

Worst case, I use Vignette for all pic taking anyways...
[Nexus One Android Development] S_Dot:
Don't overclock?
[Nexus One Android Development] pershoot:
Dyn, how did things work out?
[Nexus One Android Development] ocujos:
Hi Pershoot,

I've tested your kernel on QND MIUI ROM and just like WM and CM kernels, it causes camera flash to fail intermittently when Auto-Focus is enabled. On the original MIUI kernel this works fine.

Would you be able to fix this bug? What tools do I need to "catch" this bug? :)
[Nexus One Android Development] pershoot:
This is only tested and intended to be used for CM.
[Nexus One Android Development] Androidity3000:
i r dumb .........................
[Nexus One Android Development] pershoot:
nexus - 2.6.38.8 - http://droidbasement.com/db-blog
[Nexus One Android Development] DaXmax:
finally!!!!
[Nexus One Android Development] Bi0haZarD:
it's been long time since kernel update, thanx pershoot :D
[Nexus One Android Development] jolinnard:
Hi @pershoot.

I'm trying to boot my N1 with lastest kernel, but it seems that my /sd-ext partition can't be mounted. Maybe can be caused by this change?

Any recommendation? logcat don't show anything about that, only that can't find /data/dalvik-cache which is a symbolic link to /sd-ext/dalvik-cache. If I flash another old kernel boot is fine.

Thank you!
[Nexus One Android Development] pershoot:
why is there a sym link from sd-ext to dalvik? do you have your dalvik on sdcard and trying to mount it as ext2?

mine boots fine. cm nightly 253, CWM5.

# uname -a; cat /proc/mounts

uname -a; cat /proc/mounts

Linux localhost 2.6.38.8-cyanogenmod+ #1 PREEMPT Thu Nov 24 02:04:42 EST 2011 ar

mv7l GNU/Linux

cat /proc/mounts

rootfs / rootfs ro,relatime 0 0

tmpfs /dev tmpfs rw,relatime,mode=755 0 0

devpts /dev/pts devpts rw,relatime,mode=600 0 0

proc /proc proc rw,relatime 0 0

sysfs /sys sysfs rw,relatime 0 0

none /acct cgroup rw,relatime,cpuacct 0 0

tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0

tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

/dev/block/mtdblock3 /system yaffs2 ro,relatime 0 0

/dev/block/mtdblock5 /data yaffs2 rw,nosuid,nodev,relatime 0 0

/dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev,relatime 0 0

/dev/block/mtdblock5 /cache/download yaffs2 rw,nosuid,nodev,relatime 0 0

/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0

/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,u

id=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset

=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relat

ime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,ioch

arset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
[Nexus One Android Development] jolinnard:
I have app2sdext

# ls -l /data
[...]
lrwxrwxrwx 1 0 0 11 Sep 22 23:23 app -> /sd-ext/app
lrwxrwxrwx 1 0 0 19 Sep 22 23:23 app-private -> /sd-ext/app-private
lrwxrwxrwx 1 0 0 20 Nov 2 18:49 dalvik-cache -> /sd-ext/dalvik-cache
drwxrwx--x 1 1000 1000 2048 Nov 21 20:17 data
lrwxrwxrwx 1 0 0 13 Sep 22 23:23 local -> /sd-ext/local
[...]

# mount | grep sd-ext
/dev/block/mmcblk0p2 on /sd-ext type ext3 (rw,noatime,nodiratime,barrier=1,nodelalloc,data=writeback)
[Nexus One Android Development] pershoot:
Thats why.

Why not mount as ext4?
[Nexus One Android Development] pershoot:
also, your apps2sdext would also fail on a recent cm-kernel, if you were to ever flash a recent build (as of nov. 3rd; when the change went in).

i could revert it, if many people are doing the same and experiencing the same.

pls let me know...
[Nexus One Android Development] jolinnard:
I'll try to mount as ext4

Thank you

Edit: Kernel boots fine changing the init script to etx4. It isn't necessary to change the partition itself. Any option recommended to mount as ext4? Right now I've:

mount -o commit=19,barrier=0,noatime,nodiratime -t ext4

Thanks again.
[Nexus One Android Development] Ownatik:
Nothing else to say except that I've not had a better battery life since ... probably since I own my N1. I almost reget pre-ordering the nexus galaxy which i'll get in 2 weeks.
[Nexus One Android Development] ocujos:
If you use S2E on CM7.1, make sure you enable "Mount as EXT4" in S2E settings before booting into recovery to flash this kernel.

Pershoot,

You're a legend! This is the best kernel for N1! I've tried them all and I keep coming back to Pershoot. The best battery life of any kernel out there.
[Nexus One Android Development] Pr0fess0rX:
Why it turns off /hangs my N1? I have to remove the buttery then plug it again in order to turn on the device?

I have MIUI 1.11.25 and tried on a versions before I got the same results! when I install it the mobile works great but after sometime it hangs the phone
[Nexus One Android Development] pershoot:
This is meant for cm not miui.

Flash to cm then try to reproduce. If u can, then post logs.
[Nexus One Android Development] jolinnard:
I have spanish MIUI deodexed version and it works fine for me now (after change type of /sd-ext partition to EXT4), so this kernel works on MIUI.
[Nexus One Android Development] Pr0fess0rX:
But MIUI's kernel is based on CM's kerenl?

Do you mean if I converted my ext parition (/sd-ext) to ext4 it will work fine?
[Nexus One Android Development] jolinnard:
I didn't convert anything, just change type in the ROM (file /system/etc/init.d/04apps2sd). You can do it with S2E too.
[Nexus One Android Development] gtavo:
I love your kernel, I've used them since I had my HTC Magic rooted!!!

One question, what do you think about all the variety of governors, smartass v2, lazy, interactiveX...., I'm a little lost, don' t know if them are usefull or not, and why don't you add any of them to your kernels?

Nexus One - Tapatalk
[Nexus One Android Development] pershoot:
I prefer ondemand.

Interactive is nice but can cause some odd behavior (with high oc, etc.)

The others i have not tried.
[Nexus One Android Development] themetatron:
The only time I've experienced any hanging or freezing, I had screen on animation enabled with OC @1075.
[Nexus One Android Development] pershoot:
Screen on anim is known to have issues with oc.

You should leave it off.
[Nexus One Android Development] Saphroxx:
Hi pershoot, just like so many others I am a firm believer that your kernels are the best out there available to our precious devices.

I do have a little question for you though. I am on CM7.1 stable, I stopped flashing nightlies every few days because of the instability it sometimes comes with. Now my question is, is your latest N1 kernel 100% compatible with the somewhat "older" stable CM7.1?

Your latest kernel was compiled approx. 2 months after 7.1 stable was released, so I'm wondering if there is some new stuff added in the kernel that could possibly mess up something in the 2 month older ROM CM7.1. I know that for example in the latest nightlies, so after the CM7.1-STABLE release, the partition layout was changed from /cache being 60M to 2M because of the script that moves cache to /data in case /cache is full. SO this is what I'm a little worried about =)

Thx in advance for your input.
[Nexus One Android Development] gunnerhk:
Hello.

Awesome kernel.

I have one problem though. The phone always hangs when I leave it overnight.

I have to pull the battery to reboot the phone.

I changed the min CPU frequency to 384 from 245 and the problem went away.

I presume my phone cannot take the low voltage for the 245 frequency.

Its not a big problem, since with your kernel battery lasts for a long time even with the 384MHz frequency :)
[Nexus One Android Development] pershoot:
Can u pls post logs?

I can increase it if need be.

Thx.