yashsingh1/xdaforums huggingface dataset:
[Kindle Fire Android Development] Jdom58:
Hi guys, need a little help finishing this process, I have completed these steps:

3. now, press menu, add script. you should see a load button. hit load and choose firefirefire or kinfauns1.3 for new logo, save it.

4. again, menu, add script, hit load and choose install cwmtouch final. save it

Now going to my main list (which I'm guessing is the done by hitting the back button and going to the sdcard/gscript folder I have options 1-6 for installs. If I first tap on #4 "install firefire1.2 bootloader.sh" I get a scriptfile window that says it'a an executable script file and I have a choice to view,execute,cancel. By choosing execute I get a small notification that root explore received su permission and then another small notification that file has been executed. The same thing happens next for #1 install doomlords cwmtouch final.sh, then reboot

I just want to make sure this is normal before trying to boot into recovery.

UPDATE:

OK let me answer my own question by saying yes :-) to be cautious I rebooted normally into recovery (buttons) to get into TWRP to wipe some caches after having deleted a few unneeded apps and low and behold TWRP is gone and welcome CWM. It caught me totally by surprise LOL.

So now is it ok to delete the CWM zip and TWRP folder in the sd card? Thanks
[Kindle Fire Android Development] dieandromeda:
yes, it is safe. just make sure u make a backup (if u have previous twrp backup), just in case u need it in near future.
[Kindle Fire Android Development] Jdom58:
I did back up the stock ROM with TWRP originally but not really sure how to transfer it over to CWM. do I go into the TWRP folder and save the backup to the sd card or is that just to easy LOL
[Kindle Fire Android Development] dieandromeda:
twrp backup is for twrp, if you want a new backup for cwm, you need to recreate backup using cwm recovery.
[Kindle Fire Android Development] smirkis:
Sorry jdom. If everyone on here owned rootexplorer, I'd remove the need for gscript entirely. When I say mainlist, I mean the list u see of loaded scripts when u first run gscript.

It doesn't hurt to run scripts from other apps tho, it all works the same.

I do suggest upgrading your bootloader tho to kinfauns 1.3
[Kindle Fire Android Development] Jdom58:
Thanks, would that be just going into the gscript folder and deleting the firefire script saved and loading, saving, and installing the kinfauns? kind of repeating steps 3-4-5
[Kindle Fire Android Development] BluesHawk:
That's correct
[Kindle Fire Android Development] Jdom58:
Thanks again, that's exactly what I did, probably a dumb question but is there any way to confirm the bootloader was changed from firefire to kinfauns?
[Kindle Fire Android Development] BluesHawk:
You're welcome. The original FFF bootloader was the yellow triangle symbol with the flame in the center. The 1.3 version by kinfauns has an android figure above the Kindle Fire logo. The new version also doesn't say "press power button for recovery"
[Kindle Fire Android Development] Jdom58:
hummmmm just as I suspected, it did not change. I'll try the process again

Edit: never mind, second time is the charm
[Kindle Fire Android Development] dls5375:
I backed up my current rom using the latest doomlord cwm script but at the end got a error "failed to backup data" . Is this normal?

Nevermind , " SD card " was full. Had to delete some older backups.
[Kindle Fire Android Development] Rodhargis:
Sorry to ask a stupid question

Hello all I am brand new to the Kindle fire and finally stumbled through getting it rooted but am stuck on this. I am pretty sure I got CWM and the new bootloader installed correct as the boot loader changed but I am afraid I don't know how to get into CWM. I have searched but can't seem to find the answer can someone help this noob out.

Thanks
[Kindle Fire Android Development] dls5375:
when you turn it on you should either see the yellow fff triangle or an android with kindle fire depending which boot loader you downloaded. When you see that screen hold the power button down or push it a few times until it turns from green to orange. Then it should go into recovery.
[Kindle Fire Android Development] Rodhargis:
Thank You very much.. Works Great..... :):):)
[Kindle Fire Android Development] solgems:
hey man, good job with the script! thumbs up! :)

Just rooted with kindlewater 2.1.7 and ran ur script to update it to the new fff and cwm final. that was super easy! im impressed
[Kindle Fire Android Development] dw9906:
Kindle noob here. How do i get a file manager installed on the kindle so i can do this, without internet? Kindle doesn't recognize adhoc wifi.

Edit-NM figured it out. It was a CM9 issue on my G2x with the adhoc-wifi.
[Kindle Fire Android Development] dw9906:
Worked like a charm for a first day owner of the Kindle. Thanks!
[Kindle Fire Android Development] furtom:
Great stuff

