yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] bojanbl:
That must be a bug if you have 1mA all the time, but I did have sometimes 1mA, not always... In battery monitor you can try changing the way how battery monitor gets values from batteries... Try with option "Some HTC devices"...
[HD2 Android NAND Development] phikal:
Zram works great.

Thx...
[HD2 Android NAND Development] Appelsap:
Tried every setting there, inclusing the "Some HTC devices", no luck, stuck at -1mA. Tried rebooting, removing the app, using an older version, latest version, still -1mA.

But it's no big deal, Currentwidget seems to be reporting the correct drain, and throughout the day it's been roughly -3mA in sleep mode, which seems superfine to me. So a big thumbs-up for marc's kernel here! :)
[HD2 Android NAND Development] essi_baba:
installation apk

install or uninstall program very very slow and with lag.How to fix it?

i`m test Hiroes kernel in install or uninstall APK file,smoother than marc1706 0.1.5 any suggest to me for fix it ;)

Woow Internet pass-through not work please check it
[HD2 Android NAND Development] NRGZ28:
It only seems to happen during boot. It could be a ROM issue.. but since I noticed the message in dmesg, I thought it might be something for you to look at.
[HD2 Android NAND Development] mikeysteele:
Hi marc,

I've attached the zip file I use to flash new kernels on cLK.

It uses the unpackbootimg and makebootimg method which means it dumps your existing boot image, and makes a new one with your existing initrd.gz when you run the update-script. This way users don't need to make their own boot images before flashing your kernels on cLK on roms that need a different initrd.gz

For users upgrading from .32 kernels, that package also contains the EGL and HW modules needed.

EDIT: Can't seem to upload!!! It keeps failing. I'll use megaupload.

http://www.megaupload.com/?d=VE6UV0DC
[HD2 Android NAND Development] essi_baba:
bad upload

I think this file bad uploaded please re upload and how to use this file please
[HD2 Android NAND Development] mikeysteele:
File works fine. I just downloaded it. Flash with CWM.
[HD2 Android NAND Development] kinghunki:
marc1706's 2.6.35.14 Sense Kernel[FIX Wi-Fi Tethering]

marc1706's 2.6.35.14 Sense Kernel[FIX Wi-Fi Tethering]

modifier:hunterwu

This kernel is based on the marc1706's 2.6.35.14 Sense Kernel[0.1.4],Thank marc1706

Working:

•Data

•Wifi

•Bluetooth

•LED notifications

•G-Sensor

•Camera

•Camcorder

•Auto-Backlight

•Headset

•HTC FM Radio

•Wi-Fi Tethering

Download:http://kuai.xunlei.com/d/GUJNASCPQKSQ

Sorry for my poor English，So there is no related note, please understanding.
[HD2 Android NAND Development] jully3881:
so ,please marc1706 update and fix this wifi tethering problem. thx
[HD2 Android NAND Development] marc1706:
Thank you for helping with improving the .35 sense kernel. Could you post the source code of the kernel or at least what you changed?
[HD2 Android NAND Development] light_n_roses:
Hi mark !

Sorry to ask this again, I have been trying to find how is possible to add haret support to new kernels like your or sbryan, anyway I have failed as for now. I have ask Da_G, marchinus, tytung and oper people with no success..actually only tytung respond me.

You really have no idea of how you can add this ?
[HD2 Android NAND Development] ak100:
On 0.1.5 Kernel i found the problem with low bettery state.. sometimes my screen turning on (with just a black screen without interface), when bettery level < than 15%. changed back to 0.1.4. My ROM DESIRE HD GB 2.3.3 all in one V 3.0
[HD2 Android NAND Development] essi_baba:
fix

senior marc1706 answer me please

can you add this in to kernel?

Added Keyboard backlight !ON! in DARK, and !OFF! in LIGHT 10 second between on ,off ???

and

fix Internet pass-through for android 2.2.1 ???
[HD2 Android NAND Development] Köttel:
just did the mistake and installed marcs 0.1.5 kernel for clK on a magldr system which of course didn't worked. now installed the magldr version over it and all i got is the message "NAND kernel open failed" ...what now? :confused:

/E: restored boot from a backup...seems to work...still booting.
[HD2 Android NAND Development] jerryhou85:
Good job dude, but I think you need to provide source code to marc.

但你要提供源代码，marc才可以加入的……
[HD2 Android NAND Development] kinghunki:
I'm sorry ,I also contacted him now,but he isn't at home ,and if he comes back I will Contact you as soon as possible
[HD2 Android NAND Development] Golf_4711:
zram?

Hello Marc,

I enabled zram via your script

marc1706-357MB-ZRAM-Static-Activation.

But now, where is the advantage?

Regards

Golg;)
[HD2 Android NAND Development] fhasovic:
I would appreciate if you can provide source so I can include it in http://xdaforums.com/showthread.php?t=1408237
[HD2 Android NAND Development] AgoeZ:
Can you upload on another file sharing server?

Sorry I don't understand chinese words.

Thx b4. :)

Swyped from ICS HD2
[HD2 Android NAND Development] dansta34:
just a little bit of a issue with the kernel you redone mate! It dont boot tried flashing it at least 5 times its not the initrd or any of the rest cause its all my old stuff and i have even replaced the initrd.gz to my latest and still not booting! If i flash one of marc's kernels over it then the phone will boot so there is a definite issue mate!

Did you even test it?
[HD2 Android NAND Development] jerryhou85:
Enjoy. :)

http://www.multiupload.com/4P5R3GWMWL

If it's not allowed by original chef, please pm me and I'll delete them. Thx.

如果原作者不同意转发，请PM我，我会删掉文件。谢谢。
[HD2 Android NAND Development] kinghunki:
没事，非常感谢你。主要我没有multiupload的网盘。。

---------- Post added at 09:58 PM ---------- Previous post was at 09:53 PM ----------

I was tested. If you v0.1.5 flash, please replace back into the original: system/bin/bash

Sorry for my poor English
[HD2 Android NAND Development] carl1961:
I have the google tool bar installed , translates to english, has helped me many time find answers not found elswhere;)

---------- Post added at 08:01 AM ---------- Previous post was at 08:00 AM ----------

installed ok here
[HD2 Android NAND Development] kinghunki:
Thank you carl1961!
[HD2 Android NAND Development] nemuro:
Does anyone have problems using the 0.1.5 kernel with Daemon OC? It says my kernel isn't compatible with OC and won't list any active daemons.

Tried installing andrev_oc as well, but with the same results.
[HD2 Android NAND Development] phikal:
not sure if its a kernel issue, but have this problem on rcmix 3d rom and on energy rom on kernel v13, v14 and now on v15 too. When using gps after a couple of minutes i get a reboot. Aswell on Navigon and copilot. Its a very annoying bug for me.

Anyone recognizes this ?, and if maybe someone have a solution for this would be great !

Running latest energy rom now (4-01 version), zram enabled.
[HD2 Android NAND Development] Tigermoto:
Had a similar issue on a few ROMs Phikal, i believe it turned out to be the Tytung GPS libs, reinstalled them and it was fine, don't know if the same can be said for yours of course bro.....
[HD2 Android NAND Development] phikal:
Thx for the response Tiger.

Will try reinstalling the libfiles.
[HD2 Android NAND Development] 57ak57:
I had a problem with the FasterFix App...if you used it to change your location, it maybe cleared alot of ur gps.conf entries.

Tytungs GPS libs should solve it as Tiger said. If not try to extract the gps.conf from ur Rom-zip

Should be in system/etc folder. Copy to phone and overwrite with the one on ur phones system/etc folder with rootexplorer and set permissions.
[HD2 Android NAND Development] kilicala:
I use TBD V2.6 and marc 0.15kernel

Today, when I use google map and other navigation software.

It can't receive gps signal.

I restarted my phone many times

Finally it got the gps signal.

But when I use navigation software some minutes ago. Signal disappear

It works again when I restarted the software.

But I'm not sure it's the kernel problem or not.

Just discribe my experience.

Thanks for your reading.
[HD2 Android NAND Development] 57ak57:
Read Tigermoto's or my post. Here is also the gps.conf (copy to phone without .txt) from TBD v2.7Beta (should be the same as in v2.6)

Dont forget to change the first line with your location.
[HD2 Android NAND Development] kilicala:
Hi

Thanx for your help

I'll try it.
[HD2 Android NAND Development] carl1961:
I have no problems

try this to reinstall working andrev_oc file in xbin with permission set

installs to any rom through CWR

andrev_oc
[HD2 Android NAND Development] jerryhou85:
any news on source code? 源代码有消息么？:p
[HD2 Android NAND Development] hunterwu:
Please forgive. my english is not good

BIG Thanks to marc1706 source code

can know easy english ;)

Change the content

drivers/net/wireless/Makefile

-obj-$(CONFIG_BCM4329)	+= bcm4329/

+obj-$(CONFIG_BCM4329)	+= bcm4329_204/

Portable Wi-Fi hotspot Working

Please try

My test Working Log:

2.6.32.51 kernel, 2.6.35.14 kernel,tytung kernel, CyanogenMod.....source code

Thank you:

Markinus, tytung, warrenb213.....share the source code

I like HD2, thank all

Chinese：謝謝大家 :)
[HD2 Android NAND Development] jerryhou85:
Well done, dude. Thanks a lot. Hope marc can test and compile this soon. :D
[HD2 Android NAND Development] :
Just a suggestion, but you should fix the exoverclock settings in acpuclock-scorpion.c for overclock up to 1.5Ghz

#ifdef CONFIG_HTCLEO_EXOVERCLOCK
{ 1228800, CCTL(CLK_TCXO, 1),	SRC_SCPLL, 0x20, 0, 1325, 128000 },
{ 1267200, CCTL(CLK_TCXO, 1),	SRC_SCPLL, 0x21, 0, 1350, 128000 },
{ 1305600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x22, 0, 1350, 128000 },
{ 1344000, CCTL(CLK_TCXO, 1),	SRC_SCPLL, 0x23, 0, 1350, 128000 },
{ 1382400, CCTL(CLK_TCXO, 1),	SRC_SCPLL, 0x24, 0, 1350, 128000 },
{ 1420800, CCTL(CLK_TCXO, 1),	SRC_SCPLL, 0x25, 0, 1350, 128000 },
{ 1459200, CCTL(CLK_TCXO, 1),	SRC_SCPLL, 0x26, 0, 1350, 128000 },
{ 1497600, CCTL(CLK_TCXO, 1),	SRC_SCPLL, 0x27, 0, 1350, 128000 },
{ 1536000, CCTL(CLK_TCXO, 1),	SRC_SCPLL, 0x28, 0, 1350, 128000 },
{ 1574400, CCTL(CLK_TCXO, 1),	SRC_SCPLL, 0x29, 0, 1350,
128000 },

maybe add up to ~2 ghz for fun haha
[HD2 Android NAND Development] Tigermoto:
+1 for sure, but read it was unstable in this thread, unless I imagined it.
[HD2 Android NAND Development] Dunc001:
From all my testing it doesn't seem stable at anything above 1.2 at present, but why bother? It is so quick with zram enabled do you really need to stress your phone any more?
[HD2 Android NAND Development] marc1706:
Indeed, overclocking past 1,2 GHz doesn't seem to be stable at all.

In other news: I just uploaded a fixed version of the zram activation script in the third post (http://xdaforums.com/showpost.php?p=20169960&postcount=3). This will dedicate 100 MB of RAM to the zram device (about 200 MB of real zram).
[HD2 Android NAND Development] ljjehl:
Have a Q, Marc....what is the main reason to back down from the 357MB Zram size? System reacting a little slower?
[HD2 Android NAND Development] Dunc001:
I'll let Marc answer that one but be ready to laugh out loud...
[HD2 Android NAND Development] Tigermoto:
I too would like to know, marc1706, this Kernel rocks, so fill us in with some info bro, we aren't stupid, just not kernel experts.

Alternatively, come on Dunc001 LOL, we really want to know.

Any hole is a goal LOL
[HD2 Android NAND Development] marc1706:
Well, there was an incorrect setting in the zram activation script, which caused us to only have a zram device with 348 kB. The recommended size for a zram disk is 25% of the RAM size. Since we are able to use 404 MB of RAM this is set to 100 MB.
[HD2 Android NAND Development] Tigermoto:
HAHAHAHAHA!!!!! Smooth bro, real slick, but thanks LOL

P.S Run out of thanks today, but i will get you for that tomorrow.
[HD2 Android NAND Development] ljjehl:
Thanks, Marc.....hmmmmm, no wonder the Zram seemed to be a bit wishy washy....LMAO
[HD2 Android NAND Development] Tigermoto:
Really appreciate this Kernel Marc1706, it's not much, but a token of gratitude

Confirmation number: 1EB341078G5737450

thanks for the new ZRAM script too
[HD2 Android NAND Development] stathis95194:
Guys, excuse my noobness, but if we had already installed the zram zip from post 3 how we deal with the new version of it now? Is it a matter of just reinstalling from post 3?

By the way thanks for the kernel Marc, it's very smooth!!!
[HD2 Android NAND Development] Dunc001:
Yep, just flash over
[HD2 Android NAND Development] :
In the past, I OC with rafpigna 2.0 up to 1.5 with no problems.. I guess it is not important then but I will be running those values ..

Continue :)
[HD2 Android NAND Development] Tigermoto:
Me too bro, but with this kernel at 1190MHz and ZRAM 100 installed, Rafs at 1536MHz is slow in comparison, i promise...
[HD2 Android NAND Development] liberiano:
Zero shutter lag driver(ZSL)

Hi Great Marc,Daekin on his thread said that Camcorder lag is due to the lack of ZSL driver support in kernel.What about the possibility to port this driver into your kernel???Thanks...:confused:
[HD2 Android NAND Development] Dunc001:
Not possible afaik, spoke to Marc about this last week and our camera chip doesn't appear to support zsl
[HD2 Android NAND Development] light_n_roses:
Hi marc !

I have ask letama to help us regarding add haret support to the kernel, it's not much but this is what he says :

hope you can do something for this!!!
[HD2 Android NAND Development] Caspertje19:
Is there any progress for the camcorder issue?

because if I search for it, there has always been the lag with any sense 3.x+ roms.

Is there any hope it will be fixed? Or is it something we have to life with if we want sense 3.X + ?
[HD2 Android NAND Development] tobiascrystal:
I have been having a few fatal crashes lately and every time I try to reset the phone without a batt (or batt cover) pull it doesn't work any more . I am pretty sure that I am right but wasn't the volume up + volume down + power button = reset phone hardcoded into the .32 kernel?
[HD2 Android NAND Development] warrenb213:
I'll add it back in on my project. Marc, I'll send you the commit next I have dev time
[HD2 Android NAND Development] tobiascrystal:
You guys are awesome!
[HD2 Android NAND Development] :
I did a quick compile of the kernel with max_acpu_khz @ 1536000 mhz

It's not bad at all, and is very fast on my vision rom.. Good job on the kernel :)
[HD2 Android NAND Development] alexdoux25:
Couldn't you upload your kernel for HD2?
[HD2 Android NAND Development] ricky886:
Can you add oc max to 1612 mhz:confused:

It will be great:p
[HD2 Android NAND Development] Sneakyghost:
hello marc,

i have had a discussion with Dansta on the zram script and whether or not it requires a swap partition on sd or if it even collides with it and as the end result dansta said i should better ask you as you probably know better.

could you answer this for me or point to a place where i can read that up quickly? sorry i am at work and have very limited time to investigate on this myself my apologies. thank you in advance.
[HD2 Android NAND Development] marc1706:
Type this in your terminal:

zram_stats

At the top you should see your swap drives. If you just have zram, you will only see /dev/block/zram0. With an additional swap drive you will see another drive. Since zram is faster than swap, it should be used before the phone starts to use the additional swap. This is accomplished by setting the priority of zram higher than the priority of your swap. Make sure it is set this way. If it is not, you'll have to set a higher priority for zram in the init.d script. If you would want to set the priority to 60, you would have to edit this line:

swapon /dev/block/zram0 -p 20 >/dev/null 2>&1

Just replace the 20 with 60. The priority should be between 0 and 32767.
[HD2 Android NAND Development] tobiascrystal:
Where does zram allocate its space? Data, system, cache partition? If it is in the data partition what happens when I have a full load of apps? Could we add a separate partition on nand for zram to do what it needs? Would that even make it faster? I would think it would be a great use of that wasted space on the eu phones.

I am pretty sure that I am way off I just had the thought and wanted to share.
[HD2 Android NAND Development] phikal:
How can i see if zram is used first?

best way to activate swappartition on sdcard is through swapper 2 ?

Made swappartition with cwm.

edit: Zram will be shown first when typing zram_stats

After installing Swapper2 from market i directed it to use my swap partition via advanced settings.

The swap default path i.e "/dev/block/mmcblk0p3" gave errors like 'No such directory exists"

So i set it to "/dev/block/vold/179:3"(3-third partition)

then set swapper to start at start-up ,reboot system.

and swap partition was mounted!

To check swap,type free in terminal, it will show zram and swappartition merged.

Great, zram and swap together !! :)
[HD2 Android NAND Development] no name:
Hi guys. My friend asked me to change os on his htc hd2

I read forums alot and choosed rcmix 5.1

but it want not boot

again and again i flashing it with mag or clk. no way.

but when i tried another kernel !!!MIRACLE!!! it booted!

then i tried flash back marc 0.1.5 and 0.1.4 without success

but with hieros 1.8.5 it works

Anyone have any thoughts about it?
[HD2 Android NAND Development] Taco123:
You can boot without SIM-card :confused:
[HD2 Android NAND Development] Sneakyghost:
Hello Marc, just back from work reading your reply. Thank so much. So swap and zram can be used at the same time. Very nice.

I will pass your information on to Dansta34 for his consideration. I see Dunc has thanked you too so the guys might know already anyhow :-)

Gesendet von meinem HTC Sensation XL with Beats Audio X315e mit Tapatalk
[HD2 Android NAND Development] no name:
tried with and without sim. nothing changes

---------- Post added at 10:37 AM ---------- Previous post was at 10:07 AM ----------

With Dorimanx-V3.6 rom loads but glitches (white stripes)
[HD2 Android NAND Development] jerry608:
thanks for the wonderful job
[HD2 Android NAND Development] HannoSLM:
hi marc,

i noticed that when you turn on the phone and unlock it, the first several seconds everything is very slow .... if you click on app immediately after unlocking, you will notice that it opens with a delay. If you unlock and wait, then it is fine. Tried on a couple of 2.3.5 roms with Sense 3.5. Seems it needs some time to warm up :)

thanks again for the number one kernel for hd2 :)
[HD2 Android NAND Development] Taco123:
And if you change from 3G to GSM?
[HD2 Android NAND Development] NRGZ28:
It doesn't need to "warm up". It takes time for it to switch to a different governor. I'm sure marc does this for the kernel to save battery power while the device is "sleeping".
[HD2 Android NAND Development] :
Lol running zram+swap. I wouldn't run both at the same time, maybe 64mb swap on mccblk0p3 set at 15 swappiness or just a 80mb large zram disk with 30 swappiness. Using actual ram is better than using compressed caching or caching onto a slower linuxswap device.

Attached below is the latest (as of 13/01/12) kernel with 1.5 GHZ OC if anyone wants to try it out

The "kernel update" I have seen people post replaces all the contents of boot. That is why that some roms won't boot after flashing a kernel update, it is not the actual kernel's fault but the ramdisk.. The update package in the attachment below only replaces your kernel and does not touch anything inside your ramdisk. It is autodetect clk/magldr, and does not use yes/no.

Tell me if it works or not (do a boot partition backup first in nandroid). I tested it on clk and it works fine.
[HD2 Android NAND Development] mikeysteele:
Thanks heaps. Does your compile also have the wifi fix posted a few pages back? EDIT 2: Yes it does! :D

EDIT: I'm running cLK 1.5RC0, and the zip detected Magldr. I assume this is because you're searching the cmdline for "clk" where my cmdline has "cLK". The attached zip has the fix and works for me.
[HD2 Android NAND Development] :
ahh i see, i'll update the script then for my roms, thanks very much for pointing that out :)

It can be easily fixed by just adding "-i" so it will be: find=`grep -i "clk" /proc/cmdline`
[HD2 Android NAND Development] mikeysteele:
I can also report that the new oc frequencies seem to be stable. Running at 1.4ghz :)
[HD2 Android NAND Development] francescozanghetta:
boot error

Hi guys,

both of yoyur kernel updates are not working for me. After power on this error is coming: "invaled boot image heador".

Clk 1.5 -rc0 Haldric Runnymede

Thanks in advance

EDIT: Fixed!

EDIT2: unstable over 1190MHz, specifically hot reboot at 1228 and freezing after that.:(
[HD2 Android NAND Development] tmotard:
Hi.

Thanks a lot. installed your zip without problem, boot ok (on magldr).

But instable when OC for me... not able to OC without freeze after 1190 :(
[HD2 Android NAND Development] Nedo Ukradan:
I can not find the init.d script. If somebody could provide the path please?
[HD2 Android NAND Development] tmotard:
/etc/init.d
[HD2 Android NAND Development] mikeysteele:
If anybody else has done the same:

If you are getting that error message after flashing e334s zip on clk 1.5, flashing my zip won't fix it. You will need to extract the boot.img from the zip file your Rom came with and flash with fastboot.
[HD2 Android NAND Development] Nedo Ukradan:
Thanks I thought that the init.d is the file.
[HD2 Android NAND Development] ricky886:
How to change cpu voltage?

over 1190 really unstable:o
[HD2 Android NAND Development] tmotard:
For cpu voltage I'm using system tuner pro.
[HD2 Android NAND Development] francescozanghetta:
Just edit checksys.sh as follow and it will work
[HD2 Android NAND Development] essi_baba:
update

Any news for usb tethering and new kernel?????

i`m can`t use usb internet pass through
[HD2 Android NAND Development] jerryhou85:
Have you tried the Wifi Tether app from Market?
[HD2 Android NAND Development] ahlok_hk:
Could marc apply the Wi-Fi Hotspot fix to the latest kernel? Thanks a million!
[HD2 Android NAND Development] marc1706:
I added a few fixes and will release a new Version in the next few days.
[HD2 Android NAND Development] huniak:
extended battery 2300 mAh

Hi, Marc..

Thank you for your hard work on your kernel. I want ask if this kernel support official htc extended battery 2300 mAh? If not can you add this support to kernel?
[HD2 Android NAND Development] jerryhou85:
Never read first post?

And I have seen another post in some thread saying the EB works.

Hope it helps.
[HD2 Android NAND Development] carl1961:
that don't mean much, you usally hear if it don't work LOL
[HD2 Android NAND Development] huniak:
jerry thank you, i read first post , but probably not so rigorously

i bought today this EB from some eshop...I'll know if it really works
[HD2 Android NAND Development] jerryhou85:
Practice will tell you the best...:D
[HD2 Android NAND Development] Daekin:
yes. as far as I know it supports official HTC extended battery. I am using it and do not have any issues.
[HD2 Android NAND Development] djtheraven:
Does zram work for tmous1024 with nand only...i flashed zip but i don't see any difference...is there anything else i have to do?

Sent from my HD2 using Energy Sensation XL Sense 3.5 and XDA Premium App!
[HD2 Android NAND Development] chrisrj28:
You should not need to, I wiped cache and dalvik for good measure but otherwise that's all you need.
[HD2 Android NAND Development] djtheraven:
What am i looking for then cause i don't see a difference?

Sent from my HD2 using Energy Sensation XL Sense 3.5 and XDA Premium App!
[HD2 Android NAND Development] ljjehl:
if you type in zram_stats in a terminal, you should see if it's working
[HD2 Android NAND Development] djtheraven:
Script manager or terminal emulator?

Sent from my HD2 using Energy Sensation XL Sense 3.5 and XDA Premium App!
[HD2 Android NAND Development] pee-wee:
Both can do it

Sent from my HTC HD2
[HD2 Android NAND Development] djtheraven:
And my last question...what does the zram do?

Sent from my HD2 using Energy Sensation XL Sense 3.5 and XDA Premium App!
[HD2 Android NAND Development] marc1706:
http://en.wikipedia.org/wiki/ZRam