yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] marc1706:
From what kernel did you come? If you were using a .32 kernel before make sure you install the necessary libs. I don't have time to find them for you right now. Look for packages by Mikhei777 for example.

Sorry, forgot to copy that "fi". I edited my post. Thanks for the note.
[HD2 Android NAND Development] Cheech1976:
The msm_rmnet.ko thingy doesn´t seem to work, as I posted earlier i removed the if-loop from the script and just let it "insmod" the file, the phone shows the modem as active, but that´s it.

What I don´t really get is, that the script addresses that particular file, even though it never existed until the update from today.

The msm_rmnet.ko file is neither in the build nor in the kernel (0.1.8).

Go figure :D

So for now I´m back to 0.1.8.

Edit: Another thing I noticed with 0.1.9 is that the icon for mobile data did not "disappear" from the notification bar after wifi was turned on, it only disappeared after I deactivated mobile data.
[HD2 Android NAND Development] marc1706:
I think I found the issue. The needed functions in smd.c were exported with EXPORT_SYMBOL_GPL. Unfortunately the module descriptors were missing in msm_rmnet.c. Please test if rmnet works now.

Also, there is just one package for 0.1.9 now. I'm now using an automatic package that will create a boot.img in the recovery. Thanks to e334 and koush for that. ;)
[HD2 Android NAND Development] Ath73:
rmnet works here now.

Thanks!
[HD2 Android NAND Development] guidogsbn:
Hi Marc, does this mean that the new 0.1.9 kernel in your download section is already updated by you and I don´t have to change scripts any more ?
[HD2 Android NAND Development] marc1706:
Yes, exactly.
[HD2 Android NAND Development] Minnesinger:
Yep, works now for me, too. Thanks.

I restored the original module script in system/etc/init.d and flashed the updated 1.9 zip. Everything works great. In fact, I'm replying now over mobile data!
[HD2 Android NAND Development] carl1961:
I have a Desire HD rom with marc1706 1.8 and camera is fine, I installed marc1706 1.9 for desire HD port and it works fine.

Really it's not a kernel issue, you need better lib files for the camera , PM Me or post your rom link and I'll see if I can put some camera lib's together
[HD2 Android NAND Development] stathis95194:
Just flashed the new 0.1.9 package and mobile data is working perfectly on my end as well. Thanks a lot for the fast fix marc!!!
[HD2 Android NAND Development] feloccio:
I still don't have mobile data with 0.1.9 (downloaded today 10 am) and GBLeoR6 (magldr).

Whats wrong?
[HD2 Android NAND Development] sandymac:
It's working fine for me on magldr ;)
[HD2 Android NAND Development] Sneakyghost:
+1 on that.

Cell Data working perfect. I do not notice any increase in touch response though. I got the 0x40 digitizer.

Sent from my TBD Runny 3.5 themed
[HD2 Android NAND Development] vanity:
Just tried the new kernel. Twice. No go. Got the 3g and the H icon, but no internet. Back to the previous one.

HD2 EU. 5-160mb. energyrom 08 feb. marc's 0.1.8 kernel lagfree/powersave. no o.c. 96-998mhz
[HD2 Android NAND Development] marc1706:
Please make sure the msm_rmnet module gets loaded by your ROM.
[HD2 Android NAND Development] feloccio:
Where is this init.d script and how can i modify it?
[HD2 Android NAND Development] marc1706:
Open up a terminal emulator and enter this command:

lsmod

If you don't see msm_rmnet then the rmnet module is not loaded. Please contact your ROM chef if that is the case. Usually the included 01modules script should take care of loading up the rmnet module. If it's not doing that in your ROM then you might want to ask your ROM chef what you need to do in order to get the rmnet module loaded up in your ROM.
[HD2 Android NAND Development] kroolas:
Is attached 019 file for magldr, clk or both?
[HD2 Android NAND Development] ricky886:
both, auto detect:)
[HD2 Android NAND Development] kwag:
Data works only for a while on cLK, then dies.

After flashing 0.1.9, data was working fine for a while.

I turned on WiFi, did some syncs, etc., and when I turned off Wifi, no data :(

Using cLK here.

"Mobile Network" is checked (grayed) showing "Turning On", and stays that way.
[HD2 Android NAND Development] fatballj:
Download now. Can anyone confirm whether the GPS issue is fixed in 0.1.9?
[HD2 Android NAND Development] marc1706:
That sometimes happens on cLK since ppp is not as stable as rmnet. Only thing you can do is restart your phone.
[HD2 Android NAND Development] kwag:
Thanks Mark.

Guess I have to go back to MAG loader, because restart are not an option for me!

Do you know what is actually happening with pppd?

Is the daemon being core dumped? Or the module unloaded?

Maybe it's just a matter of writing a small monitor script, and forcing a restart/relaunch of pppd with parameters? ( Is "persist" being used on pppd here? )

I have dealt with several Linux (embedded stuff. Voyage, etc.) pppd, and forced reconnect issues to maintain a stable connection with tricks, but I havent looked into the Android/Linux "Way" to see how it handles the ppp connection.

Thanks
[HD2 Android NAND Development] vanity:
I tried that. This is what i got.

sh-3.2$ lsmod

cifs 232203 0 - Live 0xbf006000

sh-3.2$

It is present in the module script file.

HD2 EU. 5-160mb. energyrom 08 feb. marc's 0.1.8 kernel lagfree/powersave. no o.c. 96-998mhz magldr cwr4
[HD2 Android NAND Development] feloccio:
This kernel is the best.

I recently purchased an incredible s and actually the battery of my hd2 with this kernel lasts longer eventhough it has a bigger screen and smaller battery. The speed of the devices is almost the same i can hardly see any difference. I guess i'll sell the incredible s again.

Amazing what some enthusiastic developers can do.

P.S: Is it recommended to change the governor? Which one is best for long battery life?
[HD2 Android NAND Development] htcfreak:
100th Thanks :D

marc you rock bro :)
[HD2 Android NAND Development] mike2nl:
Hi marc,

At first a big thank you for your new rom.

Installed on retired HD2 ;-) and i have no issues right now.

I use the latest Coredroid Rom 3.7 and it feels like smoother on scrolling. A next report will be some tests with GPS and WiFi. On WiFi so far no issues on three different access points.
[HD2 Android NAND Development] Nemesis1278:
Thanks marc for fixing the kernel. It works great now. You are the man. Many thanks.
[HD2 Android NAND Development] essi_baba:
Thank you very mach marc and other dev

grate installation and best result in all parts.:D
[HD2 Android NAND Development] alex.odell.2011:
Great install, nice to have option on powerfull OC, thanks, data working fine on "3" network, well done mate!
[HD2 Android NAND Development] msavic123:
Sound volume problem

I have very loud volume, if it's due to drivers in the kernel, can it be turn down by say 30%?
[HD2 Android NAND Development] ccbm3:
This is a ROM related issue.
[HD2 Android NAND Development] aeropilot:
Go into settings, rcmix tweaks, system, enable/disable commands and disable xloud. This will reduce your overall volume. If you're not happy with it, just reenable xloud again. Oh, and you have to reboot after the change.

Providing your ROM supports this, of course. I kind of assumed it did, and posted without thinking... :p

Sent from my HD2 running TBD Stock 3.5
[HD2 Android NAND Development] Daekin:
if the ROM has Xloud engine, it boots sound volume...that is why I have removed it from my ROM (it was really annoying). if you are talking about in call volume, then it can be controlled in ROM using init script with the help of HD2 mic control app from market (in my ROM I have pretty loud values, I will lower them in next update due to distortion on speakerphone)
[HD2 Android NAND Development] msavic123:
Excessive loudness

that's the thing, no xloud installed. My chef provides xloud as an update, but it's not in stock rom.

See for yourself:

http://xdaforums.com/showthread.php?t=1256581

I removed these 2 files, and sound isn't loud anymore, so that must be it:

alsa-mix-htc-leo.ko

