yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] Rdlgrmpf:
Not completely OT if it is the DHD camera :P

Finally built CM7! I can go double celebrate now! :D

What do I have to do now to include my changed code? Replace the file and just run ". build/envsetup && brunch ace 2>1 | tee build.log"? or do i need to run "make clobber" and then extract files again?
[Desire HD Android Development] Youngunn2008:
Ah damn was trying to avoid setting up all my apps again o_O
[Desire HD Android Development] Chezbel:
You shouldn't have to do make clobber... but you saw from my earlier pm that I was thinking about doing that...
[Desire HD Android Development] MacSeoin:
Titanium Backup will backup apps and user data

Swyped with my OC'd BlackICE DHD
[Desire HD Android Development] Chezbel:
Added a New Year's build to Post #3. The only difference is that it uses LordModUEv8.7-CFS-b2 kernel. So no need to flash unless you are bored and desperate to change something :)
[Desire HD Android Development] DeathmonkeyGTX:
Home button and lock screen are inoperable in 1.26b2 from the 28th on my Inspire. The only thing I want from it in 1.25 official is the t9 dialing in the dialer. It has been a long time coming and I love it. Anyway, happy new year to those of you in the western hemisphere and happy belated new year to those in the eastern hemisphere.
[Desire HD Android Development] Chezbel:
I thought that was fixed in kernel 8.6 final, which is supposed to be included in the build you mentioned. If no one confirms that first I will reflash it and double check.
[Desire HD Android Development] alienmind:
I'll upload to beta folder as soon as i get home. Thanks for your builds again, Chez. we should call you Chef :-)

Swyped from my Nexus S
[Desire HD Android Development] Chezbel:
Everything was already prepared for me, like "hamburger helper"... LOL
[Desire HD Android Development] Chezbel:
I just reinstalled BlackICE.v1.26b2-20111228_094938.zip and it has LorD ClockaN's 8.6 final kernel. The change log for that kernel says "fix for Inspire Buttons" so I'm not sure what the problem is.

I did notice that here http://xdaforums.com/showthread.php?t=1085725 there is a comment about "INSPIRE USERS: for now use this CFS" with a link to a kernel. You might want to try that to see if it helps. If it does we should make sure LorD ClockaN gets that feedback.

EDIT: If we temporarily need a separate build for the Inspire that uses a different kernel I can do that. We just have to figure out the correct thing to build.
[Desire HD Android Development] Rdlgrmpf:
When I try to build BlackIce, I always get an Error. Build.log:

Date : 20120101_190118

Cmd Line: download/update-cm-7.20-RC=-DesireHD-KANG-signed-changed_Framework.zip download/lordmodUEv8.6-CFS.zip

ERROR Running 'build_scripts/init.sh'

I checked, init.sh is there
[Desire HD Android Development] Chezbel:
1) make sure you are running build.sh from the ICEDroid directory.

2) Then try this

tools/build.sh -ini conf/build_example.ini -cm7base [B]xxx[/B]

where xxx is the full path to where the CM7 Kang exists. If you copied it into the download directory of ICEDroid then you can specify it as download/xxx

You don't have to use build_example.ini (you can use your own .ini), but this one is setup to the typical, simple build for BlackICE.

3) If you want to "check" what build.sh is going to do, but without actually building anything then add -check to the command line. This will let you see if all the options are OK before you do anything.

EDIT: BTW, this name doesn't look correct to me: download/update-cm-7.20-RC=-DesireHD-KANG-signed-changed_Framework.zip.

I don't think there should be an "=" in the name.
[Desire HD Android Development] Rdlgrmpf:
Thanks. Flashed my CM7 Build and I'm hating it... there were two methods updateRGBLightsLocked() and updateGreenLightOn(). Ok DHD blinks green write it in there but put a log line into the other one. Result:

01-01 19:29:12.680: V/Telephony(1641): getOrCreateThreadId cursor cnt: 1
01-01 19:29:12.700: D/AccountManagerService(1331): bind attempt failed for Session: expectLaunch false, connected false, stats (0/0/0), lifetime 0.0, getAccountsByTypeAndFeatures, legacy_hosted_or_google
01-01 19:29:12.700: E/ContactsProvider(1587): Cannot determine the default account for contacts compatibility
01-01 19:29:12.700: E/ContactsProvider(1587): android.accounts.AuthenticatorException: bind failure
01-01 19:29:12.700: E/ContactsProvider(1587):	at android.accounts.AccountManager.convertErrorToException(AccountManager.java:1455)
01-01 19:29:12.700: E/ContactsProvider(1587):	at android.accounts.AccountManager.access$400(AccountManager.java:138)
01-01 19:29:12.700: E/ContactsProvider(1587):	at android.accounts.AccountManager$BaseFutureTask$Response.onError(AccountManager.java:1360)
01-01 19:29:12.700: E/ContactsProvider(1587):	at android.accounts.IAccountManagerResponse$Stub.onTransact(IAccountManagerResponse.java:69)
01-01 19:29:12.700: E/ContactsProvider(1587):	at android.os.Binder.execTransact(Binder.java:320)
01-01 19:29:12.700: E/ContactsProvider(1587):	at dalvik.system.NativeStart.run(Native Method)
01-01 19:29:12.840: D/szipinf(1503): Initializing inflate state
01-01 19:29:12.850: V/AudioManager(1331): Not applying override for 'android' package
[COLOR="Red"]01-01 19:29:12.860: E/lights(1331): write_int failed to open /sys/class/leds/blue/brightness[/COLOR]
01-01 19:29:12.860: I/NotificationManagerService(1331): inside updateRGBLightsLocked, already set mNotificaionLight to flashing
01-01 19:29:12.890: I/AudioService(1331): AudioFocus requestAudioFocus() from android.media.AudioManager@406787a0
01-01 19:29:12.900: D/AudioHardwareMSM7X30(1227): do_aic3254_control device: 1 mode: 0 record: 0
01-01 19:29:12.900: D/AudioHardwareMSM7X30(1227): aic3254_ioctl: new_aic_rxmode 13 cur_aic_rx 29
01-01 19:29:12.900: D/AudioHardwareMSM7X30(1227): aic3254_ioctl()
01-01 19:29:12.900: D/AudioHardwareMSM7X30(1227): aic3254_ioctl: try ioctl 0x40047313 with arg 13
01-01 19:29:12.910: D/AudioHardwareMSM7X30(1227): aic3254_ioctl: new_aic_txmode 29 cur_aic_tx 29
01-01 19:29:12.910: D/AudioHardwareMSM7X30(1227): value of device and enable is 6 1
01-01 19:29:12.960: D/AudioHardwareMSM7X30(1227): updateACDB: (11, 6, 0, 607)
01-01 19:29:12.960: I/HTC Acoustic(1227): update ACDB id: (tx, rx, tx_acdb, rx_acdb) = (11, 6, 0, 607)
01-01 19:29:12.960: D/AudioHardwareMSM7X30(1227): msm_route_stream(PCM_PLAY, 5, 6, 1)
01-01 19:29:12.960: D/AudioHardwareMSM7X30(1227): addToTable (dec_id 5, dev_rx 6, dev_tx 65535, type 1, active 1)
01-01 19:29:12.990: E/MetadataRetrieverClient(1227): failed to extract an album art

red one is strange
[Desire HD Android Development] Chezbel:
That is interesting. Even though we don't have a blue LED you should be be able to write to the files for it. I've tested this using ADB, but I don't know if ADB has different (higher) privileges than the running code or not.
[Desire HD Android Development] Rdlgrmpf:
will try this http://en.wikipedia.org/wiki/Symbolic_link#POSIX_and_Unix-like_operating_systems# while compiling with mButtonLight.setBrightness(255); in updateRGBLightsLocked()

There isn't even this /sys/class/leds/blue/ folder...

mkdir /sys/class/leds/blue/ tells me. "cannot create file or directory: no such file or directory" ...
[Desire HD Android Development] alienmind:
Probably bad permission. Do

chmod a+x tools/*
[Desire HD Android Development] alienmind:
Lord added an experimental patch to allow blue leds, but may be he removed as it wasn't confirmed to get it working. We should ask him
[Desire HD Android Development] Rdlgrmpf:
I am on my changed Cm7 right now, without BlackIce

---------- Post added at 09:27 PM ---------- Previous post was at 09:25 PM ----------

chmod: tools/*: No such file or directory

Interesting:

01-01 21:29:46.983: W/InputManagerService(1331): Starting input on non-focused client android.view.inputmethod.InputMethodManager$1@405f1310 (uid=1000 pid=1331)
01-01 21:30:09.985: V/Telephony(1641): getOrCreateThreadId cursor cnt: 1
01-01 21:30:10.135: D/szipinf(1503): Initializing inflate state
01-01 21:30:10.145: V/AudioManager(1331): Not applying override for 'android' package
01-01 21:30:10.155: I/NotificationManagerService(1331): inside updateRGBLightsLocked, already set mNotificaionLight to flashing
01-01 21:30:10.185: I/AudioService(1331): AudioFocus requestAudioFocus() from android.media.AudioManager@406787a0
01-01 21:30:10.205: D/AudioHardwareMSM7X30(1227): do_aic3254_control device: 1 mode: 0 record: 0
01-01 21:30:10.205: D/AudioHardwareMSM7X30(1227): aic3254_ioctl: new_aic_rxmode 13 cur_aic_rx 29
01-01 21:30:10.205: D/AudioHardwareMSM7X30(1227): aic3254_ioctl()
01-01 21:30:10.205: D/AudioHardwareMSM7X30(1227): aic3254_ioctl: try ioctl 0x40047313 with arg 13
01-01 21:30:10.205: D/AudioHardwareMSM7X30(1227): aic3254_ioctl: new_aic_txmode 29 cur_aic_tx 29
01-01 21:30:10.205: D/AudioHardwareMSM7X30(1227): value of device and enable is 6 1
01-01 21:30:10.265: D/AudioHardwareMSM7X30(1227): updateACDB: (11, 6, 0, 607)
01-01 21:30:10.265: I/HTC Acoustic(1227): update ACDB id: (tx, rx, tx_acdb, rx_acdb) = (11, 6, 0, 607)
01-01 21:30:10.265: D/AudioHardwareMSM7X30(1227): msm_route_stream(PCM_PLAY, 5, 6, 1)
01-01 21:30:10.265: D/AudioHardwareMSM7X30(1227): addToTable (dec_id 5, dev_rx 6, dev_tx 65535, type 1, active 1)
01-01 21:30:13.378: I/AudioService(1331): AudioFocus abandonAudioFocus() from android.media.AudioManager@406787a0
01-01 21:30:15.230: D/dalvikvm(1649): GC_EXPLICIT freed 35K, 68% free 3038K/9415K, external 9K/521K, paused 42ms

I went into Settings->CyanogenMod->Interface->LED notifications-> Uncofigured and Miscellaneous and set "Flash color" to green instead of "Use application setting". As you can see above there is no attempt to write to the blue led. But it still uses updateRGBLightsLocked(). Hope the new version with changed updateRGBLightsLocked will work... it is compiling right now
[Desire HD Android Development] Rdlgrmpf:
nevermind, got it working with the following line

tools/build.sh -ini conf/build_example.ini -bdir ~BlackIce/ICEDroid/ -cm7base download/update-cm7.2.0-RC0-DesireHD-KANG-signed.zip -bkernel download/lordmodUEv8.6-CFS.zip
[Desire HD Android Development] Youngunn2008:
As a flashaholic I know this. Was just trying to avoid that.
[Desire HD Android Development] Rdlgrmpf:
Win!

Got the Button-backlight-thing Working!

DL:

http://dl.dropbox.com/u/27975653/BlackICE.v1.26b2-20120101_230556_changed_framework.zip

Readme:

- Hardcoded, so no option to turn it on or off yet (maybe if you use red instead of green)

- go to Settings->CyanogenMod->Interface->LED notifications-> Uncofigured and Miscellaneous and set "Flash color" to "green"

- Kernel is lordmod 8.6 CFS

Thanks to:

-Alienmind, very helpful guy

-Chezbel for Building and testing, when my pc didn't want to

-Anja(not on xda) for sending test-sms :D
[Desire HD Android Development] TUN_SD:
THATS AWESOME!!

i´m curious how it works!

(btw: the last few hours i read only Glyphs and weird signs in that thread, do i need glasses? :confused::D)
[Desire HD Android Development] alienmind:
I knew you will eventually did it ;-) Thanks!

Now I'm taking the other approach ... I'm really curious about the possibilities behind AccesibilityService ;-) not only for this BLN thing of course...
[Desire HD Android Development] Rdlgrmpf:
I didn't think I would be able to do it when I had a first look into some files...

Basically it adds a new light into NotificationManagerService. So whenever the Led-light is set to blinking I set the Button-light to on (I don't think it is able to blink, but will try, it is only one line to change)

I'm curious what you will do with the AccessibilityService. Probably awesome stuff :D

Added download-link:

http://xdaforums.com/showpost.php?p=20916684&postcount=3029
[Desire HD Android Development] DeathmonkeyGTX:
Yeah, I tried that before complaining. I do try to read first. At first I had no soft buttons at all, then I tried inspire specific and i got three out of four. They all work fine in ClockaN ics...
[Desire HD Android Development] Rdlgrmpf:
http://xdaforums.com/showthread.php?t=1415575

Just found it, maybe i will give it a try.

Sent from my Desire HD
[Desire HD Android Development] Pick_A_Name:
Only problem is that it doesn't work with purchased apps, which is quite a few. Should be able to help some though. Thanks for sharing!
[Desire HD Android Development] alienmind:
Added as an option on ICETool.

Maybe for Chez next build. (No rush Chez... )
[Desire HD Android Development] LorD ClockaN:
Blue led was removed, but last night...

Sent from my Desire HD with BlackIce ROM and ICS crouching in restore option
[Desire HD Android Development] DeathmonkeyGTX:
This no home button thing is driving me nuts but I have wanted T9 dialing in CM7 since I switched to android and loaded it. Windows Mobile 5 had T9 in the dialer...

The last time I had everything working perfectly was alienmind's 1.24 final so I'm about to wipe and flash it. Before I do that I want to rip the dialer from chezbel's 1.26b2 and replace the dialer in alienmind's 1.24 final with it. I hope this is possible otherwise I'm about to waste some time. A quick google search yielded nothing on the subject and I just want it done so I'm going to try first and if it doesn't work then I'll research further.
[Desire HD Android Development] Rdlgrmpf:
Doesn't matter, it works now :)

Next i will try it with setFlashing but i don't think it works. And either adding a option to settings or maybe icetools. I don't want the lights to be on all night while i sleep anyway

Sent from my Desire HD
[Desire HD Android Development] Chezbel:
This is just my guess, but I think the only way to get the backlight to blink is with a routine that gets called every second. I think the blinking LEDs are controlled by hardware, meaning you just turn that feature on and it blinks until you tell it to stop. So blinking the backlight requires software control.
[Desire HD Android Development] JoKeR_FaCe:
Market show that my device should be not compatible with "avast! Mobile Security":mad: WHY???
[Desire HD Android Development] Rdlgrmpf:
When did you add it? because I have this option in ICEtools. I built it yesterday.

Trying to build with setFlashing() instead of setBrightness, but It gives me errors. see here http://xdaforums.com/showthread.php?p=20937391#post20937391
[Desire HD Android Development] TUN_SD:
go to IceTool, system, and "Set LCD density as 240 (ugly, sry, Default style)

then it should work!

but be careful, if you install that tool, flashing becomes horrible, because avast install gets into recovery. my advice too you: don´t use it
[Desire HD Android Development] JoKeR_FaCe:
densitiy as 240 ist didnt helpful or must i clean market cache first?

why get avast into recovery?

EDIT: OK! Delete Cache und Data from Market App is usefull! Now I can download it! THX
[Desire HD Android Development] magic1977:
I use avast and have no problems with it. And i jump nearly daily from blackice to ics ;-)

Sent from my blackiced DHD
[Desire HD Android Development] TUN_SD:
avast has an anti theft function. it won´t let me flash anything. that s..cks. deinstall.
[Desire HD Android Development] cdlftony:
Hello

I use the blackice rom since one month now and it was always stable

since the new year my phone goes crazy:

it reboots randomly, sometimes it reboots after 1 hour, sometimes it reboots after 5 seconds

i already tried some things like:

- remove oc and uv

- full wipe

- flash another rom (ics beta 9.8.1)

- taking off the battery

- updating clockworkmod recovery

nothing helped

sometimes it even reboots in recovery mode

once it tried to reboot after a full wipe before flashing the new rom 0.o

can somebody help me?
[Desire HD Android Development] TUN_SD:
doesn´t work for me,
[Desire HD Android Development] DeathmonkeyGTX:
COpying phone.apk from chezbel's 1.26b2 into alienmind 1.24 final into system/app failed. Well it worked but I didn't get T9 in the dialer like I was shooting for. What else do I need to copy over to achieve T9 in phone.apk in 1.24?
[Desire HD Android Development] sigurd_LU:
As CM doesn't have a dialer.apk like Sense roms, try Contacts.apk ;)
[Desire HD Android Development] DeathmonkeyGTX:
I tried Phone.apk, not Contacts.apk. I tried pushing them both over adb but something happened and now I can't get adb to work. I'm going to try to fix it.
[Desire HD Android Development] joedeuce:
I could be wrong, but all the symptoms you have were caused by a failing battery for me. Does it reboot when plugged in to charger too?

Inspire 4G // BlackICE
[Desire HD Android Development] sigurd_LU:
I know. But Phone.apk is not the right one, it has nothing to do with the dialer, that's why I suggested you to try it with Contacts.apk.
[Desire HD Android Development] Rdlgrmpf:
Update:

setFlashing does not make it flash but only turns it on. So I will go back to setBrightness.

I asked alienmind to help me implement an option to turn it on or off, since I don't get the structure of ICEtools :D
[Desire HD Android Development] DeathmonkeyGTX:
Thank you Sigurd. Contacts.apk worked beautifully after changing permissions and rebooting. Now I'm rocking with full functionality.
[Desire HD Android Development] cdlftony:
oh great! thx for identifying that problem so fast

do you think a new battery will solve this issue or could it also be somewhere in the phone?
[Desire HD Android Development] joedeuce:
I was lucky enough to have a family member with the same phone, so I was able to test that way.

I would start by restoring the Rom backup of my last known good one... If it is still doing it on your backup, I would begin to think battery.

As I said before though, I could be wrong... But the symptoms you presented are the same I was having.

Inspire 4G // BlackICE
[Desire HD Android Development] Chezbel:
Another set of Kangs on Post #3

EDIT: BTW, is it bad thread etiquette to post this every time I update Post #3? Is it better to just let the people that are interested keep an eye on that post?

EDIT2: I guess if anyone replies then hit thanks if you agree with them rather than us having 20 posts say "Stop doing that!"
[Desire HD Android Development] a user:
i can't hit thanks as i am only allowed of 8 per 24h.

of course it should be allowed to notify an update of such a post with a new post!

the only spam is your question about this :P
[Desire HD Android Development] TUN_SD:
I totally agree with a user! Bad bad chezbel. ;)

send with telepathy
[Desire HD Android Development] Chezbel:
That's why I edited my existing post, so I wouldn't create a new spam post.... Except now I replied to your post... Oops
[Desire HD Android Development] alienmind:
Now my spam turn. DHD coming home tomorrow. A couple of patches more to icetool and 1.30 hopefully next week. I'll skip a few versions to compensate for this month of emptiness. Release codename: SmartLee or LeeJuan, still not sure but those two guys deserve some retribution fort their donation here (being Lee the guy who donated his broken machine and SmartJuan who merged the two broken DHDs into my brilliant good-as-new phone

Swyped from my Nexus S
[Desire HD Android Development] a user:
yeah, but it makes the post thicker and thus wasting more space on a page and this space is spam space and this ..... a reason for you and me to write more spam posts, which waste again even more space... spam space!

huh... that was fun to write :P
[Desire HD Android Development] Chezbel:
So alienmind will be back I'm the saddle soon, good news!

P.S. Sorry about wasting 1s and 0s earlier...
[Desire HD Android Development] a user:
cool, alienmind is coming back :D

strange i didn't saw the post after i replied Oo
[Desire HD Android Development] alienmind:
my post came after yours, because i read it. but somehow xda reordered posts with some weird timezone crazyness

Swyped from my Nexus S
[Desire HD Android Development] Youngunn2008:
I use avast anti theft, and I can flash just fine.
[Desire HD Android Development] TUN_SD:
really? maybe i did something wrong.:confused:
[Desire HD Android Development] Rdlgrmpf:
Wow, I just saw your post.. :D

I think the same and also having the LEDs turn on instead of blinking should be enough, as it doesn't consume much more energy. With the new release, coming as soon as I finish uploading, there is an option to turn bln on and off. So you can turn it off when going to sleep for example.

//edit: flashing and testing

//edit2: damn, it always turns on, added log lines..
[Desire HD Android Development] alienmind:
that blinking led feature is one of the upcoming features of blackmagic :)

Swyped from my Nexus S
[Desire HD Android Development] TUN_SD:
We are all curious about "blackmagic". But i will wait patiently. Good things comes to those who can wait!

The only thing that i wish, please make it really Black!

send with telepathy
[Desire HD Android Development] Colpophage:
Can't wait for the magic :), and happy New Years!

Couple of ingredients in my wish list:

1. I've noticed that if I try a different kernel, the system tab in icetool fcs. Can this be fixed? I love Lord's kernel and always use it, except for the versions that cause my sound issues in the dialer. For instance I'm currently on his 8.7 betas, as the other 8.x versions didn't work.

2. Could you add the regional 1.2 Angel Death GPS scripts to icetool? I prefer to use his North America, rather than Canada and the 10 or so USA ones, as I travel constantly throughout North America.

3. Also, adding a switch to use or not use SuplRootCert, as well as different ones... I use the one from TELUS, my provider. The default one from Angel Death is from AT&T. We've been finding some people get faster locks without the file altogether, and I seem to get fastest locks using the one that was original equipment on my phone.

Note: I would be very happy to provide you with as many of the various SuplRootCert files I have collected, and keep them updated for you.

Love this ROM!!
[Desire HD Android Development] alienmind:
ok, please pm with all the details and files you want to include.

one small clue about BlackMagic: bringing standard features of blackice and a few more to other roms, as a self contained apk.

Swyped from my Nexus S
[Desire HD Android Development] mehms:
sounds excellent!
[Desire HD Android Development] Rdlgrmpf:
Having problems with the on/off feature of BLN...

see here http://xdaforums.com/showthread.php?t=1426088
[Desire HD Android Development] pheral:
I would love to see rom updates inside ice tool so you could check for updates and download them from inside the app. A small changelog would be good too so you can review changes before you download.
[Desire HD Android Development] alienmind:
About BM. One of the new tabs is a web view (similar to AbsolutionTools ota tab) with some of these options:

- Extra downloadable content (themes, backgrounds, whatever)

- Changelog

- ROM updates

- Fonts

- Etc...

It also has a running service watching for several aspects, it's no longer a "launch-me-to-do-whatever" app.

For blackice users, it's basically a cleaner and reworked version of icetool

For non blackice users, it will offer and preinstall some of our tweaks on different roms.

I'm kind of limited in the development right now, can only test on a different device. Advantage: it's compatible with ICS (guaranteed, can't test on anything else ;-))

I'm kind of going offtopic here...
[Desire HD Android Development] pheral:
Sounds good to me. Thanks in advance.
[Desire HD Android Development] Colpophage:
Will do. Am on the road for work atm, but can get you regional scripts pretty fast. SuplRootCert's will take to the weekend.
[Desire HD Android Development] Rdlgrmpf:
Got that damn ON/OFF BLN working!

Will upload tomorrow.

@alienmind: a friend of mine just asked which if-block is called at https://github.com/alienmind/ICEDro...src/org/projectx/icetool/ActionsActivity.java

little mistake made me change CMParts :D it is "blnon" in both if

So you guys choose: Option in CMParts or in Icetools. Both would be quite easy now. I'm tending to Icetools, because it is a BI only feature right now. But I managed to add a CheckBoxPreference into CMParts so I kinda wann use it + it is inside LED-options where it may be more convenient