yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] pschyska:
I think in recovery most of the partitions just aren't mounted. But when i do mount /system in a shell, it looks like I would get the real /system from the dir contents.

Anyway, the 925mv Version from front page seems to work now. At least for 20 min :-)

Also I'm on wifi, it shows the icon and a quick speedmeter-test showed that I'm definately on wifi.

So I keep my thumbs pressed.

Thanks again.

Paul

P.S.: Damn! Shouldn't write it works, just had a hang+reboot after pressing submit :( I fire up the SVS and go to work. meh
[Nexus One Android Development] pschyska:
Old version of bcm4329.ko still sits in

/system/lib/modules/2.6.33.2-cyanogenmod/kernel/drivers/net/wireless/bcm4329

Could it be that the kernels loads this file instead of

/system/lib/modules/bcm4329.ko ? Or both?

Maybe one should better overwrite the original one?
[Nexus One Android Development] intersectRaven:
I also have that but it works for me so you shouldn't have any problems with that. :)
[Nexus One Android Development] SimFox3:
Raven,

2.6.33_AVS-800mV_20100419_2044.zip is running beautifully on my device, but 'dmesg | grep acpuclk' results in zero matches. The weird thing is that I see multiple AVS voltage changes in /proc/kmsg, so what does this mean?

Also, I just wanted to confirm that people are running the 'conservative' governor for the best battery life (not counting the powersave governor).
[Nexus One Android Development] SimFox3:
With the REAL AVS (0419_2044) the battery temperature is < 30*c while charging.... it's soooo cooooool, pun intended ya =)
[Nexus One Android Development] intersectRaven:
That version does not have the line I mentioned to check. The one located here does:

http://www.mediafire.com/?1aiioiyzytg

Also, conservative is the best aside from powersave when it comes to battery life for AVS. :)
[Nexus One Android Development] u3819013:
0420_1504 not stable for me... so I back to 0419_2044
[Nexus One Android Development] Untouchab1e:
Same. 0420_1504 wont boot for me.
[Nexus One Android Development] intersectRaven:
That's enough for that version then. Must tweak it more. :)
[Nexus One Android Development] hugonz:
Can you please update your github repo when you get a chance? Thanks Raven.
[Nexus One Android Development] intersectRaven:
If you're fine with the "hack" version ok. :)
[Nexus One Android Development] lynx_deb:
hi guys,

yesterday i've updated to the lastest versione (19/04).. kernel is stable and fast for me, also the battery life is great, but only with Wifi ON (2 days with medium-high usage).

If i switch to EDGE/3G, my phone can lost 20% in about 2hr. I'm using push email and gtalk in background. With stock ROM I can lost 8-10% in the night with push activated. Actually i'm running CM 5.0.5.3 and my phone is set on "Only 2G networks" because at home and office I've poor 3G signal. Can be a problem of this rom the high consumption on EDGE/3G radio? I've the 4.03 radio, not the leaked version.

thanks :)
[Nexus One Android Development] Untouchab1e:
Interesting. I hardly use WiFi and I experience a serious issues with battery life and the Cyanogen ROM. Switching to this kernel hasnt helped much either
[Nexus One Android Development] lynx_deb:
for me no.. my phone use less battery with wifi instead edge

also the HTC Desire of my boss, with wifi have great battery life
[Nexus One Android Development] daedelus82:
2.6.33_AVS-800mV_20100420_1504 boots fine on my device.

dmesg | grep acpuclk

<6>[ 4.788757] acpuclk_set_vdd_level 1150000 no regulator

<6>[ 5.135986] acpuclk_set_vdd_level 1125000 no regulator

<6>[ 11.082397] acpuclk_set_vdd_level got regulator

edit: i just scaled my device up through each frequency stepping to see how it would perform. output from kmesg below

<6>[ 214.891235] AVS setting V to 950 mV @2

<6>[ 217.367767] AVS setting V to 925 mV @2

