![]() |
#76 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 5842
Join Date: Oct 2014
Device: kobo aura hd
|
Boot cmd is configurable:
1. Get boot cmdline: dd if=/dev/sdX(your external SD card) of=./bootenv.bin bs=1K skip=768 count=128 The 128KB binary file contains: 4 Bytes CRC32 checksum 128KB-4Bytes cmdline data 2. Edit cmdline with hex editor and recalc CRC32 checksum(this is very important) 3.Flash into SD card dd of=/dev/sdX(your external SD card) if=./bootenv.bin bs=1K seek=768 count=128 sync sync |
![]() |
![]() |
![]() |
#77 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 140
Karma: 23528
Join Date: Nov 2009
Location: London
Device: Kobo Aura One,HD,H2O,Touch,Mini,Kindle 3+DXG,Nook Simple Touch
|
Thank you.
There is one serious limitation of your kernel configuration: you forgot to include support for iso9660 filesystem and so I can't install software that comes as an iso image, e.g. TeX Live 2014 (I am hoping that its armhf binaries would work) --- I have to mount the iso image on desktop, turn it into a tar file, transfer the tar file, untar it and then try to install it. Are kernel sources somewhere inside the root filesystem? Then, perhaps I could compile and insmod iso9660 module directly on the device? |
![]() |
![]() |
Advert | |
|
![]() |
#78 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 140
Karma: 23528
Join Date: Nov 2009
Location: London
Device: Kobo Aura One,HD,H2O,Touch,Mini,Kindle 3+DXG,Nook Simple Touch
|
I am in serious trouble again --- I pressed something in onboard keyboard and now I am in the mode where pressing a key causes a popup of Chinese hieroglyphs to appear from which one can select. So I can't type anything anymore. How do I get out of this mode back to normal typing?
Btw, this Chinese popup caused me to think something revolutionary: is it possible to actually have an alternative (non-English) layout available alongside the English one? That would be absolutely wonderful and I didn't even dare wish for such a thing because I assumed human-made technologies have not reached such a level of sophistication yet (other than on an Intel-based x86_64 architecture where I use this keyboard layout switching in Linux all the time --- to switch between latin and Cyrillic layouts that is). Of course I noticed onboard settings and I see that one can clone an existing layout and perhaps even edit it (though editing SVG files seems too farfetched for this task, probably I misunderstood its purpose --- or do nowadays humans directly edit layouts in an SVG representation? I must be behind the modern technologies by some 10 years and I thought nothing serious happened in all these years ![]() But I am not talking about cloning an existing layout but switching between two different (English-US and Russian) layouts --- this would be great. UPDATE: I have found a home page of onboard program: https://code.launchpad.net/onboard It has no documentation, but it has the source code, so maybe I'll figure out how to get out of Chinese mode by studying its source tree (which also has a docs subdirectory)... UPDATE: I am still struggling with onboard layout switching, but I found a bug: you write the message "Powered off" at the very beginning of shutdown sequence but it still takes the system a few seconds to cleanly unmount filesystems etc --- the only way the user can see this is happening and AVOID taking the card out is by looking at the device from the top and noticing the LED blinking. If the user doesn't look there and takes the card out then there are chances of fs corruption (very high chances). So, the fix for this bug is print "Powering off, please wait...." instead of categorical (and wrong) "Powered off" message. UPDATE: I "recovered" from Chinese keyboard layout by re-installing from the backup, i.e. I gave up trying to find the same keyboard shortcut that switched to it in the first place. Now, concerning backups: I assume that all I need to backup is just the root filesystem, correct? I.e. nothing changes on any of the other partitions? Please confirm this as it is very important for me. Thank you! ![]() Last edited by tigran; 01-04-2015 at 05:09 PM. |
![]() |
![]() |
![]() |
#79 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 5842
Join Date: Oct 2014
Device: kobo aura hd
|
Thanks for your suggestions. Try to answer your questions: ISO9660 support: All source codes are on the online file server, You have to rebuild kernel to support ISO9660 filesystem. Chinese hieroglyphs: There is no Chinese mode in Onboard, it is IBUS input method, which is used to input Chinese style characters. To switch between Chinese and English mode press "CTRL+SPACE" keys. I think IBUS is not used to switch between some latin layouts, so you may need to try other ways. The custom onboard source codes can be found on the online file server.(file:custom.tar.gz) About Backups: All Debian necessary files are in mmc partition 6, I'll give you an explanation of how to make a whole backup 16GB MMC partitions table: ** head: 30MiB(RAW) ** part1: 4096MiB /FAT32 (Books) ** part2: 1536MiB(Android Data) ** part3: 512MIB(Android System) ** part4: extension **** part5: 64MiB/FAT32 **** part6: 8192MiB (Linux Rootfs) **** part7: 512MiB (Linux swap) ** The first 30MiB head contains partiton table(first 1KB),uboot cmdline and something important, use "dd cmd" to make backups(skip first 1KB) ** part1 contains books, user fonts, dictionaries, backup these ** part2, part3 are for android, not used in Debian ** part4, extension **** part5: kernel uImage files, boot config files, backup these **** part6: Debian rootfs, backup these **** part7: Linux swap partition Part5 is fat32 format, and the sequence number(mmcblk1p5) is directly written in uboot, not configurable; Part1 and Part7 are mounted in Debian; Part6 sequence number(mmcblk1p6) is written in uboot cmdline area(extenal mmc:768KB ~ 768KB+128KB), so is configurable; Last edited by guang6321; 01-05-2015 at 03:34 AM. |
![]() |
![]() |
![]() |
#80 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 140
Karma: 23528
Join Date: Nov 2009
Location: London
Device: Kobo Aura One,HD,H2O,Touch,Mini,Kindle 3+DXG,Nook Simple Touch
|
Thank you for answering my questions.
Here are a few optimizations I suggest for your next release: 1. Edit /etc/inittab to disable all gettys on tty1-tty6 and serial getty as well. 2. Disable lpd (by "update-rc.d lpd disable") 3. Disable saned 4. Disable rpcbind 5. Disable atd This would startup slightly faster and, more importantly, leave more memory for user apps. UPDATE: The external keyboard doesn't work. The keyboard itself is not faulty because it works with all my Android tablets but when I plug it in to Kobo Aura HD nothing happens. Maybe I should enable something in the settings for it to recognize the keyboard. There are no kernel messages when I plug and unplug the external keyboard, so it appears the kernel doesn't recognize this particular USB device. Or do I need to enable the host controller somehow? Last edited by tigran; 01-07-2015 at 03:00 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#81 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 5842
Join Date: Oct 2014
Device: kobo aura hd
|
Quote:
|
|
![]() |
![]() |
![]() |
#82 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,759
Karma: 731681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
Quote:
autoremove removes packages that were pulled in as dependencies but are no longer needed. If you want to remove a package you need apt remove or apt purge. Last edited by Frenzie; 01-09-2015 at 04:43 AM. Reason: Quote fix. |
|
![]() |
![]() |
![]() |
#83 |
Member
![]() Posts: 15
Karma: 14
Join Date: Feb 2015
Location: Halifax, NS
Device: Kobo Aura HD & Kobo Aura
|
Hey, This is an amazing project. Have you tried running it on the Aura? Also can we get the scripts for booting into Android and Debian so we can get it running with the Startmenu hack?
I am also uploading your image to my Mega account so that some people will have an easier time downloading it. Hope you don't mind guang. |
![]() |
![]() |
![]() |
#84 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,548
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
@flip1314: One thing to bear in mind; the Aura does NOT have an internal SD card, so recovery to original state in case of bricking is not feasible.
|
![]() |
![]() |
![]() |
#85 |
Member
![]() Posts: 15
Karma: 14
Join Date: Feb 2015
Location: Halifax, NS
Device: Kobo Aura HD & Kobo Aura
|
I am not worried about bricking the device. I own several Aura's and this would work much better on a screen that allows for multitouch.
|
![]() |
![]() |
![]() |
#86 |
Member
![]() Posts: 15
Karma: 14
Join Date: Feb 2015
Location: Halifax, NS
Device: Kobo Aura HD & Kobo Aura
|
Hey Everyone,
Here is a link to my Mega account with all of the necessary files to download and image the most recent files. This should be a little more stable than the download from China. https://mega.co.nz/#F!ZUkQkRKA!aKr8h6LgH13mSaqMNfO67A Cheers, flip |
![]() |
![]() |
![]() |
#87 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Feb 2015
Device: Kobo Aura HD
|
Hi just bought a Kobo Aura HD this week, after I found out that I can run a full Linux on it.
First let my say thanks to all the people who made this possible and shared it with us, before I come to the bad news. Don't worry nothing serious, just I can't get it to work on my site. First try, 64GB SDXC
Second try, 32GB SD
Third try
Fourth try, 64GB SDXC with orignal software
So my Kobo doesn't boot any SDcard with the debian image on it, but with the 64GB SDXC and the original software it works. Also I don't get the menu at boot, haven't tried the no menu update yet, download takes roughly a day on my site for it. Can someone please check against my checksums? So I can be sure that my files aren't corrupt: Code:
[bebna@t400 p5]$ md5sum debian-android.16GiB.raw.img.7z kobo.raw.img.7z 9e1841aee934a899ac82efbce3f48c7f debian-android.16GiB.raw.img.7z b5384092b9e0400d9277d0a01ac3397a kobo.raw.img.7z [bebna@t400 p5]$ sha1sum debian-android.16GiB.raw.img.7z kobo.raw.img.7z 7bdfc86d385967375b021a0291fc63627a374bf1 debian-android.16GiB.raw.img.7z 5cf35f4ddf2d1d0e3724de003f25513bc3bb7386 kobo.raw.img.7z @guang6321 Can you access github or bitbucket? It would be very nice from you if you could upload your source code there. Last edited by bebna; 02-15-2015 at 10:43 AM. Reason: Added screenshot of "Device Information" |
![]() |
![]() |
![]() |
#88 | |
Member
![]() Posts: 15
Karma: 14
Join Date: Feb 2015
Location: Halifax, NS
Device: Kobo Aura HD & Kobo Aura
|
Quote:
I would suggest in future you do a little more reading and a little less pointless work and maybe you won't waste a bunch of your time. |
|
![]() |
![]() |
![]() |
#89 |
Member Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,183
Karma: 11721895
Join Date: Nov 2010
Device: Nook STR (rooted) & Sony T2
|
Does the hack work in no-refresh mode. This video suggests that the screen doesn't refresh all the time: https://www.youtube.com/watch?v=8rkoHcJGo18
Also can you browse, read pdfs, edit text files and view/edit spreadsheets with it? |
![]() |
![]() |
![]() |
#90 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 140
Karma: 23528
Join Date: Nov 2009
Location: London
Device: Kobo Aura One,HD,H2O,Touch,Mini,Kindle 3+DXG,Nook Simple Touch
|
Did anyone manage to get it working under Kobo Aura H2O? The H2O's screen is better than HD's, so it would be very nice if one could have just one device to be used both as a computer (running Linux) and eInk Document Reader (running Koreader+CoolReader).
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura HD Kobo Glo/Aura/Aura HD future firmware feature request thread | arspr | Kobo Reader | 25 | 03-26-2015 05:19 AM |
Kobo Aura H20 vs Aura HD comparison photos | Fanchee | Kobo Reader | 13 | 10-08-2014 01:53 PM |
Glo to Aura Upgrade Questions (Are Reading Stats Available on Aura)? | TimeEffect | Kobo Reader | 8 | 05-05-2014 12:10 AM |
Sell Early Spring Cleaning: Sleeves and Covers for Aura, Aura HD, Sony, Kindle, & iPad | Fanchee | Flea Market | 0 | 02-14-2014 04:13 PM |
Dymo tape fix for eBay Kobo Aura and Aura HD covers | RobertJSawyer | Kobo Reader | 2 | 02-10-2014 10:34 AM |