yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] decayed.cell:
Hm frequent FC on Desire ROM with 800mv using 1.10. 1.08 was fine. Also intersect's 800mv was fine too. So I'm guessing its to do with the VFP changes
[Nexus One Android Development] kbeeveer46:
I flashed this kernel once before but when i went to do it again today I got the following error. I flashed the zImage file just fine but got this error with bcm4329.ko. Both my zImage and bcm4329.ko files are located in the tools directory. And I verified that my device appears in the list when I enter adb devices. USB debugging is on. Anything I'm missing? Thanks/

C:\Users\me\Documents\android-sdk-windows\tools>adb push bcm4329.ko /system/lib/modules/bcm4329.ko

failed to copy 'bcm4329.ko' to '/system/lib/modules/bcm4329.ko': Read-only file system
[Nexus One Android Development] decayed.cell:
Did you do an adb remount?
[Nexus One Android Development] kbeeveer46:
Thanks. I'm an idiot. I totally missed that step :\
[Nexus One Android Development] veldargk:
Take care of your priorities, Ivan! I am anxiously awaiting another release from you. I have found yours to be the best so far :)

Jim
[Nexus One Android Development] jblazea50:
here's something that makes flashing kernels using adb/fastboot easy:

Use ADB GUI by minooch found here:

http://xdaforums.com/showthread.php?t=666964
[Nexus One Android Development] schahr01:
I should have read the first post more carefully. I thought it was .33.3 - What's the estimate on using that base? Not waiting for .34 right?
[Nexus One Android Development] schahr01:
Looks like Raven backed out of some wifi commits. Went to psyq321's github to check for these commits but I only see 1 public project, "nexus_one_kernel_additions", and that project only has updates/commits to acpuclock-scorpion.c

Ivan - Is that because the project you're using to build the diet kernels isn't public?
[Nexus One Android Development] Ivan Dimkovic:
Project is Cyanogen's source with the AVS additions.

I'm still tweaking the AVS code a bit, and as soon as I am done I'll publish it on my github.

Will move to .33.3 over the weekend :)
[Nexus One Android Development] schahr01:
Excellent. So does that mean Cyanogen's source is moving to .33.3 over the weekend based on logical deduction? :)
[Nexus One Android Development] Part Four:
I pushed the bcm4329.ko file from diet_2.6.33.2.hybrid_avs_800mv, but my WiFi is still broken.
[Nexus One Android Development] Ivan Dimkovic:
Not really :)
[Nexus One Android Development] pershoot:
cyanogen already merged 33.3 mainlne in to his git.
[Nexus One Android Development] Ivan Dimkovic:
Ah... sweet.

I haven't really checked Cyanogen's git since the last release... but I definitely will on Friday...
[Nexus One Android Development] Ivan Dimkovic:
Just moved to 2.6.33.3 - will be doing AVS & stability testing overnight and if all is well - releasing tomorrow.
[Nexus One Android Development] schahr01:
Earlier in the thread it was thought that the 128MHz frequency might have been a "bug". Have we since moved away from that? I use my setCPU sleep profile to use 128 for min/max and I think that's a big contributor to me draining ~1% per hour. So although I am not technically using the 128MHz :) since it only kicks in during sleep I don't see any adverse effects.
[Nexus One Android Development] Ivan Dimkovic:
I decided to keep 128 MHz as long nobody sees any adverse effects.

Btw, 2.6.33.3 seems to be working fine so far.
[Nexus One Android Development] pschyska:
[Kernel-.33.2][DIET][04/26] CM 5.0.6, 8 MB+ RAM, Hybrid AVS **STABLE**, Optional OC

Any chance to get an update.zip with Kush' Anykernel Skript? or does someone know an app that can. apply fasboot flash from running system?

Sent from my Brainz
[Nexus One Android Development] Ivan Dimkovic:
Okay, if update.zip is what people want... :)
[Nexus One Android Development] jblazea50:
sorry if this is too much to ask, but some people prefer the zimage/bcm way to flash the kernel using adb/fastboot because sometimes the update.zip end up messing up desire camera or theme

