Thread: Glo Android on Glo
View Single Post
Old 11-30-2013, 12:20 PM   #186
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
dd336, thank you for comprehensive review of kernel changes. As I have kobo touch without front light, there is nothing useful for me.

Quote:
Originally Posted by dd366 View Post
In your Github source, what the purpose of turning AutoUpdate off ?
AutoUpdate is a method of detecting frame buffer changes (using MMU unit) and updating (sending to eINK controller) that parts. It was needed for running X11 under Debian Linux.

On Adroid there is that EPDRefresh app. Althrough the activity is not interesting at all, it registers native library that integrates with Android Surface Flinger. This app knows exactly which part of the screen changed and updates that region. It is needed for all application that are no eInk aware. Without it there would be no screen refreshes outside Tolino app. It works much better than AutoUpdate (the purpose is the same). AutoUpdate method is able only to detect which memory page changed which is much bigger region to update than necessary.

Having enabled both caused screen flickering. That's why I had to disable it. It happens even when I compiled original Tolino kernel sources without any changes. I think they left it enabled by mistake. It should be disabled to avoid flickering.

Also with the latest commit I reduced update buffers from 10 to 1. Each update buffer allocates about 1 MB of memory. With that change animation is less smooth but it doesn't really change much on eINK display and I have 8MB more memory. You can play with intermediate values.

I also installed "Autostarts" application and disabled autostarting of almost all services (except my Kobo Touch Rotation Service).

Both changes gave me about 20-30 MB more memory at startup. For example, Google Play service - 7MB. And I didn't loose anything - all the apps are still working like before. If I start them, they start their services. It's a huge waste to start so many not needed services every start. I am happy because of this Dolphin Mini browser stopped restarting device on huge web pages!! I recommend it!

Last edited by MarekGibek; 11-30-2013 at 12:49 PM.
MarekGibek is offline   Reply With Quote