yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] ra100x:
I flashed BFS kernel (auto-boot-2.6.35.12-farmatito-pershoot-ds-BFS+-20110425.zip) and before I flashed non-BFS, I think
[G1 Android Development] InquisitiveG:
loaded auto-boot-2.6.35.12-farmatito-pershoot-ds_-20110425.zip last night and noted a reboot after about an hour, didn't log anything. This morning it froze then rebooted when a call was coming in. nandroided back to previous (in sig) quickly because it is my only phone and need for business during daytime. don't have any logs, but wanted to let you know I got some random reboots.
[G1 Android Development] farmatito:
I reflashed them both just to be sure and they worked for me.

Be aware that there were a few test versions 20110425 so redownloading from first post and checking md5sum could be an option.
[G1 Android Development] farmatito:
There are no sensitive changes between 20110421 and 20110425 apart

that i switched to a newer compiler version. Is your phone

overclocked?

I run just standard SCALING_MIN=122880 SCALING_MAX=528000;
[G1 Android Development] ra100x:
Well, non BFS works fine :)
[G1 Android Development] InquisitiveG:
I use same standard 122 - 528.

Wasn't latest kernel, just noticed reboot on 20110421 so I ran fix permissions in recovery and will see if that helps.

Since I originally loaded 20110421 I have gotten much better battery life overall, but 2 times it has gone into a fast drain >10%/hr. Can't tie it to anything specific because both time I was out and only used phone for calls and email (exchange) and occasional texts. In battery use both time Android OS was BIG usage. Cycle off then back on fixed.
[G1 Android Development] InquisitiveG:
OK, had a few minutes so I pulled a logcat and dmesg. (had to zip because of size limits).
[G1 Android Development] farmatito:
Took a look at dmesg and logcat, but there is nothing evident at least for me.

Only thing suspicious is:

<6>[ 571.432952] rev_crc_err_count 1, INT 23a001
<6>[ 571.433227] rev: unknown reverse packet: len=0009 type=0049 CURR_REV_PTR=151d900b
<6>[ 571.433624]
<6>[ 571.433837] 09
<6>[ 571.434020] 00
<6>[ 571.434417] 49
<6>[ 571.434814] 00
<6>[ 571.435180] 00
<6>[ 571.435577] 80
<6>[ 571.435974] 00
<6>[ 571.436370] 60
<6>[ 571.436737] 00
<6>[ 571.437133] 80
<6>[ 571.437683] 0a
<6>[ 571.438079]
<6>[ 571.438446] mddi: resetting rev ptr
<6>[ 571.438751] mddi_remote_read: failed, sent MDDI_CMD_SEND_RTD: int 23a001, stat 808063, rtd val e curr_rev_ptr 151d900b

seems linked to the diplay driver, so maybe some hardware problem?

I really can't say more.
[G1 Android Development] azrash:
this is the relevant part http://j.mp/fZOk5O

and this is the whole boot.txt, just in case http://j.mp/dRWA7e

hope it helps, thanks!
[G1 Android Development] InquisitiveG:
Thanks for checking the logs for me:D

Not necessarily what I wanted to hear, but I will keep an eye on it.

The GOOD NEWS though is Battery Life is vastly improved with your kernel. Thank you for all your effort!!!:D:D
[G1 Android Development] robuser007:
Wireless tether stilll doesn't work correctly (does start)
[G1 Android Development] farmatito:
Works for me with latest kernel and wifi tether for root users

on ezGingerbread.
[G1 Android Development] creezalird:
I'm currently running latest ADS_ezGingerbread. Yesterday I've just flashed "auto-boot-2.6.35.12-farmatito-pershoot-ds-BFS+-20110425.zip" and I have the feeling that the slide gesture is a little less responsive.

Before, maybe just a little slide to left/right would already slide the desktop, but right now only with a bit longer slide to change pages.

But other than that,I've found no bugs.
[G1 Android Development] azrash:
Yeap, my experience is exactly like that, getting used to it though :P

btw farmatito, is it possible for you to include a speed some where between 384-528 in your bfs kernel? when i check the cpu usage, i realized that the system normally use 384 mhz, adding another speed above it might optimize the usage at higher clock speed, as in, the phone has a chance of not going straight to 528 from 384, it can climb to 4++ first, lol, just a silly idea. been getting superb battery life so far! thanks so much for your effort into this, i would be glad to help you test around stuffs if you need :D
[G1 Android Development] farmatito:
I'll take a look at it when spare time permits.

Seems to me that we can have 384 or 480 but not both

so maybe it is not worth the effort.
[G1 Android Development] tom0769:
For the responsiveness of touch, did you test the non-bfs kernel?

On froyo roms i've experienced touch-issues (e.g. stuttering when scrolling in drawer) with the bfs kernel, but not with the non-bfs one.
[G1 Android Development] creezalird:
Just tried the non-BFS version, and I can say it become much responsive again. Thanks.
[G1 Android Development] sisterchick:
auto-boot-2.6.35.12-farmatito-pershoot-ds+-20110425.zip is running very well on my G1 with FBL 5.2. Even with wifi toggle on while on standby, only dropping about 1.5% a hour. Incredible!
[G1 Android Development] farmatito:
New Experimental kernel with BFS v0.401 + 1000Hz Timer + minor fixes for the brave testers on the first post.

Enjoy and USE AT YOUR OWN RISK.
[G1 Android Development] Sik-1:
hey farm could u include the new zram modules as ezterry did, it helps a great deal on his latest gingerbread rom
[G1 Android Development] farmatito:
Seems to me that zram is just compcache with a new name,

I doubt it is worth the effort.
[G1 Android Development] Sik-1:
honestly been testing it against the regular compcache, and i have to say i have yet to slow down as i usaully do with the same 18% compcache
[G1 Android Development] farmatito:
If i decide to start a gingerbread-only version of this kernel

I eventually could add zram.
[G1 Android Development] Sik-1:
i'll b ur trusty tester for the gingerbread kernel :)
[G1 Android Development] hrk:
You could call it "compcache 2.0". The original author removed big chunks of (duplicate) code in order to meet LKML's ultimate approval.
[G1 Android Development] farmatito:
New kernels, updated to 2.6.35.13.

Enjoy and USE AT YOUR OWN RISK.
[G1 Android Development] Namit1994:
farmatito, can you please try to see what is wrong with the camera when it runs the Legend ROM? I tried many things but I can't fix it.
[G1 Android Development] ezterry:
eclair camera needs 8MB+ of ram? 2708+ camera has 5MB of ram unless you use my special 2.6.34.7 old builds kernel linked on the 2708+ thread
[G1 Android Development] farmatito:
Sadly I cannot support all ROMs or phones out there, that's

why the patches I've applied to the kernel (and most of them are trivial) are public so that the ROM cooks can apply them

to their kernel trees.
[G1 Android Development] betizad:
I tried this on my G1 with GingerYoshi RC7.1 and it works flawlessly and the battery lasts perfect.
[G1 Android Development] betizad:
I just noticed my Wifi is not working, when turning it on it gives me an error and disables.

what should I do?
[G1 Android Development] farmatito:
Check the logs to identify the error

eventually reboot

eventually check that the download was not corrupt

eventually check that you have enough free space in /system partition

eventually reflash

if all this didn't help reflash your ROM's original kernel

Hope this helps.
[G1 Android Development] Maxamillion:
Do these kernels come with the 14 mb hack?
[G1 Android Development] betizad:
I am going on a trip tomorrow and so switched back to 2.6.35.11
[G1 Android Development] betizad:
Probably I would need to check the free space in /system.

But the flashable file installation did not write any error and worked well. I even rebooted and got it working weel except wifi. I had also tried older versions of your kernel and it was working well. I dont recall well maybe it was form around 15 April build.

How should I check the logs? using adb logcat and turning on wifi?

