yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] themadproducer:
Dorimanx,

VERY IMPORTANT...re zram. I did a crazy amount testing.

We...or I...need a task killer or script (with an exclude or whitelist) that will KILL all non excluded apps once a low MB threshold has been reached. (eg 70-80mbs) In my crazy testing, If I launch 3 or more memory intensive games adding up to 150mbs or more, system becomes unstable or games mess up loading etc. I use System Tuner Pro to exclude core apps from getting killed...and I have the 63 process limit tweak and NO sdcard swap.

UPDATE: My workaround for now is that I set System Tuner Pro to refresh it's widget every 5min and to AUTO-KILL at widget refresh...except excluded apps.

UPDATE: checking standby battery drain. Not sure if it continues to auto-kill in standby. I hope not.

UPDATE: with widget update rate in standby and with screen on, preliminary tests show no significant or abnormal drain. Time for a 1 week field test...real life!!!
[HD2 Android NAND Development] iamcxa:
wow thanks the newest kernel and your hard work! always boost our life. :D
[HD2 Android NAND Development] fabiogrotte85:
yessssssssssssssss

this rom works perfekt for me.thanks
[HD2 Android NAND Development] Hinnne:
does bluetooth work with kernel 2.8 ???
[HD2 Android NAND Development] Howell:
For me Bt not working with 2way rec. And many have the problem with no 2way rec in DM Rom thread.
[HD2 Android NAND Development] dorimanx:
really :) that is cool :)

Sent from my HD2
[HD2 Android NAND Development] Admin Of Darkness:
Русские повсюду :D

thx for the kernel, Dorimanx :)
[HD2 Android NAND Development] dorimanx:
something in bt config, is wrong.

i will fix it today.

Sent from my HD2
[HD2 Android NAND Development] Elmar1801:
New Kernel is very fast. Thanks. Wait for your fix.
[HD2 Android NAND Development] djsolidsnake86:
there is this here?
[HD2 Android NAND Development] themadproducer:
Same here Dorimanx with Typhoon rom.

BT module won't initiate on the phone.
[HD2 Android NAND Development] dorimanx:
fixed in 2.9 :)
[HD2 Android NAND Development] dorimanx:
you can us this script to test the i/o :)
[HD2 Android NAND Development] Visentinel:
Hi Dorimanx, just wanted to let you know I love your kernel and the zram update.

I noticed an issue with the new zram settings 128*1024*4000

My rom has its minfree set up high so it was killing apps left right and center, so i had to make changes and found that 80*1024*2000 seemed to fair better with a rom on 128mb minfree. Might be good to post on your kernel notification about this possible issue for some roms :) and an optional replacement zram activator script for those folks.
[HD2 Android NAND Development] essi_baba:
Thanks for fix

