yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device Development Themes and Apps] Ramizcyanogen:
Hi.this a Xperia-V framework.jar for cm12.1 final for sony camera.

http://www.mediafire.com/download/2sq8zsxlck037ke/framework.jar

my name is alireza . im pershian
[Sony Cross-Device Development Themes and Apps] jahanbin95:
سلام،یعنی پس نمیشه روی بیلد های دیگه فلش کرد؟
[Sony Cross-Device Development Themes and Apps] kaakkuri:
Hello, anyone know if this will work in BPaul´s AOSP 5.1.1. for Acro S?
[Sony Cross-Device Development Themes and Apps] copper62472:
can we have it on tesla rom (MM) xperia Z?
[Sony Cross-Device Development Themes and Apps] Death Reaper:
I tried on xperia sp cm12.1

It didn't restart

Please help
[Sony Cross-Device Development Themes and Apps] like81:
Hi. Who can recompile my framework.jar?

http://www.mediafire.com/download/dbnxn19tdne0dre/framework.jar
[Sony Cross-Device Development Themes and Apps] Ahmad Tawfik:
Done

Enjoy :good:

just flash the port zip then the camera port follow by the fixes

I hope it works for you and if not just flast the bootloopfix
[Sony Cross-Device Development Themes and Apps] StormDroid:
Hi,Please, can u port to the latest Xperia P Cm 12.1 Rom 1/Apr/2016 ?
[Sony Cross-Device Development Themes and Apps] like81:
But camera app still crashes. Others apps like Background defocus are working...
[Sony Cross-Device Development Themes and Apps] ostadmaster:
Hi

I can install Xperia Z4 Farmeework For xperia z paranoid on zr cm13?
[Sony Cross-Device Development Themes and Apps] Trebeh:
please port for "Xperia Z1"

cm-12.1-20160522-NIGHTLY-honami THANKS =)
[Sony Cross-Device Development Themes and Apps] mayank22:
U can port it urself too, there's guide for that and quite simple too :good:
[Sony Cross-Device Development Themes and Apps] Trebeh:
Hi bro i did every step from the guide, im in the final step, but when i go to recovery mode (I have Cyanogen Recovery and Cyanogenmod 12.1) I go to apply update and select the files but I got this message E:footer is wrong E:Signature verification is failed. Is problem of Cyanogen Recovery? I need other recovery like CWM? What can I do? thanks =)
[Sony Cross-Device Development Themes and Apps] mayank22:
Replace the framework.jar with the one u modded and then flash the camera port zip from twrp or cwm recovery....
[Sony Cross-Device Development Themes and Apps] Trebeh:
Thanks bro is working i Flashed from TWRP, but I cant save pictures on SD, xperiaz2 wrote this words time ago "to save on ext card feature require edit Semccameraui & camera extension Framework". Someone has this files to fix this problem?
[Sony Cross-Device Development Themes and Apps] mayank22:
Those files are already present in the camera zip u flashed but they are not fixed to get photos saved on sd card. Unfortunately no one has done that fixing so u will have to compromise on that.. ..
[Sony Cross-Device Development Themes and Apps] AssGuard:
I tried, but camera not worked - crashed after start

Xiaomi Redmi 3, MIUI 7 6.5.19, i already patch framework.jar
[Sony Cross-Device Development Themes and Apps] mayank22:
:good:

Port the framework urself then camera will work
[Sony Cross-Device Development Themes and Apps] AssGuard:
I port, but camera not work
[Sony Cross-Device Development Themes and Apps] AssGuard:
Can anybody help me?

My framework.jar in attach
[Sony Cross-Device Development Themes and Apps] halomademeapc:
Hi, I'm trying to get this running on my Xperia Z1 Compact with Cyanogenmod 12.1. After flashing, I get stuck at the boot animation. I'm thinking that since the zips provides in OP are almost a year old,the framework might have changed too much since then. Any insight?
[Sony Cross-Device Development Themes and Apps] lubik1:
how to make working SD-Card storage on Sony Camera Port

1) Decompile your Framework-res.apk

go to res\values\public

find 3 id's:

storage_internal

storage_sd_card

storage_usb

Now

2) Download attached file unzip and open it with notepad++

find taggs

storage_internal - and paste your id

storage_sd_card - and paste your id

storage_usb - and paste your id

(for example <public type="string" name="storage_internal" id="0x0104067c" /> we need only 0x0104067c and delete 0 after x to have 0x104067c)

3) clean my tags

4) Decompile your framework.jar and replace your modify file to smali\android\os\storage\

5) Recompile framework.jar

6) Well done! Press thanks.
[Sony Cross-Device Development Themes and Apps] feliks314:
I get error while trying to install this packages in CM12 Revoery on Xperia V:

Finding update package

Opening update package

Veryfying update package

E: footer is wrong

E: signature veryfication failed

Installation aborted
[Sony Cross-Device Development Themes and Apps] Asif187:
Does it have timeshift for slomo recording????
[Sony Cross-Device Development Themes and Apps] Ricky Hatton:
CM Recovery can't flash it. You need other Recovery like TWRP here
[Sony Cross-Device Development Themes and Apps] stormbay01:
Is this posibble for xperia zr on cm 12.1 .?

Послато са Xperia ZR уз помоћ Тапатока
[Sony Cross-Device Development Themes and Apps] mayank22:
yep, port it yourself using the guide :good:
[Sony Cross-Device Development Themes and Apps] alessandromattioli21:
Hi, Can you port Z4 Framework for Xperia Z2 CM12.1?
[Sony Cross-Device Development Themes and Apps] mayank22:
Port it urself, using the guide. It's quite simple.
[Sony Cross-Device Development Themes and Apps] JohnTheFarm3r:
Sony M4 Aqua (e2303)

Thanks for your work. ;) I managed to port this on M4 aqua (e2303) running on AOSGP based in stock rom, but i have few problems. After flashing, the phone started to be very laggy, i mean very very laggy and it's overheating, like something is eating the CPU. By the way, the camera works. Could be the phone laggy because of Xposed? I mean on stock rom, when you install Xposed, the stock sony camera won't work anymore, so you need mod it to get it work after instaling Xposed. And another problem is with the settings in camera, i can't choose external storage as a destination for the pictures. Any help? I'm willing to share my framework, if i make it run normally. :)
[Sony Cross-Device Development Themes and Apps] BauerBG:
Does it work with cm13??
[Sony Cross-Device Development Themes and Apps] DrtiBarta:
Deleted
[Sony Cross-Device Development Themes and Apps] nikat1968:
Not working on the Xperia Z1C.

To great of sorrow, not working on the Z1 Compact with the latest CM 12.1-nigtly and nothing helps.
[Sony Cross-Device Development Themes and Apps] mayank22:
The files here are old and won't work on latest builds. Port the framework urself following the guide. :good:
[Sony Cross-Device Development Themes and Apps] nikat1968:
Everything is done by following these instructions http://xdaforums.com/crossdevice-dev/sony/guide-how-to-port-featured-sony-camera-t3169253, but on the start the camera crashes with an error. Tried CM 12.1 and RRLP 5.5.9 - no difference.
[Sony Cross-Device Development Themes and Apps] mayank22:
Then upload the logs here, maybe someone more proficient would look into it......
[Sony Cross-Device Development Themes and Apps] maciej03:
Work on Sony Z1 Compact with resurrectionremix 5.5.9?

I guided by the http://xdaforums.com/crossdevice-dev/sony/guide-how-to-port-featured-sony-camera-t3169253.

Compile framework (I use ROMToolsPCv3, dex manager errors), in TWRP flash framework and other two zips. And I have fc camera app.

Add my unmodified framework.
[Sony Cross-Device Development Themes and Apps] mayank22:
How did u flash framework.jar in twrp? U have to manually replace the original with modded one mate..
[Sony Cross-Device Development Themes and Apps] maciej03:
I use this zip. If it is wrong what else can I use? ADB?
[Sony Cross-Device Development Themes and Apps] KannibalenKiwi:
Black screen fix

