Walter how did you install the recovery? There's an app that does it, or you just copied manually to some partition? I can try to compile from source too, but I need to know that first.
i install recovery by using install instrution from modmymobile forum. first link on my first post. adb shell and install script was used. reboot to recovery via adb shell. read instruction for milestone xt720 on modmymobile. it does not overwrite tenfars recovery.Walter how did you install the recovery? There's an app that does it, or you just copied manually to some partition? I can try to compile from source too, but I need to know that first.
read first post.Click on edit and post again.
no only install instrutionFixed the select key?
dump_image mbmloader /sdcard/mbmloader-defy.img
Hi, The Power key's keycode for defy is KEY_ENDI am sure Tenfar will be able to help us with this key mapping problem.
TENFAR are u reading this. Can you please help us with this recovery too
Edit: Just PMed Tenfar. Lets wish he responds.
int device_handle_key(int key_code, int visible) {
if (visible) {
switch (key_code) {
case KEY_DOWN:
case KEY_VOLUMEDOWN:
return HIGHLIGHT_DOWN;
case KEY_UP:
case KEY_VOLUMEUP:
return HIGHLIGHT_UP;
case KEY_CENTER:
case KEY_CAMERA:
case KEY_ENTER:
[COLOR="Red"]case KEY_END: //just add this to here, then recompile the open recovery the power key will be functional.[/COLOR]
return SELECT_ITEM;
}
}
return NO_ACTION;
}
Thanks mate, but which is the file that we need to change?Hi, The keycode for defy is KEY_END
Code:int device_handle_key(int key_code, int visible) { if (visible) { switch (key_code) { case KEY_DOWN: case KEY_VOLUMEDOWN: return HIGHLIGHT_DOWN; case KEY_UP: case KEY_VOLUMEUP: return HIGHLIGHT_UP; case KEY_CENTER: case KEY_CAMERA: case KEY_ENTER: [COLOR="Red"]case KEY_END: //just add this to here, then recompile the open recovery the power key will be functional.[/COLOR] return SELECT_ITEM; } } return NO_ACTION; }
look here: http://forum.xda-developers.com/showpost.php?p=10859578&postcount=15Thanks mate, but which is the file that we need to change?
i can compile the recovery for you if you like..need some one to test. i will post it up when i finished the compileI think the problem is NOT to find the key. The problem is to compile the whole thing...
So tenfar, if you can give a hint, I'll try![]()
I can test for you.i can compile the recovery for you if you like..need some one to test. i will post it up when i finished the compile
can you explain this to me, i thought update.zip's with original recovery needed to be moto signed?My biggest problem is since i update to 2.51. i can`t use system dumps to build new roms. With 2.21. and 2.34. it was no problem to build a small update.zip with system dump and it boots. But since 2.51. it doesn`t work any more.