Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,490 Members 44,437 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE][CAM] How To Hack SONY Xperia Camera (Bring Higher Bitrate & More Options)

Tip us?
 
kin9nothin9
Old
#51  
kin9nothin9's Avatar
Member
Thanks Meter 15
Posts: 52
Join Date: Oct 2012
tried it on my xperia s
well when ever i switch to video recording it says unknow error
any advice
i checked twice

---------- Post added at 11:14 PM ---------- Previous post was at 10:50 PM ----------

Quote:
Originally Posted by Rizal Lovins View Post

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
Code:
Select Code
0x1
H264 is
Code:
Select Code
0x2
MPEG4 is
Code:
Select 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:
Select Code
.local v7, "videoFrameRate":I
const/4 v6, 0x2
change to

Code:
Select Code
.local v7, "videoFrameRate":I
const/4 v6, 0x3
Save it!!! Done
These are not found in my xperia s videosize.smali


Sent from my LT26i using Tapatalk
 
krabappel2548
Old
#52  
krabappel2548's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 13363
Posts: 6,144
Join Date: Nov 2011
Location: Neerpelt

 
DONATE TO ME
Quote:
Originally Posted by s1llhoute View Post
Done,recompiling sucess..
But camera forced close when i opened it..lol

Have u tried this and success??,please share ur mod then ..
Don't forget to install a superuser mod on your device.

Also you need to sign the apk file after recompiling. Open recompiled and original apk with 7z and copy META-INF and manifest.xml too the recompiled apk. Without signing it will never work.


Quote:
Originally Posted by kin9nothin9 View Post
tried it on my xperia s
well when ever i switch to video recording it says unknow error
any advice
i checked twice

---------- Post added at 11:14 PM ---------- Previous post was at 10:50 PM ----------



These are not found in my xperia s videosize.smali


Sent from my LT26i using Tapatalk


Sent from my C6903 using xda app-developers app
I'm back with development, but not superactive yet.

Consider donating to me if you like my work. this would help me buy future devices.
 

Devices I have:
- Xperia Z1

Current devices I develop for:
- Xperia Z1
- Xperia Z Ultra

What I did and do:
- Member of Team AC!D, developer of Xperia Z Revolution Rom, Xperia ZL Revolution rom, Xperia S Revolution rom, Xperia Carbon rom's with tweaked kernel, and more!
The Following User Says Thank You to krabappel2548 For This Useful Post: [ Click to Expand ]
 
BPaul
Old
#53  
BPaul's Avatar
Recognized Developer
Thanks Meter 7245
Posts: 1,986
Join Date: May 2011
Location: Astana

 
DONATE TO ME
Quote:
Originally Posted by Rizal Lovins View Post
you need to see media_profile.xml look at this

Code:
Select Code
    <AudioEncoderCap name="aac" enabled="true"
        minBitRate="8000" maxBitRate="156000"
        minSampleRate="8000" maxSampleRate="48000"
        minChannels="1" maxChannels="1" /> change to 2 (6 value is for XT/XV/XTX camera driver) don't try to change to 6
if it's mono because mod audio recording bitrate, i guess you missed something
I know about here. In my XAS media_profiles setted to "2", i think is in audio_primary and policy... I I found solution, I let you know
- Index - GitHub - VK - Facebook - Google+ -
Devices
  • Xperia acro S
  • Optimus Black
Xperia Overlay for S/Ion/acro S/ Soon
All custom firmwares, where mentioned Bravia Engine, xLOUD, Beats Audio, Dolby Mobile. Are not based on the stock firmware from SONY or HTC very very poor. Remember that!
Click thanks button please
The Following User Says Thank You to BPaul For This Useful Post: [ Click to Expand ]
 
17th_angel
Old
#54  
Member
Thanks Meter 13
Posts: 80
Join Date: Feb 2013
Is there a way to bypass the 2GB limit on video recording?

I can only record to 43 minutes and the camera stop.


Im on Xperia arc s, GB 2.3.7
 
John98Zakaria
Old
#55  
Senior Member
Thanks Meter 26
Posts: 170
Join Date: Jan 2013
Location: Damiatta
Quote:
Originally Posted by Rizal Lovins View Post
[B][I]Hello Xperia friends....


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:
Select Code
0x1f400
then change to
Code:
Select Code
0x3e800
save it!!!

I Cant find 0x1f400 nor any value you had written on my Xperia ZR 4.4

https://www.mediafire.com/?3qnhpv0vmzn91yj here is my VideoSize$VideoProfile$Builder.smali Could you give me a hand
Hit If my comment Helped you
 
Naufal Sidik
Old
#56  
Naufal Sidik's Avatar
Member
Thanks Meter 21
Posts: 75
Join Date: Jun 2014
Location: Bandung
Awesome Guide Brother, Will Try Soon

My Device

 
Quote:
DEVICE : Sony Xperia M c1905 | SOny Xperia E c1505
ROM : Sirius X ROM Build v1.2 | Stock ROm 11.3.A.2.13
VERSION : 4.3 JB | 4.1.1 JB
KERNEL : Stock Kernel + PhilZ Kernel | Stock Kernel + CWM & TWRP
BOOTLOADER : Unlocked
STATUS : Rooted - Deodexed - Zipaligned

MY WORKS
 
darknessmc
Old
#57  
Member
Thanks Meter 12
Posts: 69
Join Date: Jul 2013
For all who had error on video recording in Full hd:

replace this value 0x1c9c380 with this 0x1312d00

because
0x1c9c380 = 30 000 000 bit/s
0x1312d00 = 20 000 000 bit/s

and we have in media_profile.xml only 20000000

I try it and it work
 
sunbriel
Old
#58  
sunbriel's Avatar
Senior Member
Thanks Meter 676
Posts: 1,295
Join Date: Aug 2011
Any new info on how to change the way camera names photos?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes