yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] zyr3x:
thanks for the lazy. new core is stable. Ckztools updated with support for lazy
[Nexus One Android Development] avgjoemomma:
Lazy seems to be worse on my battery than SmartAssV2
[Nexus One Android Development] magma9495:
I'm a bit confused. I was looking at the downloads here but I'm not sure what the difference between all of them are. I'm running CM7.1, can anyone tell me what AVS/CAVS is, and which one I should download?
[Nexus One Android Development] samarium:
Try reading the first post.
[Nexus One Android Development] taney:
+1

RTFM! :P
[Nexus One Android Development] magma9495:
Oh wow, woops, missed that. I was taken away by the massive changelog :P my bad.
[Nexus One Android Development] ZhekaS:
Trying to use the skvalex's CallRecorder trial alpha 39, but the outgoing voice recorded extremely low with IR kernel and few others (CM7.1 stock, wildmonk's, tiamat). Anything to do with this? skvalex blames the kernel.
[Nexus One Android Development] avgjoemomma:
Would you be able to incorporate some of the tweaks knzo is doing? http://xdaforums.com/showthread.php?t=1336824
[Nexus One Android Development] intersectRaven:
I think some of them are already in the kernel. Also, he doesn't seem to have a github or patch download so I can't examine the rest of the improvements. Other changes like the Veno will be in the next kernel release once I can get my Mjolnir compiler back up and running. (it's been really not working lately and Redstar and I don't have much time to trace the problematic commit...) :p
[Nexus One Android Development] avgjoemomma:
Sounds great! I'm not too interested in Veno as we have CUBIC ;) Also, next time you compile, can you enable CONFIG_SYNCOOKIES ? Thanks :D
[Nexus One Android Development] intersectRaven:
I'm quite undecided with the Veno part. I just go with what I see in other kernels as I trust that they tested that part before switching. :p

As for SYNCOOKIES, why do you need it? I don't believe it's as necessary on a mobile device than a server. :confused:
[Nexus One Android Development] avgjoemomma:
SYN cookies combined with some other sysctl settings should help against tools like WiFi Kill since it uses that type of attack. Hardening our TCP stack would be helpful :p. This is my current set up. I'm just waiting for SYNCOOKIES to be enabled :)

sysctl -w net.ipv4.tcp_syncookies=1

sysctl -w net.ipv4.conf.all.rp_filter=1

sysctl -w net.ipv4.conf.default.rp_filter=1

sysctl -w net.ipv4.tcp_synack_retries=2

sysctl -w net.ipv4.tcp_syn_retries=2

sysctl -w net.ipv4.tcp_max_syn_backlog=1024
[Nexus One Android Development] cpm:
+1
[Nexus One Android Development] Menelkir:
Perhaps just a matter of configuration, like setcpu? (I didnt use it yet, Im just trying to help)
[Nexus One Android Development] avgjoemomma:
I did play with it quite a bit but it SmartAssV2 seems to keep the phone in deep sleep much better. I'm not sure if Lazy has a similar implementation for screen state but that could what's missing.
[Nexus One Android Development] intersectRaven:
AVS Kernels updated. :)
[Nexus One Android Development] avgjoemomma:
Beautiful update! Time to test out syn cookies :D
[Nexus One Android Development] jameztcc:
Hi, I'm not sure about droidsheep, but with latest kernel and your sysctl, I managed to Mitm Facebook + LinkedIn apps cookies using arpspoof, dnsspoof, webmitm and wireshark. Decided to just ditch these vulnerable apps and use browser https versions.

Sorry to OT, just want to share feedback of latest kernel and the sysctl .

Fyi, am using latest AVS kernel, smooth with lazy.
[Nexus One Android Development] avgjoemomma:
Actually syn cookies are lower level and not like browser cookies. I just completed one test and it's working as expected. This is going to be awesome!
[Nexus One Android Development] momomok:
so... what exactly are these cookies?
[Nexus One Android Development] avgjoemomma:
http://en.wikipedia.org/wiki/SYN_cookies

Explains a lot better than I could :D
[Nexus One Android Development] cpm:
What difference is it going to make (to me)? I quickly read the Wikipedia page, but I'm no network admin. So in simple terms is this something the rest of us should be excited about?
[Nexus One Android Development] avgjoemomma:
Well, you're right :p. For most people, they won't need to worry about this but I'm a bit paranoid and like to secure my devices as much as possible. Syn attacks are just one type of attack that might be used against your phone when connected to a network. Worst case for most people would be their phone getting knocked off the network but a more sophisticated attacker could use similar techniques to gain root access...
[Nexus One Android Development] cpm:
Cheers for the reply and simple explanation :)
[Nexus One Android Development] dreamhunterr:
Hi there,

Thank you for the great kernel, but currently there's a bug that keeps degrading my experience. I use, besides App2SD, Data2SD. That makes device performance highly dependant on IO performance.

Lately, in your kernel, I noticed some sluggishness, so I did some benchmarks of my SD card (class 6) using SD Tools.

Using the default CyanogenMOD kernel I get ~22 mb/s of read speed.

Using your kernel I get around ~5 mb/s of read speed.

Any chance of investigating this issue?
[Nexus One Android Development] cpm:
Wow, that's some difference.

I use S2E, but don't notice any degradation in performance using IR's kernel.

I'm using a 16GB class 4 card with 1GB ext4 partition. I've no swap setup on the card.
[Nexus One Android Development] dreamhunterr:
Then could you use the above mentioned SD Tools and benchmark your read speed?

Ideally you should also test with the default CyanogenMOD kernel and compare :)
[Nexus One Android Development] :
small difference between 11/11 ir kernel and cm+ 0.4.

tested w/ a 16gb lexar class 6 card
[Nexus One Android Development] dreamhunterr:
Small? Are you kidding? Look again at your own pictures! :)

You get read speeds of 6.2 mb/s in iR-kernel and 25.8 mb/s in cm+ (which is to a great extent pretty much stock cm-kernel)!

This should not impair performance at all if you don't use APP2SD. If you use APK2SD not really as well. But those who use DATA2SD (like me)

notice a serious performance degradation

.

Glad someone could duplicate my findings though, hope this can contribute to a fix! I love the kernel and it's a shame I can't use it due to this bug :)
[Nexus One Android Development] :
that was meant to be sarcastic.

and i notice the performance difference even while not using any app2sd hacks.
[Nexus One Android Development] dreamhunterr:
Oh, lol. I meant no disrespect. Thank you for the help with the issue.
[Nexus One Android Development] intersectRaven:
Can you test with pershoot's kernel to see if speed is the same as CMs? My sdcard's speed is crap so I can't really do these tests which is why I can't fix this. :o
[Nexus One Android Development] dreamhunterr:
Sure. In pershoot's latest kernel for the N1 the read speed is perfectly normal (in my card around 22 mb/s).

I might add that besides the huge decrease in read speed, the write speed also drops a little (about 1 mb/s), don't know if this fact is of any help.

Thank you for everything,
[Nexus One Android Development] intersectRaven:
Ok. I'll try to rebase everything again when I can. Too busy playing Skyrim right now... :p
[Nexus One Android Development] cpm:
I get around 5.9MB/s for both read/write using IR kernel.

Will try CM stock kernel next.
[Nexus One Android Development] cpm:
Just tested CM stock kernel. 6.8mb/s write and 13.7mb/s read.

So from my tests there does undeed appear to be a hit on read speeds, and a smaller impact on write.
[Nexus One Android Development] cpm:
Back on IR now and ran a final test.