alsa-pcm-htc-leo.ko

Now, when you remove these, volume is now pretty quiet.

I only need volume down by 20-30% because this loudness creates a lot of distortion on phone speaker, and probably will fry it in some time.

Quick workaround would be keeping these removed and installing xloud. Please advise if these files are essential for something else.
[HD2 Android NAND Development] marc1706:
Those two modules shouldn't be needed in android. ;)
[HD2 Android NAND Development] essi_baba:
dear marc thanks for new kernel but in my rom

http://xdaforums.com/showthread.php?t=1256581

internet pass-through don`t work in previous ver 0.1.8 working sometime.:) please recheck this part.

and some time i`m have reboot in my rom

i think ,some bug in wifi or Mobile network exist,,,as if wifi or mobile network is turn on and device turn on after booting some time rebooted device ,and when some time work with titanium backup reboot my phone.

i think bug apposite for B]zram[/B].please check it :o

you can add some good options in Dorimanx kernel in your kernel? :rolleyes:

sorry for my bad english
[HD2 Android NAND Development] HTC_Hd2_best:
can someone say me which governor, max/min cpu and scheduler is best with this new kernel and the latest energy rom?
[HD2 Android NAND Development] msavic123:
Deleted modules

Thanks! and plaease for the next release, try looking into editing them (and fixing excessive volume like that), so people don't have to delete them in the future!

