[GUIDE][AOSP][CM11/12/12.1][MIUI]How To Port Fully Featured Sony Camera

Search This thread

xperiaz2

Recognized Themer
Oct 17, 2013
649
5,539
0
Quick Guide To Port Xperia Z4 Framework & Fully Featured Sony Camera Including Superior Auto,Manual,Creative Effects,Sweep Panorama,Info Eye,Background Defocus,Social Live,AR Effect,AR Fun,Sticker Creator,Live On YouTube etc. For Many Phones Running AOSP,CM11,CM12,CM12.1,MIUI I Hope Everyone Like & Enjoy It.
attachment.php

Guide & Download Link Is On 2nd Post
Video On 3rd Post

Cheers ;) U Can Post Screenshots Too & I'll Add To This Thread
If U Like My Work Dont Forgot To Press Thanks Button
 

Attachments

  • xperia-z3-compact-get-creative-with-your-snaps-340b776620c59465a58c3b0bcd5958a6-620.jpg
    xperia-z3-compact-get-creative-with-your-snaps-340b776620c59465a58c3b0bcd5958a6-620.jpg
    31.6 KB · Views: 141,599
Last edited:

xperiaz2

Recognized Themer
Oct 17, 2013
649
5,539
0
Guide For AOSP,CM11,CM12CM12.1,MIUI
1. Extract framework.jar Decompile classes.dex
2. Go to android/os/storage (if there is no os folder u need to decompile classes2.dex)
attachment.php

3. Download & Extract Z4FullyFeaturedCameraFramework.zip (In This Universal .smali which works on many phones.)
4. Replace All 13 .smali Files In android/os/storage
attachment.php

5. Recompile & Move Modify classes.dex In framework.jar
Done ;)
Now CM12,CM12.1,AOSP Users Can Flash This Z4 Sony Camera http://forum.xda-developers.com/crossdevice-dev/sony-themes-apps/port-xperia-z4-framework-sony-stock-t3154772
 

Attachments

  • Z4FullyFeaturedCameraFramework.zip
    17.7 KB · Views: 28,527
Last edited:

mayank22

Senior Member
Mar 23, 2015
751
275
83
Indore
How can i deodex my framework.jar. I cant see any framework.odex file in arm or framework folder.
Can some one plz port is for me i provide the necessary file....plz. ...
 

MegaRacingHD

Senior Member
Oct 23, 2012
112
20
0
Doesn´t work for me when rebuilding the framework.jar. Problems with StorgeManager$ListenerDelegate.smali

Maybe somebody can try to build the framework.jar for me.
 

Attachments

  • framework.jar
    3.6 MB · Views: 737
  • Like
Reactions: yiotis85

mayank22

Senior Member
Mar 23, 2015
751
275
83
Indore
How can i deodex my framework.jar. I cant see any framework.odex file in arm or framework folder.
Can some one plz port is for me i provide the necessary file....plz. ...

ok now i came to know that odex files are grouped in boot.oat,
Now i extacted the odex from boot.oat and plased the classes.dex and classes2.dex in framework.jar after replacing files,When i placed this framework.jar in my phone nothing happened camera, superior auto and manual mode fc plz help
 

xperiaz2

Recognized Themer
Oct 17, 2013
649
5,539
0
ok now i came to know that odex files are grouped in boot.oat,
Now i extacted the odex from boot.oat and plased the classes.dex and classes2.dex in framework.jar after replacing files,When i placed this framework.jar in my phone nothing happened camera, superior auto and manual mode fc plz help

what phone? and what camera zip u flash ? check log ;)
 

miku6r

Senior Member
Sep 27, 2011
310
58
0
Hi , here's my framework.jar. I tried to mod it using the guide but it gives me errors.
Could somebody help me?
 

Attachments

  • framework.jar
    5.1 MB · Views: 27

jancsessz

Senior Member
Aug 16, 2013
724
1,160
0
@xperiaz2: Get this error recompiling status
..\3-Out\framework.jar\smali\android\os\storage\StorageManager$ListenerDelegate$1.smali[26,4] Error for input '.parameter': Invalid directive
..\3-Out\framework.jar\smali\android\os\storage\StorageManager$ListenerDelegate$1.smali[27,4] Error for input '.parameter': Invalid directive
..\3-Out\framework.jar\smali\android\os\storage\StorageManager$ListenerDelegate$1.smali[28,4] Error for input '.parameter': Invalid directive
..\3-Out\framework.jar\smali\android\os\storage\StorageManager$ListenerDelegate$1.smali[27,15] mismatched input '"x0"' expecting END_METHOD_DIRECTIVE
..\3-Out\framework.jar\smali\android\os\storage\StorageManager$ListenerDelegate$1.smali[45,4] Error for input '.parameter': Invalid directive
..\3-Out\framework.jar\smali\android\os\storage\StorageManager$ListenerDelegate$1.smali[45,15] mismatched input '"msg"' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: android/os/storage/StorageManager$ListenerDelegate$1.smali
 
  • Like
Reactions: miku6r

Top Liked Posts

  • There are no posts matching your filters.
  • 138
    Quick Guide To Port Xperia Z4 Framework & Fully Featured Sony Camera Including Superior Auto,Manual,Creative Effects,Sweep Panorama,Info Eye,Background Defocus,Social Live,AR Effect,AR Fun,Sticker Creator,Live On YouTube etc. For Many Phones Running AOSP,CM11,CM12,CM12.1,MIUI I Hope Everyone Like & Enjoy It.
    attachment.php

    Guide & Download Link Is On 2nd Post
    Video On 3rd Post

    Cheers ;) U Can Post Screenshots Too & I'll Add To This Thread
    If U Like My Work Dont Forgot To Press Thanks Button
    77
    Guide For AOSP,CM11,CM12CM12.1,MIUI
    1. Extract framework.jar Decompile classes.dex
    2. Go to android/os/storage (if there is no os folder u need to decompile classes2.dex)
    attachment.php

    3. Download & Extract Z4FullyFeaturedCameraFramework.zip (In This Universal .smali which works on many phones.)
    4. Replace All 13 .smali Files In android/os/storage
    attachment.php

    5. Recompile & Move Modify classes.dex In framework.jar
    Done ;)
    Now CM12,CM12.1,AOSP Users Can Flash This Z4 Sony Camera http://forum.xda-developers.com/crossdevice-dev/sony-themes-apps/port-xperia-z4-framework-sony-stock-t3154772
    9
    AutoPort

    Hey Guys.

    Try my AutoPatch.

    Place your framework.jar in the FrameoworkGoesHere folder
    Run the AutoFramework.exe
    Wait for it to finish

    This should automatically decompile your framework.jar
    check whether it needs to use classes.dex or classes2.dex
    copy the files from this mod.
    recompile framework

    so all the work is done for you.

    I wrote this late last night so I only tested this on my AICP framework .but this should work for all CM based.
    5
    Might work on other Xperia? Can you share files?

    definetly it will work on all xperia devices i will post soon
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone