Moto Hell - The Motorola Modding Community

Motorola Phone Models => Motorola L7/V360/V3i/V3r => Topic started by: ritza_ll on September 05, 2009, 11:12:05 pm



Title: [GUIDE] Build ElfPack using Portkit in v3i
Post by: ritza_ll on September 05, 2009, 11:12:05 pm
I know thiis guide have been posted in E398 board  ;)
But i just made it for v3i users to easily used

How to use Portkit
Thanks to Andy51 from motofan

It's for creating ELF Pack (elfpack.fpa, Register.fpa, elfloader.lib, and Lib.o) for LTE, LTE2 and v3i phone

Download portkit
http://www.4shared.com/file/130473736/b114622b/Portkit_Software.html (http://www.4shared.com/file/130473736/b114622b/Portkit_Software.html)

1. Copy arm to C/arm and portkit to C/Portkit in your PC
(http://img37.imagefra.me/img/img37/2/9/5/ritza_ll/f_lf8fbbm_b35fe25.jpg)

Make sure your windows configuration(Folder Options) is set to show file extention.

2. Set your make.cmd to your FW. Rename make.cmd to make.txt than open in notepad

(http://img39.imagefra.me/img/img39/2/9/5/ritza_ll/f_lf8fbcm_5673372.jpg)

Set your PLATFORM
-LTE= For phone like E398 and ROKR E1
-LTE2= For L7 and other LTE2 phone
-v3i= For v3i only
Save the file than rename to make.cmd again

Go to c/Portkit/obj. find sysinfo.c file, open in notepad

const char n_phone[] = "Write Your Phone Mod, exp E398, v3i, L7, etc";
const char n_platform[] = "LTE, LTE2 or v3i";
const char n_majorfw[] = "RXXXX (your front FW name)";
const char n_minorfw[] = "Last FW name";
Save the file

Exp for v3i
const char n_phone[] = "v3i";
const char n_platform[] = "v3i";
const char n_majorfw[] = "R4441D";
const char n_minorfw[] = "01.03R";


3. Backup your CG1 using FB 3 with cut empty file (your phone must be never patched with elfpack, if already patched. U need to undo first)
(http://img38.imagefra.me/img/img38/2/9/5/ritza_ll/f_lf8fbdm_15d6e5f.jpg)

4. Copy paste your CG1 backup file to C/Portkit
(http://img39.imagefra.me/img/img39/2/9/5/ritza_ll/f_lf8fbem_3e4a05c.jpg)

5. Rename your backup file to CG1.bin

(http://img39.imagefra.me/img/img39/2/9/5/ritza_ll/f_lf8fbfm_522e747.jpg)

6. Double click run.bat to process build elfpack
(http://img37.imagefra.me/img/img37/2/9/5/ritza_ll/f_lf8fbgm_b0c852f.jpg)

Press Enter untill the proses finished
If you got warning but no error message. It’s OK and normal.

Now check C/Portkit/build you should have elfpack.fpa, register.fpa, elfloader.lib and Lib.o

7. Apply the elfpack.fpa and Register.fpa to your reflash patched that have full address
Save as in shx than flash use flasher program. For v3i you must use RSD lite or P2K ET.
Copy the elfoader.lib, auto.run and elf apllication to your TF and enjoy your elf pack.

8. How to update elfloader.lib?
U can download new libgen from
http://wap-tolik.narod.ru/libgen_by_macho.zip (http://wap-tolik.narod.ru/libgen_by_macho.zip)
Extract the file than copy to overwrite old file in C/Portkit/libgen than rebuild again to get the elfloader.lib

PDF can be download here
http://www.4shared.com/file/130472135/942c2846/How_to_use_Portkit.html (http://www.4shared.com/file/130472135/942c2846/How_to_use_Portkit.html)

http://www.4shared.com/file/130472680/2fd1387/GUIDE_TO_PORTING_ELFPACK_1.html (http://www.4shared.com/file/130472680/2fd1387/GUIDE_TO_PORTING_ELFPACK_1.html)

xvi32 hex editor
http://www.4shared.com/file/130476945/5a1c786e/xvi32.html (http://www.4shared.com/file/130476945/5a1c786e/xvi32.html)


:thanks:

ritza_ll just newbiehoilic


Title: Re: [GUIDE] Build ElfPack using Portkit in v3i
Post by: ZduneX25 on September 06, 2009, 02:02:46 am
Good work ;)
++


Title: Re: [GUIDE] Build ElfPack using Portkit in v3i
Post by: Adale on September 07, 2009, 08:39:26 am
nice post  :)


Title: Re: [GUIDE] Build ElfPack using Portkit in v3i
Post by: tankian on November 20, 2009, 03:02:18 pm
nice mate..i'll learn more about v3i


Title: Re: [GUIDE] Build ElfPack using Portkit in v3i
Post by: Dedie on June 08, 2010, 05:45:11 am
great masta.. thanks 4 shared your knowlage with us.. i just can give ++ he he..


Title: Re: [GUIDE] Build ElfPack using Portkit in v3i
Post by: Exploited on August 26, 2010, 01:36:09 pm
++ from me too