Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-19-2011, 04:24 AM   #1
supakdee
Member
supakdee began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Mar 2011
Device: Kobo Aura HD
Question Kindle 2 - Is it possible to make the Full Screen Mode default?

Hi,
I would like my Kindle to use Full Screen Mode as default (instead of press "F" every single time open any documents).
I search through the posts already but could not find the way.
Any one know which parameter might do? I can also use USBnetwork to change it.
My Kindle is K2i ver.2.5.8
Thanks.
supakdee is offline   Reply With Quote
Old 06-19-2011, 08:26 AM   #2
supakdee
Member
supakdee began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Mar 2011
Device: Kobo Aura HD
Question Full Screen Mode & Anchor to Top Right

Quote:
Originally Posted by supakdee View Post
Hi,
I would like my Kindle to use Full Screen Mode as default (instead of press "F" every single time open any documents).
I search through the posts already but could not find the way.
Any one know which parameter might do? I can also use USBnetwork to change it.
My Kindle is K2i ver.2.5.8
Thanks.
One more - Anchor to Top Right - I always read Japanese Manga - If can put Anchor to Top Right as default, it'll be perfect.

supakdee is offline   Reply With Quote
Advert
Old 06-22-2011, 03:02 PM   #3
proDOOMman
Enthusiast
proDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheese
 
proDOOMman's Avatar
 
Posts: 32
Karma: 1178
Join Date: Apr 2011
Device: Kindle 3
It is possible, but not easy.
If you send me file /opt/amazon/ebook/booklet/PictureViewer.jar from your kindle I can make changes in it for enabling fullscreen by default. I already did it for my Kindle 3 device
proDOOMman is offline   Reply With Quote
Old 06-23-2011, 06:25 AM   #4
supakdee
Member
supakdee began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Mar 2011
Device: Kobo Aura HD
Wink

Quote:
Originally Posted by proDOOMman View Post
It is possible, but not easy.
If you send me file /opt/amazon/ebook/booklet/PictureViewer.jar from your kindle I can make changes in it for enabling fullscreen by default. I already did it for my Kindle 3 device
Hi proDOOMman,

Thanks a lot.

I attach the file with this email.

I'm looking forward to seeing your reply.
Attached Files
File Type: zip PictureViewer.zip (45.8 KB, 344 views)
supakdee is offline   Reply With Quote
Old 06-23-2011, 06:52 AM   #5
proDOOMman
Enthusiast
proDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheese
 
proDOOMman's Avatar
 
Posts: 32
Karma: 1178
Join Date: Apr 2011
Device: Kindle 3
Try this hack: https://github.com/downloads/proDOOM...screen-0.1.rar
It hack contains patched PictureViewer.jar and init script
After installation you need to reboot device manually!
Don't forget to patch whitelist
proDOOMman is offline   Reply With Quote
Advert
Old 06-23-2011, 10:53 AM   #6
proDOOMman
Enthusiast
proDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheese
 
proDOOMman's Avatar
 
Posts: 32
Karma: 1178
Join Date: Apr 2011
Device: Kindle 3
Also I wrote universal version for any Kindle device: https://github.com/downloads/proDOOM...n-hack-0.2.rar
proDOOMman is offline   Reply With Quote
Old 06-23-2011, 04:15 PM   #7
Bonex
Connoisseur
Bonex began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Oct 2010
Device: KDXG, Kobo Glo, Kobo Aura HD
Hi there!
I tried to install your 0.2 update. My Kindle said the update was succesfull, but nothing changed. In fact the log file says:
Code:
ota_install: I def:update::patching PictureViewer jar
java.lang.UnsupportedClassVersionError: pictureviewerpatcher/PictureViewerPatcher (Unsupported major.minor version 50.0)
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:586)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:125)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:264)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:57)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:204)
	at java.security.AccessController.doPrivileged(AccessController.java:333)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at sun.misc.Launcher$AppClassLoader.findClass(Launcher.java:594)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:331)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:410)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:273)
	at sun.misc.CVM.runMain(CVM.java:490)
ota_install: I def:update::init scripts and standalone files
ota_install: I def:update::done
My KDXG is on 2.5.5 firmware, do I need to update it to 2.5.8 before I can install your patched viewer?
EDIT: installed 2.5.8, but the log file is the same.
Or could it be because I didn't update the whitelist? I can't find that file in my Kindle.

Last edited by Bonex; 06-23-2011 at 05:27 PM.
Bonex is offline   Reply With Quote
Old 06-24-2011, 04:09 AM   #8
proDOOMman
Enthusiast
proDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheese
 
proDOOMman's Avatar
 
Posts: 32
Karma: 1178
Join Date: Apr 2011
Device: Kindle 3
Java on KDXG so old
I made fixes and upload new version: https://github.com/downloads/proDOOM...n-hack-0.3.rar
Try it
proDOOMman is offline   Reply With Quote
Old 06-24-2011, 07:21 AM   #9
supakdee
Member
supakdee began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Mar 2011
Device: Kobo Aura HD
Smile Re - Full Screen Mode & Anchor to Top Right

Quote:
Originally Posted by proDOOMman View Post
Try this hack: https://github.com/downloads/proDOOM...screen-0.1.rar
It hack contains patched PictureViewer.jar and init script
After installation you need to reboot device manually!
Don't forget to patch whitelist
Hi proDOOMman,

I installed it - automatically restart then restart one more time.

It works perfect.

Thanks a lot

supakdee is offline   Reply With Quote
Old 06-24-2011, 08:56 AM   #10
Bonex
Connoisseur
Bonex began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Oct 2010
Device: KDXG, Kobo Glo, Kobo Aura HD
It works!!
Thank you so much!
Bonex is offline   Reply With Quote
Old 06-25-2011, 03:20 PM   #11
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
Quote:
Originally Posted by proDOOMman View Post
Java on KDXG so old
I made fixes and upload new version: https://github.com/downloads/proDOOM...n-hack-0.3.rar
Try it
Universal patch, nice.

Just by curiosity I wanted to see how you did this so I retrieved your source:
Spoiler:
1- extracted the .tgz from your .bin install
2- unzipped the .tgz to get the .tar archive
3- extracted the .tar archive and got the PictureViewer java archive
4- extracted the .jar and got the PictureViewer.class
5- decompiled the .class to finaly get the PictureViewer source text file


But I am no more advanced I am looking at your "package pictureviewerpatcher" and I totaly don't understand where/how you patch that full screen option.

If at all possible, would you care explaining the source a little -- in java noob terms?

Thanks
PoP is offline   Reply With Quote
Old 06-25-2011, 04:43 PM   #12
proDOOMman
Enthusiast
proDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheeseproDOOMman can extract oil from cheese
 
proDOOMman's Avatar
 
Posts: 32
Karma: 1178
Join Date: Apr 2011
Device: Kindle 3
This patch just makes some simple manipulations with java bytecode using javassist library. Procedure "processJar" unpacks PictureViewer.jar, finds "g.class" file, sends it to "ProcessClass" procedure and pack jar again. "ProcessClass" adds to end of method "g.stop" call of function "m()" (this function triggers fullscreen mode) and adds to method "g.stop" disabling of fullscreen flag - variable "D".
proDOOMman is offline   Reply With Quote
Old 06-25-2011, 08:48 PM   #13
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
Much appreciated proDOOMman. Thanks again.
PoP is offline   Reply With Quote
Old 07-15-2011, 07:23 PM   #14
khromov
Connoisseur
khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.
 
Posts: 83
Karma: 499304
Join Date: Jul 2011
Device: Kindle
Just tried this out on a Kindle 3 Wifi v3.1 and it works great! Thank you!
khromov is offline   Reply With Quote
Old 08-25-2011, 02:50 PM   #15
Neo_Zell
Junior Member
Neo_Zell began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2011
Device: kindle2
Quote:
Originally Posted by proDOOMman View Post
Java on KDXG so old
I made fixes and upload new version: https://github.com/downloads/proDOOM...n-hack-0.3.rar
Try it
HI, i.m noob, the only thing that i do is put this file on the root directory and update or the kindle must be with jailbreak?
Sorry for my english, i´m spanish.
Neo_Zell is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Full screen native kindle terminal Xqtftqx Kindle Developer's Corner 46 09-12-2023 05:15 PM
Sleep mode or full power off (Kindle 3)? JoshLessard Amazon Kindle 8 12-11-2010 10:19 AM
Android Can someone make the SlideMe store app full screen? brauckmiller enTourage Archive 10 04-29-2010 08:30 PM
Full-Screen Panning Picture bug on Kindle 2 forkyfork Amazon Kindle 5 05-21-2009 04:27 PM
Mobipocket full screen mode problem Team7 Reading and Management 4 03-02-2009 02:13 PM


All times are GMT -4. The time now is 10:41 PM.


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