Just recieved my touchpad

updates coming soon

edit:9/1
Porting my search over to bing because they have unlimited use api(look for updates today/tomorrow). 
Just finished, updated source code at github
Also looking to build a preware app, looks like its possible to write python scripts, but still in the early stages of the linux toolchain(aka, I have no idea what i'm doing)

POSTED BY hax
POSTED IN
DISCUSSION 2 Comments

Python Script

So I spent all day making a python program.  However, it uses google for the search, and the apis only let you search 100 times a day, so I'm not sure how well it will work, unless I'm missing something.  Anyway this is what it does.

Finds all .mobi converted books in a folder called 'ready,' and finds the exact name so no worrying about what it is called or anything.

Searches google for the amazon page of the book, because the Amazon search is kind of weird.  Then it collects that link for later on a webpage called readlinglist.html

Finds the asin number, copies it to a new folder called 'copytokindle' and renames the book properly for later use.

Then it opens the readinglist webpage and tells you to click and download the demo of each book.  Make sure you do this step and properly sync before copying because the kindle software will overwrite the custom books.

Finally, copy the newly renamed books to /.palmkindle on your touchpad
I successfully did this to about 30 before "code": 403, "message": "Daily Limit Exceeded" } started showing up, without any errors, so...
http://pastebin.com/e0UcULhy 




POSTED BY hax
POSTED IN
DISCUSSION 2 Comments

Update

Just sold my touchpad, blog on hold....

...until my 32gb ships from hp!

POSTED BY hax
POSTED IN
DISCUSSION 0 Comments

(the) Workaround (is) working!

Thanks to comment poster "Smokescreen" for this tip:
You can download a sample of nearly all books from amazon directly (btw, anybody know any that dont have a sample?)
Now, just do some renaming , and boo ya, no more weird names and stuff like that.

Also, you can remove the sample banner (or replace it with haxed or something stupid) by using xterm and entering the following two commands
rm /media/cryptofs/apps/usr/palm/applications/com.palm.app.kindle/images/item-sample-banner.png
rm /media/cryptofs/apps/usr/palm/applications/com.palm.app.kindle/images/item-sample-banner-small.png

Currently working on a python script to rename the files automatically.

edit:pngs

POSTED BY hax
POSTED IN
DISCUSSION 1 Comment

AH YEAH!

So i found the database files:
/var/db/main/objects.db and
/var/db/main/indexes.db

then I did a search (in a text editor) for the books that I had downloaded, and found >100 instances of the book.  Oh god.  However, when searching for the book without underscores (ex: Hurricanes In Paradise instead of Hurricanes_In_paradise) there were only 3.  Sounds good.  So find&replace, transfer back to the touchpad, and success! or so I was thinking.  Then an error comes up and tells me to restart.  Oh nose!  So I restart, and it seems to be taking forever, and when it boots up it greets me with the initial setup screen


POSTED BY hax
POSTED IN
DISCUSSION 2 Comments

The ????

So this method works fine but I want the names to be the right one.  So, where do we go from here?  Well in /.palmkindle there is no database of what the names are so we will have to go deeper.  Fire up ssh! You have ssh right working right?  If you don't you will need to follow this guide.

Then we have to find where the hell this database is that tells what the kindle app should call each book.
Well, searching around the internal memory of the touchpad I eventually found
/media/cryptofs/apps/usr/palm/applications/com.palm.app.kindle  !
Looks good right?  But there is nothing in there, just the app and all the html, js, and css you could ever want.

Stuck :(

POSTED BY hax
POSTED IN
DISCUSSION 0 Comments

Hacking the Touchpads Kindle App!

So using this link I found on the precentral forums, I was able to replace the amazon book with a .mobi book and it works fine, however the name of the book is still listed as the one you changed it from.  You can also change the cover art and make it obvious what book you are trying to read.


http://joesacher.com/webos/loading-mobi-books-into-touchpads-kindle-app/

tl:dr
step 1: Download a random free book from amazon.
step 2: Use touchpad in usbmode to transfer the book, and rename it exactly as the real kindle book usb:/.palmkindle/[asin]
step 4: ????
step 3: profit

POSTED BY hax
POSTED IN
DISCUSSION 0 Comments
kevin wulff. Powered by Blogger.