View Single Post
Old 01-01-2016, 07:43 AM   #26
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
JailBreak an uImage file

Here is the basic outline of what needs to happen:
http://www.isysop.com/unpacking-and-...-uimage-files/
There are some considerations to keep in mind while reading that:
  • The directions are written for FreeBSD, not Linux
  • The u-boot used by Amazon/Lab126 is probably too old to handle a mult-file uImage (at least the shipped uImages are single-file).
    Somewhere here I have posted the step-by-step of taking apart a recent Amazon uImage (fw-5.6.1.1 IIRC) and posted the initramfs as an attachment (its GPLv2).
  • In addition to adding the MR signature certificate, we would want to re-code some of the scripting (which is compiled code).
    Drat! Why don't they make this system's stuff simple?
  • The 'recovery menu' IS Linux, so no problem mounting /dev/mmcblk0p1 (or p2, p3, p4)

Anyway, there is a start towards a "Recovery Menu" with a "Jailbreak Main" selection.
(Yes, Virginia, there is a . It will fit, the current image is 2.8Mbyte in the 4.0Mbyte allocated space.)

Translation:
The Amazon/Lab126 kernel **SHOULD** be re-usable with a customized initramfs WITHOUT re-compiling.

Last edited by knc1; 01-01-2016 at 08:13 AM.
knc1 is offline   Reply With Quote