yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] recreation012:
Hi greetings thachtunganh, the last build was really great, will you overwrite the ts driver on your next build? I compared this with dj's kernel with your ta ts driver and with dj's performance is still good ever when touching the screen while on caf kernel its kinda being lessen.
[Optimus One, P500 Original Android Development] thachtunganh:
I felt that the new optimized touchscreen driver in my lastest build is better than the old one :eek:

Well, i think i need more testing... But i don't have P500 now, have to wait for a few days...
[Optimus One, P500 Original Android Development] rchile:
hey which dj's kernel you are talking can you give the link?? edit:- sorry i got it
[Optimus One, P500 Original Android Development] engr_exxi:
Dont ask for dates. Just wait
[Optimus One, P500 Original Android Development] Marius Cristian:
I posted smth in neko s ics rom thread,however i will also copy it here to make sure u see it:

well,i m using your kernel too because the default one causes random reboots.it s a good kernel,the processor touch bug is fixed(not 100%,but 80% for sure).the battery...can t really say because i used my phone a lot and the battery drain is normal.i will check today/tomorrow how s battery with normal usage.Now a request: If you can please update the kernel,do your magic and improve battery life.Also,if you could improve the performance a little bit it would be great,if not,is fine.before moving to ics i used ur kernel modded by trettet (also known as perfectpeso v1.6) and it was amazing(almost 100% touchfix)...if you could get that drive or whatever made it work that well and put it in your kernel would be awesome i think.

ps*on gs 2.0&2.3 i experienced some battery bugs with pp v1.6 kernel(battery % gets stuck and sometimes,after removing the charger the phone shows that is still on charge.also,somwtimes a reboot was needed to be able to put the phone on charge,otherwise the charging wouldn t have started).So if you port anything from that kernel,make sure you leave the bugs behind :)

Thanks !!!
[Optimus One, P500 Original Android Development] thachtunganh:
Hi there!

I don't use P500 as my daily phone anymore, but i still always visit/check the Development section. And i saw that there're many people use ICSnap with my kernel, but they have battery problems...

In today morning, i've played around my kernel. I applied some PM (Power Managerment) patches, hope those patches can improve the battery life. And i added XZ compression into the kernel source, too. Use XZ compression to compress the kernel image is useful, the size of zImage is reduced ;). About the touch screen driver, well, i've said the new touch screen driver is better than old one, Multi-touching is almost fixed.

I'm going to update the first post, today :D
[Optimus One, P500 Original Android Development] ZiViTi_13:
thachtunganh, thanks for update. I test your kernel(09/10/2012) and USB-modem don't work. In "Bugs" it's not writing.

In new version it work?
[Optimus One, P500 Original Android Development] thachtunganh:
No.

Sorry but what Usb-modem work for?

Send from my HTC Desire HD - ViperDHD ROM!
[Optimus One, P500 Original Android Development] auroszx:
Umm, I think he means sharing WiFi-3G connection with PC using USB. Haven't tried that, so I'm not sure.
[Optimus One, P500 Original Android Development] voyager20021:
You mean multi-touch or cpu spike? Nobody tried to work on p500 multi-touch bug for some time...
[Optimus One, P500 Original Android Development] thachtunganh:
I meant that in optimized touch screen driver, multi-touching is almost fixed, it just misplace touch point if you touch the screen hardly...

Send from my HTC Desire HD - ViperDHD ROM!
[Optimus One, P500 Original Android Development] auroszx:
Well, I've been testing on IcySnap 1.1 a few hours. TS driver seems okay, same as multitouch (no bugs with this so far). The per app data counter is working very well with WiFi (haven't tested with mobile data), I really like it :)

The only thing I've noticed in this testing version is... when I plug my phone to PC via USB (mass storage working good by the way), and then unplug it, the Android Debug and USB Mass Storage Mode icons won't disapear from statusbar. Screenshot here:

I think this is related to Android HAL or something like that, am I right? (the part of the kernel that detect when new hardware is added?)

I'm using it with OC 729max-480min SMARTASSv2. Good so far, a little hot maybe.

Keep up the good work ;) And thanks.
[Optimus One, P500 Original Android Development] thachtunganh:
Hi!

At First, Thanks for reporting ;)

I've known the Usb icon bug for a long time ago. But i really don't know how to fix it :(.

Send from my HTC Desire HD - ViperDHD ROM!
[Optimus One, P500 Original Android Development] coolics:
I'm testing this for the past 15 hours. I must say battery life is showing very good improvement (atleast 30%). But bluetooth voice calling is not working. Also, I had one reboot when in the midst of a call. USB icon not disappearing is something that I also noticed, but a minor issue.

thanks,

c
[Optimus One, P500 Original Android Development] thachtunganh:
Can you provide me logcat?

Send from my HTC Desire HD - ViperDHD ROM!
[Optimus One, P500 Original Android Development] Souron29:
ur kernel is giving nice battery on icssnap rom. nice work :)
[Optimus One, P500 Original Android Development] neko95:
> Knowing that this is just a test release, very impressive
[Optimus One, P500 Original Android Development] omidreza:
i wonder why no one can fix deep sleep issue while charging. is it related to the kernel or the rom? if someone can fix it on ics and jb then the charging time decreases and the life of battery increases.
[Optimus One, P500 Original Android Development] sweetnsour:
I was playing around with the test kernel and noticed the following:

1. I've never seen a better axis inversion fix than this one. Back on gingerbread, the hack on a gingerbread kernel worked only if I crossed my fingers slowly. On this kernel, the axis inversion bug is only there if I swipe really fast, but other than that, the bug is pretty much gone for me :)

2. I was transferring 1 GB of data from my phone to my computer. On DJNoXD's kernel, I would get 8 MB/second at the most, and that would fluctuate up and down. With this kernel, I got a solid 9 MB/second, with emphasis on the word "solid."

3. The whole interface is nice and smooth :)

Now to see how the battery is. Thanks for the kernel!

EDIT:

Both icons disappeared for me
[Optimus One, P500 Original Android Development] thachtunganh:
I thought there is some one already said about this problem, it can't be fixed

Send from my HTC Desire HD - ViperDHD ROM!
[Optimus One, P500 Original Android Development] auroszx:
Agree with these 3 points. Didn't know about the GB thing, always wondered why did that happen. Not sure, I'll try to take a logcat and see if something related to icon appears there (?

EDIT:

Here's the logcat, hope it helps in some way. Oh, and now the icons do disappear, like sweetnsour said. Weird.
[Optimus One, P500 Original Android Development] thachtunganh:
Thanks for posting logcat. But i mean that i need to get a logcat after you use USB Mass Storage ;)
[Optimus One, P500 Original Android Development] Umang96:
Smoothest kernel for ICS :) , battery is fine while using but still getting wakelocks 70% of the time while phone is sleeping sleep, though battery drain while sleep is only about 7-8% in 8 hrs :)
[Optimus One, P500 Original Android Development] myawan:
Some betterbatterystats too? That would be really helpful for TA to know what actually is causing wakelocks as he doesn't own a P500 now.
[Optimus One, P500 Original Android Development] sweetnsour:
I'm also getting some wakelocks. I know it says each wakelock is under 1 minute, and that is because I rebooted my phone to try to stop the wakelocks. They are still the ones causing wakelocks.

Sent from my LG-P509
[Optimus One, P500 Original Android Development] auroszx:
Ops! Sorry, forgot about that :P Also noticed that (some times) icons stay there if I interact with something while plugged by USB (not necesarily using USM), for example, updating the LG Weather Widget.

Here you go, another logcat. Hope this one helps.
[Optimus One, P500 Original Android Development] zeratos:
Found a problem and here is how to reproduce it :

1- open wifikill

2- click the off button to turn the service on

3- wait until it loads everything and then turn the service off by clicking the on button

4- the phone Will reboot and the wifi will be. On but every network will be out of range until you deactivate and reactivate wifi

I am using hehappy's genetics with the latest caf kernel update
[Optimus One, P500 Original Android Development] FD.:
This kernel got Oxygen ICS to be even faster... Amazing! It reminds me of the good old franco.Kernel on void #forever :D

Keep it up thachtunganh!
[Optimus One, P500 Original Android Development] sweetnsour:
thachtunganh, the stock CM9 kernel has the following according to hephappy:

Does your kernel have all of those? Are they even necessary? Thanks!
[Optimus One, P500 Original Android Development] thachtunganh:
Well i have most of them...

But there are some android drivers like Pmem, framebuffer, i haven't implemented them yet

Send from my HTC Desire HD - ViperDHD ROM!
[Optimus One, P500 Original Android Development] sweetnsour:
I asked because I want the kernel to have everything required for ICS (stock kernel), but your kernel gives much better battery life. I hope the "yet" means you are planning on implementing the rest :p
[Optimus One, P500 Original Android Development] thachtunganh:
Yes, i will do that ;)
[Optimus One, P500 Original Android Development] myawan:
Hope so, battery backup is so critical alongwith performance.

Sent from my LG-P500
[Optimus One, P500 Original Android Development] eigokyoukan:
Been working great on AOKP for a couple days. Concur with the battery life being great, all the wake locks I have are supposed to be there ;)

Every day performance is very nice, and @ 768 MHz I am much more stable than default AOKP kernel. Don't play many games, but the little ones I play are fine.

Great kernel update so far thank you!
[Optimus One, P500 Original Android Development] Andrea_Valent:
Sorry, anyone can link me the link of last kernel?? Thanks :)
[Optimus One, P500 Original Android Development] auroszx:
Testing so far: Really great! In two days only 1 random reboot (didn't see how or when, just noticed that it was booting, and had alogcat disabled :( ), great performance and stability with OC (in my signature), battery life is nice (around 6-9 hours with full WiFi use, few more hours with little 3G use), right now I only care about the thing of the two icons staying there, even if only happens some times. Looking forward to a new version to test, and ejoy of course ;)
[Optimus One, P500 Original Android Development] thachtunganh:
Have anyone tested 3G/Mobile Data? there's a person said that he couldn't get data connection :(
[Optimus One, P500 Original Android Development] Dales-Kas:
it's work for me...:)
[Optimus One, P500 Original Android Development] soham93:
mobile data works here..
[Optimus One, P500 Original Android Development] thachtunganh:
Ok thanks for reporting.

Send from my HTC Desire HD - ViperDHD ROM!
[Optimus One, P500 Original Android Development] auroszx:
I tested too. No problem, using it everyday.
[Optimus One, P500 Original Android Development] mike_24_11:
Know what? Hep happy 9.1.2 last kiss + 18/11/12 caf kernel! Made for each other! Great smooth and fast experience and with splendid battery life really! Using for 2 days and no problems till now! In sleep battery drain 3% and 2% for 8 hrs on 2 nights and that's awesome :). Thanks a ton! My ics rom is having now almost same battery as my gb stock rom. YIPPIIIIII....

---------- Post added at 09:37 AM ---------- Previous post was at 09:35 AM ----------

Btw I used Conservative mode nd not smart ass
[Optimus One, P500 Original Android Development] thachtunganh:
If you don't want to use smartass, you should use ondemand or interactive governor instead.

Send from my HTC Desire HD - ViperDHD ROM!
[Optimus One, P500 Original Android Development] mike_24_11:
On demand and interactive sometimes freezes for moments but conservative is relatively smooth.. hence I prefer it.. saves more juice for me than smart ass..
[Optimus One, P500 Original Android Development] nikola_79:
best kernel for genetICS

confirmed by me!
[Optimus One, P500 Original Android Development] sareerraza:
best with popdog ics oxygen
[Optimus One, P500 Original Android Development] Raffy 97:
3g keep my phone awake...why?

Inviato dal mio LG-P500 con Tapatalk 2
[Optimus One, P500 Original Android Development] vlt96:
For the same reason you can't download torrents in standby on your PC
[Optimus One, P500 Original Android Development] mike_24_11:
After around 4-5 days usage battery drain becomes that of the pre flashing time :( So I need to re flash the kernel twice a week to get a great battery life :( why is this happening? Has happened with every kernel and rom !
[Optimus One, P500 Original Android Development] Raffy 97:
-.-"

After using 3g... i use 3g then i switch it off and when i lock the phone the phone keeps awake...

Hope you understand my english:)

Inviato dal mio LG-P500 con Tapatalk 2
[Optimus One, P500 Original Android Development] vlt96:
wakelocks?
[Optimus One, P500 Original Android Development] DJNoXD:
Hello thachtunganh

Maybe you could help me.

Everytime I use ndk8b or ndk8c and the 4.6 toolchain, the wifimodule won't work.

I have searched a lot, but did not find the reason.

Did you changed something to get the module working with 4.6?

Thanks
[Optimus One, P500 Original Android Development] Sephirothrx7:
This kernel is amazing, works great on oxygen 3, no more reboots like I was having with candieice.
[Optimus One, P500 Original Android Development] neko95:
> great to see you active Again. Sorry for the OT
[Optimus One, P500 Original Android Development] omidreza:
I tried your kernel and i must say it's great in terms of battery and performance. but i have noticed two things that was not in DJnoxd kernel.

1. since i have enabled the touchsound, aftar using 3 days of your kernel, now the touchsound is gone.

2. sometimes i see that toggles in statusbar disappears and aftar a few seconds it comes back.
[Optimus One, P500 Original Android Development] soham93:
2nd problem is of cm9 (9.1.2), it is fixed in 9.1.3

don't know about the 1st..
[Optimus One, P500 Original Android Development] thachtunganh:
Touch sound??? Touch sound isn't kernel related.

Send from my HTC Desire HD - ViperDHD ROM!
[Optimus One, P500 Original Android Development] omidreza:
but I did not have this problem while using DJnoxd kernel for 5 days.
[Optimus One, P500 Original Android Development] mike_24_11:
Anyone knows why this happens?
[Optimus One, P500 Original Android Development] Sephirothrx7:
No problem here, Oxygen 3 from popdog.
[Optimus One, P500 Original Android Development] borchaniz:
Will you port this for jelly bean???
[Optimus One, P500 Original Android Development] thachtunganh:
Apply this patch :)

diff --git a/Makefile b/Makefile
index f53c377..6038d14 100644
--- a/Makefile
+++ b/Makefile
@@ -335,7 +335,7 @@ LGE_CF	= -D__CHECK_ENDIAN__ -Wcast-truncate -Wno-paren-string -Wtypesign
CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \
-Wbitwise -Wno-return-void $(CF) $(LGE_CF)
MODFLAGS	= -DMODULE
-CFLAGS_MODULE = $(MODFLAGS)
+CFLAGS_MODULE = $(MODFLAGS) -fno-pic
AFLAGS_MODULE = $(MODFLAGS)
LDFLAGS_MODULE = -T $(srctree)/scripts/module-common.lds
CFLAGS_KERNEL	=

Yes but you can't said this is a bug in my kernel.

I think that no. I don't have P500 for daily using anymore, and now i'm busy, i don't have much time to work on kernel.
[Optimus One, P500 Original Android Development] Daigo:
I use this kernel on cm by rashed
[Optimus One, P500 Original Android Development] thachtunganh:
Good evening!

I've just cherry-picked new commits from Genet ICS kernel source. I'm downloading new Android NDK toolchain, will compile the new kernel as soon as i can ;).
[Optimus One, P500 Original Android Development] Umang96:
Your kernel drains only 2-4% per night but still it gives too many wakelocks :confused: ,BBS also don't show any reference, did you found whats causing that ?
[Optimus One, P500 Original Android Development] thachtunganh:
No... I should install Genet ICS to my mom P500 and test my kernel.

EDIT: Also give me a log about wakelock stats by typing this into terminal emulator:

cat /proc/wakelocks > /sdcard/wakelocks.txt

You can use ADB instead.

Send from my HTC Desire HD - ViperDHD ROM!
[Optimus One, P500 Original Android Development] thachtunganh:
Uploaded new kernel!

Will test it at this weekend.
[Optimus One, P500 Original Android Development] hristodipchikov:
After flash new kernel my phone didn't boot it stay on the Lg logo:(
[Optimus One, P500 Original Android Development] 3ncrypt3d_Droid:
Wiped dalvik

Wiped cache partition

Flashed newest caf kernel

Stuck at lg logo

Rom: genetics 9.1.3

Didnt have another kernel on hand so had to restore backup
[Optimus One, P500 Original Android Development] ledinhsonhp:
Tung Anh, e chuyen p500 cho ba gia dung roi ah, a hoi bi ne e day, tu newbie gio thanh developer kha' roi, co cong mai sat, co ngay nen kim, hehe.
[Optimus One, P500 Original Android Development] edinrh:
Bootloop on my O1

Enviado desde mi Galaxy Nexus usando Tapatalk 2
[Optimus One, P500 Original Android Development] hristodipchikov:
How much time waiting to load ? I am waiting two minutes but phone didn't boot.
[Optimus One, P500 Original Android Development] Umang96:
cannot boot :confused:
[Optimus One, P500 Original Android Development] thachtunganh:
Sorry, i didn't test new kernel cause i don't have P500 now. I must take it down, sorry all you guys :(

Send from my HTC Desire HD - ViperDHD ROM!
[Optimus One, P500 Original Android Development] hristodipchikov:
Nothing terrible has happened.:cool:
[Optimus One, P500 Original Android Development] thachtunganh:
I think because kernel image was corrupt. Tomorrow, I'll compile another one and upload then see what will happen.

Send from my HTC Desire HD - ViperDHD ROM!
[Optimus One, P500 Original Android Development] DJNoXD:
That was exactly the experience I had while using ndk 8c. (I thought it was my fault that it dows not work)

After switching to linaro toolchain everthing works fine.

I guess if you build the kernel with ndk 8b the kernel will boot.
[Optimus One, P500 Original Android Development] thachtunganh:
Thank you ;) I will try that later :D
[Optimus One, P500 Original Android Development] DJNoXD:
I have tried ndk8b and everything works fine.

So something is wrong (maybe only for the old cpus?) with ndk8c.
[Optimus One, P500 Original Android Development] thachtunganh:
Maybe.

Actually, i just want to try Android NDK toolchain. LGE recommend us to use Code Sourcery Arm EABI toolchain for compiling kernel.

Send from my HTC Desire HD - ViperDHD ROM!
[Optimus One, P500 Original Android Development] thachtunganh:
Ok guys, this is 30/11/2012 build compiled with Android NDK r8b toolchain.

Please test and tell me it boot or not, how does it work on your mobile???

Download Link: http://www.mediafire.com/?becdarlelw5nont
[Optimus One, P500 Original Android Development] 3ncrypt3d_Droid:
It boots properly:D
[Optimus One, P500 Original Android Development] omidreza:
till now everything is good and works fine
[Optimus One, P500 Original Android Development] DJNoXD:
Latest Code Sourcery toolchain is also not working (known bug) with gcc4.7. So try the older ones. I used them for a long time.

Linaro gcc 4.7 compiles without errors, but does also not boot (like ndk8c).
[Optimus One, P500 Original Android Development] thachtunganh:
So we should use r8b NDK, or prebuilt toolchain from Google.

Send from my HTC Desire HD - ViperDHD ROM!
[Optimus One, P500 Original Android Development] omidreza:
sometimes after turning off usb mass storage the icons of usb in statusbar doesn't disappear and i should reboot .
[Optimus One, P500 Original Android Development] neko95:
> Know bug since the last test version, still exist on the latest test.
[Optimus One, P500 Original Android Development] fancccc:
connect the charger for a few seconds and they dissapear
[Optimus One, P500 Original Android Development] ashishv:
My phone stuck on lg logo after flashisng this kernel.GenetICS 9.1.3.
[Optimus One, P500 Original Android Development] auroszx:
Have been testing this release... Good battery life, same USB Mass bug, also good performance. Keep it up ;)
[Optimus One, P500 Original Android Development] AngryWolf80:
Works just fine, thanks for uid_stat
[Optimus One, P500 Original Android Development] Sephirothrx7:
I was using the previous version and this one is also pretty stable, battery life is also pretty good, ics oxygen.
[Optimus One, P500 Original Android Development] omidreza:
i found two bug

1. sometimes the touch doesn't respond for example while playing angrybirds

2. sometimes while the phone is charging, the wifi doesn't connect to my router and it's stuck in obtaining address
[Optimus One, P500 Original Android Development] thachtunganh:
Please read the first post about Reporting Bugs.
[Optimus One, P500 Original Android Development] neko95:
> Hi there thachtunganh, people might be scared trying your caf kernel because of "BACKUP YOUR PHONE FIRST" on the title, knowing that the latest one boots and work. :D
[Optimus One, P500 Original Android Development] mixednuts:
It's not necessarily a bad thing... makes sure users ask themselves "do I know what I'm doing?" ;)
[Optimus One, P500 Original Android Development] Sandipkim:
Hi Thach, i found an interesting thing with ur kernel, I was in college I just tried to open FB page it opened and I observed battery dropped from 8% to 7%,

after the 30 mins I turned screen on and I found battery went up to 8%:D

I started surfing XDA then about without realizing time after some mins I saw ma battery was at 2%:( I turned screen off and now I'm at home just I turned ma screen on and wtf 5% battery:eek::D:eek:

whats happening!! well i found it interesting and I will consider it as your kernel feature;):p:D:D

EDIT:

just read first post kernel bug but still mine is different...:confused: well I'm on cm7 nightlies#14

