yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] persko:
Looking at the build script in your git repository, it is likely because you commented out your "make clean" statement between compiles in your loop, perhaps you did that during testing, and forgot to put it back:

#!/bin/sh

export ARCH=arm
export _XXCFLAGS="-march=armv7-a -mfpu=neon -mfloat-abi=softfp -mtune=cortex-a8 -fomit-frame-pointer -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -O3 -Ofast --strip-unneeded"
export CROSS_COMPILE=/home/tristan202/android-ndk/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-
export PATH=$PATH:/home/tristan202/android-ndk/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin

if [ $# -eq 0 ]
then
echo "Usage : $0 <kernel name>"
exit
fi

kernelBaseName=$1

for kernel in BFS-HAVS-AXI BFS-HAVS-AXI-NO2WAY CFS-HAVS-AXI CFS-HAVS-AXI-NO2WAY
do
echo "************************************"
echo "***** Make $kernel ...."
echo "************************************"
fgrep -v "CONFIG_LOCALVERSION=" .config-$kernel > .config
if [ ! $? -eq 0 ]
then
exit
fi
echo "CONFIG_LOCALVERSION=\"-$kernelBaseName-$kernel\"" >> .config
# make clean <<<<<< This line
make
if [ ! $? -eq 0 ]
then
exit
fi
cp .config .config-$kernel
./mkflash.sh $kernelBaseName-$kernel
zipName=$kernelBaseName-$kernel.zip
rm -f $zipName
mv kernel-signed.zip $zipName
mv $zipName /home/tristan202/Desktop/Kernels
done
cd ..
rm .config
rm *.zip
make clean
[Desire Android Development] tristan202:
The problem is now solved. It all came down to the install script. It is fixed now, and I am uploading the new kernels as I write this.
[Desire Android Development] bookerok:
04b is faster than 0.3? 02 was the best tristan kernel
[Desire Android Development] rkuijpers:
Hanging on acquiring ip- address now....wifi still not functional?!
[Desire Android Development] sschmutte:
Same here 0.4b BFS Version wifi don`t work. I will test the CFS Version.
[Desire Android Development] dunstan92:
both version still could not connect to wifi
[Desire Android Development] gregsoir:
for me WiFi works pretty well, 4b CFS version
[Desire Android Development] tlexul:
Managed to get it working with this workaround (S-OFF required) on InsertCoin:

mount -o remount,rw /
mount -o remount,rw /system
ln -s /system/lib/ /lib
mkdir /system/lib/modules/2.6.35.10-tristan202-v04-BFS-HAVS-AXI-NO2WAY-g6d1dd84-dirty
ln -s /system/lib/modules/drivers /system/lib/modules/2.6.35.10-tristan202-v04-BFS-HAVS-AXI-NO2WAY-g6d1dd84-dirty/drivers
mount -o remount,ro /
mount -o remount,rw /system

Will try looking for a solution as well, as I'm not really in the mood for work :-)

Cheers
[Desire Android Development] ansonun:
I am using tristan202-v04b-BFS-HAVS-AXI.zip

wifi works fine.
[Desire Android Development] dunstan92:
i see.. well, im using the no2way version for both cfs and bfs which the wifi is not working
[Desire Android Development] herb1:
Hey y'all

anyone using this kernel on Reflex S 2.1.9. ROM?

I tried last week but stuck on splash screen???
[Desire Android Development] Sebby:
i flashed the new kernel v0.4b wifi is trying to connect but it cant connect

flashed back a other kernel and now i got lots of reboots on splash screen

and now i must restore my boot from my backup tru recovery again and now it all oke

it boots up my rom again with my working kernel and wifi from banana
[Desire Android Development] sybreeder:
Wifi is not working properly on both versions - 2way and no2way - tested BFS only.
[Desire Android Development] backfromthestorm:
That's what I was worried about.. Think I'll wait till its well tested! What happened to lean and clean? The first version was the best imo.
[Desire Android Development] kkiqq1208:
Just tried the tristan202-v04b-BFS-HAVS-AXI-NO2WAY,it works fine with wifi.Maybe you can try to clean davlik cache and re-flash the kernel again,check it works or not ;)
[Desire Android Development] sybreeder:
That's wierd because when i was flashing v04b BFS NO2WAY i wiped dalvik first.

When i then installed BFS 2WAY i didn't wipe anything. Either way wifi is trying to get IP but without success - on static ip propably wifi would work.
[Desire Android Development] fragargon:
hi,

I just installed tristan202-v04b-BFS-HAVS-AXI.zip after dalvik and cache wipe.

works fine, wifi ok and runing on dhcp lease.

thanks great work tristan
[Desire Android Development] rkuijpers:
Same here, had to perform a nandroid restore. Flashing other kernel after wipe dalvik and cache was a big no-go. Only got as far as the 'why so serious' screen!!
[Desire Android Development] k3lcior:
Unfortunately WIFI is not working for me either with v04b.

Stuck on retrieving IP Adress.

Edited:

Wiped Cache + Dalvik, flashed old Kernel and still WIFI doesn't work...
[Desire Android Development] Bartman007:
v04b CFS with 2waycall recording is working great here, nice battery savings, and all other bits work great, using LeeDrOid's latest Desire HD port.

Thanks
[Desire Android Development] jory9:
comin from gingercakes 0.6c , installed tristan 0.4b , no luck with wifi , not working

greetez..
[Desire Android Development] utiltiy:
No Problem with SGBS 2.8.1 here ;)
[Desire Android Development] jory9:
wich one did u use?

greetz
[Desire Android Development] utiltiy:
BFS-No2Way with Dalvik-Cache wipe
[Desire Android Development] jory9:
oh i will try , i tried CFS-no2way , but couldn't connect to wi-fi , maybe more luck with BFS?

greetz
[Desire Android Development] smx11:
I have the same issue. Wifi doesn't work with the 4b CFS and BFS version. I've tried a dalvik and cache wipe but the problem is still there.
[Desire Android Development] utiltiy:
Which ROM did you use?
[Desire Android Development] ThePanama:
Exactly the same for me and its faster as well, great work!
[Desire Android Development] jory9:
aurora v03
[Desire Android Development] smx11:
Cool3D AceS v3, I gonna try the version with 2 way recording. The wifi works with the gingercackes kernel 0.7g but I want to try this kernel.
[Desire Android Development] mliou:
Running leedroid as well, I thought bfs is better than cfs in terms of battery life?
[Desire Android Development] Ninolina:
I flashed tristan202-v04b-BFS-HAVS-AXI-NO2WAY.zip and I have LeeDroid HD port ROM.. Wifi is working ok..:-) I only have one reboot while I was playing a game but otherwise it work great..:-)
[Desire Android Development] smx11:
EDIT : Same problem with the 2 way rec versions. Wifi still doesn't work.
[Desire Android Development] mliou:
v04 BFS no 2 way calling running fine here, wifi working.

Gonna test it tonight for battery life, thanks tristan
[Desire Android Development] kakarot_22:
Installed same version. No reboot now. Battery life is good so far. Wifi not tested yet. No lag.

I hope that games are working without pulling battery.

Got 1 battery pull with bfs no2way v02 whe surfing over 3g.

V04 still testing...!
[Desire Android Development] crawlingroof:
kernel v04b-CFS-HAVS-AXI

works fine with leedroid 3.3.3 R5 on htc desire but

insmod /system/lib/modules/tun.ko

insmod: can't insert '/system/lib/modules/tun.ko': invalid module format

can't use ovpn :(

pls help
[Desire Android Development] juras81:
damn it cant get it working it freez on htc logo
[Desire Android Development] sschmutte:
I now have all flashed 0.4b kernel with the app kernel manager pro this is the only chance to flash the kernel without Bootloop on BlissyMede v1.0 Sense 3.5 Rom with all versions is not wifi. the bananacakes / gingercakes kernel works great! There should be some errors in the kernel exist why he does not work under 3.5 Sense Rom!
[Desire Android Development] tristan202:
I will try and build a new tun.ko.
[Desire Android Development] rkuijpers:
Tristan, what's the problem with wifi in your last kernel? Had to restore a nandroid copy to recover from boot loop...

Flashing another kernel didn't fix it?
[Desire Android Development] tristan202:
I don't know why some are having trouble with wifi using the last kernel.
[Desire Android Development] jory9:
flashed 4 times 0.4b , still wifi issue's
[Desire Android Development] tobi01001:
I don't know either. Do you have a special reason for putting the module into sub directories and symlinking from ../modules? should be possible to place it into modules directly if I am not totally wrong.

Further, guys with problems: you may check how much you have left on /system... with the number of roms, mods and hboots out there, it may - just out of curiosity - that the module was not written entirely or just the symlink is missing...

Just my thoughts...
[Desire Android Development] fragargon:
hi,

as wifi is working a try to catch some logs, may be this can help others to track their wifi logs

http://pastebin.com/embed_iframe.php?i=Q4rhTgLB

WifiService and WifiHW were the filter on sender a tracked

hope this help
[Desire Android Development] tristan202:
It's the build script that puts it into subdirs and symlinks. I haven't modified the script regarding that. didn't see it as being an issue. But I could try and make it put it directly in /lib/modules, instead of letting it rebuild the source folder structure.
[Desire Android Development] rkuijpers:
I have 13.3 Mb free in system, should be enough I guess?
[Desire Android Development] rkuijpers:
V01 to v03 didn't have this problem, so it should be due to something that has changed in v04?

I really like the Tristan kernel though, best battery life for me! Would be a shame if this couldn't be fixed...
[Desire Android Development] erosco:
Tristan, I found last night that wifi got stuck on dhcp.. Once I set up the "Wifi Static" app to set my IP address, I connected fine (BFS-NO2WAY). May be something about the requirements of DHCP packets.

cheers

erosco
[Desire Android Development] Ninolina:
Unfortunately, yesterday I had a huge problem..:-( I was using kernel v04b and all seemed great..:-) But, suddenly my phone rebooted and it couldn't boot up..:-( It was stuck at splash screen and nothing helped..:-( I was trying to flash other kernel, wipe cache and Dalvik cache, tried even to flash pure ROM without wipe data and it was the same.. It couldn't get up, it was stuck at splash screen.. I had to restore my old nand backup and that was the only way to boot it up..:-(

I hope no one else had such a problem but I would like to know if you do..:-) I am now back on v01, it was the best version for my device..:-)
[Desire Android Development] rkuijpers:
Unfortunately you're not the only one, me and others have had the exact same problem with v04 of this kernel!

Something is very wrong...
[Desire Android Development] Ninolina:
Well, I hope it will be fixed soon and at least I now know I am not the only one.. I did see that some people wrote that they couldn't boot their phone after flashing v04 kernel but it happened to of after several hours of use.. Thank you for answering to me..:-)
[Desire Android Development] tristan202:
I am currently working on v05, and in that I made some changes to the ramdisk, that will make it possible to reflash other kernels after mine. I think the reason some ended up with a stucked device is, that I compressed the ramdisk using lzma instead of gzip, and most kernels don't support boottime lzma. I have now reverted to gzip compression of ramdisk, and is now checking if that helps.

Other new stuff is XZ compression of zImage. It is similar to lzma2, size is about the same, and my tests so far seems that it is a tad faster.
[Desire Android Development] jory9:
Great, cant wait to test it!

Greetz
[Desire Android Development] crawlingroof:
Pleeeeease, don't forget to rebuild modules ;)
[Desire Android Development] acrickie:
I had a very similar problem to you using one of the more recent snq kernels (2809 version I think). I also had to do a nandroid restore to get back working again. That was my main reason for trying this kernel. The snq one appeared to work fine until it got stuck in a boot loop. I wasn't doing anything at the time. Have had this (v4b CFS no2way) running OK since Monday evening now so desperately hoping it doesn't go wrong. Using the Data version of the same ROM as you....
[Desire Android Development] tristan202:
They will be build together with the last kernel. Put that into the config and script.
[Desire Android Development] Nutterpc:
Hey Tristan, just first off would say now my phone runs so much better since switching to ur kernels.

Updated my rom last night, to gingervillan3.1 & all went well, so thought I would change the kernel to ur v04 release. Bad idea. I was getting FC city. So reboot into recovery, run fix permissions, then reboot (wiped dalvik cache too).

This did not help. Phone just kept FC on boot with all programs. Went back, installed v02.1 & my phones working fine.

If you could make a release like 02.1 without 2way and update bfs to latest (0.410), then that would be sweet :)
[Desire Android Development] tristan202:
Using my kernel with GingerVillain is a bad idea, as GingerVillain is an AOSP rom, and my kernel is for Sense roms. You should look at i.e. eviollett's kernel instead.
[Desire Android Development] Nutterpc:
But I like pain =)
[Desire Android Development] Nutterpc:
Fwiw Tristan, I got ur v02.1 kernel to work perfectly under this AOSP rom

Nd considering how much better this phone responds with it, its staying where it is :)
[Desire Android Development] caifaz:
Hi i'm using baadnewz 1.1.4 ROM, has anyone tried this kernel with that ROM?

thanks again
[Desire Android Development] bg_man:
Yes. v02 working fine.

Some lags with AndryBirds Rio, but all other kernels also lag with Rio.

v03 gives me a boot loop.

Haven't tried v04 because of wifi issues other users stated.
[Desire Android Development] rkuijpers:
V05 broke my wifi again, it won't go beyond obtaining ip address.

Tried flashing another kernel after this one, but no go, wifi stays broken!

Do I really need to restore my nandroid to get my wifi working again, or is there another solution to this problem?
[Desire Android Development] felek73:
T hesame here, I flash lastest kernel and ..bootloop. Flash another kernel...bootloop.

So ended up Restoring nand from yesterday
[Desire Android Development] backfromthestorm:
Just restore boot.
[Desire Android Development] smx11:
In wifi settings press menu then advanced. Check static ip and enter your ip configuration. Common gateway: 192.168.1.1 use an ip like this 192.168.1.xx (xx are numbers). Gateway submask : 255.255.255.0 and common dns are : 192.168.1.1. Or you can do an ipconfig /all in windows cmd to see your ip configuration.

For the bootloop problem, first wipe dalvik before flashing, then flash the kernel 3 times and reboot (this works for me)

Sent from my girlfriend nipples
[Desire Android Development] fragargon:
hi tristan,

Indeed now module bcm4329.ko in /system/lib/module

WiFi connected

would test this build next day.

thanks for your work, great kernel :)

edit: i just wipe cache and dalvik and fash once, boot around 5 minute (dalvik must be build again)

wifi connected on dhcp wpa 54bmit
[Desire Android Development] wisey18:
Ever since v4 and up coming from v2 results in freezing at the alpha rev screen. Currently on leedroid hd v3.3.3 data++
[Desire Android Development] fragargon:
did you shrink the rom?? how much mb system available?

i m using the same rom but shrink around 10mb free into system if running cm7r2
[Desire Android Development] wisey18:
No, I didn't. I have 5.5 mb system rom available.

I will try shrinking the rom then and seeing if that makes a difference.

Edit: Nope, shrinking didn't make a difference.
[Desire Android Development] kf181818:
I using InsertCoin 1.1.4 CM7

v05 is working very smooth

and wi-fi no any issue

Thx tristan202
[Desire Android Development] crawlingroof:
Agree with kf181818, but ...

# uname -a

Linux localhost 2.6.35.10-tristan202-v05-CFS-HAVS-AXI-g204aa09-dirty #105 PREEMPT Wed Oct 5 20:33:02 CEST 2011 armv7l GNU/Linux

# insmod /system/lib/modules/tun.ko

insmod: can't insert '/system/lib/modules/tun.ko': invalid module format

# ls -la /system/lib/modules/ --color=never

total 479

drwxr-xr-x 1 0 0 2048 Oct 6 04:54 .

drwxr-xr-x 1 0 0 2048 Oct 1 17:38 ..

-rw-r--r-- 1 0 0 285628 Aug 1 2008 bcm4329.ko

----rwxr-x 1 1000 1015 200554 Oct 5 17:10 tun.ko

:confused:
[Desire Android Development] rkuijpers:
Even after restoring nandroid with restore factory settings, wifi not working anymore!

It hangs on Obtaining ip address all the time, with all kernels I try now :(

Any ideas please?
[Desire Android Development] bg_man:
Did you wipe all, before restore?
[Desire Android Development] smx11:
I give you an answer just a page ago! It's dhcp related, you should use a static ip.
[Desire Android Development] rkuijpers:
yes I did, it's almost like it is a setting that can't be wiped...
[Desire Android Development] rkuijpers:
Ummmm... Static ip may be a workaround, but I connect to many different accesspoints, and need it to work through dhcp :D
[Desire Android Development] tristan202:
I don't think it is kernel related, as it persists after another kernel flash, and after a nandroid restore. Can't tell you what the problem might be, but as I said, I don't think it's kernel related.
[Desire Android Development] bone069:
I think it has to be kernel related because it only happened after your last release. Regarding v3 and earlier the problem never came up and I was often switching between yours and bananas kernel.
[Desire Android Development] pavel54:
Same situation for me, on cooldroid v1 by coolexe, like @rkuijpers have..
[Desire Android Development] fragargon:
i don t think so, wifi worked with all release.

however in this one (V5) i have to tell that wifi never sleep even it is disabled.

got screen shot with battery history and watchdog.

this never happened with previuos release.
[Desire Android Development] bone069:
Maybe it is rom related. In the past posts only user with cools roms are having problem I think.
[Desire Android Development] tristan202:
That is due to some wifi sleep patch I wanted to try out. I will revert at once.
[Desire Android Development] rkuijpers:
Yes, I guess you're right. As soon as I got home, my desire connected to wifi at my home right away.

Might be something wrong with the router at my work. Strange, as before flashing your v05 kernel, I was connected to wifi at work.

I do apologize for second guessing your kernel, Tristan! I'll try and flash it again, now that I'm home. Fingers crossed! ;)
[Desire Android Development] bg_man:
I've serious doubts about this.

When you wipe all, actually you wipe all but hboot and mtd0/misc.

And hboot/mtd0 have nothing to do with wifi.

Try to flash official stock ROM from HTC and check wifi.
[Desire Android Development] nickislauw:
WIFI is stuck at obtaining IP address in aurora V3:(

EDIT: I putted a static IP in it and it worked ! its connected now, but still annoying bug..
[Desire Android Development] sybreeder:
I also had problem with not optaining IP and finally i had to reflash ROM and wipe data. I think the cause is switching kernels. Change kernel didn't helped. banana 0.6c make my phone bootloops. No i again have cool3D v03 but i didn't change a thing - i use original banana 0.5 kernel and it works perfectly. I have to make backup because i'm afraid that when i again will flash kernels the problem come back :(
[Desire Android Development] MarciWoi:
I´ve wiped dalvik cache and flash the kernel but I always get a bootloop :/
[Desire Android Development] Sebby:
+1 and wifi dont work

rom runny v2
[Desire Android Development] kfasheldon:
Hi tristan,

Any progress on wi fi bug !

Thanks
[Desire Android Development] koff043:
Use tristan202-v05-BFS-HAVS-AXI, very much, but not record 2 WAY. Sorrowfully.
[Desire Android Development] l3zawi:
very slow kernel ... wiifi not working ...

using 05 bfs
[Desire Android Development] Stilleh:
I'm using Tristan's v.02 kernel on my wifes phone running LeeDrOiD HD port r5 3.3.3.

I have to run it with smartass governor at atleast 384 and no more than 1075 orthe phone will reboot by itself (only when being in sleep). But if I use these settings it's incredibly stable. Haven't had a reboot or freeze in over 3 weeks! And everything is working just fine.
[Desire Android Development] Helle85:
no more updates tristian?
[Desire Android Development] tristan202:
I am working on rebuilding the dalvikvm, but it's hard to get it to compile properly, and to get it to work on a sense rom. I found the source of all the error in the logcat, "bad cgroup data" etc, and have edited the dalvik source. However I don't have access to the source that htc used, so I am using original google code, and it requires a bit of work. Just getting the source was a big problem, as kernel.org which hosts the entire android source tree was hacked some time ago, and is currently offline.
[Desire Android Development] Nutterpc:
Give the man a break, he has a life too :D
[Desire Android Development] eddiehk6:
@tristan

seen this?

it's been mentioned in bananacakes and snq's kernel threads, dunno whether it's possible to integrate it into yours?

been using v05 kernel with andrev_oc, v smooth, no wake lags!
[Desire Android Development] Droidzone:
Did you get the source? Google has published a mirror
[Desire Android Development] holmestm:
I'm using v05 but trying to use the cifs.ko from the OP (or tun.ko for that matter) I get

/system/lib/modules # insmod cifs.ko

insmod: can't insert 'cifs.ko': invalid module format

I get the No such Device error when I try to use CifsManager.
[Desire Android Development] kakarot_22:
Just a push :-)

This kernel is fast and stable without crash 920hours ontime :-)

Maybe there will be a v06? :-)
[Desire Android Development] Formhault:
Has anyone tested this kernel on Runnymede (AllInOne V2.2) by Sebastian15?! I'm just asking.
[Desire Android Development] cybele54:
Hi tristan202, thanks for your work. I want 2-way call recording and notice that you have made it optional. You have referred to your downloads but I don't know how to enable this feature. I also see that one person has tested it and it works. Apologies for the simple question but I am not very experienced!
[Desire Android Development] assafb:
Oxygen compatability

Hi,

Has anyone tried this kernel with Oxygen based ROM?

Should it work together?
[Desire Android Development] erklat:
This is sense kernel. *sigh*
[Desire Android Development] neXus PRIME:
sense kernel on aosp

Hi, regarding post before erklat's, i once by mistake, flashed gingercakes sense kernel on cm 7.1 and it worked...... atleast untill i noticed in settings when battery drain was high..... other than that, no issues.... ofc its not recommended, but it actually worked...... out of curiosity i tried vice versa, aosp kernel on sense rom, but no luck :)

But the point is, use proper kernel for ur rom...
[Desire Android Development] k3lcior:
Btw. im running Aurora v3 with custom hboot, after flashing your kernel my free space in /system/ is like 120kb, perfect fit eh? :D
[Desire Android Development] Sebby:
is this kernel support CIFS

if no then how do i add it
[Desire Android Development] tristan202:
The reason I posted about the interactive governor, is that smartass is based on it.
[Desire Android Development] beanbean50:
sorry for the slighty off topic tristan :)

@ziggy, zeguitarist

installed apk manager and as per usual things are not going smoothly...

placed the framework-res.apk in the place-apk-here-for-modding folder...

entered the script.bat and received a lovely error message 'Java was not found, you will not be able to sign apks or use apktool press any key to confirm'

Hmmmm
[Desire Android Development] tristan202:
I will make an update package for it later. IT have it built, but didn't add it.
[Desire Android Development] ZeGuitarist:
So install Java? :P

Simply Google Java, it'll be the first search result.

EDIT: Just a pre-emptive tip here. Installing Java will fix your current error message, however you'll likely get another one saying the script can't find adb. Ignore that warning. It simply means you can't use some of the functions within the script that control adb; but you don't need them for this, or anything else for that matter.
[Desire Android Development] Helle85:
This BFS Kernel is thaht what i am waiting for, F*#@ FAST:D

With this Kernel is my ROM 100% laggfree on sense for first time since froyo :eek:

THX Tristan for your work ;)