Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 08-29-2015, 08:04 PM   #76
thatworkshop
hub
thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.
 
thatworkshop's Avatar
 
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
Quote:
Originally Posted by knc1 View Post
I would just forget about that, there is a keyboard fork of KOReader that will handle your book display needs.
I have forgotten the name - idoit can tell you - he uses it.
https://www.mobileread.com/forums/sho...d.php?t=157047

And if I get interested people, I'd like to get KPV once again as feature rich as KOReader is.
Consulting submitters, it's not a device limitation, contributers didn't have DXG at the time of dev and that's why it's left out. If I can fork out some hobby time, I'll start complementing KPV and for goodness aches (!) hopefully rename it just call it KOReader and based on device, it gets sorted out... After all, it's not just PDF Viewer, duh!

Speaking of 3.2.1, in the place where Yifan mentioned just by step 1, no modifications will be made to the host device (which is not true - Kernel is flashed as we discussed above), if I knew for sure, I'd give performing step 1 another thought. I think it'd have been very helpful, if Yifan clarified that in the readme or OP.

Last edited by thatworkshop; 08-29-2015 at 08:07 PM.
thatworkshop is offline   Reply With Quote
Old 08-30-2015, 10:01 AM   #77
newman
homo viator
newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.
 
newman's Avatar
 
Posts: 78
Karma: 252594
Join Date: May 2010
Device: Kindle DXi with 3.4.2 firmware, Kobo Glo HD
How to enable KF8 (MOBI8) on Kindle DX with 3.4.2 FW

How to enable KF8 (MOBI8) on Kindle DX with 3.4.2 FW

Since KF8 was introduced in Kindle 3 in with 3.4 firmware, you have to upgrade your YifanLu's firmware at least to 3.4 (https://www.mobileread.com/forums/sho....php?p=3149351), I suggest you to upgrade to 3.4.2.

Add following modes to /etc/fb.modes if you are on DX(G), K2 should work out of the box and you don't have to add anything:
Code:
mode "824x1200-0"                        
# D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
geometry 824 1200 824 1200 8             
timings 0 0 0 0 0 0 0                    
accel false                              
rgba 0/0,0/0,0/0,0/0                     
endmode                                  
                                         
mode "1200x824-0"                        
# D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
geometry 1200 824 1200 824 4             
timings 0 0 0 0 0 0 0                    
accel false                              
rgba 0/0,0/0,0/0,0/0                     
endmode                                  
                                         
mode "1200x824-0"                        
# D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
geometry 1200 824 1200 824 8             
timings 0 0 0 0 0 0 0                    
accel false                              
rgba 0/0,0/0,0/0,0/0                     
endmode
They are the same as the original "824x1200-0" mode but it's geometry ends with 8 (that's 2^8 of shades of grey, I guess). The last two modes are for landscape mode (test it with

Log in to you Kindle via SSH and execute webreader -d (-d = "Disable Key Events" without this option it crashes like a hell), you should see a bunch of lines wrt DirectFB. In your Kindle interface open some KF8 book (e.g. download free book samples from Amazon: http://www.amazon.com/gp/feature.html?docId=1000729511). I opened the "Cherokee Lessons", "Three man in a Boat" and "Kindle Format 8 sample". If you see just "the selected item could not be opened. ..." webreader did not made it, see the output of the command. Otherwise you should see a rendering far complicated to what you are used to from old MOBI(v6) books. The rendering goes thru WebKit rendering engine (the same which is used in Experimental Browser), so it looks nice:

Now, it would be cool if webreader could start with Kindle. Set Kindle root to read-write mode:
Code:
mntroot rw
Link luigi's PMOND webreader directory to mario's directory:
Code:
ln -s /etc/kdb.src/luigi/system/daemon/pmond/webreader/ /etc/kdb.src/mario/system/daemon/pmond/webreader
Remount back to read-only:
Code:
mntroot ro
Restart PMON daemon:
Code:
/etc/init.d/pmond restart
Start webreaderd via init script:
Code:
/etc/init.d/webreaderd start
Try some KF8 books in Kindle, they should work just fine.
Restart Kindle to see if webreader is executed after restart.

--

Images: #1 Broken resolution of framebuffer device, fix your fb.modes; #2-5: Just a bunch of screenshots.
Attached Thumbnails
Click image for larger version

Name:	screen_shot-27523.gif
Views:	469
Size:	34.5 KB
ID:	141515   Click image for larger version

Name:	screen_shot-27530.gif
Views:	497
Size:	37.1 KB
ID:	141516   Click image for larger version

Name:	screen_shot-12835.gif
Views:	410
Size:	33.8 KB
ID:	141517   Click image for larger version

Name:	screen_shot-27539.gif
Views:	374
Size:	29.4 KB
ID:	141518   Click image for larger version

Name:	screen_shot-12832.gif
Views:	399
Size:	22.5 KB
ID:	141519   Click image for larger version

Name:	screen_shot-31611.gif
Views:	381
Size:	78.1 KB
ID:	141545  

Last edited by newman; 08-31-2015 at 09:52 AM. Reason: Added landscape modes and screenshot from Kindle Text Pop Up
newman is offline   Reply With Quote
Advert
Old 08-30-2015, 10:06 AM   #78
thatworkshop
hub
thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.
 
thatworkshop's Avatar
 
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
Ok... This looks promising now. One thing which can be next step to make this a desirable upgrade is to give users a way to go back to if they want to/need to, just like Yifan's original 3.2.1 claims it's possible to go back to 2.5.8. With that, this is a good end result.
thatworkshop is offline   Reply With Quote
Old 08-30-2015, 10:12 AM   #79
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Sounds like your getting real close to a solution.

AND - it does not have anything to do with building the kernel -
its the board name buried in some of the internal look-up paths.

I guess the entire firmware package is due for a massive "string search".

(My guessing was a near-miss, which is ok in horse shoes, nuclear weapons, and firmware development.)
(( the fuse in anti-aircraft nuclear warheads is actually called the: "near-miss fuse" , trust me, I kid you not. Think on it. you don't have to come very close with a tactical nuke to knock a plane/missile out of the air.
In fact, with 4 tons @ mach 2.5, you don't even need a warhead
Pretty pictures and some more facts:
https://en.wikipedia.org/wiki/RIM-8_Talos))

Last edited by knc1; 08-30-2015 at 10:34 AM.
knc1 is offline   Reply With Quote
Old 09-10-2015, 09:49 PM   #80
thatworkshop
hub
thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.
 
thatworkshop's Avatar
 
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
@newman: I did some investigations and I'm quite sure even when one is on v3.4.2, they can revert back to v2.5.8 if they wish to do so.
Can you please put your update_restore-os.bin in your DX and let me know if Menu>Settings>Menu>Update becomes active? I'm not asking you to run it, just make sure it's not grayed out for any reason.
thatworkshop is offline   Reply With Quote
Advert
Old 09-11-2015, 03:44 AM   #81
newman
homo viator
newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.
 
newman's Avatar
 
Posts: 78
Karma: 252594
Join Date: May 2010
Device: Kindle DXi with 3.4.2 firmware, Kobo Glo HD
It's active.
newman is offline   Reply With Quote
Old 12-12-2016, 09:33 PM   #82
budalb
Enthusiast
budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.
 
Posts: 46
Karma: 9998
Join Date: Dec 2009
Device: Kindle DXG, Sony PRS-600
errors in compilation

I tried to compile Kindle DXG kernel source. Downloaded from Amazon.com and unzip the linux-2.6.22-lab126.tar.bz2 into a directory.

I copied config.gz from my Kindle DXG. unzip and copy to .config. Then run

make oldconfig

to make the configurations exactly the same as my Kindle DXG. I also got rid of CONFIG_INITRAMFS_SOURCE. Then run

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage

Here are error messages I got:

arch/arm/kernel/built-in.o: In function `sys_mmap2':
io.c: (.text+0xc94): undefined reference to `do_mmap2'
Makefile:715: recipe for target '.tmp_vmlinux1' failed
make: *** [.tmp_vmlinux1] Error 1
budalb is offline   Reply With Quote
Old 12-12-2016, 09:35 PM   #83
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Although not likely to be the cause of this problem -
You are using the wrong ABI compiler.
Kindles are not HardFloat .
knc1 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Downgrade Kindle 3.x Kernel to 3.0.2 (on linux k3flasher) to provide forensic 3.3 twobob Kindle Developer's Corner 45 02-26-2013 08:32 PM
PRS-T1 How-to: Compiling the kernel and kernel modules altruizine Sony Reader Dev Corner 9 09-03-2012 09:12 PM
iLiad Linux Kernel flashing to iliad atmel iRex Developer's Corner 1 11-20-2007 09:55 AM
iLiad Linux kernel update! atmel iRex Developer's Corner 4 11-12-2007 11:06 AM
iLiad Linux 2.6 Kernel Port for the Iliad CommanderROR iRex Developer's Corner 6 08-21-2007 08:33 AM


All times are GMT -4. The time now is 06:50 AM.


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