Hello Xperia friends....
I just want to show you how to hack All Xperia Camera :laugh:
Requirement :
Knowladge in decompile/recompile apps
Hacking Audio Bitrate Video Recording
1. Decompile SemcCameraUI.apk
2. Go to smali/com/sonyericsson/android/camera
open Constants.smali using text editor/notepad++ then find this line
change RED Color code to code from INFO CODE, example :
save it!!!!
3. Go to smali/com/sonyericsson/android/camera/configuration/parameters
open VideoSize$VideoProfile$Builder.smali ( if there smali available, i mean different Xperia have diffierent parameters like older Xperia 2011)
search this code
then change to
save it!!!
4. Go to smali/com/sonyericsson/android/camera/configuration/parameters
open VideoSize.smali
search all this code
then change all code to
save it!!! Done
LAG ON VIDEO RECORDING ON XPERIA 2011 & XPERIA 2012 (Snapdragon S3/Novathor)???
Here is solution change FORMAT H264 to MPEG4!!!
1. Go to smali/com/sonyericsson/android/camera/configuration/parameters
open VideoSize.smali using text editor/notepad++ then find this line
(Note the Local maybe different)
change to
Save it!!! Done
I just want to show you how to hack All Xperia Camera :laugh:
Requirement :
Knowladge in decompile/recompile apps
Hacking Audio Bitrate Video Recording
INFO for smali code
Value 0
Name: LowRate
Type: REG_DWORD
Data: 0x1f400 (SONY use this low bitrate so find this code to replace in the next step)
Value 1
Name: MediumRate
Type: REG_DWORD
Data: 0x2ee00
Value 2
Name: MediumHighRate
Type: REG_DWORD
Data: 0x3e800 (i'm use this code)
Value 3
Name: HighRate
Type: REG_DWORD
Data: 0x4e200
Value 0
Name: LowRate
Type: REG_DWORD
Data: 0x1f400 (SONY use this low bitrate so find this code to replace in the next step)
Value 1
Name: MediumRate
Type: REG_DWORD
Data: 0x2ee00
Value 2
Name: MediumHighRate
Type: REG_DWORD
Data: 0x3e800 (i'm use this code)
Value 3
Name: HighRate
Type: REG_DWORD
Data: 0x4e200
1. Decompile SemcCameraUI.apk
2. Go to smali/com/sonyericsson/android/camera
open Constants.smali using text editor/notepad++ then find this line
Code:
.field public static final VIDEO_AUDIO_BIT_RATE:I = [COLOR="Red"]0x1f400[/COLOR]
change RED Color code to code from INFO CODE, example :
Code:
.field public static final VIDEO_AUDIO_BIT_RATE:I = [COLOR="Red"]0x3e800[/COLOR]
save it!!!!
3. Go to smali/com/sonyericsson/android/camera/configuration/parameters
open VideoSize$VideoProfile$Builder.smali ( if there smali available, i mean different Xperia have diffierent parameters like older Xperia 2011)
search this code
Code:
[COLOR="Red"]0x1f400[/COLOR]
then change to
Code:
[COLOR="Red"]0x3e800[/COLOR]
save it!!!
4. Go to smali/com/sonyericsson/android/camera/configuration/parameters
open VideoSize.smali
search all this code
Code:
[COLOR="Red"]0x1f400[/COLOR]
then change all code to
Code:
[COLOR="Red"]0x3e800[/COLOR]
save it!!! Done
LAG ON VIDEO RECORDING ON XPERIA 2011 & XPERIA 2012 (Snapdragon S3/Novathor)???
Here is solution change FORMAT H264 to MPEG4!!!
INFO H264 VS MPEG4
http://www.y-cam.com/blog/mpeg4-vs-h-264-45/
Smali code
H263 is
H264 is
MPEG4 is
Smali code
H263 is
Code:
0x1
H264 is
Code:
0x2
MPEG4 is
Code:
0x3
1. Go to smali/com/sonyericsson/android/camera/configuration/parameters
open VideoSize.smali using text editor/notepad++ then find this line
(Note the Local maybe different)
Code:
.local v7, "videoFrameRate":I
const/4 v6, [COLOR="Red"]0x2[/COLOR]
change to
Code:
.local v7, "videoFrameRate":I
const/4 v6, [COLOR="Red"]0x3[/COLOR]
Save it!!! Done
Last edited: