yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] Ultraboss:
Hi, I've no more random reboots since I used the 0.2.0 kernel !

But I think it was network provider issue.

Yesterday there was a free mobile blackout and my phone has rebooted few times because it couldn't be able to unlock sim card and/or find network signal !!!
[HD2 Android NAND Development] msdn70:
Battrey drain

Marc,

Thanks for your good work..

But it is very noted that the battery life is not good as 0.1.9

Could you help in this issue please.

TIA
[HD2 Android NAND Development] mb_guy:
Strange

With Energy Rom, Mobile data on, gps on, exchange push mail enabled I mostly see 2-3 ma when unlocking the phone. Battery life is Excellent for me !
[HD2 Android NAND Development] rafiqzadah:
Yep.. here with CoreDroid and well I can't really say 2-3 mA. It does keep it under 10 for sure... So I think it is with your setup on which ever Rom you have and which apps are running...
[HD2 Android NAND Development] msdn70:
Excuse me but How you measure the battery life? what is 2-3 mA refers to?

for me 0.1.9 last for about 22 Hours

but 0.2.0 take about 13 Hours only (Normal usage)

what about you??:confused:
[HD2 Android NAND Development] rafiqzadah:
Okay.. there is this app on the Market called "Battery Monitor Widget" download it... And place widget on screen.... After a day of use. Clickin on the widget and then "History" you will see a list of values that pertain to battery percentage, and its drainage at that particular percent and the specific value for that drainage (As we mentioned "2-3 mA")...

Very useful tool..
[HD2 Android NAND Development] Cheech1976:
With 0.1.9 and 0.2.0 versions of this great kernel i am encountering an issue with my sd card.

At least once a day at some point i seem to loose the write-permission for the sd card (the fat32 partition). At that point it is not possible to unmount and remount the sd card, if i select to unmount the sd card it looks like the phone is doing something, but it never actually unmounts the sd card.

Only thing I can do is reboot so i can actually write on the sd card again, but this only works for about 1 day, after that i can´t write anything on it again.

Anyone else having this issue? I didn´t read anything like that before.
[HD2 Android NAND Development] Authi:
Hi marc1706, does your kernel support Froyo roms?

I'm using Mikhei777 2.2.1 sense 2.x it works fine, but I'm not able to change to any other new kernel that supports wifi.

I tested yours, many of them, also dorimanx one, but I will never became wifi to work, only original Rafpigna 1.9 kernel works.

It's necesary any other unknown trick to get success?

Thank you for the reply.....
[HD2 Android NAND Development] sandymac:
I've never had problems. Sounds like your SD card may be the culprit. Certainly not the kernel. ;)
[HD2 Android NAND Development] Cheech1976:
Kinda what I expected to read, but not exactly what I hoped for :D
[HD2 Android NAND Development] marc1706:
2.6.32 kernels are for Froyo, 2.6.35 kernels are for Gingerbread. ;)
[HD2 Android NAND Development] essi_baba:
hi

senior marc any news for new update?

you can add auto key light on in dark and off in light? like dorimanx kernel?

you can fix some time shutdown phone in some ginger build? i`m test this bug on some rom and only if use this kernel have shutdown or reboot:confused::eek:
[HD2 Android NAND Development] carl1961:
what rom or you using? I use marc's kernels with great success and never have any reboots, also I'm using clk 1.5 and 5026 recovery not (recovery ext4),
[HD2 Android NAND Development] essi_baba:
ahhhhaaa i`m find problem for shutdown (back holder battery fixed) :D

and find reboot problem (in zram script find wrong value :cool: )

but only 1 problem exist and hope marc fix it

please add back light key in dark on/ in light off like dorimanx kernel.;)
[HD2 Android NAND Development] Cheech1976:
Please do share the wrong value in the zram script.
[HD2 Android NAND Development] essi_baba:
in my zramscript

and me change to this

:D
[HD2 Android NAND Development] dexterxx:
You have changed zram size from ~45MB to... 350KB.

