yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] Macelangelo77:
No 60 mAh wakelocks, I meant. Do you mean that your screen lights up without pressing a button? If so..That's either caused by your pocket or some app which wakes up your phone...

Sincerely,

Mac
[HD2 Android NAND Development] sam razzy:
Whatever... At that very moment I was using ICS tosti , but now I just flashed dorimax Rom nightly version. I feel like flying high. Its very smooth even more than a butter.

Now I don't want to flash the latest build.. I will flash it when I find the bugs.

Thank you
[HD2 Android NAND Development] D3LTA:
I also have random drains in standby, can't pinpoint the reason i am Redux rom. No issues with 3.6 kernel....
[HD2 Android NAND Development] corrsea:
Just a such note to say that 3.8 works excellently on tytungs hd2 nexus 1 ROM. I have run into one issue though. That is severe data drops (on Clk). These can only be overcome by a reboot. On previous kernels ppp was rock solid. I will try out 3.9 over the next few days.
[HD2 Android NAND Development] Fietspomp:
Hi DorimanX!

Just some feedback for 3.9

Just installed it, on an ICS ROM (by michie tytung kernel).

With busybox/zram, no VPNfix/no2way.

It boots, but process com.google.process.gapps stops :-(, will not work normal.

Also, Whatsapp stops, so back to 3.8 for me! (Which works great!)

EDIT:

Flashed 3.8, same issues, I'll start from scratch (factory reset), will post results with 3.9

EDIT2:

Wiped everything, running 3.9 now :-). Something went wrong I guess, everything's up and running now,

thanks for another great kernel! Feels fast and smooth.
[HD2 Android NAND Development] jairrab:
How to change I/O Scheduler

Sorry noobish question. I've noticed on the 3.9 changelog that VR and BFQ are now included I/O schedulers.

How do I change the I/O scheduler? Is there an app, setting or script for this?

Also, I've read that in terms of performance VR is the best at a cost of stability. Any thoughts?
[HD2 Android NAND Development] tmotard:
You can do that with system tuner pro for example.. I'm using it with marc kernel.
[HD2 Android NAND Development] kevin319:
Hi, I am running 3.9 on tyung ICS and music app force closes. Anyone else having this problem?
[HD2 Android NAND Development] Looki75:
Hello tmotard!

With STP, do you mean scheduler I/O for the sdcard?

I see this option, but nothing about NAN scheduler I/O...

Or did I miss something?

Maye you can give the path to the option in STP?

Thanks
[HD2 Android NAND Development] themadproducer:
Zram

Dorimanx,

There are many many subtle and effective upgrades and also some very obvious improvements with your kernel lately. The changelog is impressive to say the least! Thanks man.

The only thing I can say that has taken a bad step (at least for me and a few others) is the Zram feature. In the last few versions, incl 3.8 and possibly 3.9, something wonky with Zram and I can no longer use it. Normally with Zram and swappiness at 100% (or stock 70%), I could load up ram with ram hoggin games until zram was full and real ram was down to about 50mb without unstable behaviour.

Now, I try loading 2 games consuming a total of 80 to 100mb after a fresh boot....and I try multitasking between them and soon into it, the system freaks out. Feels like it is shuffling the ram around and gets confused and either completely freezes or 99% freezes. Sometimes if I am patient enough, I can recover from it without rebooting. Also, loading of said games is tempermental, slow and sometimes stalls. Without Zram, games load fast and reliably.

So, just letting you know that I have tested zram as thoroughly as possible yet there seems to remain a major issue. (3.8 seems to be worse than previous versions and I will be testing 3.9 tonight but another user already reports 3.9 has the same issue) I am ok without Zram so no worries...but it would be nice to have.
[HD2 Android NAND Development] Looki75:
+1

I also had to give up zram, because of the above issues in 3.7, 3.8 and 3.9 too...

Would be nice if you could solve that!

Thanks so much for your kennel in all cases!
[HD2 Android NAND Development] tmotard:
Yes i mean scheduler I/O for sdcard...

