View Single Post
Old 06-23-2016, 05:49 PM   #185
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
downloading and applying patches from the Kobo Hacks Database

With this package you can download and handle patches from pipcat's http://pip.cat/khd/kobo/ (see this thread).

Installation:
  • extract KoboRoot.tgz from the uploaded archive, and copy it into .kobo of your device
  • safely disconnect and disable usb
  • select (KSM home) handle update > install update
How to download a patch collection:
  • enable wifi
  • select (KSM home) user scripts > tests > returntests user.msh > khd download patches.sh
  • (animation)
  • you will be presented with a list of patch profiles. Choose one of them (see the attached image)
  • (animation)
  • if everything went well, you will get informed: everything seems to be ok!

How to apply the downloaded patches:
  • select (KSM home) user scripts > tests > returntests user.msh > khd apply patches.sh
  • (animation)
  • if you are presented with a full report, you can close the info screen by touching the middle of the screen and then choosing "close"

How to restore the original state of the device:
  • select (KSM home) user scripts > tests > returntests user.msh > khd_restore_original_state.sh
If you decide to download another patch collection, remove first the already downloaded patches:
  • select (KSM home) user scripts > tests > returntests user.msh > khd_delete_patches.sh
If you are finished patching, and you are certain you do not want to restore, delete the patch directory (this includes the backups of the un-patched libraries):
  • select (KSM home) user scripts > tests > returntests user.msh > khd_delete_patch_dir.sh

Important points:
  • After installing any Kobo Firmware, you must run nickel at least once before downloading a patch collection. If not the scripts cannot correctly ascertain the current firmware version and will try (and fail) to find patches for a FW that does not exist at all!
  • If you use this package, no patches must have been already applied.
    Spoiler:
    If you did already apply patches, you have to provide the original, not-patched, libraries. The location for these libraries is for the current 3.19.5761 FW:
    /mnt/onboard/.adds/kbmenu_user/patchbase/3.19.5761_0e028f3185/orig
    (The path /mnt/onboard/.adds/kbmenu_user/patchbase/3.19.5761_0e028f3185 will be created by "khd download patches.sh")

Note: Downloading is rather slow. The bottleneck is wget!
Attached Thumbnails
Click image for larger version

Name:	screen_20160623_225627.png
Views:	734
Size:	33.1 KB
ID:	149630  
Attached Files
File Type: zip khd_patcher_ksm08.zip (8.6 KB, 515 views)

Last edited by tshering; 06-25-2016 at 03:40 PM.
tshering is offline   Reply With Quote