i have no issues with the update.zip as i can always extract the zimage/bcm from the update.zip

can't wait for you to do the optimizations on the .34rc5 kernel by termana, hope that works out well
[Nexus One Android Development] pschyska:
I'm not always near a computer when I get that itchy "need to flash kernal" feeling :-)

Loving the 128 freq step, can we go even lower? I think my phone just needs to be able to ring when a call comes in. As soon as the screen goes on, im on 1GHz via SetCPU.

Also, I'm wondering if one could build the wlan module directly into the kernel, that way we wouldn't have to push the module everytime. There is really no need to build any driver as module, as the hardware on the nexus is always the same, I'm thinking?
[Nexus One Android Development] joelinux:
n00b help...

Hey there...I'm new to xda-developers, and phone modding in general...

We are planning on putting stock gentoo arm linux on a nexus one to use it as embedded development board.

Unfortunately, that means we need to monkey with the kernel, so we need a valid kernel config to start from (we are going to be modding the crap out of it). We have tried to do it on our own, but the nexus one appears to be panic'ing. We have no way of determining why it is doing this.

We are able to get the gentoo up and running inside a chroot when android is running, even to the point of utilizing the android IP stack to download and compile packages inside the chrooted partition.

We are currently running 2.6.33. However, even if you have a stable 2.6.32 kernel config, we can always "make oldconfig"

Thanks again,

Joe
[Nexus One Android Development] Veovis:
u may start wth cyanogen's .config, but it seems android kernel and vanilla linux kernel are a bit different.

About compiling on the nexus, compilation needs lot of ram. what about cross-compiling from a gentoo-pc to make binary packages ?
[Nexus One Android Development] SeriousX:
Ivan, is there any comformation on issue that 800mV drains battery faster than 925mV Kernel?
[Nexus One Android Development] ratson:
can this also be used with MoDaCo desire port? or only cyanogen 5.0.6?
[Nexus One Android Development] Ivan Dimkovic:
Testing some more tweaks (CFQ scheduler, removed more unnecessary stuff such as support for 2TB+ files, etc...)

If it is stable I'll post it tomorrow
[Nexus One Android Development] jlevy73:
Thanks Ivan, much appreciated.
[Nexus One Android Development] Mantisen:
I've been running this kernel for a couple of hours now, it works great except that I can't activate my Wlan.

I've gone like this: CM 5.0.5.3 -> Desire black bar mod -> Desire camera -> Pershoots UV kernel (pushed the lib folder he included) -> This kernel (pushed the bcm4329.ko) -> flashed the JIT update.zip -> flashed r2 Desire Camera

So, if anyone knows how to sort the wlan issue out I'm all good :). I suspect that it can have something to do with running Pershoots lib(?) but that's just a speculation.

Would be awesome if I don't have to reflash everything but I probably will if no one have a quick-fix :)

Update:

I figured I'd try with some different bcm4329.ko files to get it working and voilà! I downloaded the .ko file from http://n0rp.chemlab.org/android/nexus/testing/ pushed it in and wlan was able to start up and connect!

It's nice when mellon actually is the right password! :)
[Nexus One Android Development] Ivan Dimkovic:
You probably overwritten bcm4329.ko with one built with pershoot's kernel - try pushing it again (always use the bcm4329.ko which belongs to the same kernel build you use, otherwise it might not work thx to the great Linux driver model design :) )

Also, CFQ kernel with more peeling seems to be working fine - I will post it tomorrow morning!
[Nexus One Android Development] hotweiss:
Here are some possible changes that you can make:

CONFIG_LOG_BUF_SHIFT=12 (instead of 17, smaller log buffer, this won't decrease the kernel size, but theoretically it's a tweak, lol)

CONFIG_TUN=n (turning TUN off I think saves 100 kb's or so (I think), and hardly any one uses tunneling)

The rest of the memory can be acquired by turning off unneeded file systems (sorry no A2SD).

CONFIG_EXT4_FS=n

CONFIG_FS_POSIX_ACL=n

CONFIG_AUFS_FS=n

CONFIG_NETWORK_FILESYSTEMS=n

CONFIG_CIFS=n

CONFIG_LOCKD=n

CONFIG_LOCKD_V4=n

CONFIG_EXPORTFS=n

CONFIG_NFS_ACL_SUPPORT=n

CONFIG_NFS_COMMON=n

CONFIG_SUNRPC=n

CONFIG_SUNRPC_GSS=n

CONFIG_RPCSEC_GSS_KRB5=n

I'm no Linux expert, but I think the above can help. And hopefully all of this gives you the 300 kb's that you were looking for. If you still have room, I guess you can re-add ext4 support for A2SD.

I think for the majority of us living without A2SD, exotic file system's, and tunneling will be OK.

The 2.6.33 kernels are so much different as compared to the 2.6.27 kernels. So I'll keep on looking to see if there's anything else we can turn off.
[Nexus One Android Development] Ivan Dimkovic:
Thans hotweiss, I will try it tomorrow (it is late here already)

I also noticed that there is Ethernet support in the kernel...

I am not really sure if this is needed for anything (certainly we have no such hardware :) ) - so I just removed 10 Gbit Ethernet support for now - but I will try kicking others out.

I guess it should not be needed for anything, as there are dummy network devices...
[Nexus One Android Development] gregnotcraig:
USB Tethering?
[Nexus One Android Development] mikroN1:
Everytime you flash a kernel on top of another one, it replaces the other. So flashing this on top of pershoots UV replaces it. I'm not sure what the JIT update is but if it's a kernel then that replaces this kernel as well.
[Nexus One Android Development] hotweiss:
Oh no, USB tethering is my main method for connecting to the internet. Don't turn that off plz :) (if it is for USB tethering)
[Nexus One Android Development] evidenc3:
So as I did in his, I'll be 'that guy' and ask what differs between your and intersectRaven's kernel :) Looks like you guys are using similar tweaks/patches, but you have overclocking support also?
[Nexus One Android Development] seanowns:
Please give us an obvious heads up if you remove A2SD because some of us do use it... Love all the work everyone is doing on kernel tweaking. I have been testing them all.

Thanks.
[Nexus One Android Development] irishrally:
I'm trying out this kernal but I keep getting continuous force closing of launcher 2 (helix) when I startup. Maybe I'll try regular launcher.

Kind of off topic, but when I do ./adb devices I don't see any serial number, but I can still flash kernals but when I ./adb remount it says it can not find the device.
[Nexus One Android Development] Markdental:
That's a known issue of the helix launcher.
[Nexus One Android Development] evidenc3:
With persians undervolted (not OCd) kernel I rarely ever saw Helix FCs, but with this one and intersects (which are very similar) I am getting them much more often. Yea he is releasing Helix 0.7 soon so hopefully that helps, but whatever interoperability or issues were going on these kernels seemed to further it. I know it's a memory hog and resource intensive in 0.6
[Nexus One Android Development] rcxquake:
Battery Charging

When running your kernel (both normal and _xtra) I am unable to charge my phone. It will sit on the power charger, listed as "charging", but will continue to drain power from the phone. Under spare parts -> battery information, the "Battery status" field reads full. However, battery level is NOT 100. Reverting to another kernal fixes this issue. I'd love to use your kernel, but being unable to charge my phone is a bit of a killer for me.
[Nexus One Android Development] RaistlinMaje:
been using this for the full day for the most part off the charger (had to plug it in to re-push the wifi driver) screen has been on half brightness, 3g off and wifi on, right now its saying I have had it unplugged for 8 hours. I used setCPU to have the cpu running at 245000 - 652800 and using the powersave Governor. I'm so far pretty pleased with it :)

