yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] MacCarron:
I modified the sources to accomplish a similar result, sound on-off in lockscreen instead of camera. I do not know if the Virtuous guys did it in a more refined way, mine is a quick and dirty hack.

Built on 9.9.3, push attached jar in /system/framework/ from recovery, remember to backup the original or better yet do a whole nandroid just in case ;)

Basically the option is already there, if the camera is somehow busy the lockscreen will automagically show the toggle sound option, I have just forced it. If anyone wants to take a look at the hack and quite possibly redo it in a decent way:

In system/frameworks/base/policy/src/com/android/internal/policy/impl/LockScreen.java

public void updateResources() {
int resId;
[COLOR="Red"]//if (mCameraDisabled) {[/COLOR]
// Fall back to showing ring/silence if camera is disabled by DPM...
resId = mSilentMode ? R.array.lockscreen_targets_when_silent
: R.array.lockscreen_targets_when_soundon;
[COLOR="red"]//} else {
//resId = R.array.lockscreen_targets_with_camera;
//}[/COLOR]
mMultiWaveView.setTargetResources(resId);
}

And:

public void onTrigger(View v, int target) {
if (target == 0 || target == 1) { // 0 = unlock/portrait, 1 = unlock/landscape
mCallback.goToUnlockScreen();
} else if (target == 2 || target == 3) { // 2 = alt/portrait, 3 = alt/landscape
[COLOR="red"] //if (!mCameraDisabled) {
// Start the Camera
//Intent intent = new Intent(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA);
//intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
//mContext.startActivity(intent);
//mCallback.goToUnlockScreen();
//} else {[/COLOR]
toggleRingMode();
mUnlockWidgetMethods.updateResources();
mCallback.pokeWakelock();
[COLOR="Red"]//}[/COLOR]
}
}

While I'm at it, if anyone's interested I'm also attaching my custom keyboard (had to zip the apk because of attachments filesize restrictions) and my Mms.apk. Bigger keys, smiley key is reverted to default return key while in messaging apps, long press still shows smileys but all 21 of them instead of just 15. Same long press behaviour added to email mode. As far as mms.apk is concerned, reverted smileys to gingerbread ones and reskinned the few newly introduced ics smileys to match ginger style. Also fixed a couple of typos in both apks. I can provide sources if requested ofc. Both apks go in /system/app/. As always backup, don't blame me if the world ends after pushing etc etc :p
[Desire HD Android Development] mrro82:
+1. Works fine for me too.

Sent from the future with an Inspire 4G powered by Doc Brown and 1.21 gigawatts.
[Desire HD Android Development] fishykipper:
Thanks mate, this works perfect, just used root explorer and dropped it into the system/framework folder. I like the transaction effect as you apply sound on or off.
[Desire HD Android Development] DonStieberto:
C#mon guys....good work! Go on! It will work!!! :D
[Desire HD Android Development] LorD ClockaN:
@MacCarron:

thanks for the tip!
[Desire HD Android Development] imapjonny:
Thank you But One of my problems is that i cant start bootmanager in ics. After installation it does fc so i cant start it and restore the backup. What version of bootmanger are u usingor can u post a link to a working version
[Desire HD Android Development] Quinny899:
I flashed MIUI on it using MIUI and then flashed ics as the phone rom. If you get what I mean
[Desire HD Android Development] perern:
haha. autocorrect fail. the thing between "is" and "camera" shouldnt be there.

I was trying to say that the devs are doing a wonderfull job and, that I have been using this daily for a month
[Desire HD Android Development] Andy:
I also may have something to do with it.

Just don't mention the "camera" its like lord voldemort. ;)
[Desire HD Android Development] Gradjevinac:
Avada Kedavra to all guys speaking about camera !!! :)
[Desire HD Android Development] twistedumbrella:
Just the standard market version.
[Desire HD Android Development] eboye:
I also tried with bootmanager from market and failed in both restore and install other ROM to slots and ICS as phone ROM. Maybe some custom settings are needed?

Sent from my DHD with Lords ICS ROM
[Desire HD Android Development] Quinny899:
You must have a rom installed to a slot using a different rom (ie sense) as the phone rom. Then flash ics as the phone rom and it will work
[Desire HD Android Development] eboye:
Aaaah, thanks.... Going to do that right now ;)

Sent from my DHD with Lords ICS ROM
[Desire HD Android Development] Sammysdad:
In settings (hit picture of gear then menu) enable Force Large Boot.img. NOW you're good to go:D
[Desire HD Android Development] yvibes:
Say I'm on smartdroid and I want to install ics....can u please run through what I would have to do?? One last time
[Desire HD Android Development] Quinny899:
Download the rom you want to be on your SD whilst still on smartdroid. Using Boot manager, go to settings > force large boot IMG. Go back to the phoneRom tab and press backup phone rom. Now install the zip, using ext4 when asked. Attempt to boot the rom to make sure it works. Install boot manager on that rom also and boot back to your phone rom. Now flash ics as normal through recovery. You can still boot using boot manager (which you install again) back into your SD rom. Press the thanks button at the bottom of this post
[Desire HD Android Development] yvibes:
U misunderstood me a bit but o get it now anyways.....

I'm gonna restore my backup of rcmix 4.0,

Install boot manager, force large boot img, set it up as the phone from and then make a backup,

Install smartdroid to slot 1, wipe everything and select ext4

Boot into smartdroid and install boot manager

Boot back into the phone rom and install ics through recovery

Set it up as the phone rom

I wanted ics as phone and smartdroid in slot 1 :P thanks....will try tomorrow

sent from my dhd trying to get boot manager working -_____-
[Desire HD Android Development] Quinny899:
You got it. That will work perfectly :-)
[Desire HD Android Development] CuBz90:
:D Hilarious. Made me laugh! :D

----------

Fantastic work guys. Tried this ROM out and everything works perfectly for me, obviously apart from the 'you know what' ;)

I'm pretty sure I'll be using this ROM permanently when 'that which should not be named' works lol

Again, fantastic work!
[Desire HD Android Development] twistedumbrella:
New test version will be up in a few hours. I need someone to open camera, run logcat and post. Seeing if it is just my camera or camera in general that isn't connecting.

I didn't apply the camera patches for the kernel on my device either, so it is more about testing if they make the difference.

Should be up in about 2 hours, link is in the Sig. Yes, I said camera, and I am giving time to make backups and catch your breath over hearing the word "camera"
[Desire HD Android Development] Sammysdad:
I think it's funny no one has posted anything about this for over a half hour out of fear of being flamed.

Sent from my Inspire 4G
[Desire HD Android Development] Andy:
Or banned.... :)

If a dev wants feedback on the camera then it is no longer taboo!

Remember twisted wants logcats. not "It doesn't work" or "I can haz camera?"
[Desire HD Android Development] twistedumbrella:
I am looking to see if you guys also get the error commented

https://github.com/TwistedUmbrella/...58cae4b50a8217186f745acd#commitcomment-847257
[Desire HD Android Development] tnosz:
my donation

:D check out the digits!

Thank you for all your hard work!
[Desire HD Android Development] twistedumbrella:
Lol, and I thought hoping to fix it on the first edit was unrealistic.
[Desire HD Android Development] truc007:
Hi, I'm really interested. I can't find such a folder on my phone.

I went in /system/framework/ but no more folder after that.

That am I doing wrong?

I planed to just modify the java file with root explorer.
[Desire HD Android Development] twistedumbrella:
The java file is the source that goes into making the file. Can't be done on the phone. I can try to put something together that links it to a build.prop value
[Desire HD Android Development] jwhood:
hey twist did rapmv78 files help any on fixing u know what,i attached a logcat with those files dont know if it would help you or if u modified your own code or are trying to apply the cm patch that was approved several days ago!!

sent from the home of the "WIRE"
[Desire HD Android Development] twistedumbrella:
Check his thread. I'm pretty sure he was just kanging the existing files from HD2 and then building them specifically for qsd8. I modified and cleaned up the HD2 files to allow building for ANY device as part of the build instead of as a stand-alone module.

Also, his files are QSD8, which means Nexus One, HD2, and Dinc. They would be useless to DHD and Tbolt.
[Desire HD Android Development] shadowswittness:
You need to set the option to force large image. In settings i believe. Worked for me. And have asop rom and a sense rom in slot 1 & 2. ICS in phone slot.

Sent from my Little Ice Cream flavored Black Box!
[Desire HD Android Development] cstayton:
LC, you need to add these lines to your init.rc

start sysinit

on property:cm.filesystem.ready=1

class_start default

right after the TCP Buffer sizes are set then your int.d script support will work again. i checked your ramdisk everything else is fine just missing those three lines.
[Desire HD Android Development] twistedumbrella:
Well the build tanked for ace due to a missing proprietary file I am trying to locate, but I was able to add in the lockscreen sound options before I attempt another build. For details, please see https://github.com/TwistedUmbrella/...mmit/0a740ec739903e08bd2d3c81a1704a93dcabeb7f
[Desire HD Android Development] existz:
I wanted to share something with you guys, for those that want a more stock aosp experience ..

Consider this just a PREVIEW, I do NOT want any bug reports just yet.., this is not CM or built from CM sources, this is for those that prefer a pure aosp experience..however I do use CM device and hardware files, so any device specific issues in CM will be in this. Where this is not built from CM it does NOT include CM features. Although I have added a few commits from AOKP, CM, CodeAurora, Linaro, 0xlab and a few others, so credits to all those guys and everyone here working on porting ICS to DHD

Again, please NO bug reports (I am aware of most of them since device/hardware files are the same as builds posted here by Lord/Twisted), if theres something major you think should be addressed, feel free to PM me..I don't want to clutter up this thread with 10 different builds based off 10 different things... again, this is not built from CM, so don't request CM features.. More info can be found in the README in the link below.

No bug reports please!

Credits to romanbb of TeamKang and AOKP for the original quick toggle code!

Full Wipe Required!

Download Link:

http://berryfx.com/RobBeane/Test/

Source code:

https://github.com/aospX
[Desire HD Android Development] jwhood:
i also tryed to rename qsd8k.so to msm7x30.so but didnt have any luck (rapmv78 files) that is,hope you can figure it out and have no doubts that in time you will!!!EDIT:even ran chmod cmd lines in terminal emulator to no go,have you uploaded the modified hal modules or lib's or have you not implemented them into your new build yet??

sent from the home of the "WIRE"
[Desire HD Android Development] twistedumbrella:
The code in libcamera changes from 7x30 to qsd8, so a rename won't work. I am using actual source to build the files he posted. It isn't that dirty, I just don't think he wants to get called on the kang.
[Desire HD Android Development] jwhood:
yeah i was on irc with him trying to get it to work on the mt4g and had no luck i know that the dhd is almost identical to the mt4g except screen size and im not a expert and still have alot to learn but im trying i kinda thought it was kanged after i read that older thread from dec the (wip ics camera development) well continue sucess with your work and thanks again

.

sent from "WORLD 8-4" BOWSER'S CASTLE"
[Desire HD Android Development] Nark.GA60:
That looks like what's in Virtuous Quattro?
[Desire HD Android Development] twistedumbrella:
There was a delay in releasing the test. It had nothing to do with the source, which was fixed for the missing prop hours ago. The difference between what Linux will accept in a script and what MacOSX are make or break. Had to sort out the rewrite that was meant to cut the size in half but seems to have caused more problems than anything. Hopefully it gets running soon to get this out.
[Desire HD Android Development] existz:
Probably is.. I originally took it from romanbb (AOKP for Galaxy Nexus) but only used certain parts so the need for their app isn't needed, just having those 6 toggles by default.. his most recent layout has quite a few more toggles added and is controlled with an app like CMParts, but I only wanted something simple and what would look like it was actually part of AOSP, so I stripped out a little bit of what he originally wrote..instead of all these addons/apps..etc..etc. trying to keep everything close to the experience Google intended.

Edit

Yea, its kind of the same mod from romanbb, didn't notice it was in it.. lol.. oh well, but still leaving the link up for those that want a more stock experience instead of CM..
[Desire HD Android Development] LorD ClockaN:
I have script running that.. At least I should have it..

Sent from my Desire HD with BlackIce ROM and ICS crouching in restore option
[Desire HD Android Development] truc007:
That's really nice but I have no problem if you focus on real priorities. This is just a fine tuning, I can live without it. I thougt it was easy... I add build kangs just to try before, maybe it's time to try again ;)

Edit: I've seen it has been taken into account. Thanks!
[Desire HD Android Development] MarkM83:
Im on 0.9.9.3 and theres no light on the buttons, is it something that needs to be turned on ??
[Desire HD Android Development] giraffe777:
Hi, I am new to this thread. I installed ICS build 9.9.3. It works all OK. Battery life is excellent. GPS locks under 10s.

I know, this is not meant for suggestions, but I miss from this ROM digital clock widget and battery icon with percentage.

Can someone tell me difference between beta 6.2 (from 1st post) and build build 9.9.3 (from 3rd post)?

Regards, Ales
[Desire HD Android Development] LorD ClockaN:
Disable auto brightness

Or enable

Sent from my Desire HD with BlackIce ROM and ICS crouching in restore option
[Desire HD Android Development] skystealth:
Nothing. All fixes are done by lordclockan.
[Desire HD Android Development] thesaltonsea:
Im with 0.9.9.3 and no problems, only one thing that is like that from the first builds, the contacts that are in my sim card are not shown , i need to use app like Contacts2Sim to copy them to my phone's contacts list. Am i doing something wrong ?

Thanks for the good work devs, cheers :)
[Desire HD Android Development] lovegu:
You can do it from "People" app

People->Menu button->import/export-> import from sim
[Desire HD Android Development] fishykipper:
Morning friend, this can be done, I done it yesterday and its fine. Download the attached 'android.policy.jar' from the previous page, then move it into /system/framework. Just drop it there. For safety purposes, go into system/framework first and rename the original, android.policy.jar to something like ,'android.policy.jarll', rendering the file unusable then copy and paste over the file you just downloaded. Then reboot your phone and enjoy!!

Edit: damn Android auto correction, lolz
[Desire HD Android Development] thesaltonsea:
Didnt know that, thanks, will try after flashing next build :)
[Desire HD Android Development] nqk:
I tried this ROM (beta 6.2) today in hope that I could feel the ICS, but I then couldnot pass the initial lockscreen. :D.

Restoring at the moment. Will try again with the next release.
[Desire HD Android Development] thesaltonsea:
Did you make a full wipe before flashing the ICS rom ? :)
[Desire HD Android Development] Multisaft7:
this is only a bug or isn't it?
[Desire HD Android Development] nqk:
yeap, twice.
[Desire HD Android Development] arknailed7754:
Im going to say it man....

Any news on the thing that takes pictures and flashes lol...

I shall say this only once....(allo allo)
[Desire HD Android Development] leeston2379:
Haven't tried the 6.x builds but I installed lords version yesterday with no problems. Maybe worth trying that.
[Desire HD Android Development] leeston2379:
listen very carefully,

twisted is working on it but has yet to release a working version. He asked for a log cat of the camera starting not to far back in this thread, so I believe he is making progress.
[Desire HD Android Development] kblof:
"Originally Posted by combustiblemonkey

search your SD card and EEPROM for the file wpa_supplicant.conf

delete it

Originally Posted by combustiblemonkey

I actually posted a fix much earlier in this thread that worked for me when ICS didnt want to talk to my router.

And then not three pages later I was flamed for telling someone to L2Search for that same issue.

Originally Posted by LorD ClockaN

yes, I saw your post.. and looks like no one even tried that

Originally Posted by levanoza

You are not alone my wifi don't want work too

@Levanoza I think they're talking about this one."

Didnt work for me still no wifi, cant connect to wpa encrypted wifi but can connect to wep encrypted???

lc 9.9.3 full wipe, tried new kernel, virtuous beta 3 same problem.
[Desire HD Android Development] arknailed7754:
Dude lol i get its a taboo subject got to ask though

Sent from the underground bunkers in london
[Desire HD Android Development] twistedumbrella:
There was a bug with auto-brightness, which was then fixed (partially) due to a reversed setting for docked versus undocked, which was then further fixed when they realized they had only fixed it for one scenario and not both.

https://github.com/TwistedUmbrella/...mmit/53cf4f8cb8a7c85daf6ed41dff82bae820f23a15

https://github.com/TwistedUmbrella/...mmit/b1f28f4a545a6d7ef0e15871a81392af4ddf9db6
[Desire HD Android Development] twistedumbrella:
Because...?

The Thunderbolt currently does not have data due to the unique design of the RIL. Mobile data is obviously a very desirable feature, so in a way it is a very similar scenario. Allow me to quote the message about data and simply replace the word "data" for the current situation...

"Data is not fixed, but I will not forget to mention when it is so there is no need to check the status."

On another note: I don't get to use it until it works, so it's not like I am too busy off taking pictures to worry about getting it into a build. That is a big factor in why my build process is unlike most developers. The process goes edit local copies of forked projects, commit to github, run build script, (which in turn will) sync repo from github, build source, upload output of compile. There is literally about 20 minutes of upload time where I have something locally before its available to the public. This way I know the source I offer works, I don't forget to offer a fresh build, and I get to see the entire process without skipping any steps that might fail for someone else. When it works, it will be available, and I have no doubt at least one person will mention functionality at least once ;)
[Desire HD Android Development] arknailed7754:
Because twisted...the same as gingerbread...the cameras a crutch again, when its done i can use the rom daily,i get the devs working hard etc,i know its annoying..i dont understand about logcats and **** like that in 'dunmies guide' way im asking the question. And yep over 732 pages this is the 600th time of someone asking..

And ill probably ask again at page 890

Good work,appreciate the time you all put in,but ill ask it lol
[Desire HD Android Development] truc007:
I think I had such problem with WPA. Choose WPA2 it works.
[Desire HD Android Development] twistedumbrella:
Perhaps the greatest piece of code I have ever written:

# User-based code for blocking specific forum members

banuser=`busybox grep -m 1 -iF 'username' /data/data/com.quoord.*.activity/shared_prefs/com.quoord.*.activity.ForumNavigationActivity.xml`

if [ $banuser ]; then

# Fill in specific function, process or item to prevent

fi
[Desire HD Android Development] arknailed7754:
Interesting...wrong side of bed this morning eh

Sent from the underground bunkers in london
[Desire HD Android Development] kblof:
thanx truc but wifi is already wpa/wpa2 and no choice on dhd?

only happened after flashing virtuous beta3.
[Desire HD Android Development] truc007:
It works... partially.

I mean that I have the volume at lockscreen now but when I boot my phone at the first unlock i have "sorry, the process com.google.gapps has stopped working" (translated by myself, maybe not 100% accurate).

I also notice that on our ICS the power button is working in lockscreen. So when the phone is locked it's possible to stop or reboot it.

This before the above modification. Don't know if it's a bug or the normal ICS behavior.

---------- Post added at 07:15 PM ---------- Previous post was at 07:14 PM ----------

Yep, was talking on router side.
[Desire HD Android Development] twistedumbrella:
What bed? No time for sleep if I want to finish this before the nagging actually starts to disrupt my real work.
[Desire HD Android Development] arknailed7754:
Its not nagging man,ill end this camera **** here,looking forward to when its complete, cheers

Sent from the underground bunkers in london
[Desire HD Android Development] twistedumbrella:
I do get a kick out of how serious people get on here. It's the internet, it's nagging, whatever. I'm not going to go sit in a corner and cry over it.

Latest Build Completed:

Mon Jan 9 06:14:31 EST 2012

Please Allow 30-45 Min.

Notes About The Compile

Update RIL, Update camera source, general updates
[Desire HD Android Development] Pfaffinator:
Hope he gets it, but I doubt it.
[Desire HD Android Development] arknailed7754:
Not serious twisted just saying,people are to quick to jump,check the runny support thread thats nursery time at the moment

Sent from the underground bunkers in london
[Desire HD Android Development] twistedumbrella:
I don't read that thread, ever. I leave that aspect of this device to the original owners. Most of the time it is just "misplaced the search button" issues that work themselves out or get posted somewhere in the time between "issue was resolved in code" and "build was released to public"
[Desire HD Android Development] zelendel:
OK guys do I really need to come in here and clean up again?

We all know this is a huge WIP at best. Learning to do logcats and other basic troubleshooting steps is a given when doing something like this. Also all question should be in the proper thread. Meaning the Q&A thread.

This is a development forum so people getting a little upset about people asking questions that have been answered a dozen times is understandable. The developers work hard on a free prodject that takes time away from family and personal time. They deserve respect and the ability to post updates without the same questions over and over again. When a big fix is done trust me you will not be able to miss it like the camera.
[Desire HD Android Development] twistedumbrella:
Where's the fire? Nobody is upset.

Best way to get logs for camera is to hook up the usb cable, do a fresh boot, open camera, wait a couple seconds and do adb shell logcat > thislog.txt the file will be in whatever folder your terminal was at when you ran the command.
[Desire HD Android Development] arknailed7754:
My bad on this one,couldnt resist

Bit of banter hurts noone

Sent from the underground bunkers in london