Cheers
[HD2 Android NAND Development] ak100:
still have freezes with new kernel. Without OC, with OC..somethink wrong with my phone? same problems with all ROMs.
[HD2 Android NAND Development] carl1961:
ak100 it's not the kernel I assure you, I use it on all my rom's , what ROM or you on? most chances it will be your setup or your initd.gz that's the kernel is coupled with, with more details I'm sure someone can help point the issue out, I would use CPU Usage,Watchtower System Manager or OS Monitor to see what's using your resources
[HD2 Android NAND Development] :
maybe you have bad blocks?
[HD2 Android NAND Development] ak100:
I have 1 bad block, and i did task2a (installed official winmo from SD card cuz it's safer) and never more use task29, also i creating bigger partitions when preparing NAND for new roms.

My currect ROM is xxxPachaxxx's Sense 2.1 build, same problems i had on mwakiousRUNNINGrom and Sense of Eclipse and on some anothers.

I dunno.. but if i have bad block it mean my phone almost dead now? I think a lot of ppl using their phones with bad blocks and there is nothing strange for their old phones, which has been assembled more than 2 years ago(
[HD2 Android NAND Development] carl1961:
depends on where your bad blocks or located, you may ( as angledeath posted) us EU rom setup with sd-ext, also I read somewhere and I'm trying to find it, that you can move your partition of make a small partition to cover bad block, when I find it I'll post it
[HD2 Android NAND Development] ak100:
How i know Yaffs should mark bad blocks as broken and dont use it later.

Formatting /boot...

Done.

Formatting /cache...

Done.

Formatting /data...

mtd: not erasing bad block at 0x009c0000

mtd: not erasing bad block at 0x0d600000

Done.

Formatting /system...

Done.

Formatting /sd-ext...

My log

On 27 pages on thread about ppl still dont found and realy working solutions which realy can help there.

Anyway i did somethink

Cmd>set 14 0

Cmd>task 28 55aa

Cmd>info 8

Cmd>task 2a

Cmd>task 8

Problem not solved.

My problem with freezes started from some last versions of kernel or new ROMs but there is nothink changed with my NAND and bad blocks.

Updated: I moved data>sdcard via a2sd, so if i dont using partition /data with bad blocks, everythink should work fine now.. but still no luck here. I dont using partition with bad blocks but anyway i have frezzes.
[HD2 Android NAND Development] gecata:
@ak100

Try with another sd card. I think this solve Your troubles.
[HD2 Android NAND Development] carl1961:
@ak100 this is the site I was looking for, you will see even a old sim card can cause issues

http://xdaforums.com/showthread.php?t=1150263
[HD2 Android NAND Development] Köttel:
is the new release marc1706_desire_0_1_9.zip for clk or magldr?
[HD2 Android NAND Development] jerryhou85:
It should be working with both.
[HD2 Android NAND Development] carl1961:
Yes it is a automatic, it knows where to go:D
[HD2 Android NAND Development] alex.odell.2011:
I have massive power drain on 0.1.9 at -279MA on standby?
[HD2 Android NAND Development] dude0316:
It's must be an app you installed. I'm getting 3-4ma on standby.

Cheers
[HD2 Android NAND Development] ak100:
i changed sd card to my old, and till this moment i have no freezes

thanks to everyone for help)
[HD2 Android NAND Development] ahlok_hk:
Hi dude I am having 4-8ma standby and is interested in your configuration of 3-4ma. Could you tell the following information for reference?

- ROM version

- Radio version

- EDGE or 3G or HSDPA network

- Wi-Fi turned on?

- Data turned on?

- background data turned on?

- always on mobile data turned on?

- OC Daemon and governor(s) and cpu speed(s).

Thanks!
[HD2 Android NAND Development] alex.odell.2011:
Rom : Team Blue Droid stock Runnymede

Radio : Stock 2.15.50.14

Network : Three HSDPA

Wifi : Off

Data : On

OC : 256 - 1593 MHZ on interactive

Monitoring through current widget with log values over 60 seconds,

I have great battery on V0.1.7 it jumps up on V0.1.8 and V0.1.9 which is a shame as I like OC and more stable data...

Also I'm using magldr :D
[HD2 Android NAND Development] marc1706:
First of try using better governors. If you want to use interactive I'd recommend you use interactiveX. Also, you might want to check what is being displayed in the battery consumption statistics.
[HD2 Android NAND Development] fatballj:
As you are talking about the governer to be used on your kernel, could you advise what is your recommended setting in Daemon Tools with andrev_oc? Which governer should be used to get best balance between speed and battery saving?

Thanks a lot.

:D
[HD2 Android NAND Development] Ultraboss:
Is battery fully charged ???

Hi Marc,

First I'd like to thank you for your great job, your kernel is very strong and stable.

Therefore I've notice an issue about the charging of the battery.

When the led becomes green, the battery might be charged but I still have a positive drain (about 80mA) reported by CurrentWidget.

So I think the charge is considered as full too soon.

You can also see this on the usage graph, the end of the curv is not logarithmic :

Have you noticed that too ??

So I need to keep the phone pluged on until the drain drops to 0mA.

I've read a dorimanx's kernel changelog and found that :

"Added safe Overcharge for battery.

Now it's will be really fully charged and live for longer time."

I'm using your kernel since the 0.1.3 and now the 0.1.8.

Cordially
[HD2 Android NAND Development] marc1706:
Well that's a Li-Ion battery, nothing I can do about that. I haven't tested the commit you mentioned but it's basically just allowing higher voltages for the battery. I'm not sure if this will reduce the amount of charging the battery will need after reporting 100% but I'll probably test it soon. Also, slow charging the battery until it has hit 0mA is actually better for the battery and will cause a better battery consumption than fast charging it to higher levels. ;)
[HD2 Android NAND Development] Ultraboss:
I'm totally agreed with your way of charging.

Could it be a "fast charging" mode enabled by default ??

Also, I've notice a "break" on the curve caused by shutting down the phone.

The last stats seems not to be saved when I power off my phone.
[HD2 Android NAND Development] Cheech1976:
After a few days my mobile data is becoming unstable and unreliable, anyone else? :)
[HD2 Android NAND Development] bojanbl:
I don't have data connection anymore :(

EDIT: Sorry I have data connection but my SIM card was inactive :)
[HD2 Android NAND Development] cayhanaydin:
Windows 6.5 Was a very powerful LED flashlight

Android also less

This problem is solved the Karnel operation ?

Is there someone who can help ?
[HD2 Android NAND Development] Sneakyghost:
My data/wifi switching got bad after a few days because data could not be switched on anymore for minutes, then it would work again and then hand again, the more switching, the worse it got.reboot fixes it for a while until it's getting bad again.

