yashsingh1/xdaforums huggingface dataset:
[Kindle Fire Android Development] chuffykow:
A recovery that requires a working OS isn't a recovery.
[Kindle Fire Android Development] SikYou:
ROM manager sucks, just my opinion. Plus, what the post above says. Plus, efforts to contact koush have been a bust (for me). Plus, the TWRP guys have been OUTSTANDING in working with KF owners to get this recovery working. Plus... (your reason here)

:rolleyes:
[Kindle Fire Android Development] chad24taylor:
Have you seen the demos of TWRP 2.0? It looks fantastic, not to mention perfect for our devices. Also, these guys have been working hard to get it up and running, show some support! http://www.youtube.com/watch?feature=player_embedded&v=xMdj_QzfGmw
[Kindle Fire Android Development] transfuntioner:
I'm waiting on a micro-usb breakout board to arrive, to verify the results from tests with my diy cables (just in case I didnt wire them correctly).

I've tried grounding the ID pin, no luck. I think it is high (& from looking at the code/specs). Any tips for finding the resistance value? Else it is quite a lengthy brute force exercise.
[Kindle Fire Android Development] smirkis:
oh trust me every one of these guys have my support. I'm just throwing around ideas because without physical buttons I didn't know how we would get into recovery yet without software?? on the tf101 everything started with nvflash, flashing Roms and recoveries. can we not do something similiar?
[Kindle Fire Android Development] JackpotClavin:
well does anybody know how we can make a boot.img that supports pushing files to the/sbin? in my clockwork recovery builds, i was able to get out of jams by pushing files to the /sbin/ directory, then use that to my advantage. however, with the stock boot.img, i was never able to push to the /sbin folder as it was read-only. if somebody knows how to do this, we *should* be pretty much unbrickable as we will be able to push idme and the sh binary to sbin and get into fastboot mode with adb shell, then idme bootmode 400x into fastboot. if i were able to push into the /sbin/ folder i would be able to unbrick my fire, however i can't due to the /sbin being read-only. if somebody knows how to make it read write, it would be great success

(i've only worked with motorola phones in the past, so working with kernels and ramdisks are completely new to me)
[Kindle Fire Android Development] death2all110:
Any tips on using a pull up resistor? I can stop by ratshack tonight after work if you or anyone else has any ideas on using it.

Well I may screw around with the stock boot.Imf later tonight after work. I may just include the binaries in the shin by default. Sounds better than hoping the boot.img in a Rom is rw.
[Kindle Fire Android Development] JackpotClavin:
Have you tried looking at the kf source in the device/ti/boot folder there's a file that's not a script but it has instructions for the initial boot into fastboot
[Kindle Fire Android Development] death2all110:
Yeah, unfortunately it doesnt look like much help. :/
[Kindle Fire Android Development] pokey9000:
I don't have my own KF, so I'm just gonna leave this right here.
[Kindle Fire Android Development] transfuntioner:
no luck unless i'm a klutz (strong possibility)
[Kindle Fire Android Development] pokey9000:
Power completely off (shut down or hold the power button for ~10 sec), short the pin (the metal frame nearby is good), then press the power button. If you have USB connected, you should see a "Texas Instruments, Inc." USB device (0x0451:0xd00f) show up for about 3 seconds then disappear for another 3 in a loop.
[Kindle Fire Android Development] transfuntioner:
o o o. I get it now, I was expecting u-boot to come up in fastboot mode, not usbboot.

Thanks for the tip!
[Kindle Fire Android Development] JackpotClavin:
So what does this do for us?
[Kindle Fire Android Development] pokey9000:
Recover bricks, test your own u-boot builds without touching flash, etc.
[Kindle Fire Android Development] randallu:
Here's the tool to usb boot an OMAP4 in this mode:

https://github.com/swetland/omap4boot

Looks like it also supports the Galaxy Nexus (not surprising given the maintainer!).
[Kindle Fire Android Development] pokey9000:
That's the one, but you'll need to mess with aboot so it uses the correct RAM config. All the targets it supports are 1GB POP OMAP4s. You should be able to mash up the setup code from Amazon's x-loader source with aboot to get something that works.
[Kindle Fire Android Development] uunnzz:
Does that pin happen to have a trace running to the USB connector? If it does then maybe a jig can be used? If not then adding a wire and using a jig could be an easy solution for more boot options.
[Kindle Fire Android Development] death2all110:
Im not sure, when I tested this I didnt follow the trace. But the charging controller is connected to the ID pin. Summit SMB347. I can't find a data sheet. I tried for about an hour searching. I may just be bad at googling for that kind of thing. (Very possible).

I contacted the company for more info on it. Maybe they'll get back to me?
[Kindle Fire Android Development] pyrostic:
Agrabren posted a tweet about using a cable with a pin pulled up that works to get into fastboot. Maybe bug him?
[Kindle Fire Android Development] pokey9000:
He said it's the same as an Atrix factory cable: resistor between ID and 5V (pin 1 & 4). Most guides show just a wire instead of a resistor, but I'd use 100 ohms or 1k to be safe.

I wonder if this also changes the boot mode to USB boot. It would make sense, since it would let Amazon techs recover bricked returns without opening the case.

Now I'm thinking about getting my own to play some more...
[Kindle Fire Android Development] death2all110:
Let me know if you do decide to get one. I'll shoot you 50 bucks to cover 25% of the cost. I got some money from rooting it.
[Kindle Fire Android Development] pyrostic:
So how do I get a hold of one of these cables? Would it be a good addition to my arsenal?
[Kindle Fire Android Development] death2all110:
I hope agrabren gets back to me soon. I tried making my own but it didn't work. If I can find one online Ill definitely link it here and order it.
[Kindle Fire Android Development] teookie:
Pins 1 and 4 cant be right, that would be +5V and ground. Probably is 1 and 2 or 1 and 3.

Edit: oh I see now. Micro Usb has 5 pins.
[Kindle Fire Android Development] JackpotClavin:
Would one of the motorola factory cables work? Just google tbh motorola factory cables. It has an extra wire on a pin that normally goes unused in normal usb cables
[Kindle Fire Android Development] pokey9000:
From what I read, they should.

Just got home with a brand new KF, and tried what agraben is suggesting. I got into fastboot on the first try.

Unfortunately it doesn't also alter the boot mode so that USB comes before internal flash in the boot list. But, I noticed in the u-boot code that setting bootconfig to 0x4003 will not only turn on a time-delayed fastboot, but upon exiting fastboot it will reorder the boot list so that USB boots first. This is great because it means we can develop a USB recovery using the scheme I posted earlier without having to open our Kindles.
[Kindle Fire Android Development] JackpotClavin:
i think i'm close to a booting build of CM7. just getting errors with proprietary libraries that i didn't need or are incompatible with the open sourced libraries : D
[Kindle Fire Android Development] ajq:
Wasn't enough info in here?

http://docs.google.com/viewer?a=v&q...92VzTi&sig=AHIEtbS_o85uiqIZ3iRni6Vz59xCZUvRSg
[Kindle Fire Android Development] pokey9000:
Only if you like sales brochures.
[Kindle Fire Android Development] kweng_ca:
Whoo! That's great news! :D
[Kindle Fire Android Development] agrabren:
In my tests, I just used a wire to hold USB_ID to VCC. To be safe, a 1K resistor would be nice, but I never fully wired up my USB breadboard. The Motorola Factory Cable is not the cable that comes with the Atrix, it's a special cable that they refer to as the "factory cable". It's used in their factory to program the devices much in the same likely way that Amazon is using them to program these devices.

But as another note: Donate beer money to Gus6464 (Like 2-5 bucks guys, come on)...

It was more of his help and device that got the USB_ID to VCC pin confirmed to boot straight to fastboot mode, and should completely unblock ROM developers to make and test ROMs without nearly the risk of bricking the device.

(His donation link from his profile) http://xdaforums.com/donatetome.php?u=822011
[Kindle Fire Android Development] pokey9000:
I've got omap4boot working to load u-boot over USB. If anyone wants to try, an executable for Linux is attached. Rename the .zip to .tar.bz2 and unpack.

To get into USB boot mode, either use the shorting trick a few posts up, or if you'd rather not void your warranty, set the nvram bootmode to 4003.

To get out of bootmode 4003, power off by holding the button until the LED goes out, then run "fastboot -i 0x1949 oem idme bootmode 4000" turning it back on. Fastboot only sticks around for a few seconds in this mode.

To load a u-boot.bin, unzip the archive and run

sudo ./usbboot aboot.bin u-boot.bin

If you're in bootmode 4003, loading a stock u-boot will go immediately into fastboot. If using the shorting trick, Android should boot as normal. Since we can assume that most bricks will be in the normal bootmode, or have no bootmode to speak of, u-boot will have to be built to always fastboot. From there fastboot can be used to repartition emmc and partition dumps loaded in to recover a total brick.

It's very unlikely that someone will make a brick that the factory cable can't get them out of. The immediate application for this now is to safely test changes to u-boot. The next step is to find a way to get into recovery without needing working Android. I think there's an interrupt line from the touch panel, maybe we could poll the corresponding GPIO during u-boot and have it select recovery...

This is based on the https://github.com/gnif/omap4boot branch of omap4boot.
[Kindle Fire Android Development] ray90813:
Thank you kind sir, hope what I sent is enough to cover a cold one!
[Kindle Fire Android Development] JackpotClavin:
GOT CM7 BOOTED UP!!!! :D will make a new thread and post stuff :D woottttttttttttttttttt $200 soon to be ICS tablet once i give ICS a shot!!!!!!!1
[Kindle Fire Android Development] SikYou:
Great work!!

Looking forward to reading your thread and hopefully seeing an alpha or even beta release of this. CM9 is already starting to pop up for a few devices so I'm sure it won't be long until we are main streamed and rockin' ICS.

Does everything work?

I know that recovery is just around the corner. The next step will be to make sure that we can use some of the Amazon apps with CM7(9) such as the video app.
[Kindle Fire Android Development] pyrostic:
He said screen orientation is 90 degrees off of the touch sensor.
[Kindle Fire Android Development] andTab:
That is awesome news!
[Kindle Fire Android Development] blauciel:
He has orientation fixed, now :)

//Tapatalk.KindleFire//
[Kindle Fire Android Development] MichaelVash7886:
Great to see so much progress is being made.
[Kindle Fire Android Development] MrJandD:
Any update's on progress?
[Kindle Fire Android Development] pyrostic:
Other than @Agrabren getting it working flawlessly on our device. No.we are just awaiting a release from #TWRP, who knows when this will be is beyond me, but just knowing that they are going to be supporting our device is AWESOME!
[Kindle Fire Android Development] stranula:
Thats a pretty good update.
[Kindle Fire Android Development] gus6464:
Hey guys just wanted to say thanks to all who donated. Wasn't necessary but I will have a couple of cold ones on your behalf :D.
[Kindle Fire Android Development] foxdog66:
Who is on the TWRP team? Do they post on twitter about updates?
[Kindle Fire Android Development] MrJandD:
Kk, Thanks
[Kindle Fire Android Development] agrabren:
I'm on twitter as agrabren.
[Kindle Fire Android Development] hoss12300:
Yep, cheers. Enjoy a few Shiners for your efforts. :D
[Kindle Fire Android Development] andTab:
Hi agrabren.

I checked out your twitter and blog.

Is there are a general sense where you are with TWRP?

With CM7 available, many are probably tempted to jump into the pool for ROMs but it would obviously be much better/easier and safer if we had a working recovery (that also allows us to make a backup of the original KF rom).

Can you give us any indications where you are with this? Are we talking days, weeks or months?
[Kindle Fire Android Development] pyrostic:
I believe they will be launching all supported devices at once. And even though we all want it it will be ready when its ready.
[Kindle Fire Android Development] teookie:
On twitter team win is asking for fire owners to sign up as tester's on their website. Must be getting close. :D:thumbup:
[Kindle Fire Android Development] pyrostic:
Already registered :)
[Kindle Fire Android Development] loki154:
I registered also. :D
[Kindle Fire Android Development] MrJandD:
:eek:Registered :D
[Kindle Fire Android Development] Poler166:
Registerd!!!
[Kindle Fire Android Development] neilrl79:
I registered this morning.
[Kindle Fire Android Development] andTab:
let's hope we are close to final release
[Kindle Fire Android Development] agrabren:
I'm preparing to pull 5 random testers to get live working TWRP build for the kindle fire shortly...
[Kindle Fire Android Development] Veritass:
=O I hope I'm one! I have 3 fires to test with!
[Kindle Fire Android Development] blauciel:
Good news!

//Tapatalk.KindleFire//
[Kindle Fire Android Development] tannerzion:
Why should there be a set method to boot up into recovery? Can't you just modify the bootloader so it always boots into recovery, and from recovery it asks if you want to boot onto your rom? The Kindle Fire doesn't need to be shutdown often - it has a great battery.

