yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] costelasleontin:
I used the roms initrd.gz and still had those isue i mentioned earlier on dungphp sense rom.Man too bad it didnt work cause your kernel is the fastest around with same stock speed and I tried hieros rcmix marc&warrenb.
[HD2 Android NAND Development] costelasleontin:
dorimanx dont go past 1.61ghz man you might brick your HD2 and we will lose a super chef:p
[HD2 Android NAND Development] htchd2fix:
what is the safe way to go?????????? i got 1.3 right now.....

thanx
[HD2 Android NAND Development] iamcxa:
seems step are good . is it possible problem in your .rle file?

well if you ask me I'll say : buy another HD2 as a backup:p
[HD2 Android NAND Development] Realalist:
Amazing a phone intended to only go 1ghz and mine is now at 1.5. Just amazing, thank for your tireless work Lang. But what is Zram and should I install it?
[HD2 Android NAND Development] Hinnne:
all you need to now is discribed on first page,

see kernel 2.5 update ...

try it it is ram based swap and really cool. better than sd swap.

if you do not have much apps running at the same time you will not need sd swap. zram is enough and better.
[HD2 Android NAND Development] jcsy:
http://xdaforums.com/showpost.php?p=20218436&postcount=17224

my post regarding with and without ZRAM observations in Hyperdroid 5.5.2 using Dorimanx 2.7

:)
[HD2 Android NAND Development] sprongebob:
hello I use ladyboo the v42 Rom

I would like to test yours kernel as I must make that exact I must initrd.gz from ladyboo Rom?

take please around assistance

thanks
[HD2 Android NAND Development] apexcz:
USB

Hi, anybody tested USB HOST HUB! this will allow to connect usb devices to

phone!

will it work???, i don't know! but the settings and support is ON! ?

Do you have instruction for usb cable ?
[HD2 Android NAND Development] Looki75:
Dorimanx enabled this feature after a user request...

You should figure out yourself how to make it work!
[HD2 Android NAND Development] themadproducer:
I did some quick tests with a USB stick, a USB 4 way splitter hub and a power adapter with no wiring modifications. It did not work. If you Google terms like "Android USB Host Hub" you will find many custom wiring directions. These directions are important because external POWER needs to be supplied to the external USB device as the HD2 cannot do this. It's an easy project for an experience electronics guy but if you don't have basic skills, and if your not even sure you need this feature, then I recommend not going there. For me personally, I have played out the scenario in my head, and I just don't see a practical need or use for it as it applies to my lifestyle. Remember, even if you wire it correctly, it still may NOT work because Dorimanx never said he got it working...he simply said the feature is enabled and might possibly work. And you have to be willing to sacrifice some cables/hubs whether it works or not.
[HD2 Android NAND Development] johnlanso:
Problem with TyphooN 3.7.5

hello I use Typhoon 3.7.5 CLK and it's been a few days as I try to install the kernel DORIMANX 2.6 and 2.7 but I can not.

my phone does not start it gets stuck on the first image.

I do not see where the problem I have a swap partition 1Gb and 256

Sorry for my English, I use Google Translation

---------- Post added at 01:22 AM ---------- Previous post was at 12:53 AM ----------

Also when I restart in Recovery, I have the following message that appears:

E: Can not open / cache / recovery / log

E: Can not open / cache / recovery / log

E: Can not open / cache / recovery / last_log

E: Can not open / cache / recovery / last_log
[HD2 Android NAND Development] themadproducer:
It doesn't seem to have any detrimental effect, but I wouldn't mind seeing it gone. ;)

It's a bit disconcerting.
[HD2 Android NAND Development] Denkov:
I had same problem. Then I cleared cashe and Dalvik cashe and installed again the kernel. Everything is ok now!
[HD2 Android NAND Development] Germypan:
Hi DM, as ever, thanks for your job. I have saw a little problem with your new kernel. i have did dmesg and i have this error:

<3>msm_i2c msm_i2c.0: error, status c8 (5C)