i am wrong...? perhaps it 's me who missed something ... :)
[HD2 Android NAND Development] Looki75:
Well I don't know... I always thought that scheduler was for CPU cadencing data read from/write to NAND (system partition, data partition, etc...).

Frankly I'm not sure about what I say... that was just my conception; :o Maybe Dorimanx can help us? :rolleyes:
[HD2 Android NAND Development] ric69:
Hi and thanks again for your great work Dorimanx :)

I had a problem with 3.7 and MIUI 2.1.20 (mag) after 3 days w/o any problem ^^

Yesterday I called someone, I had the robotic voice, I tried to activate the speaker and disable, and then freeze on the screen. At next boot after removing battery, my phone was July 15, 1980 :confused:

BTW this morning, I flashed 3.9 and hope to never see this bug again :p but I'm not really sure it's related to your kernel :o What do you think ?
[HD2 Android NAND Development] Elmar1801:
I have tested zram and i get freezes like before on V3.8 using Navigon. Without zram no problems.
[HD2 Android NAND Development] geenyous:
With 3.9, I also had really bad data drops, the rest appeared stable. But I need my data, so I went back to tytung ICS r1.
[HD2 Android NAND Development] sam razzy:
I have no data drops.
[HD2 Android NAND Development] Charmacas:
3.9 does not work for me at all. Not with and also not without ZRAM. I am using Typhoon 3.7.6 with swap file activated.

The phone boots up but right after the start it freezes or I got a SOD.

Now I am back to 3.8 without ZRAM. It's working great.

Gesendet von meinem HTC HD2 mit Tapatalk

-- EDIT --

Oh I was a bit surprised as I saw that ZRAM is activated and runs smoothly.

I installed 3.9 with ZRAM. It doesn't work. I installed 3.9 without ZRAM. It doesn't work. I installed 3.8 without ZRAM. The ROM runs so smooth and fast. And as you can see in the Screenshot ZRAM is activated.

Maybe this helps...
[HD2 Android NAND Development] geenyous:
Hmm, but nobody knows what ROM you are using, is it a GB, one of the ICS ROMs, MAGLDR or cLK?

A post like that doesn't help much my friend. I suggest you put your details in your signature, that way you don't have to type it every time and people know straight away what they are dealing with.

I know that you can't see my sig in tapatalk app, maybe that's why you posted only these 5 words, because you thought I have also not put much thought into my post?

Please always be as precise as possible to avoid people having to come back to you and ask further questions to understand your post.
[HD2 Android NAND Development] sam razzy:
No man. I mean there is no problem in data!! Sorry I made little confused in last post

Sorry for my English

Edit: Please some one reply for my post in dorimax Rom thread...

My problem using dorimax Rom 3.0.7 , I can't download many application from market. It showing that this device is not completable :( Dorimax I used your hacked ROM and my dpi is 192
[HD2 Android NAND Development] paul89rulez:
hi dori, the kernel is awesome i use it with the typhoon rom :)

one suggestion, can u implement in the kernel the support for non htc 2400 mah battery?

like this http://xdaforums.com/showpost.php?p=19358829&postcount=205

in this tread http://xdaforums.com/showthread.php?t=1282435&page=21 :)

Sorry for my bad english :)
[HD2 Android NAND Development] TarekNajem04:
Team Blue Droid V3.3 Sensation xl Gen3 EU

After I install [Kernel-Dorimanx-V3.9 MAG] after copy initrd.gz from Original rom last rom 3.3

I have room with very slow boot and some graphic glitches.

any one help me to solve this problem without reinstall original rom becuse I see in [Kernel-Dorimanx-V3.9 MAG] some erorrs is solved for example: 'Wired Tether'
[HD2 Android NAND Development] djsolidsnake86:
on miui v4 for hd2 high battery drain
[HD2 Android NAND Development] ratelutz:
goto Settings->Apps->Manage Apps->Market and clear cache
[HD2 Android NAND Development] Looki75:
Be careful with the following:

IF you ever installed dorimanx kernel with zram then you have 2 solutions to "remove" it:

1/ Easy one: you go into CM7 settings / Performance / Compcache and select "0" and reboot. Done

2/ Less-easy one: you delete manually in /system/bin these 2 files: "bash" and "zram_stats"

and

you copy/paste 2 files named "compcache" and "handle_compcache"

> from your original ROM zip file's /system/bin folder

to > your phone's /system/bin folder

... and reboot

The solution #2 above enables you to use CM7's compcache after reboot.

Indeed, that could be a request to Dorimanx: in your installation script, when you select "no zram" you just do nothing; it means that if we previously installed zram, it will still be installed. Could you modify the script so that when we select "no zram" it actually deletes the zram files?

Thanks,

Looki
[HD2 Android NAND Development] sam razzy:
How can I know zRam working or not?
[HD2 Android NAND Development] kyryl:
Wi-fi issue

Hi, i have constant wifi drops when using WEP encrypted conections, even I can't pass the speedtest.net. Only reboot could help. When I use WPA/WPA2 PSK everything is OK stable and fast.
[HD2 Android NAND Development] Macelangelo77:
Sorry, I have no solution for your issue, but one remark: you really shouldn't be using WEP anymore... It's incredibly insecure.

Sincerely,

Mac
[HD2 Android NAND Development] Yank555:
Hi guys,

I'm using kernel 3.9 on Tytung's NexusHD2 GB v.3.2a.

The kernel really works damn fast, so it's a big improvement compared to 3.2 (I had not much time so I jumped from 3.2 to 3.8 yesterday and 3.9 today ;)).

I have had issues though, which I wanted to report back :

1) Bluetooth communication to my car kit

When I try to place a call, 4 times out of 5 I get a "Dial Up Failed." popup on the screen of my car's audio system (Skoda Ocativa RS original system in case that matters).

But shortly after that the call is placed, so it's not that bad, but it's not as it should be and wasn't an issue ever, and so also not with kernels up to 3.2 / 3.3 at least.

2) Wakelock

I now have a wakelock and a subsequent drain of ~70mA in standby (I suppose it's because of the bluetooth issue, since calling via bluetooth is the only thing I've done with my HD2 since I flashed and booted 3.9.

I just gave a look at BetterBatteryStats which shows a wakelock "proximity", so it also might be related to the proximity sensor...

Will reboot and keep my eyes on battery drain and report back what I observe.

JP.
[HD2 Android NAND Development] Looki75:
Very simple: use search function in this thread!

It was answered many times...

Type 'zram_stats' in terminal. If you get nothing, zram is either de-activated or not installed...
[HD2 Android NAND Development] legolas93:
Good Dori!..I installed 3.9 on Tytung ICS and it feels a little more snappy :D

Thank you!
[HD2 Android NAND Development] jolas:
Does anyone knows why my zram_stats does not change (e.g. number of reads and writes are always "1", etc)?
[HD2 Android NAND Development] dorimanx:
i have changed some settings for zram in new kernel 4.0 its will be up tonight.

i have powered it like never before, its updated to 2.6.32.55 and lots of new stuff added, see my git change log.

so get ready for cool stuff :)

Sent from my Galaxy Tab P7510 :)
[HD2 Android NAND Development] dorimanx:
i need the code for kernel change, i dont see it, just ready kernel, its cant be reversed to code.

if you will get the code i will gladly change and add it to kernel.

Sent from my Galaxy Tab P7510 :)
[HD2 Android NAND Development] sam razzy:
that's very Great of you... I won't sleep!! I will b waitin for this kernel with ma open eyes...

Temme how to check if my zram working or not?
[HD2 Android NAND Development] dorimanx:
if you set vr in stp the its effect only sdcard, ext and nand stay deadline.

vr is not faster than deadline, so no point to change,

i tested all already,