Another thought would be tapping the power button after about 2 seconds of booting it up once. Or maybe force shutdown before it can boot, and then have it automatically boot into the recovery..
[Kindle Fire Android Development] SikYou:
I wouldn't mind if you randomly picked me ;)
[Kindle Fire Android Development] neilrl79:
Sounds good.
[Kindle Fire Android Development] sadalius:
Would be good to see this type of recovery get going on the KF.
[Kindle Fire Android Development] jutley:
I would be honoured to test
[Kindle Fire Android Development] CrackMonkey91:
Any one from the forms been picked for beta testing? If yah I'm very curious on the method to get in the recovery, is it the bootloader method or something else?
[Kindle Fire Android Development] agrabren:
Noone has been chosen yet. We're ironing out bugs and dealing with developer burn-out at the moment.
[Kindle Fire Android Development] SikYou:
Take a break guys! As much as we all want this, it can wait. A great recovery is really only as good as the people that can support it so we can't have burnt out Devs :D
[Kindle Fire Android Development] pyrostic:
More about this found here: http://goo.gl/o6zxp

Basically if we want TWRP 2 or anything for that matter we need to help out our fellow developers. Not when they're done but as they're investing 20+ hours into a project.

I'm going to donate for the sake of donating for a great cause. Agrabren is an A+ developer, I can guarantee that if we showed him support and 10-20 people donated at least $10 to Agrabren while he is working on the project I'm more than sure we will get TWRP sooner rather than the possibility of never.

Just view his profile to get his donation information and throw the guy a few bucks and state what devices you want it for. He'll get the picture.

Again a few bucks can go a long way if you want it to. He's not begging either, I am, because I want TWRP dangit!!!

Agrabren Donate Link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UQ2BKWWT9MNNQ

Sorry I'm on my phone and can't make the donate link clickable.
[Kindle Fire Android Development] smirkis:
can someone link his donation page? so us not near a computer can donate easier :)
[Kindle Fire Android Development] pyrostic:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UQ2BKWWT9MNNQ
[Kindle Fire Android Development] deez1234:
Donation sent! Keep up the hard work buddy. It will be worth it in the end!
[Kindle Fire Android Development] Hashcode:
So I thought I would talk to the TWRP peeps in seeing about setting up my sources to help out.

He said that earlier today someone had already done a successful backup on the Kindle Fire w/ it. O.O
[Kindle Fire Android Development] Poler166:
That's great to hear ! So let me get this straight this is a replacement for clockwork mod ?
[Kindle Fire Android Development] smirkis:
this is another recovery like cwm, but touch based.
[Kindle Fire Android Development] agrabren:
And it bricks devices... Tomorrow, I gotta send my fastboot dongle to him. So there won't be any developments at all till that's done.
[Kindle Fire Android Development] andTab:
Do you have instructions how to build a fastboot dongle?
[Kindle Fire Android Development] teookie:
pretty sure this is right. I just need a jumper (100 - 500ish ohm resistor) between ID and VCC. Got the breakout board from sparkfun.
[Kindle Fire Android Development] pyrostic:
But it was an exciting experience :) trust me guys when I say, TWRP is worth the wait.
[Kindle Fire Android Development] agrabren:
That's exactly what I did! And what I've gotta send him to continue.
[Kindle Fire Android Development] teookie:
so booting the Fire with this cable plugged in makes it go into fastboot, correct? And then removing it and rebooting boots normaly?

I've got this fastboot binary ready to go on my ubuntu box, so I guess I have all the tools available to un-brick myself should I have the need.
[Kindle Fire Android Development] agrabren:
I was excited for it to work, too...
[Kindle Fire Android Development] death2all110:
You dont *need* a resistor. A wire would do the trick as well. Its recommended to use a resistor though. 1k should be ok too
[Kindle Fire Android Development] ajq:
Yeah, I skipped the resistor. my cable is the ugliest thing in the room besides me, but it works. fragile fracker though. I haven't tried to solder something that fine without a proper smt station in a while - was rough going doing it with an iron. Definitely either grab those helping hands things from radio shack (like $17 I believe) or have someone hold the parts for you who isn't afraid to get burned if you sneeze.
[Kindle Fire Android Development] DooMLoRD:
hehe... its all the part of development :)

by "bricks device" i assume u are referring to the "restore partition" part right? is it corrupting the partitions?
[Kindle Fire Android Development] Groundhack:
I'm not rich by all means but I am grateful for the work your doing for us KF owners. I just donated 10 bucks hopefully others are donating too so that you can get your daughters something nice for Christmas. I will toss you another donation as your work progresses and we see some twrp magic on the fire haha

Thanks again!
[Kindle Fire Android Development] agrabren:
Just a brief update, about to upload a new build to our alpha tester. Once we get through the hiccups which he's already encountered, and we get things smoother, we're going to move onto that 5-person test thing.
[Kindle Fire Android Development] neilrl79:
Good to hear. Appreciate all the hard work.
[Kindle Fire Android Development] foxdog66:
Eagerly awaiting beta testing :)
[Kindle Fire Android Development] pyrostic:
Updates

