yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] Xylograph:
Nice work guys,

Things seem to work very well with IceCreamTosti and it even seems more battery friendly ?

Mind if I include this kernel (and maybe future updates) in this rom ?

Thanks.
[HD2 Android NAND Development] negativman:
Installed update-cm7-leo-20120309.zip, when the next update will be released have to wake up again to install the patch for cLK, Gapps and dtapps2sd? Or you can simply install without wipe?
[HD2 Android NAND Development] Rick_1995:
I just modified this patch from Galaxy Nexus to leo and it's battery, usb driver. The sysfs interface is infact same as in galaxy nexus, so it should work.

The kernel puts a char file (just like cpufreq, governor etc..) in sysfs (/sys/*), it should be named "fast_charge", when you write "1" to it, the kernel will pull 1amp or 1000mamps even when connected to a usb port instead of a wall charger, writing 0 to it reverses the effect (normal 500ma pull on usb) which is the default behavior. However milaq reports that the file could not be located in /sys so i will check this out after my exams are over.

All the source can be checkedout in the following commits

commit1

commit2

commit3

@Xylograph, this being the tytung-r1 (ics) kernel it will work well for ics, However i had reverted the headset patch since it caused audio lockup in cm7, However milaq has created a branch for ics and i will soon push similar patches to the ics branch if you want this kernel for ics :)

I don't mind, It is all open sourced @ www.github.com/cmhtcleo
[HD2 Android NAND Development] ph03n!x:
@milaq, i still have the problem of auto brightness getting stuck at max, or not falling to the appropriate level when i move to a darker place with the kernel you'd released first (not the one with fast charging).

Other than that, the phone is wording great, its ~3 days without rebooting now!

Swyped from my HTC HD2 using XDA App
[HD2 Android NAND Development] ph03n!x:
An update to this.

I have set my custom auto brightness levels such that the keypad lights will never come on (0 for all brightness levels). When my phone gets stuck at max brightness when unlocking, or when the brightness level does not change when the light in my surroundings change, the keypad light is always turned on.

If I turn off autobrightness using Android's settings (I have enabled the notification widget for that), or if I change something in the custom autobrightness settings then the change takes effect and my keypad lights turn off.

In other news, my phone is up for 110 hours and counting since last reboot- its been a pretty long time since that happened!
[HD2 Android NAND Development] securecrt:
Which battery are you using 2300mAh?

How do you use your phone , for example how many calls and how much time for movies ang games.

If you dont use the phone just only keep in fly mode the 1300mAh battery can use 1300/2 =650 hours.
[HD2 Android NAND Development] ph03n!x:
:)

My post was not about battery life - I use it pretty heavily for calls, gaming and apps and would need at least one recharging cycle every 12 hours.

The 100+ hours is the time I am doing without rebooting the phone - either because of an update or because of an app or the OS freezing up.
[HD2 Android NAND Development] ph03n!x:
@milaq - does this affect the stock browser alone? I use Opera - is there anyway how to tell the difference?

Side note: The kernel (the first one, w/o fast charging) is ROCK SOLID. 150+ hours without a reboot, no lags, no slow downs. This I think is the longest I have gone without rebooting!
[HD2 Android NAND Development] securecrt:
I am using the 20120308 version, and changed the kernel to DORIMANX V5.7 . seems very fast and stable.
[HD2 Android NAND Development] gubshi:
I'm on the same configuration, Dorimanx v5.7 kernel and 0308 nightly. Everything is running perfect, no freezes or anything.

For the webkit acceleration part - What would be the difference? I noticed scrolling is smoother sometimes, but this could also be related to the changed kernel.
[HD2 Android NAND Development] maneken25:
Do you have maybe answering call delay with dorimanx kernel?
[HD2 Android NAND Development] gubshi:
had that before, seems it's gone, or very minimal like 1sec.
[HD2 Android NAND Development] negativman:
Gapps

Tell me please, but it fits Gapps flashing? Gapps (LatestMarket) 15-03-12-Google-Play-Store-signed-chemicalrage
[HD2 Android NAND Development] ph03n!x:
@Arif-Ali/ Milaq/ Rick_1995-

Like I'd posted earlier, I have been using the 7th March Nightly with @milaq's cmhtcleo kernal and have experienced rock solid stability. Here is a screen what I had (I have now crossed 300 hours.)

In the urge to keep upgrading/ updating, we keep rebooting the phone - and I was no different. I don't know about others, but the longest I have gone was ~125 hours without rebooting the phone. And in other cases a freeze-up or something will force a reboot. This is the first time I am holding back my urge to flash something or the other and see how long the phone goes before needing a reboot, or deciding to reboot on its own.

Will keep you posted, lets see if I can hit 1000 hours without a reboot :D

(Biting nails. Have to buy a second device for flashing/ upgrading/ testing!!)
[HD2 Android NAND Development] corrsea:
I've been using the clk version off the kernel that you posted with tweakos pure cm7 Rom.

Very similar experience. Absolutely no issues. Faster and smoother than dorimanx 5.7 and much better battery life.
[HD2 Android NAND Development] ph03n!x:
Ok, I managed to jinx it.

OC to 1190MHz and got a freeze. I've UV'ed to 1250mV for this speed, but my phone is usually stable at that voltage in other kernels I've tested.

Swyped from my HTC HD2 using XDA App
[HD2 Android NAND Development] corrsea:
1.19 Ghz @ 1275mV and 128 Mhz @ 925mV without issue from day one. I've not tried to reduce the voltage as I usually do have problems.
[HD2 Android NAND Development] Vjenne-ICT:
How can i create an ext partition, and a vfat partition? Please help me! Thanks!
[HD2 Android NAND Development] ph03n!x:
First off, why is this being posted in this thread?

Secondly, the answer - make sure you do not have any data in your SD Card and use ClockWorkMod > Advanced Options to partition your SD Card, and then format each partition (SD Card and SD-EXT).
[HD2 Android NAND Development] paul89rulez:
hem..maybe im wrong, but this kernel cmhtcleo_one_cLK_testing_blacklogo.zip is for ics rom? because for me if i flash this kernel rom wont start :|

sorry just rebooted 4 times and now all perfect :| my fault
[HD2 Android NAND Development] ph03n!x:
It is based on Tytung's ICS kernel, but is meant for this ROM - a CM7 Nightlies compiled for HD2 - which means it is intended for Gingerbread, and not (yet?) for ICS/ CM9.

@milaq/ Rick_1995, correct me if I am wrong.
[HD2 Android NAND Development] negativman:
Bug

In updating the ROM from April 1 is a bug. Can not install Titanium Backup. Revert to the version dated March 31!:mad:
[HD2 Android NAND Development] milaq:
yup,

although its compatible with ics, its missing the ics headset patch (which causes issues on gb).

nope, no bug.

google had market server issues in the course of the day.
[HD2 Android NAND Development] negativman:
I have to install Titanium box with information "not enough system memory", even though its a lot. Tried to install in different ways and through the market and from the memory card, the same thing. Revert to the previous ROM everything falls without any problems!
[HD2 Android NAND Development] Rick_1995:
Check if this file exists and is same

/etc/init.d/mountdl

If it is missing or something is wrong there, it will be looked after in the next nightly
[HD2 Android NAND Development] Xylograph:
Any chance you guys compile a kernel with the fix included for ICS users ?

Thanks :)
[HD2 Android NAND Development] Rick_1995:
I think there is already an ics branch in the git, just a matter of compiling it. But It is not much different from tytung's ics, don't see any point using it in ics for now.
[HD2 Android NAND Development] ph03n!x:
has anyone tested wired tether in cmhtcleo kernel? It locked the device for me, tried twice...
[HD2 Android NAND Development] Rick_1995:
Currently using pdanet on this very rom and the said kernel, It's not free but is very good.
[HD2 Android NAND Development] war10k:
Hello, question .... works on htc hd2 t-mobile version ?

Thanks
[HD2 Android NAND Development] ph03n!x:
Oh ok. I tried the built-in wired tether- I remember Tytung fixing it long back, so thought it will work in our version too...
[HD2 Android NAND Development] negativman:
Tell me please, I do not know, maybe asked previously, I'm not good at English, it is difficult to find via search. Updates come out every day, but that is changing?
[HD2 Android NAND Development] Rick_1995:
For android changes, look here

For device code changes (drivers for leo-android), look here and here
[HD2 Android NAND Development] securecrt:
It seems the nightly update stopped from 2012/4/14.
[HD2 Android NAND Development] milaq:
thx, i'll have a look at it.

possibly we are migrating stuff soon.
[HD2 Android NAND Development] arif-ali:
The server is being moved again

apologies for the downtime.

Will be back soon.
[HD2 Android NAND Development] milaq:
until the main mirror is up again you can also use this one:

http://milaq.tk/downloads/roms/cm7/

the builds should be up at ~00:15 UTC every night.

cheers
[HD2 Android NAND Development] securecrt:
Thanks!!
[HD2 Android NAND Development] arif-ali:
nightlies should be back up again
[HD2 Android NAND Development] seadersn:
bandwith or traffic...? :)
[HD2 Android NAND Development] prosumerhacks:
thats a helpful offer ;) getting direct links for dload is fantastic for this rom series.. :)
[HD2 Android NAND Development] Rick_1995:
ah, got me. yeah, traffic.

cant stop but imagine and drool over unlimited bandwidth :o
[HD2 Android NAND Development] dusko_m:
Just discussing...(don't know your reasons, just guessing) if you can make only one version of ROM, why didn't you choose to build cLK instead? I figure that there can also exist a MAGLDR patch just as now cLK patch exists. In this way, Rom Manager support and its usability is reduced. Would be nice for one to be able to use RM to get OTA updates and to be able to install them just like in any other android phone
[HD2 Android NAND Development] prosumerhacks:
No doubt cLK is a minimal yet functional loader but it still isn't fully usable bcoz data connectivity via ppp isn't fool proof...reason enough to stick with magldr...

Sent from my tmous hd2
[HD2 Android NAND Development] arif-ali:
I was kind of waiting for that question to arise.

I guess, that's us being lazy. As the way the CM sources are built, they are by default compatible with magldr and not cLK, maybe need to turn them around. (plus, I guess it has been legacy from charan, and this is how he was doing it).

but we can easily incorporate patches with OTA anyway, so not a major issue there. charan does it the same way on the ones he released in the other thread.

But we'll see what we can do there
[HD2 Android NAND Development] seadersn:
nope, there was an additional script written to make cm7 compatible with magldr. by default cLK 'is supported' because of raw boot.img which is used by default @ cm7; one just have to exclude this concerter script. i'll tell you the name and position of it, in 2 hours.
[HD2 Android NAND Development] arif-ali:
Ah, nice, I think I found it, would it happen to be the leoupdate script in vendor/cyanogen/tools/leoupdate, I will have a look further, and experiment, and see what I can achieve with some of these scripts
[HD2 Android NAND Development] seadersn:
jep, this is the script i meant :) i've commented it out in one of the .mk files, because i'm using clk since it's stable :)
[HD2 Android NAND Development] arif-ali:
OTA

For those who have been waiting for OTA updates, It is now available on RM, and should be able to download all nightlies since 13th May.

A big thanks to diesburg for being mirror1 for these nightlies

any problems or errors, please report back

for some reason, it has gone to premium, but should be back on free soon. Let me know how it goes.

btw, 19th one is not out yet, so don't click on that :)

Edit; now listed as free now

Not quite checking for ROM updates correctly yet, but i think I need to fix something for that, hopefully soon
[HD2 Android NAND Development] D.O.C:
Nice, OTA working ok here, real nice
[HD2 Android NAND Development] wolfpack612:
cool I like how you can also download the clk patch as an add on.
[HD2 Android NAND Development] seadersn:
arif, did i say that i love you...? xD as always, only in terms of cm7 / android stuff ;)
[HD2 Android NAND Development] raymon73:
hi thx for the great cm7 builds , i have a question , i just have dowloaded 19 may OTA , but when i do roaming i get a symbool for configuring hotspot, and i don't have checked hotspots or tethering , how can i turn that off. i have clk build
[HD2 Android NAND Development] arif-ali:
Yeah, that was my attempt to get native tethering working, but looks like it's not quite working. Will try to fix today, and if not, will remove from the build
[HD2 Android NAND Development] :
Question: Where can I download nightlies from if OTA is not an option for me? The newest link on the 1st page is to the 16/05 nightlies, with newer versions available through Rom Manager.

[The reason for my question is financial, due to the exorbitant rates charged for mobile data in South Africa. It would literally cost me around $25 for each nightly download on my package... :eek:)

By the way, awesome job getting all of this set up - thanks for the effort. Once charnsingh gets going again, this is bound to end up as the build of choice.
[HD2 Android NAND Development] Raudi1:
You can also download over wifi
[HD2 Android NAND Development] arif-ali:
yeah, the post will be updated soon.

in the meantime, try the following link here
[HD2 Android NAND Development] :
Thanks. I use WiFi at home, but when using WiFi at work I have to go through a proxy, which seems to be an issue through Android (as far as I know).

I'll just wait for an update to the 3rd post or wait till I'm home. I suppose I can make it though half a day without my daily CM7 fix :D
[HD2 Android NAND Development] tytung:
We can also use RAW partition (boot.img) on MAGLDR 1.13 as long as we change flash.cfg.

The problem is that it's not easy to force all ROM devs to change the config file.
[HD2 Android NAND Development] securecrt:
WOW is there any possible continue the CM9 for HD2 nightly ?
[HD2 Android NAND Development] epismax:
Glad to see working nightlies server!

Is there any possibility to restart CM9 Nightly build with securecrt's kernel?
[HD2 Android NAND Development] milaq:
im a bit busy today, but we'll definately start working on the cm9 nightlies now that we have a proper kernel.

keep your eyes on the ics git branch for progress info

https://github.com/cmhtcleo/android_device_htc_leo/tree/ics
[HD2 Android NAND Development] f1rick:
Edit: installing the Pico data from the market also fixes 3rd party TTS apps in copilot. So ignore below.

Removal of the TTS folder stops CoPilot 8 from using TTS. I tried re-creating just the folder structure and only using a few of the language files. But copilot needs to see everything in there.

I don't even use picoTTS. I use the svox text to speech. So... anyone else wanting CoPilot TTS working will need to copy the "tts" folder from builds up to 3rd May into their system folder.
[HD2 Android NAND Development] dusko_m:
I have a problem upgrading my phone. this is my current storage situation captured with Android Commander. When I try to install newer nightly (nightly>kernel>dtapp2sd) during first boot it keeps popping up massages in logcat about insufficient memory while processing currently installed applications. after first boot completes, 2/3 of all installed application is missing and i have only 1-2 MB free on my data partition. what I am doing wrong? any ideas on how to successfully upgrade before I decide to take the harder path (clean+titanium)?
[HD2 Android NAND Development] arif-ali:
When I had my HD2, and was doing the same updates every night; I was flashing the nightly, gapps, modified dtapps2sd, all in one go, and then I used to reboot the phone, and never had any issues. Ar you updating all of these at the same time, or are you rebooting into the ROM, and then flashing the next zip

You need to make sure that your dtapps2sd is working correctly

can you upload your logcat, and will see if I can see what the issue is
[HD2 Android NAND Development] dusko_m:
thanks for reply

looks like this is my fault. when I do new rom installation (rom>kernel>dtapps2sd-2.7.5.3-beta4-cm), I get some strange "soft bootloop"...andy starts spinning, then freezes at some point that restarts its routine. you can take a look at logcat1.txt

I have on my SD card dtapps2sd-2.7.5.2 and when I install zip (right after the above bootloop...no fresh re-flash), system starts to boot "normally" but I end up just with fraction of apps that I had on my phone. during boot it starts to pop up messages about insufficient memory (logcat2.txt)

fresh install with 2.7.5.2 also gives bootloops

It might just be the case that I had some dtapps2sd picked up from some another thread that I don't have anymore on my phone (?). seem that this is not worth of effort. time to prepare backup with TB
[HD2 Android NAND Development] arif-ali:
@dusko_m

I/run-parts( 68): [ ] Symlinking /cache/dalvik-cache to /data/dalvik-cache
I/run-parts( 68): ln: /cache/dalvik-cache: Read-only file system
I/run-parts( 68): [ ] Starting Darktremor Apps2SD Version 2.7.5.2
I/run-parts( 68): [ ] Mounting ext partitions
I/run-parts( 68): [*] Ext partition mounted.
I/run-parts( 68): [ ] Realigning /data/dalvik-cache to /sd-ext/dalvik-cache
I/run-parts( 68): chmod: /data/dalvik-cache: No such file or director

If you look at the above snippet I grabbed from the logs. the dtapps2sd is having some issues re-creating the relevant symlinks; and therefore you are having issues. As dtapps2sd cannot create the dalvik-cache in the right place, it is storing that now on your phone; hence you are running out of space.

2 options here Hard way, and easy way:

HARD: Either fix the build on your phone, by editing some of the hidden files from dtapps2sd (lots of debugging required here; with reboots and manual changes to files)

EASY: backup essential files and start from scratch
[HD2 Android NAND Development] dusko_m:
If I remember correctly, I moved dalvik to ext with dtapps2sd gui...maybe something got screwed in the process. As you say, what I thought was a hard way, turns to be easier one
[HD2 Android NAND Development] negativman:
Script dtapps2sd-2.7.5.3-beta04-signed.zip does not work on the latest daily update. I can not say for sure given day, I used the ROM on the basis of the ICS. Yesterday, to flash back to the CM7 on May 28 and ran into this problem. The script is not created under ext, and in the general section of the memory card in connection with this firmware is not working properly. I thought the problem on my HD2, but after various experiments downloaded a ROM of 29 April, all flash as necessary. Today I tried to install the latest today ROM, again, exact same problem with the script mount ext. What is the problem anyone know?:confused::(
[HD2 Android NAND Development] arif-ali:
Try using the updated dtapps2sd, that I did a few months back

http://cyanogenmod.arif-ali.co.uk/misc/dtapps2sd-2.7.5.3-beta04-cm.zip

Then let me know how it goes with that
[HD2 Android NAND Development] negativman:
Thanks, I'll try!

---------- Post added at 11:33 AM ---------- Previous post was at 10:42 AM ----------

Do not help your script. I think it's not in the script, do something wrong in the latest versions of ROM.
[HD2 Android NAND Development] FANISTELROOY:
Did you fix this? Because I have this problem!
[HD2 Android NAND Development] arif-ali:
Check my post from 29 May, use the specified dtapps2sd zip provided. Hopefully you shouldn't have the problem
[HD2 Android NAND Development] ph03n!x:
@milaq/ arif-ali/ Rick - wanted to see if an equivalent of the patches made in the ICS kernel branch can be included in GB kernel, especially the June 4 and May 22 commits in ICS branch :)

This ROM is still the most rock solid one I have used, and I invariably fall back on it from ICS when I want my phone to work perfectly, so would be great if this kernel is updated too..

EDIT: Thanks Milaq!!! Will the updated kernel be the standard in future nightlies??! :)
[HD2 Android NAND Development] arif-ali:
I am changing my jenkins to allow for automated compilation of the cmhtcleo kernel using triggers on when the code changes. So before the ROM is built, it will check for updates on the kernel, and build the kernel before it builds the ROM

If the ROM does not appear in the normal places in the next few days, then there must have been a failure in my new set-up. So please be patient.

So after this process, the kernel will change to the cmhtcleo kernel

Arif
[HD2 Android NAND Development] Virage:
sorry for my question..

but I want to make sure before starting install NAND Android into my HD2

I haven't tried to install NAND android before, I just installed SD Android..

Does post #3 give the steps to install NAND Android for a "virgin" HD2?

thank you
[HD2 Android NAND Development] ph03n!x:
No. It assumes you already have Magldr and CWM installed, and gives steps to partition the phone for this ROM. Please look up this thread, and makes sure you know a bit about NAND Droid before proceeding - welcome to the NAND world!
[HD2 Android NAND Development] Rick_1995:
Modify Android mem* routines with CodeAurora versions

was waiting for this to get merged since a long time, @arif/milaq, this needs some flags set in board file to gain improvements.

iirc they should be

TARGET_USE_SCORPION_BIONIC_OPTIMIZATION := true

TARGET_USE_SCORPION_PLD_SET := true

TARGET_SCORPION_BIONIC_PLDOFFS := 4

TARGET_SCORPION_BIONIC_PLDSIZE := 32

for leo's CPU, though i'm using pld offset 6 in lk, 4 should be fine as well.

It will help cm9 too (if it gets merged there over linaro one which is more optimized for Cortex-A9 over Scorpion CPU)
[HD2 Android NAND Development] ph03n!x:
@Arif, is this live? update-cm7-leo-20120710 came with the old kernel...

EDIT: I didnt see anything related to this in the device repo either, so guess it is not...

@milaq - On a related note, the cmhtcleo GB kernel does not seem to have the commit for the unique MAC address patch... Is there any problems in making it work with GB?
[HD2 Android NAND Development] arif-ali:
The update-XXX shouldn't have appeared, it will be cm-7-XXX, so will have a look at it today on what the problem is, been away on business trips last few days, so haven't looked
[HD2 Android NAND Development] ph03n!x:
I guess something went wrong, there are no updates for 11th and 12th...

Swyped from my HTC HD2 using XDA app
[HD2 Android NAND Development] f1rick:
There is an update on goomanager called cm-7-20120711-NIGHTLY-leo.zip. Which now has a boot.img for clk. Maybe this is the new one?

I couldn't test the kernel as I have magldr. But the rom works with the cmhtcleo one test kernel flashed after.
[HD2 Android NAND Development] arif-ali:
http://goo.im/devs/cmhtcleo/cm7/cm-7-20120711-NIGHTLY-leo.zip

There seems to be a problem with the way CyanogenMod code dates it, I will need to manually date it myself. Will be fixed soon
[HD2 Android NAND Development] deckoff:
Is this the correct link for a fresh install of this ROM. The first post links to a page where at least 2 zips are dated with today's date, and some of the builds seems to be based on galaxy or htc code....

I tried to install linked file, and got NAND kernel open failed. As far as I know, this could be because of at least two things - wrong partition names, or trying to use clk version. Anyway, some info on these two subjects might be helpful - how to name the partitions, which build to use for MAGLDR