<6>[ 217.447845] AVS setting V to 900 mV @2

<6>[ 222.032318] AVS setting V to 875 mV @2

<6>[ 226.776947] AVS setting V to 850 mV @2

<6>[ 234.685607] AVS setting V to 825 mV @2

<6>[ 234.774841] AVS setting V to 800 mV @2

<6>[ 240.493499] AVS setting V to 975 mV @4

<6>[ 240.520324] AVS setting V to 950 mV @4

<6>[ 240.580444] AVS setting V to 925 mV @4

<6>[ 245.545318] AVS setting V to 900 mV @4

<6>[ 247.677398] AVS setting V to 875 mV @4

<6>[ 247.767395] AVS setting V to 850 mV @4

<6>[ 258.201965] AVS setting V to 1000 mV @6

<6>[ 260.910278] AVS setting V to 975 mV @6

<6>[ 262.642028] AVS setting V to 950 mV @6

<6>[ 264.473785] AVS setting V to 925 mV @6

<6>[ 266.595855] AVS setting V to 900 mV @6

<6>[ 275.427185] AVS setting V to 1025 mV @7

<6>[ 278.617553] AVS setting V to 1000 mV @7

<6>[ 280.979858] AVS setting V to 975 mV @7

<6>[ 283.612487] AVS setting V to 950 mV @7

<6>[ 291.301086] AVS setting V to 1050 mV @9

<6>[ 291.570220] AVS setting V to 1025 mV @9

<6>[ 294.262908] AVS setting V to 1000 mV @9

<6>[ 306.219543] AVS setting V to 1075 mV @10

<6>[ 306.664947] AVS setting V to 1050 mV @10

<6>[ 308.797027] AVS setting V to 1025 mV @10

<6>[ 319.359649] AVS setting V to 1100 mV @11

<6>[ 323.352813] AVS setting V to 1075 mV @11

<6>[ 325.523223] AVS setting V to 1050 mV @11

<6>[ 332.109466] AVS setting V to 1125 mV @12

<6>[ 333.401092] AVS setting V to 1100 mV @12

<6>[ 343.328460] AVS setting V to 1150 mV @14

<6>[ 354.430511] AVS setting V to 1125 mV @14

<6>[ 362.119079] AVS setting V to 1175 mV @15

<6>[ 378.775299] AVS setting V to 1150 mV @15

<6>[ 389.184875] AVS setting V to 1200 mV @17

<6>[ 401.518524] AVS setting V to 1200 mV @20

edit2: i just saw the following AVS message in kmesg.. What does it mean?

<6>[ 791.123016] AVS setting V to 1225 mV @20

<3>[ 796.432861] AVS: Voltage can not get high enough!
[Nexus One Android Development] jblazea50:
the kernel from 20100420 isn't working for me, keeps looping to the "X" screen

going back to the kernel from 20100419 as that was working
[Nexus One Android Development] daedelus82:
I've been using the "clean" AVS kernel (20100420_1504) for a few hours now.

Phone idles at 245MHz @ 800mV

Battery life seems much better.

Loving it!
[Nexus One Android Development] hah2110:
So no one is getting good battery life with the newest ones? I still want someones damn nandroid!
[Nexus One Android Development] hah2110:
On fake AVS, I'm down 17% in an hour and a half.
[Nexus One Android Development] bewA:
whats wrong with your own nandroid?:confused:
[Nexus One Android Development] Markdental:
Did you check spare parts?

How is your reception where you are? If you have time without signal, then the battery life will be much shorter, it will also cause switching between edge/3G, which will also kill battery life.
[Nexus One Android Development] hah2110:
I want someone else's who is having great battery life. I want to discern if this miraculous battery life is hardware related or software related. These people who claim 60% left after 10-12 hours (who I envy) have something going on in their phone that is making it much better than everyone else's and I want to know what it is.

Signal is fine. Full 3G. Alarm went off a few times for a minute each and that was it. The only thing in Spare Parts that is weird is "network usage" "since last unplugged" has media at almost a full blue bar but I don't know why, nor do I think that is of too much concern.
[Nexus One Android Development] hah2110:
Maybe I'm stupid, but where do you see a 0420 version? The latest I see on his MediaFire is 2.6.33_AVS-800mV_20100419_2044.zip.
[Nexus One Android Development] intersectRaven:
I already deleted this test version since it has proven unstable. I'll be releasing an updated "hack" version later which will contain the latest updates from cyan's github. :)
[Nexus One Android Development] hah2110:
That clears my confusion up. What is YOUR battery life like out of curiosity?
[Nexus One Android Development] Docmjldds:
Raven already stated to NOT use that file. Unstable. I did download it though.
[Nexus One Android Development] intersectRaven:
Pretty constant in between kernels. Still approximately 1% per hour when idle and extremely variable otherwise. :)
[Nexus One Android Development] Markdental:
Did you click on it and see how much it is using?

Kill your media and check every once in a while. See what battery does after that...
[Nexus One Android Development] hah2110:
HOW DO YOU GET IT SO GOOD! I DONT GET IT!

I did click on it. Nothing of value. It says:

Bytes Rcvd: 2924364

Sent: 1963

Camera

DRM Protected

Download Manager

Media Storage
[Nexus One Android Development] Markdental:
That's ~2.8 megabytes since you unplugged it. That's a lot of downloading for no reason and a lot of battery use.
[Nexus One Android Development] intersectRaven:
Lucky I guess? I just have CM 5.0.6, Amon-RA 1.7, SetCPU and Advanced Task Killer as the relevant software here. (didn't mention other apps since I'm extremely sure that they don't run on the background) I usually get 250MB of free memory after a reboot if that helps. :p
[Nexus One Android Development] intersectRaven:
Updated:

20100420_2217:

- updated with latest cyanogen github

- I think this should fix wifi for everyone who was having problems (I found a modified file in my wifi commit log which was weird)

- still the "hack" version since I can't seem to get it stable with the "clean" version

Here's the link:

20100420_2217:

http://www.mediafire.com/?zmzhzdjxyhq
[Nexus One Android Development] Wysie:
Hi intersectR (sounds cooler, like intersector, whatever that means :P), I've been running your "clean" version since you released it and it's been very stable for me. Just thought i'd let you know :).
[Nexus One Android Development] intersectRaven:
Thanks. Well, some are unstable with it so I'd rather release the most stable one first before continuing with work on the "clean" one. Anyways, I updated my github with the "hacks" to get AVS working properly. I think I left some portions out though but I already forgot what they were. I'll try updating again later if ever. :)
[Nexus One Android Development] hah2110:
What are your SetCPU settings? Do YOU see a difference depending on which one of YOUR own kernels you use?
[Nexus One Android Development] intersectRaven:
I just use the governor setting on SetCPU. I leave everything else as is. The only difference I noted was that the true AVS kernels charge fairly quicker than the fake one. Also, the latest version is snappier maybe due to the VFPv3 optimization. :)
[Nexus One Android Development] bewA:
I'm running this one at the moment "2.6.33_AVS-800mV_20100419_2044".

I'm not sure if this is any good but...

I'm on CM5.0.6.

I use battery graph.

my fone was fully charged at 3:40AM BST

at 7:10 i unplugged it was on 97% but the charge light was green.

its now 4PM and my battery is at 66%.

I've had no calls today or sent any txt's though although i did do some browsing on GPRS for upto 5mins :)

I'm not sure how this compares. but I have wifi enabled (connected to my work wifi), GPS is disabled, i've got the nexus lwp & trackball notify with my gmail pushing and my exchange email on push as well. SetCPU just has the governor set to ondemand with no profiles setup.

Just wondering how this compares to other peoples usage :)