<3>msm_i2c msm_i2c.0: Error during data xfer (-5) (5C)

<3>msm_i2c msm_i2c.0: error, status c8 (34)

<3>msm_i2c msm_i2c.0: Error during data xfer (-5) (34)

Did you know this?

Sorry for my bad english

Germy
[HD2 Android NAND Development] dorimanx:
It's may come from using your initrd, that does not allow read / write permissions on msm_i2c service.

i will check also the kernel.

thanks for alert.
[HD2 Android NAND Development] marc1706:
Those errors have been there since the beginning of Android on HD2. ;)
[HD2 Android NAND Development] ikmax:
I want to use this kernal in combination with NDT MIUI.

How do i do that :$?
[HD2 Android NAND Development] iamcxa:
what do you meaning combination? is that you want to flash it on MIUI?
[HD2 Android NAND Development] ikmax:
Yes, i want to flash this kernal on the NDT MIUI rom.
[HD2 Android NAND Development] iamcxa:
well, if it can't just be flashed and boot then maybe you need the initrd.gz from that ROM your using.
[HD2 Android NAND Development] ikmax:
Yes, but i have no idea how. Can someone help/create a flashable zip for it?
[HD2 Android NAND Development] Germypan:
Hi Dm thanks for the answer but i use your initrd.gz! anyway, i would want to tell you this my observation... i hope that this help you... thanks so much

Sorry for my bad english

Germy
[HD2 Android NAND Development] boombri:
Hello everyone!

i tried few Android ROMS but this one is stable and fast for me, i like it...

i just want to ask for step-by-step instructions how to install it in right way,

because i have 2 problems, low memory (INTERNAL STORAGE shows only 150MB) and second is very high battery usage.

and here is how i did it =)

1- i downloaded and installed this thing DFT_LEO_MAGLDR113_DAF

2- than i downloaded and installed this thing Recovery_250M_system_10M_cache[v3.0.2.4].zip

3- Dorimanx-Rom-2.9.9-Nightly-262-All-in-One.zip i copied that zip to my old 512Mb memory card and flashed my phone

4- after loading of Dorimanx rom, i put my original 8Gb sd card back to my phone, without deleting any files from it.

i hope somebody will find 10 min of time and tell me what was wrong in my steps.

i am sorry if somebody asked same question before, i didn't found it thru SEARCH,

don't punish me for that:)

Thanks in advance!:cool:
[HD2 Android NAND Development] themadproducer:
You posted into the wrong thread. 50 lashes for you...whoooopishhh!!! ;):D:D

This is actually the Dorimanx Kernel thread. You want to post at his ROM thread over here...http://xdaforums.com/showthread.php?t=1166948

---------- Post added at 02:58 PM ---------- Previous post was at 02:46 PM ----------

Easy to do.

1) Download your ROM and Dx Kernel 2.7 to your PC desktop.

2) using Winrar or 7Zip (or similar) open your rom's zip file and extract initrd.gz from the folder named "BOOT" and place it on your desktop.

3) Open the Dx2.7 kernel zip package and drag and drop the initrd.gz file into the folder named intrd-custom.

4) Close the zip package and say YES to SAVE if it asks.

5) Install this new modified Dx2.7 kernel package as normal via CWM.

NOTE:

I have not tried this so called EASY method with this specific Kernel package release which is an all in one solution. I am assuming that the intrd-custom folder is where the initrd.gz from your rom needs to go. But perhaps if that does not work, you could try placing it into the folder named intrd-DM-cm7. Maybe someone could verify this for us?
[HD2 Android NAND Development] corrsea:
You have the correct method. :-)

Just be sure not to unzip the kernel.
[HD2 Android NAND Development] strifej:
Has anyone used OpenVPN successfully with this kernel (version 2.7)? I'm using Typhoon ROM which should be ok unmodified.

It seems there are missing files that is causing OpenVPN to fail.

Thanks

12-12 03:25:01.707: E/VpnService(4687): onError()