BTW don't use zram, it lags device strongly.
[HD2 Android NAND Development] essi_baba:
i with ~45 mb zram have reboot sometime on andriod 2.3.3 with sense 2.1+3.0

but in debug app i see very error like this: :rolleyes:

ERROR/dalvikvm(XXX): Cannot get policy, waiter thread id=XXX

ERROR/dalvikvm(XXX): Failed to find cpu subsys
[HD2 Android NAND Development] Cheech1976:
You must have been using an old version of the zram script, the version posted by Marc only contains 100 MB.
[HD2 Android NAND Development] vanity:
I have been using the latest 100mb script from Marc here, but I too had random restarts. Mostly when viewing a large website.

Without the script, no problems.
[HD2 Android NAND Development] Daekin:
properly setup ZRAM increases ROM performance ;)
[HD2 Android NAND Development] essi_baba:
marc kernel is grate but it is BETA,

now senior marc just update & add some stuff like ,auto back light in dark on and in light off and fix zram reboot problem and add some graphic driver or stuff for better working camcoder ,and anything etc for release ultimate version for all guys,:D:)

thanks marc :cool:
[HD2 Android NAND Development] alex.odell.2011:
or a sense 4.0 version ;)
[HD2 Android NAND Development] gecata:
And what is the properly values? Can You explain little bit more, please?

Thanks in advance!
[HD2 Android NAND Development] boss19:
It would be great if you someone could post the "optimal" values for zram for the HD2 EU version and the

HD2 TMobile USA version and what amendments need to be made to the script file(s).

Much appreciated!
[HD2 Android NAND Development] alex.odell.2011:
128mb swap works well on TBD V3.6 Stock
[HD2 Android NAND Development] mlova:
can any one confirm if this kernel fix the camcorder lag issue on sense 3+ ROMs??
[HD2 Android NAND Development] vanity:
Nope. Camera is faster though.
[HD2 Android NAND Development] Daekin:
kernel panic...

hi marc!

can you please take a look at this last_kmsg?
[HD2 Android NAND Development] alex.odell.2011:
I don't think there are optimal values! it just depends on your SD card speed and brand :)
[HD2 Android NAND Development] Dunc001:
ZRAM doesn't use space on the sd card, it uses the pre-defined (in the zram init.d script) amount of device RAM (not ROM or swap) and then compresses RAM into that, effectively doubling the allocated size. So if for example the ZRAM space is set at 100Mb that effectively becomes 200Mb of RAM, therefore raising the HD2 RAM from 512Mb to 612Mb :) But it does come with drawbacks as already discussed, although the pro's generally outweigh the con's. If you are using ZRAM then your swap partition (if you have one) will most likely never be used as Marc has given ZRAM priority over swap IIRC.
[HD2 Android NAND Development] boss19:
Thanks for properly elucidating the function of zram.
[HD2 Android NAND Development] marc1706:
There is not much I can read out of this. shmem.c is the virtual memory interface for linux. This could have been caused by a broken memory or sdcard. Were you using swap at that time? The lowmemorykiller messages look like you were running out of ram. It's also possible that zram caused this. zram is not perfectly stable and can cause issues although I never had any issues with it.

Correct except for one thing. Setting the zram to 100 MB creates a zram device with the size of 100 MB which basically means that it's only using about 50 MB of RAM.
[HD2 Android NAND Development] ph03n!x:
Hi marc1706, I believe the log is from my phone - I do not have a swap partition in my SD Card. The lowmemorykiller messages could be because I had set the empty app value to 24576 (96 M), and my phone usually has ~90+ MB free RAM (am experimenting with a few min free values), though I do understand empty apps will be killed continuously. I also have a 192 MB zRAM, which may also affect the available RAM.

I had faced another lock up and reboot earlier today, though I have the last_kmsg, I don't think it is any different from this. I am going to see if kernel v1.9 makes any difference in the same setup I am using now...
[HD2 Android NAND Development] Daekin:
yes. it was your log :)

I can say more about this: many users reported that they had reboots when using internet browser (stock or other) and they were browsing some intense graphic sites....all of theme had ZRAM enabled.

I made ZRAM optional in my last versions.

I know that ZRAM is not completely stable - I have read that in old days of ZRAM appearing ported to some phones (eg. Sensation by faux123).

But there are some other rare random reboots that some users reported on my ROM (I did not manage to get a last_kmsg from them yet). These reboots happened also when ZRAM was not used. (swap alo disabled). I heard somewhere on XDA that CIFS module in some kernel versions was causing reboots on a device...so right now I am tryoig to not load CIFS module in 01modules and see if it gets better...but we surely need some logs from crash....

will report back when I gather more information
[HD2 Android NAND Development] msavic123:
Boot logo change

Hello, i have a little request - suggestion:

Please compile future versions with default htc logo, i am using this kernel in my own rom, and 'developer beta blah blah' looks bad. I tried changing it myself, but i am windows user, and tutorials in ubuntu only helped for magldr, it seems i can't do it for clk.

It's only fair - hd2 is a htc phone :)

When you are compiling it, i already know it's a pain to change logo.rle on already compiled kernel, but make 2-3 versions, with different logo. Like this:

stock htc white

stock htc black

whatever you want (developer blah blah)

I attached black and white htc splash.

Cheers!
[HD2 Android NAND Development] marc1706:
There is no logo in my kernel package since version 0.1.9, at least for cLK users. The MAGLDR package never had a logo.
[HD2 Android NAND Development] ph03n!x:
Please install dsixda's kitchen through cygwin in windows. It takes 2 minutes to change the logo to whatever you want. The Dev should be left to do what they do, and customizations should be on us!

Swyped from my HTC HD2 using XDA App
[HD2 Android NAND Development] msavic123:
Boot logo

Than what is that 'developer build' thing i was talking about?

So Wil you start building future versions with logo?

---------- Post added at 11:01 PM ---------- Previous post was at 10:52 PM ----------

I tried already, cygwin does not want to start on my windows.

I tried also on linux, but had problems, as i unpacked boot image, and later in wouldn't rebuild. I followed tutorials, but no go. I lost a lot of time trying to sort it out, but something's still wrong.

So i figure, it can't be that hard to incorporate small logo.rle by developer while compiling? And i'm not asking some personal theme request - as i said, i think stock htc splash should rightfully be default.
[HD2 Android NAND Development] marc1706:
There is also nothing about "developer" or "beta" in my kernel. The only thing you are able to see is the version number and that won't display while booting.
[HD2 Android NAND Development] Daekin:
well...it is easy to do that on ubuntu.....I have it in virtual machine to do some more hardcore stuff (I do not like using kitchen on Cygwin :p)

just copy initrd.gz to some folder and in terminal write:

gunzip initrd.gz
cpio -i < initrd
rm initrd

then make your edits (for example change the logo (probably do not edit init scripts if you do not know what you are exactly doing because you can make ROM to not boot anymore :p

after you have changed all, run this to pack it again:

find . | cpio -o -H newc | gzip > ../initrd.gz

this will create initrd again in folder one level up

and marc will not create any future builds with logo because initrd file is ROM dependent and using wrong initrd can cause ROM not to boot....using dynamic way of injecting kernel into ROM is better way of installing :)

this way it can be more compatible with many ROMs

btw: @marc...are you preparing some new build?

I will try to test your two latest builds...because I heard a lot that 0.1.9 is better than 0.2.0...pity because I found some things in changelog interesting :p
[HD2 Android NAND Development] msavic123:
Boot logo

Yeah, i did it too, it's easy for magldr...

Clk boot.img gives me headaches, i even found some tutorial for Xperiax10, and did everything, but that boot.img doesn't work....

Nevermind, marc, it's still a great kernel :)

Cheers!
[HD2 Android NAND Development] carl1961:
all these run on Windows 7

here's dsixda-Android-Kitchen-0.188 zipped up

here's cygwin zipped up

here's video of kitchen doing kernel boot files

here's a tool to make logo.rle from any PNG (resized to 480x800, for HD2)

use kitchen to unpack boot.img (clk) or boot folder (magldr) replace with your logo.rle

here's A Guide to use kitchen

folder of collected Guides

Collection of Tools

unzip cygwin.zip to c:/ drive should make cygwin folder

run cygwin.bat file inside cygwin folder ( I make a shortcut to my desktop, then right click and run as administrator)

when cygwin runs it will create you a home folder with some files in it, do nor delete these files

unzip kitchen.zip inside your cygwin home folder (C:\cygwin\home\carl\kitchen

run cygwin.bat at command screen type cd kitchen then press enter key

next type ./menu to start kitchen
[HD2 Android NAND Development] msavic123:
Customization help

Thank you, kind Sir!

I don't know why your cygwin works, and the one i downloaded from official site, doesnt.

I already had logo.rle prepared, but couldn't get kitchen to run.

Thank you people for your patience!

Greetings from Serbia!
[HD2 Android NAND Development] Daekin:
if you read OP for dsixda kitchen carefully - there is install guide for beginners - there is said it needs to be modified cygwin (download there too) in order to work properly
[HD2 Android NAND Development] fxzy:
Excuse me, may I know how to apply this kernel (the 0.2.0_desire version) if I am having a Sense ROM (Boxmanx Runnymede sense 3.5 v7) in my SD?

I can't see your files in the zip package are in the same order as the phone. How to apply your kernel?
[HD2 Android NAND Development] carl1961:
unzip marc1706_desire_0_2_0.zip and copy zimage to your Android folder on SD-CARD and overwrite the one there
[HD2 Android NAND Development] alex.odell.2011:
your ROM is an SD build

this is a NAND kernal mate
[HD2 Android NAND Development] the_b00gyman:
I'm new in NAND as well. Can I apply this kernel manual or do I have to wait until the cook of the ROM I use is releasing a new ROM with this kernel?

And if u can apply it manual, where/how do I have to place it??
[HD2 Android NAND Development] alex.odell.2011:
hello mate,

place the zip on you SD card root for easy accsess

restart the HD2 holding the power button until the magldr options appear

select "Ad Recovery" option 8 I believe

do a backup in this recovery screen

select install zip

select the zip file of the kernal

done
[HD2 Android NAND Development] carl1961:
if he is using the BoxmaX.S3.5.v7.0.Magldr as he said , he should be ok copying the zimage and replacing the marc1706's 1.8 zimage

marc1706's 1.8 zimage is identical to the zimage in BoxmaX.S3.5.v7.0.Magldr [Kmarc1.8 + KTytung r14]
[HD2 Android NAND Development] Kefir.net:
Hi, marc!

Have you tried to port ICS kgsl driver from other Adreno 200 devices?

I've tried with Evo4G sources but it's 2.6.38 https://github.com/atyoung/mason-kernel-ice/commits/master, have no succes, and get software render only..

Also I found 2.6.35 sources for Wildfire S, also Adreno 200 http://git.cryptomilk.org/projects/marvel/kernel_htc_msm7227.git/log/?h=ics

But even more problems with compiling..I thing I'm doing something wrong..
[HD2 Android NAND Development] marc1706:
I'm currently trying to port the 3.0.8 kgsl & video drivers from codeaurora. I didn't get far yet, though.
[HD2 Android NAND Development] essi_baba:
Grate news ,Welcome marc1706

We Many time waiting for you come back ,

senior

On v0.1.3 with in this rom camcoder work grate (800*480), but with 0.2.0 don`t work,i`m working on my new rom hope you fix video driver for porting to sense 2.1 :D

sorry for my bad english
[HD2 Android NAND Development] Tsumi:
Create a folder in the android folder of your SD build, and label it "root" (without quotation marks). Extract the zip file, and place the folders besides the boot folder in the root folder (I believe the two are META-INF and one other). Copy and replace the zimage file from the boot folder into the android folder.
[HD2 Android NAND Development] essi_baba:
senior Mark

in debug app i see very error like this:

ERROR/dalvikvm(XXX): Cannot get policy, waiter thread id=XXX

ERROR/dalvikvm(XXX): Failed to find cpu subsys

what is this?
[HD2 Android NAND Development] Daekin:
second message is known problem.

however it does not any harm and you can ignore this message.

the reason is a kernel change and HTC implementation of CPU scheduler - now they are not 100% compatible....but as marc already explained to me, we are using different scheduler that can ignore this error (only logs will be flooded......)

marc could possibly remove logging line from the code ;)
[HD2 Android NAND Development] marc1706:
I can't change that line since it's inside Android. Android is looking for cgroups while the BFS CPU scheduler doesn't use cgroups.
[HD2 Android NAND Development] ph03n!x:
@marc1706, can you brief on the camera changes from 1.3 to 1.4 (bananacakes)? I am asking because I am experimenting with a Desire stock GB port (from htcdev) to HD2, and 800x480 video recording works smooth until 1.3 with MPEG4 codec, but crashes camera in 1.9 (have not tried any kernels in between). 1.9 however works with H264, but the recording is extremely laggy in 800x480....
[HD2 Android NAND Development] marc1706:
There were actually 2 changes that might affect camera in 0.1.4.

The bananacake change was in order to fix the greenish tint in low light conditions.

The other one was adding htc auto-white balance.

So are you saying that the camcorder works without issues in 0.1.3 on a stock desire rom? I can compile a kernel without the auto white balance and one without the camera changes if you want me to.
[HD2 Android NAND Development] paul89rulez:
i can confirm this too.. with 0.1.3, or max 0.1.5 kernel, videos was smooth, but contains alot of glitches..and for smooth i mean27 fps :)
[HD2 Android NAND Development] ph03n!x:
I did a few tests, and noticed that on Dj Danik's stock desire rom 800x480 video recording works fine with MP4 codec and kernel 1.3 (he has also said the same in the opening post). With 1.9, 800x480 with MP4 is broken (FC) and H264 works at 800x480 though lags like crazy.

