yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] JovieBrett:
Wow it really works in Smultron! specially in Video mode but in Photo mode, flash does not work. Other than that, no such erros been saw! Thank you :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Steph310:
Flash works!

In fact it's icon flash inverted bug.

Select no flash, it's auto mode! ;)

(Flash is no flash, auto is torch...)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] JovieBrett:
Wow it worked haha! Thanks!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] porcupine02:
Thanks, that did the trick. Build finished successfully and it's running just fine on .77 Mango.

For a few hours I haven't had a single reboot or wifi dropout, but I will push it with youtube playback later.

My router is running OpenWrt (but pretty outdated build) which should support all those fancy low power mode so it might have to do something with wifi stability.

ADB gets root access and sideload works fine, too. Neither charging from wall socket or PC caused any issues.

Key and keyboard lights are not working. I have always disabled back and menu backlight, but keyboard lights are actually useful. Torch is working.

ALS is working perfectly and it's really responsive. I would say it works even better than light sensor on Nexus 4!

Camera preview is fine and flash icons are fixed, but when opening or switching to gallery by swipe it shows green grass instead of nice grey background

like on CM10 after flashing your .zip. (I know it should show preview, but since we can't have that, grey is so much better).

All I can say is thank you devs! Mango isn't going anywhere for a long time. :D

EDIT: I have just realised that camera FC's when switching to video recording. I have this commit:

http://review.cyanogenmod.org/#/c/32906/

logcat: http://pastebin.com/XEK37VHs

EDIT 2: There is no grass preview with your zip and video recording works. Only flash icons are messed up.

I have replaced CM Camera and Gallery2 repos with mine reset to 4.2.1 and containing your changes.

https://github.com/vulpesvelox/android_packages_apps_Camera

https://github.com/vulpesvelox/android_packages_apps_Gallery2

I have also repo download(ed) http://review.cyanogenmod.org/#/c/32906/ so I don't really see what I'm doing wrong?!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] gandhar:
actually i replace that ugly image after compiling with one i made.

also i am happy to say that i have managed to merge most changes from the latest cm code into the old 4.2.1 base, so we can get newer features.

hdr is not working, so that force closes..

the flash toggles have been fixed,

all the features from the old zip work, plus some new ones,

you can find latest changes here

https://github.com/gandhar/android_packages_apps_Camera

https://github.com/gandhar/android_packages_apps_Gallery2

attached :

flashable zip with latest changes,

the list of commits which were leading to conflicts, so we may have to manually merge them. (some 4-5 of them are actually translations)

and the image i used to replace the ugly one, once again, i have only tested in cm10.

edit:

note that the Camera git uses the test branch.

edit:

after a recheck, almost everything got merged, except 1 commit in Camera

https://github.com/CyanogenMod/andr...mmit/31c9282f16e102b4d4b22aa592085b859f2de0b0

and 1 commit in Gallery2

https://github.com/CyanogenMod/andr...mmit/08201817c03ba3d7cdbc717d8097607ce1d1ab3a

i'm rebuilding right now, we may have a very functional 4.2 camera afterall.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] gandhar:
here is the latest one, this has the timer feature merged,

known bugs are:

panorama

hdr - only works on android 4.2 (confirmed here)

people on android 4.1 can use the x_cm10_gallery2, which has hdr disabled.

rest all seems functional.

sources have been uploaded,

i hope OP doesn't mind me posting the app progress here.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] porcupine02:
I have rebuilt from your repos and video is working! I didn't see your edit about test branch at the time and rebuild with latest changes is in progress.

Ugly grass is in packages/apps/Gallery2/res/drawable-mdpi/wallpaper_picker_preview.png and packages/apps/Gallery2/res/drawable-hdpi/wallpaper_picker_preview.png so you might want to change it in github repo.

EDIT: Flashed zip and HDR is working?! Also voice shutter works. :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Somyab:
can you tell me how to use hands free persistent feature?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] gandhar:
see this,

https://plus.google.com/u/0/115049428938715274412/posts/VdSfDDEw1AA

no, hdr does not work, it clicks the 3 photos with different exposures, but during combination it force closes.

i'll be looking into that.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] najodleglejszy:
works on FXP222 too. thank you! and yeah, HDR doesn't work, but it's not a big deal for me. also, would it be possible to turn the focus and shutter sounds off? ^^
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] porcupine02:
Here 3 pictures get combined. End result looks ****ty because of my shaking hands and slow shutter speed, but there are no FC's.

I have also noticed there is no animation after taking picture so I can't really tell whether it's taken or not.

EDIT: [MENTION=4606235]najodleglejszy[/MENTION], just set phone to mute.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Somyab:
Voice capture dosent work on latest release
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] porcupine02:
Works here. Saying 'Cid' takes photo.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] najodleglejszy:
[MENTION=4747967]porcupine02[/MENTION]: I know, but it's a pita to set phone to mute everytime I want to take a photo, cos the sound is bothering me. but I guess I can live with it.

EDIT: waaaaait, or I can change those system sounds to empty .ogg's or whatever format they're in!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] gandhar:
it never works for me, maybe its my voice.

thanks for reportign this,

are you on cm10.1?

looks like its using some api 17 stuff, and i'm on cm10.

about disabling sound, do what porcupine02 said.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] porcupine02:
I'm on cm10.1 built today.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Mysteryagr:
New here..

I have Jelly bean Camera fixed by Rizal Lovins, can this be flashed over it?

Also is it more optimized?

I'm running cm 10 by fxp.

Respect to all the developers and thanks in advance.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] najodleglejszy:
[MENTION=4796617]Mysteryagr[/MENTION]: I'm on FXP222, I've flashed it over Rizal Lovins' camera, works fine :) dunno if clearing Gallery's data is necessary, but I did to be safe.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] gandhar:
for people on cm10 i have attached a zip with hdr disabled,

here

http://xdaforums.com/showpost.php?p=42089626&postcount=444
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] GianniDPC:
Voice Control doesn't work here tried saying 'Cid' 'Cheese' and 'Whisky' none of them seem to work :(
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] porcupine02:
To make voice shutter work, open Google Search and check Hotword detection under Voice in menu.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Vynikal:
Great work gandhar!

Am I the only one around here who thinks it's time for a new relase with this implemented? :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mauam:
No, I think the same, but remember that Mike has a personal life too, so we must be patient & give him time for the new release.:)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Arun Av:
The screenshot is taken from the settings menu of video mode from gandhar's latest gallery2 fixed camera on mike's cm10.1...

Shouldn't this have the 720p/480p option? And if not, I think the 'jpeg quality' option is irrelevant since it's the video mode.

BTW, couldn't record/find/initiate any 720p recording despite having lupus 720p enabled kernel flashed. Maybe the ability is removed in latest patch?

/-------

#Rom | Kernel : Unofficial CM10.1 by mikeioannina | Lupus jb v7 (720p enabled)#

#Device : st15i#

-------/
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] gandhar:
i'll switch to cm10.1 tomorrow, so i will be able to test this better.

till then, use the old zip, if it worked for you.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Rizal Lovins:
Hi ... nice work buddy :good:

i have fixed new camera 3 days ago, but i get something wrong when i adding option video bitrate to 2x (default & 2x = 6000000 & 12000000) like Camera JB+

can you edit your source in android_packages_apps_Camera to add 6MP options for 8MP camera like urushi or anzu? you know it ;)

i don't use linux for now also i don't have much time for this

if you don't know how

add this line in res>value>arrays.xml

