Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-19-2013, 11:36 PM   #121
dd366
Member
dd366 doesn't litterdd366 doesn't litter
 
Posts: 23
Karma: 186
Join Date: Jul 2013
Location: France
Device: Kobo glo
How many langages...

I think the post was speaking of the original software of the non-rooted Tolino Shine.

I agree with you for the rooted one.

Last edited by dd366; 11-21-2013 at 06:45 AM.
dd366 is offline   Reply With Quote
Old 11-20-2013, 03:58 AM   #122
haolin
Junior Member
haolin began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Nov 2013
Device: kobo glo
Smile

test a lot app,the devices‘s memory too small,affter add 200MB swap file。some ebook app stile can’t work。
haolin is offline   Reply With Quote
Old 11-20-2013, 09:26 AM   #123
nevelaev
Junior Member
nevelaev began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Sep 2013
Location: Saint Petersburg
Device: Kobo glo
Swap file

How you make this swap?? By the RAM Expander?) Interesting idea - I will try it...

Last edited by nevelaev; 11-20-2013 at 09:27 AM. Reason: ram exPANDER not extender))
nevelaev is offline   Reply With Quote
Old 11-20-2013, 12:03 PM   #124
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
I'm a little bit disappointed that Google Play hides so many apps if it doesn't recognize the device. But we can always search for apk files.
You can fake another device, you have to modify one line in /system/build.prop :
replace : ro.build.fingerprint=tolino/imx50_rdp/imx50_rdp:2.3.4/GRJ22/eng.antony.20130125.150154:user/release-keys,v2.0.11
with : ro.build.fingerprint=google/soju/crespo:2.3.2/GRH78C/93600:user/release-keys

This spoofs the Nexus S running Android 2.3.2,
how-to : http://nookdevs.com/Honeycomb_Google_Apps_and_Market
pbra is offline   Reply With Quote
Old 11-20-2013, 12:08 PM   #125
pbra
Junior Member
pbra began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2012
Device: kobo glo
Quote:
Originally Posted by nevelaev View Post
How you make this swap?? By the RAM Expander?) Interesting idea - I will try it...
you can follow this guide :
http://forum.xda-developers.com/show....php?t=1659231

I want to try that later

Last edited by pbra; 11-20-2013 at 12:32 PM.
pbra is offline   Reply With Quote
Old 11-20-2013, 02:15 PM   #126
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 pbra View Post
You can fake another device, you have to modify one line in /system/build.prop :
replace : ro.build.fingerprint=tolino/imx50_rdp/imx50_rdp:2.3.4/GRJ22/eng.antony.20130125.150154:user/release-keys,v2.0.11
with : ro.build.fingerprint=google/soju/crespo:2.3.2/GRH78C/93600:user/release-keys

This spoofs the Nexus S running Android 2.3.2,
how-to : http://nookdevs.com/Honeycomb_Google_Apps_and_Market
Thanks pbra! It worked. I tried it before but the trick was to clear Google Play's cache.
MarekGibek is offline   Reply With Quote
Old 11-20-2013, 06:04 PM   #127
bulnes123
Member
bulnes123 doesn't litterbulnes123 doesn't litter
 
Posts: 17
Karma: 190
Join Date: Nov 2013
Device: Kobo Touch
Anyone solved the landscape mode problem? I 've tried but still nothing...I think that's a killer feature...
bulnes123 is offline   Reply With Quote
Old 11-21-2013, 03:31 AM   #128
dd366
Member
dd366 doesn't litterdd366 doesn't litter
 
Posts: 23
Karma: 186
Join Date: Jul 2013
Location: France
Device: Kobo glo
Quote:
Originally Posted by bulnes123 View Post
Anyone solved the landscape mode problem? I 've tried but still nothing...I think that's a killer feature...
I need it too, for reading pdf and cbz in landscape mode
I have some ideas, but it seems to require
- Android recompilation (not so easy)
- or Kernel recompilation (I need to learn how to) + an app which direct the kernel to rotate coordonates (I can do it).

I'm working on that second solution but not sure I succeed.

https://www.mobileread.com/forums/sho...7&postcount=83
https://www.mobileread.com/forums/sho...4&postcount=98
https://www.mobileread.com/forums/sho...&postcount=112
https://www.mobileread.com/forums/sho...&postcount=114

What have you tried exactly ? Help is welcome...

Last edited by dd366; 11-21-2013 at 04:59 AM.
dd366 is offline   Reply With Quote
Old 11-21-2013, 04:04 AM   #129
dd366
Member
dd366 doesn't litterdd366 doesn't litter
 
Posts: 23
Karma: 186
Join Date: Jul 2013
Location: France
Device: Kobo glo
Multipoints

Multipoints works !

Tested with Moon+ Reader

Select:
Settings - Miscellaneous - Allow multi-point to change font size

AndroSensor apk report 2 points.

And at the same time I discovered that CPU freq is 800Mhz...
Let's go find an app to overclock it a Glo Frequency (1Ghz)...

[Edit]
... not sure it is doable with use apk
Overclock apk report kernel not supported

Probably need to recompile kernel...

Last edited by dd366; 11-21-2013 at 06:34 AM.
dd366 is offline   Reply With Quote
Old 11-21-2013, 06:43 AM   #130
dd366
Member
dd366 doesn't litterdd366 doesn't litter
 
Posts: 23
Karma: 186
Join Date: Jul 2013
Location: France
Device: Kobo glo
Patch Blinking Led

I managed finally to shut off this annoying led blinking (I can see it through plastic on my white glow)

From the kernel source: arch/arm/mach-mx5/mx50_ntx_io.c, I discovered these calls


// #define CM_LED_BLINK 127

// shut off blinking led
ioctl -d /dev/ntx_io 127 0

// same but with a oneshot blink
ioctl -d /dev/ntx_io 127 2

// Put led on ( don't allways work, probably need another call to re-enable timer)
ioctl -d /dev/ntx_io 127 1


These others are interesting too.
You can test them in a adb shell

// Led Blue
ioctl -d /dev/ntx_io 101 0

// Led Green
ioctl -d /dev/ntx_io 101 1

// #define POWER_OFF_COMMAND 0xC0 // 192
// Power off directly, keeping the Eink screen as actual
ioctl -d /dev/ntx_io 192


// these are not tested yet

// #define SYS_RESET_COMMAND 193

// Reboot ?
ioctl -d /dev/ntx_io 193

// #define POWER_KEEP_COMMAND 205

// Sleep mode on off ?
ioctl -d /dev/ntx_io 205 0
ioctl -d /dev/ntx_io 205 1

// #define CM_TOUCH_LOCK 128
// Lock screen touch ?
ioctl -d /dev/ntx_io 128 0
ioctl -d /dev/ntx_io 128 1

-----------------

However this lead to another problem

I tried to put this command (work in a shell)
ioctl -d /dev/ntx_io 127 0

in a shellscript led_off.sh that I call from init.rc like this

service led_off /system/etc/led_off.sh
oneshot

The call seams correct but don't work...
In fact, it is not possible because the root (ramdisk ?) is erased at each reboot
The file seems copied from other recovery partition.

Can someone confirm this ? I have not a linux box working yet to view sdcard partitions
Would be fine to modify init.rc to call a sh script which could himself call optional user script.

related links
http://grokbase.com/p/gg/android-pla...ges-to-init-rc
http://grokbase.com/t/gg/android-pla...anges-to-init-

---------------

In the meantime I found this app: SManager
https://play.google.com/store/apps/d...anager%26hl=en
or
http://smanager.wikidot.com/main:start

It can execute shellscript on reboot
It works well (despite tiny char interface) but is not ideal in term of memory usage and power in sleep mode.
dd366 is offline   Reply With Quote
Old 11-21-2013, 09:36 AM   #131
haolin
Junior Member
haolin began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Nov 2013
Device: kobo glo
Quote:
Originally Posted by nevelaev View Post
How you make this swap?? By the RAM Expander?) Interesting idea - I will try it...
Swapper 2
haolin is offline   Reply With Quote
Old 11-22-2013, 01:41 PM   #132
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 dd366 View Post
I need it too, for reading pdf and cbz in landscape mode
I have some ideas, but it seems to require
- Android recompilation (not so easy)
- or Kernel recompilation (I need to learn how to) + an app which direct the kernel to rotate coordonates (I can do it).

I'm working on that second solution but not sure I succeed.

https://www.mobileread.com/forums/sho...7&postcount=83
https://www.mobileread.com/forums/sho...4&postcount=98
https://www.mobileread.com/forums/sho...&postcount=112
https://www.mobileread.com/forums/sho...&postcount=114

What have you tried exactly ? Help is welcome...
I'm working on it, too

> or Kernel recompilation (I need to learn how to)

So left it to me. I'll do it this weekend.

[EDIT] (Removed part of PxP - it was bullshit - PxP is used to transform picture even in the landscape mode, it converts colorspace and does rotation - but we cannot skip it if we don't want do rotation).

Last edited by MarekGibek; 11-23-2013 at 06:20 AM.
MarekGibek is offline   Reply With Quote
Old 11-23-2013, 06:28 AM   #133
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
Kernel changes for touch rotation

Here is the kernel changeset needed for touch rotation:

https://github.com/marek-g/kobo-kern...b314d3dcedfef3

It is not enough to replace the kernel. You have to set ro.sw.hwrotation to "0" (in init.rc / ramdisk). Otherwise it won't work.

Now I can send events to kernel to change touch rotation (I'm using adb shell):

Code:
sendevent /dev/input/event2 17 1 0 -> portrait
sendevent /dev/input/event2 17 1 1 -> landscape
sendevent /dev/input/event2 17 1 2 -> portrait (reversed)
sendevent /dev/input/event2 17 1 3 -> landscape (reversed)
We only need an Android app that will do it automatically.
MarekGibek is offline   Reply With Quote
Old 11-23-2013, 07:03 AM   #134
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 the kernel changeset needed for touch rotation:

https://github.com/marek-g/kobo-kern...b314d3dcedfef3

It is not enough to replace the kernel. You have to set ro.sw.hwrotation to "0" (in init.rc / ramdisk). Otherwise it won't work.

Now I can send events to kernel to change touch rotation (I'm using adb shell):

Code:
sendevent /dev/input/event2 17 1 0 -> portrait
sendevent /dev/input/event2 17 1 1 -> landscape
sendevent /dev/input/event2 17 1 2 -> portrait (reversed)
sendevent /dev/input/event2 17 1 3 -> landscape (reversed)
We only need an Android app that will do it automatically.
You are the best. I'll try it. Thanks a million.
bulnes123 is offline   Reply With Quote
Old 11-23-2013, 07:17 AM   #135
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 bulnes123 View Post
You are the best. I'll try it. Thanks a million.
Thanks!! I'll post the final image when the app for automatic rotation is ready.
MarekGibek is offline   Reply With Quote
Reply

Tags
android, glo, kobo, shine, tolino


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 06:54 PM.


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