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

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.

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

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)

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

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

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. ...
 

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 ;)
 

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