Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 06-10-2015, 09:08 AM   #1
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Magic Memory Upgrade Mod

Quote:
Originally Posted by anesthezea View Post
Thank you so much for this! It worked perfectly on my Kobo Glo HD. Very quick and painless!
Quote:
Originally Posted by cramoisi View Post
The Magic Memory Upgrade Mod is the ultimate tool to update Thanks a lot for your work.
Quote:
Originally Posted by bikemd View Post
It worked for me! I have now upgraded my Kobo Glo HD (firmware 3.19) with a 32GB Lexar 300X microsdhc card. All is working well!
I attempted a magic trick: Upgrade or Replace the Kobo's internal SD card using only the Kobo itself, no card readers, no partitioning or disk imaging on the PC.

The Magic Memory Upgrade Mod enables the Kobo to clone its internal SD card all by itself. I've only tested it with the H2O, but it should work with all readers that have at least 512MB RAM, which should include all models since Kobo Aura HD, I believe? It's not always mentioned in the specs...

Once the mod is installed, it copies the Kobo's operating system into RAM. At that point the internal card can be removed and replaced with another card of your choice. The mod detects the new card, formats it, and puts the Kobo's operating system back on it. Everything without help from the PC (no cardreader and no partitioning or disk imaging software required). Apart from installing the mod in the first place, of course.

Once the mod has done its work, the reader reboots and shows you the language selection screen. It's essentially a factory reset that also replaces your internal MicroSD card, making the full card's capacity available to you.

How to use: ( also see a video here: [deleted vidme link] )
  • Backup your books and settings: All files and folders visible on the KoboEreader drive, in particular .kobo/KoboReader.sqlite (Without a backup, you will lose your reading stats).
  • Make sure your reader is fully charged.
  • Install this mod. (KoboRoot-MagicMemory.tgz » .kobo/KoboRoot.tgz)
  • The reader shows the Updating/Restarting screen.
  • The reader reboots and the screen goes blank.
    ~~~ OS is being loaded into RAM. This might take a while. ~~~
  • You get the normal bootup progress bar and the main screen appears.
    (If you don't use nickel by default, start nickel.)
  • A progress bar appears.
    ~~~ Data is being loaded into RAM. This might take a while. ~~~
  • The screen goes fully black.
    ---> Without turning off the reader, carefully remove the internal SD card. There is no time limit at this stage, so if you haven't opened your device yet, you may do so now. <---
  • The screen goes from fully black to fully white.
    ---> Check that the screen is white before you put in the new internal SD card. <---
    !!! Any card you put in at this point will be formatted. !!!
  • A progress bar appears.
    ~~~ The SD card is populated with data from RAM. This might take a while. ~~~
  • The reader reboots and gives you the Language Selection screen that normally appears after a factory reset.
  • Restore your books and settings from the backup you made. (So your reading stats are back.)

The duration of this process heavily depends on the speed of the SD card. Actually the 4GB card that came with my H2O was the fastest card. I have several 4GB/8GB Sandisk card but they were all considerably slower than Kobo's card. (apparently I always bought the cheapest SD cards.)

If anything goes wrong in this process, the progress bar will stop moving. If that happens, take out the card, hit the reset button, put the (old) card in, hit the reset button again and it should boot up normally.

Alternative 1: Resize Partition


This alternative only resizes the data partition. Useful if you already cloned a card by other means, or if your Kobo somehow came with a larger card from the factory (which, apparently, was the case with some Kobo Glo).

The resize is done using an old version of 'parted'. The other versions of this mod don't need additional software, that's why this archive is a bit larger than the others.

Alternative 2: External SD Card


Only for devices which still have an external SD card slot, this alternative copies the internal SD card to the external SD card - including all the books and settings. The process is the same as the above (black screen: remove external SD card, white screen: insert external SD card. The card you insert will be formatted).

On reboot, the Kobo will complain about the external SD card not being a recognized format. That's normal and expected, because the first partition is EXT4 instead of FAT32. At this point you turn off the device and put the external SD card into the internal SD card slot.

All variants of this mod perform a one-time action only, during which the mod uninstalls itself regardless of success. You have to re-install in order to re-try.

This mod formats SD cards, it may brick the device or lose your data. Opening the device might void your warranty. You're expected to know how to handle sensitive electronics. Use at your own risk.
Attached Files
File Type: zip KoboRoot-MagicMemory-3.16.10.zip (2.2 KB, 1342 views)
File Type: zip KoboRoot-MagicMemory-Extern-3.16.10.zip (1.8 KB, 1005 views)
File Type: zip KoboRoot-MagicMemory-Resize-3.16.10.zip (1.01 MB, 1111 views)

Last edited by pdurrant; 07-25-2021 at 08:34 AM.
frostschutz is offline   Reply With Quote
Old 06-10-2015, 09:28 AM   #2
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,119
Karma: 73448614
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
It might be worth while suggesting that the back of the Kobo be removed before starting the process....
PeterT is offline   Reply With Quote
Advert
Old 06-10-2015, 09:31 AM   #3
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Well, you can remove it after the screen turns black. It waits for however long it takes you to remove the card, there is no time limit.
frostschutz is offline   Reply With Quote
Old 06-10-2015, 10:18 AM   #4
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,119
Karma: 73448614
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
The only reason I'd suggest back off first is that it can be a fiddly process, so why not take the time to do it first.

Also maybe some warnings to avoid shorting any of the connections might be wise.
PeterT is offline   Reply With Quote
Old 06-10-2015, 10:39 AM   #5
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
In case of the H2O you can't, since there you take the front off and then the touchscreen does not work it anymore, so you can't connect it to the PC to copy the Mod on it anymore. So you install the mod first and then take all the time you need in the black screen phase.

I'll add a warning to the first post, all right; but the know-how (how to open the device, how to handle it when its opened, how to replace the sd card without ripping the sd card slot off, how to not break the eink screen while doing all of the above) is expected to be provided by the user
frostschutz is offline   Reply With Quote
Advert
Old 06-11-2015, 03:01 PM   #6
Lucas Malor
Pain in the arse
Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.
 
Lucas Malor's Avatar
 
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
It's a nice idea. Is the OS partition unmounted when the mod starts the cloning?
Lucas Malor is offline   Reply With Quote
Old 06-11-2015, 04:28 PM   #7
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Yes, everything lives in RAM, that's the magic... it wouldn't be possible to take the card out of the running system, much less putting it all back onto the new card otherwise. I'm currently working on a spin-off that only resizes the FAT partition of an already cloned card.

In theory it would be possible to transfer the entire book collection as well (provided the new card is same size or larger than the old). However this would require you to swap the cards back and forth several times as you can only fit so much into RAM for each step of the way...

But you can copy those normally through USB so I don't think there's a point to take the idea that far.
frostschutz is offline   Reply With Quote
Old 06-11-2015, 04:33 PM   #8
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,119
Karma: 73448614
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Why not provide an option for those devices with an external SD slot to allow the replication to go from the internal to external slot?
PeterT is offline   Reply With Quote
Old 06-11-2015, 05:16 PM   #9
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
One step at a time.

Growing a FAT partition (without losing its data) is actually mighty annoying. It turns out there is no light-weight Linux tool that is capable of doing that. This functionality is only available in gparted, of all things; it used to be in regular parted (removed from there), and then there is a program called fatresize which is buggy as hell and won't work on the Kobo at all and I'm too lazy to patch it.
frostschutz is offline   Reply With Quote
Old 06-13-2015, 11:41 AM   #10
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Added two alternative mods, one that resizes the partition, and another that copies the internal to external SD card (including all the books).
frostschutz is offline   Reply With Quote
Old 06-13-2015, 01:03 PM   #11
trekk
Terraner
trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.
 
trekk's Avatar
 
Posts: 522
Karma: 4207769
Join Date: Aug 2011
Device: Kobo Libra, Aura One, Kindle Oasis 1 & 2 ...
Nice work, frostschutz! I still have a question.

Concerning alternative 2 you are saying: "On reboot, the Kobo will complain about the external SD card not being a recognized format. That's normal and expected, because the first partition is EXT4 instead of FAT32. At this point you turn off the device and put the external SD card into the internal SD card slot."

How could I do that, when at this point the external SD-card should already be in that internal slot?
trekk is offline   Reply With Quote
Old 06-13-2015, 01:43 PM   #12
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Quote:
Originally Posted by trekk View Post
How could I do that, when at this point the external SD-card should already be in that internal slot?
Uh. Not sure I follow you? Did I mis-type somewhere?

The original mod copies internal card to internal card (via RAM).

The external alternative copies internal card to external card (for devices with external card slot, so - not the Glo HD). When it's done it reboots but internal card is still internal and external card is still external. You have to turn the device off to put the ext. in the int. slot (or you could put it in a drawer if you just wanted to have a backup).
frostschutz is offline   Reply With Quote
Old 06-13-2015, 02:01 PM   #13
trekk
Terraner
trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.
 
trekk's Avatar
 
Posts: 522
Karma: 4207769
Join Date: Aug 2011
Device: Kobo Libra, Aura One, Kindle Oasis 1 & 2 ...
Quote:
Originally Posted by frostschutz View Post
The external alternative copies internal card to external card (for devices with external card slot, so - not the Glo HD).
OK, now I do understand. Thank you for the clarification. *confusion mode stop*
trekk is offline   Reply With Quote
Old 06-18-2015, 05:55 AM   #14
cramoisi
Librarian
cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.
 
Posts: 346
Karma: 72225
Join Date: Apr 2015
Location: Liège - Belgium
Device: kobo gloHD - KA1
Has somebody tried on a glo HD ? I’m asked by a colleague to do it for him and since this method is a lazy one I want to use it
cramoisi is offline   Reply With Quote
Old 06-18-2015, 09:11 AM   #15
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by frostschutz View Post
Uh. Not sure I follow you? Did I mis-type somewhere?

The original mod copies internal card to internal card (via RAM).

The external alternative copies internal card to external card (for devices with external card slot, so - not the Glo HD). When it's done it reboots but internal card is still internal and external card is still external. You have to turn the device off to put the ext. in the int. slot (or you could put it in a drawer if you just wanted to have a backup).
Now if you could add the ability copy the internal card to internal card (via the external card). The user could both make a backup and have a way to restore the system drive, without having to open the case.

While the user would still have to open the case for an actual upgrade or to replace a failing internal uSD card, it would solve the remaining issue for those who don't wish to open the case of their device, and void the warranty. This might be especially useful for H2O owners.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Glo Memory Upgrade Mod Guide (With Pictures) Gergith Kobo Developer's Corner 318 02-20-2024 04:37 AM
Vox Kobo Vox memory card image - Fix tablet upgrade error and more pcampbell Kobo Tablets 76 05-05-2020 12:11 PM
Glo Memory Upgrade without opening your Kobo Markismus Kobo Developer's Corner 33 04-21-2017 11:25 AM
iOS Devices [mod: might be] Banned in Europe [mod: Germany] CyGuy News 27 12-13-2011 07:47 AM


All times are GMT -4. The time now is 06:58 PM.


MobileRead.com is a privately owned, operated and funded community.