12-12 03:25:01.707: E/VpnService(4687): java.io.IOException: No such file or directory

12-12 03:25:01.707: E/VpnService(4687):	at android.net.LocalSocketImpl.connectLocal(Native Method)

12-12 03:25:01.707: E/VpnService(4687):	at android.net.LocalSocketImpl.connect(LocalSocketImpl.java:238)

12-12 03:25:01.707: E/VpnService(4687):	at android.net.LocalSocket.connect(LocalSocket.java:98)

12-12 03:25:01.707: E/VpnService(4687):	at com.android.server.vpn.OpenvpnService$OpenvpnThread.openSocket(OpenvpnService.java:247)

12-12 03:25:01.707: E/VpnService(4687):	at com.android.server.vpn.OpenvpnService$OpenvpnThread.<init>(OpenvpnService.java:194)

12-12 03:25:01.707: E/VpnService(4687):	at com.android.server.vpn.OpenvpnService.waitUntilConnectedOrTimedout(OpenvpnService.java:149)

12-12 03:25:01.707: E/VpnService(4687):	at com.android.server.vpn.VpnService.onConnect(VpnService.java:148)

12-12 03:25:01.707: E/VpnService(4687):	at com.android.server.vpn.VpnServiceBinder$2.run(VpnServiceBinder.java:118)

12-12 03:25:01.707: E/VpnService(4687):	at java.lang.Thread.run(Thread.java:1019)

12-12 03:25:01.707: I/VpnService(4687): disconnecting VPN...
[HD2 Android NAND Development] ratelutz:
workes for me without any issue
[HD2 Android NAND Development] strifej:
Really? I just re-installed Typhoon's 3.7.5 ROM on top to revert the kernel and OpenVPN works again.

You're using HyperDroid + Dorimanx 2.7 kernel?
[HD2 Android NAND Development] ratelutz:
yes

HyperDroid + Dorimanx 2.7 + initrd from HyperDroid
[HD2 Android NAND Development] strifej:
Ahhh... do NOT install the VPN fix during the kernel installation and it works fine.

The first time I chose Yes for everything and it didn't work.

Tags: vpn, openvpn (search tags for people who may run into the same problem in the future).
[HD2 Android NAND Development] ratelutz:
strange heres a snip from ROM changelog:

added VPN fix from arne182 http://xdaforums.com/show....php?t=1298337
[HD2 Android NAND Development] Chris Kerry:
Camcorder video recording brevity

I've been using sd rom builds since Aug 2010. The NexusHD sd build of Nov6 2011 has been the best I'd used hitherto, for example it had practically ZERO battery drain when going to bed at night and, setting at flight mode, only 2-3percent drop if on 2g only.

It was also the first build I used that recorded video at 720p. The videos were beautiful. However, it is unable to record (viewable) videos for longer than 10 - 16 min (it varies). Matching the size of the video (roughly at the time the recording begins to go wrong) approximates the size of the free RAM (usually btw 200 - 280mb), at least according to my observations.

This makes me think that the kernel (of the NexusHD) arranges things such that video data is continually stacked in the RAM and is only placed in the storage medium when recording is signalled as complete (instead of doing so during the very process streaming in the video data so as to free up the RAM and enable only the size of the destination storage medium - sd card or internal memory - to be the limiting factor).

Since I always want to have windows mobile as a bootable option in case of emergency access to files (- I use my hd2 for all my important stuff and am not always with my laptop) NAND builds are out of the question for me. However, the dorimanx kernel was said to solve this problem (and others) when used to replace the tytung kernel in the NexusHD NAND build in post 8716 on this page==> http://xdaforums.com/show...05060&page=872.

So I have two requests: 1) Could an equivalent kernel for sd builds be pointed out to me? 2) How does one replace one kernel with another in an sd build?

Thanks a lot!!!
[HD2 Android NAND Development] Panos5vRS:
same thing in k. 2.7. going back to 2.5 :-(

Kernel 2.7 or maybe something in rom 2.9.9 makes battery soooo greedy...

Battery fully charged 100% and after 30min Calls + 1hour diplay-on the battery is at 40%!!!

any ideas why?

I use magldr version, no f.boot, no 2way rec, no fast-dormancy, no mod2, yes cron .
[HD2 Android NAND Development] corrsea:
Trying out the 2.7 kernel at the moment on tytungs nexus one gb ROM.

My previous experience with 2.5 was good. 2.6 unfortunately drained battery. Will post how I get on with 2.7.

Have attached zip for nexus one ROM if anyone else is interested.
[HD2 Android NAND Development] DennisvandePut:
The problem is that sense roms have an other audiolib.so if you replace it with the One of your rom it will boot. But when screen turns of you'll have no Connection (data and phone are disconnected) it will reconnect when screen turns on.

This seems to happen when devs use tytungs kernel as their base.

Greetings,

Dennis
[HD2 Android NAND Development] djsolidsnake86:
can you add a version or a script for disable retroillumination on buttons?
[HD2 Android NAND Development] dorimanx:
yes there is change... dont play with drivers :)

they are for 2way rec, and on NO 2way-rec modules are different size.

i have fixed all. it's was bug in kernel build and missing config inside the package.
[HD2 Android NAND Development] dorimanx:
this is one of my tweaks :)

happy you like it.
[HD2 Android NAND Development] dorimanx:
BUMMER!

then my kernel is not good for SENSE ROMS.

So for now it's do work on:

My ROM :)

MIUI ROM

HyperDROID ROM

Should work on Typhoon ROM

Good for NOW :)
[HD2 Android NAND Development] djsolidsnake86:
please can you do this? those retroillumination is unuseful and consume battery
[HD2 Android NAND Development] Gho57:
thankyou my friend! ;)
[HD2 Android NAND Development] Rudyfastcat:
kernel 1.7 is the best one yet!

Just flashed Kernel 1.7 and must say that Dorimanx this is the best Kernel

yet. Thanx for your dedication and hard work. :D
[HD2 Android NAND Development] jcsy:
1.7 with Hyperdroid 5.3.0 initrd.gz for MAGLDR

CAUTION, this is for HYPERDROID 5.3.0 USERS on MAGLDR specifically, even the file name is the same
[HD2 Android NAND Development] dorimanx:
no i will not remove it.

its can be done via build.prop.

i use the light, and more people use it.

i dont have the right command, use search...

Sent from my HD2
[HD2 Android NAND Development] djsolidsnake86:
i see, can you give me a link for a zip file to flash please?
[HD2 Android NAND Development] dorimanx:
links are on main page.

and i dont have the tweak you ask.

Sent from my HD2
[HD2 Android NAND Development] frits141:
Works fine with tyfoon 3.7.3!
[HD2 Android NAND Development] kazantip1288:
dorimanx,

there is an issue with no sound:

I just tried skype with your kernel

it hangs when I try to enable loud speaker

and the sound goes off

only reboot help. any ideas?
[HD2 Android NAND Development] Looki75:
Hi Dorimanx!

Great kernel!

I tried it on TyphooN cLK v3.7.0 and everything was ok.

I just observed the following small issue: when I recorded a video with camcorder, the recorded sound was very very very bad. A lot of background noise. Really a lot: a big sssshhhhhhh.

I did not have this issue with Tytung's R12.4v3.

I hope you can solve that + implement the other changes you want:

Cheers!
[HD2 Android NAND Development] menes1:
I'm on Dungphp Runny Sense 3.5 v1.5. I'm using your latest kernel 1.7 . I had to remove the initrd.gz and libaudio.so files in order for it to work. I have not tested wifi yet but my data works good.
[HD2 Android NAND Development] johnnyham89:
So on top of replacing the initrd.gz with the one from a sense rom is there anything else I need to do to make this kernel work with imilka's 2.3.3 sense rom?
[HD2 Android NAND Development] Traukoman:
Dorimanx: Congratulations master! v 1.7 works so smooth and fast, and with your ROM this just flyes!

Thank you for all your hard work making this old grandpa fast as new born phones :D
[HD2 Android NAND Development] Howell:
Congrats Dorimanx !!! Kernel 1.7 2 way REC now works great !!!

You are always so responsive and open to comments that it is a pleasure to use your work !!!
[HD2 Android NAND Development] 10507:
Do I need to change the initrd file if I use Hyperdroid cm7 cLK? Also does this kernel support reiserfs sd-ext partition?

Thanks
[HD2 Android NAND Development] jcsy:
nexus HD build which recorded 720p?

battery drain of 0 % during night ?

2-3 % during 2G ?

seriously ? i feel like im living under a TURTLE SHELL :D
[HD2 Android NAND Development] Chris Kerry:
I am not requesting your belief of those claims (whatever one simply says or claims doesn't ever change what is in fact). I only made 2 requests, number 1 being the most important: can you direct me to any sd-build equivalent for the Dorimanx kernel? (Your living under a turtle shell really isn't of value to me).
[HD2 Android NAND Development] havard20009:
guys any issue about bluetooth i cant sen any file to an other device
[HD2 Android NAND Development] jcsy:
1. you dont have to be rude

2. you dont have to say no value

3. you asked, and i asked

4. me being under a turtle shell was because i was unaware of those capabilities

maybe someone who has MORE value than me can direct you

maybe someone who doesnt live under a turtle shell can direct you

:)

1. i had hastarin kernels, and tytungs but deleted all of them ever since i moved to NAND. you might have better luck there in the SD department. i dont suppose Warren and Copenhagen released their SD buld kernels. besides flashing kernels from NAND builds are not advisable. im not sure though..

2. u need to replace zImage file from Windows Mobile of your build with another kernel

i came from SD build, moved to NAND and never looked back. its a matter of preference and i truly understand why u need WM6.5. sorry to say, i dont remember much about SD and i remember it was to do with the zImage

my experience, might be of value to u

no definite answer , im sorry i live under a turtle shell
[HD2 Android NAND Development] kikisp:
best kernel i have used..only two problems...leds dont flash and i dont have data internet...anybody have some sugestions?other than that realy good...battery is great..

using miui with custom init...

thx
[HD2 Android NAND Development] ph03n!x:
Works perfect for me - CM7 nightly (15th November) with Dorimanx Ramdisk and cLK. I send/ receive files from my laptop to the phone often. (just did that, works)

For LED flashing - get the right lights.xxxxx.so (xxxx is either htcleo or qsd8k) and put them in /system/etc/hw - not sure there are compatible, but @arif-ali's CM& nightlies thread will have links to the flashing LED libraries.
[HD2 Android NAND Development] kikisp:
thank you very much i managed to get led to work...anybody heave some advice on data...i really need that..but dont want to switch kernel?
[HD2 Android NAND Development] ph03n!x:
I am on cLK, and data works fine for me. check the basics - do you have a ppp file in your /system? do you have the data wrapper (libhtc_ril_wrapper.so) in your /system/lib? Do you have a ppp folder in your /system/etc? Does the ppp folder have the required files?

I can tell this for sure - data on cLK is working perfect in 2G/ 3G/ HSDPA with all Dorimanx kernels, including 2.7
[HD2 Android NAND Development] kikisp:
what do you mean by ppp file in /system?

i have libhtc_ril_wrapper.so and in system/etc i have ppp folder with 4 files:pap secrets,chap secrets ipup, ipupvpn

and btw what is file permission for ppp folder in etc??
[HD2 Android NAND Development] ph03n!x:
Usually, during boot, Android will decide if it has to load RMNET or PPP based on if a file named ppp exists in /system - if this file is not present in your phone, then create a new file (using Root Explorer, for example) in /system and set it rw-r--r-- rights, and reboot. Note that am assuming you have a xxmodules (xx is a number) in your init.d that would not load the RMNET module if the file ppp is present in /system - and this is only for cLK.

The ppp folder in etc has rwxr-xr-x rights, and the content of the folder has rwxrwxr-x.
[HD2 Android NAND Development] themadproducer:
Zram 262mb + 150mb ram

Dorimanx,

With your 2.7 kernel and Typhoon 3.7.5, I am using both tweaks suggested by Visentinel.

(63+ process limit and 300mb zram manually installing the 131MBram script)

I had some initial issues but it seems so be working rather well right now.

Terminal gives me 262mbs zram available and System Tuner Pro says 150mbs after boot with at least 15 or 20 of my core 3rd party apps locked in memory. Can I assume I have a virtual 412mbs ram total available after boot? Am I looking at it the right way?

I am using STPro to kill all non excluded processes at screen off. I wish STPro had a user definable MB threshold (eg 70mb<) to which you could set it to auto kill. But for now, at screen off works fine. It's really cool having certain apps SAFE from kill. (eg Widget Locker, of course the Launcher....phone, Voice Command etc)

You mentioned that you might be incorporating the zram script that gives me 262 mbs...into your next kernel release? Or did I hear that wrong? The only main issue I have right now is that after a reboot, I sometimes only get 109mbs zram. Then if I reboot again, I might get the 262mb. Seems random. Maybe when I added that 131MBzram script manually, it's conflicting with something similar you have built into the kernel? (I renamed it 010MBzram so it runs sooner)

UPDATE: As suggested by Visentinel, I disabled CompCache in CM Settings and 3 boots in a row...262mbs Zram loaded perfectly.

I hope it proves to be stable because in my testing, when everything is happy...it's REAL HAPPY. It's hard to describe, but it's like jumping up a few phone models in terms of launch speed and certain anti kill reliability.
[HD2 Android NAND Development] Panos5vRS:
There should be somethiong wrong with the ROM 2.9.9 and not the kernel... I used kernel 2.5 on rom 2.9.9 and still the battery usage was high.

I now use ROM 2.9.8 (k v2.5) and battery usage is back to normal
[HD2 Android NAND Development] dorimanx:
:) just wait for next release, its will be super duper :)

Sent from my HD2
[HD2 Android NAND Development] Germypan:
Hi DM, i use your kernel in my rom, and i have implemented a little script from franco's kernel for zram.

system/etc/zram.sh

#! /system/bin/sh

zramconfig /dev/block/zram0 --init
mkswap /dev/block/zram0
swapon /dev/block/zram0

Then i added to your 131zram script this line

# Active zram by Germy

sleep 5

sh /system/etc/zram.sh

i have a 220 mb from swap sdcard, and now i have this situation

Swaps Status
Filename	Type	Size	Used	Priority
/dev/block/mmcblk0p3 partition	221176	0	-1
/dev/block/zram0 partition	131064	12776	10
ZRAM STATS
/sys/block/zram0
disksize: 134217728
num_reads: 2455
num_writes: 3210
invalid_io: 0
discard: 0
notify_free: 0
zero_pages: 835
orig_data_size: 9670656
compr_data_size: 4216082
mem_used_total: 4251648
avg_compr_ratio: 43 %
mem_overhead: 0 %

# free
total used free shared buffers
Mem: 422744 409732 13012 0 2392
-/+ buffers: 407340 15404
Swap: 352240 12708 339532

i hope this will help you

Germy
[HD2 Android NAND Development] Looki75:
Супер-пупер!!!

Да, я говорю по-русски!!!
[HD2 Android NAND Development] essi_baba:
Bluetooth not found

please learn me how to corect instal this kernel . im have 2 broblem

1-sometime sound system very low and neet to several reset to fix it.

2-after TurnOn bluetooth and searching ,not found any device.

note : after add init.rd on my rom to this flash kernel v 2.5 , 2.6 , 2.7 and

wipe parttion cash & dalvik cash flash file with no2 way call record and other option.
[HD2 Android NAND Development] kurok154:
блин)))че дориманкс по нашински лабает?))))
[HD2 Android NAND Development] Looki75:
Да он же сам, Русский !!!