infolink

Thursday, January 26, 2012

Hacking the Kindle Fire , Rooting your Kindle Fire, getting the Google Marketplace working on the Kindle Fire.

On Christmas my mother in law bought my 13 year old son the Amazon Kindle Fire. After he went to sleep, the only time I could get to use it, I decided to play around. I have not had any experience with the Kindle product line or the Android operating system.

At first glance the Kindle Fire is a pretty sharp looking device, but I wasn't all that impressed with the Amazon layout so I decided to look around to see if I could blast it away. It turns out, you can, you can even install the Google marketplace, replace the loader and the web browser, and here is what you need to do:

Hardware needed:
  • a Kindle Fire
  • a USB cord
  • A Windows7 Based PC( for MAC support, go away or go get a real PC...) You can use any current Windows version, I am using Windows 7 for this tutorial.
Software needed (At this time, do not install anything, just put all this in a folder):

Instructions:

To Root Your Kindle Fire
  1. Install the Java SE Development Kit.
  2. Install the Andriod SDK.
Now once the Andriod SDK is installed, Plug in your Kindle fire and open up the SDK manager. 

Check the following:
  • Andriod SDK Tools.
  • Andriod SDK Platform-Tools.
  • Then at the bottom, check Google USB Driver Package.
  • Click install.
Now it should install the USB driver for the ADB which will allow you to communicate using the Andriod Debug Bridge.

UPDATE 2/6/2012 - In Regards to The Kindle Fire 6.2.2 Update and some not being able to use ADB over USB

Some are complaining that since the Kindle Fire 6.2.2 update they are not able to use ADB over USB after the update. here is a newer driver for the Kindle Fire's USB and instructions if you are having issues using the default UBS driver:

http://forum.xda-developers.com/showthread.php?t=1483177

http://www.jayceooi.com/2011/12/13/how-to-install-kindle-fire-adb-usb-driver/
Once the USB drivers are installed, unplug your Kindle from the PC and click start and type this: %SYSTEMDRIVE%\Users\%USERNAME%\.android

Open the file by right clicking and click on EDIT.

Add the following to the document: 0x1949.

Save the file.

      3. Now take BurritoRoot3, Root Explorer, Google Apps(Extracted), and the Google Vending app and copy them to the following folder: C:\Program Files (x86)\Android\android-sdk\platform-tools. If you changed the default install location, goto wherever you installed it.

      4. While holding the SHIFT key, right click and choose "Open Command Window Here".

      5. On the Kindle, go into Device Settings and turn on Allow Installation of Applications.

      6. Plug in your kindle to the PC and type in the following commands:

adb shell chmod 777 /data/local/tmp
adb install BurritoRoot3.apk 

Open BurritoRoot on the Kindle and then on the PC type:
adb shell /data/local/tmp/BurritoRoot3.bin --root
adb shell /data/local/tmp/BurritoRoot3.bin --install

Restart you Kindle Fire.

You are now rooted.

     7. Now let's install RootExplorer, type the following:
adb install RootExplorer.apk

     8. Take the Google files and copy them using Windows Explorer to the folder Documents on your Kindle Fire. Now unplug your Kindle Fire.

     9. On the Kindle Fire open up Root Explorer. Navigate to the Documents folder(in the SDCard folder under root). Now click on the GoogleServicesFramework.apk and select install.

   10. Now go back to the Documents folder and install Vendor.apk. Setup your Google account. Then find the app called Go Launcher EX and install it. You have to install this as the Kindle launcher ignores the Google Marketplace.

  11. BACKUP - Now reboot your Kindle Fire. When starting it, keep tapping the power button until recovery comes up. Select backup and restore, then backup, then yes. Once it is complete, connect the Kindle Fire back to the PC and restart. Once rebooted, from the PC go into the folder of the Kindle fire called clockworkmod, under SD card, which is the root when connecting the Kindle Fire. Copy this folder to your PC, so you have a good backup.

You now have a rooted Kindle Fire with the Google Marketplace.

TIPS:

Search the marketplace for the app called OTA Rootkeeper. This will allow you to protect root from updates and turn root off if you want to use Amazon video.

Now that you have the marketplace, install Firefox, it is a much better web browser than silk.

If you want to re-partition the internal storage, you can use https://github.com/eldarerathis/FireParted/downloads, but be careful.

Here are some useful links:

If you brick:

http://forum.xda-developers.com/showthread.php?t=1414832
http://forum.xda-developers.com/showthread.php?t=1356257

Kindle Fire XDA forums:

http://forum.xda-developers.com/forumdisplay.php?f=1306

BurritoRoot3:
http://forum.xda-developers.com/showthread.php?t=1410223

Running Ice Cream Sandwich (Andriod 4.X) on your Kindle Fire:
http://forum.xda-developers.com/showthread.php?t=1411895

CM7 on your Kindle Fire:
http://forum.xda-developers.com/showthread.php?t=1390773





















     


Buy Me a Beer

Please Donate To Bitcoin Address: [[address]]

Donation of [[value]] BTC Received. Thank You.
[[error]]

Monday, January 16, 2012

How to solve Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list in IIS

Fresh install of the OS and Visual Studio and I am trying to run a .Net 4.0 Application. I was able to deploy through Visual Studio 2010 using IIS, but when I went to run I would get the error:

HTTP Error 500.21 - Internal Server Error

Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list

Detailed Error Information
ModuleIIS Web Core
NotificationExecuteRequestHandler
HandlerPageHandlerFactory-Integrated
Error Code0x8007000d
Requested URLhttp://localhost:80/app/default.aspx
Physical PathC:\inetpub\wwwroot\app\default.aspx
Logon MethodAnonymous
Logon UserAnonymous
Most likely causes:
  • Managed handler is used; however, ASP.NET is not installed or is not installed completely.
  • There is a typographical error in the configuration for the handler module list.
Things you can try:
  • Install ASP.NET if you are using managed handler.
  • Ensure that the handler module's name is specified correctly. Module names are case-sensitive and use the format modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule".
Links and More Information IIS core does not recognize the module. View more information »



So on a hunch and dealing so much with IIS and ASP.net issues, I decided to reinstall ASP.Net using the command line. Run the command line as admin and type the following:

%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i

This will reinstall ASP.NET. This should solve your error as it fixed mine

Friday, January 13, 2012

How to solve the error JScript runtime error: 'kendo' is undefined while using KendoUI in Visual Studio 2010 SP1

I have been playing a lot with the KendoUI . Recently I implemented the KendoUI framework in a Visual Studio 2010 project. When I did, it ran fine, but I noticed that I had not installed Visual Studio 2010 SP1(fresh OS install). So after I installed Sp1 for Visual Studio 2010 I started getting this error" Microsoft JScript runtime error: 'kendo' is undefined " I couldn't figure out why this was happening. So, I went and installed fiddler web debugger, thinking maybe it wasn't getting the js files. For you to debug in Fiddler using 'localhost' you have to add a period before the port. When I did this, I no longer received the JScript error. So basically my start page when running the project locally is:

http://localhost:51892/

Change the start URL to using the built in web server, this doesn't work with iis:

http://localhost.:51892/ <<< Notice the period before the colon.

Wednesday, January 11, 2012

The Kendo UI Framework Installation and Setup Part 3 of 3 - OpenSource License




Image from kendoui.com


Part 3 - The Kendo UI Framework OpenSource License Version 


The Download

Each version can be downloaded here: http://www.kendoui.com/get-kendo-ui.aspx
Before you can download the open source version you must accept the GPL http://www.opensource.org/licenses/GPL-3.0

You can use your Telerik account or create an account to download Kendo UI.




The Files and Folders

The main download file is called kendoui.web-dataviz.2011.3.1129.open-source, it's size is 3.7MB zipped, 9MB decompressed.

Inside the zip file you will find 4 folders and 2 files.

The Folders

  • Examples - This folder contains all the Kendo UI Framework examples for Kendo UI Web and Kendo UI Dataviz. This folder contains 3 folders and 1 file:
    • Dataviz
    • Shared
    • Web
    • Index.html
          The examples are loaded in your default web browser, I recommend IE. Chrome and Firefox have      issues with at least one of the samples running locally using file://. In IE you just have to accept the Active X warning each time you reopen your browser. You can get around any annoying prompts if you have IIS installed, just point a site/Virtual directory to the examples directory. You may get an intranet enabling warning, but once accepted in IE, it will never happen again. IIS does not fix the Chome and Firefox issues with at least one of the examples.

Note: Using the Windows built in zip you cannot run the examples directly from the zip file, you must extract the zip first. I use WinRAR - http://rarsoft.com/ , which will auto extract everything needed for a file to run when clicked on. I recommend extracting the whole archive to a folder.


  • JS - This folder contains all JavaScript for the Kendo UI Framework.
  • Source - This contains all js source and styles.
  • Styles - This folder contains all styles used by the Kendo UI Framework.
The Files

The License - Kendo UI OpenSourceVersion

The Kendo UI OpenSource license :
  • Full source code
  • No Support, except using forums
  • Access to Major updates

The Configuration and Implementation

Note: You can install Kendo UI in pretty much any project that is web based, I prefer the .NET Framework, so that is what I am using for this setup.

It is as simple as adding these four lines to your headers:

<link href="styles/kendo.common.min.css" rel="stylesheet" type="text/css" />
<link href="styles/kendo.default.min.css" rel="stylesheet" type="text/css" />
 <script src="js/jquery.min.js" type="text/javascript"></script>
 <script src="js/kendo.all.min.js" type="text/javascript"></script>

You can also use the CDN which will only have Kendo UI major releases:


<link href="http://cdn.kendostatic.com/2011.3.1129/styles/kendo.common.min.css" rel="stylesheet"/>
<link href="http://cdn.kendostatic.com/2011.3.1129/styles/kendo.default.min.css" rel="stylesheet"/>
<script src="http://cdn.kendostatic.com/2011.3.1129/js/kendo.all.min.js"></script>


As you can see the Kendo UI is so simple to get up and running, I cannot imagine using any other HTML5 based UI framework and with Telerik involved, it can be nothing but the best. Stay tuned for many more posts about The Kendo UI Framework in the near future.

For more information about the Kendo UI, go here: KendoUI.com.

For more information about Telerik, go here: Telerik.com

Please Donate To Bitcoin Address: [[address]]

Donation of [[value]] BTC Received. Thank You.
[[error]]

Monday, January 9, 2012

The Kendo UI Framework Installation and Setup Part 2 of 3 - Commercial License



Image from kendoui.com


Part 2 - The Kendo UI Framework Commercial License Version 


The Download

Each version can be downloaded here: http://www.kendoui.com/get-kendo-ui.aspx
You can use your Telerik account or create an account to download Kendo UI.
For the Commercial License version you must purchase a license. The price is $399 per developer, royalty free: http://www.kendoui.com/purchase.aspx

The Kendo UI is included with the Telerik Premium and Ultimate collections: http://www.telerik.com/purchase.aspx


The Files and Folders

The main download file is called  kendoui.web-dataviz.2011.3.1129.commercial.zip, it's size is 3.71MB zipped, 9MB decompressed.

Inside the zip file you will find 4 folders and 2 files.

The Folders

  • Examples - This folder contains all the Kendo UI Framework examples for Kendo UI Web and Kendo UI Dataviz. This folder contains 3 folders and 1 file:
    • Dataviz
    • Shared
    • Web
    • Index.html
          The examples are loaded in your default web browser, I recommend IE. Chrome and Firefox have      issues with at least one of the samples running locally using file://. In IE you just have to accept the Active X warning each time you reopen your browser. You can get around any annoying prompts if you have IIS installed, just point a site/Virtual directory to the examples directory. You may get an intranet enabling warning, but once accepted in IE, it will never happen again. IIS does not fix the Chome and Firefox issues with at least one of the examples.

Note: Using the Windows built in zip you cannot run the examples directly from the zip file, you must extract the zip first. I use WinRAR - http://rarsoft.com/ , which will auto extract everything needed for a file to run when clicked on. I recommend extracting the whole archive to a folder.


  • JS - This folder contains all JavaScript for the Kendo UI Framework.
  • Source - This contains all js source and styles.
  • Styles - This folder contains all styles used by the Kendo UI Framework.
The Files

The License - Kendo UI Commercial Version

The Kendo UI Commercial license :
  • Full source code
  • Access to Build Custom Tool
  • Access to Major and Minor builds for 1 year

The Configuration and Implementation

Note: You can install Kendo UI in pretty much any project that is web based, I prefer the .NET Framework, so that is what I am using for this setup.

It is as simple as adding these four lines to your headers:

<link href="styles/kendo.common.min.css" rel="stylesheet" type="text/css" />
<link href="styles/kendo.default.min.css" rel="stylesheet" type="text/css" />
 <script src="js/jquery.min.js" type="text/javascript"></script>
 <script src="js/kendo.all.min.js" type="text/javascript"></script>

You can also use the CDN which will only have Kendo UI major releases:


<link href="http://cdn.kendostatic.com/2011.3.1129/styles/kendo.common.min.css" rel="stylesheet"/>
<link href="http://cdn.kendostatic.com/2011.3.1129/styles/kendo.default.min.css" rel="stylesheet"/>
<script src="http://cdn.kendostatic.com/2011.3.1129/js/kendo.all.min.js"></script>


As you can see the Kendo UI is so simple to get up and running, I cannot imagine using any other HTML5 based UI framework and with Telerik involved, it can be nothing but the best. Stay tuned for many more posts about The Kendo UI Framework in the near future.

For more information about the Kendo UI, go here: KendoUI.com.

For more information about Telerik, go here: Telerik.com

Amazon1