kousu / omap4boot

Tools to boot omap44xx over USB.
0 stars 0 forks source link

Getting a bootloader-locked LG-p769 working #1

Open kousu opened 9 years ago

kousu commented 9 years ago

@wkpark and @dmitry-pervushin, I'm moving the thread from https://github.com/swetland/omap4boot/issues/8 to here, if you don't mind.

@wkpark, is your work on making things self-signable only in https://github.com/milaq/android_device_lge_p940? I notice that @milaq is a part of https://github.com/TeamHackLG, which seems to have a lot of useful repositories, but my (incomplete) scan seems to say that no other related repo has this tool in it. Is that true? Where did you get ift in the first place? I don't see the source for it here. It seems like it came straight from TI; if I run it I see

[kousu@birdlikeplant releasetools]$ ifttool/ift/ift -help
*******************************************************************************
*            (C) 2010 TEXAS INSTRUMENTS FRANCE. WTBU. All rights reserved     *
*        M-Shield Image Formatting Tools      ==>  IFT: Release 0.991         *
*******************************************************************************
*   This product includes software developed by the OpenSSL Project for use   *
*   in the OpenSSL Toolkit. (http://www.openssl.org/).                        *
*   This product includes software written by Tim Hudson (tjh@cryptsoft.com)  *
*   This product includes cryptographic software written by Eric Young        *
*   (eay@cryptsoft.com). Please read LICENSE.txt.                             *
*******************************************************************************
NAME 
     ift - Mshie tools to format signed image versus Secure ROM Code 

SYNOPSIS 
     ift [TARGET] [COMMAND] [OPTIONS]

DESCRIPTIONS 
     [TARGET] -- Mandatory 
         M              -- multitask target image 
         L              -- legacy target image 
         N              -- ROM Lite target image 
         M3             -- Secure Cortex M3 image for Netra target
         H or -help     -- help 

     [COMMAND] -- Mandatory 
         -image     -- to sign a full image 
         -pasign    -- to sign a single pa 
         -hvccssign     -- to sign independantly the HVCCS 
         -parse     -- to interprete a binary
         -e_mpk     -- to get E-Fuse hash
         -cert_sign     -- to sign any certificates
         -secm3_sign    -- to sign any certificates

     [OPTIONS] -- Optionnal
         -help  -- to get option of requested command 

[kousu@birdlikeplant releasetools]$ 

(I'm sort of surprised it runs at all, given that this is a 32bit program built over two years ago and I'm on 64bit ArchLinux) What I'm asking is: is this file the closed-source not-legally redistributable file that @swetland was talking about? :(

kousu commented 9 years ago

Also, where is unpackbootimg? Is it Kuisma's or Gilles's or something else?