Sent from my Galaxy Tab P7510 :)
[HD2 Android NAND Development] sam razzy:
Dorimax... I'm using your Rom + kernel with hacked Dpi Market with Dpi 192 but I'm not able to download some application and games ... for example Adobe reader, opera browser etc.. it showing that my device is not competeble :( please play me some solution.. someone told me to type marketwipe.sh in TEmulatr.. but same thing happens again.. it just cleaning ma account detail ...
[HD2 Android NAND Development] CasualStarlord:
I have MIUI.us installed (1.10.28) just flashed Kernel-Dorimanx-V1.7-HD2-MAG-by-dorimanx.zip and I have no sound at all in video playback, or music or ringtones and my phone crashes when I get a call. However everything else seems to work :D

I am probably missing something due to not reading the thread properly, can anyone poke me in the right direction?

wait I think i need to replace the initd.gz or something from my ROM... that will learn me...

and now its all good!
[HD2 Android NAND Development] jcsy:
just to note :

MAGLDR with DORIMANX 1.6 on HYPERDROID 5.3.0 with SD-EXT required us to replace the initrd.gz file

MAGLDR with DORIMANX 1.7 on HYPERDROID 5.3.0 with SD-EXT

DID NOT

require us to replace the initrd.gz

I am giving this kernel another go after noticing too many 60ma spike drains out of no where previously on 1.7 DORIMANX with Hyperdroid initrd.gz

I am back on it without replacing any files and the attachment in the opening post as Dorimanx suggested

will post results of my findings :)
[HD2 Android NAND Development] mikeysteele:
Works fine in DungPHP's newest Desire HD Sense 3 build. All I did was remove initrd.gz and libaudio.so from the zip file. If anybody wants, and the OP doesn't mind, I can post the zip file.
[HD2 Android NAND Development] Panda_Face:
Happy Halloween everyone :-)
[HD2 Android NAND Development] D3LTA:
I'm on Redux2 rom with 1.7 kernel installed

after some time i'll get a battery brain of +/- 57mA and i can't find the cause...

tried with initrd.gz from redux2 and the initrd.gz from dorimanx but get same drain.

in system tuner is don't see apps eating cpu...

how can i find whats causing the drain ?
[HD2 Android NAND Development] jcsy:
facing the same problem just a matter of few hours

the power consumption fluctuated greatly even when idle from 7ma to 130ma for doing nothing, and stuck at 60ma
[HD2 Android NAND Development] Panda_Face:
Are you referring to Dorimanx's Kernel?
[HD2 Android NAND Development] Darkn3sss:
This kernel id very good but mobile data doesn' t work. I'm italian and apn is setcorrectly.
[HD2 Android NAND Development] clio94:
i am using v1.7 no2way rec with nightlies cm roms from arif-ali.kernel works good and excellent battery drain but sometimes in random moments superuser stucks.I want to open root exporer or titanium and i have a black screen.If i close the app and open again is ok.Or another moment i cannot make reboot from quick boot app.I tried to update to su 3.0.6,give auto permission and no log record from superuser app.It works ok but not every time
[HD2 Android NAND Development] ph03n!x:
That happened once for me (same ROM & kernel), but has not done that again after I updated to 3.0.6 (40) and SU binary to 3.0.3... BUT, I do think that the kernel is killing open apps more frequently, as I see quite a few entries of Apps like Viber and CSipSimple - which are supposed to be running all the time - being killed in the logcat. That said, I haven't faced any negative impact on performance or usability until now...
[HD2 Android NAND Development] Gho57:
All works for me ;)
[HD2 Android NAND Development] D3LTA:
Yes and yes maybe it's not the kernel, i'm just trying to find out what causing it.

Maybe 2.3.5 and this kernel ?
[HD2 Android NAND Development] TheInVisibleGoD:
I had the exact same problem with Kefir.net kernel about some weeks ago, probably this kernel have the same issue! I tried some things, but the issue was always there... The only solution was to switch to another kernel!
[HD2 Android NAND Development] jcsy:
yeah i am referring to dorimanx's kernel