Sorry for ma bad ENG
[Optimus One, P500 Original Android Development] haxor:
I m on CM nighty 14# and i m facing problem which is suddenly switch off my mobile :( it is a known bug or what ? If i flash this kernel so will i rid off from this problem ?
[Optimus One, P500 Original Android Development] thachtunganh:
I have this to, but i don't care about it, and it's funny :)

I.play fruit ninja for 30mins , my battery down to 58% , after 20 mins turn off screen, i turn it on again, and it show 61% :-/
[Optimus One, P500 Original Android Development] ashishv:
Same here,happens 2 me on almost every kernel.:cool:
[Optimus One, P500 Original Android Development] nocterum:
It happens with every phone, including my brother's iPhone 4S. As the battery level is just an estimate...it is an estimate, so it's variable.
[Optimus One, P500 Original Android Development] d3s3rt_eagle:
@tachtunganh i saw in cm9 thread you asked me sources i used to build bluetooth as module. I used sources in lupohirp's github and the attached config:
[Optimus One, P500 Original Android Development] Wixej:
Yes this is my problem all day one value battery
[Optimus One, P500 Original Android Development] thachtunganh:
Oh thank you for sharing :), it will have me , and i will give credit to you :D

OK, i'm busy now, i will find the solution to fix it :)
[Optimus One, P500 Original Android Development] Wixej:
Thank you very much
[Optimus One, P500 Original Android Development] thachtunganh:
You are welcome
[Optimus One, P500 Original Android Development] neko95:
Is this a new update in kernel?
[Optimus One, P500 Original Android Development] Wixej:
Performance as the kernel Rome can be done? I have it shows in neocore см7 off 74.4 overclocking the cpu 768 I think at the acceleration of 800 will be even better