yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] Colpophage:
A few things:

Has anyone else noticed they can install apps not available in their country (ie for me, Google Music in Canada), using the new 3.4.4.dpi.fixed Market?

Ok, next, as alienmind slaves over a hot stove cooking up his next ROM, I am wondering why the cm7 music is replaced by 'music mod'. It doesn't support scrobbling, and doesn't put the song name on the lock screen. Is it supposed to eliminate music stuttering?

And as I mention music, Google music is beyond 4.0.1, up to at least 4.1.511. Supports scrobbling, but does not show song name on lock screen.

Those are my latest ingredient requests for the next BlackICE soup :)
[Desire HD Android Development] Colpophage:
One last thing for the night... in ICETool, have some options in the app section to choose Maps 5.3.1 or 6.x. Maps 6+ is a battery killer, and the only upside is indoor maps of Home Depots in Boise, Idaho.

However one of the things I love most about your ROM is that you always try to give a choice.
[Desire HD Android Development] K Dotty:
I cant, i have to use market enabler and where did u get the dpi fixed market?

Sent by wiggling my big toe
[Desire HD Android Development] TUN_SD:
latest Kang, post 3. with a nice new feature
[Desire HD Android Development] Rdlgrmpf:
The all dpi is in the newest ICEtools in Chezbels Kangs.

For me it doesn't work though. E.g. with google + it says you device is not compatible.
[Desire HD Android Development] K Dotty:
Just realised my spell check has been making my posts not make any sense

Sent by wiggling my big toe
[Desire HD Android Development] TUN_SD:
I have to correct me! i said, market doesn´t work! sorry Chez.

delete all your market data in settings-apps, reboot, and it should work! for me it does.

atm i could install google+ at 190dpi. you are from germany too, so it should work for you too!

try it out!
[Desire HD Android Development] Colpophage:
Check post number 3, and download Chezbel's latest Kang. It includes a Vending apk that fixes the dpi issue.
[Desire HD Android Development] Rdlgrmpf:
Big thanks at The unknown Noob :D

I only wiped cache before.
[Desire HD Android Development] Colpophage:
This is going to be hard to explain, here goes:

If you had a market (any version) working before updating Chezbel's Kang, installing the 3.4.4.dpi.fix will probably fail.

Clear any market cache you already have, and clear data, then do uninstall updates. You should be able to install the 3.4.4.dpi.fix market after that.

IE, I downgraded Maps to 5.3, and right now my market keeps wanting me to upgrade to 6.0.x, whereas before this market apk, Maps did not show up at all, unless I found a way to force it through a web link. Where it would say 'not compatible'.
[Desire HD Android Development] K Dotty:
+1 I've been stuck on the old market and even that didn't work properley for me and its just made me hate my phone lol.

Thanks a million :D

Sent by wiggling my big toe
[Desire HD Android Development] Frostyeo:
Hi! Just asking, if i'm coming from RC 7.1, do i need to do a full wipe before flashing? or just wiping cahce and dalvik will do?
[Desire HD Android Development] alienmind:
my guess is that you found a bug... thanks man

no idea, perfect fix here... try to switch rils, radios etc

if you dont full wipe you will loose default theme of the rom, but if thats not a problem to you, proceed. btw wiping cache and dalvik not necessary at all, updater-script of the rom does it for you...
[Desire HD Android Development] alienmind:
btw 1.00 final tonight.
[Desire HD Android Development] inzaghi75:
Can you show us the changelog?
[Desire HD Android Development] sugardaddy1979:
It appears that the dsp chip causes a battery drain for me until I play a sound the first time. Sleep draws 40 tp 75 ma with srs a spk on. I'll play a notification sound and then it goes back to 1 to 7 ma. While sleeping. I thought the dsp drain had been fixed forever ago.
[Desire HD Android Development] LorD ClockaN:
I have no problems with dsp.

You can just press volume keys once and that will get the drain to normal

Sent from Desire HD with BlackIce ROM
[Desire HD Android Development] ductam:
icons and fonts too small. There is no way to solve?
[Desire HD Android Development] qkall:
change teh dpi in icetool
[Desire HD Android Development] Sully6789:
I've noticed a problem with Icetool when changing dsp settings, might just be me though. When making any changes, it causes a skip in music playback. Full wiped, then made changes in just dsp manager, no skip. Once changes are made through icetool though, it skips every 30 seconds or so. Even changing back to original, still skips. A full wipe is the only way I can fix the problem. Anyone else?
[Desire HD Android Development] sugardaddy1979:
Ti