edit: forgot to mention its still at 17% battery life right now. performance seems a bit weird lately but I'm not sure if that is kernel related or underclock related.
[Nexus One Android Development] big_adventure:
Just loaded the xtra kernel onto CM 5.0.5.1, with 4.04.00.03_2 radio, desire cam v1 and setCPU now set for 1113Mhz.

BenchmarkPI 2498, Linpack 7.891 immediately, with Wifi, 3G, sync, etc. all on.

Logcat during boot shows a pretty clean startup, with only these lines indicating something unexpected :

I//system/xbin/busybox( 52): +++ "In a world of deceit, open your eyes. Don't be afraid and you realize......"

I//system/xbin/busybox( 52): +++ Welcome to Android 2.1-update1 / CyanogenMod-5.0.5.1-N1

I//system/xbin/busybox( 52): modprobe: chdir(2.6.33.1-psyq_uv_xtra): No such file or directory

I//system/xbin/busybox( 52): run-parts: /system/etc/init.d/04modules exited with code 1

I/logwrapper( 52): /system/xbin/busybox terminated by exit(1)

E/libEGL ( 107): eglSetSwapRectangleANDROID:1743 error 3008 (EGL_BAD_DISPLAY)

E/SurfaceFlinger( 107): eglSwapBuffers: EGL error 0x3008 (EGL_BAD_DISPLAY)

There are a lot of messages like this:

W/ResourceType( 107): Resources don't contain package for resource number 0x7f020047

Performance seems very snappy (better than Raven's kernel - which seems to add some hesitation going between home screens). Everything I've tried seems to work beautifully (Seesmic, Facebook, Desire Cam, Gmail, GTalk, Astrid, Calendar) - I'll comment more later.
[Nexus One Android Development] big_adventure:
Actually, when you flash Paul's Desire camera mod, it rewrites the kernel with the one that Paul changed to support the camera. however, as the Desire update is meant to be placed over STOCK CM 5.0.5.3, it doesn't need to change the .ko file, and does not.

So what you have done, in effect, is correctly apply Ivan's kernel and .ko file, and then re-apply a kernel that needs Cyan's default .ko file. This breaks your WiFi. When you went out and found another Cyan-compatible .ko file and pushed it, you "fixed" the problem, but you are not running any part of Ivan's kernel now, and you also don't have overclocking available (if you wanted that).

What you should do is reflash this kernel and this kernel's corresponding .ko file if you want the OC and UV-ing, or stay where you are if you are happy.
[Nexus One Android Development] youkell:
Hi

Good job!

Is it possible to flash it via terminal?

Thx!
[Nexus One Android Development] Ivan Dimkovic:
Hmm, definitely works here - and charging, at least the new kernel (which I'm posting soon)

What ROM do you use?
[Nexus One Android Development] joelinux:
1) Great! I think I missed it, but where is the .config?

2) I've gotten the kernel to compile already. I just don't think I had the right options enabled (I get no response, and there is no entry in the log files) Granted, it's not as fast as my quad-core, but it does mean I don't have to worry about incorrectly cross-compiling it.
[Nexus One Android Development] ratson:
when i try to turn on my wifi i get

E/wpa_supplicant( 669): Failed to initialize control interface 'tiwlan0'.

E/wpa_supplicant( 669): You may have another wpa_supplicant process already running or the file was

E/wpa_supplicant( 669): left by an unclean termination of wpa_supplicant in which case you will need

E/wpa_supplicant( 669): to manually remove this file before starting wpa_supplicant again.

I/wpa_supplicant( 669): CTRL-EVENT-STATE-CHANGE id=-1 state=0

and it closes itself. what can be the problem???

i have installed as told...
[Nexus One Android Development] dixxa:
http://wiki.cyanogenmod.com/index.php/Building_from_source#Prepare_Kernel_From_Source

Just take a look at point .5 I think that's what is talking about ...