<string-array name="pref_camera_picturesize_entryvalues" translatable="false">
<item>4208x3120</item>
<item>4128x3096</item>
<item>3920x2940</item>
<item>3920x2204</item>
<item>3264x2448</item>
<item>3264x1968</item>
[B]<item>3264x1836</item>[/B]
<item>2592x1944</item>
<item>2592x1936</item>
<item>2560x1920</item>
<item>2560x1536</item>
<item>2048x1536</item>
<item>2048x1232</item>
<item>1920x1080</item>
<item>1600x1200</item>
<item>1392x1392</item>
<item>1600x960</item>
<item>1280x960</item>
<item>1024x768</item>
<item>1024x600</item>
<item>800x600</item>
<item>800x480</item>
<item>640x480</item>
<item>320x240</item>
</string-array>

also don't forget to add this line in strings

<!-- Settings screen, dialog choice for 8 megapixels picture size [CHAR LIMIT=15] -->
<string name="pref_camera_picturesize_entry_8mp">8M pixels</string>
[B] <!-- Settings screen, dialog choice for 6 megapixels picture size [CHAR LIMIT=15] -->
<string name="pref_camera_picturesize_entry_6_4mp">6M pixels</string>[/B]

flash mode only for urushi (Ray)(urushi doesn't supported auto flash) so use this

<string-array name="pref_camera_flashmode_entryvalues" translatable="false">
<item>off</item>
<item>auto</item>
[B]<item>torch</item>[/B]
</string-array>

And flash mode for other Xperia 2011 like did you use

<string-array name="pref_camera_flashmode_entryvalues" translatable="false">
<item>off</item>
<item>auto</item>
[B]<item>on</item>[/B]
</string-array>

once again nice work buddy, have a nice day ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] gandhar:
this should be in the cm gerrit since its not affecting other devices at all,

perhaps someone can push it to the gerrit, i am no git expert.

also the latest sources are now on LegacyXperia repos, and they are much better too.

don't use mine, if anybody wants to compile.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Arun Av:
That wl be great!! And BTW thanks for your work :)

/ -------

#Rom | Kernel : Unofficial CM10.1 by mikeioannina | Lupus jb v7 (720p enabled)#

#Device : st15i#

-------/
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Somyab:
Can anybody provide me trimmed Latin_ime apk.without multi languages except English
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] cajhin:
Camera

Arhem, this is now the "ROM for Mini and Camera for All" thread, right?

There's a problem with the new camera on the Ray (Mike's rom+kernel built last night):

the preview is stretched to the 16:9 screen. It should have a black canvas top+bottom.

The images are saved with the correct aspect ratio (3:2?)

It crashes quite often. I guess you can see that without us providing logs?

Thanks for your work!

I'll continue with the slow but very reliable 'Camera Zoom FX', but it would be great if the stock camera would ever work reliably.

Ideally, without Mike having to spend much time on it.

Would-be-nice-to-have:

- a visible indicator that a picture was taken

- replace the "grass" image

Update:

1. With "Store Location" enabled, the logfile was spammed with ±20 lines per second. It seems more stable with that setting off.

2. The remaining crashes were all because of

"java.lang.ClassCastException: com.android.camera.StaticBitmapScreenNail cannot be cast to com.android.camera.CameraScreenNail". Would you like logfiles?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kv1dr:
The grass image is now replaced with camera icon.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Mysteryagr:
[MENTION=4449659]gandhar[/MENTION]:

I suggest to make a new thread for this Camera, for more people able to see it and to keep things more organized.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mauam:
That's really a good idea. Please gandhar, make a thread just for the camera.:)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] gandhar:
i don't have the patience to write a separate thread, if one of you want to help, you can make one in the apps section and attach the files i attached here. latest sources are on LegacyXperia github. put me in the credits section and i'll be happy. don't forget irii-soft either.:good:

the camera modifications are almost done, i mean we have an almost fully working camera except panorama. there are some bugs in cm10.1 that are irritating the camera, i'll be looking at them now,

the cm10 zip will probably be the last since its pretty much stable.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Lucaviola:
Gandhar, can you remove panorama opt from camera? Would be great then..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Lek525:
I hope you have done well in your exams Mike, anxiously waiting for the update. :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] bululu:
This may sounds stupid and as i am a noob in the whole customrom things i hope you forgive me the following question within this thread.

