yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] hypergamer1231:
Awesome stuff there cheers mate!

With the Help pf HWA and the latest patched kernel by Rick I am able to play all the videos without any stutter in the gallery itself so I guess we now have a full ics ROM with HWA + camera + video recording and playback + youtube + GPS + Stereo Bt works fine..

All in all awesome work by the great devs all of you guys are awesome hence once the video recording works on roms with HWA all will be awesome. Guess the CM9 days are close cheers XDA:D:D:D
[HD2 Android NAND Development] arkatis:
I am also close to fix the problem on HWA Roms.. How did you managed to fix it so fast.. Do you sleep at all?? :D ;)
[HD2 Android NAND Development] dermann:
Hey rapmv78, thanks for the update. I really appreciate your hard work and time put into this. Just recorded 2 minutes and didn't have a problem. Pictures are OK, panorama works fine and barcode codes as well. :)

Also wanted to add, haven't had any crashes. Been giving it heavy use too. ;)
[HD2 Android NAND Development] bojanbl:
I just wanted to say thanks guys you made my day :D (I am not allowed to make more thanks for today)
[HD2 Android NAND Development] Domcek:
Can we test on HWA roms? What wouldn't work correctly? (Recording over 30 secs?)
[HD2 Android NAND Development] Crippius:
Same question here.

Can't wait to test it on AOKP rom :D
[HD2 Android NAND Development] ric69:
:rolleyes: It's better to wait :p I did not read carrefully and I flashed it on M5 lol

Now nothing work and all is black (camera/camcorder/LGcamera) ;)
[HD2 Android NAND Development] JeremyGuan:
*keep F5-ing for HWA enable Zip*
[HD2 Android NAND Development] arkatis:
LOL! :D

I need some more time! I am at work and I am currently working and fixing the issue at the same time. Multitasking is a hard thing to do for me :p
[HD2 Android NAND Development] Domcek:
Work and HD2

Well... I can only say that I hope that you rev up the multitasking challenge. :D
[HD2 Android NAND Development] Wafong:
Thanks for your great works!!!!
[HD2 Android NAND Development] rapmv78:
Thanks for testing. It would not have been possible without your generous donation in the first place :)
[HD2 Android NAND Development] rapmv78:
Thanks. Can you also point me to the link of the camera HAL source used in the HWA ROMs?

I was playing around with the ROM at http://xdaforums.com/showthread.php?t=1622788 as that was the one people pointed me at. I could not find the source link in the thread.
[HD2 Android NAND Development] bojanbl:
Xylo is using this rom as a base, but you could also ask him for source code ;)
[HD2 Android NAND Development] securecrt:
https://github.com/dk-zero-cool

ROM source is here , but I don't find the Camera HAL source
[HD2 Android NAND Development] Rick_1995:
The camera libs used currently in the rom are the same ones on the first post (the older one, not the newest).

In a PM from him, (i had asked him from where the libraries taken from)
[HD2 Android NAND Development] rapmv78:
Thanks for all your help. Never mind, I was able to figure out the link to source. Updated the OP with the fixed hal for HWA enabled ROMs. Please give it a try and let me know if it works for you as well.

Enjoy!!
[HD2 Android NAND Development] Rick_1995:
Video is working fine now, however panorama mode still force closes on me.
[HD2 Android NAND Development] bojanbl:
I don't have anymore thanks for today so I am going to say THANKS in this way :)))

:D:D:D

I can't believe what is happening here... I was almost sold my HD2 but now... It's gonna stay here much longer than I thought ;)

THANKS again :D
[HD2 Android NAND Development] ric69:
I confirm panorama FC ... but waaaou video is good news again :p
[HD2 Android NAND Development] babyvox550:
REG:

For HWA ROMs.

http://www.mediafire.com/?fvc918btgcjcn0d

download link abnormal, pls check
[HD2 Android NAND Development] Kameirus:
whats abnormal about it

works fine for me
[HD2 Android NAND Development] Xylograph:
Thanks rapmv78,

I see another step in development is made :)

First there is no development at all and now everything is happening within a week time... Great work

btw. I don't think they have a working panorama mode on any 'device like ours' .. correct me if I am wrong.
[HD2 Android NAND Development] nickholtus:
we have panorama on archos g9

xperia play (all 2011 models)

and a lot more
[HD2 Android NAND Development] securecrt:
I think your AOKP V2 is on the way.:)
[HD2 Android NAND Development] arkatis:
As i saw on the OP there is a fix for HWA enabled roms! I was working on my fix version also but it keeps force close on Panorama and video.. But when you close the camera app and open again everything works! Any help?
[HD2 Android NAND Development] Lucadp:
The same for me!! :)
[HD2 Android NAND Development] poyensa:
I could not extract the zip downloaded directly in my Leo, but was OK extracting zip in PC, then put the extracted folders it in Leo.

