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 11-16-2013, 07:45 AM   #91
MarekGibek
Zealot
MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.
 
MarekGibek's Avatar
 
Posts: 129
Karma: 34471
Join Date: Aug 2013
Location: Cracow, Poland
Device: Kobo Touch N905C
Quote:
1) Led blinking
-> Must find adresse of the port for this led...
-> otherwise I plan in last resort to try to desolder it (Have to remove motherboard)
You can try to add this to Adroid init script:
https://www.mobileread.com/forums/sho...6&postcount=40

Quote:
>>>>>>>> (THE BIGGEST PROBLEM for me) <<<<<<<<<<<<
4) Landscape mode don't work
The image is rotated but not the IR Touchscreen
Be patient. Android is now my only system on Kobo and I would like to see it working, too. I like to read in landscape, two column mode. I want to look at it soon. Yes, IR driver is in the kernel sources that we have so it is for sure doable.

Quote:
I can't post on developpers threads yet as i'm a new user
Can somebody ask the question on this thread ?
Wow! Really? What a stupid idea on that forum. Being developer and new user are two different things. It's like dening me posting on teacher's forum not because I'm not a teacher but because I am new there
MarekGibek is offline   Reply With Quote
Old 11-16-2013, 07:54 AM   #92
MarekGibek
Zealot
MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.
 
MarekGibek's Avatar
 
Posts: 129
Karma: 34471
Join Date: Aug 2013
Location: Cracow, Poland
Device: Kobo Touch N905C
Quote:
Originally Posted by mastnacek View Post
Hello Marek, thanks for your work. But for Kobo Mini dont work.
Thank you for the info.

I'm sure this is only a matter of changing hw config sections and/or uboot loader in the first 1 MB of the image. It helped with my previous image with Debian:
https://www.mobileread.com/forums/sho...7&postcount=30

First, I would try to copy "HW CONFIG" section only.

If it still doesn't work I would try to replace uboot loader but it cannot be just copied like "HW CONFIG" from original Kobo SD card, because it must be configured differently to boot from ramdisk.

Basicaly, if someone fix bootloader - the rest should run ok.
MarekGibek is offline   Reply With Quote
Old 11-16-2013, 08:07 AM   #93
mastnacek
Enthusiast
mastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-books
 
Posts: 35
Karma: 946
Join Date: Mar 2013
Device: Kobo Mini
this is Sector 1024 from your image: what must i have changed for kobo mini?
After 32 bits is this

Quote:
48 57 20 43 4F 4E 46 49 47 20 76 31 2E 36 00 26 1E 0D 00 00 07 00 00 08 04 06 06 00 00 18 01 00 02 00 02 02 07 01 68 02 E4 00 00 02 02 02 00 00 05 00
Quote:
48 57 20 43 4F 4E 46 49 47 20 76 31 2E 36 00 26 1E 0D 00 00 07 00 00 08 04 06 06 00 00 18 01 00 02 00 02 02 07 01 68 02 E4 00 00 02 02 02 00 00 05 00 00 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
mastnacek is offline   Reply With Quote
Old 11-16-2013, 08:09 AM   #94
pbra
Junior Member
pbra began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2012
Device: kobo glo
Quote:
Originally Posted by dd366 View Post
2) Screen light can't be set to off
-> KevinShort app don't work for me currently.
-> I also try an android app called AndroidIOCTL.apk for writing to /dev/ntx_io but with no success.
Hello,
As I said before in this thread : I find a good software which can switch off the screen light (in fact it low it down to 1%, it's enough on my kobo to turn it off ) :
Display brightness
https://play.google.com/store/apps/d...ightness&hl=en

regards
pbra is offline   Reply With Quote
Old 11-16-2013, 08:12 AM   #95
MarekGibek
Zealot
MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.
 
MarekGibek's Avatar
 
Posts: 129
Karma: 34471
Join Date: Aug 2013
Location: Cracow, Poland
Device: Kobo Touch N905C
Quote:
Originally Posted by giorgio130 View Post
I've taken the value from nxt_hwconfig.c:
Code:
const char * gszDisplayResolutionA[]={"800x600","1024x758","1024x768","1440x1080"};// Display resolution .
It doesn't work though, it just turns on the frontlight and hangs. Probably some changes at kernel level are needed, maybe more in HW Config. Where did you find that info about resolution?
I've taken it from /drivers/video/mxc/mxc_epdc_fb.c. On Kobo Aura HD it contains more cases:

Quote:
wv_file = (struct mxcfb_waveform_data_file *)fw->data;

if(1==gptHWCFG->m_val.bDisplayResolution) {
printk("%s(%d):EPD 1024x758 \n",__FILE__,__LINE__);
fb_data->cur_mode = &fb_data->pdata->epdc_mode[2];//
}
else if(3==gptHWCFG->m_val.bDisplayResolution) {
printk("%s(%d):EPD 1440x1080 \n",__FILE__,__LINE__);
fb_data->cur_mode = &fb_data->pdata->epdc_mode[5];//
}
else if(2==gptHWCFG->m_val.bDisplayResolution) {
printk("%s(%d):EPD 1024x768 \n",__FILE__,__LINE__);
fb_data->cur_mode = &fb_data->pdata->epdc_mode[3];//
}
else
{
.....
}
Looking at the code I agree that correct value is "3" here, but in Tolino's driver there is only first "if" awailable and you will end with 800x600. You need to add missing cases and copy waveform data.

Quote:
It doesn't work though, it just turns on the frontlight and hangs.
If someone buy me Aura HD I can try to port it

Seriously I would try another way. On the blog with Tolino software there is table with offsets telling where kernel and ramdisk lies.

I would copy original Kobo SD card. Then replace only the kernel from Tolino's device. If it doesn't boot - you know it's the kernel. In that case you need to merge Android only changes to your kernel. But if it boots - you can just unpack ramdisk to ext4 partition and copy other partition content to /system and /data subfolder of the ramdisk structure unpacked to partition and comment out mount section ("mount /system" and "mount /data") in init rc script.

Last edited by MarekGibek; 11-16-2013 at 08:15 AM.
MarekGibek is offline   Reply With Quote
Old 11-16-2013, 08:16 AM   #96
MarekGibek
Zealot
MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.
 
MarekGibek's Avatar
 
Posts: 129
Karma: 34471
Join Date: Aug 2013
Location: Cracow, Poland
Device: Kobo Touch N905C
Quote:
Originally Posted by mastnacek View Post
this is Sector 1024 from your image: what must i have changed for kobo mini?
After 32 bits is this
Replace it with content from original Kobo SD card. There is also the same "HW CONFIG" section.

But I'm afraid that replacing uboot section will be needed, too. I can't help you with that - I never had to do this, but you can google for it. What's important is to build uboot from Kobo Mini sources and to modify boot command to init from ramdisk.

Last edited by MarekGibek; 11-16-2013 at 08:31 AM.
MarekGibek is offline   Reply With Quote
Old 11-16-2013, 08:36 AM   #97
mastnacek
Enthusiast
mastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-books
 
Posts: 35
Karma: 946
Join Date: Mar 2013
Device: Kobo Mini
Quote:
Replace it with content from original Kobo SD card. There is also the same "HW CONFIG" section.
Replaced section 1024, led light is blue, but kobo dont boot. Any idea?
mastnacek is offline   Reply With Quote
Old 11-16-2013, 09:55 AM   #98
MarekGibek
Zealot
MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.
 
MarekGibek's Avatar
 
Posts: 129
Karma: 34471
Join Date: Aug 2013
Location: Cracow, Poland
Device: Kobo Touch N905C
Quote:
Originally Posted by mastnacek View Post
Replaced section 1024, led light is blue, but kobo dont boot. Any idea?
"I'm afraid that replacing uboot section will be needed, too. I can't help you with that - I never had to do this, but you can google for it. What's important is to build uboot from Kobo Mini sources and to modify boot command to init from ramdisk."
MarekGibek is offline   Reply With Quote
Old 11-16-2013, 10:01 AM   #99
MarekGibek
Zealot
MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.
 
MarekGibek's Avatar
 
Posts: 129
Karma: 34471
Join Date: Aug 2013
Location: Cracow, Poland
Device: Kobo Touch N905C
Touch rotation patch

Here is how touch rotation can be fixed in Android sources:
https://groups.google.com/forum/#!ms...c/7Zkh-WE1uuEJ

The problem is - last time I was trying to compile Android from source codes I failed with compiling 2.3.4 version. I succeeded to compile 4.2.2 or newer only.
MarekGibek is offline   Reply With Quote
Old 11-16-2013, 11:42 AM   #100
mastnacek
Enthusiast
mastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-books
 
Posts: 35
Karma: 946
Join Date: Mar 2013
Device: Kobo Mini
Quote:
Originally Posted by MarekGibek View Post
"I'm afraid that replacing uboot section will be needed, too. I can't help you with that - I never had to do this, but you can google for it. What's important is to build uboot from Kobo Mini sources and to modify boot command to init from ramdisk."
So that is dead, i know nothing about this.
mastnacek is offline   Reply With Quote
Old 11-16-2013, 06:57 PM   #101
pbra
Junior Member
pbra began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2012
Device: kobo glo
Quote:
Originally Posted by MarekGibek View Post
You can try to add this to Adroid init script:
https://www.mobileread.com/forums/sho...6&postcount=40
tried, doesn't work ... need to find something else.

thanks
pbra is offline   Reply With Quote
Old 11-16-2013, 08:05 PM   #102
bulnes123
Member
bulnes123 doesn't litterbulnes123 doesn't litter
 
Posts: 17
Karma: 190
Join Date: Nov 2013
Device: Kobo Touch
Quote:
Originally Posted by MarekGibek View Post
Here is how touch rotation can be fixed in Android sources:
https://groups.google.com/forum/#!ms...c/7Zkh-WE1uuEJ

The problem is - last time I was trying to compile Android from source codes I failed with compiling 2.3.4 version. I succeeded to compile 4.2.2 or newer only.
Can you post the 4.2.2 image you compiled?

Thanks for all the hard work you have been putting on this
bulnes123 is offline   Reply With Quote
Old 11-16-2013, 10:43 PM   #103
bulnes123
Member
bulnes123 doesn't litterbulnes123 doesn't litter
 
Posts: 17
Karma: 190
Join Date: Nov 2013
Device: Kobo Touch
In my kobo touch running android ezpdf reader rotates the screeen but the digitizer doesn't rotate simultaneous. From then android runs in landscape but i have to look for the right place to touch
bulnes123 is offline   Reply With Quote
Old 11-17-2013, 03:40 AM   #104
sysKin
Connoisseur
sysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the end
 
sysKin's Avatar
 
Posts: 56
Karma: 31830
Join Date: Oct 2012
Location: Australia
Device: Aura HD, after a train ate my Glo
Quote:
Originally Posted by sysKin View Post
I was able to make mount work by removing "remount" option and adding -t ext4 option. However, this changed the error to permission denied. It looked like /system was mounted read-only.
Heh, so eventually I just mounted the SD card under Ubuntu and copied all the stuff manually... and still nothing!
What I mean is, I seem to have all the apks installed, busybox and su copied and linked correctly, and the only part of the root script that still didn't work is "push com.smart.swkey /data/data/com.smart.swkey" part because any access to data/data/ is denied...

And afterwards, I still don't get any android launcher. What am I doing wrong? >_<
From what I can tell I might actually have root access, but no launcher so I can't actually start any app.
Or perhaps someone would be just so kind as to upload a rooted img.... I'd be most grateful. [edit] nevermind, I used Marek's awesome Touch image but undid 01-->00 resolution change. flashing now. Thanks Marek!!

Did anyone start with the 1.1 version of the firmware, rather than from 1.0? What I noticed is that 1.2.4 is even more snappy than 1.0 but I can't tell if it's their app or the entire OS.

Last edited by sysKin; 11-17-2013 at 07:04 AM.
sysKin is offline   Reply With Quote
Old 11-17-2013, 07:31 AM   #105
sysKin
Connoisseur
sysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the end
 
sysKin's Avatar
 
Posts: 56
Karma: 31830
Join Date: Oct 2012
Location: Australia
Device: Aura HD, after a train ate my Glo
Marek, the image file you've shared with us seems to have all your stuff (such as login to google play, your wireless authentication) etc.
Just saying...

[edit] and I still haven't figured out how to log you out lol

Last edited by sysKin; 11-17-2013 at 08:01 AM.
sysKin is offline   Reply With Quote
Reply

Tags
android, glo, kobo, shine, tolino

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Glo Synchronizing my own books between Kobo Glo and Kobo Android ploum Kobo Reader 35 01-07-2015 06:28 PM
kobo glo / android phone not detected danieldo Devices 2 02-02-2013 12:28 PM
Glo Screen durability of the glo..is it better than the Nook Glo?? Tony1988 Kobo Reader 4 01-10-2013 07:38 PM
Glo Can kobo glo run android app such as nook glo? suspect Kobo Developer's Corner 1 12-28-2012 11:25 PM
Released 14 HoneyComb ROM MOD for Android OS 1.6 /Android OS 2.1 HCV13.0 B20 tipstir Android Devices 0 05-20-2011 02:59 AM


All times are GMT -4. The time now is 04:25 AM.


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