I too would be interested to know how you get 1% an hour :)
[Nexus One Android Development] kaffeine:
@intersectRaven does your kernel support swap or compcache features?
[Nexus One Android Development] intersectRaven:
I'm not sure. What kernel modules/features do they need to work?
[Nexus One Android Development] rori~:
Sleep Mode ;)

I lost 3% last night in 6.1/2h..
[Nexus One Android Development] hah2110:
What is 6.1/2h? What are your SetCPU settings?
[Nexus One Android Development] hah2110:
WHICH governor are you using?
[Nexus One Android Development] rori~:
Six hours and a half...and I don´t care that much about SetCPU...
[Nexus One Android Development] hah2110:
I don't buy that your phone is THAT good. What is the setup on your phone? NO SetCPU? Any other programs handling battery life?
[Nexus One Android Development] intersectRaven:
Conservative. :)
[Nexus One Android Development] kaffeine:
I don't know
[Nexus One Android Development] rori~:
No prob..

My friend, "logcat" showed me what to do :)
[Nexus One Android Development] hah2110:
If you are really getting that good of results, could you possibly elaborate and explain and share your knowledge?
[Nexus One Android Development] rori~:
That´s getting OT, this thread is about intersectRaven's Kernel.

(You find a bunch of threads about logcat and how you read what´s trying to connect, update, whatever...just clear your phone!)
[Nexus One Android Development] hotweiss:
Great work, your ROM is now stable. The only problem that I have is with the screen not registering proper touch inputs. I touch the screen and it starts zooming, or the keyboard comes up, etc...
[Nexus One Android Development] hah2110:
Which Kernel are you using to get bluetooth to work?
[Nexus One Android Development] rp1783:
Hey All, I know intersectRaven did this for someone yesterday. I won't have ADB access for several hours. Wondering if someone can do a nandroid running CM 5.0.6 and pull your boot.img and upload somewhere. I really want to test out this latest kernel.
[Nexus One Android Development] dictionary:
hah2110 .. dude .. you seriously need to calm down. You've been littering EVERY damn kernel thread. You post question after question about battery life. Just keep trying settings until something works out. Else, just go buy a WinMo phone or something. I've never seen someone so stuck on this. This is the DEV section. PM people or something.

Intersect, rocking the latest, and having great battery life. In 3 hrs, lost 1% idle. ;)
[Nexus One Android Development] RieGo:
Quick feedback of the latest kernel:

it's surprisingly stable, even if it really seems to be true avs.

so i think you finally made it stable!

I can see a big improvement in my battery.

so thank you very much, intersect
[Nexus One Android Development] pzumk:
Do you remember my reboot bug with the previous kernel? Should I try this one now? is the .ko file "fixed"? [EDIT]WiFi is working so far.[/EDIT]

Edit // what do you mean with Hybrid AVS? Is this 800mV?
[Nexus One Android Development] Ivan Dimkovic:
@intersectRaven,

I am not really sure if that (1.250v) could be the case, as I set maximum voltage to 1275v in avs source... having this possibility in mind.

But still, even with 1.275v set as maximum voltage in AVS people do complain about those reboots.

I noticed that you are using stock frequency for booting... I thought that IT could be the problem as I am overclocking it... but, it looks like it's not that either.
[Nexus One Android Development] intersectRaven:
I see...it still would be nice to know what AVS is reporting in those instances where it causes a not responding fault in those N1s. If ever there are no AVS problems, then it really may just be the processor not supporting it. :(
[Nexus One Android Development] Ivan Dimkovic:
Yes, definitely... let's see if AVS debug messages will point us to where the problem could be in those reboots.
[Nexus One Android Development] wildmonks:
Appreciate your efforts in bring back wireless tethering support but now I get a different error that's preventing the app from working.

In the wireless tethering app's log it says "Enabling NAT rules... failed"

Sorry I can't help you guys with the AVS freezing/rebooting problems that some are experiencing as this has never happened to me. And the AVS debug msg never does appear in my Kernel Messages. Guess that means my CPU likes the AVS code :)
[Nexus One Android Development] RieGo:
just got another freeze with 'cat /proc/kmsg' running, but there was no message from avs...
[Nexus One Android Development] intersectRaven:
Hmmm...I see...that means it wasn't having a problem adjusting itself nor is AVS receiving requests from the processor that it needs more juice. Oh well, I'll just compile a non-AVS kernel as well. If ever you need to verify which is AVS and non-AVS, the #1 builds will be AVS while the #2 builds will be non-AVS. :)
[Nexus One Android Development] RieGo:
That would be great! thank you

maybe you can get avs stable on every device one day :)
[Nexus One Android Development] intersectRaven:
I'll have this fixed in my next kernel releases. I think it was because of the "can't initialize iptables table `filter'" error.
[Nexus One Android Development] wildmonks:
Awesome, thank you sir! :)
[Nexus One Android Development] rekrapg:
just updated, using pre9 wireless tether still failing on NAT - but other than that, love this kernal :)
[Nexus One Android Development] intersectRaven:
Hmmm...I really, or rather, can't use wireless tethering so I can't debug this problem. If you can use the terminal and launch the tethering application there and forward me the results, I may be able to get this working eventually. I think there are instructions on google code to do this. :)
[Nexus One Android Development] himmatwala:
Hey..I am kinda noob for android...

How do I do this using terminal?
[Nexus One Android Development] intersectRaven:
Don't worry about it. It's better that you don't do this if you're new since you could wreck something in terminal. :)
[Nexus One Android Development] himmatwala:
Dont worry for me wreaking on the terminal. I can reflash if anything goes wrong right? and I am kinda used to flashing since the my first WM phone SDA.

Let me know the commands.
[Nexus One Android Development] intersectRaven:
Don't worry about it. I'm doing it myself now. Rebuilding the .config from scratch seems a lot more exciting that waiting trying it out 1 at a time. :p
[Nexus One Android Development] wildmonks:
I'm kinda of a noob myself but I think I figured out how to run it via the terminal. Here is my result:

./tether start 1

about to run: [/system/bin/ifconfig eth0 192.168.2.254 netmask 255.255.255.0]

about to run: [/system/bin/ifconfig eth0 up]

about to run: [/data/data/android.tether/bin/iwconfig eth0 mode ad-hoc]

about to run: [/data/data/android.tether/bin/iwconfig eth0 essid AndroidTether]

about to run: [/data/data/android.tether/bin/iwconfig eth0 channel 6]

about to run: [/data/data/android.tether/bin/iwconfig eth0 commit]

about to run: [/data/data/android.tether/bin/iptables -F]

getsockopt for multiport failed strangely: No such file or directory

getsockopt for multiport failed strangely: No such file or directory

about to run: [/data/data/android.tether/bin/iptables -F -t nat]

getsockopt for multiport failed strangely: No such file or directory

getsockopt for multiport failed strangely: No such file or directory

iptables v1.3.7: can't initialize iptables table `nat': Table does not exist (do

you need to insmod?)

Perhaps iptables or your kernel needs to be upgraded.

about to run: [/data/data/android.tether/bin/dnsmasq -i eth0 --resolv-file=/data

/data/android.tether/conf/resolv.conf --conf-file=/data/data/android.tether/conf

/dnsmasq.conf]

script result was []

