Forums for all ASUS, Garmin-Asus and ACER Windows Mobile Based Phones


    Asus ABI Decompiler+Compiler (Updated 20090622)

    Share
    avatar
    starkwong

    Posts : 3
    Join date : 2009-05-01
    Age : 34
    Location : Hong Kong

    Asus ABI Decompiler+Compiler (Updated 20090622)

    Post  starkwong on Mon Jun 22, 2009 4:38 pm

    This tool can be used to either decompile or compile ROMs for various Asus devices that used the ABI firmware format (Can also be used in O2 XDA Zest ). The current version can support P835 unencrypted ABI, and even encrypted ABI from updater EXE! Current finding is this tool also supports unreleased Garmin-Asus ROMs!

    Thanks (Especially )Harshal and Leon in AsusPda for testing.

    Usage:
    - Decompiling ROM
    1. p835abisplit2 <abi/exe file>
    2. os.nb0 and extrom.img released (Only for Pre-P835 devices), os.nb0 cab be processed by imgfsfromnb or osnbtool, extrom.img can be processed by WinImage.

    - Compiling ROM
    1. First rename the new os.nb0 to os-new.nb0, and rename extrom.img to extrom-new.img (If the new files do not exist, then the compiler will use the parts from original ROM)
    2. p835abisplit2 /b <abi/exe file>
    3. out.abi releases, which can be used to flash directly (Only for Pre-P835 devices or Post-P835 devices with unencrypted ROM).
    4. If you input the updater EXE to p835abisplit2, it will also produce out.exe with region locked patched which can be used to flash your new ROM directly on devices with any region!

    - Note when building ROM
    1. If you need to modify XIP, make sure the modded XIP is the same size as the original one before merging back to nb0, otherwise booting will fail
    2. For Pre-P835 devices, current version can create big-storage ROMs with variable size of imgfs. If the new OS is smaller than the original one, the freed space will be allocated to user space (The left part as shown in Memory setting) after flashing. However the user space display will only reflect the change on second flash.
    3. For Post-P835 devices, all partitions must be exactly same size with the original one (i.e. you need to pad the partition before putting it back), otherwise the device won't boot.
    4. For Pre-P835 devices, you can modify ExtROM as you like, but not remove or rebuild the image file, otherwise you may get a brick! (Not able to enter bootloader)

    Final Warning: Customizing a ROM always has risks, I won't be responsible for any damages lead to your custom ROM!

    Release Notes:
    v2.40:
    - Added support for M930

    v2.32:
    - Support extraction of encrypted ABI file resource from P835 updater exe
    - Support reconstruction of P835 updater exe
    - When rebuild to exe, the produced out.exe is patched to install in devices of any region.

    V2.20:
    - Support extration and rebuilding of P835 ABI file (Note that not for ABI inside EXE)
    - When rebuild with exe, OUT.EXE will be produced for direct flashing

    Download: rapidshare.com p835abisplit2.zip.html

    hdubli

    Posts : 35
    Join date : 2009-05-10

    Re: Asus ABI Decompiler+Compiler (Updated 20090622)

    Post  hdubli on Mon Jun 22, 2009 4:59 pm

    great cheers

      Current date/time is Fri Nov 24, 2017 6:32 pm