![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2013
Device: Kobo Touch
|
Android / Debian on Touch N905B
Hey everbody,
at first: im from germany, so my english is not that good but i will try my best. I really need some help with my new Kobo Touch. Im very intrested in the debian/android mod from Marek. How you can read in the title i got an N905B an original old model. The Memory is an micro SD Card. So i copied the images on the sd card and the kobo is booting the android/debian mod correctly. The problem is that the touch screen did not work. I tried to find the problem on my own but i cant find the correct data in the filesystem(ext4). Can someone give me an advice how to find the correct data or how to fix the problem itself? I hope someone can help me :-) regards |
![]() |
![]() |
![]() |
#2 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129
Karma: 34471
Join Date: Aug 2013
Location: Cracow, Poland
Device: Kobo Touch N905C
|
Hi!
Maybe I can help ![]() In the image file there is "HW CONFIG" section (before the first partition). Different kernel drivers look here to read what hardware configuration you have. For example, what resolution, do you have wi-fi, do you have frontlight etc. There is a byte 0x08 at the offset 0x80017 in the image. 0x08 means that you have neonode v2 touch controller. Try to change it to 0x00 (neonode v1). That's what probably you have. Best Regards, Marek |
![]() |
![]() |
![]() |
#3 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2013
Device: Kobo Touch
|
Quote:
Hello Thanks for your Answer. I dont know if i understand you right. So i have to open the image data itself? I got the program Isobuster but when i try to take a look at the part before the first Partition it shows nothing. So which program does i have to use to see find the mentioned HW config? Regards |
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
A hex editor, I'd suggest, on the image file before writing it to the SD card.
|
![]() |
![]() |
![]() |
#5 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2013
Device: Kobo Touch
|
Quote:
I opening it with a Hex Editor but i dont found the Offset 0x80017. Can anyone Helping me to Patch the file with a Hex editor? or anyone make a Working Android .img for my Kobo Touch N905B? Please, Thanks |
|
![]() |
![]() |
![]() |
#6 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129
Karma: 34471
Join Date: Aug 2013
Location: Cracow, Poland
Device: Kobo Touch N905C
|
Quote:
1. Download HxD (freeware hex editor). 2. Open Android image file (.img). 3. Press ctrl+g. 4. Make sure "hex" radio button is pressed. 5. Type "80017" and hit enter. 6. Make sure that cursor points to "08" value. 7. Type "00". 8. Press ctrl+s. 9. Write modified image file to SD card just like you did it the first time. |
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2013
Device: Kobo Touch
|
Hello,
thanks so much its Working ![]() Really nice Android and Debian on Kobo. but a question. on kobo the green LED is on, can i make it off? when kobo is in sleep mode i cant wake it up. why? i have read about new Kernel updates for android? on Marek site. how Do i install it ? thanks |
![]() |
![]() |
![]() |
#8 | ||||
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129
Karma: 34471
Join Date: Aug 2013
Location: Cracow, Poland
Device: Kobo Touch N905C
|
Quote:
Quote:
![]() Quote:
What you try is to copy whole "HW CONFIG" section (about 40 bytes starting from offset 0x80000) from Kobo original SD card to Android image. Quote:
https://github.com/marek-g/kobo-kern...d_instructions But if you don't want to do it, just skip it. What you have is the same kernel as in commercial Tolino Shine so it's production ready. You should be happy with it, too ![]() Regards, Marek |
||||
![]() |
![]() |
![]() |
#9 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2013
Device: Kobo Touch
|
Quote:
Hello, Thanks now its works complete ![]() You are the best ![]() ![]() The copy from offset 0x80000 was the solution ![]() On your Homepage you write that you make a working ubuntu for Kobo? Can we make it too? Replace the Debian Folder and add a Ubuntu? or is it something more complicated? maybe, can you help again ![]() Edit: In your Image with Kobo Firmware and Debian i have a question. How we can Update to the newest Kobo Firmware 3.0.1 without Delete the Bootscreen to boot Kobo or Debian? Thanks Last edited by Kobo88; 12-05-2013 at 06:52 PM. |
|
![]() |
![]() |
![]() |
#10 | ||
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129
Karma: 34471
Join Date: Aug 2013
Location: Cracow, Poland
Device: Kobo Touch N905C
|
Perfect!! I'm really glad!!
Quote:
The real work is with configuring X11 to be useful on touch device. But you can install the same window manager (awesome) and copy my configuration from debian to ubuntu. You may still have problem with touch as I started implementing my own X11 multi-touch driver (not completed - only supports single touch). You can replace it with standard evdev driver in x11 config file. So it will run fine but you will spend plenty of time with configuration. It's a Linux ![]() Quote:
I have such image ready with 2.8.1. I can upload it somewhere. Starting from 2.8.1 upgrading to 3.0.1 should be as easy as manually copying new files from update archive. [EDIT] https://www.dropbox.com/s/z2iaieegv4...arek.part1.rar https://www.dropbox.com/s/isn6ufl7oy...arek.part2.rar Last edited by MarekGibek; 12-06-2013 at 04:09 PM. |
||
![]() |
![]() |
![]() |
#11 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2013
Device: Kobo Touch N905C
|
Sort of hijacking this thread but I'm going the same place as you... I have a couple of issues.
I've been trying to compile a kernel from scratch, it builds fine using imx507 (I verified the model), but it does not boot. I tried Marek's kernel from his repo, it builds and this time boots just fine. My .config is identical to his except for the console stuff that I didn't activate. Nevertheless I loaded the kernel from Marek's reboot made sure I had the eInk frame buffer refresh option compiled. Booted, loaded my debian chroot, "xinit xclock", nothing appears :/ I copied the xorg.conf from Marek also but to no avail. I'm a bit at a loss; all I really want is to to be able to run a browser (Dilio?) without firing up the networking (to run kiwix-server) - and I don't want to play the binary patch dance... |
![]() |
![]() |
![]() |
#12 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2013
Device: Kobo Touch N905C
|
EDIT: Sorry for the double post...
Last edited by Kobornolio; 12-18-2013 at 10:00 PM. |
![]() |
![]() |
![]() |
#13 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129
Karma: 34471
Join Date: Aug 2013
Location: Cracow, Poland
Device: Kobo Touch N905C
|
Quote:
https://github.com/marek-g/kobo-kern...autoupdate.cpp |
|
![]() |
![]() |
![]() |
#14 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2013
Device: Kobo Touch N905C
|
Quote:
Also, any clues as to why kernels built from the official source will not boot? Not that I care a whole lot as yours works ![]() |
|
![]() |
![]() |
![]() |
#15 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2013
Device: Kobo Touch N905C
|
Meanwhile I copied the eink_ binaries from your image, still a no go :/
[root@kobo-touch debian]# ./debian.sh root@kobo-touch:/# xinit xarclock _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/kobo-touch:0 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 X.Org X Server 1.12.4 Release Date: 2012-08-27 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.2.0-4-mv78xx0 armv5tel Debian Current Operating System: Linux kobo-touch 2.6.35.3-850-gbc67621+ #5 PREEMPT Wed Dec 18 04:09:06 GMT 2013 armv7l Kernel command line: console=ttymxc0,115200 rootwait rw quiet lpj=3997696 root=/dev/mmcblk0p1 rootfstype=ext4 hwcfg_p=0x7ffffe00 hwcfg_sz=110 waveform_p=0x7fe5fa00 waveform_sz=1704879 mem=254M Build Date: 21 October 2013 06:03:54PM xorg-server 2:1.12.4-6+deb7u1 (Moritz Muehlenhoff <jmm@debian.org>) Current version of pixman: 0.26.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec 21 20:11:13 2013 (==) Using config file: "/etc/X11/xorg.conf" (==) Using system config directory "/usr/share/X11/xorg.conf.d" |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Request: Kobo N905B SD image | jkgeyti | Kobo Developer's Corner | 121 | 08-23-2023 12:03 PM |
Request: Kobo N905B SD image | jkgeyti | Kobo Reader | 4 | 04-01-2016 11:18 AM |
Touch Need image (backup) of SD Card. N905B | miszania | Kobo Reader | 1 | 12-19-2013 09:15 AM |
debian on kindle touch? | chr1st0ph3rc | Kindle Developer's Corner | 18 | 08-05-2013 09:00 PM |
Replacing the Kindle OS with Debian on my Kindle Touch Wifi | mattl | Kindle Developer's Corner | 19 | 03-05-2012 11:27 AM |