Uh.. don't know what that means... maybe something about the iptables.. but uh.. I think you know that already haha
[Nexus One Android Development] intersectRaven:
Yeah. It was a module. I'm going to try out a build now which has all of the netfilter settings compiled as modules. Hopefully, it will work.
[Nexus One Android Development] wildmonks:
Cool, I'll be happy to test now that I'm home :o
[Nexus One Android Development] intersectRaven:
Seems there will be too many files if I make them all into modules. I'll have to build them in. If ever I'll just remove the loop unrolling compiler optimization to keep kernel size small. :(
[Nexus One Android Development] wildmonks:
Awe, that's too bad... I think having those unrolling optimization makes a noticible difference or it could just be my imagination.

That kernel size limit seems to be a pain to all you kernel builders :(
[Nexus One Android Development] b1337:
thank you i thought i was the only one noticing this dude going berzerko on threads i told him the same thing "quit being a scaredy and flash!!"
[Nexus One Android Development] stuff:
Not only is he spamming about battery life, he is complaining about something that really is inevitable. The battery isn't going to last a week like a nokia phone. The batter will, in most cases, be under 50% after a days use for EVERYBODY'S PHONE. If you don't like how much yours is draining, check the battery drain settings and see what is using the most power.

Lower the screen brightness, and stop using the internet/sms/youtube so much and maybe it will be better
[Nexus One Android Development] RieGo:
right, and if you calculate (best case with no active usage) 1% per hour: That would be about 4 days! isn't that amazing?! :D
[Nexus One Android Development] hah2110:
Sorry if you guys see this as spamming. I see it as working towards a greater good. For the record, I have used YouTube TWICE on my phone since I've had it and most days don't touch the browser. I send maybe 50 sms a day and are on the phone <1 hour. Fact is, there is a problem with this phone, regardless of ROM. No product should make it past Quality Assurance with these deviations. My phone sits on standby and loses 4%+/hour REGARDLESS of kernel and something is wrong when others are claiming 12 hours and then having 70% left.
[Nexus One Android Development] dictionary:
Then it's your phone. I have NEVER had that horrendous battery life, even stock, or using Cyans own kernel. Point is, just return your phone for something else, or walk with chargers. That's 12 hours, with an AVS kernel, and not touching the phone most of those hours, with nothing idling/updating in the background. Stop spamming the threads and asking questions about how people have their phones set up, and lol .. for a nandroid of their entire system/settings/apps/personal information. It's not going to happen. If you want, PM people, but you have 500+ posts, and I can almost bet that about 85% of them are in the past month or so, spamming non-stop about battery kernels, or battery roms, or battery apps.

Sorry to go off topic in your thread intersect, but this is seriously getting annoying. Just saw he posted over in the Autokiller thread as well. Unbelievable.

On-topic .. will you be releasing an OC kernel any time soon? Or one with AXI inclusive? Even if it's a test, I wouldn't mind giving it a shot
[Nexus One Android Development] Enndr:
My phone has been off the charger since 7:00 am. It is not 1:15 pm. I've checked my email three times. Browsed the web for about 10 minutes, updated one app and listen to podcast from 8:30-11:30.

My battery is currently at 67%. I consider this pretty heavy use....

The only thing I do to help battery besides the stuff in my sig is put the phone into airplane mode when I'm at my desk. I dont get signal there.

Im running pershoot's kernel on my phone currently but was using intersects before, its on my wife's N1 now.

EDIT: NOW CONTRIBUTE OR GO AWAY
[Nexus One Android Development] MaxiJavi:
The evidence I have seen suggests that you have a bad battery, there does appear to have a bad batch of those, which you can blame HTC for.

If you don't like this phone ... Then get something you do like.

Sorry
[Nexus One Android Development] Jack_R1:
Lots of negative emotions for nothing, and as usual in these cases, I'm willing to bet 90% users' faults and 10% bad batteries, and nothing wrong with the kernel. When you give the users 10s of sync processes running constantly in the background, not a lot would know what to do with that but blame the <whatever> for battery draining fast.

Using 20100419_2044, CM 5.0.6 here. Loaded today morning, 100% battery. Had 4-5 short calls, 1/2 hour of WiFi connection on, downloaded 5-6 market applications, played a bit with SMS to check the multi-language KB and locales, loaded Google Maps a couple of times, used Task Manager to kill unneeded processes once I was done, chatted a bit and then turned off Gtalk.

From 12:00 till 21:40, I have 75% left in my battery. And looks perfectly stable.