This app is great! Worked like a charm.

Thanks so much for saving me some hassles!
[Kindle Fire Android Development] gett:
Sory for stupid question, but I dont see add script command in menu->add on CM7?

SOLVED - it means menu on apk :-)
[Kindle Fire Android Development] lovejoy777:
worked like a dream.

thanks all involved:-)

is there any way to wipe sdcard like in twrp?
[Kindle Fire Android Development] smirkis:
inside mounts n storage, you should be able to format sdcard. careful tho lol. make sure everything's backed up already.

and for everyone else, I'm working on making running scripts even easier, no more need to load scripts as it seems to cause a bit of confusion at times. ill update the OP when I upload it, but I need to rewrite the instructions as well since gscript will no longer be used.
[Kindle Fire Android Development] dw9906:
Can u post the old link that included TWRP 2.0? Thanks
[Kindle Fire Android Development] smirkis:
when I post the update, I will include it.
[Kindle Fire Android Development] dw9906:
In your opinion, which recovery is better?
[Kindle Fire Android Development] smirkis:
its just my opinion, but cwm is better. twrp is a cool concept but what good is a product without it's team/crew for support? the broken reboot wrappers bug me. and the flickering lol

doomlord and his team did all the work, but I was the one bugging him to port it n use my device for testing. its my preference, and i can't thank doomlord n utterchaos enough for pulling thru!
[Kindle Fire Android Development] dw9906:
Maybe I should stick to CWM then. Thanks for the input.
[Kindle Fire Android Development] a2296455:
I was playing around in the CWM recovery settings and clicked "fastboot."

Now, my Kindle is stuck on the "press power button to access recovery" screen. Any help?
[Kindle Fire Android Development] smirkis:
u gotta reset the bootmode. its in fastboot. open a cmd prompt and fastboot idme OEM 4000 or whatever
[Kindle Fire Android Development] a2296455:
Sorry but I'm kinda new and dont' know how to do this? Any tips to point me in the right direction?

Also - why don't you just make this super easy and make this through ROM Manager so we can install the touch recovery directly through that app....?
[Kindle Fire Android Development] BluesHawk:
If you've got KFU on your computer start it up and enter the Bootmode menu and choose 1 for Bootmode: normal while your KF is hooked up to your PC
[Kindle Fire Android Development] androidcues:
oh my god. whats next? people will be asking for voice command so they dont have to touch their phone?

"iris.... open rom manager... flash new firefirefire bootloader kthxbai"

i hope jesusfreke doesnt look at these boards anymore. Yall people are getting lazy.
[Kindle Fire Android Development] a2296455:
There is a process in place for these types of things in ROM manager that is standardized across phones that makes it easy. Why would it be so hard to incorporate in the official app?
[Kindle Fire Android Development] smirkis:
If it was that simple, it would have been done. Do you think we wanna make it hard for you? Without my little scripts which I'm sure u could make yourself, u would HAVE to use fastboot.

We have tried to get in contact with koush multiple times, he's buddy's with paulobrein which has a kindle so I had hopes of an official touch cwm to no avail.
[Kindle Fire Android Development] koop1955:
Hey, thanks for this. Worked just great for me.

I appreciate all the work and the options.
[Kindle Fire Android Development] Pkt_Lnt:
This is great. Being a command line / adb kind of guy, I watched this but had done FFF install and updates (1.0 to 1.3) and TWRP via adb.

Finally, TWRP gave me bad backups and failures to restore three times, that required complete new flashes (except for TiBu user app restore). I decided to try this script program just to see.

I have to say, quite impressive, great work!
[Kindle Fire Android Development] a2296455:
I'll try to get in touch with Koush so we can get this in the official app...
[Kindle Fire Android Development] webdroidmt:
Worked great! Thanks for making this app and making it easy.

Mike T
[Kindle Fire Android Development] jacewt:
Don't think I thanked you for this. Awesomely easy and clear. It saved me the anxiety of typing the wrong thing. I am now rooted and enjoying cwm that I am very familiar with.
[Kindle Fire Android Development] palmheel:
Do I have to install cwmtouch also if all I want to add is kinfauns fff1.3 bootloader, to change the logo and keep TWRP?. I tried installing just kinfauns fff1.3 bootloader, but can not gain SU.
[Kindle Fire Android Development] smirkis:
sorry if your having issues. I'm updating this install method that no longer requires gscript. check back later tonight, with it comes the option for a blue cwm built off sbloods sources, and a raw install of twrp for those who want it.