4.7mb/s write and 5.9mb/s read.
[Nexus One Android Development] maxofmin:
There must be something wrong with SD tools on my nexus 1. I got 5M of write speed & 13M of read speed on CM+ 0.4 and guess what? I got 7M of write speed and 50M of read speed on IR's kernel!
[Nexus One Android Development] intersectRaven:
What's your sd card size and class?
[Nexus One Android Development] cpm:
Not sure who you're asking, but mine is 16GB Class 4 , 1GB ext4 with no swap. Using S2E.
[Nexus One Android Development] avgjoemomma:
Wanted to say thanks to IR for compiling the latest kernel with SYN cookies. I'm still running tests but so far my phone has been able to resist SYN attacks. I tried this on my own network and at a few open ones :p
[Nexus One Android Development] dreamhunterr:
And mine is 8 gb class 6.
[Nexus One Android Development] intersectRaven:
I was referring to maxofmin...it's weird that he can get 50MB/s read speeds on my kernel unless the tweaks I made to support *something* worked which is why I'm curious as to his card type. ;)
[Nexus One Android Development] maxofmin:
Sorry for the late response! I'm using a Sandisk class 4 with 16GB. My ROM is CM 7.1. CPU governor is SmartassV2. Min frequency is 128MHz while max is 998.
[Nexus One Android Development] maxofmin:
And I'm using the latest stable version of DK A2SD (2.5.2.1 or something. Don't quite remember the number) with 1G of ext3 partition.
[Nexus One Android Development] avgjoemomma:
Looks like we'll need a rebase from CM: http://review.cyanogenmod.com/#change,10060
[Nexus One Android Development] intersectRaven:
New AVS Kernels uploaded!

- fix the slow SD card read speed :)
[Nexus One Android Development] avgjoemomma:
Holy crap! My SD read speed more than doubled!:eek: Awesome job :D
[Nexus One Android Development] momomok:
+1 on that

I wonder what goodness the updated wifi driver will bring... :D
[Nexus One Android Development] :
i now get 6.4 MB/s write and 20.5 MB/s read speed w/ the newest kernel.

much better although not as fast as my 7.3/25.8 under cm+. gonna stick w/ IR for the features :)

thank you!
[Nexus One Android Development] dreamhunterr:
Thank you! I confirm that the fix works by the SD Tools benchmark. The phone also feels much more snappy and responsive :D

For those of you who care about benchmarks, a healthy 2k @ Quadrant:

-----

I just have a theory that I would like to confirm. I checked some frequency-voltage tables and, according to them, 1113 mhz draws the same amount of voltage as 998 mhz. That means that using 1113 mhz should not bring any additional battery usage right?
[Nexus One Android Development] intersectRaven:
Yes. Although I still don't endorse overclocking. :p
[Nexus One Android Development] :
yay, awesome. gonna flash it again, new kernel every hour for me :)

thanks for the changes
[Nexus One Android Development] jolinnard:
My N1 doesn't boot with lastest version. The log http://pastebin.com/kcznBuzi

- SLCD N1

- Kernel 2.6.38.8_AVS-CM7_CFS_20111114_2321.zip

I have a boot loop on the first screen. Anybody else?
[Nexus One Android Development] :
yup, no loop, but i can't get past the first screen.

the weird thing is that it booted after flashing just fine, suddenly a wild reboot appeared and now i can't get it up and running.

i'm back w/ the kernel from earlier today. running great.
[Nexus One Android Development] avgjoemomma:
It's working perfectly for me. AMOLED

2.6.38.8_AVS-CM7-NOBOOST_CFS_20111114_2321.zip
[Nexus One Android Development] cpm:
Weird stuff happening with latest kernel all right.

I flashed and rebooted to find all my SD apps missing including gapps, market and Go Launcher. I rebooted and got stuck in the boot loop. Had many attempts of re-flashing CM7 and gapps. Eventually everything reappeared when the phone booted up. Scary!
[Nexus One Android Development] avgjoemomma:
That's definitely not related to a kernel update :p
[Nexus One Android Development] harmohn:
Hmm, boot looping for me too; not immediately - boots fine 1st boot, subsequent boot loops.

Very odd.
[Nexus One Android Development] cpm:
Well I was back working fine on stock cm7.1.

So I decided to give it a second go. I flashed IR latest kernel again, rebooted and suffered the same problem - all SD apps missing including gapps and go launcher. Reflashed CM7.1 and now I'm back to normal again, albeit having to delete and add widgets back.

Have never experienced this issue before.
[Nexus One Android Development] :
you could also use an older kernel.
[Nexus One Android Development] cpm:
Yep, my thoughts exactly. Back using the previous 111111 kernel and working fine again.
[Nexus One Android Development] cpm:
I see similar issues are being reported with Knzo cm+ .05 kernel. Issue with ext4 partition not being recognised.
[Nexus One Android Development] intersectRaven:
Must be the ext4 change we merged from CM. Odd though that it's causing problems though. :confused:
[Nexus One Android Development] cpm:
Hmm, seems like other people with this issue are using S2E, as I am too. Must be some incompatibility?
[Nexus One Android Development] momomok:
But I am using latest IR kernel + s2e

all is working fine...
[Nexus One Android Development] cpm:
Is your partition ext4? (mine is).

Also what about settings in s2e? In General Options and Boot Options I have no options ticked.

I have private apps and also download cache set on though.
[Nexus One Android Development] momomok:
ext4 1GB

S2E

Everything has been moved to sd-ext

checked "mount as ext4" in s2e...
[Nexus One Android Development] cpm:
Thanks.

Just before you posted your settings I set "Mount as Ext4" and now it would appear to be working. So perhaps something to do with journalling?

Anyhow going to suggest this in the Knzo thread to see if it fixes the issue for others.
[Nexus One Android Development] momomok:
Better ask the author of s2e

I have zero knowledge in ext3/ext4... :p
[Nexus One Android Development] momomok:
Does this kernel supports OTG?
[Nexus One Android Development] Merdon:
Hi, its been a while since I used this kernel, cant remeber why I ever switch when I come to think about it.

Been using CallRecorder now for a while that enables 2 way recordings of phone calls but it has to be supported by the kernel.

Anyone knows if this kernel support 2 way phone calls recordings?

Thanks for any response.
[Nexus One Android Development] zyonee:
If memory serves, I think iR included that feature.
[Nexus One Android Development] :
it does

10char
[Nexus One Android Development] avgjoemomma:
Sorry to bug you again, IR, but can you apply this fix from CM's kernel?

http://review.cyanogenmod.com/#change,10190

Thanks :D
[Nexus One Android Development] intersectRaven:
No need. Those have already been included in the previous release. :)
[Nexus One Android Development] avgjoemomma:
You, Sir, are legend! :D
[Nexus One Android Development] KoolPal:
Low Audio

Any update on this?

I am looking for just great audio boost. I tried wildmonk's kernel and found no difference. Can anyone help in creating a kernel with the highest setting for me to test if this is a hardware issue or a software issue?

Please!
[Nexus One Android Development] momomok:
Will there be USB OTG support?

(Or is it already there? :p)
[Nexus One Android Development] intersectRaven:
Point me to a kernel with a working implementation and I'll put it together. Can't test though as I don't have cables. :p
[Nexus One Android Development] momomok:
Does this help?

http://sven.killig.de/android/N1/2.2/usb_host/
[Nexus One Android Development] bimasakti85:
I wish IR could make usb otg available for our nexus one...
[Nexus One Android Development] avgjoemomma:
What are you guys looking to hook up to the Nexus One? :what:
[Nexus One Android Development] bimasakti85:
External keyboard, monitor, gamepad , etc. Sven already done that, but no progress until now to use that with other kernel or ROM.

Sent from my Nexus One
[Nexus One Android Development] momomok:
Mostly likely a KB, got a bunch of old crappy USB KB at home

Would be really nice if I could use them to type email and reply SMS :D
[Nexus One Android Development] avgjoemomma:
Nice! I guess it would be pretty handy :p
[Nexus One Android Development] n0w4y:
I'm getting constant "sound over bluetooth"-problems with this kernel while using the original car dock.

Firstly when i connect the N1 everything seems to work as it should. But after about 10 minutes the sound is coming directly from the phone, not the docks speaker anymore. Strangely the bluetooth connection seems to be still established.

Attached you'll find a logcat starting with opening the navigation app and ending with pulling the phone out of the dock. I've restarted the dock ones, ending up again with a broken connection. So it is reproducible.

Maybe IR could have a look into it :)

http://pastebin.com/bjPS7Kts
[Nexus One Android Development] Atento:
This kernel supports otg?
[Nexus One Android Development] wbknox:
Ir are you going to get the galaxy nexus?
[Nexus One Android Development] intersectRaven:
I will if and when I get the money for it. Maybe around 2013... :p
[Nexus One Android Development] acantril:
All day stable at .825 time to go for .8 ...
[Nexus One Android Development] intersectRaven:
With plain AVS, the voltage even for the lowest frequency can go up to the maximum voltage (either 1275 or 1225 depending on the AVS version you're using). With the hybrid kernel, the maximum voltage is capped at each frequency using the undervolted values of the SVS (non-AVS) kernel which came from kmobs while still allowing it to dynamically undervolt from there. :)
[Nexus One Android Development] hah2110:
So should this have better battery life? Is the voltage still max capped?
[Nexus One Android Development] intersectRaven:
Yes this should have better battery life than the SVS kernel. The voltage is still max capped to 1225 for all frequencies for safety if ever I made a mistake with my editing but ruling that out, each frequency has a different voltage cap suited for it. :)
[Nexus One Android Development] sthoeft:
Where are the Voltage Caps? Mine goes up to 1225 @2. Is it that I use a too low AVS Voltage so that it goes up with the voltage?
[Nexus One Android Development] intersectRaven:
Are you using the hybrid version or not? If not, then that is the maximum voltage cap. This is the problem some people are having with the pure AVS version. Even when running at 245Mhz, sometimes AVS increases the voltage to 998Mhz levels! The hybrid option seeks to fix it by capping it to the minimum accepted values for the frequency. :)
[Nexus One Android Development] sthoeft:
I used the hybrid Version and tried the .825 and .875 hybrid kernels.

P.S. I'm stable with the DIET .925 V Kernel.
[Nexus One Android Development] paulk_:
AVS regulates the voltage automatically, so if your CPU requires 1225 it'll go up to 1225. It's just that the lowest voltage will be whichever version you're using
[Nexus One Android Development] intersectRaven:
That's odd...you used the hybrid versions but still reached 1225mV?!?! That shouldn't happen...can anyone else confirm this? My 800mV hasn't breached the 1000mV yet so I'm not entirely sure if this is a bug. :confused:
[Nexus One Android Development] sthoeft:
I know that, but with the hybrid kernel it shouldn't go so hight like 1.225 V. So far the AVS kernels don't save me one minute in battery, more the other way around, I got much better battery with the "normal" Diet .925 V kernel.

I give the .800 V hybrid kernel a try, lets see what this one does.

P.S. Could it be that OS Monitor shows the wrong values?
[Nexus One Android Development] hah2110:
Better than AVS also?
[Nexus One Android Development] acantril:
ok - trying the hybrid 800 version... wish me luck.
[Nexus One Android Development] intersectRaven:
It should be better than standard AVS since each frequency is max capped at the SVS voltages so the lower frequencies shouldn't spike to 1225mV if ever. I'm just wondering about a bug that sthoeft seems to have encountered in which the limiters aren't working. :confused:
[Nexus One Android Development] u3819013:
825mV Hybrid works fine no reboot 30mins(Wifi + Gaming + Browsing). :o
[Nexus One Android Development] intersectRaven:
Thanks! If possible, can you check the voltage if it's hitting 1225 at too many low digit frequencies? (@2, @4, etc...) :)

*Please ignore what I requested. Thanks for testing anyways! :)
[Nexus One Android Development] intersectRaven:
Phew! And I thought the limiters weren't working right! The values you're seeing are fine. As you can see, the limiters are preventing all but the highest frequencies from reaching 1225mV. They're capping at the correct maximum values specified in kmobs' undervolting table. :)

*You can even see the kernel undervolting further for the lowest frequencies. This is just so beautiful! :D
[Nexus One Android Development] hah2110:
Just flashed 825 hybrid. What is the adb command to view voltages? I'll post something up here with my results. How are people getting better battery life without AVS?
[Nexus One Android Development] sthoeft:
So OS Monitor shows the wrong values...
[Nexus One Android Development] intersectRaven:
It's still the same. The hybrid just binds together the concepts of SVS and AVS in order to prevent AVS from giving too high voltages. It's still AVS but with the maximum voltage caps at SVS levels and not fixed at 1225 or 1275 for ALL FREQUENCIES. :D
[Nexus One Android Development] intersectRaven:
New AVS Kernels uploaded!

- enabled MSM EHCI support
[Nexus One Android Development] avgjoemomma:
Oh you! I need to be getting ready to hit a club and you drop a new kernel on us :p. Thanks :D
[Nexus One Android Development] momomok:
Does that mean USB OTG support? :p
[Nexus One Android Development] avgjoemomma:
Yes :p. Time to take over the world!
[Nexus One Android Development] dreamhunterr:
Awesome. This kernel never ceases to amaze me! Thank you.
[Nexus One Android Development] momomok:
Time to DIY a USB OTG cable... :p
[Nexus One Android Development] Pr0fess0rX:
Can I install this kernel on MIUI with /sd-ext ext4 partition? (darktremor a2sd enabled)
[Nexus One Android Development] n0w4y:
iR did you had time to look at my log?
[Nexus One Android Development] cyberon:
Yep! :)
[Nexus One Android Development] bimasakti85:
Anyone tried the usb otg? Is it working? If yes, it will be very awsome...

Sent from my Nexus One
[Nexus One Android Development] keith.macdonald:
Does the latest update support OTG on the Nexus One? I know that the N1 doesn't have MSM, but Cyanogen rolled support for OTG into their nightlies recently (not sure if the N1 was supported though...).

EDIT: Don't mind me. I just did a little more reading, and based on that, and the fact that we're in the Nexus One Dev forum on XDA, that it indeed does work on the N1? :-D
[Nexus One Android Development] momomok:
I will borrow a USB OTG cable from my friend tomorrow and see if it works :p
[Nexus One Android Development] Pr0fess0rX:
No it didn't!!! it had to convert the partition to ext3 on order the phone to boot up!!!!
[Nexus One Android Development] avgjoemomma:
Maybe you needed to check the mount options for your sd-ext?
[Nexus One Android Development] Pochemuchka1977:
I am running with MIUI 1.12.2 and 1GB ext4 sd-ext partition just fine with the latest IR kernel - no problems at all.

All my apps are sitting on /sd-ext while dalvik and data on /data
[Nexus One Android Development] cyberon:
My N1 is using ext4, strange.:confused:
[Nexus One Android Development] Pr0fess0rX:
When I install any sense rom which required ext4 I format it as ext4 and it worked brilliant. When i enable S2E on CM7 or darktremor a2sd on MIUI with their kernels on ext4 works fine but when I install the kernel the phone stuck at the X logo, when I convert it to ext3 it works fine!!

How can I fix this issue?

What is the real advantage for ext4 over ext3 when using a2sd?
[Nexus One Android Development] bimasakti85:
Anyone tried the usb otg?

Sent from my Nexus One
[Nexus One Android Development] ru77y:
it doesn't work :(
[Nexus One Android Development] momomok:
Seem here.
[Nexus One Android Development] zyr3x:
last kernel work prefect
[Nexus One Android Development] momomok:
You mean USB OTG?