yashsingh1/xdaforums huggingface dataset:
[Kindle Fire 2 Android Development] fmkilo:
how did you get twrp running then? Why did twrp boot but cwm didn't?

did you try flashing it in boot system and recovery to get it to boot to cwm?
[Kindle Fire 2 Android Development] powerpoint45:
Yes. that's what bricked it... I don't know why cwm wont boot.I need to upload a file onto the kindle in order to fix it. Any ideas
[Kindle Fire 2 Android Development] fmkilo:
what do you mean? what do you need to upload when?
[Kindle Fire 2 Android Development] powerpoint45:
Nvm. I have another idea. I'm downloading stock rom now
[Kindle Fire 2 Android Development] powerpoint45:
I need a system.img aaaaaaaaa
[Kindle Fire 2 Android Development] fmkilo:
what if we replaced the recovery.img in /system with cwm or twrp? then made it update by placing a newer system version in the kindleupdates folder? replace recovery, reboot. then try to update?
[Kindle Fire 2 Android Development] powerpoint45:
I just created a sparse image from a system backup i made. Flashing via fastboot now
[Kindle Fire 2 Android Development] powerpoint45:
Ok I'm trying to flash a new boot img
[Kindle Fire 2 Android Development] powerpoint45:
I just restored my kf2. Hell yes. That was sooo stressfull. At least I have experience now!
[Kindle Fire 2 Android Development] tabormeister:
I had to do that with a KF1 one time, repartitioned everything from SCRATCH. Sucked.
[Kindle Fire 2 Android Development] powerpoint45:
Ok so the twrp img. Wont let me flash anything because it says

E:unable to mount splash...

I guess we will need to build from source
[Kindle Fire 2 Android Development] idontwanttobeanoob:
Hell yes somebody is working on this
[Kindle Fire 2 Android Development] powerpoint45:
I need someone experienced in building recovery images to help me build from source. We can use kf1 source as a base https://github.com/TeamWin/device_amazon_blaze
[Kindle Fire 2 Android Development] powerpoint45:
fstab

would this be a correct fstab for building twrp from kf1 source? Is this all I would need to change? If so could someone assist me in compiling?

# mount point	fstype device	[device2]

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

/system ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/system
/data ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/userdata
/cache ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/cache

/xloader emmc /dev/block/platform/omap/omap_hsmmc.1/by-name/xloader
/bootloader emmc /dev/block/platform/omap/omap_hsmmc.1/by-name/bootloader
/dkernel emmc /dev/block/platform/omap/omap_hsmmc.1/by-name/dkernel
/dfs emmc /dev/block/platform/omap/omap_hsmmc.1/by-name/dfs
/backup emmc /dev/block/platform/omap/omap_hsmmc.1/by-name/backup

/sdcard vfat /dev/block/mmcblk0p12
[Kindle Fire 2 Android Development] Alin1997:
Work this on my bricked KF2? (boot loop)
[Kindle Fire 2 Android Development] powerpoint45:
Did you back anything up? You can replace the system partition in fbmode. You will need a factory cable.
[Kindle Fire 2 Android Development] Alin1997:
What is a factory cable?
[Kindle Fire 2 Android Development] powerpoint45:
http://lmgtfy.com/?q=what+is+a+factory+cable
[Kindle Fire 2 Android Development] fmkilo:
aah we got a smartass on the thread
[Kindle Fire 2 Android Development] powerpoint45:
Lol. I just thought he could get more info from google than me.
[Kindle Fire 2 Android Development] Hashcode:
* PLEASE DONT TRY ANYTHING UNLESS YOU OWN AND UNDERSTAND HOW TO USE A FASTBOOT CABLE. ALSO MAKE BACKUPS OF THE STOCK PARTITIONS IN CASE OF DISASTER RECOVERY *

Regarding building a TWRP for KFire2:

I replied in a PM but thought that maybe the information could also be used by the general KFire2 population.

recovery.fstab:

This is close. But, sdcard is handled very differently on otter2 (KFire2). Try this instead:

/sdcard	datamedia	/dev/null
/data	ext4	/dev/block/platform/omap/omap_hsmmc.1/by-name/userdata
/cache	ext4	/dev/block/platform/omap/omap_hsmmc.1/by-name/cache
/system	ext4	/dev/block/platform/omap/omap_hsmmc.1/by-name/system
/boot	emmc	/dev/block/platform/omap/omap_hsmmc.1/by-name/boot
/recovery	emmc	/dev/block/platform/omap/omap_hsmmc.1/by-name/recovery

I took the liberty of removing "dangerous" partitions from the list.

Now I don't think you'll want to actually flash anything other than: data/cache/system. As it will most definitely break the signature checking on the partition.

That being said, I am working on a long-term goal of supporting both kf1 and kf2 via a 2nd-bootloader and some adjustments to the current bootloader that the kf1 uses (IE: allow it to load the signed kernel/recovery partitions which are needed for kf2)

And changes to BoardConfig.mk

Also,

Make sure you have these options set in BoardConfig.mk (some may already be there which is ok):

TW_NO_REBOOT_BOOTLOADER := true
TW_NO_REBOOT_RECOVERY := true
TW_INTERNAL_STORAGE_PATH := "/data/media"
TW_INTERNAL_STORAGE_MOUNT_POINT := "data"
RECOVERY_SDCARD_ON_DATA := true
TW_ALWAYS_RMRF := true
TARGET_USERIMAGES_USE_EXT4 := true
[Kindle Fire 2 Android Development] iytrix:
Hah. Just letting you know, semi-knowledgable people are reading this. It was my weekend though and I didn't bother to post until I could sit down at a PC and do some forum posting. If you need any help on my end, let me know, just I won't know more than you most likely although I am willing to learn. I have a KF2 and plan to buy or make a fastboot cable. I think I will make one just so I can learn, then buy one if I don't like how mine turned out. If you need me to run any software though I am willing as long as I know how to unbrick my device for certain first. Once you get into testing ROMs and using the recoveries, I know a little bit more about that. All my experience comes from flashing ROMs and Kernels and whatnot. I've used an evo 4g and galaxy s2. I also am the go-to person for friends so had some fun with random phones over the years. It's always interesting to see the types of rooting and ROMing methods, and all the odd types of dev teams you see across the board.
[Kindle Fire 2 Android Development] powerpoint45:
Thanks.I am trying to build a recovery image right now
[Kindle Fire 2 Android Development] iytrix:
Wow really? Very nice. I'm glad Hashcode was able to send you some help!

I assume the only way to do this will be a fastboot cable for now right? I wasn't looking to make/get one until this coming weekend but if you'll have something I could tinker with before, I may look up making/buying the cable sooner. I will probably have to get a new cable because I'm getting low on those cables, and the kindle one is the last "high quality" one I have left.
[Kindle Fire 2 Android Development] fmkilo:
what about dd? that might work, flash a recovery image?

---------- Post added at 01:27 AM ---------- Previous post was at 01:14 AM ----------

have you tried booting to fastboot then switching the cables, then typing boot ...img? or do you flip the switch every time you type boot?
[Kindle Fire 2 Android Development] powerpoint45:
I believe so. Whenever I tried flashing twrp It would not boot into It. I believe Amazon has it "protected", But I am sure hashcode and the kf developers can find something out.
[Kindle Fire 2 Android Development] powerpoint45:
Not sure about dd because I think amazon has it jacked up to boot into some unknown recovery location...I have tried fliping the switch and such inside fb mode but it made no difference...maybe their is some sort of timing that allows it to boot the recovery (but not likely)

Edit:

I got the source of gingerbread set up(required to make a recovery image) and I am backing it up for "when" I do something wrong.

Copying

79,233 of 145,462 files

4.6gb of 7.2gb
[Kindle Fire 2 Android Development] idontwanttobeanoob:
I have a crappy computer, im in college classes, dealing with the army and the fallout from cancer so i dont know how much help i can be, but i can do some testing if you need somebody. Just pm me and ill help as much as i possibly can.
[Kindle Fire 2 Android Development] Hashcode:
actually, you build twrp 2.3.x.x against the cm10 repo. :/
[Kindle Fire 2 Android Development] powerpoint45:
Oh God )#

...Do you know why this is down: https://raw.github.com/KFire-Android/android_local_manifest/jb-cm/local_manifest.xml

...I think I found a copy

https://github.com/KFire-Android/android_local_manifest/blob/cm-10.1/local_manifest.xml

...why does it say the branch is gb if I use jb base?If you go here the only branch is gb

https://github.com/TeamWin/device_amazon_blaze

I keep getting fetch errors. I think that manifest file won't work...
[Kindle Fire 2 Android Development] fmkilo:
I just got sent a ****ed up kf2... No usb connectivity. It might be a while before I get to work...
[Kindle Fire 2 Android Development] powerpoint45:
Sounds fun
[Kindle Fire 2 Android Development] mindmajick:
Would this help anyone?

http://builder.clockworkmod.com
[Kindle Fire 2 Android Development] awidawad:
I may be able to help build TWRP for the KF2 if it hasn't been done yet. With that said, I won't be able to test for I don't own one and apparently it won't boot if you flash it so someone else should figure this out because yet again, I don't own the device. But I know how to modify TWRP's partition mounts and options thanks to @Dees_Troy on IRC who gave me instructions for that. Currently I've built but have not released yet a recovery for KF 1st gen with full Dual-Boot support that can backup, restore, and wipe System2 Partitions..
[Kindle Fire 2 Android Development] Hashcode:
I need a tester who owns a 2nd-gen KFire and a fastboot cable who can be around on IRC freenode.net #kindlefire-dev to walk through some things I've been working on.
[Kindle Fire 2 Android Development] powerpoint45:
I can test but not today. I could tomorrow probably though... or even maybe later today about 8:30 Central time. I'm not too experienced with IRC but I can learn easily.
[Kindle Fire 2 Android Development] mindmajick:
Just ordered my factory cable. 17-20 somethings days!?

Oh well. Guess i will be in the mix later than i was hoping. Lol.. maybe ypu guys will have things figured out by then, but at least i will have the cable and not be afraid to get to work.
[Kindle Fire 2 Android Development] Hashcode:
So you're about 2 hours ahead of me here on the west coast. I normally get back on around 9pm-10pm my time which would be late for you (11pm-12pm?) Not sure if you're available then?
[Kindle Fire 2 Android Development] powerpoint45:
I can stay up all night. I dont mind.
[Kindle Fire 2 Android Development] fmkilo:
i need my newest replacement and my new fastboot cable then i'll test away. i will post whenever i get it all.
[Kindle Fire 2 Android Development] powerpoint45:
Ok hashcode. I'm ready when you are

Edit:saw your pm. Sent you invite
[Kindle Fire 2 Android Development] Hashcode:
I probably won't be around till midnight your time. Ill buzz you then.
[Kindle Fire 2 Android Development] powerpoint45:
Ok cool
[Kindle Fire 2 Android Development] jutley:
Does anyone have a link to a factory cable i too would like to order one and do some testing on kf2
[Kindle Fire 2 Android Development] fmkilo:
http://xdaforums.com/showthread.php?p=20380015#post20380015
[Kindle Fire 2 Android Development] mindmajick:
Or do a search on the amazon store. I just bought one for about $4 including shipping. Search for "kindle fire factory cable"
[Kindle Fire 2 Android Development] fmkilo:
The skorpn cables are community created, guaranteed, and are more likely to be supported than some cable from hong kong that takes a month rather than 3-4 days for delivery. That amazon. Cable.it's indistinguishable from other micro usb cables, while skorpn cables are obvious.
[Kindle Fire 2 Android Development] powerpoint45:
Hey guys! Just wanted to show you the tests that were done yesterday with Hashcode. We are testing a boot image made by Hashcode. A custom recovery was built by hashcode but we never got it to boot...

Test 1: https://www.youtube.com/watch?v=Af2QeTZSgyI&feature=youtube_gdata_player

Test 2:https://www.youtube.com/watch?v=TtT4BoHQLOM&feature=youtube_gdata_player

Test 2 boot selection https://www.youtube.com/watch?v=4fWVPBygQSA&feature=youtube_gdata_player

Test 3https://www.youtube.com/watch?v=ozr_62ssVkw&feature=youtube_gdata_player
[Kindle Fire 2 Android Development] fmkilo:
Ask if the bootmode selection is handled like kf1, because idme print shows bootmode 1 on kf2 not 4000...
[Kindle Fire 2 Android Development] mindmajick:
Very true. I will just be happy as long as the cable gets me into fastboot mode and i can do a backup. Unfortunately the waiting part sucks.

I'm still new to the idea of being able to use a cable to fastboot so its probably good for the community that i have to wait :p
[Kindle Fire 2 Android Development] fmkilo:
This was a good idea, but the bootmodes are as follows:

1 system

2 gray triangle

3 recovery

4 fastboot

5 usb boot (looks like fb)

6 gray triangle

7 (only for the new secondary bootloader) button selected recovery
[Kindle Fire 2 Android Development] powerpoint45:
Not sure what the deal is with the gray triangle
[Kindle Fire 2 Android Development] Thepooch:
That first test looked like it could have made it to fastboot dunno but the rest looked a bit tense.
[Kindle Fire 2 Android Development] fmkilo:
that wasnt supposed to happen...
[Kindle Fire 2 Android Development] powerpoint45:
We got mostly all working including recovery

Bootloader

Test 4:https://www.youtube.com/watch?v=fLs7OZPuXgg&feature=youtube_gdata_player

Recovery+bootloader

Test 5:https://www.youtube.com/watch?v=8aRCsJHg-T8&feature=youtube_gdata_player
[Kindle Fire 2 Android Development] powerpoint45:
Hashcode is now working on cm10. Ist build did not boot /:
[Kindle Fire 2 Android Development] mindmajick:
So bootloader and recovery are done?!
[Kindle Fire 2 Android Development] powerpoint45:
We just got jellybean working for kf2

Uploading vid now

Everything seems to be working smooth but just a few bugs in rom
[Kindle Fire 2 Android Development] powerpoint45:
Moment of truth

https://www.youtube.com/watch?v=6w_xmX29CFk&feature=youtube_gdata_player
[Kindle Fire 2 Android Development] EmaTheLegend:
good work! Waiting for the complete guide ;)
[Kindle Fire 2 Android Development] iytrix:
Hey, not sure if this question relates to the KF2 or JB in general, but is that the general JB/CM10 setup?

I remember when I had a honeycomb tablet the nav bar and status bar were one in the same which I loved, is that not true on tablets for JB or CM?

If so, could we make a "fix" for that eventually?

Great work though! Can't wait to see the files and whatnot when you and/or hashcode are ready to post!
[Kindle Fire 2 Android Development] EmaTheLegend:
if you need testers I have an italian KF2 (OS Versione 10.2.4 with root) :)
[Kindle Fire 2 Android Development] Jowyn:
Wow! Congratulations to both of you (and all who were involved)!

Been following this thread for a few days, I'm amazed you had such a result that quickly! :good:

I have a rooted (French) KF2 with 10.2.4 installed, but no factory cable: willing to test as well if possible ;)
[Kindle Fire 2 Android Development] jutley:
So do we all need to buy a factory cable to able to get recovery on out kindle fire 2? or will we be able to flash it some other way? should we start buying factory cables to prepare for flashing recovery?
[Kindle Fire 2 Android Development] fmkilo:
I would say you should have a factory cable on hand, but if everything is fixed before we release it, you should never need it. You could probably do this all from within rooted stock os with dd. That being said,

WHEN MODIFYING A DEVICE THAT YOU CANNOT GET TO FASTBOOT WITHOUT A FACTORY CABLE IF SOMETHING GOES WRONG, YOU SHOULD HAVE A FASTBOOT CABLE.

That being said, you need one to be safe. Hashcode may release the secondary bootloader with temporary fastboot, but as he said, that may hurt more than help users in the long run.
[Kindle Fire 2 Android Development] Jowyn:
Now one thing is for sure: this message was clear!

:good: :D
[Kindle Fire 2 Android Development] RevMike:
Hey, does anyone know if I should bother getting a factory cable? I'm not sure.
[Kindle Fire 2 Android Development] MisterSir69:
Read the post above. Im sure if you here you plan to do other things other then just load this when its released, skorpn Offers a nice cable for a great price, I suggest buying one anyways, never know when you will need it.
[Kindle Fire 2 Android Development] powerpoint45:
Just want to say a few things:

1: yes, you will need a factory cable

2:stats on ROM:

*pretty good battery life

*no video yet (working on it)

*no audio yet (working on it)

*no adb or USB mass yet (biggest problem. Hash wants to fix it before release)

3:We will probably be working on the rom later today

4: Sent from cm10.1 on kindle fire 2
[Kindle Fire 2 Android Development] jutley:
Ok is this one ok bargain price aswell

http://www.amazon.co.uk/EARLYBIRD-S...SG/ref=sr_1_13?ie=UTF8&qid=1358197412&sr=8-13
[Kindle Fire 2 Android Development] MisterSir69:
You get what you pay for, I have seen several complaints out of these I would suggest spending the extra money and buying one from scorpn
[Kindle Fire 2 Android Development] jutley:
If it does the job i would save money it states its a factory cable people are making them themselves whay wouldnt this one work when i get it i will try it and if it works i will report back if sucesfull.
[Kindle Fire 2 Android Development] fmkilo:
SkOrPn would more likely replace your cable if it comes faulty. His are also higher quality, and he takes pride in his work.
[Kindle Fire 2 Android Development] jutley:
I understand that the seller on amazon will also replace the cable or refund your always covered with amazon but i do apreciate what you are saying i am just a tight arse thats all and i want to save money.
[Kindle Fire 2 Android Development] powerpoint45:
Last night we fixed the following:

*audio

*adb

*MTP

*video (not HD)

*boot loader bug Fix's
[Kindle Fire 2 Android Development] willieboya:
Gr8 to hear good progress is being made. Has the kindle fire 2 got native support for OTG with a sixaxis control pad or is it only when custom roms are implemented?
[Kindle Fire 2 Android Development] jutley:
Amazing work hope for a release when its ready of coarse thank you for all your effort into this for us all.
[Kindle Fire 2 Android Development] powerpoint45:
Thank hashcode
[Kindle Fire 2 Android Development] powerpoint45:
Not sure by I can test at home
[Kindle Fire 2 Android Development] Hashcode:
I would need the name/model of the control pad to enable it in the kernel. OTG works to some extent, but is still somewhat of a work-in-progress. Certain devices need powered USB hubs to operate and others don't work at all.
[Kindle Fire 2 Android Development] willieboya:
It is a standard ps3 controller. I was a bit naive when I bought my kindle in assuming it had bt. I should have checked lol. Anyway that's why I'm going down to otg route. While I have your attention, how would I go about starting to learn about everything android? I want to start learning to program so I can be of more assistance in these forums in the future. Are there any really good books I can go have a read at?
[Kindle Fire 2 Android Development] Hashcode:
Release notes / instructions are up for installing CM10.1 on the KFire2:

http://xdaforums.com/showthread.php?t=2100963
[Kindle Fire 2 Android Development] mindmajick:
Check out xda university:

http://xda-university.com/
[Kindle Fire 2 Android Development] powerpoint45:
I wish that was a real college :P
[Kindle Fire 2 Android Development] mindmajick:
Me too bro! Me too.
[Kindle Fire 2 Android Development] KindleFireGuy:
how did you make a swich on and off factory cable
[Kindle Fire 2 Android Development] powerpoint45:
I just put a switch between pins 1 and 4
[Kindle Fire 2 Android Development] fmkilo:
just an interrupt within the general 1-4 connection...
[Kindle Fire 2 Android Development] idontwanttobeanoob:
Xdacollege is pretty awesome. Been checking it out. Currently working on an actual degree in computer and software programming with a focus on linux operating systems. So I'm hoping to be making some pretty sweet stuff myself
[AT&T Samsung Galaxy Note I717] scoutsdoitbetter:
I had asked this in a different part of the forums but then realized this is probably where it belongs. I'm looking for a clockwork/steampunk clock and weather widget. I have yet to find one I like. I downloaded UCCW and tried messing with it but I'm not very good at it. Is there anyone out there that has designed their own or know of any?

Also how would I get different icons without using a whole theme or downloading a new launcher? I'm running on the Liquid smooth JB ROM and I like the included launcher.
[General Questions and Answers] ArcSony:
I have bought two dell aero from ebay, got android 1.5.

I have read on this website about an update of aero to 2.1 (Eclair),

Please help me how to get the update???

Pls pls pls help me guys??:confused:
[General Questions and Answers] gurbagri:
we people are discussing about this problem at this url

http://xdaforums.com/showthread.php?t=2093769

maybe you can join...
[Sony Xperia S, Acro S, Ion] opticup:
hey i'm new here :)

basically atm i've been trying to get cm10 onto my xperia s i'm able to do all the steps except flashing the kernel whihc requires fastboot, ive tried about everything i've read online, using vol+ while plugging the usb in and flashtool. for some reason my phone just never goes into fastboot mode and no blue led occurs, instead it either just boots normally or goes straight into charge! i don't know what else to do, i'm sure theres something i must be missing, any help is much appreciated!!!! thanks
[Sony Xperia S, Acro S, Ion] RISHI RAJ:
If blue light doesnt appear it means u can't unlock bootloader & therefore kernels
[Sony Xperia S, Acro S, Ion] Toledo_JAB:
From the dialer screen enter*#*#service#*#*

Should get service menu, click on configuration, read at bottom if bootloader can be unlocked. If NO then no access to fastboot for that phone.

~Jaramie

sent by my ION

Xperia SOFT-BRICK Recovery Thread
[Sony Xperia S, Acro S, Ion] alinuredini:
dial *#*#7378423#*#*
[Sony Xperia S, Acro S, Ion] Toledo_JAB:
Yep that works also. They are the same thing. If you spell "service" with the dialer you get "7378423“. There is also one for *#*#info#*#*

~Jaramie

sent by my ION

2012Xperia SOFT-BRICK Recovery Thread
[Sony Xperia S, Acro S, Ion] opticup:
dam, thanks for that i thought there would be a way to go around it :\ I guess i'll have to stick with stock for now. thanks for your help! :)
[Sony Xperia S, Acro S, Ion] isse26:
Xperia S Won't stay in Fastboot mode

Hi, I'm trying to instal clockworksmod recovery on my rooted, unlocked xperia S but I can't get to stay in fastboot mode. I've tryed both with and without usb-debugging and an both windows 8-64 bit and vista-32 bit. I wonder what to do and if anyone have ore can make a N00B tutorial on this.

If you need more info I would gladly giv it to you.

Thank you in advamced and please exuse my bad english.

/ Isak Ågren
[Sony Xperia S, Acro S, Ion] cities516:
Install flashtool

Go to C:/flashtool/drivers

Run usb_drivers.exe

Select your phone's driver, flashmode driver and fastboot driver.

This method should work on vista PC.