yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] msavic123:
Copybit tweaks

Same as every rom, then. Not related to libs, i checked that.

So, i guess this can be fixed by "copybit disabler". Copybit that works only to redirect rendering to opengl.

Either that, or smali editing htccamera.apk to use opengl.

Or better, force opengl in surfaceflinger?

Can anyone do this? I mean, knows how, and willing to bother? I would, if i knew how :D
[HD2 Android NAND Development] -leo-:
Will marc 0.24 have working

?

Expect it to work very very much~ :laugh:

edit: 1.is it possible to use 3rd-party software to eliminate the reliability of copybit?

like Instagram, Camera360, etc.

2. in Daekin's Sense of Eclipse, forced hwa, have a working camera.
[HD2 Android NAND Development] ph03n!x:
@marc - can you help me find what is wrong from the last_kmsg I have attached please? I am getting this while trying to implement DataOnEXT with DalvikOnNAND in Sense of Eclipse 3.52.

The ROM boots fine till the lock screen. I am also able to unlock, but before launcher loads, the ROM reboots :( Nothing in Logcat...
[HD2 Android NAND Development] NRGZ28:
I experience the same thing on my ROM. Major lagginess everywhere even with the "performance" governor on.
[HD2 Android NAND Development] zexmunze:
using adb shell on pc with this command:

adb shell

chmod 777 /system/etc/init.d/95tweakBFQ
[HD2 Android NAND Development] marc1706:
Can you check if the service HtcMediaCacheService is causing a 100% CPU load?

It seems like this service pops up on Sense 3.5 everytime you wipe the dalvik cache and causes a 100% cpu load. I also noticed the same thing on the earlier versions and sbryan's versions. The only reason we don't notice it that much seems to be CFQ which evens that issue out a little bit.

BTW, do you know what that is used for? I searched around and I only found someone saying that it is used for DLNA, which we don't even have AFAIK.
[HD2 Android NAND Development] mlkjuggalo:
hello all so after testing v0.1.2 it looks to be fast at times for me and sometimes it feels like it lags like on a reboot and when downloading apps the screen gets very slow at times but if not updating from market the phone flies with no lag i went back to marc1706_aca_0_1_0_pl1 and all lag was gone even with wifi downloads i am now back on v0.1.2 to see if it clears up after letting phone settle for a while

edit after few reboots and letting phone settle lag looks to be gone :)
[HD2 Android NAND Development] dungphp:
This is the Best kernel for Sense ! So need Sticky for this. Mod please
[HD2 Android NAND Development] dude0316:
+1 on that. Mods please
[HD2 Android NAND Development] kinghunki:
+1

V0.1.2 powered up slowly..
[HD2 Android NAND Development] robcodemax:
Here is what I did,

1. Cache Wipe

2. Dalvik Cache Wipe

3. Installed the Kernel marc1706_desire_0_1_2_magldr.zip

4. Reboot.

It booted fine and then I restarted the device, now its stuck in htc logo.

I am using RCMix3D Runny v4.0.2

MAGLDR

5/270/5

TMOUS

EDIT: I did Cache Wipe and Dalvik Cache Wipe again, now its booting into the ROM.
[HD2 Android NAND Development] dungphp:
0.1.2 have problem with EXT (Very slow) !
[HD2 Android NAND Development] WARP ItSelf:
0.1.1 seems to be a lotsmoother for me (rom with 1gb EXT partition).
[HD2 Android NAND Development] robcodemax:
Slower

This kernel is slower for me than RcMix kernel.

Reverted back to RCMIX kernel v. 05, now everything is smoother.
[HD2 Android NAND Development] bzhmobile:
Same thing for me on NRG (EU, MAGLDR 12/04),

and stuck on bootanimation on NRG (EU, MAGLDR 12/09)...

But no difference on SDtools before and after flashing the kernel...
[HD2 Android NAND Development] Dunc001:
Ext could indeed be the issue again. Marc, I have been checking frequently with logcat and OS Monitor and have never seen com.htc.mediacacheserver listed even after a dalvik wipe?
[HD2 Android NAND Development] marc1706:
I'm currently looking into it.

I'll also switch back to CFQ for now since there seems to be more issues with BFQ and no-op than I expected.
[HD2 Android NAND Development] liehuo:
I am wondering too. Is hotspot or wireless tethering working?
[HD2 Android NAND Development] THANHVO31:
Dear Marc, thanks for your great kernel.

I am a cLK user and use other ROM (Mikhei's) so can not directly flash the new kernel.

Could you consider to use a script like Dorimanx's kernel so as user just put his initrd.gz in then flash?
[HD2 Android NAND Development] RussianBear:
what rom by mik are you running? he himself recommended this kernel for this rom:

http://xdaforums.com/showpost.php?p=20172758&postcount=545

the op has the clk version also.

edit: just saw what you were talking about in the op. never mind.
[HD2 Android NAND Development] vanity:
Google translates.

"Soul off how do you run it from the palm to the Oh cool that your shadow"

from my HTC HD2 using XDA App
[HD2 Android NAND Development] marc1706:
Please keep this thread clean. If people post in a different language than English please just ignore them.
[HD2 Android NAND Development] THANHVO31:
Dear marc, do we really need a new version of kernel just to switch I/O scheduler like 0.1.1 to 0.1.2

Is it to switch on fly. In terminal type

su

Echo xxx > sys/block/mmcblk0/queue/scheduler

Xxx is what you prefer cfq bfq noop deadline.

Am I right? correct me if I am wrong.
[HD2 Android NAND Development] marc1706:
There was a null pointer while handling the journaling. You could try if this maybe doesn't happen with 0.2.2.
[HD2 Android NAND Development] ph03n!x:
I missed mentioning that I tried it with 0.2.2, and it does behaves the same way- reboots exactly at the same point... I did not try any other version though.

Also, even in the JB Kernels, if I turn off journaling the data gets corrupted in about 24 hrs of use, couldn't get any logs on that. Could these two be linked?

Swyped from HTC HD2 using xda premium
[HD2 Android NAND Development] Dark_Avenger:
@marc,

is it possible to include in this kernel support for xt_qtaguid? Here is some additional info:

http://xdaforums.com/showpost.php?p=32281435&postcount=9105

Please release a new version with "HD2 off-mode alarm" feature.

Thanks in advance
[HD2 Android NAND Development] Daekin:
he already has off-mode alarm in the kernel source, he only did not build the kernel yet. ;)

---------- Post added at 01:16 PM ---------- Previous post was at 01:13 PM ----------

have you talked with marc1706? is he fixing that journaling bug?

I have forked his git, but I need some time to look around the sources...if he does not have time, he could just point me to right direction...
[HD2 Android NAND Development] marc1706:
For what do you need xt_qtaguid? AFAIK this is not needed prior to ICS.

That is correct. I cherry-picked it from the jellybean branch.