I successfully flashed bootrom and Mikeioanninas CM10.1 20130515 - ROM and if i compare his screenshots in his 1st posting here and my phone i notice a difference in the version of baseband.

On my phone its xxxxxx-46, he has yyyyyyy-72.

Did i made something wrong in flashing his custom rom? And if so, what can / should / must i do?

best regards,

bul
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] zerorated24:
Baseband is not affectedwgen you flash a rom or kernel. If you want the latest baseband 77, you can flash. 587 ftf first before flashing the kernel and ROM
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kosmo666:
First sorry for the lake of logcat, cannot do it for the moment, so just for information (will try to develop later) :

i've just made a fresh build with the new source by mike :

- lot of fc of gallery when i launch JB camera

- camcoder doesn't work

I've try to flash the last camera.zip by gandhar :

- less fc on JB camera

- camcoder still doesn't work

With previous build (before legacycamera remove), with the zip provide by gandhar :

- no fc

- camcoder work

As i said, it's just for information for the moment, i'll try to logcat later.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Mysteryagr:
I can make this for you, but I thought it will be better if you done this by yourself as you will have the ability to edit 1st post in the future updates.

Edit: Already done by [MENTION=3563392]mauam[/MENTION]

Thread here: http://xdaforums.com/showthread.php?t=2306961

sorry didn't noticed
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] gandhar:
thanks. this is indeed very interesting,

i understand your point,

mauam has already made a thread, thanks though..

http://xdaforums.com/showthread.php?t=2306961
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
Do you have this http://review.cyanogenmod.org/#/c/32906/ ?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kosmo666:
nope, first i've tried to applied it but it cause error on repo sync so i'll think about a difference with the new fix.

i just build just from the source + the last repo download of this page :

https://github.com/M66B/cm-xtended/blob/master/merge_requests.sh

(i don't apply the audio-caf too because of your 22 may comment)

Maybe an enormous mistake by me ?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rzepa90:
What's best mix of governor/scheduler/freq for this ROM?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Steph310:
If it can help you, I use baseband 77, smartassV2 / SIO, 122.1017Mhz and I'm delighted (I had some reboots with H3...).

I use too last 3.4-03 nAa kernel.

No reboot, wifi, camera 4.2 work fine and battery drain is excellent (same cm10).
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
No, you can ignore the audio-caf commit for now since it doesn't do anything.

The libstagefright commit is needed for camcorder or else it will be broken.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rzepa90:
I didn't experience any reboots on SmartassH3@ 1.2GHz and ROW scheduler but the battery last for max one day(about 70% drain - wifi on: max 1-2h/day, music: 1h/day, games: 2h/day, data: max 1h/day).

nAa 3.4 kernel was my previous choice - camera wasn't working so I flashed mike's kernel.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Steph310:
Camera 4.2 with focus setting

First thanks for your fantastic work! :good:

About HDR, the result is not good, even phone perfectly still. But this is not your fault ;)

It's why I use now your cm10 zip that perfectly works on 4.2.2 (without unusable HDR feature).

By cons, I wanted to share with you a great feature found in this thread (v1 cm10.1 zip)

It's a focus menu in settings (see screen shot). :victory:

I could test it (despite the black screen I can take pictures and record videos) and it is really an interesting contribution.:good:

If you ever can or want to add it ... :fingers-crossed:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Steph310:
Originally Posted by Steph310 View Post

Thanks Mike!!!

M66B solved minimum brightness level that was too high. You added this improvement in your update?

Sorry Mike but I don't see difference in mini brightness level that was too high despite M66B resolution :confused:

Really troublesome during night with night clock (not this problem with cm10, nice black background not too much illuminated)...

May be stupid question but the fix is in kernel or rom?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] gandhar:
this is indeed very good, although unusable right now.

i have left david, the person who made the thread a message, if he is happy to share, i'll make it.

if he does not, i'll try to add the options myself.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] najodleglejszy:
OMG, that would be, like, the bestest thing, I really miss focus settings!