here is the config.gz in the cyanogen 5.0.6. rename it, remove the .txt
[Nexus One Android Development] dextroz:
I have just installed the version 33.2, 800mv on my enomther 1.8.1 ROM. I will post back with updates on battery life and performance issues if any.

Thanks :-)
[Nexus One Android Development] ratson:
what battery life do you get? i let my N1 for night and it drained 20% in 10 hours while idle. is this ok? i got like 10% drain with my Hero previously during a night.

one other thing: i had an option on my hero: 'always on mobile' which is missing from cyan5.0.6. do you know anything about it, where it can be set? i don't need always to be on mobile data, only check periodically.
[Nexus One Android Development] BlueScreenJunky:
I think you're looking for an app called "juice defender".
[Nexus One Android Development] dextroz:
I have mobile data always on since I run latitude and email. I am also losing 20% overnight.

However, with the 800mv, I did manage to pull 12 hours of battery life for the first time yesterday.
[Nexus One Android Development] ratson:
ok, so 12 hours is normal :))

ehh i got much more with my hero :)))
[Nexus One Android Development] dextroz:
I will try to use setcpu in a couple days to see how that helps further.
[Nexus One Android Development] ratson:
i have set up setcpu and juice defender, will report back how they helped to improve this poor battery life :)
[Nexus One Android Development] Ivan Dimkovic:
New update available - moved to 2.6.33.3 kernel

I'll try to post update.zip files soon - I need to find somewhere to host them as well :)
[Nexus One Android Development] loganno:
what improvements we have with 33.3?

Thanks for Everything
[Nexus One Android Development] jblazea50:
you can try hosting using megaupload or mediafire
[Nexus One Android Development] jblazea50:
i pushed the 800mV AVS version but the wifi doesn't work; i just says Disconnected even though the network is available
[Nexus One Android Development] milton007:
SAME

Same here...tried all four!
[Nexus One Android Development] jblazea50:
yeah, just tried the 800mV OC and still the same issue with wifi; just says disconnected and will not connect
[Nexus One Android Development] SeriousX:
I'l stick to previos version untill this clears up ) Steel interested in issue that 800mV core draid battery more than 925mV.
[Nexus One Android Development] schahr01:
+1

Wanted to give the latest diet kernel a try after test driving Raven's latest 800mV BFS kernel. Wifi doesn't connect. Will check back later, going back for now. Still appreciate all the hard work that's put in. Would like to know root cause for the wifi issues if it's possible.
[Nexus One Android Development] ratson:
hi, this one made wonders, thank you...
[Nexus One Android Development] Ivan Dimkovic:
I confirm WiFi problems.

I'll debug later today
[Nexus One Android Development] phunghoang24:
Phunghoang24

reboot when i take photo!

i use Oc 33.3 min 800

If it happen some think then i post here!
[Nexus One Android Development] ratson:
could you please build this in:

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

would be fine along with the working wifi ;)
[Nexus One Android Development] ratson:
can it happen that the (800mv) kernel and my dropping 3g connection is related?

i have an issue that 3G or even HSDPA is displayed in my notification bar, but i get no internet connection. sometimes i get, but i don't know when.

tryed with a different phone and no problems... i am now reverting to 33.2 925mv... any other idea?
[Nexus One Android Development] ratson:
it seems there is not much live in this thread :)

@Ivan do you plan any update?
[Nexus One Android Development] kbeeveer46:
Did anyone else's Wifi stop working after applying the zImage and bcm4329.ko files (diet_2.6.33.3.hybrid_avs_800mv.zip) after the update on May 2nd? I can't connect to my home wireless anymore. I have a laptop that can connect to it just fine. When I try with my phone it never says "Obtaining Address" in the Wifi settings and doesn't look like it ever tries to connect. I don't have any other wireless networks to test with.