Another update, having a few issues, good news is I'm not blocked from pulling files from ADB anymore. Also I'll be posting a few updates here and there at my twitter if you would like to follow. @Pyrostic

P.S. Maybe this will renew your faith. #TWRP on my Kindle Fire
[Kindle Fire Android Development] LeetCompWiz:
That looks sweet. Time to donate.
[Kindle Fire Android Development] DooMLoRD:
looks good!!!

but i think i will continue my work on Touch Based CWM just in case ;)
[Kindle Fire Android Development] leech2082:
Pryostic... u don't have to renew faith.. I never lost it!!! Looking forward to this bigtime
[Kindle Fire Android Development] andTab:
Have you made any progress DooM?

I would have thought that it would be easier to modify CWM (eg to accept long/short press, or to have an auto cycle with pressing power just selecting the current selection) but TWRP seems to be further along than any of these other efforts (if there are any)
[Kindle Fire Android Development] SikYou:
I haven't lost faith in TWRP and those of you doing the ground work, I think you guys are making great progress! I planned on participating a little more in getting this project working but I have been busy so instead of working I am waiting, patiently :D

Keep up the GREAT work guys! We love ya :eek:
[Kindle Fire Android Development] DooMLoRD:
without the device with me its becoming difficult to do rapid testing...

i am waiting for getting my own Kindle Fire... once i get it, i will resume development...
[Kindle Fire Android Development] pyrostic:
Update: Squashed most of the bugs. a couple minor annoyances left, and alpha testing will be finished.
[Kindle Fire Android Development] Poler166:
With this recovery will I be able to flash kernels an such is it going to work exactly like clockwork except for the fact that it will be touch ?
[Kindle Fire Android Development] SikYou:
:thumbup:
[Kindle Fire Android Development] teookie:
More or less. It should have all the same functions as the other recoveries.

Keep up the good work guys! Been trying to teach myself how to do what you do and its given me renewed respect for your skills and knowledge! Thanks for sharing your skills/abilities/time with us!
[Kindle Fire Android Development] bluenadas:
I believe the under lying processes are the same with a touch interface
[Kindle Fire Android Development] pyrostic:
Update: @agrabren smashed a bunch of small bugs. We've gotten the FIREFIREFIRE u-boot to run with TWRP however there are a few issues here with rebooting to recovery and what not and the loss of ADB and Fastboot in the normal system. Hopefully we can get these things fixed.
[Kindle Fire Android Development] neilrl79:
@pyrostic, just curious, do back-up and restore work?
[Kindle Fire Android Development] pyrostic:
yes, tested and confirmed. But there are still more things that need to be done.
[Kindle Fire Android Development] neilrl79:
That's great news. I'm sure everyone appreciates the work you guys are putting into this.
[Kindle Fire Android Development] pyrostic:
My sorry. I actually think I was having some problems with ADB. Agrabren did a little testing over teamviewer last night and apparently it was a mix of finiky adb drivers and with fastboot it was a bit of "you're doing it wrong " :)
[Kindle Fire Android Development] Veritass:
Lol. Nice.so what's. Next to do may I ask?
[Kindle Fire Android Development] pyrostic:
Fix a reboot bug and I'd say it's nailed down pretty good.
[Kindle Fire Android Development] Veritass:
awesome! Thanks for keeping us updated
[Kindle Fire Android Development] smirkis:
can't wait fellas. awesome work so far!
[Kindle Fire Android Development] pyrostic:
UPDATE : going to flash CM7 When I get home. I don't see any way anything can go wrong. Furthermore we are going to work on another small project to help with unbricking.
[Kindle Fire Android Development] teookie:
I can't help but smile at this. Kinda a 'famous last words' situation. ;)

(just joking around if you can't tell...)

Good luck, I'm sure it will work GREAT!
[Kindle Fire Android Development] pyrostic:
HOW DARE YOU COMMENT LIKE THIS ON MY IMPORTANT POST!!!

J/k..... My luck something will happen and I'll have to use Black Tie from Best Buy.
[Kindle Fire Android Development] foxdog66:
Drop a dl link yo... I'm ready to start messing with this framework, setting up some metamorph packages and flashing these kernels :rolleyes:
[Kindle Fire Android Development] brett10:
Don't demand download links when TWRP 2.0 hasn't even been released for any other device. The devs do this work for free, the least we can do is have the common courtesy of letting them release when they deem it necessary.