That deactivated the dsp setting then right?
[Desire HD Android Development] stuffinthesky:
Didn't have time to flash. Will wait for final, as I have all weekend. Been wanting this more than ics. If its as nice as it looks/sounds, I have found my favorite rom. Will let you know how it goes...
[Desire HD Android Development] LorD ClockaN:
Once upon a time was a way to activate drain fix, but it was fixed

I just wanted you to try that
[Desire HD Android Development] sugardaddy1979:
It does stop the drain, but dsp setting has to be reapplied after.
[Desire HD Android Development] LorD ClockaN:
I don't think so..

IceTool replaces Gscript Lite app

when you chose a profile it's like you made a script or run "snd3254 -dspmode xx" in terminal

also this ROM comes with 2 settings already enabled at boot, so if you want to change them or remove their starting, edit system/etc/init.d/99custom script and deleto those few lines, and reboot

you must than reaply dsp setting with icetool every time, or edit those lines with appropriate dsp profiles to be run at boot
[Desire HD Android Development] sugardaddy1979:
Interesting thing, turning the dsp on with that command does not cause drain, but

Echo 12 | snd3254 -dspmode

Does......
[Desire HD Android Development] LorD ClockaN:
it wasn't even supposed to be run like "Echo 12 | snd3254 -dspmode"

because snd3254 is a binary, and you just need to run it with appropriate arguments
[Desire HD Android Development] sugardaddy1979:
T

I take it back. Drain is still there and script does not apply at boot from init.d
[Desire HD Android Development] LorD ClockaN:
you must remove our dsp customization from 99custom script

and you must add appropriate permissions to your script (give it all permissions)
[Desire HD Android Development] sugardaddy1979:
I did. Not sure what issue is. Voltages apply, dsp setting and powersave_bias won't. Beats me... :-!
[Desire HD Android Development] LorD ClockaN:
I think that the powerbias and governor is also set in 99custom script

Sent from Desire HD with BlackIce ROM
[Desire HD Android Development] Rdlgrmpf:
@The Unknown Noob: Could you make me the same PNGs in 36x36? No need for our device, but I want it to be as complete as possible and therefore need the mdpi
[Desire HD Android Development] TUN_SD:
No problem, but today i need some time. Have to go working.

send with telepathy
[Desire HD Android Development] Rdlgrmpf:
No problem, I am changing source code right now. Actually it doesn't seem to be that difficult because all changes that need to be made in other classes are commented. But I will wait for the files with a first compile.

Should work now. There is an onHandleLongPress()-method that normally calls the appropriate settings. So long pressing Bluetooth-icon open bluetooth-settings and so on. These are system-calls with predefined Strings. Now longpressing BLN should start com.cyanogenmod.cmparts.activites.led.AdvancedActivity. I had a look into http://developer.android.com/reference/android/content/Intent.html but if anyone knows how to start that for sure please tell me otherwise I will try:

Intent intent = new Intent(getApplicationContext(), com.cyanogenmod.cmparts.activities.led.AdvancedActivity.class);
Activity.startActivity(intent);
[Desire HD Android Development] alienmind:
Click power button when you get an incoming call, I think it silenced it. Can't remember though I haven't use the feature for a while

Sent from my resurrected DHD
[Desire HD Android Development] TUN_SD:
Hola, the files should be online now. use the link.
[Desire HD Android Development] Rdlgrmpf:
Thank you, I have them on my drive, I'll do a school-project now and then will look over my changes again.

I'll try

intent.setClassName("com.cyanogenmod.cmparts.activities.led", "AdvancedActivity");
[Desire HD Android Development] BereanPK:
Using the version from post #1 (2.6.35.14-LorDmodUE-8.6+), am downloading latest build from post #3, will try this and see if it makes a difference and will report back...

Thanks!

UPDATE: Re-flashed with latest Beta build (BlackICE.v1.26b2-20120105_015845.zip), problem appears solved. Thanks for the guidance!
[Desire HD Android Development] Rdlgrmpf:
The icon, when it is on looks kinda like a screen :D I personally think they are fine and suit perfect into the rest but maybe it is possible to make them a little more button-focused ;)

Everything works except for long-pressing it (systemUI crashes). I have to overwrite the longpress method but I could leave it empty. The nicer thing would be opening the advanced led settings, which makes me trouble.

Will investigate.
[Desire HD Android Development] alienmind:
Sorry, I haven't been following the whole discussion about the button.

This is my method for toggling torch on long press home. Hope it helps.

private static final String TOGGLE_FLASHLIGHT = "net.cactii.flash2.TOGGLE_FLASHLIGHT";
...
private void toggleFlashLight() {
Intent intent = new Intent(LockScreen.TOGGLE_FLASHLIGHT);
intent.putExtra("strobe", false);
intent.putExtra("period", 0);
intent.putExtra("bright", false);
getContext().sendBroadcast(intent);
}

Perhaps you are missing some extra or something?

Who's listening for the intent? Be sure you properly declare the receiver of the intent on AndroidManifest.

The whole code of the patch is this http://review.cyanogenmod.com/#change,9700

BTW loving the feature and the icons. Good work guys! On Nexus S the feature is implemented mostly kernel side, which means that the repeating interval can be also parametrized via sysfs interface - no need for timers on java side for turning off and on. Not sure if it's more efficient in terms of battery life or not...
[Desire HD Android Development] Rdlgrmpf:
I was going to ask you about it :) But more because of ICEtools, which starts the Market. The problem is, that neither CMParts in general nor its activities have such Intents.

https://github.com/CyanogenMod/andr...rc/com/android/systemui/statusbar/powerwidget

This is where all the Buttons go. Every single one extends https://github.com/CyanogenMod/andr...stemui/statusbar/powerwidget/PowerButton.java .

One example that is similar to BlnButton:

https://github.com/CyanogenMod/andr...i/statusbar/powerwidget/MobileDataButton.java

As I read this I noticed, that I used setClassName(String, String) wrong. Will try again and report :D

//edit:

as soon as you do it right it works :D

intent.setClassName("com.cyanogenmod.cmparts", "com.cyanogenmod.cmparts.activities.led.AdvancedActivity");

works in my testapp, so it should in longclick

On my previous commit, Danny Baumann suggested changeable brightness. However there is no difference between 10, 150 and 255 on DHD. I don't think there will be on any other device.
[Desire HD Android Development] colt45x:
I flashed 1.26b2 last night from the first post and just called someone and they couldn't hear anything. I could hear them though. Was this a known issue. Maybe I'll flash lord's latest beta?
[Desire HD Android Development] Nark.GA60:
I think it's the volume rocker that silences the ringer.
[Desire HD Android Development] maatsby:
someone just above your post has had this issue resolved by flashing chezbel's latest kang, so give that a try. are you using an inspire? there was a mic issue that was plaguing inspires, but that's been fixed with Lord's latest kernel (which is included with chezbel's latest kang, which explains the fix)

true that, i think power will reject the call. volume rocker will silence the call
[Desire HD Android Development] colt45x:
Thanks. I just saw that post after I posted mine. I'm gonna try lord's latest beta, but not the latest KANG because I gotta head to work soon, but I'll report back if just the kernel flash works.

and yes I'm on an inspire.
[Desire HD Android Development] maatsby:
cool no worries. just flashing the kernel should do the trick, but it'd be good to hear how it goes
[Desire HD Android Development] Rdlgrmpf:
http://dl.dropbox.com/u/27975653/BlackICE.v1.26b2-20120106_225820_final_2.zip

-Option to turn BLN on or off in Advanced Led settings

-Statusbar-Toggle (Icons by The Unkown Noob)

-As with the other Statusbar-Toggles, long press to get into the appropriate settings

-BLN = softkeys turn on, whenever a new notification arrives

I will upload the changes to gerrit. But not immediately.

Maybe I will look into making the light turn off after a defined timespan. Not sure how that affects battery or how to do it yet.

Once they are on gerrit they probably be in Chezbel's builds and maybe even merged into CM so Chezbel can leave his cherry-farm ;)
[Desire HD Android Development] mwilky:
Back on blackICE now, the new market works great, thanks a lot everyone!
[Desire HD Android Development] TUN_SD:
Ok, the icons were not perfect. I will brainstorming at work, to find a better matching one. Ideas are very welcome!

I know I'm repeating me....

All of you, who worked on that light, did a great job! I can only say, Hats off to you guys! Respect!

send with telepathy
[Desire HD Android Development] maatsby:
What about something like this, a picture of the four soft keys in grey then in white? I've attached an example of what I mean (forgive the crude hand-drawn pictures)

btw +1 to the respect, the BLN is great!
[Desire HD Android Development] harrehk:
Loving the Backlight Notification featured in Chezbel's latest beta!

Props to Rdlgrmpf, Chezbel & anyone else I forgot to mention!
[Desire HD Android Development] TUN_SD:
Looks good, but i have 48*48 and 36*36 px. Would be difficult to create them, the idea is good, +1

send with telepathy
[Desire HD Android Development] Rdlgrmpf:
+1 on them, maybe unknown noob can do something like this. hdpi and mdpi then pls :D

maybe only 2 of the buttons?

I think I will try to implement a function to automatically turn it off after a certain time, right now I always turn it off at night. It's faster with statusbar toggle but still. And I think it increases the chances to go into CM
[Desire HD Android Development] colt45x:
flashed the latest beta kernel and it works fine now.

---------- Post added at 05:55 AM ---------- Previous post was at 05:53 AM ----------

sorry if this is a dumb question but what is the new notification thing in chez latest kang? The soft keys flash as a notification or what? I guess i could just flash and see.
[Desire HD Android Development] hdorius:
The softkeys light will turn on if there is a notification...just like the led blinking but this is the soft keys light will turn on
[Desire HD Android Development] colt45x:
cool that's what I thought.
[Desire HD Android Development] alienmind:
I'm building a KANG right now. I'll need those patches.

Can you send me separately as git diff output OR setup a github repository where i can cherry pick from?

I already have the patches pushed to gerrit as @Chez kindly set the patch url on ICEDroid/src

Thx
[Desire HD Android Development] Youngunn2008:
Hey guys sorry to bother while you are really in to some deeper programming stuff. On your ROM I like to use the disable the lock screen on security option, in cm7 settings, so I can go straight to swiping my pattern unlock.

Question-is it possible to reprogram the home button shortcut for torch to work on the security lock screen?

I'd really appreciate your guys expertise on this... :-)
[Desire HD Android Development] Ethere:
After flashing the latest LordmodUE kernel for my Inspire, some of the ICETool functions FC when using them. The Apps, GPS, and RIL tabs all make the app FC. Other than that, loving this rom.
[Desire HD Android Development] alienmind:
sure, will look into it

Swyped from my Nexus S
[Desire HD Android Development] Chezbel:
Which version of the ROM are you running? The 2 most recent ones on Post #3 have some ICETool changes and they are built with the latest LordModUE Beta kernel. Things have been working fine for me the last few days, but I'm using DHD so maybe there is a difference...
[Desire HD Android Development] TUN_SD:
something different.

what do you think about this idea for the icons?
[Desire HD Android Development] Rdlgrmpf:
+1

Sent from my Desire HD

//edit: @alienmind: emailed you the patches
[Desire HD Android Development] masterp7:
I must report the same, on DHD.

Kernel: 2.6.3.14-LorDmodUE-8.7-CFS-b2+

BlackICE.v1.26b2

BuildNbr GWK74
[Desire HD Android Development] colt45x:
Weird. I've always had all the tabs and they have never FC on me on any blackice release. I'm on latest lord beta and latest KANG with inspire...
[Desire HD Android Development] Chezbel:
For all of you flash-a-holics (including me), there is a new build on Post #3. The only difference from the last build is that a few new CM7 changes are included and i bumped the version to v1.26b3.
[Desire HD Android Development] altrstar:
Hey guys,

Wondering if you can confirm if this is a bug or just me:

Specs:

ROM: BlackICE v.1.26b2

Kernel: 2.6.35.14 LordModUE 8.7 CFS B2

Radio: 12.54.60.25U_26.09.04.11_M2

Symptom: Plugging in headphones (no mic included) during a call disables the device mic and starts the music player

How to replicate (on my device):

1. Initiate a call

2. plug in earphones (these are ones without a mic i.e. non stock HTC)

3. Call will either continue or end but music player will auto start and resume last played track.