it bothers me more and more as time goes on about twrp tho, all these stuck in fastboot issues would have never been an issue if they just fixed it lol.

so yup, stay tuned.
[Kindle Fire Android Development] dw9906:
Look forward to the blue CWM. I like it on my G2x. It's it still flashable without the need for fastboot or a computer with your new method?

Sent from my G2x or my Kindle running ICS. You decide.
[Kindle Fire Android Development] smirkis:
still gonna be scripts, just a easier way to run them.

EDIT: OP updated everyone. let me know how it works for ya.
[Kindle Fire Android Development] dw9906:
Worked like a charm. Thanks

Edit: I want to try TWRP just to check it out. Don't plan on keeping it, but just want to make sure, what do I avoid using to keep myself out of being stuck in fast boot mode? Is it the reboot to recovery function in the ROM? Or is it the reboot function in recovery? Just wan to be safe as I'm not always close to a computer if things go wrong.
[Kindle Fire Android Development] smirkis:
if you use cm7, and use the reboot to recovery in the power down menu it will bootloop.

its mainly that, and the installation method twrp originally uses, that gets people stuck in fastboot/recoveryloop. tapping 'reboot' in recovery is supposed to set the bootmode, but does not!
[Kindle Fire Android Development] webdroidmt:
smirkis, thanks for the new script release. Just to clarify, I can use any file explorer that allows root to extract and install, correct?

Also, if I decide to install CWM blue, will it just overwrite the CWM I already have from your Gscript?

Mike T
[Kindle Fire Android Development] dw9906:
So i should choose "shut down" from Twrp recovery? Not reboot?

I don't use the power menu anyways from the rom. I just long press to power off.

Sent from my G2x or my Kindle running ICS. You decide.
[Kindle Fire Android Development] dw9906:
I used root explorer. Just make sure after you extract that the path is /sdcard/scriptfiles

Make sure there is not a scriptfiles folder inside the scriptfiles folder.

Sent from my G2x or my Kindle running ICS. You decide.
[Kindle Fire Android Development] Pkt_Lnt:
Shutdown or reboot FROM within twrp is fine.

It is when you are IN CM7, and hit the power button and choose Reboot. Choose Reboot again there and you are fine. Choose Recovery there, and you are in the fastboot bootloop doo doo.
[Kindle Fire Android Development] webdroidmt:
Ok, that's what I thought...thanks. Will the CWM red just overwrite the CWM currently installed?

Mike T
[Kindle Fire Android Development] smirkis:
I chose this file browser for root access and it runs scripts.

If rootexplorer was free I would have used that.

And like mentioned, just make sure the path is /sdcard/scriptfiles not /sdcard/scriptfiles/scriptfiles otherwise it'll error. No harm, but error

This file browser extracts it raw, so it zipped it in another folder. If you use other unzip methods, it might put it in a folder like /scriptfiles/scriptfiles.
[Kindle Fire Android Development] webdroidmt:
Understood, thanks.

Mike T
[Kindle Fire Android Development] jacewt:
I had cwm red and followed your instructions and ran the blue install script. It said file executed but I am still on red. I found the gscript to be nice and easy, I guess this is easier but I am not sure it worked.

Ps. I used root explorer, the files are in sdcard/scriptfiles. Going to try root browser now.

Ahh, ok so root browser worked. I guess you can't just tap the files on root explorer. Might have to press and hold and run something else.

FYI, root browser is part of rom toolbox (the paid full version).
[Kindle Fire Android Development] dw9906:
Yeah, in root explorer you have to tap and then click execute.

Sent from my G2x or my Kindle running ICS. You decide.
[Kindle Fire Android Development] webdroidmt:
Same for me, scriptfiles was in the proper dir and root explorer said it was executing but after two tries, red was still there. I also tried longpressing but I didn't see anything that looked like it would run the script... maybe I missed something??? Anyway, I installed root browser and as advertised, it ran the script. Just finished making a nandroid with blue.

Mike T
[Kindle Fire Android Development] dw9906:
I recommend doing everything as the OP says. Someone asked if it worked with other browsers and I was just saying yes. Please just follow the OP guys so no one gets confused. Sorry for the confusion
[Kindle Fire Android Development] jacewt:
Yeah, root explorer has no option to execute on the menu, it does say it's executing it when you select it but it doesn't actually run it. I'd make sure you put on the first post that root explorer won't work.
[Kindle Fire Android Development] webdroidmt:
Did that, tried it twice. Said it was executing but didn't install the blue. I clicked R/W in root explorer, maybe should've just left it R/O. Anyway, not an issue and as you suggested, probably better to just follow the OP's instructions using root browser.

Mike T
[Kindle Fire Android Development] dw9906:
I've installed the blue CWM and TWRP with root explorer, so you're doing something wrong.

I guarantee that you're problem is that you're path is /sdcard/scriptfiles/scriptfiles instead of /sdcard/scriptfiles which is how it gets extracted with root explorer. You have to do some moving of folders before you execute the script.

Kinda off topic, but not: Is there a way to adjust the brightness level in TWRP?

Sent from my G2x or my Kindle running ICS. You decide.
[Kindle Fire Android Development] jacewt:
I guarantee you are wrong. I know where the files are, and I didn't extract them with root browser, I extracted them with root explorer, moved them because they did extract to the root explorer folder with 2 scriptifles/scriptifles folders. I moved the one folder to sdcard/scriptfiles I executed the file with root explorer and NOTHING happened. I then executed the same file in the same folder with root browser and it WORKED. If it had been in the wrong folder, root browser would not have worked either.

Anyway, I am not sure why it would work for you and not for me but it's not for the reason you think.

Smirkis, Thanks for the blue cwm, so much more enjoyable!
[Kindle Fire Android Development] dw9906:
Don't have to be so defensive....But whatever. Doesn't really matter now does it. But it definitely does work with Root Explorer.

Sent from my G2x or my Kindle running ICS. You decide.
[Kindle Fire Android Development] smirkis:
it does actually work in rootexplorer, not sure why it didn't work for you. I'm sure it's a SU issue.

just use rootbrowser, it works. I tried a boatload of apps on my own and I found this to be the easiest to perform on a masses level. I know it's part of rom toolbox but that thing is cluttered for my specific needs. I just wanted to run scripts.
[Kindle Fire Android Development] webdroidmt:
Don't want to carry this on but using the phrase that you guarantee my problem is a pathing issue is something that I can guarantee is incorrect.

The scriptfiles folder was exactly where it belonged and after failing with root explorer, root browser executed it from the same exact correct location. Perhaps smirkis hit the nail on the head with being a SU issue. Anyway, it worked fine with root browser and I'm happy with that, so we will move on. I do thank you for your input.

Mike T
[Kindle Fire Android Development] gamy2121:
Anyone else getting sluggish youtube playback? it will play fine then start getting a little sluggish and then the sound just stops...Never did it on stock for me, could it be a setting somewhere?
[Kindle Fire Android Development] Pkt_Lnt:
The bootloader and recovery are not active when the device is running. :confused:

You might want to see in the thread about the ROM you are using.
[Kindle Fire Android Development] lovejoy777:
just ran script and used re all went well:-)

Thanks looks nice in blue
[Kindle Fire Android Development] dw9906:
Look forward to support for the new TWRP 2.1 http://www.teamw.in/project/twrp2/79
[Kindle Fire Android Development] smirkis:
I don't see reboot wrappers mentioned in the update. ill try to flash it later, unless anyone else does and can confirm its been fixed?
[Kindle Fire Android Development] dw9906:
Yeah, unfortunately I didn't see that either.
[Kindle Fire Android Development] smirkis:
still borked. flashed n booted in, called for reboot recovery and normal system started. bummer.
[Kindle Fire Android Development] dw9906:
Figures. Didn't even fix the bigger issue.
[Kindle Fire Android Development] acax456:
Hey sblood has been updated. Please update for us
[Kindle Fire Android Development] jacewt:
This should be pinned. There's no easier way to install FFF and CMW or TWRP. And no computers or drivers involved.
[Kindle Fire Android Development] smirkis:
I will when it gets updated. slight glitches in first release.

edit. actually it works great. ill add it and update soon.
[Kindle Fire Android Development] Sblood86:
+1 for stickification
[Kindle Fire Android Development] smirkis:
updated OP to include the newest build of cwmtouch.

if updating, please remember to delete the scriptfiles folder from your sdcard before downloading the newest zip.

enjoy!
[Kindle Fire Android Development] webdroidmt:
Thanks for the update, I clicked a "Thanks" for sblood as well. Btw, have you had a chance to look at Chainfire's SuperSu? If so, what do you think? I tried it on my TP and liked it, so I put it on my KF a couple of days ago and so far so good.

Mike T
[Kindle Fire Android Development] fraeone:
I'm having the same issue with Root Explorer that others have mentioned, and can also confirm that my paths are correct. Not sure what the cause is, but too many people have seen the bug to call it user error.

