180 likes | 196 Views
Learn how to root a Kindle Fire, install Ubuntu Touch, setup a DHCP server, and tackle some server issues in this comprehensive step-by-step guide.
E N D
The Marriage of a Kindle Fire and Ubuntu Touch !With some server stuff too!
What we are going to accomplish: • Root a kindle fire. • Install Ubuntu Touch on kindle fire. • Install a DHCP Server! • Make them party!
Step 0: Failing at Life • I would normally walk you through this. I however cannot… • On the cold evening of December 7th, 2014. My Kindle fire failed to reload when booting the TWRP. It now no longer holds a charge, os, or heart beat. RIP Kindle…
Step 1: Rooting your Device • You need 3 things, • A Linux Computer, A Kindle Fire, and a Micro USB Cable
Step 1: Rooting your Device • Run a linux computer to connect to your device. • I did this with a laptop. • Unlock your Device • Shut down your kindle fire, then reboot into the TWRP Menu which is the Team Win Recovery Project which can be found at http://teamw.in/project/twrp2/79 • Restore your device to factory settings.
Step 1: Rooting your Device • After restoring, you are going to run TWRP again. • This is a horrible process if you skip the default. • You then need to run a ROM called Jellybean. • Which is a new Android OS. • Which can be found at: • https://play.google.com/store/apps/details?id=com.calsto.jellybean.launcher&hl=en • From TWRP run the image Jellybean. • Make sure its version 2.2.2 or above. • Once Jellybean is installed you reboot and go into it’s boot menu and select the mount command.
Step 1: Rooting your Device • Go to your Computer running Linux and connect your Micro USB cable to your Kindle. • Run the following commands in Linux: • sudo add-apt-repository ppa:phablet-team/tools • sudoapt-get update • sudoapt-get install phablet-tools android-tools-adbandroid-tools-fastboot • This command installs the kit needed to unlock your kindle. • This is where connecting your cable and having your kindle on mount usb ready. • sudofastbootoemunlock • This command is only used when EVERYTHING is ready. • You then get a prompt to accept terms on device. Sign your life away then continue.
Step 2: Installing Ubuntu Touch • Now, the fun begins. The part where you let your kindle play Russian Roulette. • It may never turn on again. • Make sure you have data backed up. • Do not risk it if you are weak. • Are you sure!? • I was. • Things sometimes die.
Step 2: Installing Ubuntu Touch • On your device now that is unlocked go to settings and find “Developer options” a new menu. • Click the USB tether command.
Step 2: Installing Ubuntu Touch • You now run the last command on your Linux computer • phablet-flash –b • This will send all of the packages that you installed and downloaded earlier to your Kindle. • This usually takes 20 minutes. • This installs a version of Ubuntu Touch. • Your device will then restart in Ubuntu • (Well most of the time, mine did not on Sunday )
Step 2: Installing Ubuntu Touch • It looks like this!!!!!
Step 3: Setting up a DHCP Server • Run the terminal command from Ubuntu Touch. • If you are not currently online yet use the WIFI options to connect to the internet. • You may have to change the options for bridged mode or auto-ethernet. I did at home. • From terminal make sure you run an ifconfig command. • Make sure the network is going and you have an IP address. • Now we install the DHCP server. • On Terminal type: sudo apt-get update • Then: sudo apt-get install dhcp3-Server • This took a long time. But you automatically get a fail, but this is normal because it is not configured yet.
Step 3: Setting up a DHCP Server • Run: cd /etc • With an ls command you go into the dhcp folder. Go there. • Find the dhcp.conf file. • Nano the dhcp.conf (You may want to back this up first.) • Find the area #a slightly different configuration for an internal subnet. • Uncomment the subnet line and change it to your network. • Mine was 192.168.2.0, the netmask was 255.255.255.0 • My range was 192.168.2.10 192.168.2.30 which allows the range of ips to be used. • Change your option router to 192.168.2.1 for the gateway. • Change the broadcast to 192.168.2.2 • Save.
Step 3: Setting up a DHCP Server • Run: sudo /etc/init.d/isc-dhcp-server restart • This will restart your dhcp, the first line will fail. That is normal. • The second line says OK, so yay! • You can also run start instead of restart but it’s a habit of mine to always restart. • Now, connect another WIFI device to this broadcast. • This is where I would get a crash. I was able to connect to the server. However, it would crash after a few minutes. • I ran a leases command to see if the MAC was listed on one of the tries, and it did. However, the crash was always there.
Step 4: Failing at Server • Points • I did get the server going. • I did connect my phone and it got the .10 address. • I lost connectivity immediately however and then the server crashed. • I tried five versions of Ubuntu Touch however the fifth was the golden bullet. • I am currently selling a Kindle Fire paperweight if anyone is interested.
Final Step: Any Questions or Ideas? • Any ?’s or ideas? • Please. • Please…