In order use the headphones with a call and use the device mic I will need to first plug in headphones then initiate the call.

Please can someone give it a try and let me know?

Many thanks!
[Desire HD Android Development] TUN_SD:
Latest beta from chezbel. Headphones without mic works as it should. Do you have another musicplayer?

send with telepathy
[Desire HD Android Development] r0cafella:
BLN

Is their anyway to implement The BLN feature with it Blinking as the LED notification does?
[Desire HD Android Development] Chezbel:
Backlight is different from LEDs and requires software to control the blinking, so it's taking some time to figure out how it can be done.
[Desire HD Android Development] r0cafella:
Thanks for the reply Chez, I think it's a awesome feature as it currently is and i'm grateful for all the work which has gone into Blackice!
[Desire HD Android Development] Rdlgrmpf:
It is harder than the led because the hardware of the led does the blinking for you. There is a setFlashing method for all lights including the buttons but it will only turn it on. That is I suppose because the light object calls the native method in the device specific libraries. So if they don't have this blinking file like the led you would have to implement a service or something similar which turns the light on, waits, turns it off and so on. Just setting it on is way easier maybe less battery consuming and does the same job. But I might use the setFlashing method when I commit to CM gerrit so devices that support it will blink. I will have a look in one of those device's libraries but not today.

//edit: @the unknown noob can you send me those new icons in both sizes please?

Sent from my Desire HD
[Desire HD Android Development] r0cafella:
Thank You kindly sir, I hope ya'll don't mind me asking the noob questions i'm no Dev but i appreciate hard work
[Desire HD Android Development] Rdlgrmpf:
I sent blinking buttons in as a request initially ;)

Sent from my Desire HD
[Desire HD Android Development] r0cafella:
Great minds think-a-like ;)
[Desire HD Android Development] altrstar:
Yes I have the miui player installed as well, however what pops up is the default player.

Thanks
[Desire HD Android Development] maatsby:
something i noticed with the BLN,

if i get an email, the LED and back lights go on no problem. If I then read the new email on the laptop instead of the phone the LED turns off but the back lights stay on. they only go off after unlocking the phone the next time.

i'm not sure how that could be fixed but I guess there might be some extra LED behaviour that reads when the notification is gone that isn't added to the BLN
[Desire HD Android Development] Colpophage:
Weird I've only had ICETool fcs with the system tab, and only if I switch from Lord's kernel.
[Desire HD Android Development] Rdlgrmpf:
Actually i have not written anything that turns it off, because i thought you turn it on, click on the notification or delete it and the light is overwritten anyway then. Are you sure the notification is gone? Will look into code and see what i can do. Thanks for pointing that out :D

Sent from my Desire HD
[Desire HD Android Development] Pick_A_Name:
I was having FC's with the system tab. I gave up trying to fix it, but I guess it could have something to do with the kernel. I usually flash Talon's Kernel and the inspiremod 0.5. I have always had problems with the mic if I don't, but it might just be I needed the Inspiremod only and that Talon was causing issues with the IceTool. I flashed 1.26b2 yesterday with LorDmodUE 8.7 CFS b2 and IceTool is working fine. I think I'll do a nandroid and flash Talon and see what happens.
[Desire HD Android Development] maatsby:
yeah that's usually the case: if you turn it on and click the notification or delete it the light is overwritten. but if the notification disappears by itself without you touching the phone because the email isn't new anymore, then it seems that only the LED turns off.

not a big issue so don't drive yourself nuts about it!
[Desire HD Android Development] Rdlgrmpf:
Shouldn't be a big issue to implement :)

Sent from my Desire HD
[Desire HD Android Development] K Dotty:
How long have you had your phone?

I have the same problem. I found that it was down to the headphone port thinking that buttons are being pressed on your headphones (even if there aren't any buttons present) I tested this on my phone (which IV had since 11/10) and my friends phone running (12/11)

I tested this on multiple Rome, also and sense with the same headphones.

I just ended up freezing the stock music player as a temp fix. I was gonna send my phone to htc but I get my upgrade soon so Im gnna wait till I get my new phone.

EDIT:I listen to music 24/7 so I think the port on mine is a lil worn

EDIT2, Also causes the screen to randomly come on when headphones are plugged in.

Sent by wiggling my big toe