I started with root browser, but I don't see an execute option, just open as text file. Anybody have an idea for making root browser give me an execute option?
[Kindle Fire Android Development] smirkis:
use root browser, enable root at startup. root explorer won't execute scripts for some reason.

and don't press n hold. just tap the script and u get options to run.
[Kindle Fire Android Development] dnathan13:
+1 on the sticky!
[Kindle Fire Android Development] fraeone:
What do you mean "enable root at startup"?

When I launch Root Browser it doesn't notify me that it has asked for root, and it doesn't appear to have root, which would explain why I don't get an Execute option with either a quick or a long tap. Fire is definitely rooted though, so I'm not sure what's up.
[Kindle Fire Android Development] smirkis:
uninstall and reinstall. it will ask u about root at first startup, make sure you check to enable root access.
[Kindle Fire Android Development] fraeone:
Thanks smirkis, that did the trick.
[Kindle Fire Android Development] jocampbe:
This script worked great once I read this part! I figured one program was a good as another, but I was wrong. :(

Thanks!
[Kindle Fire Android Development] webdroidmt:
smirkis,

TWRP 2.1.1 is out, just saw it on TeamWin's site, will you be making a new scriptfiles folder? Thanks.

Mike T
[Kindle Fire Android Development] smirkis:
here's my question, I'm on the new cm9 and the scripts no longer work and I'm wondering if this has something to do with why cwm won't flash it properly.

the scripts are set to replace /dev/block/platform/mmci-omap-hs.1/by-name/recovery

but for some reason in cm9, the new location is /dev/block/platform/omap/omap_hsmmc.1/by-name/recovery

can anyone else confirm? or thoughts on this?

I used the new location and it worked fine. but I guess I need different scripts for gb and true ics users. I'll get this figured out soon.
[Kindle Fire Android Development] kinfauns:
Just use the actual device names for the partitions

bootloader - /dev/block/mmcblk0p2

recovery - /dev/block/mmcblk0p5

That will work in both cases because the by-name references are just symlinks to the above

adb shell ls -l /dev/block/platform/omap/omap_hsmmc.1/by-name
[Kindle Fire Android Development] webdroidmt:
After reading your post, I tried to execute TWRP 2.0 just for the heck of it and got the location error.......cannot open for write: no such file or directory. This is in Hashcode's 3.0 kernel ICS.

Mike T
[Kindle Fire Android Development] uoY_redruM:
Do you plan on updating the script for twrp 2.1.1? Also, any plan to add a script to install dual-boot boot loader when it goes live?
[Kindle Fire Android Development] smirkis:
I honestly want dees_troys permission. what I might do is add the script, and ask u guys to manually download it and stick it in the /scriptfiles/files folder before executing

and yes on multi boot. just need it to be in final and it'll be there.
[Kindle Fire Android Development] uoY_redruM:
Yeah, I just renamed 2.1.1 to match the name the script searches for manually and installed 2.1.1 :)

Issue now is, I clicked the "restart boot loader" option in 2.1.1 and I'm stuck on the dual-boot boot loader screen and cannot boot into recovery or anything at all for that matter :/
[Kindle Fire Android Development] smirkis:
I replied in your thread. your in fastboot. avoid that bootloader button unless necessary

fastboot idme bootmode 4000

fastboot reboot
[Kindle Fire Android Development] acax456:
2.1.1 twrp is out. Please update
[Kindle Fire Android Development] smirkis:
do this for now.
[Kindle Fire Android Development] acax456:
What do u think about twrp v2.1.1??
[Kindle Fire Android Development] smirkis:
I'm die hard cwm, but twrp is finally fixed ;)

so feel free to roll with 2.1.1 as its what it should be. I'm using it now until we figure out what's up with cwm
[Kindle Fire Android Development] acax456:
I must use twrp cause im using ics with hash kernel

P/s: when will u update 2.1.1
[Kindle Fire Android Development] Pkt_Lnt:
http://xdaforums.com/showpost.php?p=25172747&postcount=150

Copy the 2.1.1 img into the scriptfiles/files directory and rename to the same name that the script calls. Works perfectly, you get that DIY warm and fuzzy.
[Kindle Fire Android Development] pmdisawesome:
Hi Smirkis

I have been using GScript since the day this thread started, but recently GScript told me that there was no directory/file name:

dev/block/platform/mmci-omap-hs.1/by-name/recovery

So I looked at Root Explorer and changed the script to this directory and it worked:

dev/block/platform/omap/omap_hsmmc.1/by-name/recovery

Am I the only one with this problem? I am running CM9 Reloaded 1.2H with Kernel 3.0?