I will do the experiments after weekend.
[G1 Android Development] PorchSong:
You might be getting the wifi error several people are getting when going to yoshi 7.1. The rom might be the problem, not the kernel.
[G1 Android Development] sisterchick:
This kernel supports radio 2.22.27.08/2.22.28.25 and hboot 1.33.0013d which provide access to the extra RAM. (The kernel itself doesn't provide the hack - you have to install the radio/SPL.)
[G1 Android Development] betizad:
I don't have any problem with the rom. Actually as I am typing this I am connected to wifi. I used 2.6.35.11 from droidbasement site.
[G1 Android Development] d3vilskid:
bfs working really good on mt3g 1.2
[G1 Android Development] zortmo:
I would like to flash a farmatito kernel....and Laszlo rom.

Presently I have G1 > [2.6.34.7-cm6-biffmod ezterry@zach#7] kernel, with Froyo 4 Trout rom.

So, can I flash this rom first? .... prior to flashing Laszlo?

I also need to go to ext4 which means upgrading my RA dream 1.7.0 recovery, right?

Advice much appreciated.

Mike
[G1 Android Development] robuser007:
1.Problems with fast charging (usb with car-loader:1A):

with kernel from cos-ds charging goes much faster (tested several times).

2.Tether still doesn't work (wireless tether).
[G1 Android Development] Sik-1:
u must flash rom b4 kernel, and also your not upgrading your recovery, your using the partitioner to give more space for apps on your SDCARD

back up uyour current files b4 u use the partitioner in your recovery as it will delete all files on ur sdcard, make size atleast 512mb

once partitioned, wipe all and use oshaka superwipe for a clean installation

flash laszlo then the kernel

welcome to greatness lmfao
[G1 Android Development] Sik-1:
^^^^ i forgot to tell you to uprade the partition to ext3 then ext4
[G1 Android Development] hrk:
I'm gonna print this and show it to my english teacher. He'll die.
[G1 Android Development] Sik-1:
lmfao ithe the internet, lol humans tend to understand simple letters beter than words, just an opinion lol
[G1 Android Development] zortmo:
Ok, thanks....

Is it worth the trouble to go to ext 4, or should I just choose anther rom?

Thanks
[G1 Android Development] Namit1994:
ezterry, Can I apply the patches on this thread to your kernel? Will the camera work then?
[G1 Android Development] ezterry:
?? You are compairing apples and oranges

The old builds kernel and the 20110222 biff teseting kernel are both based on an older pershoot 2.6.34 (this thread is 2.6.35) kernels

The USB battery drain that is seen in 2.6.35 was never in 2.6.34 ... thus the patches in this thread will not help and may hurt..

There is a screen on drain that is higher in 2.6.34 than I feel it is in 2.6.35 or my new 2.6.36

There are also some things in the avalible 2.6.35+ that break some aspects of pre froyo roms.
[G1 Android Development] d12unk13astard:
@EZ

do you plan on releasing 26.36.4 anytime for froyo builds like froyobylazlo5.2 or is that something the developer has to cook into his own rom? I only ask about fbl since he is unable to update the rom anymore :/
[G1 Android Development] tom0769:
I tested both the latest kernels on Laszlo's rom, the bfs and the non-bfs one.

The bfs kernel seems to run a lot of smoother concerning touch scrolling.

But still the non-bfs kernel is better.

Anyway thanks!
[G1 Android Development] VAMCAVALO:
My cellphone really needs some help...

I unplugged it from energu and make 3 short calls (about 3min each) and send some SMS.

One hour later, I have 73% battery! It is a extremely poor battery life! I use farmatito's kernel and LASZLO and a 4 month old battery...

What should I do? Is there any chance of my battery being defective?

Thank you so much!
[G1 Android Development] tom0769:
I'm also currently using Laszlo's rom with a ~2 year old battery.

At the moment 52 hours up time and still 52% left light usage (even played some angry birds:D).

May check the usage statistics in settings/info to see what's consuming most of your battery capacity.

You may also try this (Lazlos rom without the need of ext partition)

http://xdaforums.com/showpost.php?p=13371330&postcount=1555
[G1 Android Development] dilwaladoctor:
20110428 BFS 1000 Hz kernel works perfectly for me. Its the best kernel so far.

Thanks alot for the hard work.
[G1 Android Development] sisterchick:
Trying out the BFS kernel with the settings you posted earlier on Laszlo 5.2. No stutter! Thanks!
[G1 Android Development] farmatito:
New experimental 2.6.35.13 kernels for Gingerbread.

Enjoy.

USE AT YOUR OWN RISK.
[G1 Android Development] tom0769:
Which settings are this?

Maybe I should try the bfs-kernel once more.
[G1 Android Development] sisterchick:
Tom - See below...
[G1 Android Development] tom0769:
Hey thanx, I'll try tomorrow.
[G1 Android Development] dilwaladoctor:
20110505 BFS 100Hz Kernel is smoothest in terms of Screen Touch sensitivity, but it consumes battery much faster as compared to 20110428 BFS 1000Hz Kernel:(......Also a weird problem with 0505 kernel is that some weather widgets dont work with it, while other work defectively (like they dont change from sun to moon at night....its a big sun at midnight on my phone screen...lol):D

So Im back on 20110428 kernel. It works best for me.:D

Thanks Farmatito for all the hard work.:)
[G1 Android Development] farmatito:
If the phone clock works correctly then probably the problem

is in the widget code. BFS seems to be good at exposing

bugs and race conditions in userspace and when used with

1000Hz it gets even better at that.
[G1 Android Development] Joskevic:
Installed the latest BFS kernel on my Magic 32A with Lazslo's Froyo ROM, but all apps on sd-ext are gone when booted. I shut it down again and flashed non-BFS kernel and all apps showed up again.
[G1 Android Development] farmatito:
This is a race condition bug in the framework that BFS triggers

better than CFS. It could be fixed by this patch:

From 030bc88b4c09a41b0d7dbe249aec55f33d6b8b8a Mon Sep 17 00:00:00 2001
From: anga <anga@syntronic.com>
Date: Tue, 1 Feb 2011 14:10:25 +0100
Subject: [PATCH] Fix a race condition in NativeDaemonConnector
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Fixes a race between the onDaemonConnected callback and setting the
mOutputStream in NativeDaemonConnector.

MountService connects to vold using the NativeDaemonConnector.
Throws a “NativeDaemonConnectorException: No output stream!”
when the onDaemonConnected callback in MountService calls the doListCommand.

Change-Id: Ib895bab37f7df680e4362df6366198c0a673c5e9
---
.../com/android/server/NativeDaemonConnector.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/services/java/com/android/server/NativeDaemonConnector.java b/services/java/com/android/server/NativeDaemonConnector.java
index 7b68d68..c0c6c36 100644
--- a/services/java/com/android/server/NativeDaemonConnector.java
+++ b/services/java/com/android/server/NativeDaemonConnector.java
@@ -97,11 +97,12 @@ final class NativeDaemonConnector implements Runnable {
LocalSocketAddress.Namespace.RESERVED);

socket.connect(address);
- mCallbacks.onDaemonConnected();

InputStream inputStream = socket.getInputStream();
mOutputStream = socket.getOutputStream();

+ mCallbacks.onDaemonConnected();
+
byte[] buffer = new byte[BUFFER_SIZE];
int start = 0;

--
1.7.4.1
[G1 Android Development] ExDr:
Could you specify content of "patches" please? Should they be flashed over the kernel (I mean 2.6.35.13-froyo-patches-20110505.zip over auto-boot-2.6.35.13-farmatito-pershoot-ds+-20110428.zip for example)?
[G1 Android Development] captaincrook:
Patches are to by applied to the source before building.
[G1 Android Development] jonnyj771:
been running with GY 1.1 ROM for several days now. just looked at my battery stats and 47s after unpluging from charge, the android os disappears. after 7m 25s it has returned but showing 2% draw. display is the biggest draw at 53% after 7 minutes which after 12m 42s the voice calls took over after i received a phone call.

overall battery draw is really good. 1-4% draw/hr. with average use.

Edit: after 45m on battery. down 1% to 99%. Android OS showing on battery use at 4% now.

2nd Edit: now 2 hours on battery and down to 94%...phone idle and android os at 4%...wifi was connected up until this edit. now disconnected while i head to work.

3rd edit...this is doing decent...at 81% 4 hours later...sending on my device this time...have used the phone and text messages since leaving work. Also have BT running.
[G1 Android Development] darkguy2008:
I dunno, this kernel claims to have fixed a battery drain bug, but for some reason this kernel actually drains my battery faster.

Back using GY 7.1.1 I used this kernel: auto boot 2.6.35.12 farmatito 32b and a.zip ( http://www.mediafire.com/?ss1f61a8c6colv8 ) and battery usage was awesome.

Now I'm using GY 1.1 with the BFS 1000Hz one and battery drain is insane. Back then it used to last me a day and a half, maybe two days straight (with wifi and such)... with this kernel, the phone can be idle for like, 2 hours, and battery goes down around 5-10%... wtf? it could be me, but I feel it's draining it more than the original kernel did.

According to my current battery stats...

6h 18min 35s battery

30% screen

23% wifi

10% multimedia server (huh?)

9% idle device

9% music

(I don't care much about the rest :P)

How come the screen eats the most? is this kernel-specific?

Still, the BFS one is fast as hell, I've never ran my 32A Magic so fast before, so big kudos!
[G1 Android Development] farmatito:
The 1000Hz BFS version was experimental and has been retired so try latest 100Hz BFS or non-BFS version

as BFS is good at triggering bugs hidden in userspace

and 1000Hz is even better at that.
[G1 Android Development] darkguy2008:
Thanks, but where can I find the 100Hz version? first post only has the 1000Hz one o.O...

EDIT

Whoops, my bad :P I'm using the 100Hz one, 20110505, right? I tried the non-BFS version, but it isn't as fast :( it feels sluggish, I wonder why :/
[G1 Android Development] hrk:
'cause screen is what eats the most. There are only two times where you won't see screen eating most of the energy.

1. When you never turn it on (duh!)

2. When the USB drain bug is present (you'll see "Android Operating System" eating the most of the battery).

Other than that... yep, screen is what uses most power. :)
[G1 Android Development] cabrerachaparro:
No wifi

Hi,

First of all, thank you for this kernel. I only have one problem. I installed on my G1 the [ROM][Gingerbread][GRJ22][05/013/2011]COS-DS using the kernel that is come with it and then I flashed the farmatito kernel and now I don't have wifi.

Do you have any ideas how to solve this problem?

Thank you
[G1 Android Development] darkguy2008:
Oh, lol that makes sense! I changed to the non-bfs one now and it doesn't eat much battery! However, now I have a 34% battery drain on "idle device", is this normal? Right now with 11hrs I have 57% left, is this considered

awesome? :p
[G1 Android Development] farmatito:
Just for the record at moment I am at:

4 days 16hours 44 min

with a 2300 mAh battery

and 70% charge left with phone sitting mostly idle.

Maybe you will check your widgets, apps and background services to see if there are some eating your battery.
[G1 Android Development] farmatito:
Sorry, no idea as for me it works.
[G1 Android Development] sickleman:
What about custom mtd boot zip file? Did you install it?
[G1 Android Development] winkerg1:
Do you not use your phone?? I have FB & Twicca on my phone and apart from texting I dont use the phone for anything else.

I only get 12/16 hours per day!!
[G1 Android Development] g1user101:
which kernel should i use for mytouch 1.2/fender? running gingeryoshi. thanks
[G1 Android Development] azrash:
which version of the farmatito's kernel are you using? for laszlo, you'll need the froyo version, the latest ones are for gingerbread
[G1 Android Development] darkguy2008:
Well, in services I didn't have much, and widgets none. It might be a difference that your battery is 2300 mAh and mine is 1340 mAh? it's the one that came originally with it (since it's practically new :P).

How do I check for background services? the idle time being highest just below screen worries me u.u!
[G1 Android Development] farmatito:
See http://xdaforums.com/showpost.php?p=13616822&postcount=285

and use a kernel tagged for froyo and eventually without BFS.
[G1 Android Development] robuser007:
Is wireless tether working with one of the latest kernels (cos-ds) ?
[G1 Android Development] g1user101:
which kernel should i use for mytouch 1.2/fender? running gingeryoshi. thanks

help? thanks!
[G1 Android Development] sisterchick:
Standard non-BFS Autokernel for Gingerbread (experimental):

auto-boot-2.6.35.13-farmatito-pershoot-ds+-20110505.zip

http://www.multiupload.com/0SJ77OM4HA

MD5SUM61a8bb913ca43a355e1eef3152b008db

Always nandroid first.
[G1 Android Development] g1user101:
does this kernel have that extra 10mb from the camera? ima try it now

does the kernel fix battery drains? and wats the advantage of the kernel over other kernels?
[G1 Android Development] d3vilskid:
dont want to be a douch, but read the first page for the logs and what not.

Farm: been using the bfs kernel for gb for quite awhile now and im impressed at how far the kernels have gone. Its stable, relieble and quick. Thanks again.
[G1 Android Development] iliaskone:
i want to ask something.i want to test the auto boot kernel with bfs for gb.when i have to flash the pach for gb?before flashing the kernel or after?thanks in advance!
[G1 Android Development] farmatito:
make a backup first,

then flash the auto-kernel.zip.

That's it.
[G1 Android Development] darkguy2008:
Thanks for this great kernel, it's the fastest so far and battery drain is ok, though I still think something's eating it, which didn't happen in old GingerYoshi 7.1.1 with the kernel provided for it (dunno what version since I can't remember :P).
[G1 Android Development] castaway1:
overclock?

could you make your latest kernel for froyo with OC to 672...710Mhz? its last what im miss on your kernel becouse im using 672Mhz and its stable.

Thanks!
[G1 Android Development] farmatito:
I'm sorry but I will not because it is not stable on my phone

and therefore I cannot test it.
[G1 Android Development] R3N0V4D0:
mostly every kernel i have EVER used i cannot go passed 575 without problems, but i have an old kernel that dumfuq did and i can run 691 all the time no problems, my Quadrant score if i recall was 413, maybe someone can split it apart and find out how its able to produce such high clocks without crashing, the rom i used was an eclair rom if i recall.... if i can find it in my hard drive ill upload it...but its not 2708 compatible...

*********************

found the link

Remember not 2708 compatible!!!!

http://www.mediafire.com/?jilkmyxjnui

here is his github..

https://github.com/dumfuq
[G1 Android Development] farmatito:
New Autokernel with BFS v0.404 for Gingerbread (experimental):

auto-boot-2.6.35.13-farmatito-pershoot-ds-BFS+-20110518.zip

http://www.multiupload.com/YRXWMK1AY3

MD5SUM c1373c915c8bfe3ebb470e839756a735

USE AT YOUR OWN RISK. NO WARRANTY.
[G1 Android Development] sada23:
This one seems to be snappier and dont see the Warnings and error in logcat I used to see with 05052011.. Testing it out now.
[G1 Android Development] NetrixTardis:
No more froyo releases? First pershoot now this... gb isnt ready for most....
[G1 Android Development] farmatito:
On the first post there are still froyo kernels that are reported to work well. Development if any will go on on the gingerbread version only.
[G1 Android Development] jonnyj771:
what may i ask was updated/changed with this kernel?

I'm gonna flash to my phone in the morning...just wondering what changes you made
[G1 Android Development] darkguy2008:
It's not hard to read the first post, is it? :/
[G1 Android Development] sada23:
The new Kernel for GB 05182011 seems snappier but the battery drain is more. Also, my phone got hung with the ringtone ringing when I got calls and wanted to take them. I had to remove the battery to silence and reboot the phone.

Dont know if its just my phone.
[G1 Android Development] farmatito:
Works for me. Battery is 99% after 8 hrs. Tried a few extra phone calls with no problem at all. Did you overclock your phone?

I use max freq 528.