• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Need Help

ok well as u know me and hv have been trying to improve the camcorder for the esteem and we got a hold of someone at xda but only info he can give us was this

Heres the details for video/audio bitrates, fps etc, decompile the app, java modules to edit are in bold text, recompile as an unsigned system app and test:

Video changes:

1080P SUPER_FINE_ENCODER_BITRATE 9mb to 17mb
1080P FINE_ENCODER_BITRATE 7mb to 14mb
1080P NORMAL_ENCODER_BITRATE 5mb to 11mb

720P SUPER_FINE_ENCODER_BITRATE 4mb to 13mb
720P FINE_ENCODER_BITRATE 3mb to 11mb
720P NORMAL_ENCODER_BITRATE 2mb to 9mb

Start by finding these similar values in the smali files:

appsettings.smali

.field public static final VALUE_1080P_AUDIO_ENCODER_BITRATE:I = 0xfa00

.field public static final VALUE_1080P_FINE_ENCODER_BITRATE:I = 0x6b6430

.field public static final VALUE_1080P_NORMAL_ENCODER_BITRATE:I = 0x4e4710

.field public static final VALUE_1080P_SUPER_FINE_ENCODER_BITRATE:I = 0x9162c0

.field public static final VALUE_720P_AUDIO_ENCODER_BITRATE:I = 0xfa00

.field public static final VALUE_720P_FINE_ENCODER_BITRATE:I = 0x2ee000

.field public static final VALUE_720P_NORMAL_ENCODER_BITRATE:I = 0x1f4000

.field public static final VALUE_720P_SUPER_FINE_ENCODER_BITRATE:I = 0x3e8000


modevideonormal.smali

packed-switch p2, switch_data_1 -1080p start

181 .line 70 -1080p
. :goto_1
. const v1, 0xfa00 -64kb audio
.
. .line 71
. const/16 v2, 0x5622 -22khz audio
.
. .line 72
189 const/16 v6, 0x18 1080p 24fps

.line 73
const v4, 0x1000002

.line 74
const v0, 0x2000001

.line 75
goto/16 :goto_0

.line 61
switch_2
const v5, 0x9162c0 1080P_SUPER_FINE_ENCODER_BITRATE

.line 62
goto :goto_1

.line 64
switch_3
const v5, 0x6b6430 1080P_FINE_ENCODER_BITRATE

.line 65
goto :goto_1

.line 67
switch_4
const v5, 0x4e4710 1080P_NORMAL_ENCODER_BITRATE

goto :goto_1

and

packed-switch v4, switch_data_1

766 goto :goto_1
.
. .line 207
. switch_2
const v6, 0x1312D00

.line 208
goto :goto_1

.line 210
switch_3
const v6, 0xE4E1C0

.line 211
. goto :goto_1
.
. .line 213
. switch_4
784 const v6, 0x989680

packed-switch p2, switch_data_2 -720p start

224 .line 88 -720p
. :goto_2
. const v1, 0xfa00 -64kb audio
.
. .line 89
. const/16 v2, 0x5622 -22kb audio
.
. .line 90
232 const/16 v6, 0x1e -30fps
.line 91
const v4, 0x1000002

.line 92
const v0, 0x2000001

.line 93
goto/16 :goto_0

.line 79
switch_6
const v5, 0x3e8000 720P_SUPER_FINE_ENCODER_BITRATE

.line 80
goto :goto_2

.line 82
switch_7
const v5, 0x2ee000 720P_FINE_ENCODER_BITRATE

.line 83
goto :goto_2

.line 85
switch_8
const v5, 0x1f4000 720P_NORMAL_ENCODER_BITRATE

goto :goto_2

and

packed-switch v4, switch_data_2

792 goto :goto_1
.
. .line 220
. switch_6
. const v6, 0xE4E1C0
.
. .line 221
. goto :goto_1
.
. .line 223
. switch_7
const v6, 0x989680

.line 224
goto :goto_1

.line 226
switch_8
const v6, 0x4C4B40

812 goto :goto_1


Audio:

appsettings.smali
line 275 .field public static final VALUE_1080P_AUDIO_ENCODER_BITRATE:I = 0x1F400

line 283 .field public static final VALUE_720P_AUDIO_ENCODER_BITRATE:I = 0x1F400


Audio sample rate:
modevideonormal.smali

line 183 const v1, 0xfa00 (64,000kbs)
line 186 const/16 v2, 0x5622 (22,050mhz)
line 226 const v1, 0xfa00 (64,000kbs)
line 229 const/16 v2, 0x5622 (22,050mhz)

FPS:
appsettings.smali
.field public static final VALUE_VIDEO_RECORDING_FPS_1080P:I = 0x1e
.field public static final VALUE_VIDEO_RECORDING_FPS_720P:I = 0x1e


modevideonormal.smali
720p = Line 232: const/16 v6, 0x1e (30fps)
1080p = Line 189: const/16 v6, 0x1e (30fps)
wat would u recommend me doing?
 
what he's trying to say is, will this be compatible with the esteem. they are for an optimus of some kind or droid3, im not sure where i found that post :-\
 
droid 3 bro he gave me these settings for the lg i contacted him last night
my one question is... will our device handle 1080p recording? as far as i know the esteem only records up to 720p, im not sure if adding this will change that or not but it's worth a shot.. i just dont know if it's actually required hardware we need but dont have..

on another note i will try adding this in.. if not all than at least some of the build.prop additions.. see if there is a difference :D
 
my one question is... will our device handle 1080p recording? as far as i know the esteem only records up to 720p, im not sure if adding this will change that or not but it's worth a shot.. i just dont know if it's actually required hardware we need but dont have..

on another note i will try adding this in.. if not all than at least some of the build.prop additions.. see if there is a difference :D
well lol im not sure about 1080p haha but yea hopefully this stuff works for our phone nd wat were ur results bro?
 
well today i was told try everything thts on here for the camera even the 1080p stuff if we wanted but anyways did anyone try these settings or does anyone have any results?
 
ok well as u know me and hv have been trying to improve the camcorder for the esteem and we got a hold of someone at xda but only info he can give us was this

Heres the details for video/audio bitrates, fps etc, decompile the app, java modules to edit are in bold text, recompile as an unsigned system app and test:

Video changes:

1080P SUPER_FINE_ENCODER_BITRATE 9mb to 17mb
1080P FINE_ENCODER_BITRATE 7mb to 14mb
1080P NORMAL_ENCODER_BITRATE 5mb to 11mb

720P SUPER_FINE_ENCODER_BITRATE 4mb to 13mb
720P FINE_ENCODER_BITRATE 3mb to 11mb
720P NORMAL_ENCODER_BITRATE 2mb to 9mb

Start by finding these similar values in the smali files:

appsettings.smali

.field public static final VALUE_1080P_AUDIO_ENCODER_BITRATE:I = 0xfa00

.field public static final VALUE_1080P_FINE_ENCODER_BITRATE:I = 0x6b6430

.field public static final VALUE_1080P_NORMAL_ENCODER_BITRATE:I = 0x4e4710

.field public static final VALUE_1080P_SUPER_FINE_ENCODER_BITRATE:I = 0x9162c0

.field public static final VALUE_720P_AUDIO_ENCODER_BITRATE:I = 0xfa00

.field public static final VALUE_720P_FINE_ENCODER_BITRATE:I = 0x2ee000

.field public static final VALUE_720P_NORMAL_ENCODER_BITRATE:I = 0x1f4000

.field public static final VALUE_720P_SUPER_FINE_ENCODER_BITRATE:I = 0x3e8000


modevideonormal.smali

packed-switch p2, switch_data_1 -1080p start

181 .line 70 -1080p
. :goto_1
. const v1, 0xfa00 -64kb audio
.
. .line 71
. const/16 v2, 0x5622 -22khz audio
.
. .line 72
189 const/16 v6, 0x18 1080p 24fps

.line 73
const v4, 0x1000002

.line 74
const v0, 0x2000001

.line 75
goto/16 :goto_0

.line 61
switch_2
const v5, 0x9162c0 1080P_SUPER_FINE_ENCODER_BITRATE

.line 62
goto :goto_1

.line 64
switch_3
const v5, 0x6b6430 1080P_FINE_ENCODER_BITRATE

.line 65
goto :goto_1

.line 67
switch_4
const v5, 0x4e4710 1080P_NORMAL_ENCODER_BITRATE

goto :goto_1

and

packed-switch v4, switch_data_1

766 goto :goto_1
.
. .line 207
. switch_2
const v6, 0x1312D00

.line 208
goto :goto_1

.line 210
switch_3
const v6, 0xE4E1C0

.line 211
. goto :goto_1
.
. .line 213
. switch_4
784 const v6, 0x989680

packed-switch p2, switch_data_2 -720p start

224 .line 88 -720p
. :goto_2
. const v1, 0xfa00 -64kb audio
.
. .line 89
. const/16 v2, 0x5622 -22kb audio
.
. .line 90
232 const/16 v6, 0x1e -30fps
.line 91
const v4, 0x1000002

.line 92
const v0, 0x2000001

.line 93
goto/16 :goto_0

.line 79
switch_6
const v5, 0x3e8000 720P_SUPER_FINE_ENCODER_BITRATE

.line 80
goto :goto_2

.line 82
switch_7
const v5, 0x2ee000 720P_FINE_ENCODER_BITRATE

.line 83
goto :goto_2

.line 85
switch_8
const v5, 0x1f4000 720P_NORMAL_ENCODER_BITRATE

goto :goto_2

and

packed-switch v4, switch_data_2

792 goto :goto_1
.
. .line 220
. switch_6
. const v6, 0xE4E1C0
.
. .line 221
. goto :goto_1
.
. .line 223
. switch_7
const v6, 0x989680

.line 224
goto :goto_1

.line 226
switch_8
const v6, 0x4C4B40

812 goto :goto_1


Audio:

appsettings.smali
line 275 .field public static final VALUE_1080P_AUDIO_ENCODER_BITRATE:I = 0x1F400

line 283 .field public static final VALUE_720P_AUDIO_ENCODER_BITRATE:I = 0x1F400


Audio sample rate:
modevideonormal.smali

line 183 const v1, 0xfa00 (64,000kbs)
line 186 const/16 v2, 0x5622 (22,050mhz)
line 226 const v1, 0xfa00 (64,000kbs)
line 229 const/16 v2, 0x5622 (22,050mhz)

FPS:
appsettings.smali
.field public static final VALUE_VIDEO_RECORDING_FPS_1080P:I = 0x1e
.field public static final VALUE_VIDEO_RECORDING_FPS_720P:I = 0x1e


modevideonormal.smali
720p = Line 232: const/16 v6, 0x1e (30fps)
1080p = Line 189: const/16 v6, 0x1e (30fps)
wat would u recommend me doing?
well new thing he says "None of the settings i sent go into the buildprop, these are app values u need to find or add then recompile the camera app with the changes."
 
Back
Top Bottom