yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device Development Themes and Apps] Rupant:
Well its working for me.only sweep paneroma is not working. And yes no option to save on ext SD.
[Sony Cross-Device Development Themes and Apps] xperiaz2:
have u flash sweep panorama fix? if flash then in some phones sweep panorama is device specific so try this from xperia sp 4.3 update copy SemcCamera3D and paste to system/priv-app/SweepPanorama folder then replace libs in lib/arm folder restart phone then it works for sure :) to save on ext card feature require edit Semccameraui & camera extension Framework so i will add that soon ;)
[Sony Cross-Device Development Themes and Apps] hispanico957:
For Z3 Compact i can use on on CM 12.1 ?

Thank

Hispanico
[Sony Cross-Device Development Themes and Apps] mansoorarb:
Flashed the above mentioned zip.....

The camera fc....cleaned flash with tangerine 6.3...

Is the kernel causing fc??
[Sony Cross-Device Development Themes and Apps] Sibat Al Nistas:
Xperia Album (from playstore/ibanez7) and Xperia Music port(by ibanez7) doesn't work with this MOD. I used the correct framework. Running Xperia SP AICP 10

EDIT: On the latest version of Album the app opens but can't find any pictures and if I try to browse folders through the app the app crashes. Here are the logs for Album and Music.
[Sony Cross-Device Development Themes and Apps] istux:
Please, support z3 compact on CM 12.1 :p

Mind that z3 compact CM version is simply named "z3c", not "aries"

Thanks for the hard work :good:
[Sony Cross-Device Development Themes and Apps] Bry335:
Z1 Compact on RR v5.5.0, the minus (sorry) i found so far is random fc (not frequent) and the autofocus is rather stupid i think :laugh: other than that, well, i haven't test all camera add-ons, but superior auto, manual and AR effect is working very well

Some samples :

Superior Auto

Superior Auto

Superior Auto

AR Effect

Big big thanks to xperiaz2 for porting this :)
[Sony Cross-Device Development Themes and Apps] Klaus N.:
I read 2 pages back, that z3 cm12.1 is supported. Does it mean, that we can sail around the annoying fisheye-bug appearing in cm12.1 for z3 by using this port?

Thanks in advance!

Btw, awesome job :good::good:
[Sony Cross-Device Development Themes and Apps] istux:
Give it a try if you can and report!

On z3 compact we have the same annoying issue :(

and currently I'm running CM 12.1 but my device is the compact version and I can't test until the OP will support it too. :(
[Sony Cross-Device Development Themes and Apps] Klaus N.:
@istux

Ok, I'll give it a try. I'm doing a backup atm, because I'm still on a sony-based rom...

I'll give you a report later ;)
[Sony Cross-Device Development Themes and Apps] Budhwani.k:
Please support Xperia M newer CM 12.1 builds

[MENTION=5491189]xperiaz2[/MENTION] isn't its possible on xperia m cm12.1 to get a universal port for all builds.

I am just not able to use this port just because I am on newer build
[Sony Cross-Device Development Themes and Apps] Klaus N.:
I don't know what went wrong, but even after 15 min. I see the cm12.1 bootanimation.

As in the startpost described, I've flashed the Z4 Framework Port for my Xperia Z3 through TWRP2.8.7.0, running on latest nightly (cm12.1-20150713), then one time without wipe cache/dalvik, one time with. One time I've tried flashing from ext sd, one time from internal sd.

Maybe something has changed through the latest nightlies...
[Sony Cross-Device Development Themes and Apps] istux:
Have you tried from cyanogen recovery?
[Sony Cross-Device Development Themes and Apps] metai:
Somebody slap me if that's a silly question but: Does that imply it is tied to that specific version of that ROM?
[Sony Cross-Device Development Themes and Apps] Klaus N.:
@ istux

No, until now I've only tried it via twrp.

Edit:

So, I've tried it via cyanogen recovery, but the install failed:

...

E: footer is wrong

E: signature verification failed

Installation aborted.

But that's what I suspected: Afaik it's only possible to flash signed zip's via cyanogen recovery...
[Sony Cross-Device Development Themes and Apps] nico0722:
Can you create a framework for xperia l cm12.1 20160106 nightlies too? :D
[Sony Cross-Device Development Themes and Apps] maxx88:
Hi, someone ported this for Oneplus 2 oxygen is 2.2? It's possible?
[Sony Cross-Device Development Themes and Apps] anonymou21:
How fix camera fc ?

---------- Post added at 02:41 AM ---------- Previous post was at 02:39 AM ----------

How fix bootlop service.jar cm 12.1
[Sony Cross-Device Development Themes and Apps] anonymou21:
How fix camera fc my device p3100
[Sony Cross-Device Development Themes and Apps] demono092:
The file in 2nd post doesn't work with mine cm 12.1 so I ported it on my own and works perfectly. Thanks!
[Sony Cross-Device Development Themes and Apps] levone1:
Installed RR 5.5.3 for Z1c, then flashed framework from op for RR 5.5.3 for Z1c, then flashed camera port, and everything went fine, but camera fc. Any ideas?
[Sony Cross-Device Development Themes and Apps] levone1:
Fc workaround

So, if I try to open camera from icon, it fc, but if I use AR effect app, it works. So I just use AR, then tap menu, and choose 'superior auto', and it's working good.
[Sony Cross-Device Development Themes and Apps] levone1:
Fixed fc issue like this - download all 4 files, (not very clear, but it seems like you need to flash all 4 - framework port, camera port, sweep fix, and face detection). Go into recovery and flash all 4 at once, in that order. Reboot and everything is good.
[Sony Cross-Device Development Themes and Apps] kono_09:
Can anyone help me how port the Framework for Xperia SP with Resurrection Remix 5.2.5 plz ?

This is my framework.jar

http://1drv.ms/1ogLvs9
[Sony Cross-Device Development Themes and Apps] adamkx7xdesire:
Hi could anyone edit the framework for Xperia Z1 CM12.1 20160204?

I've tried to do it myself with Baksmali Manager or Dex Manager and this guide but the problem is that it always fail in recompile.
[Sony Cross-Device Development Themes and Apps] levone1:
I always get 'invalid directive' on recompile.
[Sony Cross-Device Development Themes and Apps] levone1:
I saw that instruction from op, but I'm rarely at computer, so I try to do what I can on the phone. I've never used romtoolspc, but figured I'd get around to it at some point. It would be interesting to know what it's doing that apktool is missing. Maybe there's a way to tweak it to work...
[Sony Cross-Device Development Themes and Apps] Ahmad Tawfik:
Here you go :)
[Sony Cross-Device Development Themes and Apps] Cranedrio:
Can someone port this to Slim ROM for Z3 D6653?
[Sony Cross-Device Development Themes and Apps] kono_09:
thank you so much i will try it love you ^_^
[Sony Cross-Device Development Themes and Apps] gsudhanshu14:
I can't install Any of the file.its says wrong header!!

Help me out

---------- Post added at 07:21 AM ---------- Previous post was at 07:13 AM ----------

Anything for cm 12 build no. 20160129?
[Sony Cross-Device Development Themes and Apps] ch3g3:
Assistance Required

I'm excited to get this to work. I flashed the zip files as shown but it led to an error message saying "System UI has failed". The only remedy was to flash the Rom again. Please assist.

Xperia L running on Resurrection Remix Lollipop 5.5.9
[Sony Cross-Device Development Themes and Apps] demono092:
Can anyone upload updated camera app, or tell me how to do it, because I can't do it via installing app
[Sony Cross-Device Development Themes and Apps] ProudRed:
Camera FC.
[Sony Cross-Device Development Themes and Apps] sebastiandg7:
Follow THIS GUIDE to port the framework in order to make the camera work (only if your framework is not in the frameworks list in the 2nd post).

After succesfully recompiling your framework.jar, download my camera mod (I took xperiaz2 and zezadas files and added some missing libs) then drag your framework.jar into the Z4_Camera_CM12.1.zip into /system/framework. After that, go to recovery and flash it... wiping cache and dalvik could be helpfull.

Please let me know if it works.

DOWNLOAD: Z4_Camera_CM12.1.zip
[Sony Cross-Device Development Themes and Apps] ProudRed:
Absolute noob here. Do not know how to Recompile. Never did anything else other than flashing in my little XDA life.
[Sony Cross-Device Development Themes and Apps] steveglowplunk:
Then it'll be a great chance to learn how to do so.:)I modified my own framework.jar with that guide and got the camera app working.:)Just make sure you have backed up the system partition with recovery before replacing any files on your phone to prevent bootloop.:)

Btw did anyone got sweep panorama mode working? I flashed the fix already but it still fc every time I choose it.:(
[Sony Cross-Device Development Themes and Apps] ProudRed:
Hi, I have taken a backup already of my custom ROM. I couldnt find the procedure on how to recompile or probably I cannot associate the term with the described procedure, if someone can tell me I'd be thankful and try it.

And about sweep panaroma, its the same for me.

BTW little off topic, I am new to Xperia Z.. Is there any custom kernel foor custom Roms for this device which is good and battery saving ? My battery is like 3 years old. (Probably)
[Sony Cross-Device Development Themes and Apps] sebastiandg7:
I use this tool for editing the framework.jar: ROMToolsPCv3

I will give you a couple tips:

1) Open framework.jar with WinRAR and extract the classes.dex file (and classes2.dex if exists). Once you edit the classes.dex and generate the new one, take the new one and drag it to the WinRAR window with framework.jar opened in order to replace the old classes.dex

2) If you need to edit the classes2.dex file change its name to "classes.dex" then use ROMToolsPC to edit it, once edited, change the new classes.dex to classes2.dex and then replace it in framework.jar. (You will need this to place some files from the guide).

