yashsingh1/xdaforums huggingface dataset:
[Milestone XT720 General] hhcat:
This post is better to be in xt720 Dev board. But it is a pity that I don't have the privilege to post in that board now. So anybody who kindly help forward to the dev board would be great appreicated.

For quite a long time, we sufferred to HD record issue in CM7. And I spent some days inveistigaing this issue and fortunatelly got some interesting findings to share.

1. 720p HD recording fail becasue of wrong width and height parameter pass to function createOverlay in libsurfaceflinger.so.

02-13 17:38:12.030: D/TIOverlay(1876): overlay_createOverlay:IN w=768 h=432 format=99

02-13 17:38:12.030: I/Overlay(1876): v4l2_overlay_init:: w=480 h=854

02-13 17:38:12.030: I/Overlay(1876): v4l2_overlay_init:: w=768 h=432

02-13 17:38:12.030: I/Overlay(1876): v4l2_overlay_init:: w=768 h=432

Here we see, the paramter passed to createOverly is (768,432). And in comparison with 2.2 stocked Rom, the right parameter should be (1280,720) for HD recording.

2. The wrong width/height parameter is set in libcameraservice.so. Perhaps CM7 forbids HD recording...

02-13 17:38:12.030: D/CameraService(1540): Changing overlay dimensions to 768X432 for 720p recording.

And double check by open libcameraservice.so, we found the matched words in the above at the address of 0x000ae00h. The very possible guess is CM7's libcameraservice.so check width/height parameter, whenever it detect the parameters are for HD record, it reset the paramter to (768,432)!!

Proposed solution:

If someone could kindly help modify the code to comment the piece of code and build a new libcameraservice.so, we may have chance to bring HD recording back.
[Milestone XT720 General] Zachary57:
I forwarded into developpement thread but I don't know if it is the only problem because librairies from 2.1 to 2.2 and 2.3.
[Milestone XT720 General] hhcat:
Great thanks!

libcameraservice.so is the current blocking issue I have identified. Certainly, there are possible some issues come out after we solved this one.

BTW, I've enabled 720p hardware video decoding in CM7. The phone could now play 720p video smoothly. This should be a good basie to fix HD recording issue.
[Milestone XT720 General] Mioze7Ae:
Interesting. I don't have much to say about this at the moment, but for now I can point you into the source (Line 767):

https://github.com/CyanogenModXT720...ces/camera/libcameraservice/CameraService.cpp

These commits seem relevant (from the "blame" view):

https://github.com/CyanogenModXT720...mmit/a930c3c872cf6eaa57bfdddc923132cf0d48564b

https://github.com/CyanogenModXT720...mmit/cf997d0147228ece729ceb95745d20905664426d

Edit: So, it looks like to set the overlay size to whatever we want, we just change line 74 of CameraService.cpp to put the desired resolution. The other part of the puzzle is to adjust media_profiles.xml to add the HD profile. I had done that in the past by copying settings from decompiled MotoCamera, but the screen would go black and get weird or cause a reboot when the camcorder was switched to HD. I think your finding about the overlay resolution might explain why.

