Enable controls on iBeast - LG Optimus L9 P760, P765, P768, P769

Hello everyone, I'm here to ask you a little curiosity.
Just today I received the iBeats, I already knew that the controls (pause, forward and back for songs) would not work.
So I am here to ask you some trick or app to be able to recognize those commands to my phone.
I hope to be in the right section, otherwise move as well.
Thank you.

mikekoke said:
Hello everyone, I'm here to ask you a little curiosity.
Just today I received the iBeats, I already knew that the controls (pause, forward and back for songs) would not work.
So I am here to ask you some trick or app to be able to recognize those commands to my phone.
I hope to be in the right section, otherwise move as well.
Thank you.
Click to expand...
Click to collapse
I have the same ones and I believe it's only the pause button that works. Anyways I don't think there is a trick for the beats but you can always use xposed module to enable your volume key on phone to skip track. Give it a try it might work on you headphones.
Sent from my LG-P769 using XDA Premium 4 mobile app

will0899 said:
I have the same ones and I believe it's only the pause button that works. Anyways I don't think there is a trick for the beats but you can always use xposed module to enable your volume key on phone to skip track. Give it a try it might work on you headphones.
Sent from my LG-P769 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Do you have a link for that module?
Never mind I found XBlast module :thumbup:

Check your Generic.kl file, I tweaked one line in it and all of my remote headsets worked without a problem. See what I highlighted in RED?
Although I don't think "WAKE" is necessary to have on it, I forgot if it made a difference.
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Generic key layout file for full alphabetic US English PC style external keyboards.
#
# This file is intentionally very generic and is intended to support a broad rang of keyboards.
# Do not edit the generic key layout to support a specific keyboard; instead, create
# a new key layout file with the required keyboard configuration.
#
key 1 ESCAPE
key 2 1
key 3 2
key 4 3
key 5 4
key 6 5
key 7 6
key 8 7
key 9 8
key 10 9
key 11 0
key 12 MINUS
key 13 EQUALS
key 14 DEL
key 15 TAB
key 16 Q
key 17 W
key 18 E
key 19 R
key 20 T
key 21 Y
key 22 U
key 23 I
key 24 O
key 25 P
key 26 LEFT_BRACKET
key 27 RIGHT_BRACKET
key 28 ENTER
key 29 CTRL_LEFT
key 30 A
key 31 S
key 32 D
key 33 F
key 34 G
key 35 H
key 36 J
key 37 K
key 38 L
key 39 SEMICOLON
key 40 APOSTROPHE
key 41 GRAVE
key 42 SHIFT_LEFT
key 43 BACKSLASH
key 44 Z
key 45 X
key 46 C
key 47 V
key 48 B
key 49 N
key 50 M
key 51 COMMA
key 52 PERIOD
key 53 SLASH
key 54 SHIFT_RIGHT
key 55 NUMPAD_MULTIPLY
key 56 ALT_LEFT
key 57 SPACE
key 58 CAPS_LOCK
key 59 F1
key 60 F2
key 61 F3
key 62 F4
key 63 F5
key 64 F6
key 65 F7
key 66 F8
key 67 F9
key 68 F10
key 69 NUM_LOCK
key 70 SCROLL_LOCK
key 71 NUMPAD_7
key 72 NUMPAD_8
key 73 NUMPAD_9
key 74 NUMPAD_SUBTRACT
key 75 NUMPAD_4
key 76 NUMPAD_5
key 77 NUMPAD_6
key 78 NUMPAD_ADD
key 79 NUMPAD_1
key 80 NUMPAD_2
key 81 NUMPAD_3
key 82 NUMPAD_0
key 83 NUMPAD_DOT
# key 84 (undefined)
key 85 ZENKAKU_HANKAKU
key 86 BACKSLASH
key 87 F11
key 88 F12
key 89 RO
# key 90 "KEY_KATAKANA"
# key 91 "KEY_HIRAGANA"
key 92 HENKAN
key 93 KATAKANA_HIRAGANA
key 94 MUHENKAN
key 95 NUMPAD_COMMA
key 96 NUMPAD_ENTER
key 97 CTRL_RIGHT
key 98 NUMPAD_DIVIDE
key 99 SYSRQ
key 100 ALT_RIGHT
# key 101 "KEY_LINEFEED"
key 102 MOVE_HOME
key 103 DPAD_UP
key 104 PAGE_UP
key 105 DPAD_LEFT
key 106 DPAD_RIGHT
key 107 MOVE_END
key 108 DPAD_DOWN
key 109 PAGE_DOWN
key 110 INSERT
key 111 FORWARD_DEL
# key 112 "KEY_MACRO"
key 113 VOLUME_MUTE
key 114 VOLUME_DOWN WAKE_DROPPED
key 115 VOLUME_UP WAKE_DROPPED
key 116 POWER WAKE
key 117 NUMPAD_EQUALS
# key 118 "KEY_KPPLUSMINUS"
key 119 BREAK
# key 120 (undefined)
key 121 NUMPAD_COMMA
key 122 KANA
key 123 EISU
key 124 YEN
key 125 META_LEFT
key 126 META_RIGHT
key 127 MENU WAKE_DROPPED
key 128 MEDIA_STOP
# key 129 "KEY_AGAIN"
# key 130 "KEY_PROPS"
# key 131 "KEY_UNDO"
# key 132 "KEY_FRONT"
# key 133 "KEY_COPY"
# key 134 "KEY_OPEN"
# key 135 "KEY_PASTE"
# key 136 "KEY_FIND"
# key 137 "KEY_CUT"
# key 138 "KEY_HELP"
key 139 MENU WAKE_DROPPED
key 140 CALCULATOR
# key 141 "KEY_SETUP"
key 142 POWER WAKE
key 143 POWER WAKE
# key 144 "KEY_FILE"
# key 145 "KEY_SENDFILE"
# key 146 "KEY_DELETEFILE"
# key 147 "KEY_XFER"
# key 148 "KEY_PROG1"
# key 149 "KEY_PROG2"
key 150 EXPLORER
# key 151 "KEY_MSDOS"
key 152 POWER WAKE
# key 153 "KEY_DIRECTION"
# key 154 "KEY_CYCLEWINDOWS"
key 155 ENVELOPE
key 156 BOOKMARK
# key 157 "KEY_COMPUTER"
key 158 BACK WAKE_DROPPED
key 159 FORWARD
key 160 MEDIA_CLOSE
key 161 MEDIA_EJECT
key 162 MEDIA_EJECT
key 163 MEDIA_NEXT
key 164 MEDIA_PLAY_PAUSE
key 165 MEDIA_PREVIOUS
key 166 MEDIA_STOP
key 167 MEDIA_RECORD
key 168 MEDIA_REWIND
key 169 CALL
# key 170 "KEY_ISO"
key 171 MUSIC
key 172 HOME WAKE
# key 173 "KEY_REFRESH"
# key 174 "KEY_EXIT"
# key 175 "KEY_MOVE"
# key 176 "KEY_EDIT"
key 177 PAGE_UP
key 178 PAGE_DOWN
key 179 NUMPAD_LEFT_PAREN
key 180 NUMPAD_RIGHT_PAREN
# key 181 "KEY_NEW"
# key 182 "KEY_REDO"
# key 183 F13
# key 184 F14
# key 185 F15
# key 186 F16
# key 187 F17
# key 188 F18
# key 189 F19
# key 190 F20
# key 191 F21
# key 192 F22
# key 193 F23
# key 194 F24
# key 195 (undefined)
# key 196 (undefined)
# key 197 (undefined)
# key 198 (undefined)
# key 199 (undefined)
key 200 MEDIA_PLAY
key 201 MEDIA_PAUSE
# key 202 "KEY_PROG3"
# key 203 "KEY_PROG4"
# key 204 (undefined)
# key 205 "KEY_SUSPEND"
# key 206 "KEY_CLOSE"
key 207 MEDIA_PLAY
key 208 MEDIA_FAST_FORWARD
# key 209 "KEY_BASSBOOST"
# key 210 "KEY_PRINT"
# key 211 "KEY_HP"
key 212 CAMERA
key 213 MUSIC
# key 214 "KEY_QUESTION"
key 215 ENVELOPE
# key 216 "KEY_CHAT"
key 217 SEARCH
# key 218 "KEY_CONNECT"
# key 219 "KEY_FINANCE"
# key 220 "KEY_SPORT"
# key 221 "KEY_SHOP"
# key 222 "KEY_ALTERASE"
# key 223 "KEY_CANCEL"
# key 224 "KEY_BRIGHTNESSDOWN"
# key 225 "KEY_BRIGHTNESSUP"
key 250 HEADSETHOOK WAKE
key 256 BUTTON_1
key 257 BUTTON_2
key 258 BUTTON_3
key 259 BUTTON_4
key 260 BUTTON_5
key 261 BUTTON_6
key 262 BUTTON_7
key 263 BUTTON_8
key 264 BUTTON_9
key 265 BUTTON_10
key 266 BUTTON_11
key 267 BUTTON_12
key 268 BUTTON_13
key 269 BUTTON_14
key 270 BUTTON_15
key 271 BUTTON_16
key 288 BUTTON_1
key 289 BUTTON_2
key 290 BUTTON_3
key 291 BUTTON_4
key 292 BUTTON_5
key 293 BUTTON_6
key 294 BUTTON_7
key 295 BUTTON_8
key 296 BUTTON_9
key 297 BUTTON_10
key 298 BUTTON_11
key 299 BUTTON_12
key 300 BUTTON_13
key 301 BUTTON_14
key 302 BUTTON_15
key 303 BUTTON_16
key 304 BUTTON_A
key 305 BUTTON_B
key 306 BUTTON_C
key 307 BUTTON_X
key 308 BUTTON_Y
key 309 BUTTON_Z
key 310 BUTTON_L1
key 311 BUTTON_R1
key 312 BUTTON_L2
key 313 BUTTON_R2
key 314 BUTTON_SELECT
key 315 BUTTON_START
key 316 BUTTON_MODE
key 317 BUTTON_THUMBL
key 318 BUTTON_THUMBR
# key 352 "KEY_OK"
key 353 DPAD_CENTER
# key 354 "KEY_GOTO"
# key 355 "KEY_CLEAR"
# key 356 "KEY_POWER2"
# key 357 "KEY_OPTION"
# key 358 "KEY_INFO"
# key 359 "KEY_TIME"
# key 360 "KEY_VENDOR"
# key 361 "KEY_ARCHIVE"
key 362 GUIDE
# key 363 "KEY_CHANNEL"
# key 364 "KEY_FAVORITES"
# key 365 "KEY_EPG"
key 366 DVR
# key 367 "KEY_MHP"
# key 368 "KEY_LANGUAGE"
# key 369 "KEY_TITLE"
# key 370 "KEY_SUBTITLE"
# key 371 "KEY_ANGLE"
# key 372 "KEY_ZOOM"
# key 373 "KEY_MODE"
# key 374 "KEY_KEYBOARD"
# key 375 "KEY_SCREEN"
# key 376 "KEY_PC"
key 377 TV
# key 378 "KEY_TV2"
# key 379 "KEY_VCR"
# key 380 "KEY_VCR2"
# key 381 "KEY_SAT"
# key 382 "KEY_SAT2"
# key 383 "KEY_CD"
# key 384 "KEY_TAPE"
# key 385 "KEY_RADIO"
# key 386 "KEY_TUNER"
# key 387 "KEY_PLAYER"
# key 388 "KEY_TEXT"
# key 389 "KEY_DVD"
# key 390 "KEY_AUX"
# key 391 "KEY_MP3"
# key 392 "KEY_AUDIO"
# key 393 "KEY_VIDEO"
# key 394 "KEY_DIRECTORY"
# key 395 "KEY_LIST"
# key 396 "KEY_MEMO"
key 397 CALENDAR
# key 398 "KEY_RED"
# key 399 "KEY_GREEN"
# key 400 "KEY_YELLOW"
# key 401 "KEY_BLUE"
key 402 CHANNEL_UP
key 403 CHANNEL_DOWN
# key 404 "KEY_FIRST"
# key 405 "KEY_LAST"
# key 406 "KEY_AB"
# key 407 "KEY_NEXT"
# key 408 "KEY_RESTART"
# key 409 "KEY_SLOW"
# key 410 "KEY_SHUFFLE"
# key 411 "KEY_BREAK"
# key 412 "KEY_PREVIOUS"
# key 413 "KEY_DIGITS"
# key 414 "KEY_TEEN"
# key 415 "KEY_TWEN"
key 429 CONTACTS
# key 448 "KEY_DEL_EOL"
# key 449 "KEY_DEL_EOS"
# key 450 "KEY_INS_LINE"
# key 451 "KEY_DEL_LINE"
key 464 FUNCTION
key 465 ESCAPE FUNCTION
key 466 F1 FUNCTION
key 467 F2 FUNCTION
key 468 F3 FUNCTION
key 469 F4 FUNCTION
key 470 F5 FUNCTION
key 471 F6 FUNCTION
key 472 F7 FUNCTION
key 473 F8 FUNCTION
key 474 F9 FUNCTION
key 475 F10 FUNCTION
key 476 F11 FUNCTION
key 477 F12 FUNCTION
key 478 1 FUNCTION
key 479 2 FUNCTION
key 480 D FUNCTION
key 481 E FUNCTION
key 482 F FUNCTION
key 483 S FUNCTION
key 484 B FUNCTION
# key 497 KEY_BRL_DOT1
# key 498 KEY_BRL_DOT2
# key 499 KEY_BRL_DOT3
# key 500 KEY_BRL_DOT4
# key 501 KEY_BRL_DOT5
# key 502 KEY_BRL_DOT6
# key 503 KEY_BRL_DOT7
# key 504 KEY_BRL_DOT8
# Joystick and game controller axes.
# Axes that are not mapped will be assigned generic axis numbers by the input subsystem.
axis 0x00 X
axis 0x01 Y
axis 0x02 Z
axis 0x03 RX
axis 0x04 RY
axis 0x05 RZ
axis 0x06 THROTTLE
axis 0x07 RUDDER
axis 0x08 WHEEL
axis 0x09 GAS
axis 0x0a BRAKE
axis 0x10 HAT_X
axis 0x11 HAT_Y

Related

Modded SemcCamera / 100% JPeg compression

EDIT: After poking around in the driver code and comparing results of different camera apps, the following seems to be fact:
1. The driver only supports picture format JPEG (at least on its external interface). So ALL camera apps will get a jpeg from the driver.
2. The driver is always using 2x2 chroma subsampling (which is the main reason for the "poor"(?) image quality).
3. The quality of the compression can be adjusted by using the standard API call CameraParamter.setJpegQuality(0-100). The driver default seems to be 85.
4. However, after several testshots i can't make out any visual difference between the shots made with standard or 100% compression. Technically the 100% version uses better huffmann and quantation tables but this doesn't seem to effect the visual quality.
5. libmmjpeg.so is used for compression (an undocumented qcom jpeg lib). I had no success so far getting better results from the lib. There are some functions like "jpege_get_default_config" which seem the perfect place for patching, but i was unable to figure out the meaning of the various parameters.
6. libcald*.so is used for picture processing (image stablizing, postprocessing etc), so this would be the place for manipulations of the postprocessing pipeline.
6. Third party camera apps like "camera360", "camera fx", etc are unable to produce better compression results (though they seem to). In fact, f.e. camera360 is using the standard driver jpeg compression when set to 100% and is reencoding(!!) the jpeg when set to anything less then 100% (which means the jpeg is probably bigger after reencoding but will be never be better as the source was already crippled. Reencoding also can add several new compression artifacts.) They still might be able to produce better pictures by chosing better parameters for wb,ev... though.
7. The reason for "camera not found" with the modded apk was the some missing permissions. I already did a new apk which could be installed side-by-side with the standard app (i renamed the package structure), but until i find some way to get more quality from the driver releasing/maintaining it would be pointless. For the same reason i removed the old apk from the post.
Here is the blueprint to do the mod yourself (f.e. for other roms/devices):
Code:
You need apktool, SignApk, zipalign (search via forum).
- Copy system/app/SemcCameraUI.apk to your pc
- Copy system/framework/SemcGenericUxpRes.apk to your pc
- Copy system/framework/framework-res.apk to your pc
- apktool if framework-res.apk
- apktool if SemcGenericUxpRes.apk
- apktool d SemcCameraUI.apk
- find file "CameraController.smali" in extraced folder "SemcCameraUI\smali\com\sonyericsson\android\camera"
- insert these two lines at line 994[2.3.4 stock] (next line after "setRotation")
const/16 v1, 0x64
invoke-virtual {v0, v1}, Landroid/hardware/Camera$Parameters;->setJpegQuality(I)V
- rename the folder camera to cameraX and change all occurences of "com/sonyericsson/android/camera" to "com/sonyericsson/android/cameraX" in all files. Do the same for "com.sonyericcson.android.camera".
- choose a new name for the app (like "Camera 100") and change all references in res/values*/string.xml.
- rename the folder SemcCameraUI to SemcCameraX
- apktool b SemcCameraX
- java -jar SignApk.jar certificate.pem key.pk8 <your new SemcCameraX.apk> signed-SemcCameraX.apk
- zipalign -v 4 signed-SemcCameraX.apk SemcCameraX.apk
- install apk
- transform apk to system app (f.e. using Titanium Backup), otherwise you can't open camera device
APK attached (EDIT: removed)
Example pics:
Stock
JpegSnoopResult:
Code:
JPEGsnoop 1.5.2 by Calvin Hass
http://www.impulseadventure.com/photo/
-------------------------------------
Filename: [C:\Dokumente und Einstellungen\games\Eigene Dateien\Dropbox\privat\telefon\stock.JPG]
Filesize: [832205] Bytes
Start Offset: 0x00000000
*** Marker: SOI (xFFD8) ***
OFFSET: 0x00000000
*** Marker: APP1 (xFFE1) ***
OFFSET: 0x00000002
length = 7612
Identifier = [Exif]
Identifier TIFF = 0x[4D4D002A 00000008]
Endian = Motorola (big)
TAG Mark x002A = 0x002A
EXIF IFD0 @ Absolute 0x00000014
Dir Length = 0x000A
[Make ] = "Sony Ericsson"
[Model ] = "MT15i"
[Orientation ] = Row 0: top, Col 0: left
[XResolution ] = 72/1
[YResolution ] = 72/1
[ResolutionUnit ] = Inch
[Software ] = "4.0.1.A.0.283_2d_f200"
[DateTime ] = "2011:10:18 13:07:41"
[YCbCrPositioning ] = Centered
[ExifOffset ] = @ 0x00D4
Offset to Next IFD = 0x00000270
EXIF IFD1 @ Absolute 0x0000027C
Dir Length = 0x0007
[Compression ] = JPEG
[XResolution ] = 72/1
[YResolution ] = 72/1
[ResolutionUnit ] = Inch
[JpegIFOffset ] = @ +0x02DA = @ 0x02E6
[JpegIFByteCount ] = 6874
Offset to Next IFD = 0x00000000
EXIF SubIFD @ Absolute 0x000000E0
Dir Length = 0x0018
[ExposureTime ] = 10/500 s
[FNumber ] = F2.4
[ISOSpeedRatings ] = 160
[ExifVersion ] = 02.20
[DateTimeOriginal ] = "2011:10:18 13:07:41"
[DateTimeDigitized ] = "2011:10:18 13:07:41"
[ComponentsConfiguration ] = [Y Cb Cr .]
[ShutterSpeedValue ] = 564/100
[ExposureBiasValue ] = 0.00 eV
[MeteringMode ] = CenterWeightedAverage
[LightSource ] = unknown
[Flash ] = Flash did not fire
[FocalLength ] = 4 mm
[FlashPixVersion ] = 01.00
[ColorSpace ] = sRGB
[ExifImageWidth ] = 3264
[ExifImageHeight ] = 2448
[ExifInteroperabilityOffset ] = @ 0x0252
[CustomRendered ] = Normal process
[ExposureMode ] = Auto exposure
[WhiteBalance ] = Auto white balance
[DigitalZoomRatio ] = 100/100
[SceneCaptureType ] = Standard
[SubjectDistanceRange ] = 0
EXIF InteropIFD @ Absolute 0x0000025E
Dir Length = 0x0002
[InteroperabilityIndex ] = "R98"
[InteroperabilityVersion ] = 01.00
*** Marker: DQT (xFFDB) ***
Define a Quantization Table.
OFFSET: 0x00001DC0
Table length = 132
----
Precision=8 bits
Destination ID=0 (Luminance)
DQT, Row #0: 4 3 3 4 6 10 13 16
DQT, Row #1: 3 3 4 5 7 15 16 14
DQT, Row #2: 4 3 4 6 10 15 18 15
DQT, Row #3: 4 4 6 8 13 23 21 16
DQT, Row #4: 5 6 10 15 18 28 27 20
DQT, Row #5: 6 9 14 17 21 27 29 24
DQT, Row #6: 13 17 20 23 27 31 31 26
DQT, Row #7: 19 24 25 25 29 26 27 26
Approx quality factor = 86.93 (scaling=26.13 variance=1.22)
----
Precision=8 bits
Destination ID=1 (Chrominance)
DQT, Row #0: 4 5 6 12 26 26 26 26
DQT, Row #1: 5 5 7 17 26 26 26 26
DQT, Row #2: 6 7 15 26 26 26 26 26
DQT, Row #3: 12 17 26 26 26 26 26 26
DQT, Row #4: 26 26 26 26 26 26 26 26
DQT, Row #5: 26 26 26 26 26 26 26 26
DQT, Row #6: 26 26 26 26 26 26 26 26
DQT, Row #7: 26 26 26 26 26 26 26 26
Approx quality factor = 86.91 (scaling=26.18 variance=0.37)
*** Marker: SOF0 (Baseline DCT) (xFFC0) ***
OFFSET: 0x00001E46
Frame header length = 17
Precision = 8
Number of Lines = 2448
Samples per Line = 3264
Image Size = 3264 x 2448
Raw Image Orientation = Landscape
Number of Img components = 3
Component[1]: ID=0x01, Samp Fac=0x22 (Subsamp 1 x 1), Quant Tbl Sel=0x00 (Lum: Y)
Component[2]: ID=0x02, Samp Fac=0x11 (Subsamp 2 x 2), Quant Tbl Sel=0x01 (Chrom: Cb)
Component[3]: ID=0x03, Samp Fac=0x11 (Subsamp 2 x 2), Quant Tbl Sel=0x01 (Chrom: Cr)
*** Marker: SOS (Start of Scan) (xFFDA) ***
OFFSET: 0x00001FFD
Scan header length = 12
Number of img components = 3
Component[1]: selector=0x01, table=0x00
Component[2]: selector=0x02, table=0x11
Component[3]: selector=0x03, table=0x11
Spectral selection = 0 .. 63
Successive approximation = 0x00
*** Decoding SCAN Data ***
OFFSET: 0x0000200B
Scan Decode Mode: Full IDCT (AC + DC)
Scan Data encountered marker 0xFFD9 @ 0x000CB2CB.0
Compression stats:
Compression Ratio: 29.09:1
Bits per pixel: 0.83:1
Huffman code histogram stats:
Huffman Table: (Dest ID: 0, Class: DC)
# codes of length 01 bits: 0 ( 0%)
# codes of length 02 bits: 18575 ( 15%)
# codes of length 03 bits: 91405 ( 73%)
# codes of length 04 bits: 6690 ( 5%)
# codes of length 05 bits: 5345 ( 4%)
# codes of length 06 bits: 2710 ( 2%)
# codes of length 07 bits: 123 ( 0%)
# codes of length 08 bits: 0 ( 0%)
# codes of length 09 bits: 0 ( 0%)
# codes of length 10 bits: 0 ( 0%)
# codes of length 11 bits: 0 ( 0%)
# codes of length 12 bits: 0 ( 0%)
# codes of length 13 bits: 0 ( 0%)
# codes of length 14 bits: 0 ( 0%)
# codes of length 15 bits: 0 ( 0%)
# codes of length 16 bits: 0 ( 0%)
Huffman Table: (Dest ID: 1, Class: DC)
# codes of length 01 bits: 0 ( 0%)
# codes of length 02 bits: 41476 ( 66%)
# codes of length 03 bits: 9744 ( 16%)
# codes of length 04 bits: 5105 ( 8%)
# codes of length 05 bits: 3621 ( 6%)
# codes of length 06 bits: 1970 ( 3%)
# codes of length 07 bits: 474 ( 1%)
# codes of length 08 bits: 34 ( 0%)
# codes of length 09 bits: 0 ( 0%)
# codes of length 10 bits: 0 ( 0%)
# codes of length 11 bits: 0 ( 0%)
# codes of length 12 bits: 0 ( 0%)
# codes of length 13 bits: 0 ( 0%)
# codes of length 14 bits: 0 ( 0%)
# codes of length 15 bits: 0 ( 0%)
# codes of length 16 bits: 0 ( 0%)
Huffman Table: (Dest ID: 0, Class: AC)
# codes of length 01 bits: 0 ( 0%)
# codes of length 02 bits: 365681 ( 44%)
# codes of length 03 bits: 60853 ( 7%)
# codes of length 04 bits: 247142 ( 30%)
# codes of length 05 bits: 77263 ( 9%)
# codes of length 06 bits: 34012 ( 4%)
# codes of length 07 bits: 28448 ( 3%)
# codes of length 08 bits: 9985 ( 1%)
# codes of length 09 bits: 5945 ( 1%)
# codes of length 10 bits: 2962 ( 0%)
# codes of length 11 bits: 1333 ( 0%)
# codes of length 12 bits: 885 ( 0%)
# codes of length 13 bits: 0 ( 0%)
# codes of length 14 bits: 0 ( 0%)
# codes of length 15 bits: 97 ( 0%)
# codes of length 16 bits: 1252 ( 0%)
Huffman Table: (Dest ID: 1, Class: AC)
# codes of length 01 bits: 0 ( 0%)
# codes of length 02 bits: 161579 ( 51%)
# codes of length 03 bits: 41566 ( 13%)
# codes of length 04 bits: 50669 ( 16%)
# codes of length 05 bits: 34863 ( 11%)
# codes of length 06 bits: 16596 ( 5%)
# codes of length 07 bits: 3241 ( 1%)
# codes of length 08 bits: 5403 ( 2%)
# codes of length 09 bits: 3115 ( 1%)
# codes of length 10 bits: 1497 ( 0%)
# codes of length 11 bits: 603 ( 0%)
# codes of length 12 bits: 120 ( 0%)
# codes of length 13 bits: 0 ( 0%)
# codes of length 14 bits: 239 ( 0%)
# codes of length 15 bits: 117 ( 0%)
# codes of length 16 bits: 245 ( 0%)
YCC clipping in DC:
Y component: [<0= 0] [>255= 0]
Cb component: [<0= 0] [>255= 0]
Cr component: [<0= 0] [>255= 0]
RGB clipping in DC:
R component: [<0= 0] [>255= 0]
G component: [<0= 0] [>255= 0]
B component: [<0= 0] [>255= 0]
Average Pixel Luminance (Y):
Y=[119] (range: 0..255)
Brightest Pixel Search:
YCC=[ 1017, -16, -277] RGB=[205,255,251] @ MCU[ 90, 38]
Finished Decoding SCAN Data
Number of RESTART markers decoded: 0
Next position in scan buffer: Offset 0x000CB2CA.2
*** Marker: EOI (End of Image) (xFFD9) ***
OFFSET: 0x000CB2CB
*** Searching Compression Signatures ***
Signature: 01387A14AF75DC6963F040C1239B7DED
Signature (Rotated): 0196457BE1E9E30F00715A3DDE8B160C
File Offset: 0 bytes
Chroma subsampling: 2x2
EXIF Make/Model: OK [Sony Ericsson] [MT15i]
EXIF Makernotes: NONE
EXIF Software: OK [4.0.1.A.0.283_2d_f200]
Modded
JpegSnoopResult:
Code:
JPEGsnoop 1.5.2 by Calvin Hass
http://www.impulseadventure.com/photo/
-------------------------------------
Filename: [C:\Dokumente und Einstellungen\games\Eigene Dateien\Dropbox\privat\telefon\modded.JPG]
Filesize: [2360386] Bytes
Start Offset: 0x00000000
*** Marker: SOI (xFFD8) ***
OFFSET: 0x00000000
*** Marker: APP1 (xFFE1) ***
OFFSET: 0x00000002
length = 7550
Identifier = [Exif]
Identifier TIFF = 0x[4D4D002A 00000008]
Endian = Motorola (big)
TAG Mark x002A = 0x002A
EXIF IFD0 @ Absolute 0x00000014
Dir Length = 0x000A
[Make ] = "Sony Ericsson"
[Model ] = "MT15i"
[Orientation ] = Row 0: top, Col 0: left
[XResolution ] = 72/1
[YResolution ] = 72/1
[ResolutionUnit ] = Inch
[Software ] = "4.0.1.A.0.283_2d_f200"
[DateTime ] = "2011:10:18 13:03:54"
[YCbCrPositioning ] = Centered
[ExifOffset ] = @ 0x00D4
Offset to Next IFD = 0x00000270
EXIF IFD1 @ Absolute 0x0000027C
Dir Length = 0x0007
[Compression ] = JPEG
[XResolution ] = 72/1
[YResolution ] = 72/1
[ResolutionUnit ] = Inch
[JpegIFOffset ] = @ +0x02DA = @ 0x02E6
[JpegIFByteCount ] = 6812
Offset to Next IFD = 0x00000000
EXIF SubIFD @ Absolute 0x000000E0
Dir Length = 0x0018
[ExposureTime ] = 10/640 s
[FNumber ] = F2.4
[ISOSpeedRatings ] = 200
[ExifVersion ] = 02.20
[DateTimeOriginal ] = "2011:10:18 13:03:54"
[DateTimeDigitized ] = "2011:10:18 13:03:54"
[ComponentsConfiguration ] = [Y Cb Cr .]
[ShutterSpeedValue ] = 600/100
[ExposureBiasValue ] = 0.00 eV
[MeteringMode ] = CenterWeightedAverage
[LightSource ] = unknown
[Flash ] = Flash did not fire
[FocalLength ] = 4 mm
[FlashPixVersion ] = 01.00
[ColorSpace ] = sRGB
[ExifImageWidth ] = 3264
[ExifImageHeight ] = 2448
[ExifInteroperabilityOffset ] = @ 0x0252
[CustomRendered ] = Normal process
[ExposureMode ] = Auto exposure
[WhiteBalance ] = Auto white balance
[DigitalZoomRatio ] = 100/100
[SceneCaptureType ] = Standard
[SubjectDistanceRange ] = 0
EXIF InteropIFD @ Absolute 0x0000025E
Dir Length = 0x0002
[InteroperabilityIndex ] = "R98"
[InteroperabilityVersion ] = 01.00
*** Marker: DQT (xFFDB) ***
Define a Quantization Table.
OFFSET: 0x00001D82
Table length = 132
----
Precision=8 bits
Destination ID=0 (Luminance)
DQT, Row #0: 1 1 1 1 1 2 3 4
DQT, Row #1: 1 1 1 1 2 3 4 3
DQT, Row #2: 1 1 1 1 2 3 4 3
DQT, Row #3: 1 1 1 2 3 5 5 4
DQT, Row #4: 1 1 2 3 4 7 6 5
DQT, Row #5: 1 2 3 4 5 6 7 6
DQT, Row #6: 3 4 5 5 6 7 7 6
DQT, Row #7: 4 6 6 6 7 6 6 6
Approx quality factor = 96.95 (scaling=6.11 variance=1.09)
----
Precision=8 bits
Destination ID=1 (Chrominance)
DQT, Row #0: 1 1 1 3 6 6 6 6
DQT, Row #1: 1 1 2 4 6 6 6 6
DQT, Row #2: 1 2 3 6 6 6 6 6
DQT, Row #3: 3 4 6 6 6 6 6 6
DQT, Row #4: 6 6 6 6 6 6 6 6
DQT, Row #5: 6 6 6 6 6 6 6 6
DQT, Row #6: 6 6 6 6 6 6 6 6
DQT, Row #7: 6 6 6 6 6 6 6 6
Approx quality factor = 96.99 (scaling=6.01 variance=0.24)
*** Marker: SOF0 (Baseline DCT) (xFFC0) ***
OFFSET: 0x00001E08
Frame header length = 17
Precision = 8
Number of Lines = 2448
Samples per Line = 3264
Image Size = 3264 x 2448
Raw Image Orientation = Landscape
Number of Img components = 3
Component[1]: ID=0x01, Samp Fac=0x22 (Subsamp 1 x 1), Quant Tbl Sel=0x00 (Lum: Y)
Component[2]: ID=0x02, Samp Fac=0x11 (Subsamp 2 x 2), Quant Tbl Sel=0x01 (Chrom: Cb)
Component[3]: ID=0x03, Samp Fac=0x11 (Subsamp 2 x 2), Quant Tbl Sel=0x01 (Chrom: Cr)
*** Marker: SOS (Start of Scan) (xFFDA) ***
OFFSET: 0x00001FBF
Scan header length = 12
Number of img components = 3
Component[1]: selector=0x01, table=0x00
Component[2]: selector=0x02, table=0x11
Component[3]: selector=0x03, table=0x11
Spectral selection = 0 .. 63
Successive approximation = 0x00
*** Decoding SCAN Data ***
OFFSET: 0x00001FCD
Scan Decode Mode: Full IDCT (AC + DC)
Scan Data encountered marker 0xFFD9 @ 0x00240440.0
Compression stats:
Compression Ratio: 10.19:1
Bits per pixel: 2.36:1
Huffman code histogram stats:
Huffman Table: (Dest ID: 0, Class: DC)
# codes of length 01 bits: 0 ( 0%)
# codes of length 02 bits: 4567 ( 4%)
# codes of length 03 bits: 87561 ( 70%)
# codes of length 04 bits: 9569 ( 8%)
# codes of length 05 bits: 8150 ( 7%)
# codes of length 06 bits: 6817 ( 5%)
# codes of length 07 bits: 5323 ( 4%)
# codes of length 08 bits: 2671 ( 2%)
# codes of length 09 bits: 190 ( 0%)
# codes of length 10 bits: 0 ( 0%)
# codes of length 11 bits: 0 ( 0%)
# codes of length 12 bits: 0 ( 0%)
# codes of length 13 bits: 0 ( 0%)
# codes of length 14 bits: 0 ( 0%)
# codes of length 15 bits: 0 ( 0%)
# codes of length 16 bits: 0 ( 0%)
Huffman Table: (Dest ID: 1, Class: DC)
# codes of length 01 bits: 0 ( 0%)
# codes of length 02 bits: 16291 ( 26%)
# codes of length 03 bits: 13190 ( 21%)
# codes of length 04 bits: 13075 ( 21%)
# codes of length 05 bits: 8920 ( 14%)
# codes of length 06 bits: 5109 ( 8%)
# codes of length 07 bits: 3357 ( 5%)
# codes of length 08 bits: 1935 ( 3%)
# codes of length 09 bits: 493 ( 1%)
# codes of length 10 bits: 54 ( 0%)
# codes of length 11 bits: 0 ( 0%)
# codes of length 12 bits: 0 ( 0%)
# codes of length 13 bits: 0 ( 0%)
# codes of length 14 bits: 0 ( 0%)
# codes of length 15 bits: 0 ( 0%)
# codes of length 16 bits: 0 ( 0%)
Huffman Table: (Dest ID: 0, Class: AC)
# codes of length 01 bits: 0 ( 0%)
# codes of length 02 bits: 1073745 ( 47%)
# codes of length 03 bits: 202328 ( 9%)
# codes of length 04 bits: 473414 ( 21%)
# codes of length 05 bits: 235823 ( 10%)
# codes of length 06 bits: 102316 ( 4%)
# codes of length 07 bits: 91894 ( 4%)
# codes of length 08 bits: 43153 ( 2%)
# codes of length 09 bits: 29245 ( 1%)
# codes of length 10 bits: 16204 ( 1%)
# codes of length 11 bits: 6722 ( 0%)
# codes of length 12 bits: 879 ( 0%)
# codes of length 13 bits: 0 ( 0%)
# codes of length 14 bits: 0 ( 0%)
# codes of length 15 bits: 82 ( 0%)
# codes of length 16 bits: 5813 ( 0%)
Huffman Table: (Dest ID: 1, Class: AC)
# codes of length 01 bits: 0 ( 0%)
# codes of length 02 bits: 335655 ( 34%)
# codes of length 03 bits: 167892 ( 17%)
# codes of length 04 bits: 200170 ( 20%)
# codes of length 05 bits: 149402 ( 15%)
# codes of length 06 bits: 63901 ( 7%)
# codes of length 07 bits: 16446 ( 2%)
# codes of length 08 bits: 21831 ( 2%)
# codes of length 09 bits: 14265 ( 1%)
# codes of length 10 bits: 4147 ( 0%)
# codes of length 11 bits: 2228 ( 0%)
# codes of length 12 bits: 271 ( 0%)
# codes of length 13 bits: 0 ( 0%)
# codes of length 14 bits: 881 ( 0%)
# codes of length 15 bits: 689 ( 0%)
# codes of length 16 bits: 744 ( 0%)
YCC clipping in DC:
Y component: [<0= 0] [>255= 0]
Cb component: [<0= 0] [>255= 0]
Cr component: [<0= 0] [>255= 0]
RGB clipping in DC:
R component: [<0= 0] [>255= 0]
G component: [<0= 0] [>255= 0]
B component: [<0= 0] [>255= 0]
Average Pixel Luminance (Y):
Y=[120] (range: 0..255)
Brightest Pixel Search:
YCC=[ 1010, 44, -290] RGB=[202,255,255] @ MCU[ 92, 37]
Finished Decoding SCAN Data
Number of RESTART markers decoded: 0
Next position in scan buffer: Offset 0x00240440.0
*** Marker: EOI (End of Image) (xFFD9) ***
OFFSET: 0x00240440
*** Searching Compression Signatures ***
Signature: 010564D93F295ADB889B91604DC82EE1
Signature (Rotated): 014302FE54745F4DBB58A0D51CDC66BD
File Offset: 0 bytes
Chroma subsampling: 2x2
EXIF Make/Model: OK [Sony Ericsson] [MT15i]
EXIF Makernotes: NONE
EXIF Software: OK [4.0.1.A.0.283_2d_f200]
For me it seems that image quality is slightly improved (less compression artifacts). But there is still some big limitation as the driver seems to use 2x2 chroma subsampling (see http://wwwimpulseadventurecom/photo/chroma-subsampling.html for technical details). I will have to write a little tool to see if the driver is capable of other formats...
Frank
Reserved...
If you like the mod i can do a 2.3.3 version and/or try a 2.3.4 to 2.3.3 backport (but i will need someone for testing as i don't want to change my rom).
Nice. I hope to be able to test it tomorrow.
Sent from my Mt15i using Opera Mobile.
not working on my Neo 2.3.4. say camera not available. I set permissions writhe.
not work on my neo 2.3.4 , i have set permissions.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
also not working
(the same as MaxMedia)
I suppose that you need to give a framework's apk and a semccameraUI apk too
Sent from my Xperiã ÑeØ using XDA app
Donate to my paypal acc. if I helped you & if u can't, atleast hit the thanx button
Hmm, thats strange.
Lets verify a few things:
- you have a Neo (not Neo V) on stock 2.3.4 GENERIC (fs WORLD-1-8_4.0.1.A.0.283), rooted
- Camera was not running (task stopped)
- you did replace /system/app/SemcCameraUI.apk
- permissions are rw-r--r--, filesize 1.881.049, owner system, group sdcard_rw
Now, regarding the error:
- Were you able to start the camera app? Is the app not found(old shortcuts will not work) or is the error coming from the app ?
You can try to run(install) the apk after it is installed. I did this accidently a few times so i am not sure if this is neccesarry to get it to work. If the app is not finding the camera(driver) is think something is not correctly initialized.
If it's still not working you might try doing the mod yourself (see blueprint).
here it does not work, too...
btw. isnt 90% or 95% enough ? what is the default ?
i dont need 4mb pics . 1,5mb instead of 0.7mb would be fine ;o)
inteks said:
here it does not work, too...
btw. isnt 90% or 95% enough ? what is the default ?
i dont need 4mb pics . 1,5mb instead of 0.7mb would be fine ;o)
Click to expand...
Click to collapse
You've got an 8 GB card free for that i suppose
Sent from my Xperiã ÑeØ using XDA app
Donate to my paypal acc. if I helped you & if u can't, atleast hit the thanx button
frank_harmann said:
Hmm, thats strange.
Lets verify a few things:
- you have a Neo (not Neo V) on stock 2.3.4 GENERIC (fs WORLD-1-8_4.0.1.A.0.283), rooted
- Camera was not running (task stopped)
- you did replace /system/app/SemcCameraUI.apk
- permissions are rw-r--r--, filesize 1.881.049, owner system, group sdcard_rw
Now, regarding the error:
- Were you able to start the camera app? Is the app not found(old shortcuts will not work) or is the error coming from the app ?
You can try to run(install) the apk after it is installed. I did this accidently a few times so i am not sure if this is neccesarry to get it to work. If the app is not finding the camera(driver) is think something is not correctly initialized.
If it's still not working you might try doing the mod yourself (see blueprint).
Click to expand...
Click to collapse
For the verification step, i did evrything-Verified
Error is- camera not available and 3rd step about reinstalling, I'll do that when I'll be free and then give feedback
Sent from my Xperiã ÑeØ using XDA app
Donate to my paypal acc. if I helped you & if u can't, atleast hit the thanx button
inteks said:
here it does not work, too...
btw. isnt 90% or 95% enough ? what is the default ?
i dont need 4mb pics . 1,5mb instead of 0.7mb would be fine ;o)
Click to expand...
Click to collapse
I totally agree, I'd say go with 90 or even 85, it reduces size a lot and it almost doesn't affect the quality, at least it is what most picture software does in the pc.
We could compare.
I don't know what settings had done Sony, I see to much noise and poor detail in my pictures, but I suspect they could be better.
frank_harmann said:
Stock
Modded
Click to expand...
Click to collapse
It's hard to notice actual visual improvements in your sample pic since even the stock settings took a really good picture. Perhaps try taking a pic of something where the stock app doesn't do as well (something further away than a mostly macro shot) and then take a modded shot and see if it's any better.
nexus2515 said:
You've got an 8 GB card free for that i suppose
Sent from my Xperiã ÑeØ using XDA app
Donate to my paypal acc. if I helped you & if u can't, atleast hit the thanx button
Click to expand...
Click to collapse
if have 32gb card in my phone but i've till now more than 1000 photos
my picturebackup at home with all pics is allready more then 20gb (only pics!!)
pls dont waste space if it doesnt improve quality ;o)
SCHUMI_4EVER said:
It's hard to notice actual visual improvements in your sample pic since even the stock settings took a really good picture. Perhaps try taking a pic of something where the stock app doesn't do as well (something further away than a mostly macro shot) and then take a modded shot and see if it's any better.
Click to expand...
Click to collapse
You mean, leave the house
Well, as i am interested to see if this really improves anything i will try to do some shots outside using stock, modded and Camera360.
Btw, if anyone has a max quality photo from Camera360, Camera Zoom FX or Vignette taken with the Neo/Arc i would like to run it through JpegSnoop in order to see if these have different chroma subsampling.
Regarding the compression i could easily make versions with different settings(or try to make it configurable, which is a bit tricky only having smali code).
Regarding the installation problem i am not sure where the error is. If anyone would be willing to do the easy blueprint steps on there own(not using the provided apk) this might enlighten me
EDIT: Please try to wipe the camera settings. This might solve the problem. (Settings->Applications->Manage Applications->All->Camera->Delete Data)
Ok, i just wrote a small test program to see what formats are supported by the driver.
Bad luck: only JPEG is supported (default compression is 85%)
This means in order to get rid of the 2x2 chroma subsampling the driver itself has to be modded (its even possible that the code is in firmware or limited by hardware jpeg compression).
So at the moment the best i can archieve at apk-level is setting the compression level up to 100%.
Btw, does anybody know which are the driver files for the cam?
wiping data does not help.
i tryed to do the mod for myself and got the same error ?!?
btw the codeline was on mine at 999 and not at 994 .....
im on 2.3.4 stock
Chaotic behaviour is difficult to reproduce
However, just hold on a bit, i am currently deeper in the rabbit hole and trying to mod the camdrive itself (atleast i already figured out places of the quantation and diffie huffman tables and that the driver can either use the dsp chip for hw-jpeg compression or fall back to sw-jpeg compression.) I will have to poke around a bit after i reanimated my phone (got a bootloop by a wrong change to the system files Well, at least i now can switch to doomkernel while in the process of fixing...)
Well, if you are playing with the driver, can't you edit night mode? Current exposure time is 1sec, which is short... It should be longer, at least 10sec...
vignette sample
frank_harmann said:
You mean, leave the house
Well, as i am interested to see if this really improves anything i will try to do some shots outside using stock, modded and Camera360.
Btw, if anyone has a max quality photo from Camera360, Camera Zoom FX or Vignette taken with the Neo/Arc i would like to run it through JpegSnoop in order to see if these have different chroma subsampling.
Regarding the compression i could easily make versions with different settings(or try to make it configurable, which is a bit tricky only having smali code).
Regarding the installation problem i am not sure where the error is. If anyone would be willing to do the easy blueprint steps on there own(not using the provided apk) this might enlighten me
EDIT: Please try to wipe the camera settings. This might solve the problem. (Settings->Applications->Manage Applications->All->Camera->Delete Data)
Click to expand...
Click to collapse
here comes the vignette sample from my neoView attachment 2011-10-22-17-34-22-154.zip

Tutorial Fix R800X UK nandroid Back,Home,Menu, and Search buttons

To fix you need to edit keypad-zeus.kl its located in /system/usr/keylayout
the original file looks like this
# file SEMC-DBZ1_keypad.kl
# this corresponds to kernel/arch/arm/mach-msm/keypad-zeus.*
#
# defines for values are in frameworks/base/include/ui/KeycodeLabels.h
# KEY_UP, KEY_LEFT, KEY_RIGHT, KEY_DOWN
key 103 DPAD_UP WAKE_DROPPED
key 105 DPAD_LEFT WAKE_DROPPED
key 106 DPAD_RIGHT WAKE_DROPPED
key 108 DPAD_DOWN WAKE_DROPPED
# BTN_Y, BTN_B, BTN_A, BTN_X,
key 308 BUTTON_Y WAKE_DROPPED
key 305 BACK ALT WAKE_DROPPED
key 304 DPAD_CENTER WAKE_DROPPED
key 307 BUTTON_X WAKE_DROPPED
# BTN_TL, BTN_TR
# Should be FOCUS, CAMERA...
# For now, leave undefined
key 310 BUTTON_L1 WAKE_DROPPED
key 311 BUTTON_R1 WAKE_DROPPED
# KEY_MEDIA (PSN_KEY in schematic)
# For now, leave undefined
key 226 MENU WAKE_DROPPED
There is nothing in the file that defines the keys home menu back and search so we have to add a few lines to do that.
add these lines to the end of it
#KEY_MENU,KEY_HOME,KEY_BACK,KEY_SEARCH
key 139 MENU
key 102 HOME WAKE_DROPPED
key 158 BACK
key 217 SEARCH
this will enable the buttons on the front of the phone the final file should look like this
# file SEMC-DBZ1_keypad.kl
# this corresponds to kernel/arch/arm/mach-msm/keypad-zeus.*
#
# defines for values are in frameworks/base/include/ui/KeycodeLabels.h
# KEY_UP, KEY_LEFT, KEY_RIGHT, KEY_DOWN
key 103 DPAD_UP WAKE_DROPPED
key 105 DPAD_LEFT WAKE_DROPPED
key 106 DPAD_RIGHT WAKE_DROPPED
key 108 DPAD_DOWN WAKE_DROPPED
# BTN_Y, BTN_B, BTN_A, BTN_X,
key 308 BUTTON_Y WAKE_DROPPED
key 305 BACK ALT WAKE_DROPPED
key 304 DPAD_CENTER WAKE_DROPPED
key 307 BUTTON_X WAKE_DROPPED
# BTN_TL, BTN_TR
# Should be FOCUS, CAMERA...
# For now, leave undefined
key 310 BUTTON_L1 WAKE_DROPPED
key 311 BUTTON_R1 WAKE_DROPPED
# KEY_MEDIA (PSN_KEY in schematic)
# For now, leave undefined
key 226 MENU WAKE_DROPPED
#KEY_MENU,KEY_HOME,KEY_BACK,KEY_SEARCH
key 139 MENU
key 102 HOME WAKE_DROPPED
key 158 BACK
key 217 SEARCH
i used root browser by jrummy its free in the market also for working wifi in this rom flash doomlords stock wifi modules for r800x
MAKE SURE YOU INSTALL CLOCKWORK MOD BEFORE YOU ATTEMPT THIS SO IF YOU MAKE A MISTAKE YOU CAN REVERT TO A PREVIOUS NANDROID!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Very clear instructions and very easy to do. When I rebooted, all my hardware keys worked just like they should. Thanks!
EDIT: I found later that when I did this, my hardware keys on the front worked fine, but then my gamepad keys stopped working. After much experimentation, I discovered that if I inserted the new lines above the one that reads "# KEY_UP, KEY_LEFT, KEY_RIGHT, KEY_DOWN", then my game pad buttons all worked and so did my front buttons. So that would look like this:
# file SEMC-DBZ1_keypad.kl
# this corresponds to kernel/arch/arm/mach-msm/keypad-zeus.*
#
# defines for values are in frameworks/base/include/ui/KeycodeLabels.h
#KEY_MENU,KEY_HOME,KEY_BACK,KEY_SEARCH
key 139 MENU
key 102 HOME WAKE_DROPPED
key 158 BACK
key 217 SEARCH
# KEY_UP, KEY_LEFT, KEY_RIGHT, KEY_DOWN
key 103 DPAD_UP WAKE_DROPPED
key 105 DPAD_LEFT WAKE_DROPPED
key 106 DPAD_RIGHT WAKE_DROPPED
key 108 DPAD_DOWN WAKE_DROPPED
# BTN_Y, BTN_B, BTN_A, BTN_X,
key 308 BUTTON_Y WAKE_DROPPED
key 305 BACK ALT WAKE_DROPPED
key 304 DPAD_CENTER WAKE_DROPPED
key 307 BUTTON_X WAKE_DROPPED
# BTN_TL, BTN_TR
# Should be FOCUS, CAMERA...
# For now, leave undefined
key 310 BUTTON_L1 WAKE_DROPPED
key 311 BUTTON_R1 WAKE_DROPPED
# KEY_MEDIA (PSN_KEY in schematic)
# For now, leave undefined
key 226 MENU WAKE_DROPPED

Keycode_HOME don't work in custom ROM

I have a STB Android with a custom android ROM in which the virtual home key (keycode_HOME) don't work. These are the traces of logcat
03-30 23:37:28.872 D / WindowManager (3694): keycode = 3 interceptKeyTq screenIsOn keyguardActive = true = false = 2000000 policyFlags isWakeKey = false
03-30 23:37:28.872 I / WindowManager (3694): mapkey no map key list
03-30 23:37:28.872 D / WindowManager (3694): interceptKeyTi keyCode = 3 down = false repeatCount = 0 mHomePressed keyguardOn = true = true = false Canceled
03-30 23:37:28.872 W / ContextImpl (3694): Calling a method in the system without a qualified user process: android.app.ContextImpl.sendBroadcast: 1067 com.android.internal.policy.impl.PhoneWindowManager.interceptKeyBeforeDispatching: com.android.server.wm.InputMonitor.interceptKeyBeforeDispatching 1939 352 com.android.server.input.InputManagerService.interceptKeyBeforeDispatching: 1408 dalvik.system.NativeStart.run: -2
I do not have the source code of the kernel.
Any ideas?

IR Remote Mapping Help

Hi All,
So basically I flashed another firmware on my box and it works except the remote.
The buttons on the remote are messed up but work but some buttons aren't recognised.
However, i found the file that is responsible for the mapping of the buttons.
The file is located in /system/usr/keylayout/sun7i-ir.kl
So opening the file sun7i-ir.kl reveals this:
key 0x57 POWER WAKE
key 0x52 MEDIA_PLAY_PAUSE
#key 43 MEDIA_STOP
#key 60 MEDIA_PREVIOUS
#key 79 MEDIA_NEXT
key 0x1d 0
key 0x10 1
key 0x11 2
key 0x12 3
key 0x13 4
key 0x14 5
key 0x15 6
key 0x17 7
key 0x18 8
key 0x19 9
key 0x1c BROWSER
key 0x1e DEL
key 0x4d BACK
key 0x4e HOME
key 0x1a MENU
key 0x50 MOUSE
key 0x43 DPAD_UP
key 0x0a DPAD_DOWN
key 0x06 DPAD_LEFT
key 0x0e DPAD_RIGHT
key 0x02 DPAD_CENTER
key 0x1b VOLUME_UP
key 0x58 VOLUME_DOWN
key 0x5b MUTE
#key 0x0f PROG_RED
#key 0x4c PROG_GREEN
#key 31 PROG_YELLOW
key 0x4f SETTINGS
I found other configurations but none follows the same as my remote.
So I have attached an image of my remote so if anyone has the same remote or a similar one with the same buttons please extract your sun7i-ir.kl and send it to me.
Many thanks
Hi , I know its a bit old but... this app makes the magic to me.
https://play.google.com/store/apps/details?id=innerlife.keyboard.multilanguagekeymapredefiner&hl=es