Any ideas? Thanks.
[Nexus One Android Development] jblazea50:
It is a known issue that Wifi doesn't work with his latest update and he said he'll fix it when he has time.
[Nexus One Android Development] kbeeveer46:
Any idea how we can replace this kernel with one that works (the stock one?)?
[Nexus One Android Development] jblazea50:
just use any other kernel you want and flash it either via recovery or using adb/fastboot commands
[Nexus One Android Development] joeavery2:
I hope so soon, I'm not sure what causes it but in the last two days it has been getting real sluggish. I've read that there is a issue with on demand speed switching but I haven't messed with it too much. I seem to get about a day or two before it crashes on me, and most often when it does it gets in a boot loop, wipe battery stats normally helps but not every time.

I'm hoping these issues are resolved in the new kernal, I upgraded but had to revert when I realized that wifi didn't work.

Thanks, keep up the good work!
[Nexus One Android Development] ratson:
i found this one the best available kernel, would like to see an update with +21Mb RAM hack...
[Nexus One Android Development] dirwdirw:
why dont ivan update this kernel ?

i am looking forward to
[Nexus One Android Development] SeriousX:
Maybe he is busy with updating kernel, or with some other things ) We all have more important things to do in real life )
[Nexus One Android Development] joeavery2:
OK so I adjusted set CPU to switch frequency Max at 40% battery life vs before at 50%. It now crashes when the battery get to 40%. I'm thinking the issue is with set CPU or it's interaction with the kernel. Anyone have any ideas? I was hopping to switch to the new kernel but the wiring issue is a hold up for me.
[Nexus One Android Development] joeavery2:
Forgot to add that I'm running the .850v kernel 2.6.33-2 Diet, so my issue may be resolved by the new one,as well as I just switched to the .925v of the same build, we'll see if it is a voltage issue with my CPU or not.

Thanks, Keep up the good work!
[Nexus One Android Development] Kostassti:
I've got a problem... I can't push the .ko because after the "adb remount" command the answer is "error: device not found". Any suggestions? Thnx...
[Nexus One Android Development] nyzrox:
Hi,

I installed Diet Android Kernel 2.6.33.2 800.

I ran through zimage with fastboot and push the bcm4329.ko to the /system/lib/modules:

However my Wifi doesnt work after pushing the file.

Phone has been rebooted.

Latest CM Rom

Latest Amon Recovery
[Nexus One Android Development] nyzrox:
???

Id like my wifi back...
[Nexus One Android Development] schahr01:
Broken wifi is a known issue with the latest kernel in this series. Your only option at this time is to go to another kernel. Check out intersectRaven's Kernel.
[Nexus One Android Development] nyzrox:
I did, i got some other 1 that works.

http://droidbasement.com/

1 from there.
[Nexus One Android Development] androidisthefuture:
im a total noob i dont know how to flash using fastboot somebody help??
[Nexus One Android Development] JHaste:
dont bump an old thread for no reason... there are plenty of tutorials, check some of the sticky pages
[Nexus One Android Development] meechto:
The kernels on this thread have not been updated for quite a long time now. Could you please share the version of your ROM as well as that of the Recovery? This will help us suggest you better. :)
[Nexus One Android Development] LukeGT91:
Error, HTC Desire CM 6.1.1

Hey guys, this will probably be a complete noob question, but when I try to flash the diet kernel I get the following error:

C:\Program Files\Android\android-sdk-windows\platform-tools>fastboot flash zimage zImage

sending 'zimage' (2160 KB)... OKAY [ 0.331s]

writing 'zimage'... INFOsignature checking...

FAILED (remote: signature verify fail)

finished. total time: 0.555s

I have an HTC Desire and I'm running CM 6.1.1. I'm not sure if it's because I'm running CM 6.1.1 that I'm getting an error, but I figured that the kernel was only BASED on CM 5.0.6's kernel and didn't require that the outdated version of the ROM be installed.

I have no idea what that error means, so if anyone could tell me some of the reasons why it might crop up and how I can fix them, it would be greatly appreciated.

Thanks in advance :)