Thank you very mach .excellent time for you .i`m try to it and test BT. :D
[HD2 Android NAND Development] themadproducer:
Thanks Dorimanx.

I can confirm that BT module initiates on Typhoon.
[HD2 Android NAND Development] dorimanx:
New update!

By request from NuttShell i have added to kernel 2.9 Step 3 that will allow to install libaudio and custom mic gain files for MIUI ROM

To get better Kernel support for MIUI + inird.gz ready for MIUI ROMS.

So if any miui rom users like to test it, just redownload the kernel and install.

in step 2 choose YES and in step 3 choose NO :)

Change log only for MIUI:

***Added miui inird.gz

***Added changed mic gain script

***Added custom miui rom default.acdb and htcleo.acdb to reduce calls problems.

***Added my tweaked modules script.

All thanks to NuttShell for supplying files for MIUI rom.
[HD2 Android NAND Development] kikisp:
thx for update for miui users...wanted to ask you if zram could work on miui?
[HD2 Android NAND Development] dorimanx:
yes it can.

you need to install the manual activation script for 524mb zram. from main page.

Sent from my HD2
[HD2 Android NAND Development] kikisp:
i know..installed that but when i enter free in terminal i dont see zram stats..

so i think that it does not work?
[HD2 Android NAND Development] Panos5vRS:
How is battery usage in this version 2.9 of the kernel? 2.8 had unacceptable battery usage!
[HD2 Android NAND Development] kikisp:
best i have ever seen first kernel that give 3/4 mah usage constant..
[HD2 Android NAND Development] corrsea:
2.9 with initrd.gz for use with Tytungs NexusHD2-Gingerbread V3.2a ROM.

Testing it out now.

(2.7 worked well on this ROM by the way :-)
[HD2 Android NAND Development] dorimanx:
type

zram_stats

also in free

do you see swap size?

Sent from my HD2
[HD2 Android NAND Development] kikisp:
ok ok now its ok... when i enter zram_stats..i see it..thx..
[HD2 Android NAND Development] t0wlie:
After flashing 2.9 no2way on latest MIUI , my SD card isn't recognized
[HD2 Android NAND Development] dorimanx:
hmm.

try to replace the initrd.gz in initrd-miui folder with one from your mag rom and reinstall the kernel, in step 3 choose no for miui

this was been added today so redownload the kernel if you dont have option for miui rom kernel.

Sent from my HD2
[HD2 Android NAND Development] CasualStarlord:
after flashing 2.9 with latest miui from miuiandroid.com, everything is FANTASTIC :D
[HD2 Android NAND Development] dorimanx:
great news, thanks.

Sent from my HD2
[HD2 Android NAND Development] jcsy:
battery drain is slightly higher than the default on Hyperdroid 5.5.2 but speed is better and more acceptable

im not using zram though and going to use that now after a reboot

report back :)
[HD2 Android NAND Development] jembot:
Great to hear that jcsy. Btw, can you post Hyperdroid 5.5.2's INITRD.GZ?

Need it for Dorimanx "initrd-Custom". Or you can post your modified kernel version here, either way would be ok! :)

Thanks!
[HD2 Android NAND Development] jcsy:
rename the file and remove the .xls at the back

the actual file initrd.gz
[HD2 Android NAND Development] arthurson:
using 2.9, i can use fm radio now , thx.

and i wanna play gta3, 1.6ghz is not enough , i need 2.6ghz:p
[HD2 Android NAND Development] iamcxa:
You are so greedy. lol:p
[HD2 Android NAND Development] jcsy:
CPU burn , no warranty , buy new phone :D

that nearly happened 2 me
[HD2 Android NAND Development] jembot:
Thanks.

It's the same as v5.5.0? I thought there were changes with the initrd.gz.
[HD2 Android NAND Development] CasualStarlord:
This may be a dumb question, but I how do you use the zram thing apart from selecting it on install, do I need to activate anything else, I'm using a MIUI rom, is it even possible?

I dont spend much time on xda... I pretty much find a rom where everything works and bluetooth a2dp doesnt skip :P but the zram thing left me asking questions to myself after the zip install. :rolleyes:
[HD2 Android NAND Development] nic.stl:
Hi

Another dumb question:

Can we use zram with your kernel + the last tytung aosp gingerbread rom ?

Envoyé depuis mon Nexus One utilisant Tapatalk
[HD2 Android NAND Development] jcsy:
i think its the 5.5.0

were there changes to it ?
[HD2 Android NAND Development] Panos5vRS:
I am going back to kernel 2.5. All versions after that use so much battery even in standby mode with only telephony on... :-(
[HD2 Android NAND Development] Looki75:
Super battery drain!

Hey Dorimanx!

I don't know what you did in your latest kernels, but today I noticed I had a super battery consumption!!!!

For weeks I was running 4mA in Airplane Mode and 7mA in standby.

Now with your kernel (2.7 - don't know; but 2.9 for sure) I am back to the super 1mA in Airplane Mode and 2-3mA in standby!!!

FANTASTIC!!!

BIG THANK YOU for that!!!!

Cheers!
[HD2 Android NAND Development] iamcxa:
wtf, 1mA? i want to check my power usage right now:eek:
[HD2 Android NAND Development] kikisp:
got to agree with the poster above..you did some pretty good stuff on new kernels...i thin that this is top limit of 32 kernel...i would really like to try your magic with 35 kernel...
[HD2 Android NAND Development] vodkinagdan:
with new twrp2.0 recovery it's almost impossible to use yes/no menu. May be there is a way to fix it?
[HD2 Android NAND Development] djsolidsnake86:
1mA? what governor you are using?
[HD2 Android NAND Development] corrsea:
Just to report I also experienced the low battery drain on standby using the kernel on nexus one ROM.

Unfortunately this is completely negated by extremely high battery drain while in use.

So heavy or moderate use drains the battery really quickly but low use is excellent.
[HD2 Android NAND Development] Looki75:
SmartassV2

Remember that 1mA is with airplane mode.

In normal standby, it is 2-3mA
[HD2 Android NAND Development] dorimanx:
i am working on kernel 3.0

its will include lots of changes, lots of them from .35 kernel by great dev marc

i will try to reduce the batt drain by tweaking voltage for sdcard and wifi and adding dynamic cpu voltage kernel code.

but its lots of work, and not be ready soon.

i got big project at my job and i will be away from kernel server. :(

Sent from my HD2
[HD2 Android NAND Development] Bologna:
don't worry about time needed to upload 3.0!

No issue with your rom 3.0+2.9 kernel... fast, smooth, perfect!

Also battery drain is nothing we have to worry about now...

maybe your rom need some time to stabilize, but now It's all right :D
[HD2 Android NAND Development] jasons1004:
ever since ver 2.7 i have been having sdcard mount error.....

ics roms and 2.3 roms (before 2.7 your kerns worked for me and both roms)

please help dorimanx!.......i want to overheat my phone so bad! HA

currently im using ics beta 7 with your old hieros 1.7.4 v11 kern and all

is well but i want to overclock as much as possible (why not)
[HD2 Android NAND Development] LazyJr:
I also have the same sdcard mount error after installed 2.7 and 2.9. in MIUI rom. dorimanx can you check it. Thanks!!!
[HD2 Android NAND Development] themadproducer:
I have noticed lately that I am getting Stuck drains usually at 59ma. Once again guyz, not advertising here or anything, but using Current Widget's High Drain notification to tell me when I hit a 20ma+ sustained drain over 5min period. (it's a killer tool for this kind of stuff)

The main thing I have been tweaking is Kernel updating and Zram settings. I am experimenting with 10/18/26% settings for compcache. also Using System Tuner Pro to Auto Kill all but certain excluded apps...when screen is on...not in standby...yet I have noticed an influx of these stuck high drains thanks to CCW notifications. No BT usage either. Anyone else experiencing this?
[HD2 Android NAND Development] jcsy:
i disabled lockscreen and got 60ma battery drains

it was random, but now i dont disable lockscreen and i get normal usage, for 2-3 days

however each problem and drain might be different, just providing a suggestion if you do "disable lockscreen"
[HD2 Android NAND Development] Panos5vRS:
Take your time Dorimanx! Good things come to those who wait :-)

I will try rom version 3.0.0 with kernel 2.9 and will reposrt back if the battery drain problem is still there...
[HD2 Android NAND Development] jcsy:
did it work for you, themadproducer?

give it a go. i no longer disable my lockscreen and drains are normal again
[HD2 Android NAND Development] themadproducer:
Thanks for the advice. I use Widget Locker lock screen and it has a provision to over ride the stock lockscreen. It doesn't disable the stock one, but it suppresses it. In a situation where WL gets killed (rare) then the stock lockscreen takes over) So I never had the stock lockscreen disabled.

BUT...after a silly amount of testing I found the culprit...or at least the cause. I use TASKER profiles and for some reason, one of the profiles containing PROXIMETER SENSOR was causing it. Even if I rebuilt the profile or any similar profile with Proximity Sensor, it would happen. I would guess that something in the kernel has changed and Tasker isn't cool about it. Either that, or something in the cache is interferring. I ended up messing about till I somehow was able to rebuild the profile without incurring the 59ma drain. I did it by copying another similar profile and then editing it to suit what I needed.
[HD2 Android NAND Development] mwakious:
Perfect work!!

Good work again!

hi i have made my MIUI rom with your kernel again,it works perfect!

i tryed your init everything worked great except wifi so i had to change it,trying now to port it in sense!!:eek:

I wish you and all of our users

​
[HD2 Android NAND Development] retsam88:
What is the chance of USB host reappearing on this kernel? I would love to test it.
[HD2 Android NAND Development] mknewman:
Anyone else seeing Voice Mail notifications when first booting even though there is nothing waiting on T-Mobile once you dial in? Acting very strange. No big deal but an annoyance, and it's new, in the last 2-3 kernel versions.
[HD2 Android NAND Development] jcsy:
there are some instability and excessive CPU time and lags when zram is installed, especially 524MB

i have removed the /system/etc/init.d/131MBzram script to do more testing
[HD2 Android NAND Development] Realalist:
Overall good but still high battery drains but it could be something I'm doing wrong.
[HD2 Android NAND Development] themadproducer:
Without a doubt, that is my experience.

I have been doing extensive testing to find a balance.

Good way to EXTREME test, especially if you are not running an SD swap partition, is to launch 3 memory hungry games at least 50-70mbs each and don't autokill them. (eg CutRope/AngryBirds/Snowboard) You will notice that the combined system memory doesn't run out, but opening/closing/resuming and even running the games will result in random lag and jitter...and sometimes worse. Again, this is if you load up your ram good and plenty.

Right now, I have Compcache set to 10% which gives me 194mbs According to Terminal Emulator. I have agressive autokilling every 2 minutes with System Tuner Pro for NON EXLUDED apps such as the games mentioned, and it is behaving. But it may change if the system continues to swallow too much ram over the next few days. Remember, some apps will hold on to some ram (as a Service) even when their process has been killed. These little bits add up over time.

UPDATE: Forced to go to 18% which yields 300mb+- as the OS seems to slowly gobble up more ram in the first 8hrs...then it settles in. Apps that leave a service running in the background use some memory and they won't let it go EVEN with autokilling.

Alternatively, smaller footprint games or apps will work fine and likely you can run many of them without autokilling. NOTE: the latest Angry Birds update seems to be exceptionally GOOD at resuming when stored in ram. It behaves better than any app I have tested. They have improved the code and the game UI significantly as of late.
[HD2 Android NAND Development] kypeth:
I've actually had that since dorimanx started tweaking typhoons rom, it's nothing new, it just doesn't always happen
[HD2 Android NAND Development] nonnotopo:
it could be useful?

http://developer.android.com/guide/topics/usb/host.html

in the rom for s2 (in \system\framework) exist this file com.android.future.usb.accessory.jar may be that he is old in the our rom?

thanks
[HD2 Android NAND Development] Rick_1995:
The site says: USB host mode is supported in Android 3.1 and higher.

Conflicting with reality, i guess propitiatory stuff comes into play here ?
[HD2 Android NAND Development] Looki75:
tic... tac... tic... tac... tic... tac...
[HD2 Android NAND Development] Howell:
Come on... let DM work his real time job for a while...

Sent from my HD2 running Dorimanx Rom
[HD2 Android NAND Development] essi_baba:
BT Broblem

After add initrd.gz in may rom to zip file v2.9 and flash it for sense rom ...

wipe dalvick and cash parti... after boot all part work grate only one error

Im after turn on BT cannot find any device and any device cannot find me(discover is on) ,sometime cannot turn on BT

Plesae fix it or learn me to fix :rolleyes:
[HD2 Android NAND Development] dorimanx:
NEWS UPDATE!

New Kernel 3.0 master peace!

shared with great Developer marc1706

Have fun!

Dont forget to thanks and donate to buy me Crismas presents :)

Happy new coming year to all :)
[HD2 Android NAND Development] kinghunki:
Thank you very much for your work.;)

Merry Christmas..:D
[HD2 Android NAND Development] ztMagic:
after flashing 3.0，my clk miui rom 1.12.16 can't connect to the internet. but previous versions woked well，i dont know why.
[HD2 Android NAND Development] dorimanx:
data not connected, or wifi error?

Sent from my Nexus S
[HD2 Android NAND Development] LazyJr:
After installed 3.0 i have sdcard mount error. dorimanx can you check it. Thanks!!!

PS: Only 2.7, 2.8, 2.9 and 3.0 have sdcard mount error.
[HD2 Android NAND Development] essi_baba:
Thnaks

WooooooooooooooooooooW very nice comeback the Mega developer Senior dorimanx ,,, welcome,,,:D ​

Really you are is Mega Developer and you sagacious Thank you:cool:

Woow New kernel 3.0 is faster faster faster than other kernel wooow touch response lcd Very better.

My rom really Flying with Kernel 3.0

its very different with 2.9

everything work grate only BT cannot find any device or any device cannot find me (Descover is On)

Sd-card Mount work well

Added Keyboard backligh !ON! in DARK, and !OFF! in LIGHT Its very nice and work great

Other part Not tested :D
[HD2 Android NAND Development] corrsea:
Testing with nexushd2 GB rom Tytung. No issues so far. Will report on battery life etc.

Zip with intrid.gz already set up attached for anyone else who wants to give it a run.

Happy Xmas Dorimanx, thanks for the present :-)
[HD2 Android NAND Development] mexicandroid:
I'm on Xylograph CM7. Can I just delete the initrd.gz in the zip before installation? Or do I have to add the initrd from my rom? Just asking so I can use the same zip for different roms and since I was able to do this with Tytung kennel and plus I'm not at home to add the one from my rom
[HD2 Android NAND Development] costelasleontin:
all sense rom's which use your kernel have graphic glitches.would be very apreciated if u could fix that issue making your kernel also the best sense kernel:D.

great work man keep it up.
[HD2 Android NAND Development] slbenz:
Same here. Problems with reading my SD card and many of my gaming apps links are broken.
[HD2 Android NAND Development] tmotard:
hi, and what about white screen in camera app with sense build ? did you test that ?
[HD2 Android NAND Development] nieves53:
I'm on a miui rom no 2wcr magdl the hard keys keep flashing onn and off
[HD2 Android NAND Development] LazyJr:
Are you using china official MIUI?
[HD2 Android NAND Development] ztMagic:
i didn't test wifi，gprs can't connect.
[HD2 Android NAND Development] havard20009:
love you broooooooooooooooo
[HD2 Android NAND Development] spideragos:
Great Dorimanx....,

Great Marc1706...,

the new version 3.0 is superlative

I just installed the 3.0 and I have no problem. all ok.

Wifi, Gps, Data, Drain, SdCard Mount, BT, perfect... :)

Now really flies............ :D

Governator now try SavagenZed

(On: Cm7, Malgrd, No2wayrec)

Thanks for hard works
[HD2 Android NAND Development] dorimanx:
i see the error, i will fix it as soon as i can.

Sent from my HD2
[HD2 Android NAND Development] dorimanx:
this is cm7 and miui kernel.

to fix the gluthch i need to replace video driver that will work with sense but not with cm7 or miui.

sorry not in plan for now.
[HD2 Android NAND Development] dorimanx:
did camera worked with 2.9 ?

if no, then check other camera apps,

working on cm7 with no problem.
[HD2 Android NAND Development] retsam88:
any news on usb host mode?

hope I didn't overdid this :P
[HD2 Android NAND Development] essi_baba:
fix BT

everything work grate only BT cannot find any device or any device cannot find me (Descover is On)

where Problem Please guidance me
[HD2 Android NAND Development] djsolidsnake86:
how enable zram in miui roms? can you do something dorimanx? :)
[HD2 Android NAND Development] themadproducer:
Dorimanx,

Thanks again for your TURBO hard work. :D

Do I need to delete my existing 150cpu_voltage script?

I was just testing out InteractiveX profile and after 10min in SLEEP, I got a BSOD. 1st time with your kernel. Might have been a one time thing so I am going to report back if it happens again.

BT voice command with Cyberon VC working no problems.

Finally, you mention that the Keypad lights behavior can be changed in the ROM. Can I do that in Typhoon? I use manual brightness. If I toggle AUTO brightness on then off, then the keyboard will stop being lit in the dark...which is what I want. Actually I want to try it both ways but it is great if we can choose. And are the Keypad Lights timeout adjustable by...the user?

Cheers buddy! :D
[HD2 Android NAND Development] costelasleontin:
not all sense roms experience this problem.about 50% of sense roms i tried did though experienced it.
[HD2 Android NAND Development] djsolidsnake86:
Added Keyboard backligh !ON! in DARK, and !OFF! in LIGHT (can be tweaked in ROM) (By Munjeni)

how make keyboard baclight off always?
[HD2 Android NAND Development] dorimanx:
News Update kernel 3.1

23/12/11 Time:20:00

New Kernel 3.1 ULTIMATE

*Fixed apps to SDCARD move driver.

*Tweaked sdcard driver settings.

Small but needed fix.

have fun.
[HD2 Android NAND Development] dorimanx:
nothing. it's will not work on 2.6.32

need to update and buy new phone :)

we stuck with no usb host.
[HD2 Android NAND Development] dorimanx:
look here!

go there in settings and replace 255 with 0

no keys backlight.
[HD2 Android NAND Development] dorimanx:
manual script main page,

Please people read the OP, it's for you, i know all already.
[HD2 Android NAND Development] dorimanx:
bummer, then you need sense kernel.

this is cm7, it's may work ok on sense, but not on all as i see.
[HD2 Android NAND Development] dorimanx:
HERE an answer.
[HD2 Android NAND Development] retsam88:
Are you completely sure about this? See this thread to shed a new light into development:

http://xdaforums.com/showthread.php?t=1069948

"battery driver detection not working" we know exactly what's wrong with usb host not working.

Also .37 got all files we need, though kernel doesn't work yet.
[HD2 Android NAND Development] dorimanx:
There is no real working driver diff patch! so i cant invent it. sorry,

If you find patch, i will test it.
[HD2 Android NAND Development] Looki75:
Thanks Dorimanx!

Your kernel 3.0 rocks (I'm downloading now 3.1)!

It is really far far faaaaaaaaaaaar above all the others kernels around!!!!

You really bring a huge contribution to the community!

Thanks for your hard work!

:D:D:D:D:D:D:D:D:D

С наступающим Новым 2012 Годом и Рождеством!
[HD2 Android NAND Development] djsolidsnake86:
in miui doesn't work :(
[HD2 Android NAND Development] kafer12:
is there any way to tune or turn off keys backlight w/o enabling auto-backlight?

Спасибо! Вас также!
[HD2 Android NAND Development] FileFixer:
Before few hours i was update to v3.0 but don't worry , i go now to update new version. :)

Thank you dorimanx for all your hard work.

Merry Christmas and Best regards.
[HD2 Android NAND Development] jolas:
Add the attached file in 'system/lib/hw' using root explorer and fix permissions to rw-r-r.

This is my configuration for auto brightness with working backlight hardware keys:

Light sensor filter=enabled

- Activated: checked

- Window length = 10 s

- Reset Threshold = 400 lux

- Sample interval = 0,5 sec

Light levels

- Use custom = checked

- Screen dim level = 1

- Edit other levels�

Set number of levels = 8 (you need to set this before editing levels above)

Lower / Upper / Screen / Buttons

0 / 10 / 1 / 255

11 / 149 / 20 / 255

150 / 229 / 40 / 0

230 / 499 / 50 / 0

500 / 999 / 60 / 0

1000 / 2999 / 100 / 0

3000 / 9999 / 200 / 0

10000 / infinite / 255 / 0

(hit Save & Apply)

- Allow light decrease = checked

- Decrease hysteresis = 20%
[HD2 Android NAND Development] NuttShell:
Dorimanx!

Your kernel is best! Thank you for hard turbo :) work!

Спасибо тебе огромное!

______________________________________________

Всех с наступающим Новым Годом!
[HD2 Android NAND Development] dorimanx:
OOO! :)

Great stuff! thanks for sharing!

i will use it in next release :)
[HD2 Android NAND Development] jcsy:
giving this a go in Hyperdroid 5.5.2

i dont use zram, so i wont be commenting

magldr, for now

lets see overnight drain :)