yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] Xylograph:
Yes, apperantly changing the following lines in build.prop :

ro.product.name=bravo
ro.product.device=bravo
ro.product.board=bravo

Will 'fix' the 'green flash' issue for our device... I have no logical idea why exactly and don't like it either..

Browsing thru the HD2 XDA history this fix is really 'old'
[HD2 Android NAND Development] Dr_Grip:
If it is not a placebo someone should grep through the camera code - there must be some place where these lines (or at least one of them) gets parsed. I would guess somewhere in the code adjusting white balance for flash images. If there really is a solution as dirty as "apply behavior A if the build.prop says it's device B" in the code we might as well add the HD2 to the list of devices instead of fiddling with build.prop.

But as I've said before, I am no developer so this might be a bull**** theory.
[HD2 Android NAND Development] orange_24:
my problem with this rom is ringtone sound is off... i have only vibration... any idea?
[HD2 Android NAND Development] pirlano:
it's only me or multitouch bug is came back?

when i try to zoom in a little faster, i got a zoom out
[HD2 Android NAND Development] nygmam:
As I suspected. I would stay away form changing teh device to a Bravo from a Leo, While it may "Fix" the camera, although mine seems to work fine, and shows no green, it can possibly mess something else up. We had this issue with the ACA GB ROM in its early days, and I remember the build.prop change exactly like this, that messed up Netflix, and some other apps. Also I think it can mess with Google Play Market/Google Play. This is a Leo Rom, so the better fix is to find what setting it to Bravo changes, setting wise, and implement that. But again, I am not seeing green. Took a photo with flash, and without, viewed in gallery. Can you provide steps to reproduce this, and list the version. I am on 05252012.
[HD2 Android NAND Development] alex91powe:
Yes I have the same bug!!

For VPN i have tested it this morning, the fix by tytung and marco.palumbi works very good!! :)
[HD2 Android NAND Development] f1rick:
Ref: http://xdaforums.com/showthread.php?p=11400070#post11400070

This is the liboemcamera.so that the CM7 nightlies use. I've not tried it on ICS, but I see no reason why it wont work.

Attachment is in the linked post.
[HD2 Android NAND Development] Xylograph:
Thanks man.. Hex editing/viewing that file indeed seems to reveal these values :)

Great find !
[HD2 Android NAND Development] ph03n!x:
I used the libinput.so from (I think) Xylo's ICS (Paranoid Android? The first or second post had it), and it fixed the multitouch bug...
[HD2 Android NAND Development] Dr_Grip:
Did you try VPN without applying the fix first? Would have been interesting to see if the fix is needed.

While that's a great find for those people who suffer from green flash images (I don't, strangely), I don't think mixing and matching GB and ICS files is a good way of dealing with issues like this. Adding the leo to the list of devices in the corresponding part of the source would be the clean way to deal with this.
[HD2 Android NAND Development] f1rick:
Don't quote me on this. But this is my understanding. liboemcamera.so is a proprietary file from bravo. There is no source code. Because it is proprietary and ICS wasn't officially released for the hd2/desire family of phones there is no equivalent ics proprietary file. This is why a wrapper is used to get the gingerbread liboemcamera.so to work in ICS.
[HD2 Android NAND Development] pirlano:
waiting for new build with:

-VPN fix

-green camera fix

-multitouch bug fix

:D than we are near perfection (until Rick_1995 can update HWA kernel) :)
[HD2 Android NAND Development] milaq:
it'd a pleasure to review your pull request
[HD2 Android NAND Development] Dr_Grip:
Sorry for quoting you :p

On a more serious note, in this case I stand corrected and some hex editor magic probably is a better idea than build.prop workarounds.

If the VPN fix is needed (do we have confirmation for this by now?) it seems an easy enough fix that I'd try my hands on it.
[HD2 Android NAND Development] nygmam:
I would expect some color differences due to the aperture with and without flash, but I don't see a green tinge that was clearly present on CM7 GB before it was fixed, or am I just blind... actually I like the with flash better than no flash

1st no flash, 2nd flash

No Flash

flash

Am I missing something?
[HD2 Android NAND Development] alex91powe:
I test it, without fix VPN not work it....when the fix is applied it work....!!
[HD2 Android NAND Development] Rick_1995:
DUDE, FOR THE CHURCH's SAKE, RESIZE THE IMAGE !!

try it in dark, why would flash even remotely affect when there's ample (and multiple times stronger light source ie. sun) light in the scene.
[HD2 Android NAND Development] nygmam:
Sorry, left them full size to see the details or green aura. When I had the greening with CM7 it was in day and night, not just night. I'll go back and resize

EDIT: What is interesting is that the sky looks better with the top picture (no Flash) but the colors on the bottom (Flash) are more true to form. Photo was from same location, angle, etc... but flash on/off. I will add, when I had the green issue before, you world see green tint to pictures, no matter when they were taken, day or night. That''s why i did the test pics, to see if there was any tint with the flash. Maybe someone else can replicate the greening and apply the build.prop fix and show a comparison. I am just saying I haven't noticed any greening, but then there is a chance it is something I am not noticing, and that it is far less obtrusive than the green tint I had in the past.
[HD2 Android NAND Development] hengsheng120:
Try to take a picture in incandescent lighting
[HD2 Android NAND Development] nygmam:
I don't have any in my house, they give me migraines... scratch that, fluorescent give me migraines, I get the two mixed up. I will have to wait for darkness then... but if someone else can provide a sample if someone is having the issue, hoping they have an example
[HD2 Android NAND Development] rocklobster702:
A camera normally fixes the white balance to a predetermined Kelvin setting (warmer) when you enable a flash. When there is no flash being implemented, white balance is automatically (sometimes incorrectly) calculated according to the scene.
[HD2 Android NAND Development] hengsheng120:
Warm/slightly yellow cfl lighting should still reveal the tint.

Do you only have fluorescent lights around you? Maybe wait for yellow street lights to turn on then.
[HD2 Android NAND Development] nygmam:
Figured that was the reason for the color not being the same for each shot

edited my post (I don't have fluorescent, I have incandescent, always mix them up) [also add, thought BBCode for strike through was but obviously that's wrong too, just not my day today]

I think I am going to give up on trying to take a picture with green, and just let someone else post a pick that shows it. I am sure if I see it, I will know what it is and could confirm it if I see it. As I said before, my recollection from CM7 was a noticeable green tint no matter when a photo was taken. It looked as if it was shot through a green lens. I am not seeing that on any photos I have take recently, but then again, maybe I don't know what I am looking for. I am not a professional photographer, and I take most pictures in the day or inside. I just haven't seen anything out of the norm, but then again I may not have hit that sweet spot between light and dark... It seems like I am not adding anything to this issue, and my photos I Posted show nothing abnormal. I will leave it to the experts to figure out.
[HD2 Android NAND Development] Dr_Grip:
I can confirm a slight green-ish tint with flash. Looks like the white balance being wrong.
[HD2 Android NAND Development] nygmam:
could you post a sample so I can see what it looks like?
[HD2 Android NAND Development] sp5mz:
This works well for me: http://www.mediafire.com/?zyesne4pb9i7e8j

Credits to Xylograph for this fix (http://xdaforums.com/showthread.php?t=1662881)
[HD2 Android NAND Development] nygmam:
This is just a replacement build.prop and makes your Leo a Bravo, not really a fix at all, as this can mess other things up. While this may fix the issue, it has the potential cause other problems.
[HD2 Android NAND Development] jjpdijkstra:
Da fuque is wrong with date and time? IT freezes when phone goes to sleep!
[HD2 Android NAND Development] Dr_Grip:
See attachment. Picture shows whatever was in front of the lens when testing last night, so it's not really a well-composed image in it's own right :p

As nygman said, this is the fix we don't want to use as established on the last two forum pages. Read before you post. SRSL.

WTF?

EDIT: Just flash the current nightly and can't confirm any date/time problems.
[HD2 Android NAND Development] BracaCakic:
Hi

I cant boot this rom. In need to flash kernel. I try NexusHD2 ICS room and works but I want this. Help me please. TX
[HD2 Android NAND Development] mori90:
Did you flash magldr-patch_cm9-leo.zip on http://goo.im/devs/cmhtcleo/misc ?
[HD2 Android NAND Development] BracaCakic:
Hi

I didnt flash that i found few moments ago and i will try now. TX for help
[HD2 Android NAND Development] Rick_1995:
Any of you who have with them the wireless and bluetooth mac id which their device had under windows mobile ?

I need some testers, franck78 has found that mac address is indeed there in nand which is tested positive for his 6 devices + my device.

clk users:

1) unzip the file

2) fastboot boot zImage initrd.gz

3) adb shell "dmesg | grep -i 'scanmac'"

4) Compare them to what you had in windows mobile and post your results

Note: The above method will NOT REPLACE your kernel/rom/data etc.., infact it won't even touch your nand till it reaches android.

Note2: This test kernel will NOT CHANGE your mac id, it will just confirm if your device has it's id stored at the same place or not.

The ramdisk is from 23/05/2012 so it would be preferred that you test on that rom but since no crucial changes were made to the ramdisk, you can try it on any build.

Also the greenish tint fix was merged yesterday so today's nightly should have it.

Thanks for testing.

Credits to Franck78 for the mac fix.

My results:

<4>[ 1.325347] scanmac: candidate for wifi mac=00:23:76:96:1b:f9
<4>[ 1.325622] scanmac: candidate for bluetooth mac=00:23:76:78:70:78

It matches what i have in stock windows mobile.
[HD2 Android NAND Development] nygmam:
This might just be our Video Camera Fix .

We will see tonight :)
[HD2 Android NAND Development] ph03n!x:
I unfortunately did not note down the MAC under WM65. Will install it all over tomorrow (unless there is a better/ easier way - it is not in the box or the documentation, checked that) and see if the MACs match. Thanks Rick and Franck!
[HD2 Android NAND Development] nygmam:
Is there an issue with tonight's build. I don't see it for download.
[HD2 Android NAND Development] cmhtcleo:
alpha2 is up

both in the first post and RM

enjoy; other than the bugs known, please let me know of any issues
[HD2 Android NAND Development] gt5402.1:
is this different than tytungs rom? does it have already tweaks etc?
[HD2 Android NAND Development] ChaosBoy:
This rom is from cyanogenmod and tytungs rom is aosp from Nexus

sending from my HD2 running ICS by using XDAapp
[HD2 Android NAND Development] Richy99:
im getting nfc service not found and force closing and cannot get past the first screen and wizard
[HD2 Android NAND Development] cmhtcleo:
Ok, I have just done a fresh install, will have to take back the partitioning. system needs to be 220M, if you use the gapps. Otherwise its 180M.

So you might have to change your partitioning.

Maybe should have mentioned this before
[HD2 Android NAND Development] czarsuperstar@gmail.com:
Im getting the same thing unfortunately nfc services has stopped. I have a 300mb partition.
[HD2 Android NAND Development] Stephen:
Are you able to use facebook pics as contacts in this rom?
[HD2 Android NAND Development] arif-ali:
alpha2 recalled, nfc issues

will be back tomorrow

All my builds up until this one were good :(
[HD2 Android NAND Development] davibs:
Something about Camera?

The latest not working hw :/
[HD2 Android NAND Development] Richy99:
possibly why then, i had a 200 partition with the gapps installed, i also tried a 200 without the gapps and had the same issues
[HD2 Android NAND Development] arif-ali:
OK will try and create a magldr patch next time

The easiest method of doing a lite version is to remove packages from the zip file, and then reflash. Once we have a stable build, I'll do a lite version
[HD2 Android NAND Development] Stephen:
You should be able to do it though the android kitchen and use it to decompile the boot.img file. This should then give you the intrid.gz and the zimage files. Or am I barking up the wrong tree?
[HD2 Android NAND Development] munjeni:
I maded an php bassed script for generating "updater-script" maybe help you to port it to something that will be usable for generating magldr compatible (I allready used it to perform magldr ICS build)...

http://pastebin.com/q3jLF9qc
[HD2 Android NAND Development] arif-ali:
That's ok, thanks for your efforts, I already have scripts that do it for me, but CyanogenMod was not there at the time to incorporate these in. I have already made provisions for doing magldr builds; so it shouldn't be a problem. I was being lazy for not doing it; but the next release i.e. alpha3 I will have both magldr and cLK builds.

On another note,

Update on the build; I was hoping to get the alpha3 out of the door yesterday, but for some reason, some code in CM has caused GPS to no longer to work; which I am trying to diagnose at the moment
[HD2 Android NAND Development] tytung:
I included librpc.so, which is compiled from GB source code, to make libgps.so working in ICS.

FYR.
[HD2 Android NAND Development] munjeni:
Ok, thanks, do you have link to working ics source for hd2, I have problem with ics compilation becouse out of here is many diferent versions that not worked and that need patches to be abble to compile. Note, I want to start development to ics but from allready tested (working source) becouse no want to start fixing stufs that allready fixed (if you understand my bad english :))
[HD2 Android NAND Development] arif-ali:
Check post #3
[HD2 Android NAND Development] arif-ali:
Thanks, reduced my debugging time ;)

that redirected me to the code change I had to make, to get it to work, as librpc wasn't even getting compiled.

https://github.com/cmhtcleo/android_device_htc_leo/commit/6a49611c1f464db74a2dea7de65663139c764165

the following commit broke the build in essence; and I was working before that, and therefore this is a CyanogenMod specific issue.

https://github.com/CyanogenMod/andr...mmit/c5ba8bba39b76c188943986f1c3daf9680cb227a

Edit: So another compile going through now, hopefully that should sort it, and will have a new upload soon
[HD2 Android NAND Development] munjeni:
Thanks, but is all patches commited to git?
[HD2 Android NAND Development] cmhtcleo:
All my patches go in as and when I compile. Nothing is hidden

i.e. into

Device: http://github.com/cmhtcleo/android_device_htc_leo/tree/ics

Vendor: http://github.com/cmhtcleo/android_vendor_htc_leo/tree/ics

These are not being submitted to Gerrit as of yet, as there's not much CM specific stuff. It's all prep work, So my work could be very similar to the work that other devs have done

--- hardware/msm7k/Android.mk 2011-12-19 01:25:10.292415555 +0000
+++ /data/android/leo/CM-ics/source/hardware/msm7k/Android.mk 2011-12-21 00:43:22.941292675 +0000
@@ -14,8 +14,6 @@
# limitations under the License.
#

-ifeq ($(BOARD_USES_QCOM_HARDWARE),true)
-
common_msm_dirs := liblights librpc dspcrashd
msm7k_dirs := $(common_msm_dirs) boot

@@ -24,5 +22,3 @@
else
include $(call all-named-subdir-makefiles,$(common_msm_dirs))
endif
-
-endif
\ No newline at end of file

Apply the above patch using the command below

patch -p0 hardware/msm7k/Android.mk < audio.patch

and then compile; until I can understand what the issue is with compiling some of the code

Note Code is always changing, as it is in early development, so I can't put all the fixes on here so that you can also get it compiled. I only post up the howto's as a courtesy.

So if anyone is interested; fork the device and vendor files from github, and see if you can get it compiled/fixed etc... and if you can help in that way, then push your results to me
[HD2 Android NAND Development] Burag:
10 chars plzzzz?
[HD2 Android NAND Development] nygmam:
I think thats old, and cm7 built, so maybe there was an error compiling cm9 last night
[HD2 Android NAND Development] arif-ali:
cm7 is from my server, whereas CM9 is from milaq's, so it seems he may still be having problems
[HD2 Android NAND Development] nygmam:
that explains it... thanks.
[HD2 Android NAND Development] raff5859:
Great rom :-)

Wysłane za pomocą Cyjankowego Lwa Tajwańskiego ;D
[HD2 Android NAND Development] jjpdijkstra:
Brilliant!

Everything is ok! HTC HD2 + Android has matured. It's time for HTC to declare their HD2's to be Android over WinMo!

Future evolution could imply:

- less animations, custom enery-uptaking tweaks (no boot animation and no wallpaper)

- unique mac + universal recognition

- instant usb tether

- optimum internal space utilization: less options, more functionality!(the trick is, as steve jobs did, to say no! Say no to time taking setting, deside optimum for your customer)

- auto install donation app within the rom :D

Thanks and great job.
[HD2 Android NAND Development] Dr_Grip:
I just took a test photo in my parent's bathroom. Boring-ass white tiles show up white. Fix thus seems to be working.

The patch for using the phone's hardware MAC address in Android already arrived in marc's 2.5.35 kernel. I did not check the git commits for it, but knowing milaq it should arrive in one of the next nightlies, if it is not applied yet.
[HD2 Android NAND Development] nygmam:
Good to know, I saw the fix in the commits, hex editing bravo to leo in one of the camera lib's. That's just clever... Now build.prop can stay 100% leo and we have a fix. Even though I never noticed it ;)
[HD2 Android NAND Development] raff5859:
Rick how about Multi touch driver? In windows phone MT don't jump if we cut lines of two fingers, but in android we have Jump Style xD, how fix this?

Wysłane za pomocą Cyjankowego Lwa Tajwańskiego ;D
[HD2 Android NAND Development] ph03n!x:
@Rick - I couldn't test the test kernel for original mac address you had posted (did not have the MAC from WM65). I however updated to Marc's kernel v0.1.2, which has the fix you and Franck had figured out.

The Mac address I have with it are 38:e7:d8:32:97:2c (wifi)/ 50:6f:ef (bt) - this looks like what I had in WM65, as I remembered that the OUI I had in WM65 was not 00:23:76 or 00:09:2d we used to use earlier. I will however confirm the same in WM65 one of these days when I get to backup my ICS and install WM to check this :)

Thanks again to your's and Franck's efforts on this!
[HD2 Android NAND Development] thor9934:
i dont know, about WM, but i know the multitouch jumps less in WP7, but it still jumps, it's a problem with the screen's hardware because we only have "dual-touch" just like the desire, i think we can make it better but never perfect
[HD2 Android NAND Development] Dr_Grip:
The current (20120528) build feels (I use the term " it feels" not "it is" because I am unsure) a bit slower in graphics operations than the last one from monday or tuesday I used.
[HD2 Android NAND Development] c1cl0n:
Thanks to all pplz

Now I have successfully ported and tested cm9-leo-20120528 and cm9-leo-20120529 to SD/MAGLDR with default (Milaq) and tytung r2.4 Kernels

Waiting for permissions to start SD port thread in HD2 Android SD Development
[HD2 Android NAND Development] alex91powe:
hi devs,

I have an bug witch video recorder on last night...when I try to make a video the camera get an force close and audio not work...!!
[HD2 Android NAND Development] LordDeath:
Today I switched form MagLDR to cLK 1.5 and for some reason I can't establish a 3G data connection. :(

In the past I had no problems with ppp but now it simply doesn't work. Do you know anything I could try now?

The APNs seem to be correct and all other phone function are also working.
[HD2 Android NAND Development] lamahgra:
can anybody confirm this...
[HD2 Android NAND Development] Robbie P:
c1cl0n asked me to test the ported ROM for magldr boot and I am very impressed with the build, it is fast and smooth. Just a +1 for permissions:) Nice work.

Edit; +1 for permission for c1clon to post the new thread that is:)
[HD2 Android NAND Development] nygmam:
This has been an issue for a while, I posted a link to a commit that could have helped, but alas, it did not. I think from a usability point, this is the only thing not working as it should. Everything seems to work well. I know on CM7 you had the option to adjsut the video camera quality, but I can't seem to find it in CM9. Could this have something to do with it, I don't know. I tried some other video camera apps, with out luck.

Anyone have any ideas why video camera crashes?
[HD2 Android NAND Development] alex91powe:
i try now the rapmv78's video encording...whitch it the video recorder work great
[HD2 Android NAND Development] ph03n!x:
I'm on 29th build, and

it's as smooth as ever. Note that I do make a few tweaks here and there before flashing...

I seem to have a problem with switching from 2G to 3G too, noticed this from 23rd nightly. I have a notification widget to switch back and forth, but off late the widget automatically toggles to 2G+3G mode and am not able to force it to the mode I want. In the 2G+3G move it connects invariably to 2G, and I get lucky in getting connected to 3G if I keep toggling.

@milaq/ anyone- do we know if this is a CM issue, or something on us/ me? :)

_

Swyped from my HTC HD2 (ICS 4.0.4)
[HD2 Android NAND Development] lamahgra:
i'm now on 29052012...

and everything works "smooth"
[HD2 Android NAND Development] securecrt:
Does the HW H.264 decoder work?
[HD2 Android NAND Development] pathologo:
"Check for updates" doesn't seem to work though.

Edit: Nevermind. It works indeed. This is some nice stuff!
[HD2 Android NAND Development] c1cl0n:
Thanx Robbie

CM9 Unofficial is really promising, clean, fast and smooth

Now I have 2 edition of this port - Standart and GApps included, of course with 2 Kernels - Milaq and tytung r2.4_uniMAC

All editions working fine, but I still can't share it without granted permissions

:(
[HD2 Android NAND Development] nygmam:
Tonight's version 053012 didn't seem to work for me. Downloaded twice with no luck, I just get a boot loop.

Shall I try a third?
[HD2 Android NAND Development] SlyRder83:
im getting the same
[HD2 Android NAND Development] buccaneerbob:
I'm also getting a bootloop on 20120530.
[HD2 Android NAND Development] Rick_1995:
Why can't you attach logcat when you report this, it's so hard ? How do you expect people to magically know what is causing bootloops ? :confused:

It's like saying please fix my car but you can't touch it.
[HD2 Android NAND Development] buccaneerbob:
I tried doing a logcat, but it's not giving me any output.

Maybe I'm doing it wrong.
[HD2 Android NAND Development] nygmam:
First step was to confirm it is an issue and not just me.

Read my post, I didn't ask what the cause was, just wanted to confirm it wasn't a bad download, and if I was alone...could have been bad rom, bad, flash, wiping issue, etc...

Now its confirmed, next step is to figure out the why. Although heading to work now, so wont get to do it until tonight, att which point I'll probably just try 53112.
[HD2 Android NAND Development] orange_24:
hello...

i have one problem with this rom i can not send and recive mms - anyone can help me?
[HD2 Android NAND Development] ph03n!x:
Anyone else having trouble toggling 2G and 3G in the recent nightlies?

_

Swyped from my HTC HD2 (ICS 4.0.4)