BTW video working fine in AOKP m5 SD version :) recording, zoom, reproducing, video & sound :)

Thanks!!!
[HD2 Android NAND Development] blacksn:
Quickmark doesn't scan barcodes... In panorama mode Camera crashes
[HD2 Android NAND Development] Lucadp:
I flash it via CWM!!! ;) great job, excellent!! :)
[HD2 Android NAND Development] mickotomic:
I tested it... It works but playback is problem... :D
[HD2 Android NAND Development] Lucadp:
Try Neoreader

Panorama mode is a known issue...

---------- Post added at 10:40 AM ---------- Previous post was at 10:38 AM ----------

Try bs player or quickpic :rolleyes:
[HD2 Android NAND Development] ric69:
Barcode scanner does not scan too here
[HD2 Android NAND Development] Xylograph:
To be honest.. I don't know the specs of the phones you are talking about and wonder if they have anything to do with HD2 cpu/gpu specifications ?? (2011 models?)

Yes, sir.. working on it ;)
[HD2 Android NAND Development] blacksn:
Is it possible to make video calls works in Skype?
[HD2 Android NAND Development] Dr_Grip:
Without a front camera this would make absolutely no sense at all.
[HD2 Android NAND Development] ad2003:
Well, if there'd be a mirror (or two in the game) it would! :p
[HD2 Android NAND Development] pirlano:
yes, search for hacked skype.apk ;) but it's not so useful since we don't have frontal camera :)

HERE:

http://xdaforums.com/showthread.php?t=1148708
[HD2 Android NAND Development] blacksn:
I tried hacked versions of Skype with Android 4, it doesn't work. In previous Android versions it works perfectly, its not a problem to rotate the phone for me.

Neoreader doesn't scan barcodes too.
[HD2 Android NAND Development] RoadXY:
Video is perfect indeed!

Panorama does FC on me.
[HD2 Android NAND Development] Domcek:
I've tried the new HWA patch, great!

Just observation... panorama non functional and video record functional till 1:29 min.

Thanks!
[HD2 Android NAND Development] roalex:
Is there any source code ? Im pretty sure all the qsd8k would benefit from progress :)
[HD2 Android NAND Development] clio94:
Unfortunatelly the new fix for video recording it breaks youtube videos :(

If you flash the fix and you cant play youtube videos you must flash again youtube fix from http://xdaforums.com/showthread.php?t=1441462 but then video recording breaks again.So for now we must choose between seeing videos and recording video :(
[HD2 Android NAND Development] JeremyGuan:
Yours behave such way after you flash the fix on top of your previous AOKP rom? Have you tried flash the new AOKP hd2 milestone 5 v2 (which I believe it has all the fixes built-in) ROm?
[HD2 Android NAND Development] clio94:
Yes i have v2.Also xylograph mention this issue in rom thread
[HD2 Android NAND Development] Shaeen:
10min+ video recording without lags or freezes.But it's only ~15fps... may be because I test camcoder in a damly lit room.:confused:

q: Is there any way to change the resolution? I think 800x480 will be enough. Or this question not for this topic?
[HD2 Android NAND Development] saroni:
great job～～～

thx
[HD2 Android NAND Development] rapmv78:
OP updated with a new flashable zip for HWA ROMs, which brings full camera functionality. Let me know if something does not work. If you want 800x480 for video recording, try editing /system/etc/media_profiles.xml and changing 640x480. I have not tried changing the video dimensions. You are welcome to try and report.

Enjoy!!
[HD2 Android NAND Development] steliosk:
It recording video ok but I can not play it...
[HD2 Android NAND Development] hypergamer1231:
try playing the second time and it will play for the first time it gives a error and then if you press ok and play again it works:eek:
[HD2 Android NAND Development] blacksn:
Quickmark not scanning barcodes, in Camera effects - faces application crashes...
[HD2 Android NAND Development] xanthrax:
What about youtube? Does it work?
[HD2 Android NAND Development] steliosk:
I do confirm it plays the second time!
[HD2 Android NAND Development] blacksn:
Skype video calls has started to work!
[HD2 Android NAND Development] ric69:
Ok report after applied last fix on Xylo's V2 :

Video record more than 30s well (don't play with media but OK with quickpic)

Barcode scanner scan well

Youtube is broken (sound but no video) after a boot, it crash the phone and reboot itself

Keep up hard work

A+

[edit] forgot to say, panorama works great ^^ awesome
[HD2 Android NAND Development] Shaeen:
video recording parameters

Reporting...

Ок I try to edit media_profiles.xml

<Video codec="m4v" bitRate="3000000" width="800" height="480" frameRate="24" />

and when I clicking shutter button - nothing happens

next try

<Video codec="m4v" bitRate="3000000" width="800" height="480" frameRate="15" />

same thing

also I try combination 800x480_30fps,640x480_30fps,640x480_24fps.

In case 640x480res preview was fine but recording did not started
[HD2 Android NAND Development] Crippius:
Thank you all for your hard work on HWA!
[HD2 Android NAND Development] tytung:
Download Youtube_fix_hd2_hwa_rom.zip and only replace libstagefright.so.

As a result, both camcorder and YouTube work well.
[HD2 Android NAND Development] hypergamer1231:
Where is this located can you please tell us
[HD2 Android NAND Development] blacksn:
try this fix for youtube if you already installed new camera software by rapmv78

or install new camera software by rapmv78 with youtube fix included for HWA ROM
[HD2 Android NAND Development] pirlano:
Minor issue:

Video effects cause camera FC, and some photo size doesn't work (green lines everywhere). Before camera fix all photo size (except a 4MP) was working good :)

So, the only things missing for a native ICS is:

native FM radio app

native usb tethering

hw decoder

few fix in video/photo :D (720p 30fps it's still a dream, waiting for some Cotulla magic :D also continuous autofocus like on old "shubcraft" sd builds seems to be missing in all GB/ICS builds, was a great feature, also touch to focus is missing, and autofocus is not good as some sense build with amaze camera. in sense 3.5, autofocus is really good, can zoom on laptop screen and see sub-pixel RGB, not possible in AOSP builds, autofocus in AOSP is not so good, focus is always a bit wrong :( )
[HD2 Android NAND Development] Thealshear:
FM is working as tytung stated with spirit FM radio
[HD2 Android NAND Development] pirlano:
i cannot download it in my country (searching apk on the web now), and it's still not native app :P
[HD2 Android NAND Development] j_svas:
+1 here!

Firstly thanks rapmv for getting video working smooth on HD2.

Earlier on Sense roms I was used to try this method on editing media_profiles, but no luck here. Yes I am also getting the same issues...

Also looks like we are have limited definitions in this file! May be some one knowledgeable can give us a working file from original ICS? + the camera app also looks to be not changing its GUI freely to show all 800 * 480!

One request: You can install LG camera from market and really see the action of this file to the settings it had please?

Well no complains and I am happy the 640*480 also as I could take videos of my 1 year kind with good quality :-) Thank you.

@Shaeen, need not worry much with hardcoding frame rate in m4v as it the actual m4v is defined at a later lines in the same file with a frame rate of 15 to 30 as below.

<VideoEncoderCap name="m4v" enabled="true"

minBitRate="64000" maxBitRate="8000000"

minFrameWidth="176" maxFrameWidth="1280"

minFrameHeight="144" maxFrameHeight="720"

minFrameRate="15" maxFrameRate="30" />
[HD2 Android NAND Development] Shaeen:
you want to say that fps is variable?
[HD2 Android NAND Development] j_svas:
Yes, in above range based on light condition
[HD2 Android NAND Development] noxwell:
Thanks for this hack, i'm trying to apply it to Acer Liquid. HAL is working fine video is recording, but i can't stop recording! It stucks here: MPEG4Writer::Track::stop(): pthread_join(mThread, &dummy);

mThread isn't stopping, and VideoRecorder hangs. Could you help me?
[HD2 Android NAND Development] ad2003:
comes from http://xdaforums.com/showpost.php?p=25818603&postcount=5526
[HD2 Android NAND Development] stifflers:
am i right here to ask for camera-development for the HD2?

can someone please give me a short summum whats the state of affairs is here?

thanks in advance!
[HD2 Android NAND Development] noxwell:
Got SW video encoder working in Acer Liquid using your hal from github and some changes in MPEG4Writer.cpp. Please, could you post your changes in MPEG4Writer.cpp, OMXCodec.cpp and other stuff, which were used to enable HW encoder? We will be very appreciated!
[HD2 Android NAND Development] randasecret:
Ultimate special fx give bars and crashes while accessing camera.

Using Nexus HD2 2.0 HWA
[HD2 Android NAND Development] vivebatu:
For rapmv78 - your work is awesome and thanks so much for your untiring effort In getting video working on HWA roms.

However it seems 480p and 720p videos do not work for now on HWA roms...480p is laggy and 720p does not work at all..both used to work fine on GB, so guess this is within the capabilities of the HD2.

Is it possible to get 480/720p videos working on HWA roms anytime soon?
[HD2 Android NAND Development] julioavalon2015:
Hi I'm having some probs with the camcoder, i quoted this because the pic that im getting while trying to playback a video even on a PC looks like that, im using the last version of Xylos ROM, is there any fix 4 this? thx 4 the help.

BTW I have not edit any file yet is a clean installation.
[HD2 Android NAND Development] Sandvold:
Does the youtube fix break stock video player for you guys?
[HD2 Android NAND Development] Xylograph:
Yes it seems it does Sandvold ;)
[HD2 Android NAND Development] clio94:
Yes but the strange thing is that if you push play 2 or 3 times video will start playing.and then even if you kill the app and restart it again,video starts immediatelly.But after device reboot it wants again 2-3 times to start playing.same for youtube.you must push play second time for video to start playing if the video is the first one that you play after device reboot
[HD2 Android NAND Development] tytung:
@Sandvold:

As clio94 said, the youtube fix doesn't break the stock video player completely.

BTW, do you know what changes in the source code for the youtube fix?

Especially for libstagefright.so.

@rapmv78:

Would you mind to share the source code patch for libmediaplayerservice.so, libstagefright.so, and libstagefrighthw.so to enable the m4v encoding?

Thanks.
[HD2 Android NAND Development] Sandvold:
Tytung we havn't pinpointed it yet, but i know where/which day it was done

https://github.com/Evervolv/android_frameworks_base/commits/ics?page=2

one of the changes the 29th was what "broke" youtube. We havn't found out which yet but reverting all that happened that day fixes it again, So guess we just have to remove the most likley suspects and go agian
[HD2 Android NAND Development] rapmv78:
Sorry for the late reply. Was out of town and keeping pretty busy. The sources are all up on my github. Rest of the required changes are in CM already. On a side note, you actually do not need libstagefright.so from my zip file any more as all the changes are in CM already.
[HD2 Android NAND Development] tytung:
Thank you.

Well, I built a ROM base off dk_zero-cool's CM9 git repository (not latest CM9), but I still needed to replace libstagefrighthw.so and libmediaplayerservice.so to make camcorder to be able to start recording.

Did you mean that all the changes are in the official CM9 git? Right?
[HD2 Android NAND Development] rapmv78:
Yes, the latest CM9 repo. I do have a change for hardware codec in libmediaplayerservice.so, which is in my github. If you apply that to latest CM9, you should be able to get all the functionality of the patch other than the codec libraries themselves, which are from gingerbread.
[HD2 Android NAND Development] tytung:
Thank you.

I had checked your git and found it.
[HD2 Android NAND Development] j_svas:
Hi Rapmv,

Some luck for 800 * 480 resolution also please?
[HD2 Android NAND Development] kcfong2:
Barcode scanning issue w/various apps (fwd from Tytung's thread)

Hello rapmv78...

Tytung asked me to forward a problem regarding barcode scanning to your thread from his ICS thread.

With his v2.1 ICS rom using your hardware video encoding lib as packaged, I am getting varied results on barcode scanning. Some apps, such as Inigma work fine, while others such as QRDroid (private, v5.1), and Out of Milk (using scandit engine), are producing images as shown in attached file. Others on Tytung's thread have reported similar.

My setup is a "stock" vanilla flash of Tytung's v2.1 ICS rom.
[HD2 Android NAND Development] dermann:
I've seen this too in a few other roms. From what I've tested, if you turn off the Navigation Bar it'll act normal again.
[HD2 Android NAND Development] kcfong2:
Great find. I have confirmed this as well. This implies that it has nothing to do with HWA, but the fact that the screen dimensions were reduced by anywhere from 24 to 48px (depending on the height of the navigation bar). I'm guessing that compressing the screen from 800px to 776px effectively throws the "vertical" off on the image, resulting in what we see.

I'll provide this find back to Tytung. Not sure who can/should approach the fix...

But again, big thanks, as it has resolved my problem (I just have to live without softkeys for now).
[HD2 Android NAND Development] rapmv78:
That was indeed a good find, Dermann. You saved a lot of my debugging time :)
[HD2 Android NAND Development] j_svas:
Hi Rapmv,

Guess you are very busy at the moment.. Can you also look at 800*480 camcorder possibility?

We did try to edit media profile xml but no luck, error screens posted one Page before... Not sure some codec missing? Even LG camera from market giving error at this resolution please
[HD2 Android NAND Development] Skateout:
Someone said that 720p recording is beyond the HD2's capabilties.

Well thats wrong. Look at WP7 and HD2. It works like a charm.

This is a matter of a proper Android driver for the HD2.

Unfortunately that wont happen for now.

That is why I use WP7, I need a proper MultiMedia device.

Although I have a second SD card so I can have DualBoot with Android on it.

HD2 Rulez :D
[HD2 Android NAND Development] kcfong2:
rapmv78,

Please take a look at this post in Tytung's ICS thread. We found that a softkey patch from Inndinky "solves" the problem by simply disabling the softkeys when in landscape mode. Since most of the barcode scanners I've seen automatically reorient to landscape, this patch bypasses the problem.

However, the underlying problem really still exists, that is, something about the px height of the navigation bar seems to throw off the barcode scanner engine on some products. Any chance you can look into this? As Tytung says, the softkeys are in the CM9 ROM, but maybe you can address it from camera driver side?

Thanks.
[HD2 Android NAND Development] zeubea:
Hi, rapmv78, (and sorry for somehow off-topic, because it is not about armv7 HW video encoding)

I have built your camera Hal module in my HTC Legend ICS ROM and works pictures, preview and somehow panoramic.Recording is working too, but I has got encoding problem with prebuilt codec, showing green inteleaved zones, although according to HTC Aria devs -very simimlar device- it is working in it. I have also tested several combinations of fr, preview size, frame size, etc. I have got enabled the kernel MSM_CAM_DEBUG option.

I am sync-ed with CM9 and this is my repo https://github.com/zeubea/

The pastebin of a recording http://pastebin.com/L9p2Jiud

HTC Legend is a armv6 (msm7x27 target board) device.

If you (or someone) would give me a clue, me and over 4 and half thousand users would appreciate it too much ;).