FYI: *Temporarily*, I don't have access to an XT720 (due to a laundry incident that took out both my second XT720 and my wife's Nexus S--so she's using my primary XT720 and I'm luddite mode until we sort out what to do about her phone--surprisingly they both may have survived--they power on, the XT720 boots all the way but no touch (when the screen is on you can see some streaking under the screen so I think possibly some residual moisture is interfering with capacitance so I'm going to let it dry some more--I tore a different XT720 into tiny pieces recently and there's a whole stack of paper-like pieces under the screen and I think they're still somewhat wet) and the NS turns on but get's stuck at the Google logo even when trying to enter recovery so I think it needs to be reloaded, I've only made it as far as fastboot mode on that one due to only having a power-only usb cable handy at the time).
[Milestone XT720 General] peshovec:
what you mean by 720p playback?

i have tested with youtube videos (searched for 1080p hd :)

what other test can be made?

btw, hope you will be able soon to post in the devel section
[Milestone XT720 General] hhcat:
Hi peshovec, I also read your reply in dev board.

As you got the same finding and have already fixed the code, could you please share the new built libcameraservice.so? I don't have CM7 source code at hand, and it will take me several days to sync. Last month, I spent near two weeks to sync CM9 code ...

And one important thing, we might need to keep libcameraswervice.so compatible with old 2.2 driver libcamera.so. libcameraservice.so from other 2.3 Rom contains a new function "_HAL_Camerainfo" ( sorry, did not remember clearly) that does not implemented in old libcamera.so. The trick I saw in the code is to "#define BOARD_USE_FROYO_LIBCAMERA".

I am quite interested to follow-up on this HD record issue with all of you help!
[Milestone XT720 General] hhcat:
And for 720p playback, I mean to hardware decode some 720p video.

Xt720's CPU is able to support h264 baseline profile, but could not support H264 high profile. So I am afraid for 1080p video and H264 high profile 720p on youtube, our phone still could not play with hardware decode.

The trick to fix 720p hardware decode is to use old xt720 2.1's codec: lib\hw\*, and libOMX.TI.*. The existed libOMX.TI.720P.Decode.so in CM7 support other phones (e.g. Defy) well, but not support xt720.

I tested my phone after the fix of 720p HW decode with one 720p video, and found my phone could play the video smoothly with either Moboplayer or Moto Videoplayer. And before the fix, the playback could only use SW decode, and even overclock to 1GHz, the pictures was still lag behind of voice.
[Milestone XT720 General] hhcat:
Hi Mioze7Ae, I also did investigations on media_profiles.xml and build.prop.

Acutually, stocked 2.2 xt720 Rom is not necessarily to rely on those settings in either media_profiles.xml or build.prop. As you observed, all resolution parameter was set in Camera.apk. I tested xt720 2.2 Rom without media_profiles.xml and none of related settings in build.prop, 720p HD video still work fine. And for xt711 phone, it even don't have media_profiles.xml in the official Rom.

Ah, 5 post now. Still need 5 other post ...
[Milestone XT720 General] peshovec:
here is it (attachment)

also here is the mediaprofile.xml (which i use), with high and wide working

https://github.com/CyanogenModXT720...la_sholest/blob/pesh-modif/media_profiles.xml

can you try to search in youtube for 1080p hd videos and try to play some of them? i am curious if they will play on your setup (`couse in my test build i am able to play them...)
[Milestone XT720 General] hhcat:
Thanks for the attachment! I will have try and give update later.

I tried to play some H264 high profile video: voice only and no pictures.

xt720's CPU fail to HW decode thoese video.

The workaround solution is to download the video, then we could choose SW decode in mediaplayer ( I used moboplayer). But the video play is very terrible, the picture play frame by frame, even though I have overclock to 1GHz.
[Milestone XT720 General] hhcat:
Haha, the quick update is HD 720p recording preview work fine! Verly clearly and smoothly view from preview window!!

On the way home now, will do some more tests later.

Mark: 9 post now :)
[Milestone XT720 General] hhcat:
Yeah, 720p HD recording is perfectly fixed!

Now we could enjoy HD recording in CM7!

BTW, I didn't tested your media_profile.xml. Now I used the one in 2.2 stocked ROM.

10 post now, heihei...

I will packed my Rom and share in Dev board tomorrow.
[Milestone XT720 General] thrallz:
Great job, it's awesome and sweet.

I‘m looking forward to it!
[Milestone XT720 General] fjfalcon:
omg, lol, so can someone confirm that hd video really work on any cm7 ? =)

well, afaik good that you have fixed preview.

Problem now in hd encoder...

Well.. we don't have it.
[Milestone XT720 General] peshovec:
my fast testing doesn't seems good...

preview ok, but can't focus well (after try-ing to focus, the focus is set to the minimum distance), recording seems to start, preview display freeze. some file is generated trough.....

but that should be just my setup (is motoroi with the moto froyo able to record 1280x720p ? , if yes we can find way*)

p.s. *remark. in my opinion 1280x720 recording is just marketing, also it is not job for the phone to record at this resolution, working wide 848x480 is more than enough...
[Milestone XT720 General] hhcat:
My phone is able to HD recorde in 2.1 and and 2.2 Rom, but lose this ablity when upgrade to CM7 2.3 Rom.

Not sure whether our phone have some HW difference.
[Milestone XT720 General] hhcat:
I am uploading my Rom to DEV board.

Have a try.
[Galaxy S II General] ithehappy:
We are dying to get ICS and JB is coming on Q2 this year. WTF?

Loved the Chrome OS dual boot option anyway.

• http://www.gsmarena.com/android_50_jelly_bean_to_arrive_in_q2_with_chrome_os_dualboot-news-3839.php
[Galaxy S II General] Kaze105:
Does it really matter for SGS2 since its mainly for tablets?
[Galaxy S II General] Logi_Ca1:
Hmmm I'm wondering what other improvements there are other than the tablet specific improvements.
[Galaxy S II General] krazykat:
Could be a minor update (more background stuff).

Sent from my GT-I9100
[Galaxy S II General] crachel:
This is an Android iteration and should be discussed in the Android General section.

Maybe this thread http://xdaforums.com/showthread.php?t=1500260 (there are several others).

If this was a launch date for Jelly Bean on the Galaxy S II, then that would be pertinent to this particular section.
[Defy Q&A, Help & Troubleshooting] nidhish91:
Hello members.

I just found a strange issue that I have started facing lately whenever I try to flash a custom ROM on my Defy.

Current stock ROM was 2.2.2

I rooted it and tried This ROM. After flashing it I realized my Proximity sensor stopped working after sometime and my memory card was out of space according to my cell though Astro and ES explorer could access it and I could play music too but my cell still said that Available memory was 0 ( It had 1GB free memory )

Then I changed the ROM to 2.3.7 posted by Quarx hoping it would solve my issue but I had same 2 issues again.

My stock ROM is working perfectly and is not showing any issues. Please tell me what do I do ?:confused:

I want to use custom ROMs real bad :3
[Defy Q&A, Help & Troubleshooting] kanna91:
1) after taking the nandroid backup of ur stock rom .. clear the cache from stock recovery..

2) then u come to custom recovery (via CWM) and wipe data/factory reset and than u install CM7 and flash Gapps .. then wipe cache & dalvik cache ...Reboot :)

i think u wont be having any problem after doing this..

Cheers :)
[Defy Q&A, Help & Troubleshooting] nidhish91:
I have the sbf file of the Stock Rom so thats not an issue. I did try the steps you told me to follow but I had the same problems ! Dont know whats causing it.
[Defy Q&A, Help & Troubleshooting] King_Rat:
plug defy into pc... enable SD file transfer... copy all SD contents to pc... get a new SD card... insert it into ph & copy contents from pc to new SD :cool:
[Defy Q&A, Help & Troubleshooting] nidhish91:
Why do I buy a new SD ? Its a sandisk class 4 4GB card which is working. The problem is when I use it with ROMs
[Motorola Droid RAZR] ExtraDan:
i hope you enjoy it :D

sorry for some anatomy mistakes, i used only pen, i wasnt able to undo my mistakes...
[Motorola Droid RAZR] greeky510:
Haha, that made my day. Thanks for the good laugh.
[Motorola Droid RAZR] Shuyin10:
Ahaha ^^ The Droid Razr haven't a date yet, just de Razr, no ? ( Q2 )
[Motorola Droid RAZR] Eddy T:
Outstanding!
[Motorola Droid RAZR] mestisso79:
very very good
[Motorola Droid RAZR] circleofomega:
V V GOOOOOOOOD!! hehehhe..keep it up...mind showing a couple of devices at war...LOL!
[Motorola Droid RAZR] ExtraDan:
lol, thank you guys.
[Motorola Droid RAZR] Semseddin:
It's just awesome man ;)
[Motorola Droid RAZR] iolinux333:
funny as hell
[Motorola Droid RAZR] akatsukilover:
Nice
[Motorola Droid RAZR] D.O.C:
Guys, pls do not se any profanity on your pictures. Rememver this is a family oriented site.
[Motorola Droid RAZR] ExtraDan:
so i should edit it ?
[Motorola Droid RAZR] D.O.C:
The first one is ok, the second one with f**k word is not, reason why I removed it :)
[Motorola Droid RAZR] Brynn217:
nice... funny thing is, you posted that on the same day the first ICS rom came out for the Razr!
[Motorola Droid RAZR] ExtraDan:
i dont remember this action..
[Motorola Droid RAZR] ExtraDan:
i found a time to edit the cursing.

here you go.

enjoy.
[Motorola Droid RAZR] ExtraDan:
bump...bump..
[Motorola Droid RAZR] romdroid.:
Haha nice one, moto just need to replace their CEO asap
[Motorola Droid RAZR] great2c4me:
Very nice! I like it 'very much!

But I think I have been duped. I thought we'd be gettin some ics - i thought I got a sick phone 4for a great buy...

'er body know that the xt912 is now $45 on wireless.amazon? (Thanks?)
[General Topics] BrarBoy:
I rooted my device "Xperia x10 mini pro" using 'Unlock Root', unlocked Bootloader, installed BusyBox and Root Explorer. Installed xRecovey, CMW Recovery and whatever it was required to REBOOT into recovery. :(

Switched Off my phone & pressed back button when Sony Ericsson logo appeared but nothing happened. It didn't into recovery.

I am so disappointed now and don't know what to do to get into recovery :confused:

It would be a great help if you could let me out from my problem.

Thank You :)

Model Number:U20i

Build Number:2.1.1.A.0.6
[General Topics] akash6969:
Hello

Hello, Did you manage to put the sony x10 mini pro into recovery??

I have same problem, please get back

Thanks
[General Topics] MoonBlade:
try to press the volume down button intermittently during the boot .. thats how i get into the recovery (CWM) in my mini pro (SK17i) .. but since urs is X10 mini pro im not so sure if my method will work for ur fone ! theres no harm in trying :)
[General Topics] Felimenta97:
You have to keep smashing the back button until the recovery appears.
[General Topics] omaroe666:
hold power and vol up button and release power after it turned on if you come into recovery mode your done : )
[General Topics] Atrax2010:
None of these methods work for me.

I rooted the phone, unlocked the bootloader, have xrecovery on it, I was even using the custom rom for a while, but when I tried to restart and enter recovery, I couldn't.

Now my rom will not even start up normally, and I can't get FlashTool to force it into recovery since the phone has to be turned on for flashtools to do that.

Am I seriously going to have to do the whole rooting procedure all over again?:mad:

EDIT:

Solved

omfg You really have to keep SMASHING that Back button, holding it does nothing!

Thnx, and God bless HTC.
[General Topics] Felimenta97:
I had this phone just before the Xperia S. I told you :)
[Motorola Droid Bionic] iNsAnEmOd:
Found this at DroidmodderX

Looks pretty cool

It looks like ICade the company that produced the highly successful ICade cabinets to retrofit your IPAD as an old school arcade game has now put together a pretty sweet looking controller that is compatible with Android devices that they call the “8-bitty” . It won’t be available till later this year, but this looks to be a wish list item for sure! The 8-bitty will be rocking 8 buttons, 4 on the face, and two shoulder buttons, the dpad controls all the moving. This will be compatible with all the games that are currently compatibel with the ICaDe such as pacman and 100s of other retro arcade games!

http://droidmodderx.com/2012/02/15/icade-8-bitty-coming-soon-and-supports-android-devices/
[Sony Ericsson XPERIA X10 Mini] TheCareTaker:
I installed SDK on may PC with Windows XP x64.

When I connect USB to it. I still get unknown device. And I can not connect to my Xperia Mini ST15i with adb.

This is the description of may unknown device.

Name:

SEMC HSUSB Device

Device Instance Id:

USB\VID_0FCE&PID_5167&MI_01\6&20F0D602&0&0001

Hardware Ids:

USB\Vid_0fce&Pid_5167&Rev_0226&MI_01

USB\Vid_0fce&Pid_5167&MI_01
[Sony Ericsson XPERIA X10 Mini] StardustGeass:
First things forst, this is an Xperia X10 Mini and Xperia X10 Mini Pro section (E10 & U20i), so you're on the wrong thread :)

Maybe you should try install sony ericson PC companion from online first...
[Sony Ericsson XPERIA X10 Mini] TheCareTaker:
Thank you for noting that I am on the wrong thread, my mistake.

I haw installed PC companion. Noting changed.
[Milestone XT720 Android Development] Zachary57:
Hhcat post that but unfortunally he can't post in this thread so, I forward his post.
[Milestone XT720 Android Development] peshovec:
corresponding code

frameworks/base/services/camera/libcameraservice/CameraService.cpp

#ifdef BOARD_USE_FROYO_LIBCAMERA
struct camera_size_type {
int width;
int height;
};

static const camera_size_type preview_sizes[] = {
{ 1280, 720 }, // 720P
{ 768, 432 },
};
#endif
.........

..........

#ifdef BOARD_USE_FROYO_LIBCAMERA
//for 720p recording , preview can be 800X448
if(w == preview_sizes[0].width && h==preview_sizes[0].height){
LOGD("Changing overlay dimensions to 768X432 for 720p recording.");
w = preview_sizes[1].width;
h = preview_sizes[1].height;
}
#endif

as you findings match my digging:) (e.g. if videorecording is set to 1280x720, no overlay is show on the display, however some file is generated)

i changed to

#ifdef BOARD_USE_FROYO_LIBCAMERA
//for 720p recording , preview can be 800X448
if(w == preview_sizes[0].width && h==preview_sizes[0].height){
LOGD("Changing overlay dimensions to 768X432 for 720p recording.");
w = preview_sizes[0].width;
h = preview_sizes[0].height;
}
#endif

will give feedback when have time to test....

p.s. will put again relevant information from the camera blobs....

preview-size-values=176x144,320x240,352x288,640x480,720x480,720x576,800x448,848x480,1280x720

video-size-values=176x144,320x240,352x288,640x480,720x480,720x576,1280x720
[Galaxy S II Themes and Apps] princeferoz:
I can create most PNGs but I don't know how to create .9 PNGs and I don't know how to create XML to change font colors. I am hoping some themers can help me in creating a green ICS ROM. I want to call it Mint ICS. Thanks.
[Galaxy S II Themes and Apps] odysseus84:
Yeah, I would realy like to see a green theme. But just change the ICS blue into green (not too dark) with no other changes...let everything that is white, white and everything that's black, black. just change blue to green ;-)

Have a look at this gNex theme for example... that's to much themed!

Importand Question:

Did you mean a theme for Stock or AOSP?
[Galaxy S II Themes and Apps] princeferoz:
whoa, that looks awesome, thanks. I will take this advice :)
[AT&T Samsung Galaxy Note I717] techntrek:
http://www.thetechblock.com/articles/2012/samsungs-super-sized-galaxy-note-changed-my-life/

The Note. Not just a phablet anymore.
[AT&T Samsung Galaxy Note I717] CykoDad:
Just gave it a read over at Gizmodo a few minutes ago. Great article!
[AT&T Samsung Galaxy Note I717] HarmonyFlame:
Lol awesome article.
[AT&T Samsung Galaxy Note I717] Punchatron:
Took me a couple of seconds to find the Note in the nightstand picture.
[AT&T Samsung Galaxy Note I717] techntrek:
I figured we needed a happy review around here with all of the negative reviews coming out!
[Defy Q&A, Help & Troubleshooting] cristianpark:
Hi guys

I'm having problems I guess CM7 related, maybe you have experienced one ot them (or all like me):

- SNESdroid: It doesn't work, when I try to load ROM I get a black screen and I have to kill the app

- GoLauncherEx: It works fine but I can't change themes because it doesn't do anything. If I try to add an app to desktop by the menu of GoLauncher it try to load apps list but exit immediately, and get same behaviour if I try to go to preferences of GoLauncher

- Games: After 15 min aprox of playing some games (AngryBirds, TripleTown) the cellphone get locked and I have to press power button to unlock it and the game quits

When I installed CM7 I didn't did 'wipe dalvik cache' since in [1] says anything about that, I tried yestarday doing 'wip dalvik cache' from 2init but it doesn't change anything

I'd like to know if the bugs are app related, CM7 related (or I did a bad installation). SNESdroid is the most important for me, do you manage to got it working?

Thanks in advance

[1] wiki,cyanogenmod,com/wiki/Motorola_Defy:_Full_Update_Guide
[Defy Q&A, Help & Troubleshooting] mankymoo:
this happened to me, once. Nothing really seemed to work except a fresh install of CM7, by the book, and note... you need to wipe Dalvik cache before you flash the rom, or it won't work right. ;)
[Defy Q&A, Help & Troubleshooting] cristianpark:
Fixed

That was it, I have to reflash the build again. Currently I have CM 7.2 Nightly and it works pretty good. Thanks for your post mankymoo

PD: Can a mod mark this as solved please?
[HTC Flyer, EVO View 4G] redandwhitearmy:
i am sure htc will not give official support for flyer on this... but curious tat if dual boot android with chrome os is possible on flyer...

http://www.gsmarena.com/android_50_jelly_bean_to_arrive_in_q2_with_chrome_os_dualboot-news-3839.php

google will release it in q2
[HTC Flyer, EVO View 4G] Paul22000:
Sounds fake. :eek:
[HTC Flyer, EVO View 4G] AidenM:
Yep, Google's gonna bash their only just-rolling out OS with a new one in a couple of months. Sure.

OP, I know you were trying to share some news but just please use reliable sources (GSMArena is a site I've never heard of).

Not flaming. In fact, nowhere in the rules does it say you have to give reliable/confirmed info. But as my rule of thumb, this is the case.
[HTC Flyer, EVO View 4G] s0cal:
Pardon me but gsmarena is pretty reliable. They are a forum which reviews mobile devices.
[HTC Flyer, EVO View 4G] Kudzus:
Yes GSMarena is pretty reliable. A lot of sites are reporting this (PC World and DigiTimes) are two.

It seems that JellyBean will be a tablet update from HoneyComb

here's a quote

"Android 5.0 Jelly Bean will come in two flavors: Google and Microsoft. The article said that brand vendors "can either choose to adopt only Android 5.0 or add Android 5.0 to Windows 8 devices with the ability to switch between the two OSes without the need to shut down the computer."

One the most exciting aspects of Windows 8 is its flexibility--that you can jump from tablet to smartphone to game console and back. Adding Google products to the mix makes Microsoft's upcoming revamp of Windows even more insanely thrilling, and may be the very bullet to shatter my iPhone once and for all."

Maybe google got tired of all the Apple lawsuits and decided to drop the big hammer.

edit: Thanks nikhiltanwar for the heads up
[HTC Flyer, EVO View 4G] MrS600L:
My 2c for those saying it's an unreliable source...

http://news.cnet.com/8301-17938_105...nd-android-jelly-bean-to-wait-or-not-to-wait/

Sent from my HTC Flyer
[HTC Flyer, EVO View 4G] redandwhitearmy:
this is reliable source only... what i was wondering is tat can 1.5 ghz cpu can hold it smoothly... i am sure 1 gb ram is enough but problem is cpu....and i am sure HTC will not give anything to us now.... so its upto our forum developers only to do some good for us.... and most of details will come during may-june when google will release it... cheers
[HTC Flyer, EVO View 4G] Paul22000:
Just because a story gets copy/pasted on various websites, doesn't make the original source any more valid.

Just like the iPhone 5 rumors that got copy/pasted on pretty much every single tech website on the internet, and guess what? 100% of them were wrong.
[HTC Flyer, EVO View 4G] AidenM:
Heck, sites like Engadget had iPhone 5 rumors
[HTC Flyer, EVO View 4G] MrS600L:
Granted, but do we know for sure that there wasn't an iPhone 5 on the cards, & they changed to 4S because they lost Jobs, & weren't fully prepared? No.

No-one is saying this is fact. We're just sharing info here. Take it with a pinch of salt.

Sent from my HTC Flyer