something is triggering higher mA drains for nothing, and returns to normal..
[HD2 Android NAND Development] OCedHrt:
I have the same problem on 5.3.0 using Seader's R7. I don't remember if TyTung's 12.4v3 had the problem or not.
[HD2 Android NAND Development] D3LTA:
strange, nobody on Dorimanx Rom has any issues?

Maybe some value's in the build.prop thats causing it ?

Can you post/send me the build.prop ??
[HD2 Android NAND Development] Birne272:
I also recognize a high current drain sometimes.

As I figured out it happens when SetCPU sets the governor to "smartassV2". If I stay at "ondemand" with the settings Dorimanx posted in his ROM-thread everything is fine.

As normal I get a drain of mostly 2-3mA with WIFI off but DATA on.
[HD2 Android NAND Development] D3LTA:
mhh im indeed also on smartassV2, i prefer, did you notice any performance diff.... ?
[HD2 Android NAND Development] Birne272:
Not at all.
[HD2 Android NAND Development] bobjbain:
I'm on Typhoon 3.7.3 (cLk) and decided to try Dorinmanx's kernel, the one without 2way recording.

Things seemed OK, certainly streaming radio doesn't hitch whilst the screen is off like Tytung's Kernel does.

However I was getting a LOT, and I mean a LOT, of unresponsiveness on the touchscreen, waking apps etc. etc.

GoSMS decided to stop working and I lost a whole weekend's worth of SMSs

Dropped back to Tytung R12.4v3 and all those problems have gone away
[HD2 Android NAND Development] havard20009:
hi bro

big issue

battery drain in standby 70mlA

with 3.9 why ???

with 3.8 in standby 5-8 mlA :(
[HD2 Android NAND Development] corrsea:
in my case with 32GB class 4 card on nexus 1 hd2 ROM there is a major difference between deadline and vr. With deadline I get 7mbs write and 30 read. With vr write drops to 6 but read increases to 40mbs. For me this is a very noticeable speed increase. This one change also pushes up my quadrant score by 20%. I'm really grateful that you have included it again. Many thanks.

BTW 3.9 is working great for me so far. Great life battery life. Have set lower mhz to 96 without any issues and its being utilised. See screenshot.
[HD2 Android NAND Development] dorimanx:
open terminal

type:

su

marketclean.sh

push enter :)

now check the market download.

Sent from my Galaxy Tab P7510 :)
[HD2 Android NAND Development] lan78691:
Hey if any of you all want to try this kernel on Tytung's ICS Rom v1.2 I have packed the initrd.gz. All credit goes to tytung and Dorimanx. Thanks guys :)

I am providing this in an effort to get a solid kernel working for ICS roms!

Please test and report.
[HD2 Android NAND Development] jookdakang23:
I second this motion. The 2300mah official ones are too expensive 50 dollars in the us eBay store
[HD2 Android NAND Development] Number 8:
I'm having random reboots every 1-2h, and a no SIM card error / have to restart.

HTC HD2 Tytung ICS 4.0.2
[HD2 Android NAND Development] dorimanx:
hi, release of 4.0 is delayed.

there are some more things to fix / test

i am tired and will keep working on it tomorrow.
[HD2 Android NAND Development] themadproducer:
Were Good Dx. Thanks
[HD2 Android NAND Development] kikisp:
battery drain with 3.9..cant figure it out...
[HD2 Android NAND Development] d1wepn:
+1

Would be awesome to have unofficial 2300 or 2400 battery support.
[HD2 Android NAND Development] yerebakan:
yeapp.. with v3.9 kernel battery drains too much..
[HD2 Android NAND Development] Realalist:
Can someone posts the link to his page with all the kernels and roms?
[HD2 Android NAND Development] d1wepn:
Check first post - Click on one of his mirrors :)
[HD2 Android NAND Development] yerebakan:
www.dorimanx.com
[HD2 Android NAND Development] d1wepn:
If your lazy.... :P

Mirror 1

Mirror 2

Mirror 3

