View Single Post
Old 09-21-2013, 07:08 AM   #62
mastnacek
Enthusiast
mastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-books
 
Posts: 35
Karma: 946
Join Date: Mar 2013
Device: Kobo Mini
Quote:
Yes, here's a tutorial I've been working on!

WARNING! Always do backup copies. I don't assume any responsibility in case of lost data or device damage.

The original image is based on a dump of a Touch, so the first 9,5MB of data at the beginning of the sd card (the space that appears as unallocated data in every partition manager) contains the bootloader and hardware information for the Touch.
In order to make it work, some change are needed:

Material:

Linux image for the Kobo (download from the first post).
Internal sdcard image (or the sd itself) from the Kobo Mini (the 'clean' one, with Kobo firmware only).
u-boot binaries. Find them here https://www.mobileread.com/forums/sho...d.php?t=200772
Hex editor with disk or disk image access. I've used HxD for Windows. (on linux dd can be used as well)


First step: identify the right u-boot for the Mini

Kobo Mini model N705 should alway have PCB E50610 and RAMType K4X2G323PC. If you want to check, put the sd card without linux in the Mini and use this command in a telnet session:

Code:

ntx_hwconfig -s -p /dev/mmcblk0 PCB
ntx_hwconfig -s -p /dev/mmcblk0 RAMType

Open the u-boot-2009.08.tar.gz package and extract the file named u-boot_mddr_256-{PCB}-{RAMTYPE}.bin

Second step: Overwrite the u-boot compiled for the Touch with the one for the Mini.

Open the u-boot binary file with HxD (Extra->"Open disk image") and leave the sector size to 512.
Scroll to the beginning of Sector 2 (it means: skip the first two sector, or the first 1024 bytes), place the caret before the first byte of the sector and select from there to the end of file. The last sector should be the Sector 139.
Copy the selected data (Right click->Copy).

Now open the Linux image in the same way as before (use always 512 sector size).
Go to the beginning of Sector 2, place the caret before the first byte of the sector and paste with Right click->Paste (overwrite).

Save the changes.

Third step: Overwrite the hardware configuration information.

In the same way as in step 2, open the 'clean' kobo mini internal sdcard image.

Scroll to Sector 1024. You should be able to read "HW CONFIG" in the first bytes. Select the entire sector and copy it.

Now return (or reopen, if closed) to the Linux image file, scroll to sector 1024 and Paste the data in the same way as in Step 2.

Save again, and you're done!
uboot binaries i use:
u-boot_mddr_256-E50610-K4X2G323PC.bin

Image from kobo i use 2.5.2 firmware

The last sector from uboot binaries isnt 139 but 279. With 279 i have error while write to card. But when i put it to kobo so blink green. When i use 139, kobo not blink. What is right? Copy only 139 or 279? It suck.

Thanks for reply man

Last edited by mastnacek; 09-21-2013 at 08:03 AM.
mastnacek is offline   Reply With Quote