how to setup old remote on a different android firmware

Hello,
Can someone explain to me, how to change files of a rom so the ir remote control works again?
thx,
Mark-1978
if you have root you can change the file from system/etc/remote.conf
drakulaboy said:
if you have root you can change the file from system/etc/remote.conf
Click to expand...
Click to collapse
Tried that, rebooted, but remote still not working. Used the original remote.conf file. Maybe it's a combination of firmware and remote.conf. Or there is another keylayout file. Tried a lot, just not again all the different remote.conf files.
mark-1978 said:
Tried that.
Click to expand...
Click to collapse
from what device is the remote and what device do you want to use with the remote?
it's this remote(picture): http://mxqproject.com/tutorial-andr...r-remote-control-after-firmware-installation/
And the rom is android 7.1.2 for p212.
The led of the box does light up when i press a button on the remote, but the software doesn't respond.
mark-1978 said:
Tried that, rebooted, but remote still not working. Used the original remote.conf file. Maybe it's a combination of firmware and remote.conf. Or there is another keylayout file. Tried a lot, just not again all the different remote.conf files.
Click to expand...
Click to collapse
Have you grabbed the remote.conf while the Stock Firmware was actually installed and copied that file over? Or have you only tried the files linked from the Video? Also, I don't know if you already have or not, but make sure the box has Root Access first with Magisk and enable show hidden files through ES File Explorer to look for the Remote.conf file.
whiteak said:
Have you grabbed the remote.conf while the Stock Firmware was actually installed and copied that file over? Or have you only tried the files linked from the Video? Also, I don't know if you already have or not, but make sure the box has Root Access first with Magisk and enable show hidden files through ES File Explorer to look for the Remote.conf file.
Click to expand...
Click to collapse
Took a rom for another device, but p212 and flashed that. For the remote, only down arrow works, up arrow gives right arrow, and youtube open app works, and music player app open works with remote. Tried pasting all kinds of remote.conf files, didn't work. Did replace the complete usr folder with stock 7.1.2 one, didn't work. Replaced remotecfg file, didn't work. Always the remote control has the same behaviour, with all the changes i made.
mark-1978 said:
Took a rom for another device, but p212 and flashed that. For the remote, only down arrow works, up arrow gives right arrow, and youtube open app works, and music player app open works with remote. Tried pasting all kinds of remote.conf files, didn't work. Did replace the complete usr folder with stock 7.1.2 one, didn't work. Replaced remotecfg file, didn't work. Always the remote control has the same behaviour, with all the changes i made.
Click to expand...
Click to collapse
I would try flashing back your Stock firmware for your device where you know the Remote works, Root with Magisk, install ES File, and grab the remote.conf from your actual working Stock Rom and try that file. Do you even have your original Stock Firmware or only another Rom from another device? If you don't have your original Stock firmware for your device, that's your first step, find it and flash that, you need it, not a Rom from another device regardless if it is P212 or not, you've already proven that it doesn't work.
the box does respond a bit(light led goes off and on) when i press a button. The dmesg -c command tells something about led going off and on too.
I always have a wireless keyboard connected to the box. Isn't it posible to use that to power on the box?
For now, it's a rf wireless turn on and off system i use for the android box.
Added the remote.conf from the installed rom. The 'volume -'button turns the android box off. Another press of the button doesn't turn on the box.
remote.conf from rom installed on box:
#*********************************************************************************************************
#this file is configuration for each factory remote device
# work_mode 0 :software mode 1 :hardware mode
# repeat_enable 0 :disable repeat 1 :enable repeat
#
# factory_code each device has it's unique factory code.
# pattern:custom_code(16bit)+index_code(16bit)
# examble: 0xff000001 = 0xff00(custom cod) 0001 (index)
#
# release_delay unit:ms.release will report from kernel to user layer after this period of time
# from press or repeat triggered.
#
# debug_enable 0 :debug disable 1 :debug disable
#
# SW MODE:
# bit_count how many bits in each frame
# tw_leader_act time window for leader active
# tw_bit0 time window for bit0 time.
# tw_bit1 time window for bit1 time
# tw_repeat_leader time window for repeat leader
# REG
# reg_base_gen set value for PREG_IR_DEC_BASE_GEN
# reg_control set value for PREG_IR_DEC_CONTROL
# reg_leader_act set value for PREG_IR_DEC_LEADER_ACTIVE
# reg_leader_idle set value for PREG_IR_DEC_LEADER_IDLE
# reg_repeat_leader set value for PREG_IR_DEC_REPEAT_IDLE
# reg_bit0_time set value for PREG_IR_DEC_BIT0_TIME
#*************************************************************************************************************
#amlogic NEC remote
work_mode = 0
repeat_enable = 1
repeat_delay = 130
repeat_peroid = 120
release_delay = 20
debug_enable = 1
fn_key_scancode = 0x44
left_key_scancode = 0x10
right_key_scancode = 0x11
up_key_scancode = 0x0b
down_key_scancode = 0x0e
ok_key_scancode = 0x0d
pageup_key_scancode = 0x1e
pagedown_key_scancode = 0x1f
custom_begin
factory_infcode = 0
factory_code = 0x40400001
mouse_begin
0 0x10
1 0x11
2 0x0b
3 0x0e
mouse_end
key_begin
0x4d 116
0x43 113
0x53 226
0x5b 0x179
0x57 150
0x54 0x16a
0x1c 114
0x1e 0x19c
0x1f 0x197
0x15 115
0x1a 102
0x42 158
0x45 139
# 0x44 0
0x0b 103
0x0e 108
0x10 105
0x11 106
0x0d 28
0x01 2
0x02 3
0x03 4
0x04 5
0x05 6
0x06 7
0x07 8
0x08 9
0x09 10
0x0f 0x175
0x00 11
0x0c 14
key_end
repeat_key_begin
0x4d 116
0x43 113
0x53 226
0x5b 0x179
0x57 150
0x54 0x16a
0x1c 114
0x1e 0x19c
0x1f 0x197
0x15 115
0x1a 102
0x42 158
0x45 139
# 0x44 0
0x0b 103
0x0e 108
0x10 105
0x11 106
0x0d 28
0x01 2
0x02 3
0x03 4
0x04 5
0x05 6
0x06 7
0x07 8
0x08 9
0x09 10
0x0f 0x175
0x00 11
0x0c 14
repeat_key_end
custom_end
custom_begin
factory_infcode = 1
factory_code = 0xbd020001
key_begin
0xca 103
0xd2 108
0x99 105
0xc1 106
0xce 97
0x45 116
0xc5 133
0x80 113
0xd0 15
0xd6 125
0x95 102
0xdd 104
0x8c 109
0x89 131
0x9c 130
0x9a 120
0xcd 121
key_end
custom_end
remote.conf from originally rom and remote of the box:
#*********************************************************************************************************
#this file is configuration for each factory remote device
# work_mode 0 :software mode 1 :hardware mode
# repeat_enable 0 :disable repeat 1 :enable repeat
#
# factory_code each device has it's unique factory code.
# pattern:custom_code(16bit)+index_code(16bit)
# examble: 0xff000001 = 0xff00(custom cod) 0001 (index)
#
# release_delay unit:ms.release will report from kernel to user layer after this period of time
# from press or repeat triggered.
#
# debug_enable 0 :debug disable 1 :debug disable
#
# SW MODE:
# bit_count how many bits in each frame
# tw_leader_act time window for leader active
# tw_bit0 time window for bit0 time.
# tw_bit1 time window for bit1 time
# tw_repeat_leader time window for repeat leader
# REG
# reg_base_gen set value for PREG_IR_DEC_BASE_GEN
# reg_control set value for PREG_IR_DEC_CONTROL
# reg_leader_act set value for PREG_IR_DEC_LEADER_ACTIVE
# reg_leader_idle set value for PREG_IR_DEC_LEADER_IDLE
# reg_repeat_leader set value for PREG_IR_DEC_REPEAT_IDLE
# reg_bit0_time set value for PREG_IR_DEC_BIT0_TIME
#*************************************************************************************************************
#amlogic NEC remote
work_mode = 0
repeat_enable = 1
repeat_delay = 130
repeat_peroid = 120
release_delay = 20
debug_enable = 1
fn_key_scancode = 0x15
left_key_scancode = 0x1c
right_key_scancode = 0x48
up_key_scancode = 0x44
down_key_scancode = 0x1d
ok_key_scancode = 0x1e
pageup_key_scancode = 0x04
pagedown_key_scancode = 0x1b
custom_begin
factory_infcode = 0
factory_code = 0xfb040001
mouse_begin
0 0x1c
1 0x48
2 0x44
3 0x1d
mouse_end
key_begin
0x47 11
0x13 2
0x10 3
0x11 4
0x0F 5
0x0C 6
0x0D 7
0x0B 8
0x08 9
0x09 10
0x5C 97
0x51 65
0x49 14
0x06 130
0x14 131
0x44 103
0x1D 108
0x1C 105
0x48 106
0x53 125
0x45 104
0x19 109
0x16 102
0x52 119
0x05 122
0x59 123
0x1b 120
0x04 121
0x1A 116
0x0A 15
0x0e 113
0x15 63
0x1F 102
0x1e 132
0x07 133
0x12 134
0x54 135
0x02 136
0x4f 30
0x42 48
0x5d 46
0x4c 32
0x58 137
0x55 140
key_end
repeat_key_begin
0x47 11
0x13 2
0x10 3
0x11 4
0x0F 5
0x0C 6
0x0D 7
0x0B 8
0x08 9
0x09 10
0x5C 97
0x51 65
0x49 14
0x06 130
0x14 131
0x44 103
0x1D 108
0x1C 105
0x48 106
0x53 125
0x45 104
0x19 109
0x16 102
0x52 119
0x05 122
0x59 123
0x1b 120
0x04 121
0x1A 116
0x0A 15
0x0e 113
0x15 63
0x1F 102
0x1e 132
0x07 133
0x12 134
0x54 135
0x02 136
0x4f 30
0x42 48
0x5d 46
0x4c 32
0x58 137
0x55 140
repeat_key_end
custom_end
custom_begin
factory_infcode = 1
factory_code = 0xfb000001
mouse_begin
0 0x08
1 0x0b
2 0x17
3 0x0f
mouse_end
key_begin
# < > dn up
0x0b 105
0x17 106
0x1b 108
0x0f 103
#ok back
0x1f 232
0x03 158
#menu home
0x02 125
0x01 102
#v- mute v+
0x09 114
0x0e 113
0x06 115
#out in
0x04 130
0x05 131
#power fn del
0x0a 116
0x08 63
0x07 14
key_end
repeat_key_begin
# < > dn up
0x0b 105
0x17 106
0x1b 108
0x0f 103
#ok back
0x1f 232
0x03 158
#menu home
0x02 125
0x01 102
#v- mute v+
0x09 114
0x0e 113
0x06 115
#out in
0x04 130
0x05 131
#power fn del
0x0a 116
0x08 63
0x07 14
repeat_key_end
custom_end
custom_begin
factory_infcode = 2
factory_code = 0x40400001
mouse_begin
0 0x10
1 0x11
2 0x0b
3 0x0e
mouse_end
key_begin
# 0 - 9
0x00 11
0x01 2
0x02 3
0x03 4
0x04 5
0x05 6
0x06 7
0x07 8
0x08 9
0x09 10
#del
0x0c 14
#recent apps
0x42 149
#web tv all_app
0x53 146
0x5b 147
0x54 145
#switch
0x44 888
# < >
0x10 105
0x11 106
0x0e 108
0x0b 103
#ok back
0x0d 232
0x42 158
#menu home
0x45 125
0x1a 102
#v- mute v+
0x17 114
0x43 113
0x18 115
#|<< >| || >>|
0x1f 122
0x40 119
0x41 128
0x1e 123
#power fn
0x4d 116
0x47 63
key_end
repeat_key_begin
# 0 - 9 del space explorer
0x00 11
0x01 2
0x02 3
0x03 4
0x04 5
0x05 6
0x06 7
0x07 8
0x08 9
0x09 10
#del
0x0c 14
#recent apps
0x42 149
#web tv all_app
0x53 146
0x5b 147
0x54 145
#switch
0x44 888
# < >
0x10 105
0x11 106
0x0e 108
0x0b 103
#ok back
0x0d 232
0x45 158
#menu home
0x1d 125
0x1a 102
#v- mute v+
0x17 114
0x43 113
0x18 115
#|<< >| || >>|
0x1f 122
0x40 119
0x41 128
0x1e 123
#power fn
0x4d 116
0x47 63
repeat_key_end
custom_end
custom_begin
factory_infcode = 3
factory_code = 0xff000001
mouse_begin
0 0x47
1 0x15
2 0x46
3 0x16
mouse_end
key_begin
# < > dn up
0x0e 105
0x1a 106
0x02 108
0x03 103
#ok back
0x07 232
0x5c 158
#menu home
0x13 125
0x48 102
#mute v- v+
0x01 113
0x58 114
0x0b 115
#power
0x14 116
key_end
repeat_key_begin
# < > dn up
0x0e 105
0x1a 106
0x02 108
0x03 103
#ok back
0x07 232
0x5c 158
#menu home
0x13 125
0x48 102
#mute v- v+
0x01 113
0x58 114
0x0b 115
#power
0x14 116
repeat_key_end
custom_end
custom_begin
factory_infcode = 4
factory_code = 0xfe010001
mouse_begin
0 0x51
1 0x50
2 0x16
3 0x1a
mouse_end
key_begin
# < > dn up
0x51 105
0x50 106
0x1a 108
0x16 103
#ok back
0x13 232
0x19 158
#menu home
0x00 125
0x11 102
#v- mute v+
0x10 114
0x45 113
0x18 115
#power fn del
0x40 116
0x4c 63
0x42 14
# 0 - 9
0x01 11
0x4e 2
0x0d 3
0x0c 4
0x4a 5
0x09 6
0x08 7
0x46 8
0x05 9
0x04 10
#|<< play stop >>| << >>
0x4b 122
# 0x5a 119
# 0x52 128
0x4f 123
# 0x55 121
# 0x54 120
#zoom setup photo music file allapp
0x14 130
0x0a 131
# 0x49 144
# 0x0a 143
# 0x48 148
#
# 0x4d 146
# 0x0e 146
# 0x0f 145
0x15 145
#setting search subtitle audio miracast browser
0x0f 142
# 0x03 127
# 0x06 149
# 0x44 150
0x43 193
0x41 146
key_end
repeat_key_begin
# < > dn up
0x51 105
0x50 106
0x1a 108
0x16 103
#ok back
0x13 232
0x19 158
#menu home
0x00 125
0x11 102
#v- mute v+
0x10 114
0x45 113
0x18 115
#power fn del
0x40 116
0x4c 63
0x42 14
# 0 - 9
0x01 11
0x4e 2
0x0d 3
0x0c 4
0x4a 5
0x09 6
0x08 7
0x46 8
0x05 9
0x04 10
#|<< play stop >>| << >>
0x4b 122
# 0x5a 119
# 0x52 128
0x4f 123
# 0x55 121
# 0x54 120
#zoom setup photo music file allapp
0x14 130
0x0a 131
# 0x49 144
# 0x0a 143
# 0x48 148
#
# 0x4d 146
# 0x0e 146
# 0x0f 145
0x15 145
#setting search subtitle audio miracast browser
0x0f 142
# 0x03 127
# 0x06 149
# 0x44 150
0x43 193
0x41 146
repeat_key_end
custom_end
custom_begin
factory_infcode = 5
factory_code = 0xfd020001
mouse_begin
0 0x5d
1 0x5c
2 0x06
3 0x1f
mouse_end
key_begin
# < > dn up
0x5d 105
0x5c 106
0x1f 108
0x06 103
#ok back
0x1e 232
0x1b 158
#menu home
0x58 125
0x59 102
#v- mute v+
0x16 114
0x43 113
0x44 115
#power fn del
0x1a 116
0x0b 63
0x0c 14
#play << >>
0x55 119
0x54 121
0x17 120
#|<< >>|
0x14 122
0x1c 123
# 0 - 9
0x00 11
0x01 2
0x02 3
0x03 4
0x04 5
0x05 6
0x1d 7
0x07 8
0x08 9
0x09 10
#file tv web set
0x53 148
0x12 147
0x57 146
0x52 142
#PHOTO PAGE_UP PAGE_DOWN MUSIC
0x10 144
0x18 61
0x19 62
0x11 143
#info language miracast wifi
0x42 152
0x13 192
0x41 193
0x15 194
key_end
repeat_key_begin
# < > dn up
0x5d 105
0x5c 106
0x1f 108
0x06 103
#ok back
0x1e 232
0x1b 158
#menu home
0x58 125
0x59 102
#v- mute v+
0x16 114
0x43 113
0x44 115
#power fn del
0x1a 116
0x0b 63
0x0c 14
#play << >>
0x55 119
0x54 121
0x17 120
#|<< >>|
0x14 122
0x1c 123
# 0 - 9
0x00 11
0x01 2
0x02 3
0x03 4
0x04 5
0x05 6
0x1d 7
0x07 8
0x08 9
0x09 10
#file tv web set
0x53 148
0x12 147
0x57 146
0x52 142
#PHOTO PAGE_UP PAGE_DOWN MUSIC
0x10 144
0x18 61
0x19 62
0x11 143
#info language miracast wifi
0x42 152
0x13 192
0x41 193
0x15 194
repeat_key_end
custom_end
custom_begin
factory_infcode = 6
factory_code = 0xdf000001
mouse_begin
0 0x47
1 0x07
2 0x1a
3 0x48
mouse_end
key_begin
# < > dn up
0x47 105
0x07 106
0x48 108
0x1a 103
#ok back
0x06 232
0x0a 158
#menu home
0x18 125
0x42 102
#v- mute v+
0x5c 114
0x5f 113
0x5d 115
#power fn del allapp browser
0x1c 116
0x03 63
0x10 14
0x01 145
0x41 146
#|<< >>|
0x4b 122
0x4f 123
# 0 - 9
0x0c 11
0x54 2
0x16 3
0x15 4
0x50 5
0x12 6
0x11 7
0x4c 8
0x0e 9
0x0d 10
key_end
repeat_key_begin
# < > dn up
0x47 105
0x07 106
0x48 108
0x1a 103
#ok back
0x06 232
0x0a 158
#menu home
0x18 125
0x42 102
#v- mute v+
0x5c 114
0x5f 113
0x5d 115
#power fn del allapp browser
0x1c 116
0x03 63
0x10 14
0x01 145
0x41 146
#|<< >>|
0x4b 122
0x4f 123
# 0 - 9
0x0c 11
0x54 2
0x16 3
0x15 4
0x50 5
0x12 6
0x11 7
0x4c 8
0x0e 9
0x0d 10
repeat_key_end
custom_end
custom_begin
factory_infcode = 7
factory_code = 0x1dcc0001
mouse_begin
0 0x10
1 0x12
2 0x07
3 0x44
mouse_end
key_begin
# < > dn up
0x10 105
0x12 106
0x44 108
0x07 103
#ok back
0x11 232
0x0f 158
#menu home
0x40 125
0x03 102
#v- v+
0x02 114
0x0e 115
#power fn del tv allapp browser kodi
0x00 116
0x4c 63
0x4a 14
0x01 147
0x0d 145
0x09 146
0x05 193
#|<< >>|
0x06 122
0x0a 123
# 0 - 9
0x49 11
0x41 2
0x45 3
0x4d 4
0x42 5
0x46 6
0x4e 7
0x43 8
0x47 9
0x4f 10
key_end
repeat_key_begin
# < > dn up
0x10 105
0x12 106
0x44 108
0x07 103
#ok back
0x11 232
0x0f 158
#menu home
0x40 125
0x03 102
#v- v+
0x02 114
0x0e 115
#power fn del tv allapp browser kodi
0x00 116
0x4c 63
0x4a 14
0x01 147
0x0d 145
0x09 146
0x05 193
#|<< >>|
0x06 122
0x0a 123
# 0 - 9
0x49 11
0x41 2
0x45 3
0x4d 4
0x42 5
0x46 6
0x4e 7
0x43 8
0x47 9
0x4f 10
repeat_key_end
custom_end
Unless that is from your Original Stock firmware for your device that means nothing, and from the looks of it, it isn't, you already know that the remote.conf from another rom doesn't work, like I said earlier, your first step is getting the original Stock firmware for your device, until you do that, you're not going to get anywhere with this.
whiteak said:
Unless that is from your Original Stock firmware for your device that means nothing, and from the looks of it, it isn't, you already know that the remote.conf from another rom doesn't work, like I said earlier, your first step is getting the original Stock firmware for your device, until you do that, you're not going to get anywhere with this.
Click to expand...
Click to collapse
Do you know what command the box uses to power on and off? So the second of the two numbers in the remote.conf. Firts '0x1d' which is the button pressed, then a number, which is the command, for example the powr button command.
If i know which command is the one for powerbutton, i could alter that in the remote.conf and maybe the box will turn on and off with that button. I think '116' is the command of the power button. And '0x11 is the input for a working button on the installed rom. Now if i put in '0x11 116', the down button should be the power button For when i press down on the installed rom with current remote, i select to the right > .
Tried it, not working.
the remote control looks like this one: https://www.ebay.com/itm/NEW-Replac...III-Android-TV-Box-MX-III-MX3-3-/141999406704
used this article to read the incoming remote signals.
power status led resume: KD, ZOOM, <<, HOME, BACK, UP, DOWN, FLAG WITH TWO LEGS, MOUSE, 1, 2, 6, 5, 7, 8, 9, 0, X IN RECTANGLE, WORLD SYMBOL,
playback enable: APPS
79 (readport): >>
video off: volume plus
video on: volume down
81 (readport): left
80 (readport): right
exit program: 3 and 4
the left side are what the reading program says of it, the right side are the pressed buttons on the remote. These are from the installed rom.
maybe it has something to do with the factorycode. If that isn't the code of the used remote control, all the text below will be ignored. So, how to find the right factorycode?
tried the dmesg command to read out the remote signals, but didn't get much further.
used this topic.
made a printscreen of the readings of some pressed buttons on the remote control.
Finally installed magicsee iron tv box firmware(p212) and even the remote works.
Youtube stuttered, that was because my tv is a 50hz one and android had set the resolution to 60hz, which is incompatible for the tv. So putting it to 50hz solved the youtube lag.
mark-1978 said:
Finally installed magicsee iron tv box firmware(p212) and even the remote works.
Youtube stuttered, that was because my tv is a 50hz one and android had set the resolution to 60hz, which is incompatible for the tv. So putting it to 50hz solved the youtube lag.
Click to expand...
Click to collapse
What TV have you got?
I didnt know any modern tvs being made that was restricted to just 50hz.
Sure alot of TVs in England advertise 50hz but they all support 60hz, just UK broadcasts still done at 50hz.
Tonian1878 said:
What TV have you got?
I didnt know any modern tvs being made that was restricted to just 50hz.
Sure alot of TVs in England advertise 50hz but they all support 60hz, just UK broadcasts still done at 50hz.
Click to expand...
Click to collapse
You're probably right. Must have been a bad youtube recording.
On second thought, youtube definately is skipping frames as a set the resolution to 60hz. It's a 50hz tv, but you can connect at 60hz. When i set the framerate to 50 hz, no more skipping frames.
edit: installed another android 7.1.2 rom with level 1 and level 2 framestabilizers. But youtube still sucks. The advertizing in between the youtube movies are perfect, but when i watch live concert videos, there's stutter a lot. Maybe it's an s905x/vp9 codec incompatibility, since all youtube movies are encoded in vp9. Can't just replace the vp decoder file from the rom, or there's a bootloop or stuck at boot. If youtube would make one standard for all movies that make them more compatible, that would be great. Maybe i should try a really old version of youtube app.

Categories

Resources