I didn't encounter the journaling bug myself. Unfortunately my HD2 died on me so it's kind of hard to debug anything at all. :(
[HD2 Android NAND Development] Dark_Avenger:
Some apps need this network filters in order to display the network stats - BetterBatteryStats for example is looking for "/proc/net/xt_qtaguid/stats". Will be very thankful if you try to add this filter in your GB Sense kernel. Please build a new version with offline alarm feature.
[HD2 Android NAND Development] Dark_Avenger:
marc1706,

sorry for nagging, but please build a new version based on the current state of git master branch if you think that it's stable. I've tried the modified Eclipse build, but I think that the WiFi library used there causes some problems. Did you consider adding the xt_qtaguid support?

Thanks
[HD2 Android NAND Development] marc1706:
Try running this in your terminal:

cat /sys/block/*/queue/scheduler

And you'll see that there is more to it than just mmcblk0. ;)
[HD2 Android NAND Development] THANHVO31:
This guy provide a script for all loops.
[HD2 Android NAND Development] marc1706:
As far as I can see this tool only works for the Droid charge. Also this small change was meant to fix the big lags people got while using 0.1.1 and I cant expect everyone to change their scheduler via Shell.
[HD2 Android NAND Development] Dunc001:
Marc, I have had to switch from 0.1.2 for now as the lag was still rendering my phone pretty much unusable. I am running the RCMix v6 on cLK and have to say it is pretty impressive, although I'd like to be using yours ;) And I tried building the boot.img using the c, y route in the Kitchen and it still gives the same result. I am looking forward to your next update...

BTW, when you get it stable what are the chances of you integrating some of faux123's wizardry into your kernel... (have a look HERE)
[HD2 Android NAND Development] THANHVO31:
Anyway, with IO Test, i got best NAND WRITE SPEED WITH cfq at 4732 KBPS and SD write speed with deadline. Can I made difference scheduler for nand and sd?
[HD2 Android NAND Development] gkillerx:
marc1706 I think there is a problem with Navigon. When I use it, after some time it just reboots it self randomly... (is it a word ? lol) Any news on this? What can I do to help you debug it ?

ps I used superchager RC4
[HD2 Android NAND Development] Dunc001:
Don't use Supercharger and see how you get on. Memory management in the .35 kernels is way more advanced than the .32 so you will probably find you don't need it. Supercharger will prioritise memory for the launcher so will most likely be killing Navigon to retain your 'bulletproof' launcher.
[HD2 Android NAND Development] gkillerx:
THanks that did the trick! Much stabler now! Downside, it's noticable slower...
[HD2 Android NAND Development] Dunc001:
Then install SetCPU, set max to 1113 and use the Smartassv2 governor - see if that helps.
[HD2 Android NAND Development] gkillerx:
Nope it is already at thouse numbers. I use a ext4 part, I read that marc is busy trying to fix lag with ext4 or so ?
[HD2 Android NAND Development] marc1706:
It is possible that the Max readahead of 2048 is causing issues for some users. Since this can be set manually in the init script this will be reverted in the next release.
[HD2 Android NAND Development] marc1706:
Updated the first post with a new version.
[HD2 Android NAND Development] pereira6david:
I test it right now!!!
[HD2 Android NAND Development] Traukoman:
v0.1.3 Working fine on Sbryan's. Thanks! :D
[HD2 Android NAND Development] bzhmobile:
I'm on NRG EU MAGLDR 12.09 release with RCMix V6 and your last kernel .13 realy boost the Rom...

Thanks! :D:D:D
[HD2 Android NAND Development] totalcmdext:
Do you need to make a wipe of cache and Davlink before install the new kernel?
[HD2 Android NAND Development] ceylin45:
TBD 2.5 very fast and fine thanks...
[HD2 Android NAND Development] Cheech1976:
To rule out any complications, should i replace the initrd.gz from the build i´m using?

Since, as far as i know, both TBD and sbryan´s builds are from the runnymede 1.05.... and the one i´m using is from 1.11... the initrd.gz files included in the files to download may not work for me?
[HD2 Android NAND Development] marc1706:
If you are using cLK then I'd recommend you use your ROM's initrd.gz.

If you are using Magldr though, there is no need to change anything. The magldr package won't change your initrd.gz.

I recommend you wipe your dalvik cache.
[HD2 Android NAND Development] Dunc001:
Marc, just to confirm after several hours 0.1.3 is running really well (at 1113, Smartassv2). I have just read your official changelog - that is some pretty cool sh... :D Well done and we look forward to seeing what great improvements you bring for 0.1.4... ;)
[HD2 Android NAND Development] dude0316:
Marc you have done it with this one. Phone is fast with no overclock. Bluetooth address is unique now.

Five stars in my book thanks a million. Cheers
[HD2 Android NAND Development] pereira6david:
Yes, fast, I think less responsive than Sbryan12144's V6 especially on changing from landscape to "portrait" (don't know the English word).

I had a crash of sense wich force me to restart but I was oc at 1107Mhz, at 998 it seems OK.

Power consumption seems to be a little bit superior than Sbryan12144's kernel, governor perhaps?

I've tested bluetooth file transfer with my pc, I can connect but transfer never start.. (from pc to phone, haven't tried the opposite)

Btw it's a great kernel, congratulations
[HD2 Android NAND Development] bojanbl:
I must say that today I saw (for the first time) battery drain 1mA with your latest kernel (0.1.3) :eek::eek::eek:

I couldn't believe it :D

THANKS!!!
[HD2 Android NAND Development] HannoSLM:
i thinkg ver 0.1.3 is the fastest kernel for sense roms at present. Blows away all the rest.

thank you very much for the good work
[HD2 Android NAND Development] mlkjuggalo:
+1

on 1mA very nice :D
[HD2 Android NAND Development] Taco123:
How did you change Kernel?

When I try to change Kernel, my phone wont boot.

I stay also with same rom with magldr.

Thank you for help :)
[HD2 Android NAND Development] pee-wee:
Same as flash rom, install zip through cwm

Sent from my HTC HD2
[HD2 Android NAND Development] dungphp:
Im writing a script to build boot.img in MS windows. Who know whats wrong with this line:

mkbootimg --cmdline "" --base 0x11800000 --kernel out_bootimg\zImage --ramdisk out_bootimg\initrd.gz -o out_bootimg\boot.img

Thank
[HD2 Android NAND Development] pereira6david:
Haven't you wrote bootimg instead of booting? I can't see clearly.

I couldn't help for more, sorry

Oups, I'm silly, boot image.. Sorry
[HD2 Android NAND Development] alexdoux25:
I've flashed v.0.1.3 and unfortunetly my HD2 can not connect to handsfree with BT.

It's just the same like with Tytung's kernels.
[HD2 Android NAND Development] tmotard:
hi,

did you try with other handsfree ???

don't know for this kernel but Tytung's one work very well with BT ...
[HD2 Android NAND Development] Taco123:
I have done it, but no luck :(

I had bootloop
[HD2 Android NAND Development] pee-wee:
What rom you using? Because this for sense rom only -as posted in page1-...

Sent from my HTC HD2
[HD2 Android NAND Development] yugoport:
I just hope it be available for sd builds so I can dualboot sense with wp7..
[HD2 Android NAND Development] alexdoux25:
I have only one handsfree. But i've seen a lot of posts concerning BT problems with tytung's kernels.

And I never had troubles using different 35 kernels before 0.1.3 version.
[HD2 Android NAND Development] Dunc001:
The problem you are having is because this is the first kernel to successfully implement unique BT MAC address so your handsfree will no longer recognise your phone as it is now on a different address. Just delete your phone pairing from your handsfree, and then start over by pairing your phone as a new device. It works perfectly and you will now no longer have conflicts with every other HD2 running a NAND Android ROM having the same BT MAC as you :cool:
[HD2 Android NAND Development] schlei:
Hey what are u doing ??? this KERNEL is so fast !! my HD2 is flying very nice !

im on TBD 2.5 :D:D
[HD2 Android NAND Development] Taco123:
I'm using NRG Rom (from 12.14.2011).
[HD2 Android NAND Development] tmotard:
Hi

Same problem with same rom for me...
[HD2 Android NAND Development] bzhmobile:
Try the "Bichon's method" ,

- after clear Dalvik cache, flash the kernel, and flash it again, and one more.

Turn off the HD2,

Start the HD2 and wait , first boot is longer 3/5 mn...
[HD2 Android NAND Development] pee-wee:
I'm on TMOUS with magldr and got no problem...

Just clear cache and dalvik, flash the latest magldr kernel then restart as usual... Also it'll take time to first time boot, 3-4 minutes...

Sent from my HTC HD2
[HD2 Android NAND Development] bzhmobile:
As i can see on our french forum, the problem is reccurent on NRG's EU magldr.

Sometimes stuck on bootanimation... (clear Dalvil cache done). But not always

And some several reported cases; after a normal use and normal reboot :... stuck on bootanimation ????
[HD2 Android NAND Development] Taco123:
same for me.. even with standard Kernel. So I think is Rom issues :confused:
[HD2 Android NAND Development] Visentinel:
Indeed I had this happen to me several times on different sense roms, I reported it once but was told would be something I did after setup.

I used logcat and always the issue was that it could not stat anything under /system.

Posted from my tweaked DHD.
[HD2 Android NAND Development] mkutsen:
Wow, my Bluetooth is working without errors with v0.1.3 for the first time in 6 months!! That unique MAC address and whatever else tyutung did worked!
[HD2 Android NAND Development] dude0316:
This is what I use

mkbootimg --kernel zImage --ramdisk initrd.gz --base 0x11800000 -o boot.img

Hope it helps Cheers
[HD2 Android NAND Development] tourax:
Camera not working in Sense of Eclipse 2.5.0.0

Hi all,

I successfully installed your kernel to Sense of Eclipse 2.5.0.0 ROM, battery drain was very good (very low consumption), but the camera did not work anymore - only white screen.

I played with the settings, rebooted - no change. Switching back to the original ROM as I need the camera, at least sometimes.

One more thing I noticed: this kernel is using about 10MB more internal memory, at least this is what the free memory widget says. Maybe this is the reason for some of the freezes other people experienced - phone was low on memory.

Keep on working, the current beta looks very promising otherwise!
[HD2 Android NAND Development] marc1706:
Your ROM doesn't come with the needed libs for the .35 desire GPU driver.
[HD2 Android NAND Development] SagaPer:
I have the same problem going from Dansta34's rom version 2.5 to 2.6:

http://xdaforums.com/showpost.php?p=20425805&postcount=6915

The "Sensation xl Sense3.5/2.3.5 v2.6 OC daemon & marc1706 0.1.3 kernel" works very well except from the Bt pairing. In the previous version of Dansta34's rom (2.5) the kernel 0.1.2 was used and the Bt pairing worked.
[HD2 Android NAND Development] Dunc001:
READ and you shall find your answer...
[HD2 Android NAND Development] light_n_roses:
Hi mark !

What do you think about extend haret support to the kernel !??

Me and boxmax would be very gratz for that !!!!!
[HD2 Android NAND Development] SagaPer:
Thanx. I had to force the headset into pairing mode (push the volume button for 5 secs, headset light flashing green/red). Then the phone discovered the headset...
[HD2 Android NAND Development] bzhmobile:
Just for information, I have flash the 0.13 kernel on a MIUI Rom (Patensas Sense like) and it works fine smoother and faster....
[HD2 Android NAND Development] RussianBear:
guys, this kernel can be used on any sense version, correct? (i.e. 3.0, 3.5, etc)
[HD2 Android NAND Development] Dizzle:
Yes, Gingerbread sense tho.

Sent from my Incredible HD2
[HD2 Android NAND Development] LNICK:
Which governors Does the last kernel support?

I tried smartassv2 in the newest NRGZ's rom but it stop to boot. With default governor it works fine.

Just trying to find the best relation between performance and battery drain.

Thanks
[HD2 Android NAND Development] marc1706:
I serioulsy doubt this is caused by the kernel or switching to smartassV2.
[HD2 Android NAND Development] mlkjuggalo:
I use marc1706's v0.1.3 with smartassv2 i'm not OC at all just stock settings in setcpu on RCmix3D v4.0.2 and it runs smooth & fast my batt life is very good almost 2 days i get 2-3mA and have seen as low as 1mA while screen is off or standby :)
[HD2 Android NAND Development] totalcmdext:
Are the following issues of kernel and it will be solved in next version?

1. When you have second line there isn't any beep tone (or it is very low)

2. Wifi teathering for sense build (the HTC default)
[HD2 Android NAND Development] JustANotherMe:
is this kernel under volted by default ?
[HD2 Android NAND Development] DJSkyline701:
Can someone explain how to adjust the voltage s with this kernel... Please...
[HD2 Android NAND Development] marc1706:
1: Sorry but I don't understand what you mean with that. Could you elaborate a little bit?

2: I'll try to get this working as soon as possible. ;)

This kernel uses HAVS. It's basically dynamically adjusting the VDD of the CPU. The lowest VDD is currently 950.

You can find a good explanation on setting the VDD with HAVS here:

http://www.ziggy471.com/2011/04/07/vdd-smartass-and-cpufreq-sysfs-interfaces-and-how-to-use-them/
[HD2 Android NAND Development] DJSkyline701:
Woah, I looked in all the wrong places, Thanks Marc...
[HD2 Android NAND Development] JustANotherMe:
if u could implement the uv values from here.... that would be awsome
[HD2 Android NAND Development] jully3881:
can you take some time to solve the wifi tether on sense3.5 in your kenel? thanks

the chinese meaning is :你能花点时间解决一下 sense3.5里的wifi 热点问题吗?
[HD2 Android NAND Development] stratos:
Another request...

This kernel is very close to perfection...

maybe it would be useful for many users CIFS support :p
[HD2 Android NAND Development] marc1706:
You can set the VDD levels with an app like SystemTuner by 3c.

CIFS is already included in the kernel.
[HD2 Android NAND Development] Kefir.net:
marc1706, but what about AOSP and CM 2.6.35 kernel?

This kernel is working much better than ACA or your CM kernel on AOSP too, but the only bug is no preview in camera. Can it be fixed?..
[HD2 Android NAND Development] marc1706:
We just need to use the .35 cm-kernel GPU drivers for that.
[HD2 Android NAND Development] feloccio:
Thanks for this very good kernel. Seems to be a huge performance improvement from 1.1.2 to 1.1.3

Also my audio dropouts while turning off the screen are gone.
[HD2 Android NAND Development] kinghunki:
Thank you very much,Merry Christmas

What will be the big changes?
[HD2 Android NAND Development] marc1706:
I will not be doing this for the sense kernel since that will leave us with the glitches we already had before. Warren already did this for his nonsense kernel and I'm guessing he'll incorporate the changes I added the last weeks once he has some more free time.
[HD2 Android NAND Development] JustANotherMe:
ok

cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs

gives me one more row then i expected

p.e. 128000: 950 1025

128000 is the MHz

950 is the volt

1025 is the maxmum volt ???? if it is, what determents which value is used ?

echo "-25" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs

didn't do anything

echo "-25 -25" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs

crashed my phone
[HD2 Android NAND Development] jan-willem3:
Just wanted to let you know that there are some serious issues in clock-wince

When putting back the battery the date is 4 days back.

Also when recording audio after saving it the recording is 4 secs instead of the actual 20 altough dont know if it is related to clock.
[HD2 Android NAND Development] feloccio:
With 1.1.3 the sense UI is very smooth now, but everything that is nonsense like scrolling in explorer is very laggy :-(
[HD2 Android NAND Development] marc1706:
What explorer are you talking about? If you are talking about ES File Explorer than you should probably switch to a different explorer. ES File Explorer tends to be laggy on all kernels and ROMs.
[HD2 Android NAND Development] JustANotherMe:
no one got an advise ?
[HD2 Android NAND Development] marc1706:
I'm aware of the reboots caused by changing the HAVS settings. There will be a fix for this in the next release.
[HD2 Android NAND Development] JustANotherMe:
one question left ...

ty for any useful answers in advance