note: even if you don't make it, I'm still terribly grateful for all the magic you've made with the camera app :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] gandhar:
turns out it was fairly easy to add this,

i have made a thread for the camera mod in the apps section, where the discussion can take place in its right place and not in the dev thread of the rom.

thread link:

http://xdaforums.com/showthread.php?p=42161157
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] cajhin:
Question: do I need to patch your git repositories with anything (libstagefright, more?) so that I have the same binaries as you?

I hope this might be helpful: about http://review.cyanogenmod.org/#/c/32906/

Would be good if that was accepted by CM; but it seems that Ricardo Cerqueira has a valid reason to reject it:

"Uh... Why? This wasn't needed for 7x27A in cm10, why is it needed again in 10.1? Qualcomm's stuff 7x27A starting from ICS does support metadata."

I don't understand the details, but my answer would be:

" It is actually needed in cm10; debug.camcorder.disablemeta 1 is set in

https://github.com/CyanogenMod/android_device_semc_msm7x30-common/blob/jellybean/msm7x30.mk

The /system/build.prop in a plain fxp214 install has the disablemeta setting.

It is also needed in cm10.1 for all Xperia 2011 devices.

"

Is RC right that the 7x27 drivers since ICS support the meta features? Then I don't understand why it needs to be disabled.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
I don't understand why this isn't merged in 10.1 yet, it's there for many months. It is a very simple change that doesn't affect other devices and fixes a bug on some others (ours). qcom 7x27 might support metadata, but our libs are ancient and don't support that. They have merged tons of commits for legacy unsupported devices but this one is still there waiting

Maybe you can create an account on gerrit, +1 the change and also write your comment there
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] cajhin:
Well, Ricardo is the 'senior' in the comments section, he says "you don't need this, right?", and nobody disagrees.

I'll repeat my comment there, but I'm, eh, not even nobody At all (nenAa) over there ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
Hey guys, check out the new website of LegacyXperia project here: http://legacyxperia.github.io/

A new build is probably coming today.

Changelog:

## Build 20130604

* Latest cm10.1 features

* Based on nAa 3.4.45, updated to 3.4.47

* Kernel built with android's gcc 4.6

* Updated leds & proximity sensor kernel drivers from sony blue

* Updated liblights from sony blue:

* -Added ability to customize battery charging led color

* -Soft reboot when testing LED notifications seems to be gone

* -Soft dim of leds

* Fixed mass storage speed

* Fixed boot logo display

* Fixed device serial number display

* Added support for usb disk host

* Added support for usb otg without using a hub for low-power devices

* Many changes in media_profiles & media_codecs

* Changes in display packages

* Fixed bluetooth headset sound while in call

* Fixed 4.2 camera preview (also removed LegacyCamera)

* Fixed face detection

* Added all extra supported camera resolutions from our libs (6mp, 4.5mp, 3.7mp, 2mp, WXGA & WQVGA)

* Added red-eye flash mode in camera

* Fixed adb root & adb sideload

* Testing increased volume output

* Testing wifi direct

* Updated USB IDs (might fix MTP/PTP mode on linux)

Any bugs not mentioned above remain unsolved.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansfrancis:
"A new build is probably coming today."

so exciting... backing up everything now :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
Now testing...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansfrancis:
i think i broke my F5 key this afternoon ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Mysteryagr:
Mike, Thanks for the great work you are doing.

About wifi interrupts. Using nAa 3.4 kernel causing available wireless network not showing in the list when switching wifi on.

I have to try to turn it off and on or write the name of the network manually.

is that is the interrupts? or it is something else?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] andogeek10:
Interrupt is that in which while using the WiFi, it just stops sending/receiving packages, and we have to turn it off and on(WiFi, that is) again .
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kosmo666:
haha don't, build it yourself, the mike's how to is perfect ! ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
The build might not be released today as wifi is having problems and can't be enabled after turning off for the first time. I'm looking into it now.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Lek525:
Perhaps the line wifi direct.