You have to go into developer setting and activate "Disable H/W overlay" or something named like that! It worked for me!
[Sony Cross-Device Development Themes and Apps] Iskander_mal:
please port it to cm 13
[Sony Cross-Device Development Themes and Apps] Blamao:
You do it yourself using the tutorial.
[Sony Cross-Device Development Themes and Apps] n-virus:
pls help me

my phone is yureka

os: cm12.1

build date is: sun apr 10 21:21:23 PDT 2016 ,

can u pls send me link or help me to find zip fileof this z4 framework and camera
[Sony Cross-Device Development Themes and Apps] Kjaups:
Xperia Z4 Framework For Xperia Z1 Resurrection Remix 5.5.9

Just remove [1] and replace original framework.jar file, reboot to recovery, install 3 zip files, reboot and you are done.
[Sony Cross-Device Development Themes and Apps] prince66:
Hi

My ROM is cm 12.1 Sony xperia tx

When install Z4FrameworkPortXTXCM12120150521.zip in the recovery and reboot after Sony logo bootloob on the boot animation

Please help
[Sony Cross-Device Development Themes and Apps] xkeita:
How good is picture quality compared to default Snap on Cyanogenmod?
[Sony Cross-Device Development Themes and Apps] TheEndHK:
any link? I want c13 too.
[Sony Cross-Device Development Themes and Apps] Blamao:
Here is the link :

http://xdaforums.com/crossdevice-dev/sony/guide-how-to-port-featured-sony-camera-t3169253
[Sony Cross-Device Development Themes and Apps] AbdalraziQ:
i have reboot into twrp recovery and install

1-Z4CamPort.zip

2-SweepPanoramaFix.zip

3-XperiaZ4CameraFaceDetection.zip

then i have clear cache and dalvik and reboot to system

now i can run ar effect only and the camera app and camera addon not working it's always says

Unfortunately, Camera has stopped

when click report

it's writed this at first report line

java.lang.novlassdeffounderror: failed resolution of landroid/os/storage/storagemanager$storagetype;

what can i do ??
[Sony Cross-Device Development Themes and Apps] Younes_vd:
Hi bro plz help me

Yesterday first I flashed (XZ4framework for Xperia V cm12.1 build 20150620) then I flashed z4 camera and after sweep panorama and face detection. And I rebooted to system. After sony logo it stocked in boot animation. I waited about an hour but it was still in boot animation. What have I done wrongly????

By the way i installed all of without any kind of errors. Plz help me

My phone is Xperia V lt25i

Rom was LP cm12.1 resurrection remix 5.5.9 with whiteneo's kernel for cm12.1

Can you plz show me the correct files to download.

I really need that camera, plz reply me soon.

Tnx

---------- Post added at 04:51 AM ---------- Previous post was at 04:51 AM ----------

Hi bro plz help me

Yesterday first I flashed (XZ4framework for Xperia V cm12.1 build 20150620) then I flashed z4 camera and after sweep panorama and face detection. And I rebooted to system. After sony logo it stocked in boot animation. I waited about an hour but it was still in boot animation. What have I done wrongly????

By the way i installed all of without any kind of errors. Plz help me

My phone is Xperia V lt25i

Rom was LP cm12.1 resurrection remix 5.5.9 with whiteneo's kernel for cm12.1

Can you plz show me the correct files to download.

I really need that camera, plz reply me soon.

Tnx
[Sony Cross-Device Development Themes and Apps] iXaidyiu:
You should have flashed the wrong framework.
[Sony Cross-Device Development Themes and Apps] Younes_vd:
Yes definitely. But which of them the correct one?? I don't know
[Sony Cross-Device Development Themes and Apps] iXaidyiu:
Port one framework.jar for yourself.
[Sony Cross-Device Development Themes and Apps] Younes_vd:
I don't know how to do it.

You mean that the problem was with framework.jar?
[Sony Cross-Device Development Themes and Apps] iXaidyiu:
Yes. The problem is the version of framework.jar you flash is not for your rom. There's another guide teaching you to port it yourself.
[Sony Cross-Device Development Themes and Apps] Younes_vd:
Ok bro thanks for your help
[Sony Cross-Device Development Themes and Apps] marlycious:
Thank you so much

In advance, any plans to port for CM13? :good::good::good:
[Sony Cross-Device Development Themes and Apps] milan1984:
I'm sure that this PORT is great, I however use i9100 or galaxy s2 phone. I adore xperia look of phone! So I tried to install your port, but when I copy files and try to "recompile"-2 it says "decompiled\classout\android\os\CommonClock$TimelineChangedListener.smali[0,0] Must call setParent before comparing AnnotationDirectoryItem instances

Done". So I managed to recompile it manually with smali-backsmali app from xda. when I push framwork.jar phone is working, but when I flash those zips, camera is getting fc.
[Sony Cross-Device Development Themes and Apps] Younes_vd:
Hi

I ported all of the things needed for this to get work and all of the were correct. Even framework.jar

But now it still doesn't work. It says (unfortunately camera has stopped) i don't understand. What's wrong with it?!!!!

Plz help me please
[Sony Cross-Device Development Themes and Apps] AbdalraziQ:
i have try to port my C5502 Xperia ZR and all tries failed and the camera always force stop

please help me to do that correctly

my cm 12.1 build num is

12.1-20160822-NIGHTLY-dogo

thanks
[Sony Cross-Device Development Themes and Apps] pandor101:
Can i install in my xperia tx cm13? Is it support on my mobile?
[Sony Cross-Device Development Themes and Apps] 2r2ur:
did you find any solution to make 4k and timeshift work on this mod?
[Sony Cross-Device Development Themes and Apps] Vicdecz:
Can i install on Xiaomi Mi4c CM13? Which file i have to download?
[Sony Cross-Device Development Themes and Apps] nardow:
There's no way to make those features compatible with non-Sony ROMs.
[Sony Cross-Device Development Themes and Apps] rez3vil:
Can you make the framework available for AOSP MM 6.0.1? I want to port the given framework for Xperia M c1904 SS.
[Sony Cross-Device Development Themes and Apps] html061096:
will it work on xperia m c1904 cm12.1 final build..??

i tried flashing once.. but after that my fone was on boot animation for 2 hrs nd still not started
[Sony Cross-Device Development Themes and Apps] rez3vil:
Okay so I followed this post, https://promutech.org/2015/10/26/totorial-to-port-xperia-z4-camera-to-any-device/ which is replica of this post; edited my framework.jar and copied the file successfully into system/framework. Only problem is that after flashing z4camport and other 2 zip files via TWRP, it sends the os into continuous bootloop. I tested this on my mobile Xperia M c1904 AOSP 6.0.1 MM. So i guess this port doesn't work on AOSP MM.

I would very much appreciate if the developers of the thread would make the .smali files compatible with MM. I am attaching original framework file from my phone.
[Sony Cross-Device Development Themes and Apps] Teraku:
deleted
[Sony Cross-Device Development Themes and Apps] Teraku:
So I managed to get the camera app on my phone (after doing the framework.jar stuff). But now the photos won't save to my storage. It's stuck on saving forever. Any ideas?

The photos are appearing in some random folder in my DCIM folder (100ANDRO), but it doesn't seem to have any of the Sony processing applied to it. My front camera looks pretty bad and grainy, but it worked fine with the default Sony ROM.
[Sony Cross-Device Development Themes and Apps] mayank22:
Camera app will not show the saved pics. For that use the ported mefiaprovider.apk mentioned somewhere in this thread. And thats not a random folder, pics from stock sony camera are always saved there only.
[Sony Cross-Device Development Themes and Apps] StarSix01:
Can somebody help me?:) Merry Christmas;)
[Sony Cross-Device Development Themes and Apps] ashu7g:
Help Pls

Can this be used for Xperia ZL

Runnning Anrroid 7.1.1

[ROM][7.1.1] Resurrection Remix N v.5.8.0 [ODIN]

???
[Sony Cross-Device Development Themes and Apps] Boody Man:
Hey bro, would it work for sony xperia z1 c6903 running cm12.1 2016/10/16 ?
[Sony Cross-Device Development Themes and Apps] iXaidyiu:
Not for MM+.

