Moto Hell - The Motorola Modding Community

Motorola Phone Models => ELF => Topic started by: ritza_ll on October 09, 2009, 10:06:59 pm



Title: [GUIDE] Edit DRM event code to Run ELF
Post by: ritza_ll on October 09, 2009, 10:06:59 pm
[GUIDE] Edit DRM event code to Run ELF

SOmetimes we want to run some ELF from phone menu, not from ELF runner
But not all phone menu can be use for running elf
You can use 'ELF Open" but the access is not fast

1.First you must activated/show what phone menu ( MobileQQ, AIM, Chat, Activation ) that you want to run the ELF. Sometimes u need seem edit and modify mma ucp icon to make your phone show that menu. Add the menu using MMA Advance Editor. In this tutor I want to make Activation List to run LRCPlayer.elf

(http://img38.imagefra.me/img/img38/2/10/9/ritza_ll/f_rqjlm_54e957e.jpg)


2.Now check what happen if you run that menu (Activation List) It's show nothing happen or go to original menu ( MobileQQ, AIM, Chat ). Check the Activation List event code. Simply using p2k Tools VS.
Activation List=03FF

(http://img37.imagefra.me/img/img37/2/10/9/ritza_ll/f_rqjmm_5ae7e03.jpg)

3.Backup your phone DRM.

(http://img40.imagefra.me/img/img40/2/10/9/ritza_ll/f_rqjnm_faf3666.jpg)

Than open the *.smg file using hex editor. Find Activation List Event Code (03FF).

(http://img40.imagefra.me/img/img40/2/10/9/ritza_ll/f_rqjom_55a0a5b.jpg)

After you found it,

(http://img40.imagefra.me/img/img40/2/10/9/ritza_ll/f_rqjpm_813e584.jpg)

4.edit 03FF value to other value, better set to 02XX
I want edit to 02A6
Press Edit>Overwrite>Hex String=02A6

(http://img39.imagefra.me/img/img39/2/10/9/ritza_ll/f_rqjqm_f4c6eda.jpg)

5.Save, than compile to *shx than flash to your phone
After flash, edit your elf setting.
Exp, Tunes.elf is Tunes.cfg
MotoCMD.elf is Motocmd.ini
Startmenu.elf is Startmenu.ini
LRC Player.elf is LRC Player.cfg

6.I'm trying run LRC Player from Activation List that the event code edited to 02A6, so I set LRC Player.cfg to 02A6

(http://img39.imagefra.me/img/img39/2/10/9/ritza_ll/f_rqjrm_6d4ce97.jpg)

7.Now, install the elf, put in auto.run and check It should be work
Activation List to run LRC Player :)

(http://img40.imagefra.me/img/img40/2/10/9/ritza_ll/f_rqjsm_cc09921.jpg)


By this method, you can run MotoCMD, start menu from phone menu :)
This my v3i configuration
MobileQQ=Edit to 02DC to run startmenu
AIM=Edit to 02DF to run motocmd


Thanks to Osta and Fenja from motofan

------------------------------------------------------------------------------------------------------------------------
The most important you must sure that DRM event code that you edit is correct coz sometimes you'll found more than one same Hex value


To make you found the correct one,ordinary DRM event code store in begin address of CG15 and you must check the 3 bit

after the event code.

Check this, I found two 03FF, first is it

(http://img03.imagefra.me/img/img03/2/10/9/ritza_ll/f_rqjtm_75757a3.jpg)

Second is it

(http://img40.imagefra.me/img/img40/2/10/9/ritza_ll/f_rqjpm_813e584.jpg)

We got this

03 FF 00 01 00 00 00 00 00 08 0E

and the second

03 FF 01 00 14 15 01 00 02 DF 12

See 14 15 is String ID for the LP that named to the phone menu, in this tutor is Activation List. U can check it by open

your LP using MLE

(http://img38.imagefra.me/img/img38/2/10/9/ritza_ll/f_sjb5lm_81bddab.jpg)

So, you must edit the second from 03 FF to 02 A6 :)
And by found that, u can easy edit your LP string to matched with the ELF menu

Before

(http://img37.imagefra.me/img/img37/2/10/9/ritza_ll/f_rqjmm_5ae7e03.jpg)

After

(http://img37.imagefra.me/img/img37/2/10/9/ritza_ll/f_sjb5mm_869f6b3.jpg)


ENJOY this, tested on E398 and v3i  ::)

PDF version can be download here
EDIT: Very slow connection, cannot upload yet.


Title: Re: [GUIDE] Edit DRM event code to Run ELF
Post by: ZduneX25 on October 10, 2009, 01:04:18 am
Thank you for this guide ++
but I think easier:

See 14 15 is String ID for the LP that named to the phone menu, in this tutor is Activation List. U can check it by open your dnp.prf file (a/mobile) using DNP Elf Editor

Mine 1BC0 for you 1415
(http://cmvypq.blu.livefilestore.com/y1pxAVY8s6os5Db8Ntero-04bdQBtneaEF9G5qEKooGNAixXyKzOq6ABuY5_eVAKUwZLgRWzKVdVE9Nh6F1MsGpt4RUOP9zkI58/screen00dnp.PNG)


Title: Re: [GUIDE] Edit DRM event code to Run ELF
Post by: ritza_ll on October 10, 2009, 02:32:51 am
Thanks masta Z :)
14 15 is just to make sure u edit the correct value in DRM.
To edit the LP, is up to you what method that u want.


Title: Re: [GUIDE] Edit DRM event code to Run ELF
Post by: 54mmd13 on October 15, 2009, 05:19:08 pm
Wow ritz.+


Title: Re: [GUIDE] Edit DRM event code to Run ELF
Post by: morjul on October 19, 2009, 04:17:02 pm
Zdune, has PP_DnpEditor.elf operate in English?
Because it only works for Chinese language, and causes reboot.

Thanks

Edit: Solved!

Edit my dnp.prf on my PC, eliminating unreadable characters, then PP_DNPEditor.elf run smoothly.

Greetings