Hope this could help you.

---------- Post added at 12:40 PM ---------- Previous post was at 12:37 PM ----------

Did you used the zip I left some posts above? Or the thread zip from xperiaz2?
[Sony Cross-Device Development Themes and Apps] steveglowplunk:
I flashed the zip and sweep panorama fix from op before you posted the new zip, so do I have to remove the old one in order to install yours? If so how should I do it?:confused:

Btw did anyone got saving photos to sd card work? The option is greyed out for me even I have an sd card inserted to the phone.:confused:
[Sony Cross-Device Development Themes and Apps] redkhmear:
For Xperia ZL CM12.1

Hi all. Make a fork to camera xperia zl, pls!
[Sony Cross-Device Development Themes and Apps] demono092:
Your pack works way better, but there are still some errors. For example in automatic mode resolution is 20MP and cannot be changed because it crashes, and front camera doesn't work at all.

edit. Flashlight doesn't work neither.
[Sony Cross-Device Development Themes and Apps] ujinking:
I'm on Xperia SP Cm12 5.0.2... I only see cm12.1 framework.. Is this one compatible with cm12 anyone who tried please?
[Sony Cross-Device Development Themes and Apps] mayank22:
I haven't tried it but as its stated in the title so it should work.....
[Sony Cross-Device Development Themes and Apps] hihiman1:
Hey,

can anybody help me re-/compiling the framework.jar for my Z1C with CM 12.1?

Thanks iin advance

HiHiMan
[Sony Cross-Device Development Themes and Apps] demono092:
ported: framework
[Sony Cross-Device Development Themes and Apps] :
I think i also got that annoying bug, that i cannot access the gallery-app...

Can you tell me how to get MediaProvider.apk for my z1c? where do i get it from an where do i need to put it?

Thank you!
[Sony Cross-Device Development Themes and Apps] Korke86:
my rom - > http://xdaforums.com/xperia-z2/development/rom-cyanogenmod-12-1-unofficial-t3068677 flashing version -> "Download Xperia Z4 Framework For Xperia Z2 Infected CM12.1

http://www.mediafire.com/download/0n...ectedcm121.zip". Start photo app crash... I am doing something wrong?
[Sony Cross-Device Development Themes and Apps] juztinlee:
Can someone help me to port my framework.jar? Thank u:)
[Sony Cross-Device Development Themes and Apps] demono092:
You're welcome :)
[Sony Cross-Device Development Themes and Apps] serveren:
Sony Xperia Acro S, AOSP 5.1.1 - boot loop.

