yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] karendar:
That's a good thing to have, if you're writing a how-to. It'll solve the question of app2sd alot of people are having, because it does seem to not work the same way for all ROMs. Usually to save some issues, what I do is nandroid backup, wipe everything, install CM7 nightly, install APP2SD, advance restore my SD-EXT, clear dalvik cache and everything works.
[HD2 Android NAND Development] charnsingh_online:
I have done those already but bt wont turn on when we do this, confirmed by around 3 tester yesterday, ill work on it more maybe today or tomorrow
[HD2 Android NAND Development] charnsingh_online:
no nightly tonight, not enought compelling commits, I may have found the fix for GPS battery drain bug and stil working on bluetooth drain bug so hang on tight, and i still dont know y my latest kernel is only going to 844mhz when i added table for upto 1267mhz , something wrong maybe
[HD2 Android NAND Development] dusko_m:
Can someone, with more knowlege, write a g-script to colect logcat directly on phone

today, with latest nightly, my keypad lighted up and stayed on permanently. same as with green led issue solution was to plug in charger
[HD2 Android NAND Development] MotoMudder77:
grab alogcat from the market.
[HD2 Android NAND Development] shadiku:
logcat > /sdcard/logcat.txt

Logcat is a standard android command so you can use it on the phone by typing.. logcat. :p
[HD2 Android NAND Development] KillaHurtz:
How bout we list what's working & what's not. I think this post and its parent links are misleading. I came about this post from a gizmocrunch.com page suggesting this was an official CM7 rom. People have noted that several files and modules are from other devices, and thats just the 2 pages I read out of 47+. How bout a clearer description of what this build actually is? What's an issue, What's not etc. Thanks for your work thus far, but frankly I feel I'm not alone when I say this; there needs to be some more detailed info before I flash and support.
[HD2 Android NAND Development] trilu:
@charnsingh

Is there anything on the bluetooth stuff i can do?

Research, testing, debugging?

I realy appreciate your work and want to support you.
[HD2 Android NAND Development] dusko_m:
I know that. But how do you stop it i script?
[HD2 Android NAND Development] charnsingh_online:
Its compiled from source, It was gonna be official but some legal issues came up, The CyanogenMod team was happily to add leo to the device but leo didnt ship with android and blah, blah, blah and it is not using modules from any other rom, Even the GPS libs are now compiled from source, the problem was the AMSS version, its 3200 instead of 1240 for leo, Everything is working except green led stuck on boot which goes away when plugged in and plugged out or use some app. They are just using test kernels and I already warned them if ur testing be ready to have stuff not working. If u download the nightly posted without adding any stuff of urs everything works
[HD2 Android NAND Development] Barlows:
I love this ROM it is very smooth and snappy. I have had random reboots when waking the phone up a few times which is strange.

All I would like adding is A2SD out of the box.

Good work
[HD2 Android NAND Development] bere09:
Fyi, I am seeing some significant battery drain when wifi is on but not connected and the screen is off. Somewhere around 90 to 120 even when screen has been off for a while. That is according to current widget by the way.
[HD2 Android NAND Development] mknewman:
Yes, reloading does work but you lose all your /data stuff, some of which I can recover from Titanium but some settings are lost. I got spoiled by mdj's builds which easily CWM'd from version to version.
[HD2 Android NAND Development] brainmaster:
You are doing it wrong - here is the tutorial for upgrading the nightly build when a2sd is installed:

We assume that you already have a functional Nightly with A2SD installed on your SD Ext partition.

1. Copy your CM7 Nightly zip on your SD card.

2. Start AD Recovery and make a NAND backup.

3. From CMW Menu choose "Install zip from Card", then "Choose the zip file".

4. Flash your CM7 Nightly Build - DON'T RESTART!

5. Go in CWM Menu to "Backup/Restore" and choose "Advanced Restore".

6. From the "Advanced Restore" choose the backup from the date that you want and the choose the option "SD-Ext" - you are now restoring your A2SD SD Ext Partition with Apps.

7. Now restart, CM7 and A2SD should be working again.

Optional when you are updating to newer Nightly, before flashing the new zip, you can Wipe the Cache Partition and Wipe the Dalvik Cache (both options accessible from the CWM Menu).

Enjoy your CM7!
[HD2 Android NAND Development] Ambious:
Any idea why "Toggle LED Flashlight" is not selectable in the power widgets section?
[HD2 Android NAND Development] Sentinel196:
Working fine for me, but I had it selected prior to upgrading to the latest nightly.

Maybe roll back, set up the widget and then upgrade if you need it.
[HD2 Android NAND Development] MotoMudder77:
Toggle LED in the notification widget has never worked on these builds. Are you sure we're talking about the same thing? because if it works for you, I'd really like to know how, as I use it alot
[HD2 Android NAND Development] GavTheStoner:
I confirm that entering airplane mode causes a orange LED and returning from it causes green LED. (ril related?)

Another thing ive noticed is that sometimes keypad LED's stay on in standby.

If WIFI was enabled and then the phone goes to sleep, upon waking it still looks connected but not many packets (if any) seem to get through.
[HD2 Android NAND Development] Sentinel196:
We are both talking about LED Flashlight option in the Power Control Widget I assume?

Nothing to do with LED notification.
[HD2 Android NAND Development] Ambious:
Yeah, which is strange because it worked on previous (MDJ) CM7 builds.
[HD2 Android NAND Development] matiasmanzo:
I have green camera

sry bad eng
[HD2 Android NAND Development] mardurhack:
I don't understand if this release is optimized for hd2. Afaik CM doesn not officially support it so many issues won't get solved soon due to the lack of hd2 hw support (which there was in MDJ's releases). Am I wrong?
[HD2 Android NAND Development] M..N:
Wrong it is a somewhat official build. It is not based off a rom for any other device and has its own kernel, it follows the same release schedule as cm7 but is not put up on the cm site due to legality issues, but charansingh is working hard on it and has testers of his own including us.
[HD2 Android NAND Development] charnsingh_online:
Ill enable the flashlight in the next build

The green camera is due to bravo lib/leo prop

I am working on leds, Did some work on it

I didnt release any nightly cuz i am working on fixing and improving a lot of stuff, so just wait, i am pretty sure we'll have a fully working build in some days, a build with all drivers from aosp kernels rather than sense kernels
[HD2 Android NAND Development] mardurhack:
Ok then :) glad to wait if your work is so radical! Btw look at Pure Gingerbread rom to get led notif. Fixed using only AOSP files. Its developer compile it from them only! ;)
[HD2 Android NAND Development] gconcepts:
Does Tmobile WIFI Calling work in this Version?
[HD2 Android NAND Development] mknewman:
I understand what you are saying but your way you lose all your state data. Under MDJ's builds an update didn't wipe /data but your way you essentially a new system with apps preinatalled. All my bookmarks, cookies, etc are gone

Titanium can fix some of that but not all.
[HD2 Android NAND Development] BlackElvis79:
My place of employment is selling HD2's for $159.99 a pop, if anybody (charnsingh_online) is interested. Or for anybody that wants to piece up to get charnsingh_online one so he can better test his releases. Shoot me a PM or E-Mail.

EDIT: They're not Referb's, They just don't not come with the accessories. (Charger, earphones, USB). They come with all the booklets, 16GB SD, and the black rubber case and box, tho.
[HD2 Android NAND Development] t0ny0:
Not yet, but hopefully soon :) I can't wait!!
[HD2 Android NAND Development] brainmaster:
Who's saying something about wiping the /data?

I said that you can optionally wipe cache and dalvik cache, not the /data partition.
[HD2 Android NAND Development] mimsan69:
+1. Confirmed two nights in a row. First night with GPS and BT off and BG sync on. Second night with GPS, BT and BG off. With only WiFi on it's between 60-70 mA all the time.
[HD2 Android NAND Development] bombe:
where is Market in this rom??
[HD2 Android NAND Development] deckoff:
It should be installed from a zip found at around page 20 on this threat. I think this link should be added to post #1, if legally possible, I think everyone and his mother runs to install gmail market and few others after installing this ROM for the first time:)

We could call it simply CFS [complied from source] Cyanogen MOD :) No "official" word, but still clear enough though :)

I am in for getting the OP a HD2, if he says yes. It was proposed a few times now, but he never said yes or no till now( or I missed it) It is 1024(T-mobile) LEO, isnt it?
[HD2 Android NAND Development] charnsingh_online:
Did some more wifi work, wifi driver now is totally AOSP based
[HD2 Android NAND Development] mattfmartin:
Gotta say, your doing one hell of a job with this build. Keep up the great work. Very much appreciated my friend :)
[HD2 Android NAND Development] charnsingh_online:
And finally compiled the AOSP Bluetooth drivers Yay!!! If it works then bluetooth drain should be fixed !!!!!
[HD2 Android NAND Development] mylove299:
You are the superman!!! love you so.\! great work :D
[HD2 Android NAND Development] brainmaster:
If someone is having problems installing the DarkTremors A2SD Script, there is a script more user friendly only for CM7. You can find it here.

