yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] ManyPearTree:
This is the battery I have and it works with this ROM.. it is about 2 1/2 times thicker than the original..

http://www.engadget.com/2010/02/05/htc-hd2-extended-battery-gets-its-close-up-lower-price/
[HD2 Android NAND Development] dorimanx:
New kernel!!!! + ROM 2.9.8

I am back!!!

After long work and sleepless nights! i did it!!!

23/11/11 Time:03:30AM

New Kernel 2.5 All-in-one

***Fixed Moved/Load App to SDCARD

***Added new kernel modules:

Added Automatic process group scheduling

Enable cleancache pseudo-RAM driver to cache clean pages

Run-time PM core functionality

ZRAM XVMALLOCATOR

Compressed in-memory swap device (zram) + activation scripts for CM7

Page cache compression support

All Run auto! except the ZRAM swap!

All you need to know is HERE

To activate the ZRAM in CM7

Go to settings > CyanogenMod > Performance > Compcache RAM usage

Use 26% for 110MB virtual ram swap (best choose)

Or lower, or you can disable it any time.

Reboot needed to apply the change.

After reboot!

You can check the swap load / stats

Here is how to:

Open terminal or connect by ADB SHELL

su -
free
#This will show you that you have swap! and 0 used!

zram_stats

#this will show you the usage + statistics in KB
Also the compression rate!

Formula is simple!

we have 420MB RAM + ZRAM (110*2.55) we get 700MB!!! so have fun!

Short info:

Compression is with LZO algorithm. already in kernel

ZRAM is RAM based SWAP, so it's take 110MB RAM and make them 280! or close to 300MB by compressing the data pages!

CPU will work slightly more, when compressing RAM, but when done, it's will be free as was.

This mod was lost for too long! time to activate it again!

Also the old mod was called ramzswap! this project is closed, now it's new 2011 project in mainline! now it's ZRAM!

SWAP will grow! from 0 to MAX but first 110MB will be stored in ZRAM! not in SDCARD :)

***Also i have make lots of bug fixes and tuning!

==============

I will upload also new FIXED ROM 2.9.8

Change Log:

***I have fixed the MOD 1 + 2, now all system stuff will remain in SD-EXT and not be moved and linked, so this will prevent all the damage with system settings!

***I have added ZRAM activation scripts, just activate 26% in settings > CyanogenMod > Performance > Compcache RAM usage

now you will get 110MB swap + your swap!

But best part is, that until ZRAM swap is filled! the disk swap is 0!!! not used.

So phone is very fast!

Ram is 10X faster than the sdcard!

***Made tuning to i/o , system and network.

***Added 3.0.7 Super user + SU

***Kernel 2.5 included in ROM! 2.9.8

Have FUN!

And i am now Recognized Developer! :eek::D:cool:

And it's all because of you guys that supporting me and here for me! as i for you!

I will drink some beers to celebrate this :)

Thanks allot to all!

Enjoy my new development! :)
[HD2 Android NAND Development] dorimanx:
Yes!

I got it! :)

Thanks allot for support!

i was very busy at work, and building the kernel... i didnt checked my account...

I will update main page!

Thanks for waiting and not losing hope! :)

I will try to chat more often with all of you!

Good night.
[HD2 Android NAND Development] Rudyfastcat:
Thanx DM -Flashing now:)
[HD2 Android NAND Development] Traukoman:
No, thank you Dorimanx!

You deserve to be called recognized and concerned developer

Your concern for maintaining our oldie fresh a new is unique.

I bet your next goal will be ICS, got the good of all of us.:D

---------- Post added at 11:32 PM ---------- Previous post was at 11:23 PM ----------

hey, what are you flashing! File size of new all in one ROM is just 27 MB?

---------- Post added at 11:33 PM ---------- Previous post was at 11:32 PM ----------

hey, what are you flashing! File size of new all in one ROM is just 27 MB?
[HD2 Android NAND Development] Rudyfastcat:
Hello -The Kernel :rolleyes:
[HD2 Android NAND Development] Traukoman:
of course. You are fast. BTW, as another fella told you, you must send that penguin repaired, he is showing me I'm on Safari browser, and I'm really on dolphin browser! :)
[HD2 Android NAND Development] illgodson:
I didn't get zram swap at kernel menu...is that only gonna be in the rom menu?

Or am i just a bonehead right now, haven't slept much so maybe i read it wrong and it just installs?
[HD2 Android NAND Development] denny02ng:
Congrats, you deserve it, and thanks for all your efforts at giving better life to our legend (HD2). More beer coming your way tommorrow.
[HD2 Android NAND Development] joescian:
Hi Dori

The first boot for 2.9.8 is taking forever. This is a straight upgrade from 2.9.7 High end with no Mod 1+2.

I chose to use Mod1+2 for this upgrade and its already been 15 mins ++.

I will pull the battery soon and see whats going on. If it still does not boot then I will reinstall with NO to Mod1+2.

btw To activate the ZRAM in CM7

At Kernel Install, choose from menu to install ZRAM SWAP - There is no such option in either the kernel install by itself OR ROM Install.

OK - Pulled battery after 15 mins and it boots up OK.

I have 663824 swap ( with 512M Linux swap partition ) used-2024 and Free-661800

I have Swap total 663824, used - 2024 Free- 661800 ( so only small amount of Swap used )

zram stats - 25% av compression

1% mem_overhead

original data size was - 2252800

comp data size- 580253

Looks like all is working fine and Quadrant Advanced sitting at 2575. :D:D

Dorimanx is a champion developer - well done buddy
[HD2 Android NAND Development] jasroop:
hey dorimax can we get theme gallery in this rom ? if not please try in next build..thanxx a lot for this one also..
[HD2 Android NAND Development] eterno13:
Can't connect to wifi any idea?
[HD2 Android NAND Development] mandrakur:
Everything works great,thanks Dorimanx,super crazy fantastic rom&kernel,I think this is ok ,but tell me if I am wrong(ps.my swap part. is about 522mb):

and after next reboot
[HD2 Android NAND Development] joescian:
Looks fine to me:D
[HD2 Android NAND Development] mandrakur:
Yes I think so but only one thing what DM tell us"But best part is, that until ZRAM swap is filled! the disk swap is 0!!! not used."is maybe problem ,but I hope is not.(I never see 0 swap used,after activation,reboot...)

In any way new rom+kernel is space fast and smooth,the best so far.

View attachment 792275
[HD2 Android NAND Development] Hinnne:
Thanks man,

I got IT.
[HD2 Android NAND Development] MystaMagoo:
Can we use the zram if we are on Light or it is only for highend?
[HD2 Android NAND Development] dublus:
Compcache setting doesn't stick after setting it. As soon as I exit and come back to the setting menu the setting has disappeared.

Otherwise, looking pretty good.

It seems that my phone is prone to not being able to hold certain settings or not allowing changing of some settings. I still can't enable airplane mode without enabling it then rebooting for it to take effect. Same thing for enabling GPS.

So the comp cache thing is par for the course for my phone I guess.
[HD2 Android NAND Development] iamcxa:
sorry for that but seems like is permissions issue, have you tried use rom manager to fix it?
[HD2 Android NAND Development] dorimanx:
Very Good!!!

I will add it on next ROM as default!

Thanks for update about it. :)
[HD2 Android NAND Development] dorimanx:
I really dont know...

it's only about testing and letting us know!

and if you find any TWEAK that needs to be added to Kernel to support it,

post link, and i will add it right away!
[HD2 Android NAND Development] jonas2295:
2.9.8 downloading :)))

Any changelog =) ?
[HD2 Android NAND Development] duhhh:
i have problem with home and call buttons :(

1.Task29

2.MAGLDR113

3.Recovery

misc ya 1M
recovery rrecov|ro|nospr 5M recovery-raw.img
boot yboot|ro 5M
system ya 150M
cache ya 5M
userdata ya|asize|hr allsize

4.Instal Dorimanx-ROM-HIGH-END 2.9.8 (everything ON)

5.Instal Kernel-Dorimanx-V2.5-ULTIMATE-HD2-MAG-CLK (ZRAM SWAP ON)

:confused:
[HD2 Android NAND Development] dorimanx:
some clarification about Kernel Menu...

Menu with ZRAM on/off only shown in ultimate kernel for public!

In our Kernel All-in-one and in our ROM, ZRAM installed by auto!

I know you want it :)

in FREE you will see SWAP used from 0 to MAX...

But first 110MB used via ZRAM!!!

you see it via zram_stats at SWAP use...

you see the Zram device used swap and your EXT swap/ file swap not used! :)

Stats are in KB so numbers are long.. but look at the first numbers from left.

this is the MB used / compressed.

Also the ZRAM swap will free it self when not used, and lots of free RAM exist...

This is kind of problem :) we dont have much free RAM after we RUN 50 services in RAM :)

So it's just stays there and work,

Best part, that SDCARD is no longer suffering from Read/writes all the time!

So it's WIN, WIN!!

More I/O for Sdcard and more RAM!
[HD2 Android NAND Development] dorimanx:
Hmm...

What is this?

Were can i get it?

If it's cool, i will add it :)
[HD2 Android NAND Development] dorimanx:
It's Global!

for all..
[HD2 Android NAND Development] dorimanx:
I think i know why it's stuck for you...

Do you add more settings to build.prop?

i have found that if you pass some unknown LIMIT of settings via build.prop

Then you have problems to activate GPS and more settings in ROM!

it's OVERFLOW!!!

So my build.prop is on the EDGE :)

2 to 3 settings more and BUG appear!!!!

I hope i have helped you...
[HD2 Android NAND Development] dorimanx:
it's strange BUG with data corruption!

Only solution is to hard reset the phone vi MAG menu before the recovery

option

Hard reset

But KNOW THAT THIS WILL FORMAT YOUR DATA + SD-EXT + SYSTEM!!!!!

Do backups before.
[HD2 Android NAND Development] dorimanx:
check 2 pages before :)

i will post link in main page..
[HD2 Android NAND Development] jonas2295:
Great changelog :D

Will report back about the experience :D

First boot was quite fast ;D now rebooting and activating zram :D
[HD2 Android NAND Development] Vicente:
I don't understand

Same as 2.9.7, after reboot when i configure the hd2, if i reboot again ROM don't save my preferences, and i must begin to configure again....

Help please.
[HD2 Android NAND Development] jonas2295:
Works great here :) ROM got even faster by zram !! :D

No issues :D

Thanks :D
[HD2 Android NAND Development] dorimanx:
you have corruption in DATA partition,

Best solution is to backup DATA and then format it.

then restore the Apps only.. (use titanium backup, to BKP and restore)

then set your settings, and all will be OK..
[HD2 Android NAND Development] moti1elash:
end bottom behavior

Hi dorimanx. Great work. Can you please return the end behavior options? I used it to kill stuck apps. This option disappeared on from 2.9.7. Tnx :D
[HD2 Android NAND Development] Vicente:
Thanks Dorimanx, i will format all, phone and SD.

Thanks again for your job
[HD2 Android NAND Development] barjel:
Is it possible To use ROM manager To update... ?

Sent by my HD2 Dorimanx's best rom
[HD2 Android NAND Development] SkooterD:
Thank you for all the time and effort you put into making this the BEST HD2 rom on XDA. Just keeps getting better. I`ve tryed all the rest and yours is the BEST!! Thank you.

Sent from my HD2 using BEST rom on xda= Dorimanx-2.6.7-High End-w/Hard swap.
[HD2 Android NAND Development] dorimanx:
you are on CLK i guess,

You can try different CLK wrapper driver,

we have latest from Unofficial HD2 ROM,

but there are many drivers for this,

Strange that people responded that all OK with the driver.

if you find a better one that work for you, please tell me were did you got it, or post it here, and i will add it in next update.

Thanks.
[HD2 Android NAND Development] justaguyh:
best hd2 rom

my wife and i both have hd2's.

got tired from winmo and wanted android.

started with sd then passed to nand, miui, mdj and many more i can't even remember :D

then came typhoon. REVOLTION. for a while it was the best out there. but recently (2-3 weeks) it was so frustrating. my hd2 was more or less ok but my wife's was a mess. tried many solutions. notjhing helped.

but then, came a response to my question on the typhoon thread, from dorimanx that suggested switching roms. since then, i feel like i won a prize. i won my and my wife's hd2's back.

all is working great. not to mention that everything is working absolutely better than when i bought the hd2's.

i'm writing this post becuase some people here and on typhoon's thread are saying many things. i say: every man, woman, and child for his own.

you decide what's good for you. i know my choice.

thanks dorimanx - you've saved me some long sleepless nights on the sofa!

:)
[HD2 Android NAND Development] dorimanx:
I will check that,

Thanks...

EDIT:

I have checked the storage and it's working,

but i have delay in load all apps back after dismount and mount, i have 400 apps!

it's took me 40 seconds to get my apps online.

if you used SDSWAP then you must turn it off when you want to mount SD card, it's just been used and phone cant unmount sdcard,

or you can use DUAL MOUNT widget it's the most cool app that i have found!

then you dont have to wait till all apps with be active after remount,

and no problem with storage + swap :)

also i need to tweak some more the ram management, i noticed some delays here and there, but my phone overloaded to MAX so i am dancing on the edge :)

phone has his hard limits.
[HD2 Android NAND Development] dorimanx:
Any ril wrapper should work with this ROM.

Try all of them till you find one that best for you,

then report back and post it here,

so more people will have it, and say thanks to you!
[HD2 Android NAND Development] dorimanx:
it's will grow :)

no worries
[HD2 Android NAND Development] dorimanx:
I will check what can be done,

This is something will the nightly builds, but maybe it can be fixed...

at least i will try.
[HD2 Android NAND Development] dorimanx:
Can you please post it here!

i will import it in next update,

Thanks
[HD2 Android NAND Development] dorimanx:
Not for now,

when all will be very stable i will look for a way to post it there,

but it's will take time, long time :)
[HD2 Android NAND Development] Visentinel:
Magldr uses rmnet, you don't get data drops on rmnet.... make sure your not setting this rom on ppp then.
[HD2 Android NAND Development] mootmetal:
i just flashed ur rom ...it's pretty stable comparing old versions ...data is ok for now ...usb storage is ok too ...

does the Dorimanx Misc. Files List works only with ur rom or with any rom?
[HD2 Android NAND Development] dorimanx:
works with any rom.
[HD2 Android NAND Development] Visentinel:
visentinel.net/dropbox/libhtc_ril_wrapper_0.8b4_CWR.zip

visentinel.net/dropbox/libhtc_ril_wrapper_0.8b5_CWR.zip
[HD2 Android NAND Development] feanor91:
Hello

Flashed 2.6.7 yesterday afternoon. So far so good, fast, stable, a very good job.

Sometimes I experienced somme lag when wifi is on. I think it's wifi related because I have no such lag is off...But it's not very disturbing.

I do batterry calibration today. Please, Dorimanx, could you wait a little for any update that I can see if battery calibration extend battery life? :D

And another thing : first reboot took place in about 1'30'' I was very surprise it was so fast (I didn't wipe anything), but all work fine since.

Go on man, I don't know what you can tweak by now, but if you can do it.

EDIT : question about script.txt :

I see that sometimes I have my home need to be reloaded, in particular the morning when I wake up. I think titanium backup need some ram to run my save, so my home is killed to free some. I just look at your script and see that default home is ADW (normal, it is stock). I want to change that home for my SPB Shell 3D. I need to look at is process name, that's OK, but can I change simply ADW by mine or must add it at the end of the file and give it same priority than ADW?

EDIT2 :

I found com.spb.shell3d I think this is my home because is lauch time is the hour when it restart this morning. Besides that I have such thing like com.spb.shell3d:contact or com.spb.shell3d:weather...I suppose it's module from spb shell, do I need to add them to script.txt too? And by the way, as I see their lauch time, they are not killed at nigh. So what I have to do?
[HD2 Android NAND Development] SnoopHTC:
+1

Hello all ^^

That's exactly what I meant :) very very good job dorimanx !!, your theme is fantastic !!!

I have an idea for next update : make your rom fully compatible with ROM Manager ;)

@++
[HD2 Android NAND Development] dorimanx:
Titanium backup kill all active apps when he backup them,!!! so it's normal that your home app refresh after backup.

you can replace the ADW with your home screen

try in terminal

su -

ps | grep com.spb.shell3d

if you get line with one process then no problem.

if you get 3 or more then the script for modding the priority should be like this:

HOMEAPP3D=$(pidof 'com.spb.shell3d')

busybox renice -18 $HOMEAPP3D

then save do stop start in service and run in terminal

ps -p | grep com.spb.shell3d

if you see -18 on all services then you did all good.

i am cooking small update,

you will not have too reset battery :)

EDIT:

Sorry but nightly 143 is UP and there some improvements that we can use! :)

So i am building new ROM :)

Try the battery test there :)
[HD2 Android NAND Development] dorimanx:
And what is the best choose for all?

what worked best for you?
[HD2 Android NAND Development] netson99:
If you want on sleep wifi is still on ( by default wifi is off on sleep mode)

You can set on Setting / Wiereless & Networks / WiFi Settings and then press menu button and select Advanced; There is Wi Fi sleep Policy that you can set it.

-- on 2.6.7 cLK --
[HD2 Android NAND Development] feanor91:
OK, thanks I will check that, but if it is normal for TB, I will not bored me to do modification as it will do nothing more because elswhere all works fine...

...fine, well...Not all the time. I just have a "hot device" freeze, I was looking at my series like all lunch time with rockplayer and my device got hot and freeze. I know it is not your rom but could you give me some clue to investigate on my own because this is borred me a lot since I pass under android, under WM I didn't have suche behavior so I think something on kernel or driver did not slow CPU to allow it to not overheat. I want to know if is an app that allow to monitor CPU temperature, or something like that and downclock it.

And another thing I note : since 2.6.6, spb shell did not lauch after reboot, it says it has a proble to launch and want to retry. It is a normal message from app when it crashes on first lauch or did not start at all. But I did not have suche behavior on rom before 2.6.6.

And another another thing :confused: optimize tool box crash almost all time I want to do something with.

If anyone can help me mainly on the heat problem, I will be very happy

EDIT 2 : Dorimanx, there are something wrong at battery usage level. what I want to say is that the consomation is very high, my consomation plot undur battery monitor is almost vertical. I have used in 6 hour and a half the same current than 12h with previous verion of the rom I have something every 5 minutes that make a pick on current use and I don't know what. With spare parts, all seems good, no wake lock coonsommation, nothing unusual appart past few days. I think it is something on 2.6.7 because on 2.6.6 all was good.

To note that appart xda application, I didn't install something more that requires synchronisation or such a thing..

EDIT 3 :

I loose all my power so phone shut off. I plug it but now, it starts and when It arrives on launcher, it reboot. Boring no?

EDIT 1 of EDIT3 .... (:D) : when SPB SHELL crash with message above, it propose to me to use another laucher, so for that boot I do it and launch adw, so phone did not reboot that time so edit 3 is perhaps a problem with spb shell, I will check that later, when phone will be full charge.
[HD2 Android NAND Development] davibs:
Ehi guys!

Looking in changelog i haven't found if this rom have the Bravia Engine..!

Thanks for Reply :)
[HD2 Android NAND Development] KRAZzysoldier:
Zram stats

Hi!

I see my SWAP isn't free after a fresh start. Is it supposed to be this way after setting Zram?
[HD2 Android NAND Development] mandrakur:
Last time dorimanx written next about bravia engine"I have tried that before, it's didnt work.

but it will try again.

i think binary files should go to BIN not to ETC (it's pointless to put them there!)

So i will test it also."
[HD2 Android NAND Development] davibs:
Really Thank you! :)
[HD2 Android NAND Development] mandrakur:
If you see numbers(under swaps status) in your case 250008 next number 0 (I think this is used normal swap)next is -1(priority).
[HD2 Android NAND Development] Belzebuth.:
I've something stranger: NO STATS!

Is it normal, Dori?
[HD2 Android NAND Development] iamcxa:
sorry for quit the subject for a moment :p

so , you meaning is the bravia engine's files needed to be put in /bin, and is not in /etc?

I added that in my build but ... in fact i can't feeling the really changed on pic or something.
[HD2 Android NAND Development] mandrakur:
Its not activated for you,but if you do like DM written" just activate 26% in settings > CyanogenMod > Performance > Compcache RAM usage"and reboot should be activated.

---------- Post added at 11:37 AM ---------- Previous post was at 11:30 AM ----------

Its better to wait DM to answer you I have no idea.I never try this,I wait DM to test and if is good for us he put that in rom .There is something about B.E.http://xdaforums.com/showthread.php?t=1166948&page=725 and next pages...
[HD2 Android NAND Development] joescian:
Hail Dorimanx

We - who are about to download - salute you.

This is without doubt THE fastest and smoothest Dorimanx rom ever produced.

A masterpiece from the master himself.:D:D
[HD2 Android NAND Development] dorimanx:
i didnt removed it...

try to add the option in settings apps development > stop via long press..
[HD2 Android NAND Development] dorimanx:
not yet...

i am testing it now...

i am no positive if it's working on our ROM / KERNEL / DEVICE

i will post my tests when i done with it..
[HD2 Android NAND Development] mandrakur:
+1 100%truth
[HD2 Android NAND Development] dorimanx:
All Cool!

you already using it...

it's not HAVE to BE FREE!!! like 0 after boot....

It's grow when there is a need.

so all cool for you!
[HD2 Android NAND Development] dorimanx:
activate the compcache in settings. to 26%

REBOOT

then check..
[HD2 Android NAND Development] KRAZzysoldier:
Alright 10x Dori!

ROM works great. I really see now I have more free ram and it does make the difference!

Sent from my HD2
[HD2 Android NAND Development] bullcrapr:
AIO Kernel 2.5 on Download mirror2!

I have this bad habit of downloading the most recently posted files (meaning I was downloading the new rom and kernel links from mirror 2), and the aio kernel is showing up as only 0.09mb-sized file. The mirror 1 file is showing 5.12mb. All the other file sizes match though (rom, zram and ultimate kernel). Just a heads up.

Thanks for this incredible rom dmx! Sadly I can only flash after work :( so for now, all I can do is read about other ppl's happy stories and fantasize about how this rom will take off...
[HD2 Android NAND Development] dorimanx:
Thanks,

Reuploading kernel to mirror 2
[HD2 Android NAND Development] davibs:
Everytime i restart, the rom delete my preferences etc..!!!
[HD2 Android NAND Development] duhhh:
ok I do

1.Task29

2.MAGLDR113

3.Hard reset vi MAG menu

4.Recovery

5.Instal Dorimanx-ROM-HIGH-END 2.9.8 (everything ON)

6.Instal Kernel-Dorimanx-V2.5-ULTIMATE-HD2-MAG-CLK (ZRAM SWAP ON)

call and home works, but after first reboot they don't works any more :confused:
[HD2 Android NAND Development] jonas2295:
Go a few pages back where Dori told someone how to fix it having that issue..

Read first, then post.

Your data partition is broken..