1. flash aosp, broke it with Z1 ported camera

2. flash aosp without google

3. flash Framework, CameraPort, PanoramaFix, FaceDetection

4. wipe cache

boot up, optimized all 100+ applications, launch application... - and boot up again
[Sony Cross-Device Development Themes and Apps] denkiya:
can you port it for me

I tried it myself but I stuck in bootloop
[Sony Cross-Device Development Themes and Apps] zijian626:
tried to flash Z4FrameworkPortXZ3CM121, but it shows:

e: footer is wrong

e: signature verification failed

what can i do? please advice
[Sony Cross-Device Development Themes and Apps] demono092:
Find TWRP for your phone, install, and try to flash with it.
[Sony Cross-Device Development Themes and Apps] zijian626:
thanks for your advice, but i m using CWM, is there any other way to do without wipe all the data?
[Sony Cross-Device Development Themes and Apps] demono092:
If you use original CWM you can follow this video https://www.youtube.com/watch?v=CwNGb8PjVi4 (it's not mine, just found it).

And you don't have to wipe all data to install TWRP .
[Sony Cross-Device Development Themes and Apps] beastfren:
will it work on xperia m4 unlock bootloader running on aosp 5.0? thanks
[Sony Cross-Device Development Themes and Apps] mayank22:
You would have to try btw its working for majority......
[Sony Cross-Device Development Themes and Apps] demono092:
If you port your framework it should work.
[Sony Cross-Device Development Themes and Apps] demono092:
Hi, are you going to fix some of bugs in your mod?
[Sony Cross-Device Development Themes and Apps] feliperock3r:
It's Work on Xperia ZQ/ZL???
[Sony Cross-Device Development Themes and Apps] AndersonGQ:
For Xperia L Cm12.1. Help.

I wonder how to install this camera Xperia L, the rom-cm 12.120160309 NIGHTLY-Taoshan or Rom StryFlex LP 4.0. What tutorial and follow installation method? This file "DOWNLOAD: Z4_Camera_CM12.1.zip" is for generic devices with rom cm12.1?
[Sony Cross-Device Development Themes and Apps] -droidberg-:
Can anyone please port the framework to the xperia z for cm 12.1, I tried myself but the phone wouldn't boot
[Sony Cross-Device Development Themes and Apps] Dragoss91:
Tried on Z2 with CM12.1 and bricked , it gets stuck at loading rom (cm logo animation) . I did exactly how is said in tutorial .
[Sony Cross-Device Development Themes and Apps] Dragoss91:
The Z2 version is only for Infected CM12.1 ? Because on normal CM12.1 I get forever loading and the Infected one looks like outdated and download links dead .
[Sony Cross-Device Development Themes and Apps] mayank22:
You should port it yourself,it takes just 5 minutes.....
[Sony Cross-Device Development Themes and Apps] Dragoss91:
thank you for suggestion , but could you also give me some hints or advices ? because I'm totally noob at this level of modifying android :-/
[Sony Cross-Device Development Themes and Apps] mayank22:
Just carefully follow the guide and you will succeed:fingers-crossed:
[Sony Cross-Device Development Themes and Apps] Dragoss91:
hmm I think I found some guides , and yeah they are easy indeed ..... but , one question before getting to work at that

I only want that original camera app that is able to record videos with 120fps , can I only port that app without porting framework ?
[Sony Cross-Device Development Themes and Apps] mitch_55:
Someone could port my framework.jar file?

My phone bootloops with this one on the OP (Xperia Z2 AICP), and I've tried to port it but I get this error :

Error for input '.parameter': Invalid directive

Thanks
[Sony Cross-Device Development Themes and Apps] mayank22:
The porting is needed for the main camera app only,other addons work without porting too.
[Sony Cross-Device Development Themes and Apps] nandisenjaya:
Can it work on CM13 Xperia M?
[Sony Cross-Device Development Themes and Apps] unarque:
I can't open album app directly from camera :( any help?

p.s. resurrection remix 5.5.9, z3c
[Sony Cross-Device Development Themes and Apps] Austin.gonzo:
Hi what guide should we follow ?
[Sony Cross-Device Development Themes and Apps] mayank22:
Get ported mediprovider.apk for cm12

Here it is: http://xdaforums.com/crossdevice-dev/sony/guide-how-to-port-featured-sony-camera-t3169253
[Sony Cross-Device Development Themes and Apps] :
I got the same problem on a xperia z1c with CM 12.1. I tried to replace my mediaprovider.apk by one of sony's latest stock - no luck with that.

Any other ideas how to get the gallery-link working? Besides this issue Z4-Cam is working smooth and fine. Thanks a lot for that!!
[Sony Cross-Device Development Themes and Apps] mayank22:
use this portde one, not the stock one:o
[Sony Cross-Device Development Themes and Apps] Marce_sdh:
Request

Please do it for Xperia Tx whit CM12.1, tkx
[Sony Cross-Device Development Themes and Apps] :
Thanks a lot for the upload.

somehow i cannot install this file. is there any trick? :)
[Sony Cross-Device Development Themes and Apps] Ahmad Tawfik:
Disable package installer signature check by Luck patcher or supersu mode xposed
[Sony Cross-Device Development Themes and Apps] :
YAAAY thank you so much! it works perfectly fine.

I wonder why signature-check needs to stay disabled?!

When activate it again gallery and mediaprovider stopped working?!

that confuses me a litte ... thought its just necessary for installation ...
[Sony Cross-Device Development Themes and Apps] Elfeno:
Tried on the latest CM nightly, bootloop :/ If someone can check if I have done something wrong :/

[Edit] Using linux to build dex file all work fine :)
[Sony Cross-Device Development Themes and Apps] Ahmad Tawfik:
Can you upload the your framework?

I may port it for you
[Sony Cross-Device Development Themes and Apps] Elfeno:
I ported it successfuly using linux :) thx !
[Sony Cross-Device Development Themes and Apps] monacci:
can't flash on Xperia SP

Good Night,

I've tried to flash the framework in my xperia sp with cm12.1 but I got failure.

So a tried push it into the device and I got a bootloop.

What can I do in this case?
[Sony Cross-Device Development Themes and Apps] steveglowplunk:
Reflash the rom to remove the framework, then port it yourself by following the guide here, or upload your framework.jar here and see if any nice guy would port it for you:)
[MENTION=5491189]xperiaz2[/MENTION] maybe you should warn people that the frameworks are outdated in op:rolleyes:
[Sony Cross-Device Development Themes and Apps] monacci:
Ok! Thanks! I've made a copy from the cm12.1 framework just got to push it back and there was no data lost.

Will try the guide :)
[Sony Cross-Device Development Themes and Apps] Marce_sdh:
I have bootloop in xperia TX
[Sony Cross-Device Development Themes and Apps] Digital God:
i've same problem. Maybe someone could post ported mediaprovider.apk for z3 compact?
[Sony Cross-Device Development Themes and Apps] Antonio1967:
How to fix bootloop on xperia z3 cm 12.1 nightly
[Sony Cross-Device Development Themes and Apps] Ahmad Tawfik:
Do we have to say this thousand of times?

The ported frameworks provided are for old ROM builds which may not work for newer builds.

But you can port the framework your self by following the guide.

I could do it for you but at least try :)
[Sony Cross-Device Development Themes and Apps] Antonio1967:
Thanks I will try
[Sony Cross-Device Development Themes and Apps] drumiec:
may i ask for framework port on Xperia z2 Tablet?

I'm using official cyanogenmod for castor windy

https://download.cyanogenmod.org/?device=castor_windy
[Sony Cross-Device Development Themes and Apps] Ahmad Tawfik:
Then what did you fix ?

I ported my framework as the guide and I am facing fc when zooming

Superior auto isn't found just manual mod

Creative effects and sweep panorama don't work too (can't connect to the camera)

But I had a device with old cm12.1 and it worked well !!!

Please find a solution
[Sony Cross-Device Development Themes and Apps] holyping:
I just encount the same issue as yours, z1 with cm12.1 20160331
[Sony Cross-Device Development Themes and Apps] Ahmad Tawfik:
Could you try the port on oder cm12.1 build and test?

Build the is nearly the same date as the creation of the port

Just to confirm and to look forward for a fix
[Sony Cross-Device Development Themes and Apps] echomaster:
This is awesome! I just hope there's also a port for Acro S running on nAOSP 6.0.1
[Sony Cross-Device Development Themes and Apps] mehmet184:
Hi,

i am using LG G2 d802 on CyanogenMOD13 20160317 SNAPSHOT

if i upload my framework, may you port me?
[Sony Cross-Device Development Themes and Apps] monacci:
Can't port using cm12.1 recovery

I recompile my framework.jar as said in the guide, but when tried to use cm12.1 recovery I got " E: Signature error" . Then I tried to install cwm recovery, but it didn't install. Please, some one knows what should I do?
[Sony Cross-Device Development Themes and Apps] holyping:
I can't find any cm12.1 older any more

the rom I downloaded from cmxlog which the oldest is 20160325

and I followed this rom since 201512XX

by the every version I flashed, I ported the camera by myself with the steps above, and the result is never changed
[Sony Cross-Device Development Themes and Apps] steveglowplunk:
1. You don't flash the framework.jar with a recovery. (it's not even the right format for flashing) You should replace the original framework.jar with the modified one (with root browser or whatever file browser you prefer) while the phone is booted.

2. If you want to get rid of cm recovery, install rashr form Google Play and install a custom recovery there (like philz recovery). Cm recovery can flash nothing other than cyanogenmod updates.

Good luck in getting the port working.:)
[Sony Cross-Device Development Themes and Apps] mayank22:
Is there any ported mediaprovider.apk for cm11 too?
[Sony Cross-Device Development Themes and Apps] madjacky:
hi.does it will be work on my sony xperia z resurection remix rom 6.0.1?????
[Sony Cross-Device Development Themes and Apps] mpoendi:
Is it work on cm13?
[Sony Cross-Device Development Themes and Apps] monacci:
Man, I almost there lol ! philz recovery helped a lot. First I couldn't flash via rashr so I managed to change the cm12.1 recovery for philz's using my notebook:

fastboot flash boot philz.img

Then it was possible to install the packages.

Now I've got the new camera apk but can't use it... Need I only to diseable the stock camera ?
[Sony Cross-Device Development Themes and Apps] steveglowplunk:
If your xperia camera app crashes, that means either your phone is not compatible with it, or you didn't port the framework.jar correctly, try to port it again?/upload the framework.jar here and see if anyone would port it for you?

Btw flashing the recovery with fastboot is a "more correct" way, using rashr is just a little more convenient.
[Sony Cross-Device Development Themes and Apps] monacci:
Thanks again man. I attached my framework.jar . My device is Xperia sp, I can use the camera now but it's keeping crashing:rolleyes:.

So,please could anyone port my framework? I've tried with apktool but as I'm seeing with no success. I would be very greatful.:D:)
[Sony Cross-Device Development Themes and Apps] mayank22:
Try changing the focus mode... .
[Sony Cross-Device Development Themes and Apps] iancahyanto:
I can't rebuilding the framework.jar on Resurrection Remix 5.5.9 Xperia M. Problems with MarshalQueryableStreamConfiguration$MarshalerStreamConfiguration

Somebody can try to build the framework.jar for me please.

here my framework.jar

thanks :)
[Sony Cross-Device Development Themes and Apps] Ammar12:
I have cm 12.1 whiteneo on my xperia V and i followed the instructions but now i have a bootloop ..what should i do?
[Sony Cross-Device Development Themes and Apps] johnbsbb:
excelent
[Sony Cross-Device Development Themes and Apps] Ramizcyanogen:
give me framework jar for edit for all

hi.send framwork for edit for all
[Sony Cross-Device Development Themes and Apps] jahanbin95:
Hi,can you port to xperia v cm 12 20151108,please?