Please, make a NAND Backup before installing it!
[HD2 Android NAND Development] charnsingh_online:
Its in the test folder, bluetooth and wifi.zip just test if anyone can
[HD2 Android NAND Development] Ambious:
I'm using this for A2SD (or rather A2EXT) - flashable ZIP.

Works perfectly.
[HD2 Android NAND Development] Derek0228:
Only thing left is Kineto now ;)

Your work is very much appreciated! Now we've got our own files :D :D

The Leo gets nearer to becoming a native android device every day, thanks to devs like you (:
[HD2 Android NAND Development] trilu:
just a short test with the latest nightly and the testing-kernel.

System did not boot, it do's a reset befor cm-bootscreen is shown.

Also testet the kernel

wifi n bluetooth.zip 10-Feb-2011 01:29 5.4M

with the image

update-cm-7-02102011..> 10-Feb-2011 02:58 83M

same situation as in the morning - kernel did not start. Logfile and dmesg via ADB not possible.
[HD2 Android NAND Development] brainmaster:
I can confirm - i get in the bootloop after flashing the WiFI & Bluetooth zip.
[HD2 Android NAND Development] liamR:
Does A2SD supports EX4 partition on this rom ?

Thanks
[HD2 Android NAND Development] arifqur:
Man if Bluetooth drain problem is licked with your AOSP drivers, then we will finally be able to have a completely functional AOSP Rom.

Kudos to you Sir.
[HD2 Android NAND Development] charnsingh_online:
It didn't boot most probably due to wifi drivers changes I did. Ill revert them to just bluetooth
[HD2 Android NAND Development] deckoff:
Well, not exactly. I am still waiting for a wake-up lag fix to be addressed, all my hopes go for this build :-)
[HD2 Android NAND Development] Sentinel196:
Been running this for 2 days no and it just keeps getting smoother! Great work champ!
[HD2 Android NAND Development] Barlows:
I've just updated to your 02102011 nightly, WiFi & Bluetooth start no problem, Green LED still exists ;)
[HD2 Android NAND Development] Ambious:
Does anyone have a working battery % indicator for this build? I tried the MDJ 2.3.2 one and it bootlooped.

Also, where can I find the latest nightly? I saw the link on post 1 is still for the 09/02 build and ppl here are talking about the 10/02 build. What am I missing?
[HD2 Android NAND Development] brainmaster:
You missed it. Its here.

@ OP - can you please put the link into your second post?
[HD2 Android NAND Development] Dasf77:
Is this on 02092011?

Because im on 02072011 and in the same conditions (WiFi + Sync) i get around 4-7 (current widget) and if so i'll stay as i am for now.
[HD2 Android NAND Development] Ambious:
Thanks, mighty awesome :-)

+1 on putting it on main/second post
[HD2 Android NAND Development] Barlows:
Removed test build
[HD2 Android NAND Development] Dasf77:
+2. This is a must have :D

Great work BTW :)
[HD2 Android NAND Development] Ambious:
Oh, btw, I noticed that when it's stuck on 'Go Go Go' that's often because the initrd doesn't load, so instead it shows the last thing seen.

If you wait long enough, the Cyanogen animation will eventually load (After applying ZIP patches, this may take much longer than usual, so just keep waiting).
[HD2 Android NAND Development] charnsingh_online:
Please dont put test builds in thread, its only for people who are daring to test and blow up their phones. I dont want unexpereinced people crying in thread after flashing a test.

Uploaded new wifi+bt test
[HD2 Android NAND Development] :
How do I apply updates to this ROM? Is there an update.zip to run via recovery?

I would hope there is some easy way of doing this rather than reinstalling the whole nand image and loosing settings / apps?
[HD2 Android NAND Development] mimsan69:
Actually I'm still running 02062011 since most of my issues aren't resolved yet and due to lack of flashing time these last days. Waiting for a few more of my issues to get fixed before flashing a new one. Would hate to do the job seeing a new (better) build one hour later :)
[HD2 Android NAND Development] charnsingh_online:
About the test nightly of today

