Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,261 Members 52,542 Now Online
XDA Developers Android and Mobile Development Forum

Need help to write a script to boot my kindle

Tip us?
 
lovejoy777
Old
(Last edited by lovejoy777; 17th March 2014 at 02:47 AM.)
#1  
lovejoy777's Avatar
Senior Member - OP
Thanks Meter 1615
Posts: 2,381
Join Date: Dec 2011
Location: Nottingham

 
DONATE TO ME
Default Need help to write a script to boot my kindle

Solved

Hi all.
2 years ago I was one of the unfortunate ones who got the emmc corruption,
over the past few days Hashcode has helped me to get it back to life. (massive thanks to Hash).

but with hundreds of failed attemps over the two years I mashed up the copper short pad so bad that its gone, woops. as a result I am now stuck in usbboot mode for ever. Hence I need Help.

I have no idea about writing scripts and have googled a bit and it seems way above my head, so I need Someones help who could teach me or write one for me. my kindle fire will only boot with the aid of pokey's firekit so it would be real handy to have a script to run which does the following.


open a terminal (default ubuntu 13.10)
cd into:
/home/lovejoy777/bootkindle (I have pokeys firekit script in there)
then run:
sudo ./fk (this starts up the firekit)
when loaded run:
./usbboot /root/firekit/aboot.bin /root/firekit/u-boot.bin (this starts the bootprocess)
then close the terminal (after its finished)

I plan to make a desktop shortcut to the script so i can plugin my kindle and hit the icon to boot. I don't know how hard this would be to do so go easy on me if its not possible or I'm barking up the wrong tree.

any tips, links, or help would be greatly appreciated.
cheers Steve
Gnex: Dreams 4.4 KitKat
Kindle Fire: OtterX SlimKat & 777Kernel
http://forum.xda-developers.com/show....php?t=2747564
Nexus 5: SlimKat

If you like my work or think I have helped please hit the thanks/donate buttons
 
lovejoy777
Old
#2  
lovejoy777's Avatar
Senior Member - OP
Thanks Meter 1615
Posts: 2,381
Join Date: Dec 2011
Location: Nottingham

 
DONATE TO ME
I just wrote my 1st one

lovejoy@acer:~$ cd '/home/lovejoy/Desktop/scripts'
lovejoy@acer:~/Desktop/scripts$ ./script1
Hello Steve
lovejoy@acer:~/Desktop/scripts$

Gnex: Dreams 4.4 KitKat
Kindle Fire: OtterX SlimKat & 777Kernel
http://forum.xda-developers.com/show....php?t=2747564
Nexus 5: SlimKat

If you like my work or think I have helped please hit the thanks/donate buttons
 
lovejoy777
Old
#3  
lovejoy777's Avatar
Senior Member - OP
Thanks Meter 1615
Posts: 2,381
Join Date: Dec 2011
Location: Nottingham

 
DONATE TO ME
ok i did it. lots of googling if anyone else has a similar issue then let me know. i have also learnt lots about hashcodes emmc corruption fix and how the short trick works, so same again if i can help any one then post here or send me a pm. Cheers Steve

Sent from my Nexus 5 using Tapatalk
Gnex: Dreams 4.4 KitKat
Kindle Fire: OtterX SlimKat & 777Kernel
http://forum.xda-developers.com/show....php?t=2747564
Nexus 5: SlimKat

If you like my work or think I have helped please hit the thanks/donate buttons
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes