Kindle - Sideload eBooks - Windows Phone 7 Development and Hacking

As some of you might have noticed, the Amazon Kindle App is quite good.
Unfortunately you have to pay for ebooks which are usually available for free on the Internet (e.g.: Programming Windows Phone 7, sold for 22.53$ , available for free on: http://www.charlespetzold.com/phone/).
So I tried to convert it to the used prc format, et voilĂ  it's working.
So here's what you have to do:
Download http://www.mobipocket.com/en/downloadsoft/productdetailscreator.asp or any other Program, capable of converting pdf to prc.
When the conversion is done, apply the registry hack, so that your phone will show up in Windows Explorer. (http://www.mobiletechworld.com/2010/11/18/use-your-windows-phone-7-device-as-a-portable-usb-drive/) Remember to close Zune. Otherwise it won't work.
Copy the newly created *.prc file to your phone. If not already done, install TouchXplorer and go to My Documents\Zune\Content\0400\03 and cut the newly created file (It will be renamed to*.z)
Paste it to Applications\Data\48195FB4-EE0E-9264...\Data\IsolatedStore\kindle
Now rename the file so you will remember the it (e.g. programming.prc).
Start up Kindle and the newly added book should be available.
Let me know if it works for you too.

Works perfectly.... thanks!

Works fine, thanks. However, would be nice if you linked the USB hack in your post. Also, (this confused me at first) the storage doesn't show up if you use WPConnect or have Zune running.

It works fine but the book (i tried the Programming WP7 one too) isn't really readable. The text is all over the place and it's also alot larger than the other books (despite my settings being smallest font possible).
Is there a way to make it more "Phone Friendly"?

does it only support prc format?
edit: nevermind, it supports mobi too apparently

worked ... flawlessly
thanks Bro..

Instead of TouchXplorer, you can use Advanced Explorer - it supports doing this automatically. It can both copy files to your phone from the PC (without the PC registry hack) and can sideload .mobi files for you (or you can use the copy-paste functionality just like in TouchXplorer).

Advanced Explorer for mobile or pc? where i get it? is it work with samsung focus?

It's a homebrew phone app. You can find the link right here on this forum. You ned developer unlock of course, as with all these other options.
Samsung suppport is in progress, but I don't know how far along it is.

Why can't you just email the PDF to your @kindle.com account? That's the standard way of getting free books in PDF format to your Kindle, and then it's available to all your Kindle devices as well. I mean I get following this hack if you want to convert non-PDF files, but for MSWord, PDF and MOBI files it's automatic.
http://www.amazon.com/gp/help/customer/display.html/ref=hp_k2land_trans?nodeId=200505520
[EDIT] - Following the instructions from Amazon above, I see they give you a download link to the converted file. You still need to copy the file to your Kindle or Phone, so this hack is still valid. However, if you do mail to your @free.kindle.com email address, you can get it in native (.azw) format.
M

mlekas said:
Why can't you just email the PDF to your @kindle.com account?
Click to expand...
Click to collapse
is it possible to have a kindle account without owning a kindle device? because my amazon account is asking a 16-digit serial number

Related

[Q] File copy (native) fo rWP7?

Has anyone whipped up a native filecopy app that can copy files to and from a Windows Phone 7 retail device to/from any directory?
TouchXplorer for HTC phones does something like this. My Webserver will let you copy some files on/off the phone, but there are limitations.
obelix said:
Has anyone whipped up a native filecopy app that can copy files to and from a Windows Phone 7 retail device to/from any directory?
Click to expand...
Click to collapse
Without using HTCs COM DLLs, and without hacking apart the security mechanisms, I don't think this will be possible.
Unsigned COM DLLs can't get full filesystem access (I'm fairly sure you can only access the \Windows dir). Using an idea like davuxs webserver, you could in theory get any file you can get read access to onto a desktop, but that still limits you to \Windows.
Either, the entire security mechanism needs to be altered to our needs (like the way you can patch all certificate checks out of WM6.5 with an alteration to the XIP) or someone needs to "accidentally" find access to the right certificate.
It was worth a shot. With so many threads discussing progress in gaining access to the file system I wasn't clear where the security boundaries were.
I'm on a Samsung Focus (i917) which is popular in the US and while FileBrowser.exe is accessible, its very limited in functionality.
Plus I'm not sure anyone has figured out yet how to copy files between the desktop and device over USB.
Ideally at soem point there would be a way to not only explore the entire file system but also be able to copy programs to the device and be able to execute and run/install those native apps.
obelix said:
It was worth a shot. With so many threads discussing progress in gaining access to the file system I wasn't clear where the security boundaries were.
I'm on a Samsung Focus (i917) which is popular in the US and while FileBrowser.exe is accessible, its very limited in functionality.
Plus I'm not sure anyone has figured out yet how to copy files between the desktop and device over USB.
Ideally at soem point there would be a way to not only explore the entire file system but also be able to copy programs to the device and be able to execute and run/install those native apps.
Click to expand...
Click to collapse
I think (I'm digging through it now) that the MS developer tools would let us do a file transfer over USB (I've got XAP deployment, but there's a function for that, but it uses some lower level things internally).
But that doesn't give on device file system access, and is using MS frameworks entirely.

Downloading Files From The Web?

One of the key features i loved with Windows Mobile was i could manage files and download files from the web with ease. i could download pictures, mp3's, zip folders, rar folders and extract the files all on the phone without being dependent on a computer.
Now i recently had a chance to try to download a mp3 file that i uploading on a hosting site and when i clicked download the mp3 i was trying to download began playing in the browser but i could not locate it on the device. What happens when u try to download pictures, mp3s , zip and rar files on wp7? i know theres no file manager but u are able to save pictures from what ive read so why cant we save mp3s and add it to the zune library on the phone? what happens with the zip and rar files? and if u are able to download zip and rar then maybe we can get some kind of pocketrar or something
is it any chance of a limited file explorer being made that just gives u access to files downloaded from the web without giving access to the phones files and registry settings that they dont want us tampering with?
this is a huge issue along with the usb mass storage mode and multitasking that i really hope they add support for in the future
Lol, I posted the same thing a week ago. So far all I found is you can save pictures to your phone. MP3's download and start to play in Zune, but they aren't saved. Same thing for videos I tried to download. Tried to download a zipped mixtape. No Go!
i hope they address this some kind of way because i do this 90% of the time now on my touch pro 2
it will unzip standard zip files but I don't know about the rest of the compressed files.
nrfitchett4 said:
it will unzip standard zip files but I don't know about the rest of the compressed files.
Click to expand...
Click to collapse
so u saying i can download a zip folder of mp3s and that will work? where will the files go will they add to ur library
how to download file in WP7? where do those files go? WP7 does not have file explorer, do those files would go to nowhere, no way to view them.
deadwrong03 said:
so u saying i can download a zip folder of mp3s and that will work? where will the files go will they add to ur library
Click to expand...
Click to collapse
Didn't work for me. Matter of fact it said WP7 doesn't support zip files when I tried to dl a mixtape.
when install app from marketplace, where did those downloads go? are those save to phone at installation, cabs or xap. what happended to the files?
also, if I download files, music, pictures, videos, pdf, where would they go? how to download them to pc?
citrix80 said:
when install app from marketplace, where did those downloads go? are those save to phone at installation, cabs or xap. what happended to the files?
also, if I download files, music, pictures, videos, pdf, where would they go? how to download them to pc?
Click to expand...
Click to collapse
Like I said when I dl music, The Zune player opens up and plays the song. Video same thing. It opens the file just like on your computer when you select open instead of save. That's it. I was able to save pictures. They go with the other pictures on my phone. PDF go in Adobe Reader, but the must delete after you read them unless you save them(?). I get them everyday and read but I've never deleted them but they are gone.
internet exploere does have any featue to download files, even picture.
suppose it is possible to download files, where would the files go? how to find them.
citrix80 said:
internet exploere does have any featue to download files, even picture.
suppose it is possible to download files, where would the files go? how to find them.
Click to expand...
Click to collapse
If you select a picture on a webpage, you hold down on it and the save option comes up. That's all I've found. You keep asking. Everything I've tried doesn't download. IE buffers it then plays it. Like Netflix does! You watch a movie but it's not on your phone or computer.
Yea that was a killer for me that's why I use my mytouch 4g now and because the brower is so slow
Sent from my HTC Glacier using XDA App
played with this further. After downloading zip of 2 songs, it did unzip them and allowed them to be played, but it would not save them to the phone as far as I could tell.
I just tried a pdf, it downloade and open in adobe reader, but it is never saved to phone.
this is a big problem for WP7. cannot load files to phone except music and videos.
how to take out the files in word and one note mobile? i save some files and could not take them out.
As for pdfs and pictures its not true.
Those two can be saved and opened in the pictures hub and the adobe pdf app.
I don't think its a huge problem but I would also like it to be "fixed". Maybe Microsoft want to prevent that users are buying music at amazon or other stores than zune?
Edit: And for getting office stuff or pdfs out of the phone: you can email it to you... (not the best solution i know)
001mic said:
As for pdfs and pictures its not true.
Those two can be saved and opened in the pictures hub and the adobe pdf app.
I don't think its a huge problem but I would also like it to be "fixed". Maybe Microsoft want to prevent that users are buying music at amazon or other stores than zune?
Edit: And for getting office stuff or pdfs out of the phone: you can email it to you... (not the best solution i know)
Click to expand...
Click to collapse
is it impossible to make a file explorer app for the marketplace that only gives u access to storage space on the memory card and not to the phones file system? that way you can manage files through the alotted space on the memory card adding songs to zune and pdf files zip folders and other kinds of files? that way saving files would be no problem and ur not screwing with the phones file system would microsoft go for a app like this?
pdf save in picture hub? i dont see it anywhere. you cant even email it to yourself if you cant find the file.
it is not saved it the file system. I tried to put the phone into usb mode, just see what files in pictures, and music folder. pdf is not there.
Guys,
Pdf is AUTOMATICALLY saved to the phone once opened from email or website.
You just need AdobeReader and files can be browsed and deleted from the app.

Text Editor

is there a text editor built into the phone somewhere? It would be real nice to be able to read files while in the phone itself , or do you have to be tied to the pc?
You have word in the office hub. You may create new files but syncing with pc is not supported as far as I know. You have to send files from your pc to your phone via email.
Advanced Explorer and TouchXplorer both offer full filesystem access and the ability to open any file for reading/editing in Word (although some files will be write-protected). This generally works fine for plain-text files.

Copy Kodi configuration between FTV sticks?

Can anyone tell me an easy way of copying my Kodi setup between several FTV sticks? I have one setup up with all repos and addons to my liking and want to copy this to a few others that family have bought. I don't want to have to manually add repos and addons for each individual device. I have installed Kodi backup application and backed my own up to the device under /storage/emulated/0/download (from memory may not be correct). Can i use ADB pull to my PC and then push this onto the other FTVs? I haven't much experience of ADB other that installing apps with it. Or if anyone has any easier ways or suggestions i'd be grateful.
Thanks.
/storage/emulated/0/ = /sdcard/
Its just easier to type in /sdcard/ each time, instead of the full filepath.
-
Yes - its entirely possible, in fact its the way I also like to handle backing up and duplicating a Kodi installation.
All you need to do is
adb pull /sdcard/Android/data/org.xbmc.kodi/files/.kodi/ /PATH OF YOUR FOLDER ON THE LOCAL COMPUTER/
then adb push the same folder to another Fire TV (Stick), after you've installed Kodi there (adb install /PATH TO THE APK ON YOUR COMPUTER.apk) and started it once, then exited it - then:
adb push /PATH OF YOUR FOLDER ON THE LOCAL COMPUTER/ /sdcard/Android/data/org.xbmc.kodi/files/.kodi/
Thats it. .kodi is a hidden folder on the device (thats what the . stands for), thats about all.
---------- Post added at 05:24 PM ---------- Previous post was at 05:17 PM ----------
An easy way to browse the Fire TV (Stick) over ADB on Windows is
Total Commander with the ADB filesystem addon: http://totalcmd.net/plugring/android_adb.html
If you use adbfire just hit backup(put the backup where you can find it again) and when it's done connect adbfire to the new fire stick and click restore and navigate to where you saved the backup, pretty simple
Yes and you have not even learn anything about Android file structure, because navigating through folders hurts peoples brains. Instead you'll learn how to push several buttons and put numbers into fields. You know, like in your dayjob (*sarc*). Thats fun.
Also - during the pull operation adb Fire performs, you'll see a nice infinite loop of a fake progression bar - while if you'd be using the real adb you'll see the files actually copying over. Fake progression bar gifs are much more pleasent to look at. They give you a sense of excitement - in not knowing if something is happening, or not.
I say - make everything a person knows as abstract as possible. As far removed from the real thing as it can be. It causes less thoughts. And therefore - less problems in the long run...
I hate this dependency on ADB Fire appraoch. Did so from the very beginning. The program is harshly laid out, end prevents people from gaining any below surface knowledge - its just recommended so much, because people have a hard time typing. I'm not against good GUI's in fact, I prefer them in almost all cases - but ADB Fire and its rivals are just a buttondump fest to prevent real learning.
When replicating an entire FIre TV (Stick) plain adb actually turns out to be faster, and more forward with the information it gives back to you. Because adb install *dragdroptheapk* turns out to be faster than installing apks through ADB fire. But then again - buttons are so likeable.
--
Also - before using adbFire or adb to do a backup - you could use texturecache.py ( http://forum.kodi.tv/showthread.php?tid=158373 ) to prune ( P ) your Kodi installation, which would delete unnecessary thumbnails that have accumulated in Kodis cache over the time. This will reduce the time the backup takes, as less files are copied over.
Thanks guys. I've never had any luck with the adb tool. It wouldn't ever work for me. Adb push/pull seems straight forward enough I'll try it out.
What I do all the time with all my android devices including Fire TV is use 'ES FILE EXPLORER' to copy the folder 'org.xbmc.kodi' from original device (location: Android/data) onto a shared folder on my network and then copy it from there (using the same ES file explorer on the other devices) back again onto the same location of the receiving device. Works perfectly every time.
Quick question, how is this any different from the "Backup" addon that is used on Kodi? What I usually do is load everything like normal, then when I have my setup just how I want, I go to the "backup" addon, backup all of my info, and then copy it to a flash drive. Once copied, I install Kodi on other Fire TV's and then copy over the backup onto them, load the addon, and click "restore". And boom bada bing, I have everything just like my original Fire TV. EXCEPT, for a few things like skin settings, like widgets, and RSS feeds, and subtitle options.
The easiest way to do it is to copy the addons folder and your user data folder to you PC using ES Fle Explorer. install any varient of XBMC/Kodi on the other Fire TV sticks and open XBMC/Kodi one time so that it sets up the data folder contained inside Android/data. So this is basically all you need to do
1)Install XBMC/Kodi on all your devices and open one time.
2)Install Filezilla on your PC and ES File Explorer on all of your devices.
3)Open ES File Explorer on the device that already has Kodi setup, and go to the Network tab and click on remote manager and turn it on
4)Now type in the IP address and port into Filezilla that it shows on ES File Explorer and navigate to Android/data and find the data folder for your version of Kodi.
5)Once there simply copy over the addons folder and the userdata folder to yor PC.
6)Once those two folders are copied to your PC, simply go to each of the other devices and connect to ES File Explorer and overwrite the addons and userdata folders with the ones you just downloaded to your PC and restart Kodi on each device.
When you turn on the remote manager in ES file Explorer it will give you an address like this ftp://192.168.0.105:3721, the numbers 192.168.0.105 will be the address you type into Filezilla and the port will be 3721. I am sure your IP will be different so use the numbers that ES File Explorer shows and not the ones I used as an example. Also, when you go into the remote manager in ES File Explorer it will say settings at the bottom, if you click on that it will say set root directory, that means that when you connect with Filezilla that the directory you set will be the directory that it shown first from your Fire TV. So if its set to SDCARD, when you connect to filezilla you would just navigate to wherever you need to go just like you would inside ES File Explorer if you were in the SDCARD directory.
Just a reminder if you are logged into Youtube or any other addon, when you copy your Kodi setup to another device it will be logged in on that device as well. So if you do not want people doing things on your account you will need to log out before or after copying to other devices.
Download adbfire and do a Backup. Then connect the others Fire TVs and do a Restore with adbfire. That Backup folder that gets created can be used to copy everything to as many fire TVs.
How do I jailbreak my fire stick? I just purchased it today.
What have I done wrong, connect to device press backup and get an error ' media center not installed'
speed ?
How fast does everyone get with this method ? I got only 5-6 Mbit/s when doing restore or backup .
How to Prune
I am looking into copying all the kodi addons and such from one firestick to another. How would i go about using the texturecache.py that you suggested.
You have to first install Kodi in the new Fire Stick before restoring the backup
hey i have been trying this today but when i try to restore the backup to another stick it just says wrong backup folder type or something??
D33H said:
Thanks guys. I've never had any luck with the adb tool. It wouldn't ever work for me. Adb push/pull seems straight forward enough I'll try it out.
Click to expand...
Click to collapse
make sure your computer is wifi and connected to same wi-fi as your stick, I find usb connection to be a bit 'iffy'
n0ka25 said:
hey i have been trying this today but when i try to restore the backup to another stick it just says wrong backup folder type or something??
Click to expand...
Click to collapse
latinotter2 said:
You have to first install Kodi in the new Fire Stick before restoring the backup
Click to expand...
Click to collapse
Farva603 said:
I am looking into copying all the kodi addons and such from one firestick to another. How would i go about using the texturecache.py that you suggested.
Click to expand...
Click to collapse
richiec427 said:
make sure your computer is wifi and connected to same wi-fi as your stick, I find usb connection to be a bit 'iffy'
Click to expand...
Click to collapse
Heres another method -
Add the source Xfinity if you haven't already & install there repo (if you dont know how to add a source in kodi google it), install the Usb/Sd card backup add on inaddon, configure the backup location of your choice (aftv backup or name it what ever you wanna call it), then start the add on & select backup of your choice (full = is everything, addons = just the addons), wait, once finished put your backup on the new device then add source Xfinity on the new device, configure location Again, open add on & select restore, sometimes it hangs a while but works good, if using a different skin once you restored It change to the skin you were using, then restore again (sometimes it don't all stick first go), any backgrounds need to be loaded on if the location of the pics are on the root of the device? & note if it hangs on a 100% completion just force close using the select circle button & play/pause buttons held down for about 6seconds. Enjoy your new backup copy on your other device.
If this helped press that like button
deanr1977 said:
Heres another method -
Add the source Xfinity if you haven't already & install there repo (if you dont know how to add a source in kodi google it), install the Usb/Sd card backup add on inaddon, configure the backup location of your choice (aftv backup or name it what ever you wanna call it), then start the add on & select backup of your choice (full = is everything, addons = just the addons), wait, once finished put your backup on the new device then add source Xfinity on the new device, configure location Again, open add on & select restore, sometimes it hangs a while but works good, if using a different skin once you restored It change to the skin you were using, then restore again (sometimes it don't all stick first go), any backgrounds need to be loaded on if the location of the pics are on the root of the device? & note if it hangs on a 100% completion just force close using the select circle button & play/pause buttons held down for about 6seconds. Enjoy your new backup copy on your other device.
If this helped press that like button
Click to expand...
Click to collapse
Has the address for xfinity.xunitytalk.com changed? Hasn't worked for me for at least a week.
zaspears said:
Has the address for xfinity.xunitytalk.com changed? Hasn't worked for me for at least a week.
Click to expand...
Click to collapse
yes mate heres the new source -
http://xunitytalk.me/xfinity
Press that thanks button if this helps
solorzano_felipe said:
Download adbfire and do a Backup. Then connect the others Fire TVs and do a Restore with adbfire. That Backup folder that gets created can be used to copy everything to as many fire TVs.
Click to expand...
Click to collapse
When doing back up via adb fire ,dies it save the back up to my laptop and if so where ,I get kodi back up device data location and thumbnail location
Thanks for any help
---------- Post added at 10:48 AM ---------- Previous post was at 10:21 AM ----------
Also how long does a back up take and do you get a message when complete,mine been running about 25 mins now ?

Apk loader that can load multiple apks at once.

Hey guys I've been using adbfire pretty much exclusively since it came out but was just wondering if there is any apk loader program that lets you load multiple apks at once. My apk library is getting pretty big (about 30 or so) and I'm starting to get tired of loading them one by one when i'm setting up a unit does anything like this exist?
Really i'm the only person this lazy?
ES File Explorer. I keep everything I want for Android boxes and FireTVs in folders in Dropbox and ES is connected to my Dropbox account: I can select multiple items, download them all at once, then select just the apks and open them, ES will install them one by one (but you will need to give it permissions for every app).
Terry T said:
ES File Explorer. I keep everything I want for Android boxes and FireTVs in folders in Dropbox and ES is connected to my Dropbox account: I can select multiple items, download them all at once, then select just the apks and open them, ES will install them one by one (but you will need to give it permissions for every app).
Click to expand...
Click to collapse
You sir are a friend. I'm gonna try this tomorrow I just ordered like 4 boxes for some fam. I also know that there is a way to access a folder on you pc with es file explorer have you tried that method or is Dropbox fastest?
I've done it both ways, in my setup there was no big difference in the speed: with Dropbox I'm limited by the combination of my FireTV wireless and my internet, direct from my PC I'm limited by the combination of my FireTV wireless and my PC wireless. If both the FireTV and the PC are wired, I expect direct from your PC to be faster than using Dropbox.
After thinking about it a little more, probably the simplest, fastest thing you can do is put everything on a flash drive and plug it into the USB port on the FireTV, then you don't even need to copy the files to the FireTV.
- Format the flashdrive to FAT32 first (required for the FireTV)
- Copy your library of apps to it, and plug it into the FireTV
- Open ES and go to Local/extUSB
- Long press one apk, in a couple of seconds it will show a checkmark
- Select all the other apks you want to install
- Go to the bottom right and click on More
- Select open
Then you will have to sit and tell it to install and give permissions to each app, one by one. I tried it with Dolphin browser, worked fine.
Terry T said:
I've done it both ways, in my setup there was no big difference in the speed: with Dropbox I'm limited by the combination of my FireTV wireless and my internet, direct from my PC I'm limited by the combination of my FireTV wireless and my PC wireless. If both the FireTV and the PC are wired, I expect direct from your PC to be faster than using Dropbox.
After thinking about it a little more, probably the simplest, fastest thing you can do is put everything on a flash drive and plug it into the USB port on the FireTV, then you don't even need to copy the files to the FireTV.
- Format the flashdrive to FAT32 first (required for the FireTV)
- Copy your library of apps to it, and plug it into the FireTV
- Open ES and go to Local/extUSB
- Long press one apk, in a couple of seconds it will show a checkmark
- Select all the other apks you want to install
- Go to the bottom right and click on More
- Select open
Then you will have to sit and tell it to install and give permissions to each app, one by one. I tried it with Dolphin browser, worked fine.
Click to expand...
Click to collapse
Doesn't es file explorer let you install the apks without transfering them?
Yes, that's what I did from the flashdrive. Over wireless, I go ahead and copy the files to the FireTV before installing just because I'm a little paranoid about an error in the transfer causing a problem.
Terry T said:
Yes, that's what I did from the flashdrive. Over wireless, I go ahead and copy the files to the FireTV before installing just because I'm a little paranoid about an error in the transfer causing a problem.
Click to expand...
Click to collapse
I just tried it out on the box it works great thanks for the tip so much easier. It actually did crash when I selected install without transferring files first but I think it was because I was installing another apk over web at the same time lol. Anyway when it restarted it just picked up where it left off and asked if I wanted to overwrite some files.
Sent from my iPad using Tapatalk

Categories

Resources