Mirror 4
[HD2 Android NAND Development] kikisp:
soo is there any app that can tell me what is using cpu soo much in standby..i 3.8 was 2-3 mah and in 3.9 about 60 or 70...its killling me..espetially because performance in 3.9 is soo great..
[HD2 Android NAND Development] Faith_G:
Running 3.9 with Tytung's ICS 1.2. Was running fine, then locked up while reading on the stock browser. After about a minute, it re booted but from the boot animation screen, no splash screens. It could not find the SIM card at first, then needed to be re booted after finding it. I was on wifi when this happened.
[HD2 Android NAND Development] themadproducer:
Why don't you first try:

- airplane mode and see if you still get the drain

- if not, also disable BT/GPS modules

Report back
[HD2 Android NAND Development] kikisp:
thx for answer..already tried that...got same drain of 60 to 70 mah..will try few more stuff..if anybody have some ideas please let me know
[HD2 Android NAND Development] Bologna:
@dorimanx

I'm testing your 3.9 with tytung cm9 ics rom modified adding swap, app2sd+ and other cool script from your rom...what to say...if with Tytung kernel the rom is fast and stable, with your 3.9 it's insanely fast!!!

In addiction it's amazing to have stable system even with 96 mhz cpu...

thanks again for your hard work!!!!

p.s. xda moderators can't see they have one of the greatest dev never seen without his right recognition???

All the best for you mate :)
[HD2 Android NAND Development] themadproducer:
If you really want to find the culprit, there is a method that has always worked for me. 100% success rate. (assuming you mean 60-70ma drain in standby)

1) What I do first is Enable AP mode and disable any other module such as bt/gps etc., and use Current Widget to test for 5min or more. (set CW to take a reading every 30secs) Then review the CW Log. (this much you may have already done)

2) A middle step you could try is to check for wake locks using these 3 tools:

a) Battery Stats (built in)

b) Spare Parts (built in)

c) Better Battery Stats (Market app)

3) THIS WORKS....Do yourself a favour, and buy Titanium Backup. It's a MONSTER app. You can systematically FREEZE your apps and even core processes/services. I like to Freeze in groups of 10 at a time followed by a 5min CW test. Eventually the high drain will be gone at one point, and you will have narrowed it down to that last 10 frozen group of processes. Then it's just a matter of systematically unfreezing each of those last 10....one at a time and checking current values each one for 5min each.... until the high drain returns. Then you will have found the culprit to be the last thing you unfroze. GET IT? :D This method is not for the lazy....and I would highly suggest doing a CWM BACKUP first.

BE CAREFUL as some core processes can't be killed without the system freezing up entirely.
[HD2 Android NAND Development] linuxis:
Check google maps. It often cause drain in standby. Just freeze or uninstall.
[HD2 Android NAND Development] sam razzy:
Yesterday my battery was drain in 380-570ma when screen is on and standby it drains up to 6-8ma... but today I was surprised seeing my current widget result. My battery drains when I'm using 2g is just 15-70ma drains. Standby 2-5ma :)

I'm using Dorimax Rom with 3.9v Dorimax kernel
[HD2 Android NAND Development] sam razzy:
Will test it later... thank you boss
[HD2 Android NAND Development] sam razzy:
All the best!! Take your time
[HD2 Android NAND Development] Yank555:
Battery drain in 3.9 is bluetooth related !

Hi,

Battery drain in 3.9 is bluetooth related !

I retested it this morning, drain starts as soon as my HD2 is connected to my bluetooth car handsfree system (as I already stated a few pages back).

A reboot stops it (obviously).

As long as I was home yesterday, thus bluetooth was activated but not connected, drain in standby was between 4 and 9mA (with WiFi on

and connected

).

See attached printscreens which might be of help...

On the third printscreen, you will see tags :

A - When I got into my car (bluetooth connected)

B - I placed a first test call

C - I placed a second test call

D - I arrived at the office

On the fourth printscreen :

X - Drain in standby after reboot (Bluetooth on, WiFi on and connected)

JP.

PS: Using Tytung's NexusHD2 GB v3.2a ROM.