View Single Post
Old 08-24-2013, 07:02 AM   #30
dancol90
Junior Member
dancol90 plays well with othersdancol90 plays well with othersdancol90 plays well with othersdancol90 plays well with othersdancol90 plays well with othersdancol90 plays well with othersdancol90 plays well with othersdancol90 plays well with othersdancol90 plays well with othersdancol90 plays well with othersdancol90 plays well with others
 
Posts: 9
Karma: 2582
Join Date: Aug 2013
Device: Kobo Mini
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!
dancol90 is offline   Reply With Quote