On my stock desire GB ROM with stock Desire libraries (my experimental build) and kernel 1.9, photos work fine, but camcorder crashes after recording some (800x480). I am trying to get kernel 1.3 to work on this build (like I said, experimenting to have a as-close-to-Desire-in-all-aspects build)...
[HD2 Android NAND Development] marc1706:
Please try if this compile changes something about being able to record properly:
[HD2 Android NAND Development] sathara:
file courpted
[HD2 Android NAND Development] marc1706:
Should work now.
[HD2 Android NAND Development] Nedo Ukradan:
Marc,

I have big issues with sound... I hear crackings during the call, peaple I am talking with have to load sound... I do not have this problems using Windows 6.5, some MIUI, CM and sense 1 ROMs... Sony bla bla/ no sony - the same. I think I have tested all sense 3.5 ROMs.. same

Can you help me? Maybe it is something about ALSA sound drivers. How can I decrease that horrible to loud sound cracks and outgoing sound?

Thanks

Edit:

Funny, I have never had any problem that folks are complaining. This one will kill me - seams I am the onlyone...
[HD2 Android NAND Development] alex.odell.2011:
Have you flashed WinMo recently, could be your speaker dude :)
[HD2 Android NAND Development] alexdoux25:
Hi Marc.

Thanks for your great kernels.

One question: I can't see any proc/sys/kernel/sched... or proc/sys/kernel/msg... files on my HD2 with your kernels.

Where could I find it and change values if I want?
[HD2 Android NAND Development] Nedo Ukradan:
alex, read...

I hear crackings, interlocutor, hears to loud - annoying sound too. My speaker is O.K.? Bad drivers or something is wrong with my sound chip. The same with earphones..

