02-06-2013, 07:00 AM | #46 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
[root@kindle root]# xdpyinfo
Quote:
No record extension. Last edited by twobob; 02-06-2013 at 07:18 AM. |
|
04-04-2013, 11:56 AM | #47 |
Enthusiast
Posts: 41
Karma: 543274
Join Date: Dec 2012
Device: Kobo Aura HD, Kobo Glo HD
|
did anyone of you guys look into Xdamage and how awesome triggers screen refreshes?
|
Advert | |
|
04-04-2013, 01:18 PM | #48 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Only the work we did.
Attaching the underlying clients via Lua to the provisional Amazon "Manage the dirty screen area since Xdamage doesn't work in this context". Haven't had a chance (or much time) to take that further yet. |
09-30-2013, 11:33 PM | #49 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
For me certainly. |
|
10-01-2013, 08:26 AM | #50 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Is it linked somewhere in the prefix index system?
|
Advert | |
|
10-01-2013, 11:01 PM | #51 |
Evangelist
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
|
10-04-2013, 04:03 AM | #52 |
Member
Posts: 12
Karma: 85746
Join Date: Jun 2012
Device: Kindle Touch
|
Happened to pass thourhg here again, so I'll chip in some knowledge on the awesome thing. cause, its awesome. (please note, I have a K-touch, not PW, and really havn't touched it in like, over a year due to.. stuff. So if things are slightly wrong, or incomplete, sorry :P)
It seems Amazon did the only thing they could do: Hack everything in themselves! They modified the awesome code to send the xdamage events in through the awesome event system. If you look at the RC files, which I've done quite a bit, theres an event handler for xdamage events that basicly uses some cryptic Amazon Lua binary library to do the actual screen refreshes. Its all very messy and complicated. Having said that, and looking through all the changes they made to awesome, I thought it was all rather pointless. What I've done on the kindle is mostly in chroot environments, since I feel 90% of what amazon did was rather unnessesary. What I ended up doing was using a standard build of awesome, and wrote a compositor to do the screen refreshes. I did try to get what I wanted through modifying Amazon's rc files, and using their version of awesome, but it just got too much for me. For example, they decided to ditch all the focusing API's for awesome, and rewrote an entire window focus system to do more or less the same things. *sigh* I modified the compton compositor and added in Geekmasters great screen refresh code, and it worked like a charm. For me, I had a seperate X11 server, and window manager all running within the chroot, though I'm sure someone could have luck with cross compiling. If you wanted to keep the Kindle's window layout and window systems, I guess you'd have to keep some of the original rc files. Well, hope this is of use to someone. |
10-04-2013, 09:57 AM | #53 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
would LOVE to get my hands on what you did.
Like a lot. |
10-11-2013, 10:08 PM | #54 |
Member
Posts: 12
Karma: 85746
Join Date: Jun 2012
Device: Kindle Touch
|
I'll try to post the image I have on my kindle. I'll post whenever I get around to it.
|
10-12-2013, 08:27 AM | #55 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
I would hug you for that
|
10-29-2013, 02:12 PM | #56 |
Member
Posts: 12
Karma: 85746
Join Date: Jun 2012
Device: Kindle Touch
|
Here's a link to the image file I made, and the script for mounting the chroot environment. To get things running, I mount the image, kill the native X server, chroot into the image, and run X from there. I'm not sure if you'd be able to use the native X server, as I don't think it has the composite extensions, but Its been awhile. I'm not sure exactly why I had to run my own X server, but I know I managed to do some cool things like rotating the screen with xrandr! I just couldn't get the touch input to rotate as well...
After you load up the image, a few things: pressing the button will toggle an onscreen keyboard, and holding it longer will bring up a little application dock with wbar. There's a terminal application, and a web browser IIRC. you should find the modified compositor code, and other stuff somewhere in /root.. or /tmp/root.. or someplace.. and be sure to check out the awesome rc.lua for more info. Goodluck navigating my mess! May you find something of great interest! Cheers! to mount: Code:
echo "[*] Mounting Debian Squeeze image . . ." mount -o loop,noatime,nodiratime -t ext3 /mnt/base-us/debian-stable/debian.img /mnt/debian echo "[*] Preparing Filesystem . . ." mount --rbind /dev /mnt/debian/dev mount --bind /proc /mnt/debian/proc mount --bind /tmp /mnt/debian/tmp mount --bind /var/lib/dbus /mnt/debian/var/lib/dbus mount --bind /mnt/debian/root /mnt/debian/tmp/root mount --bind / /mnt/debian/mnt/rootfs mount --bind /mnt/base-us/music /mnt/debian/mnt/Music Code:
echo "[*] Preparing Filesystem . . ." umount /mnt/debian/mnt/Music umount /mnt/debian/mnt/rootfs umount /mnt/debian/tmp/root umount /mnt/debian/var/lib/dbus umount /mnt/debian/tmp umount /mnt/debian/proc umount -l /mnt/debian/dev umount -l /mnt/debian |
10-29-2013, 02:33 PM | #57 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
super star.
Gonna go peruse this right now! |
10-30-2013, 12:46 AM | #58 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
quick question... when you say "kill the native X server" are we talking about a killall -STOP Xorg or something else? I'm probably being dim... but obviously upstart does its best to get in the way...
could it be: [root@kindle root]# stop x Quote:
Last edited by twobob; 10-30-2013 at 12:52 AM. |
|
10-30-2013, 01:32 AM | #59 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Okay. well you are clearly way more awesome than me. That said...
I see no reason why A) a specially compiled X targeting the FAT partition couldn't replace the X offered up in squeeze and B) why THIS kind of wangle couldn't be used to either convince the native awesome to switch to this mode of operation - or even just bundle another one... Frankly, excellent work, with a bit of love this could be outstanding. Hats off to you. EDIT: I'm having a quick go at build the custom located xorg-server now... fingers crossed. Last edited by twobob; 10-30-2013 at 02:55 AM. |
10-30-2013, 03:51 AM | #60 | |||||||||||||
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
x:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
mplayer2-2.0-554-gf63dbad Quote:
fluxbox-1.3.2 Quote:
Last edited by twobob; 11-02-2013 at 06:08 PM. |
|||||||||||||
Tags |
k5 tools |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Content Apps that run on Kindle 4 without keyboard | Blog Kindle | Amazon Kindle | 8 | 04-14-2014 04:06 AM |
Run Android Apps on your Windows PC | Dave_S | Android Devices | 4 | 04-13-2012 06:52 PM |
Development poll: Google mobile native apps @ PE/EE and able to Sync! at Ermine final release | kksh | enTourage Archive | 23 | 05-23-2011 02:05 PM |
PRS-500 Why no native Reader apps? | curiouser | Sony Reader Dev Corner | 28 | 05-10-2007 04:08 PM |