You need to port the framework yourself.
[Sony Cross-Device Development Themes and Apps] |>/\nte:
This question has been brought many times, but I'd like to know, how does this camera port compare to the camera in stock-based custom roms? I'm particulary interested in the xperia t (also the rom I use is in my signature).
[Sony Cross-Device Development Themes and Apps] levone1:
The camera capabilities are coded into the rom at creation. This mod can't make your camera take any better pictures, it just ports the features, etc, of Sony camera to non-Sony devices and roms...
[Sony Cross-Device Development Themes and Apps] 21_pilot:
Hi all,

I took some hours for a research and got it done, but seems like there is some major issues:

- the most useful superior mode doesn't start at all

- low-light picture quality is exactly the same as any other camera app (no advantage of sony's famous post-processing algorithm)

- no HDR, no videos, no flash, no gallery, no front camera

- capture sound is stucked always on

- AR effects and defocus works well which is nice, but doesn't change the game

Did something went wrong or that's the deal?

Using CM12.1 on Xperia Z, compiled framework.jar and used zip files from sebastiandg7's post on 101st page

Greetings
[Sony Cross-Device Development Themes and Apps] :
I am getting a bootloop when installing framework,running Exodus ROM Z3C,do I need to disable any CM themes before I flash?
[Sony Cross-Device Development Themes and Apps] njaya95:
Will this work without framework on Lenovo devices?
[Sony Cross-Device Development Themes and Apps] iXaidyiu:
Nope, framework tweak is a must.
[Sony Cross-Device Development Themes and Apps] njaya95:
Okay, I already insatlled and found out it doesn't work, Thanks anyway.
[Sony Cross-Device Development Themes and Apps] HMNT96:
Is Z3 Compact AOSP, OK with Paraniod Rom (AOSPA) ???
[Sony Cross-Device Development Themes and Apps] :
Make a backup and try it out
[Sony Cross-Device Development Themes and Apps] Nickolai_Leschov:
Will I be able to use this on Z3 Compact phone with Paranoid Android ROM?
[Sony Cross-Device Development Themes and Apps] metal_heart666:
For everyone who faced with Face Detection problem. Is there any solution of this problem? Please, give me some advices.

I'm using cm12.1 last build fo Xperia M Dual c2005.
[Sony Cross-Device Development Themes and Apps] iXaidyiu:
5, 5.1 or 6?
[Sony Cross-Device Development Themes and Apps] panzerox123:
So... Does this fix Fish Eye issues in Z3 C ?
[Sony Cross-Device Development Themes and Apps] Nickolai_Leschov:
I was thinking to use 6, but whatever works is fine!
[Sony Cross-Device Development Themes and Apps] iXaidyiu:
This mod WONT work on aospa 6.0.
[Sony Cross-Device Development Themes and Apps] Nickolai_Leschov:
Will it work on 5/5.1, then?
[Sony Cross-Device Development Themes and Apps] iXaidyiu:
Theractically yes.
[Sony Cross-Device Development Themes and Apps] bluechip850:
Hi. any idea this works on "ACRO S nAOSP 6.0 " ...???

Thanks in advance..
[Sony Cross-Device Development Themes and Apps] iXaidyiu:
Not available for Android 6.0 / CM13.
[Sony Cross-Device Development Themes and Apps] bluechip850:
Oh bad news... :(
[Sony Cross-Device Development Themes and Apps] bluechip850:
[MENTION=5491189]xperiaz2[/MENTION] , hi.. Can this be used on CM 14.1 .? nAOSP 7.1.1 .. on ACRO S .? :)
[Sony Cross-Device Development Themes and Apps] panzerox123:
This is only for LP
[Sony Cross-Device Development Themes and Apps] bluechip850:
oh, very sad.... i really miss Xperia Camera on AOSP... :(
[Sony Cross-Device Development Themes and Apps] timo99:
Sony stock camera forr CM14.1?

Hi [MENTION=5491189]xperiaz2[/MENTION],

Do you have any plans to port the stock sony camera on CM14.1 for Z3? :)

Your skills would be much appreciated :D
[Sony Cross-Device Development Themes and Apps] panzerox123:
Hello guys! I just wanted to know whether this mod fixes the fish eye camera bug in z3(and z3 compact)?

Thanks for your work [MENTION=5491189]xperiaz2[/MENTION]
[Sony Cross-Device Development Themes and Apps] paul_evc7:
I recently try it on my xperia Z1c, when I install it from TWRP 2.8 says that was successfully installed but I can't see any camera app besides the normal one (I currently have RR 5.5.3). Any idea why this happens?
[Sony Cross-Device Development Themes and Apps] dantefff:
It would be great if you add support for xperia T (http://xdaforums.com/xperia-t-v/orig-development/rom-cyanogenmod-12-neo-s-homebuilds-t2984988). In case it was not possible, maybe you can make a guide for porting the framework.

Thanks!

Thanks
[Sony Cross-Device Development Themes and Apps] Oscarm99:
Can sony apps in this rom be updated via playstore or any other ota official way?

Thanx in advance

BTW great work!
[Sony Cross-Device Development Themes and Apps] xperiaz2:
wow

wow amazing bro :) most welcome ;)
[Sony Cross-Device Development Themes and Apps] NicestRudeGuy:
bootloop dude i also got it newer versions are not supported i guess
[Sony Cross-Device Development Themes and Apps] xperiaz2:
u are using v10 or old version aicp rom? if using v10 flash z4frameworkaicpv10 that works :)
[Sony Cross-Device Development Themes and Apps] NicestRudeGuy:
latest build 11 date
[Sony Cross-Device Development Themes and Apps] xperiaz2:
Flashing Z4FrameworkPortaicpv10 will works for sure :)
[Sony Cross-Device Development Themes and Apps] NicestRudeGuy:
downloading bro :o