Sent from my TBD Runny 3.5 themed
[HD2 Android NAND Development] Cheech1976:
Yes, this switching issue has been there for a long time, I have the feeling that this is one of the default bugs of SenseGingebread just like the camcorder.

My twitter account bugged out yesterday and drained my battery 80% over night, luckily i could identify that and turned it off, during that time of constant synching the switch problem came on top, but now it´s all good again :D
[HD2 Android NAND Development] LNICK:
Yes I had. I rolled back to 0.1.7 and solved. The problem for me is that this version cuts the BT A2DP every time.
[HD2 Android NAND Development] :
add (from cmhtcleo nightly cm7 build)

rild.libargs=-d /dev/smd0 nand_init rmnet_mode

to build.prop. Maybe it can help...
[HD2 Android NAND Development] Sneakyghost:
Yes mate I was wondering about that too as there is a similar issue with the GPS module in gingerbread and since the switching problems keep coming back for most people and different kernels too I could very well imagine it's some part in GB that causes this behaviour under certain circumstances. It might be interesting for those who have a good idea of the inner parts of Android and the kernels to check and narrow down possible causes.

Sent from my TBD Runny 3.5 themed
[HD2 Android NAND Development] heymil:
2.0

Would you try to make the 2.0 version of your amazing kernel into a ICS kernel??
[HD2 Android NAND Development] alex.odell.2011:
What about us on sense, we need Marc too ;)
[HD2 Android NAND Development] Cheech1976:
I tried this, but unfortunately to no avail.

Mobile data seems to stop working after about 12 hours (for me at least ;) ).

Today it did that as I was actually using it, mobile data switched from "on" to "turning on" in the quick settings and from there didn´t make it.

Either playing around with airplane mode, wifi a couple of times or make a reboot and mobile data is working again, for a few hours.

Edit: Oops, never saw that I did not finish my last sentence, can´t have that :D
[HD2 Android NAND Development] carl1961:
better data connection HD2

Cheech1976, what Rom you using?

I took the ril files from latest desire ace and my data is much better

also maybe try fixing permissions, fixing permissions in CWR under advanced menu does not fix permissions in your files (bin,lib,init.d, etc.. folders)
[HD2 Android NAND Development] Cheech1976:
I´m running NRG´s actual build.

I already rolled back to 0.1.8 since I need the phone for daily use, but since weekend is around the corner, i will be sure to try out your proposed solution :)

Thanks! I will report as soon as I can make a statement, if things are better with your modificiations.
[HD2 Android NAND Development] heymil:
I meant a ICS SENSE kernel. Ics sense is availeble but there isnt a kernel supporting it...
[HD2 Android NAND Development] koz:
Thanks for posting these files, Carl - I'm a bit lost, though, on which of these to install. Do I need to install all of them or just one?
[HD2 Android NAND Development] Cheech1976:
I flashed the "better data...with lib files"-file and after that the fixpermissions.zip.

It´s been about 2 hours now and since then I lost connection one more time.

I will keep it as it is and watch if i loose connection again. I don´t quite recall the last version of this kernel with which data was rockstable, I think it was 0.1.7, but if this tryout here will not work out I´ll take one step back to 0.1.8.
[HD2 Android NAND Development] koz:
Thanks, Cheech - the big problem I'm noticing is getting data connection to turn on when switching from wifi to data, but it seems to be only while roaming. Also, I notice issues with my bluetooth headset connection, but again, it only seems to be an issue while roaming. I'll give this a go...
[HD2 Android NAND Development] carl1961:
One has the ril file from the bin folder,
[HD2 Android NAND Development] Cheech1976:
Alas it didn't work out with your additional files as well.

The first drop came to happen about an hour after reboot. The second was about 8 hours later. Data dropped without any doing on my side (no turning off WiFi or something).

At times it shows connected, at times it never actually does connect at all.
[HD2 Android NAND Development] essi_baba:
hi marc