Thank you very much for your work!
[HD2 Android NAND Development] rapmv78:
Have you tried using software encoding to see if you still get the green stuff?
[HD2 Android NAND Development] zeubea:
The video is encoded with H.263 codec, so I suppose it is soft encoded.
[HD2 Android NAND Development] nygmam:
Just wondering if all these changes should be submitted to the cm9 base? Are these hd2 specific or could others using cm9 benifit from this?
[HD2 Android NAND Development] jayallen1980:
Sometime when I record a video it save it grey and I can't watch it anyone knows why
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] moyajaya:
I know that i can click and hold the home button to show recently used/running apps but I would prefer to just drag down the statusbar and see 8 icons of recently used apps.

I have tried different apps from market but most of them show a button that mimics holding down the home button instead of showing icons directly in the notifications area.

Any help with this would be appreciated. Thanks!
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] abhisahara:
Get rooted and install custom rom and then use jkay settings! Done!

Hit thanks if it helped :-D

BOOMED from my BOMBASTIC NOTE :-D
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] Techvir:
Easier options is to have one if these apps installed

http://xdaforums.com/showthread.php?p=23608864

http://xdaforums.com/showthread.php?p=17610431

@Taptalk-GalaxyNote
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] moyajaya:
Get rooted √

Install custom rom √ DarkyRom

Use jkay settings! X This one I think refers to the Deluxe Settings which I have but can't seem to find the option I'm looking for. Could you please point me to it? Thanks!
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] moyajaya:
Tried both but like I said in the original post. I'd like it to show icons of recently used apps horizontally. The second one is a full status barcreplacement and I don't want that. Appreciate your help
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] kotaro_14:
Use an HTC device? I'm not sure, but check out UOT Kitchen and see if they have that option. Basically you build your own status bar from scratch. I haven't heard any methods of using recently used apps in the Notification bar except for HTC.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] moyajaya:
UOT Kitchen doesn't seem to have this option.

About HTC, can't we have that implementation as an app? I would love something similar. thank you for the contribution!
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] droidsmith:
Quest continues

I miss this too. I just don't understand why this isn't an app all ready?
[Galaxy S II Accessories] Slow N Stupid:
ok so this is just for fun ( for now ) but i might seriously consider if it works and is cheap

so i'm looking for emergency charger.. so far that i've searched there isnt any thread asking for specifically this type of emergency charger..

the charger needs to be:

the cranking type AKA hand generator (u crank/spin the pipe to generate the power)

it has to obviously be able to charge our SGS2 (enough output)

does any one have one of those? or have experience of using it with SGS2?
[Galaxy S II Accessories] Tuqano:
I suggest you these:

http://www.duracell.co.uk/en-GB/product/portable-charger-1800mah.jspx

or

http://www.lindy.co.uk/portable-power-pack/84881.html

the last one has an attractive design!! So, these are the best 4 me;):D