---------- Post added at 04:45 AM ---------- Previous post was at 04:30 AM ----------

finally working thnx dev :) but i cant change the storage
[Sony Cross-Device Development Themes and Apps] FcukBloat:
looking forward to the z3c port :fingers-crossed: many thanks to OP for the great project, stock camera was always the only thing I missed from stock, what a pity in z3c we still have the fisheye bug that is not likely to be solved by this though being a driver/blobs problem?! :crying:
[Sony Cross-Device Development Themes and Apps] K-NineHD:
Could you port it to the Xperia Z2?
[Sony Cross-Device Development Themes and Apps] slipknat:
hi

pls support z ultra c6833
[Sony Cross-Device Development Themes and Apps] mansoorarb:
Unfortunately for me its not working.....clean flashed again rom and tried without gapps and any theme.....the camera work for few minutes then it fc's.....don't know whats the problem
[Sony Cross-Device Development Themes and Apps] somberchocks:
This is awesome. How my camera's supposed to be and not that default crap from custom ROMs. Best of both worlds.

---------- Post added at 17:01 ---------- Previous post was at 16:58 ----------

It force closed on me too a couple of times but then it started working properly. Stick with it.
[Sony Cross-Device Development Themes and Apps] mansoorarb:
How to enter gallery from camera app......also is there any way to uninstall if i want to??

---------- Post added at 05:14 PM ---------- Previous post was at 05:12 PM ----------

Whats the maximum resolution we get in superior auto mode in xperia sp??
[Sony Cross-Device Development Themes and Apps] anmolkakkar:
Will it work on Z1 Compact Stock Lollipop 14.5.A.0.270, Any1?

Please confirm!!!
[Sony Cross-Device Development Themes and Apps] mirhl:
It's for AOSP-based roms!!

If you can't even understand this, I guess you had better to stay away from this section
[Sony Cross-Device Development Themes and Apps] anmolkakkar:
Thanks for being rude enough, if you poses Extreme knowledge, go join Google

And watch your tone before replying, not every wants to be like you.
[Sony Cross-Device Development Themes and Apps] nemesisexsp:
I hope you can port this to all Z series (especially the Z1 :D )!

Thank you for this great work!
[Sony Cross-Device Development Themes and Apps] Carach_CZ:
Z3C would be very welcomed :)