yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] AirforcProductions:
its still under construction xD as we only debuted with this build 3 days ago, and we have been fixing other things, but did u test to see if it had the script?
[HD2 Android NAND Development] brainmaster:
Well, Charn didn't integrated it in his builds, have you did it for your builds?

I would say that there is no script in it.
[HD2 Android NAND Development] Raudi1:
I've used many CM builds, but I just can't get this working right. In all the other builds (at least for some time now) you get a wizard after the first start that downloads all the google stuff. On this build I don't even have the market and can't connect to my google account.

I followed the instructions, downloaded and installed the attached Recovery, partitioned my SD through it and installed the zip, but it isn't working.
[HD2 Android NAND Development] brainmaster:
The guys forgot to mention that in the OP. You must download and flash the google apps manually. Here is the latest version.
[HD2 Android NAND Development] AirforcProductions:
Yea, gapps is now attached in the 5th post
[HD2 Android NAND Development] Raudi1:
Thought as much but couldn't find it since I'm currently limited to a completely bare ROM and have to surf over edge. I wouldn't really describe that as fun:p
[HD2 Android NAND Development] arif-ali:
hey brainmaster and others,

sorry for the confusion.

As the builds are from source and directly from CM, nothing additional will be added. It will be a stock build with nothing 3rd party, other than the things we can fix in the code that will help charan later on.

Anything that is 3rd party will be added as attachments in either post #4 or #5, we'll get that merged to one possibly.

So no a2sd script, gapps, newer kernels by default. We will make sure to add any extra info that you guys have requested as well. We'll try to make it more user friendly, so that you the posts are more understandable

thanks for your patience, while we get through all the niggles and get all this set-up.
[HD2 Android NAND Development] chris10230:
Awesome that has been broken for a bit on builds. The other thing is thanks for getting a god working build out.. Had been hammering my data connection for a while without wifi :) also working bluetooth, keep it up!
[HD2 Android NAND Development] sergeroyal:
SD not recognized

How can i mount the SD card so i can copy files from my pc ?? I am using CLK 15 may build and nothing happens when i plug it into the pc except for charging, i tried mounting the SD manually in settings but its not recognized either!!
[HD2 Android NAND Development] arif-ali:
This is an issue we are looking at
[HD2 Android NAND Development] sergeroyal:
Okey thank u for the quick reply , waiting for the fix.
[HD2 Android NAND Development] mic213:
To fix the SD card mounting issue, I just took the vold from Typhoon 3.2.7 nightly (which was from the latest Nexus HD2 build) and replaced the one in the ROM, then fix the permissions on the vold (755) with root explorer and restarted and it worked.
[HD2 Android NAND Development] AirforcProductions:
Haha thanks for letting the cat out of the bag, i just implemented that fix i would have beaten you too it but i have to test these things and make sure they work xD btw May 16,2011 build is now available enjoy and it does have the usb mount fix
[HD2 Android NAND Development] DimICE:
doesn't boot after install charan_05152011_cLK_ppp_cache.zip
[HD2 Android NAND Development] Raudi1:
I have some problems with Bluetooth. Tried with both kernels, but the phone can't find my BT watch. Only when switching to or from visible mode it finds the watch and pairs. But even then it doesn't work properly. When the phone sends something to the watch it works as it should, but when I press a button on the watch, nothing happens. Normally it would send missed calls, sms etc. to the watch. But when I switch to or from visible mode, the watch suddenly gets the text as it should. On all other ROMs it worked without problem.
[HD2 Android NAND Development] :
I had a boot loop as well with cLK (16/05/2011 nightly and charan_05152011_cLK_ppp_cache.zip).

My solution was to go into CWM (holding in home key) and installing the Tytung cLK kernel as well -> tytung_r10_charan_clk.zip
[HD2 Android NAND Development] fyid:
well, i figured i should look at some of the add-ons to this rom, but i tried RM & since i'm on magldr i can't even look at the add-ons (& it looks like the free version wouldn't let me either). any chance you can keep an uptodate list and/or collection of the same things that are available in RM? thanks
[HD2 Android NAND Development] arif-ali:
All of the addons are available at http://cyanogenmod.arif-ali.co.uk
[HD2 Android NAND Development] arif-ali:
A report from a PM

Thanks for the bug report, I have actually seen this on my phone as well, and when I have the time will try and diagnosing the issue. I am also currently still using the build from 30th August.

All I have done is enabled my nightly builds without actually testing anything, so if it works for people then great, otherwise, please be patient and I will try to fix this issue ASAP

btw the new gapps is also available from the cyanogenmod website for those people that are interested.
[HD2 Android NAND Development] SnoopHTC:
Hello arif-ali,

Me too, with 19-20-21-22/09/2011, get stuck at the CM logo screen on my phone :)

Soon for new update ;)
[HD2 Android NAND Development] ph03n!x:
I updated to the Sep 21 nightly yesterday, and ended up with something on NETD not starting or something. This leads to stream of errors, and the phone essentially gets stuck in the animated boot logo.

As I do a bit of customization, I thought it should be something I did and reverted back to Aug 30. Let me know if you want me to get the exact error and post it...
[HD2 Android NAND Development] arif-ali:
That would be great, as i won't be able to debug this for a few days yet
[HD2 Android NAND Development] SlyRder83:
I kept getting bootloops on nightly 22 & 23 on both mag and clk.
[HD2 Android NAND Development] seadersn:
had this problem too with last compiling session :( there's a new service /daemon in cm7, as it seems. you can have a look @ init.rc of hyperdroid or my rom and do a diff to find out what it was and use it in yours; i dont remember anymore exactly :D and am not at home, and have no internet atm :(
[HD2 Android NAND Development] arif-ali:
nice one thanks, now I don't need to debug ;) :):):):):):)
[HD2 Android NAND Development] arif-ali:
hmm, I have a better idea

I will be changing the way the initrd is now built and included into the build. i.e. The same as the others phones. the HD2 is the only build that is built in the way it is now, so I want to bring in line with others

You may find that the next few nightlies will be experimental and therefore use it with caution, and report any issues that anyone has

This process will therefore help us future, and the problem we had with the boot loops/hangs will not happen because something the cyanogen guys have changed in the init.rc and the applications.
[HD2 Android NAND Development] arif-ali:
todays nightly 20110924

temporary fix for cLK guys, via RM

magldr customers tomorrow
[HD2 Android NAND Development] SlyRder83:
on cLK i get stuck at end of boot animation
[HD2 Android NAND Development] arif-ali:
Ok, back to the drawing board, I will try a few things today
[HD2 Android NAND Development] ph03n!x:
Thanks Arif. I have been traveling, that's why couldn't post the logcat. Goods you wouldn't need it anymore...

Swyped from my HTC HD2 running CM7 (Gingerbread 2.3.5)
[HD2 Android NAND Development] arif-ali:
hey guys,

Can you try the following zips top see if it works, I can't test this until tonight. If someone can do this before I get from work, then that would be great

The ROM:

http://cyanogenmod.arif-ali.co.uk/rom/cm_leo_full-20110926.zip

cLK Patch:

http://cyanogenmod.arif-ali.co.uk/cLK/charan_09262011_cLK_ppp_cache.zip

thanks,

NOTE: this is a temporary fix while I get the proper init.rc/initrd working (i.e. same as before with the fix to do with netd), until I get that working I will use this same cLK patch and initrd, and will post the WIP initrd.gz in the thread here
[HD2 Android NAND Development] Ath73:
Everything seems to work properly here.

Thanks, Ath73

edit: just to make sure...i'm using todays clk version
[HD2 Android NAND Development] riaan0010:
hi all.

which nightly is this last version.

Thank you and keep up the good work
[HD2 Android NAND Development] Jay_BG:
works for me
[HD2 Android NAND Development] arif-ali:
It was compiled today, so 20110926.

It will get added to RM, once tested, I think I have 2 reports that is is working, so once I have tested tonight, they will be back on RM
[HD2 Android NAND Development] zach.antre:
Not booting in cLK

I just flashed ROM and then cLK patch... not booting, error msg in bootloader.
[HD2 Android NAND Development] arif-ali:
I presume the other guys using it was magldr,

So i presume we have 2 say yes to MAGLDR, and 1 cLK is NO

I will diagnose further tonight
[HD2 Android NAND Development] Jay_BG:
Nope, cLK 1.4.0.1, CWR 5.0.2.3, dayly build from today with today's clk patch

works perfectly
[HD2 Android NAND Development] riaan0010:
Yes clk works . Thank you so much
[HD2 Android NAND Development] zach.antre:
I am using cLK 1.6.5DE and CWM 4.0.1.4...

I don't have this proble with any other ROM or kernel.
[HD2 Android NAND Development] arif-ali:
Ok, no problems here with clk 1.5. Zach try getting some logs if you can
[HD2 Android NAND Development] ph03n!x:
Arif, can you tell what has changed please? I am asking because I make a bunch of changes in the nightly for me, including using different kernels and initrd.gz, and would like to make my current setup work if there is something I can change in the initrd,gz or something.
[HD2 Android NAND Development] arif-ali:
Hi ph03n!x,

There is only one change in the initrd, in the init.rc file

@@ -424,6 +424,7 @@

service netd /system/bin/netd
socket netd stream 0660 root system
+ socket dnsproxyd stream 0660 root inet

service debuggerd /system/bin/debuggerd

The work on the initrd will be side-stepped, and I will get that working soon
[HD2 Android NAND Development] ChaosBoy:
Hi,

where i get cLK 1.6.5 oder 1.5 from??? I found nothing (of course 1.4.0.1).

Thanks
[HD2 Android NAND Development] arif-ali:
from the cLK 1.4.0.1 thread, search, and you'll find it

i don't have the URL off hand
[HD2 Android NAND Development] zach.antre:
here you can get cLK 1.6.5 DE

http://xdaforums.com/showpost.php?p=16489497&postcount=316

and here are the extra commands you can use with it (on the fly repartitioning etc)

http://xdaforums.com/showpost.php?p=16365993&postcount=254

@arif-ali

I Just now flashed CM ROM and then the clk patch you provided.

It works fine... :confused:

Did a power off/on just in case... works fine.

Last night I did exactly the same and it didn't work, it was just stuck in bootloader screen saying boot failed!!!
[HD2 Android NAND Development] g30rg10u:
i had the same with 1.6.5 twice and also had data corruption upon Wipa Dalvik Cache on clk 1.6.5. both times reverted to 1.4.0.1 and everything is stable.

I believe that partition layout being different on 1.6.5 and 1.6 from 1.4.0.1 causes these kind of issues.

Never enabled last 24mb btw.. dan31j also twitted something about data corruption on 1.6.5 using last 24mb but i believe that the problem was not the last 24mb but the partition layout used.
[HD2 Android NAND Development] TheInVisibleGoD:
Enabled last 24Mb, at the begining I had data corruption twice.

I'm using now last 24Mb for cache partition and data corruption never more till now.
[HD2 Android NAND Development] Jay_BG:
Just got a chance to try the new boot.img - works ok

clk from 13.09 - http://xdaforums.com/showpost.php?p=17515218&postcount=518

Damn, now it really flies...
[HD2 Android NAND Development] g30rg10u:
Arif what are the expectations of this new ram disk ?

Faster boot-up or faster/smoother userspace or something else ?
[HD2 Android NAND Development] ph03n!x:
@Arif - Just saw this: http://review.cyanogenmod.com/#change,8394 - Is CM supporting Leo directly?
[HD2 Android NAND Development] arif-ali:
faster boot, hopfully

smaller ramdisk, so that the kernel can be bigger, for more support for more drivers etc ...

in-line with other devices, so that the changes are consistant with all the devices

Changes are more visible to the public, so that it is easier to find out what changes. previously if we updated the initrd, we would not really know what has changed. This also allows for people to contribute. I don't want to necessarily close my work, but open it to the public

that's probably some of the points

NO, I wish, that was me getting the ramdisk stuff in

It's support in terms so that we can compile it, not necessarily official support. We will never get official support, as this phone is a windows phone
[HD2 Android NAND Development] SlyRder83:
The download link for the boot.img is here, and the initrd for those who use custom kernels is here

My current work on the initrd is here[/QUOTE]

im getting wifi error and no data connection with this boot.img but everything else is running smooth
[HD2 Android NAND Development] Jay_BG:
Well, i didn't have any wifi errors, but after leaving work i discovered that the data connection doesn't work with the new kernel
[HD2 Android NAND Development] arif-ali:
thanks for that,

ok, that is a minor issue with permissions, that I have found, I will upload a new boot.img and initrd later that will work with data
[HD2 Android NAND Development] SlyRder83:
tytung released R12.2 http://xdaforums.com/showpost.php?p=17944370&postcount=212
[HD2 Android NAND Development] Jay_BG:
Had a bootloop with the boot.img from this morning. After flashing it a bunch of times I extracted the zImage and ramdisk.gz and flashed them with

fastboot -c "" -b 0x11800000 flash:raw boot boot.img-zImage boot.img-ramdisk.gz

Boot successful, data connection OK, everything seems to run OK

cLK from 13.09.2011

CWM 5.0.2.3

charan_09292011_cLK_ppp_cache

cm_leo_full-20110929
[HD2 Android NAND Development] arif-ali:
Thanks for testing

I was just about to post with the details.

Anybody who downloaded the current nightly before 30minutes, would not have worked, due to a flawed build.prop. This has been updated and will now work

wrt to your issues. Now that the cLK does not have the version patch, the CWM does not recognise that the phone is running cLK, and therefore the boot.img will not work

The ideal set-up would be cLK 1.4.0.1, and any CWM will then be supported. i had the same issue as well this morning.

wrt to the build. I spent many hours last night fixing and getting around the init.rc. and found that we can easily achieve what we wanted to do without having to modify the init.rc from CM

The stuff below in build.prop is now required, and therefore don't need to add these args in the init.rc anymore. Not sure why nobody else thought about this. Now everything can be done via init.htcleo.rc

rild.libpath=/system/lib/libhtc_ril_wrapper.so
rild.libargs=-d /dev/smd0 nand_init rmnet_mode

One main issue I have at the moment is with the leo.mk where it doesn't like the spaces in rild.libargs, and thefore I had to modify the build.prop manually.

<snip>
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.lcd_density=240 \
rild.libpath=/system/lib/libhtc_ril_wrapper.so \
rild.libargs=-d /dev/smd0 nand_init rmnet_mode \
ro.ril.ecc.HTC-ELL=92,93,94 \
ro.ril.ecc.HTC-WWE=999 \
<snip>

If anyone knows how to fix this, then that would be great
[HD2 Android NAND Development] SnoopHTC:
Hello arif-ali,

Is it possible for you to add support for the ext4 in your kernel ?

Thanks for ALL YOUR WORK !!!
[HD2 Android NAND Development] ph03n!x:
@arif-ali - I have been testing Tytung R12.2 and R12.3, and all was fine on nightly dated 30th Aug. With Sep 29th Nightly, I used the initrd.gz you have used in the Magldr version to build a cLK boot image for Tytung R12.2 and R12.3 - everything worked EXCEPT BT. It just would not turn on!

I used @tyween's initrd.gz from Typhoon 3.6.5, and BT worked all right - any thoughts?

Also, Tytung R12.3 works pretty well, and the BT/ no audio issue seems fixed. I will test it to the limits in the next couple of days, if all is well maybe we can use it/ remove the Two Way Call Recording from the current implementation?
[HD2 Android NAND Development] arif-ali:
The initrd in the latest 29th should work, there was an issue on the one early in the morning. It should work now.

If you still have issues then let me know what they are, with some logs, so that I can continue to fix the problems with the initrd and build.prop

btw, thanks for your testing and efforts on getting the audio working, i will add the kernel to the current builds soon, once I have ironed out the issues with the new ramdisk

still if there are further issues, report your problem with a logcat and post it on, and then I will try to fix it.
[HD2 Android NAND Development] ph03n!x:
I am sure I tried the updated 29th nightly (I downloaded an hours or so after you mentioned about the update).

I will post the logcat after I go home...
[HD2 Android NAND Development] arif-ali:
K, thanks

get me the logcat. While you are at it, can you check your camera as well, as with my phone I can't use my camera and I get FC, as that will need to be fixed as well

I am about to build the next nightly, anyone updating from the RM, please ignore the kernels that are listed, as they may not work
[HD2 Android NAND Development] ph03n!x:
Camera works for me now - with Typhoon's initrd.gz. When I flash the stock Nightly's initrd.gz, will check again.
[HD2 Android NAND Development] arif-ali:
Can you try the latest initrd from the magldr version. As now i think i may have forgotton to update it.

Before upgrading to latest, i had the same issue with bt. Let me know how it goes
[HD2 Android NAND Development] ph03n!x:
Tried it with Tytung 12.3 - same issues with BT and camera. Are they working for you?
[HD2 Android NAND Development] arif-ali:
Hmm, ok. I will investigate, when I get back home
[HD2 Android NAND Development] Part Four:
Confirming the same issues here. Specifically the camera. FC/Wait with no successful launch either way.

Thanks.
[HD2 Android NAND Development] SlyRder83:
after about 5 minutes phone hot booted
[HD2 Android NAND Development] Part Four:
Any idea what's up with the camera?
[HD2 Android NAND Development] arif-ali:
While I try to fix the problem with BT and camera, please use the old initrd
[HD2 Android NAND Development] Part Four:
Wow, I'm a noob when it comes to the HD2. No idea what that even means. :)
[HD2 Android NAND Development] fyid:
you can just use the cm_leo_full-20110830.zip rom - i think its the last one that fully worked.
[HD2 Android NAND Development] ph03n!x:
I'm having problems using VoIP (CSipSimple) on the September nightlies - all works good with Aug-30 though. When I make or get a VoIP call with CSipSimple, or if I am on BT and receive a VoIP call with the built in Sip client, the dialer freezes and FCs - not sure if this is a ROM issue or CM7 issue. Will it help if I post a logcat?

EDIT: With Typhoon's 3.6.8, all works well. Puzzling, because I tried the latest nightly with Typhoon's initrd.gz too...
[HD2 Android NAND Development] arif-ali:
The Camera and bluetooth are now fixed,

The new nightly will have these fixes tonight, in the next hour or so, and with that Android 2.3.7

thanks for your patience

report any further issues.

ph03n!x, it may be useful for you to provide the logcat, and then I will see if I can spot the issue
[HD2 Android NAND Development] ph03n!x:
Will do, but give me couple of day - am travelling and don't want to experiment while on the move :)
[HD2 Android NAND Development] Part Four:
Thank you!
[HD2 Android NAND Development] Ath73:
Is it just me, but with cm_leo_full-20111002 and tytung_r12_charan_clk_20111002 i can't get gps lock at all?
[HD2 Android NAND Development] SnoopHTC:
Hello, me too, tested with gps status for 15mins.

Thanks so much for your work. @++

EDIT: I also tried to reinstall GPS_Libraries_v2.1_NMEA_for_HD2_Gingerbread_update .zip without succes. ^^
[HD2 Android NAND Development] Ath73:
I installed RPC version of tytungs gps libraries and it's working fine. NMEA version not locking at all.

Regards, Ath73
[HD2 Android NAND Development] arif-ali:
Hey all,

Yup missed one of the permissions off of /dev/smd27 for NMEA

New one uploading now as I write, and will be up soon with the fixes.

again, thanks for your patience

Arif
[HD2 Android NAND Development] arif-ali:
Hold off until I say. Found a typo in the updater-script
[HD2 Android NAND Development] arif-ali:
All good now, I have tested it now, the updater-script is fixed

Camera, BT, GPS are all working

let me know of any further issues.

thanks for your patience. I think (I hope), this would be the end of all the re-jigging of initrd, and post-zip creation screipting. Now if the init.rc changes like it did a few weeks back we would be in good place for it being fixed.

The only thing left now is the proprietory stuff, which I will start adding into the repo, so that extract-files is no longer required.
[HD2 Android NAND Development] arif-ali:
Btw the kernels for tytung r11 r12 and r12.4_v3 are available from the normal place. Not from RM yet
[HD2 Android NAND Development] ph03n!x:
Tried the new initrd.gz in my current Typhoon 3.6.8 - all is fine. Will update to the next nightly later...

About CSipSimple / VoIP - seems to be something with CSipSimple + drizztje's-libaudio + September-and-above-CM7. It partially works with GPC v2.8E libaudio , but highly unpredictable when it will crash. I am currently using the built in SIP client, working good so far.

Shall post more after I come back to the regular nightlies next week.

---------- Post added at 03:25 PM ---------- Previous post was at 02:50 PM ----------

Couple of observations on Bluetooth-

Does not show available (and visible) devices unless the phone's visibility is turned on - this is only for pairing, connects to paired devices automatically

BT Voice Commands get activated only by holding down the Call button on the phone, does not turn on while holding the BT Handsfree's Call button

Both these symptoms do not exist if I flash @tyweeen's initrd.gz - note that I am also using his ROM. In case this is related to the ROM too, I will post my experience when I switch to our nightly later this week/ early next week (traveling until then).
[HD2 Android NAND Development] riaan0010:
Hi arif.

See that CM Nightly 219 is released. Will that be included in tonight's Rom release. ?

Thank you for great rom.

Regards
[HD2 Android NAND Development] arif-ali:
what is this 219 referencing, if that is the desire, then my builds are not desire based. This build is compiled from source

I don't have, and go by any numbering scheme that is with the CM team, I am a one man person not affiliated in any way with CM. I wish it was supported by the CM team, that way it would be less work for me.

the HD2 is in no way supported by the CM team. We are supporting this as a community, including you

My nightlies get built on my server and not on the CM servers. and therefore my numbering is to do with which date it was made, and usually is started at 00:01 GMT every day. If there is a problem with the build, then it won't be built, and therefore will be fixed in the evening (which is in this case)

thanks for using the ROM, and your patience in my work
[HD2 Android NAND Development] cmhtcleo:
Hey guys,

this id will be the new face to our development here, so that it is easier to maintain the thread

I'm just waiting for the mods to change the first 5 posts to this ID, and hopefully even with 5/6 posts I will still be able to post

regards,

CM htcleo team
[HD2 Android NAND Development] seadersn:
yeah, your test was successful :D
[HD2 Android NAND Development] ph03n!x:
@arif-ali - wholehearted thanks from all of us for doing this for the community!

And hey, we can now rename the title of the thread to 2.3.7? ;)

Hey is this you, @arif?
[HD2 Android NAND Development] seadersn:
i think him + airforce?