1. GPS fixes

2. LED fixes just test these 2 and tell the result
[HD2 Android NAND Development] fhasovic:
After installing bluetooth+wifi.zip-signed.zip I got bootloop...

BTW, installed update-cm-7-02102011-NIGHTLY-LEO-signed- test gps.zip and it works great.
[HD2 Android NAND Development] tageeboy:
This has worked for some and not others so I am posting it just to make sure this is not your issue. If your using a MDJ build make sure you do not have the option set in his custom settings to allow music control on the lock screen. I know this sounds too simple to be true but it has been the case for many users. Here is the reason. You may not have set this option yourself. Sometimes it seems to be set by default by flashing, maybe the default in the build? Anyway. When you have this option selected it places the play/pause buttons exactly in the area on the lock screen where you would swipe to wake up (where the app tray would be located) so if you have a dark wallpaper set on lockscreen and you swipe to unlock you are actually hitting the play/pause button. This causes a delay of about 5 seconds and typically requiers you to hit red button and then unlock again. The issue is that the buttons are dark/black and are almost invisible if you have a darker wallpaper. I never had lag issues until a few weeks ago when I selected this option and all of a sudden I had lag wakeup. I just happned to change wallpaper to a light one and noticed the buttons there and saw what was happening. I turned off the option and my lag issue was fixed. Posted on the rom thread and I would say a dozen or so folks found it to help their issue. Some users reported it did not resolve their issue so it may not be the fix for everyone but I assure you it is well worth checking. Please let me know if it works for you as I am curious to see just how many folks this applies to. Hope this helps someone else.
[HD2 Android NAND Development] Elmo108:
from the first post ;)
[HD2 Android NAND Development] deckoff:
Thank you for your help, but I am not on an MDJ build, I had this issue with every build. After some discussuion I belive that this is due to I got a HD2 sporting LCD from a third party manufacturer (SHARP), and the drivers does not properly support it. The device works ok with WM6.x and &, so the OS should get a minor fix. It is not that simple, but thank you for your effort and trying to help.

No let see what happens after flashing the latest :)
[HD2 Android NAND Development] trilu:
@charnsingh

testet this kernel with same result - get into a bootloop

before bootscreen comes and the adb server is startet

bluetooth+wifi.zip-s..> 10-Feb-2011 04:46 5.4M

maybe you can modify the kernel to write the bootlog to

sd-card?
[HD2 Android NAND Development] nks2105:
I can't assign a ringtone to a contact, it keeps the default one.

Can anyone confirm?
[HD2 Android NAND Development] brainmaster:
I am on 02.09 Nightly and it works fine for every contact.
[HD2 Android NAND Development] charnsingh_online:
When u get a bootloop, just move to previous kernel or try in recovery

mount -a (recovery only)

cat /proc/last_kmsg
[HD2 Android NAND Development] fhasovic:
GPS doesn't work in update-cm-7-02102011-NIGHTLY-LEO-signed- test gps.zip
[HD2 Android NAND Development] Ambious:
Testing the latest nightly, haven't had a chance to test GPS yet, but LEDs are at least semi-fixed, in the sense that stay on like they did before.

On the down side, they don't turn on with notifications in the first place....
[HD2 Android NAND Development] charnsingh_online:
This HD2 stuff is crazy hard lol, getting stuff to work just too different and i really hope kernel devs really work on something more than overclocking. I am still working on some stuff but taking a break of a day or 2 just to take things off my mind
[HD2 Android NAND Development] charnsingh_online:
y i messed with wifi so i think its the problem
[HD2 Android NAND Development] karendar:
I think getting an HD2 will help you loads to test this CM7 build. How come was it lost in transit?? But really, everything you're doing is really appreciated by everyone I believe. If you need a break, take one! Sometimes walking away from something for a little while helps. ;)

I'm just glad to see that GPS, Bluetooth and Wifi will be 100% someday for this device!
[HD2 Android NAND Development] charnsingh_online:
Actually where i live there are 2 home by the same addresses n the seller used Governmental service to post to India and the new postmaster knew on only one of the 38 and they declined the package, my other phones too were declined and they were shipped back to US. One vibrant and HD2 were lost when they were shipped back ( Maybe stolen ) and rest reached the seller so now i have them shipped at my relatives house in US, so someone can bring it along when they come back
[HD2 Android NAND Development] karendar:
So any ETA on when you'll be getting your HD2? You get really addicted to this phone once you start using it. ;) haha
[HD2 Android NAND Development] CableMan67:
Great Work!