we waiting for new grate kernel hope in the new kernel internet pass-through fixed and stable.

and please use the grate Aroma Installation package .its very nice and beautiful.:D
[HD2 Android NAND Development] marc1706:
Seriously? You want the Aroma Installer for one simple task? I get why one would use that on a ROM but on a kernel it's pretty useless IMHO.
[HD2 Android NAND Development] essi_baba:
thanks for you .

but any news for new kernel release ?what time?

do you fixed internet pass-through ?in the new version ?
[HD2 Android NAND Development] marc1706:
I'll see what I can fix, as always. But I don't have any ETA yet.

Regarding video recording in sense ROMs:

02-26 22:14:05.296 I/OMXCodec(268): [Stagefright] use software codec=VorbisDecoder
02-26 22:14:05.346 I/OMXCodec(268): [Stagefright] use software codec=VorbisDecoder
02-26 22:14:05.376 I/OMXCodec(268): [Stagefright] use software codec=VorbisDecoder
02-26 22:14:05.405 I/OMXCodec(268): [Stagefright] use software codec=VorbisDecoder
02-26 22:14:12.464 I/OMXCodec(268): [Stagefright] use software codec=VorbisDecoder
02-26 22:14:13.006 I/OMXCodec(268): [Stagefright] use software codec=AACEncoder
02-26 22:14:13.026 D/OMX-VENC-720p(268):
02-26 22:14:13.026 D/OMX-VENC-720p(268): omx_video(): Inside Constructor()
02-26 22:14:13.026 D/OMX-VENC-720p(268):
02-26 22:14:13.026 D/OMX-VENC-720p(268): omx_venc(): Inside component_init()
02-26 22:14:13.030 D/OMX-VENC-720p(268): ERROR: Omx_venc::Comp Init Returning failure
02-26 22:14:13.030 D/OMX-VENC-720p(268):
02-26 22:14:13.030 D/OMX-VENC-720p(268): ERROR: venc_open failed
02-26 22:14:13.030 D/OMX-VENC-720p(268):
02-26 22:14:13.030 D/OMX-VENC-720p(268): ~omx_video(): Inside Destructor()
02-26 22:14:13.030 D/OMX-VENC-720p(268): omx_video: Waiting on Msg Thread exit
02-26 22:14:13.030 D/OMX-VENC-720p(268): omx_video: Waiting on Async Thread exit
02-26 22:14:13.030 D/OMX-VENC-720p(268):
02-26 22:14:13.030 D/OMX-VENC-720p(268): m_etb_count = 0, m_fbd_count = 0
02-26 22:14:13.030 D/OMX-VENC-720p(268): omx_video: Destructor exit
02-26 22:14:13.030 D/OMX-VENC-720p(268): Exiting 7x30 OMX Video Encoder ...
02-26 22:14:13.036 I/OMXCodec(268): [Stagefright] use software codec=AVCEncoder
02-26 22:14:21.179 I/OMXCodec(268): [Stagefright] use software codec=VorbisDecoder
02-26 22:14:21.768 I/OMXCodec(268): [Stagefright] use software codec=AVCDecoder

The libs are the original libs from TBD sensation xl 3.5. So yeah, looks like the video libraries we are using are for the msm7x30 chip.
[HD2 Android NAND Development] Crom12:
Evo 4 lib's + Desire lib's can Rec 720p ... with build Sense 3.5

But if we use the that lib's ,camcorder it does not work on hd2

maybe need change something in kernel ...
[HD2 Android NAND Development] Cheech1976:
Marc, I have to apologize :D

All this bickering about not working data connections, it seems, the supercharger script i used was the culprit. It never caused any issues and to be honest, i didn´t think, that that could have been the cause.

Right now I´m running without the supercharger script for 2 days and have yet to loose data connections *finger´s crossed* :D
[HD2 Android NAND Development] Ultraboss:
With the zRam enabled, could I have more RAM displayed in task manager for i.e ??

When I type "free" cmd in script manager console, I see no value for swap...

Or does it require a swap partition to work fine ?