how to setup old remote on a different android firmware - Android Stick & Console AMLogic based Computers

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.

Related

[Q] problem with fastboot...

ECHO is off.
Plug USB cable
wait 4 seconds and put battery back in.
waiting for OMAP44xx device...
Device descriptor:
bLength = 18
bDescriptorType = 1
bcdUSB = 528
bDeviceClass = 255
bDeviceSubClass = 255
bDeviceProtocol = 255
bMaxPacketSize0 = 64
idVendor = 451
idProduct = D00F
bcdDevice = 0
iManufacturer = 33
iProduct = 37
iSerialNumber = 0
bNumConfigurations = 1
reading ASIC ID
usb_write 4
usb_read 81
[*] read 0 bytes
NumOfSubblocks: 0x5
Subblock ID: 0x1
Subblock Size: 0x5
CH enabled: 0x7
ROM revision: 0x4
Checksum Subblock: 0x15
CHIP: 4430
IDEN: 2fdb0e6e6889d0c9c305e350253785ffb2b874f7
MPKH: 5f4092eccddf90fa43f546adf89508b31b9c74795e9516194c0ea6412fdcb7f6
CRC0: 9c669ad9
CRC1: 682adccf
sending 2ndstage to target... f0030002
usb_write 4
usb_write 4
wait 5-lelelel...
[*] msg size = 4
usb_write 21552
[*] data size = 21552
usb_close
Reopen usb...
Device descriptor:
bLength = 18
bDescriptorType = 1
bcdUSB = 528
bDeviceClass = 255
bDeviceSubClass = 255
bDeviceProtocol = 255
bMaxPacketSize0 = 64
idVendor = 451
idProduct = D00F
bcdDevice = 0
iManufacturer = 33
iProduct = 37
iSerialNumber = 0
bNumConfigurations = 1
waiting for 2ndstage response...
usb_read 4
usb_read got: 0, expected: 4, errno: 31
usb_read got GEN_FAILURE - got: 0, expected: 4, errno: 31
usb_read failed: 31
usb read = 0
unexpected 2ndstage response
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
how to fix it?

[Q] [URGENT] Security Error

Hello,
After flashing CWM using "Rom Manager" I am stuck at the LG logo and below appears a text "security error";
Please advise. Thank you!
Try the offline fix in the general section. Or simply look around that forum
Sent from my LG-P769 using XDA Premium 4 mobile app
I'm having the same issue. I flashed fastboot and looks like it did it, but if I try to boot it it just won't go.. I have followed all the post regarding the issue but unfortunately nothing seems to be working for me.
ECHO is off.
Plug USB cable
wait 4 seconds and put battery back in.
waiting for OMAP44xx device...
Device descriptor:
bLength = 18
bDescriptorType = 1
bcdUSB = 528
bDeviceClass = 255
bDeviceSubClass = 255
bDeviceProtocol = 255
bMaxPacketSize0 = 64
idVendor = 451
idProduct = D00F
bcdDevice = 0
iManufacturer = 33
iProduct = 37
iSerialNumber = 0
bNumConfigurations = 1
reading ASIC ID
usb_write 4
usb_read 81
[*] read 0 bytes
NumOfSubblocks: 0x5
Subblock ID: 0x1
Subblock Size: 0x5
CH enabled: 0x7
ROM revision: 0x4
Checksum Subblock: 0x15
CHIP: 4430
IDEN: d8a7f2b92c56cf93c5d33b11b7add3dce9718e3d
MPKH: 5f4092eccddf90fa43f546adf89508b31b9c74795e9516194c0ea6412fdcb7f6
CRC0: 9c669ad9
CRC1: 682adccf
sending 2ndstage to target... f0030002
usb_write 4
usb_write 4
wait 5-lelelel...
[*] msg size = 4
usb_write 21552
[*] data size = 21552
usb_close
Reopen usb...
Device descriptor:
bLength = 18
bDescriptorType = 1
bcdUSB = 528
bDeviceClass = 255
bDeviceSubClass = 255
bDeviceProtocol = 255
bMaxPacketSize0 = 64
idVendor = 451
idProduct = D00F
bcdDevice = 0
iManufacturer = 33
iProduct = 37
iSerialNumber = 0
bNumConfigurations = 1
waiting for 2ndstage response...
usb_read 4
usb read = aabbccdd
accepted 2ndstage response
sending image to target...
size = 246272
usb_write 4
usb_write 246272
** Done **
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\fastboot\bin>fastboot.exe devices
C:\fastboot\bin>fastboot.exe devices
If I try either option 5 or 7, I get the same error:
ECHO is off.
Plug USB cable
wait 4 seconds and put battery back in.
Device descriptor:
bLength = 18
bDescriptorType = 1
bcdUSB = 528
bDeviceClass = 255
bDeviceSubClass = 255
bDeviceProtocol = 255
bMaxPacketSize0 = 64
idVendor = 451
idProduct = D00F
bcdDevice = 0
iManufacturer = 33
iProduct = 37
iSerialNumber = 0
bNumConfigurations = 1
reading ASIC ID
usb_write 4
AdbWriteEndpointSync returned 0, errno: 1167
usb_read 81
[*] read 0 bytes
NumOfSubblocks: 0x45
Subblock ID: 0x0
Subblock Size: 0x31
CH disabled: 0x34
ROM revision: 0x0
Checksum Subblock: 0x63
CHIP: 3300
IDEN: 003000390031002d003100340031003700300030
MPKH: 3300330033002d003500300030005c0044007200690076006500720043006100
CRC0: 00650000
CRC1: 00000000
sending 2ndstage to target... f0030002
usb_write 4
AdbWriteEndpointSync returned 0, errno: 1167
usb_write 4
AdbWriteEndpointSync returned 0, errno: 1167
wait 5-lelelel...
[*] msg size = 4
usb_write 21552
AdbWriteEndpointSync returned 0, errno: 1167
[*] data size = 21552
usb_close
Reopen usb...
Device descriptor:
bLength = 18
bDescriptorType = 1
bcdUSB = 528
bDeviceClass = 255
bDeviceSubClass = 255
bDeviceProtocol = 255
bMaxPacketSize0 = 64
idVendor = 451
idProduct = D00F
bcdDevice = 0
iManufacturer = 33
iProduct = 37
iSerialNumber = 0
bNumConfigurations = 1
waiting for 2ndstage response...
usb_read 4
usb read = 2430010
unexpected 2ndstage response ***** <-----------------------
< waiting for device > ***** <-----------------------
.. and does not do anything more. I also tried using S/W upgrade mode however the KDZ tool does not recognize it no matter what. I doesn't even detect it as LG Mobile modem.
Any ideas?
saboteaur said:
I'm having the same issue. I flashed fastboot and looks like it did it, but if I try to boot it it just won't go.. I have followed all the post regarding the issue but unfortunately nothing seems to be working for me.
ECHO is off.
Plug USB cable
wait 4 seconds and put battery back in.
waiting for OMAP44xx device...
Device descriptor:
bLength = 18
bDescriptorType = 1
bcdUSB = 528
bDeviceClass = 255
bDeviceSubClass = 255
bDeviceProtocol = 255
bMaxPacketSize0 = 64
idVendor = 451
idProduct = D00F
bcdDevice = 0
iManufacturer = 33
iProduct = 37
iSerialNumber = 0
bNumConfigurations = 1
reading ASIC ID
usb_write 4
usb_read 81
[*] read 0 bytes
NumOfSubblocks: 0x5
Subblock ID: 0x1
Subblock Size: 0x5
CH enabled: 0x7
ROM revision: 0x4
Checksum Subblock: 0x15
CHIP: 4430
IDEN: d8a7f2b92c56cf93c5d33b11b7add3dce9718e3d
MPKH: 5f4092eccddf90fa43f546adf89508b31b9c74795e9516194c0ea6412fdcb7f6
CRC0: 9c669ad9
CRC1: 682adccf
sending 2ndstage to target... f0030002
usb_write 4
usb_write 4
wait 5-lelelel...
[*] msg size = 4
usb_write 21552
[*] data size = 21552
usb_close
Reopen usb...
Device descriptor:
bLength = 18
bDescriptorType = 1
bcdUSB = 528
bDeviceClass = 255
bDeviceSubClass = 255
bDeviceProtocol = 255
bMaxPacketSize0 = 64
idVendor = 451
idProduct = D00F
bcdDevice = 0
iManufacturer = 33
iProduct = 37
iSerialNumber = 0
bNumConfigurations = 1
waiting for 2ndstage response...
usb_read 4
usb read = aabbccdd
accepted 2ndstage response
sending image to target...
size = 246272
usb_write 4
usb_write 246272
** Done **
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\fastboot\bin>fastboot.exe devices
C:\fastboot\bin>fastboot.exe devices
If I try either option 5 or 7, I get the same error:
ECHO is off.
Plug USB cable
wait 4 seconds and put battery back in.
Device descriptor:
bLength = 18
bDescriptorType = 1
bcdUSB = 528
bDeviceClass = 255
bDeviceSubClass = 255
bDeviceProtocol = 255
bMaxPacketSize0 = 64
idVendor = 451
idProduct = D00F
bcdDevice = 0
iManufacturer = 33
iProduct = 37
iSerialNumber = 0
bNumConfigurations = 1
reading ASIC ID
usb_write 4
AdbWriteEndpointSync returned 0, errno: 1167
usb_read 81
[*] read 0 bytes
NumOfSubblocks: 0x45
Subblock ID: 0x0
Subblock Size: 0x31
CH disabled: 0x34
ROM revision: 0x0
Checksum Subblock: 0x63
CHIP: 3300
IDEN: 003000390031002d003100340031003700300030
MPKH: 3300330033002d003500300030005c0044007200690076006500720043006100
CRC0: 00650000
CRC1: 00000000
sending 2ndstage to target... f0030002
usb_write 4
AdbWriteEndpointSync returned 0, errno: 1167
usb_write 4
AdbWriteEndpointSync returned 0, errno: 1167
wait 5-lelelel...
[*] msg size = 4
usb_write 21552
AdbWriteEndpointSync returned 0, errno: 1167
[*] data size = 21552
usb_close
Reopen usb...
Device descriptor:
bLength = 18
bDescriptorType = 1
bcdUSB = 528
bDeviceClass = 255
bDeviceSubClass = 255
bDeviceProtocol = 255
bMaxPacketSize0 = 64
idVendor = 451
idProduct = D00F
bcdDevice = 0
iManufacturer = 33
iProduct = 37
iSerialNumber = 0
bNumConfigurations = 1
waiting for 2ndstage response...
usb_read 4
usb read = 2430010
unexpected 2ndstage response ***** <-----------------------
< waiting for device > ***** <-----------------------
.. and does not do anything more. I also tried using S/W upgrade mode however the KDZ tool does not recognize it no matter what. I doesn't even detect it as LG Mobile modem.
Any ideas?
Click to expand...
Click to collapse
Maybe a hard reset then s/w mode
Sent from my LG-P769 using XDA Premium 4 mobile app
OK, I found the solution that worked for me at least:
Initially I followed this tutorial: http://forum.xda-developers.com/showthread.php?t=2085344
After following step by step for many many hours, I did something else. I removed the lines from host file and I stopped that web server.
Somehow(I don't know how exactly - it was 5am) I installed "LG Mobile Support Tool"(I think it has something to do with "LG Mobile United Mobile Driver" tool). Also, from what I remember, i deleted all old drivers.
Then, I removed the battery from phone, pressed the "vol+" button(and hold it) followed by inserting the usb cable; when in s/w mode I added the battery;
Using this tool "LG Mobile Support Tool" the phone was connected to PC, therefore, the application downloaded the original soft from LG site.
The installer began, some magic happened, at 95% phone restarted and an android with a red triangle appeared on screen.
After the upgrade process was finished(at 100% I pressed the power button 'till the phone shut down;
Then I started it; the phone was working fine, original recovery tool was installed, root was removed, but all programs and settings were still there; nothing was lost.
Reference:
http://forum.xda-developers.com/showpost.php?p=40483954&postcount=2
http://forum.xda-developers.com/showthread.php?t=2085344

Enable controls on iBeast

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

[Q&A] [FASTBOOT][RECOVERY] omap4boot for P940

Q&A for [FASTBOOT][RECOVERY] omap4boot for P940
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
milaq said:
1.3 - Initial release
Click to expand...
Click to collapse
The file seems to be unavailable.
Milaq can you do something about that?
Thanks
Hi Milaq, the omap4tool seems to be unavailable for download. Can you help me with that?
Thanks
Still Stuck in < waiting for device >
I have done this step a lot of times, but it stays stuck in:
--------------------------------------------
OMAP4boot for P940/SU540
--------------------------------------------
by wkpark <[email protected]>
modified by milaq <[email protected]>
[1] p940 - Prada 3.0 (P940)
[2] su540 - Prada 3.0 for asian market (SU540/KU5400)
[x] exit
-------------------------------------------
Select your device: 1
p940 selected
****** plug in usb with the phone powered off and the battery NOT inserted ****
**
waiting for OMAP44xx device...
Device descriptor:
bLength = 18
bDescriptorType = 1
bcdUSB = 528
bDeviceClass = 255
bDeviceSubClass = 255
bDeviceProtocol = 255
bMaxPacketSize0 = 64
idVendor = 451
idProduct = D00F
bcdDevice = 0
iManufacturer = 33
iProduct = 37
iSerialNumber = 0
bNumConfigurations = 1
reading ASIC ID
usb_write 4
usb_read 81
[*] read 0 bytes
NumOfSubblocks: 0x5
Subblock ID: 0x1
Subblock Size: 0x5
CH enabled: 0x7
ROM revision: 0x4
Checksum Subblock: 0x15
CHIP: 4430
IDEN: 86fc18680b8fc8c812852decc918bcd922c5fcd3
MPKH: 5f4092eccddf90fa43f546adf89508b31b9c74795e9516194c0ea6412fdcb7f6
CRC0: 9c669ad9
CRC1: 682adccf
sending 2ndstage to target... f0030002
usb_write 4
usb_write 4
wait 5-seconds...
[*] msg size = 4
usb_write 21552
[*] data size = 21552
usb_close
Reopen usb...
Device descriptor:
bLength = 18
bDescriptorType = 1
bcdUSB = 528
bDeviceClass = 255
bDeviceSubClass = 255
bDeviceProtocol = 255
bMaxPacketSize0 = 64
idVendor = 451
idProduct = D00F
bcdDevice = 0
iManufacturer = 33
iProduct = 37
iSerialNumber = 0
bNumConfigurations = 1
waiting for 2ndstage response...
usb_read 4
usb read = aabbccdd
accepted 2ndstage response
sending image to target...
size = 246272
usb_write 4
usb_write 246272
** Done **
****** insert battery NOW ******
looking for attached fastboot devices...
===============================
===============================
is your phone displaying the lg logo (fastboot v0.5) and did your device show up
above? (Y/n) ?y
do you want to flash a custom recovery? (y/N) ?y
****************************
< waiting for device >
Did you do samoething diferent to pass this?

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

Categories

Resources