LuboX

Would you like to react to this message? Create an account in a few clicks or log in to continue.


2 posters

    [Tutorial] Porting the ELFPack |The Real PortKit| by NiKSY

    ZduneX25
    ZduneX25
    Ex-Staff
    Ex-Staff


    Mensajes : 1391
    Celulares : LG GT540
    Fecha de inscripción : 2010-06-04
    Edad : 33
    Localización : Poland

    [Tutorial] Porting the ELFPack |The Real PortKit| by NiKSY Empty [Tutorial] Porting the ELFPack |The Real PortKit| by NiKSY

    Post by ZduneX25 Fri Jun 04, 2010 6:18 pm

    All questions on porting the ElfPack - HERE

    For succesfull portation you need:
    1. ADS ;for compilation. -[You must be registered and logged in to see this link.]
    2. PortKit_v1_0 + updates ;for portation -[You must be registered and logged in to see this link.]
    3. Bin Editor ;for cutting the empty bytes [You can use [You must be registered and logged in to see this link.] - its free]
    4. R?flash ; the CG1 of the firmware youre using (withouth the empty bytes on the end)
    5. FB v3.06 ; for applying the patches
    6. resman5.4pro ;not neccesary
    7. Clean head and steady hands ,\'-}

    So here we go.... Smile


    .1 Make folder "PortKit" on disk "C:\" ;you can make it anywhere but this is the easiest way


    .2 Extract files from archives ADS and PortKit_v1_0 into folder "C:\PortKit"


    [size=10pt]Before you start PortKit you should replace the libgen with a newer one, I recommend [You must be registered and logged in to see this link.](its updated regularly) [/size]
    You should copy the libgen content into C:\PortKit\libgen folder Smile


    .2.1 Folder "arm" copy to root "C:\" ;thats the way it must be!


    .2.1 Now! Control Panel/System/Advanced/Environment Variables/System Variables/ - Path - add ";C:\PortKit" (I say again, C:\PortKit is the easiest place)


    .3 Further settings:
    C:\PortKit\obj\sysinfo.c ; open with NotePad and set for your phone, example for E398:
    Code:
    const char n_phone[]    = "E398";
    const char n_platform[] = "LTE";
    const char n_majorfw[]  = "R373";
    const char n_minorfw[]  = "42R";


    .4 Next:
    C:\PortKit\make.cmd ; open with NotePad and look:
    Code:
    @echo off
    rem The target platform, change this to yours (LTE | LTE2 | V3i)
    set PLATFORM=NONE
    => instead of NONE enter platform of your phone:
    Code:
    (LTE | LTE2 | V3i)



    .5 Now we need that reflash, actually the CG1.smg in folder "C:\PortKit" (extract it from reflash with SHX Codec)


    .6 Rename CG1.smg to CG1.bin (or put the whole name of the firmware, important is to change the format to .BIN) ;


    .7 Next, we make a new text document and put in it:
    Code:
    make.cmd CG1.bin


    .8 Save it in PortKit folder and name it run.bat (not run.bat.txt but run.bat)


    .9 Double click run.bat ; If you did everything correctly you will get patches, elfloader, and Lib.o in build folder!

    Hope you liked the tutorial, its mostly,but not completely, a translation of WhiteHotIce's tutorial from motofan Wink


    Cheers!


    All credits by @NiKSY
    Dedie
    Dedie
    Administrator
    Administrator


    Mensajes : 254
    Celulares : ..:: E398@EM30 ::..
    Fecha de inscripción : 2010-06-07
    Localización : in His sight...

    [Tutorial] Porting the ELFPack |The Real PortKit| by NiKSY Empty Re: [Tutorial] Porting the ELFPack |The Real PortKit| by NiKSY

    Post by Dedie Thu Jun 17, 2010 3:35 pm

    how about porting elf on drive a or c ? can we use this tutor to ?
    ZduneX25
    ZduneX25
    Ex-Staff
    Ex-Staff


    Mensajes : 1391
    Celulares : LG GT540
    Fecha de inscripción : 2010-06-04
    Edad : 33
    Localización : Poland

    [Tutorial] Porting the ELFPack |The Real PortKit| by NiKSY Empty Re: [Tutorial] Porting the ELFPack |The Real PortKit| by NiKSY

    Post by ZduneX25 Thu Jun 17, 2010 4:07 pm

    Of course.
    Dedie
    Dedie
    Administrator
    Administrator


    Mensajes : 254
    Celulares : ..:: E398@EM30 ::..
    Fecha de inscripción : 2010-06-07
    Localización : in His sight...

    [Tutorial] Porting the ELFPack |The Real PortKit| by NiKSY Empty Re: [Tutorial] Porting the ELFPack |The Real PortKit| by NiKSY

    Post by Dedie Wed Oct 13, 2010 7:27 am

    can you tell me how ?
    ZduneX25
    ZduneX25
    Ex-Staff
    Ex-Staff


    Mensajes : 1391
    Celulares : LG GT540
    Fecha de inscripción : 2010-06-04
    Edad : 33
    Localización : Poland

    [Tutorial] Porting the ELFPack |The Real PortKit| by NiKSY Empty Re: [Tutorial] Porting the ELFPack |The Real PortKit| by NiKSY

    Post by ZduneX25 Wed Oct 13, 2010 7:29 am

    Ok this is about making correct library for elfpack.
    Do you have elfpack for 'a/c' or for 'b' only??

    Are you DaR user, cos it is changing a lot of things?
    Dedie
    Dedie
    Administrator
    Administrator


    Mensajes : 254
    Celulares : ..:: E398@EM30 ::..
    Fecha de inscripción : 2010-06-07
    Localización : in His sight...

    [Tutorial] Porting the ELFPack |The Real PortKit| by NiKSY Empty Re: [Tutorial] Porting the ELFPack |The Real PortKit| by NiKSY

    Post by Dedie Wed Oct 13, 2010 7:40 am

    apoligaze, my browser crash...
    elfpack on a ??? i dont have that, i has test portkit on a/ by ritza_ll...
    im facing to 49r now...
    ZduneX25
    ZduneX25
    Ex-Staff
    Ex-Staff


    Mensajes : 1391
    Celulares : LG GT540
    Fecha de inscripción : 2010-06-04
    Edad : 33
    Localización : Poland

    [Tutorial] Porting the ELFPack |The Real PortKit| by NiKSY Empty Re: [Tutorial] Porting the ELFPack |The Real PortKit| by NiKSY

    Post by ZduneX25 Wed Oct 13, 2010 7:50 am

    So you can use my elfloader from [You must be registered and logged in to see this link.]
    Cos only patch is important, now just copy your elfs to /a/ or /c/ and add to auto.run.
    I was using these patches: [You must be registered and logged in to see this link.] before Dar, try it.
    Dedie
    Dedie
    Administrator
    Administrator


    Mensajes : 254
    Celulares : ..:: E398@EM30 ::..
    Fecha de inscripción : 2010-06-07
    Localización : in His sight...

    [Tutorial] Porting the ELFPack |The Real PortKit| by NiKSY Empty Re: [Tutorial] Porting the ELFPack |The Real PortKit| by NiKSY

    Post by Dedie Wed Oct 13, 2010 8:04 am

    ok now i has the elfpack... then...

    Sponsored content


    [Tutorial] Porting the ELFPack |The Real PortKit| by NiKSY Empty Re: [Tutorial] Porting the ELFPack |The Real PortKit| by NiKSY

    Post by Sponsored content


      Current date/time is Thu May 02, 2024 11:28 am