charnsingh_online,

I've been using this with the latest nightly's for the last couple days and it's working great with the rafpigna1.7 kernel. I'm getting 2ma-5ma on standby.

Thanks!!
[HD2 Android NAND Development] charnsingh_online:
Still hoping to get the 2 phones recovered, less chance due to the fact that governmental services sucks

Anyway uploaded a new test.zip with wifi reverted and bt stuff added, just see if it works now

Also i uploaded a new nightly today for regular but removed when i heard gps wasnt working on the test nightly, also i might have found fix for agps stuff. There are a lot of stuff to be improved on HD2 now, Even though everything is working in the build, there are a lot optimizations needed
[HD2 Android NAND Development] Hagforce:
We should all pitch in and get charnsingh a HD2 shipped by FedEX or UPS.

He really needs one to make this build perfect :D

Anybody else got trouble with the compass?

For me its really inaccurate, and is all over the place.

This used to work a lot better in WinMo, is it also a driver problem?
[HD2 Android NAND Development] trilu:
testet new kernel

onceagainwifi+bt.zip 10-Feb-2011 08:55 5.4M

kernel boot is ok but i can't enable BT by menu.

logcat reports that

I/ActivityManager( 158): Displayed com.android.settings/.Settings: +50ms

I/ActivityManager( 158): Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.WirelessSettings } from pid 436

V/NFC ( 436): this device does not have NFC support

I/ActivityManager( 158): Displayed com.android.settings/.WirelessSettings: +395ms

D/BluetoothService( 158): Bluetooth state 10 -> 11

V/BluetoothEventRedirector( 436): Received android.bluetooth.adapter.action.STATE_CHANGED

I/bluedroid( 158): Starting hciattach daemon

D/SettingsAppWidgetProvider( 436): Widget is from a previous version... Let's update

D/SettingsAppWidgetProvider( 436): No instances yet... Wait for at least one instance to exist before adding global settings

D/dalvikvm( 436): GC_CONCURRENT freed 96K, 50% free 2819K/5575K, external 828K/1034K, paused 5ms+3ms

I/ActivityManager( 158): Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.bluetooth.BluetoothSettings } from pid 436

I/ActivityManager( 158): Displayed com.android.settings/.bluetooth.BluetoothSettings: +355ms

D/dalvikvm( 387): GC_EXPLICIT freed 162K, 53% free 3229K/6727K, external 4529K/5656K, paused 37ms

E/bluedroid( 158): bt_enable: Timeout waiting for HCI device to come up

D/BluetoothService( 158): Bluetooth state 11 -> 10

V/BluetoothEventRedirector( 436): Received android.bluetooth.adapter.action.STATE_CHANGED

D/SettingsAppWidgetProvider( 436): Widget is from a previous version... Let's update

D/SettingsAppWidgetProvider( 436): No instances yet... Wait for at least one instance to exist before adding global settings

D/BluetoothService( 158): Bluetooth state 10 -> 11

V/BluetoothEventRedirector( 436): Received android.bluetooth.adapter.action.STATE_CHANGED

I/bluedroid( 158): Starting hciattach daemon

D/SettingsAppWidgetProvider( 436): Widget is from a previous version... Let's update

D/SettingsAppWidgetProvider( 436): No instances yet... Wait for at least one instance to exist before adding global settings

D/dalvikvm( 460): GC_EXPLICIT freed 119K, 53% free 2553K/5379K, external 0K/0K, paused 35ms

E/bluedroid( 158): bt_enable: Timeout waiting for HCI device to come up

D/BluetoothService( 158): Bluetooth state 11 -> 10

V/BluetoothEventRedirector( 436): Received android.bluetooth.adapter.action.STATE_CHANGED

D/SettingsAppWidgetProvider( 436): Widget is from a previous version... Let's update

D/SettingsAppWidgetProvider( 436): No instances yet... Wait for at least one instance to exist before adding global settings

there is a timeout while waiting for BT to come up

found something - in the init.rc the lines for

service hciattach /system/bin/brcm_patchram_plus --enable_hci --patchram /etc/firmware/bcm4329.hcd /dev/ttyHS0

are commented out with #

the line is neccasary for starting

thanks a lot - i will do more tests by tomorrow morning....