EDIT:

I, just, tested on another HD2 phone - same thing. I think the problem is in the "technology" so called "telenor crystal sound" provided by the Serbian Telenor.

Is it possible to reduce the input/output level of the sound using some script or whatever? I thing it is 40% overloaded.

Thanks

EDIT, edit:

O.K. nobody cares

Thanks again
[HD2 Android NAND Development] jskenderi:
I tried this kernel on my HD2 with RCMix3D 5.1 and it is not better. I reflashed 0.2.0 again. Nevertheless, thanks for trying.
[HD2 Android NAND Development] Nedo Ukradan:
Greetings Bosna.

How can I help you if you do not have signature?

Phone?

Software?

Matični broj :) (ID)

Pozdrav sa Drine (Greetings from Drina river)

EDIT:

Sorry, your thread is locked 2 mounths ago...

Nije sramota biti šiptar, naprotiv!

If you need some (any) help send me PM
[HD2 Android NAND Development] jskenderi:
You have a PM.

Cheers
[HD2 Android NAND Development] carl1961:
It does not mean no one care's if you don't get a reply ,

I say it's Xloud, TBD rom you install has XLOUD, many say it has sound problems with them, me I like the extra loudness , I'm half deaf....

Removing Xloud Manually

Using ES File Browser (with root access and write turned on from settings)

Root Explorer

delete system/app/AudioEffectService.apk

delete system/framework/semc_audioeffectif.jar

delete system/etc/permissions/com.sonyericsson.audioeffectif.xml

delete system/lib/libaudioeffect_jni.so

delete system/lib/soundfx/libxloudwrapper.so
[HD2 Android NAND Development] Daekin:
also if Xloud not installed and still too loud, then he has probably too much gain set in mic_gain init script....I recommend removing the script, default values are usually OK
[HD2 Android NAND Development] Deadknight:
i tried this kernel on gbleo r6 with lgcamera (mpeg-4 selected from settings)

Result

failed to capture

ps: pming you logcat if it helps
[HD2 Android NAND Development] Nedo Ukradan:
Thanks Karl!

Karl, you are great person and great developer - I am using some of your solussions, tested your ROM-s, no complmains., ....I have crackings using diff... hd2 phones and ROMS, including yours, my Slovak brothers Rom-s, Danstas ROM-s... The same... As I said I think some decreseeng script or what ever is necessary can help - who knows - I am fighting (20 years)with windowses For me, android is nice, but it is bunch of 3 lines macros. It is OK, just not interesting to me... Read my previos posts. Maybe it is only up the serbian Telenor, overloaded "crystal sound"

How can I can reduce that noise and distortion?

I am really annoyed by posts like this: http://xdaforums.com/showpost.php?p=24883189&postcount=2744....

.Hamlet of Serbia :)

---------- Post added at 10:44 PM ---------- Previous post was at 09:54 PM ----------

Same crackings with/wo sony xloud... ďakujem Vám pekne - understand slovak I do not write it:(. mam volaku rodinu Galance

Thanks mate

I am heared as Iam talking under the water or speaking from the barrel (especially in the pronunciation of sounds č, ć, ž. We pronounce it harder than you ...) - creepy echo... tested on several phones... In, cracking/ out barel to loud -as you can see got crazy:)
[HD2 Android NAND Development] marc1706:
First post has been updated. :D
[HD2 Android NAND Development] rafiqzadah:
So camera work now? Sorry noob question... I'm no developer just a pro newb.... :-P

And finally RC? Great news....
[HD2 Android NAND Development] marc1706:
Camcorder works if you have working libraries. I'm not sure about Sense 2.1 ROMs but 3.x ROMs are not using correct libraries (they include libs for MSM7x30 while the HD2 is a QSD8x50 device) so camcorder probably still won't work properly there. It should work with lgcamera though. On Sense 1.0 ROMs the camcorder should now work properly though.