yashsingh1/xdaforums huggingface dataset:
[Kindle Fire 2 Android Development] fmkilo:
adb should work in recovery, but some people (Powerpoint45) report that they cannot see the device on either lsusb or adb devices when connected in recovery. I myself have adb access in twrp. Here is a pastebin of command line output for my device. http://pastebin.com/LxLw41AB If that does not work, and you cannot boot into system, You are going to have to restore stock, and do this all again.

BTW: I would like everyone to state whether or not they have adb access in twrp, paste the output of adb devices, lsusb and adb shell please. This can be done the first time you boot into twrp, and I certainly still have adb in twrp, been running cm10.1 on it since before it was released.
[Kindle Fire 2 Android Development] jutley:
so could usb mounting be fixed in twrp possibly? or is it a no go. I will try adb whilst i am in twrp and see what happens.
[Kindle Fire 2 Android Development] RevMike:
adb works in recovery for me.

$ adb devices
List of devices attached
0123456789ABCDEF recovery

$ adb shell
~ # ls -l
drwxr-xr-x 2 root root 0 Jan 16 20:58 boot
drwxr-xr-x 2 root root 0 Jan 16 20:58 bootloader
drwxrwx--x 5 system cache 4096 Jan 16 20:30 cache
drwxrwx--x 26 system system 4096 Jan 16 14:59 data
drwxr-xr-x 2 root root 0 Jan 16 20:58 datadata
-rw-r--r-- 1 root root 2272 Jan 1 1970 default.prop
drwxr-xr-x 10 root root 1140 Jan 16 20:58 dev
drwxr-xr-x 2 root root 0 Jan 16 20:58 emmc
drwxr-xr-x 2 root root 0 Jan 16 20:58 etc
-rwxr-x--- 1 root root 105292 Jan 1 1970 init
-rwxr-x--- 1 root root 1679 Jan 1 1970 init.rc
dr-xr-xr-x 83 root root 0 Jan 1 1970 proc
drwxr-xr-x 2 root root 0 Jan 16 20:58 recovery
drwxr-xr-x 4 root root 0 Jan 1 1970 res
drwx------ 2 root root 0 Jan 15 17:06 root
drwxr-x--- 2 root root 0 Jan 1 1970 sbin
drwxr-xr-x 2 root root 0 Jan 16 20:58 sd-ext
drwxrwx--- 13 media_rw media_rw 4096 Jan 16 17:58 sdcard
drwxr-xr-x 13 root root 0 Jan 16 20:58 sys
drwxr-xr-x 3 root root 0 Jan 1 1970 system
drwxr-xr-x 2 root root 0 Jan 16 20:58 tmp
-rw-r--r-- 1 root root 272 Jan 1 1970 ueventd.goldfish.rc
-rw-r--r-- 1 root root 1608 Jan 1 1970 ueventd.omap4430.rc
-rw-r--r-- 1 root root 5075 Jan 1 1970 ueventd.rc
~ #

BTW I'm working in Mac OS X, so the device driver issues that people have with windows aren't a problem for me.
[Kindle Fire 2 Android Development] fmkilo:
I doubt it for now, and don't count on it.

I run a distro of ubuntu linux known as backtrack.

and I have run across multiple people who don't have adb. Thank you for telling me I'm not crazy
[Kindle Fire 2 Android Development] jutley:
Is usb file transfer working once cm10.1 is booted i did not test it?
[Kindle Fire 2 Android Development] powerpoint45:
Wow. I woke up and my rom was still compiling then after school it had a memory exhasted error. I just realized what was wrong with my ubuntu boot error message. It was because swap was not mounting properly due to bad uuid in fstab. So I just fixed fstab and I have no error on boot of ubuntu and swap is now working properly! Now I will compile again
[Kindle Fire 2 Android Development] Jowyn:
OK just a few remarks, partly to answer my own question :P

The commands mentioned to backup boot, recovery and system did not work for me, although I have a rooted kindle: it systematically gave me a "permission denied error". What I did is first copy these files to a subdirectory of /sdcard, and then, from this folder, the adb command worked.

In the end, the extracted files are exactly the same as what you get when following this thread (backup.sh enclosed file), which worked out of the box for me.

Didn't solve the non-responsive "fastboot devices" yet, but downloads are in progress and I'll try to go through the process in spite of it.
[Kindle Fire 2 Android Development] powerpoint45:
Only mtp not usb mass storage (just like stock firmware)
[Kindle Fire 2 Android Development] mindmajick:
Hashcode,

You made the news bro.

http://liliputing.com/2013/01/trans...ull-android-tablet-with-cyanogenmod-10-1.html

Edit: omg! Just realized how easy it is to get into fast boot mode without a cable.
[Kindle Fire 2 Android Development] powerpoint45:
And my YouTube video on the page lol
[Kindle Fire 2 Android Development] willieboya:
Please advise on how to do this without cable. Starting to get impatient lol
[Kindle Fire 2 Android Development] jutley:
@hashcode do you plan on getting a kf2 to continue rom development on this device?
[Kindle Fire 2 Android Development] restlessrob:
We should all club together and get hashcode a kfhd
[Kindle Fire 2 Android Development] powerpoint45:
He has a kindle fire hd 8'. He doesnt have a kf2 though
[Kindle Fire 2 Android Development] fmkilo:
the person you should be asking is me.

I am the one who made him realize how easy this was.

If you want this, come to freenode irc #kf2-dev

bring a linux distro with adb and fastboot already setup and adb working on a rooted kf2.
[Kindle Fire 2 Android Development] Jowyn:
Many thanks again to all involved, I could go through the whole process successfully.

All didn't go exactly as announced (no answer to "fastboot devices", etc.), but there is far enough info to do the job.
[Kindle Fire 2 Android Development] jutley:
Well is anyone going to develop this ROM further?
[Kindle Fire 2 Android Development] RevMike:
An EIGHT FOOT Kindle Fire HD?! Wow. That is not very convenient to carry around, but can you imagine the battery life?
[Kindle Fire 2 Android Development] fmkilo:
Powerpoint45 is working on a rom right now, He had to fix a swap mount issue, and he should test it before the night is out.
[Kindle Fire 2 Android Development] rockystar000:
Just wondering if i load just the recovery and I not cm10 does everything in twrp work like normal or a is it still limited. Haven't decided about the custom rom yet cause of i like to amazon instant video but I i know I want the recovery
[Kindle Fire 2 Android Development] idontwanttobeanoob:
Hey guys i got pretty much everything up to twrpp flashed, however when i tried to enter recovery it just hung. now im not sure how to get out of the blue kindle fire screen that says its booting... anyone got any ideas

nvm hold down power, im an idiot
[Kindle Fire 2 Android Development] RevMike:
Volume?

Hey....

Using this rom, how do people set the volume when listening to Google Music, for example?
[Kindle Fire 2 Android Development] powerpoint45:
Redownload recovery.img and reflash it. Probably bad download or compair md5
[Kindle Fire 2 Android Development] speeddemon2008:
These instructions are just a tad over my head. I have Ubuntu dual booted on my laptop, but have never really done much with it.

Usually I can figure out things well enough, but not currently. Maybe I just need to boot into ubuntu and start looking for things that are said in this thread...

Eh, for tonight I will just attempt rooting. (I actually have a WP7 phone, with a custom 7.8 rom (which really inst released yet from MS for some odd reason), so its not like I am inept to these things, im just not a linux user)
[Kindle Fire 2 Android Development] MisterSir69:
So if we are on windows 7 we should be using these commands to perform the backup? Should it be entered as one line or 6 different lines?
[Kindle Fire 2 Android Development] mindmajick:
Very true. Especially since i haven't flashed this yet :p
[Kindle Fire 2 Android Development] iytrix:
Bug Report!

I think I entered a state of deep sleep or something similar as I have never had deep sleep happen to me. I set my device on my bed after just using it. My friend picked it up and asked how to turn it on, I said the power button, he informed me it didn't work, sure enough, nothing. Pressed it a bunch, nope, Held it down, still nothing. I plugged it in to the wall even though it had 65% battery when I last used it, still nothing. Pressed the button, held it, nothing while plugged in. After that I set it down, went on my PC, showed him stuff. Looked at the kindle, unplugged it, replugged it in, held the power, anddd it booted up fine. still had 65% battery about on it. Not sure what it was but....may want to watch out for it?
[Kindle Fire 2 Android Development] fmkilo:
You can absolutely just stop after installing twrp. The freedom boot.img is based off of the stock kernel, and can boot stock. Twrp is never limited in this. you keep the same twrp throughout unless Hashcode releases another one.

---------- Post added at 09:56 PM ---------- Previous post was at 09:53 PM ----------

definately six different lines

---------- Post added at 09:57 PM ---------- Previous post was at 09:56 PM ----------

settings > sound

---------- Post added at 10:01 PM ---------- Previous post was at 09:57 PM ----------

If you can join us in irc, I'm walking some users through the process freenode.net #kf2-dev

It's actually quite easy.
[Kindle Fire 2 Android Development] speeddemon2008:
Maybe another night (or later tonight). I still need to make my fast boot cable. But I have successfully rooted my kf2 now.
[Kindle Fire 2 Android Development] fmkilo:
I can walk you through it with out a cable, as I still don't have mine. I have successfully gotten two other people on cm without a cable.
[Kindle Fire 2 Android Development] speeddemon2008:
Ok then. Ill boot up Ubuntu.

Which IRC program do you suggest?
[Kindle Fire 2 Android Development] mindmajick:
Guys- this is so much easier than it seems.

I hemmed and hawed about doing this but it was cake.

You can trust fmkilo for sure guys
[Kindle Fire 2 Android Development] speeddemon2008:
Actually I think it is easy. I was just confused about adb in general. Makes a bit more sense now.
[Kindle Fire 2 Android Development] fmkilo:
a million thanks for all this rep I just got.
[Kindle Fire 2 Android Development] jutley:
quadrrant is reporting the cpu is clocked in at 800mhz of a capable 1.2ghz is the true info.

Sent from my kindle fire 2 CM10.1 Jellybean 4.21
[Kindle Fire 2 Android Development] mindmajick:
Quadrant is garbage. So are most benchmark tools for android.

Look at this:
[Kindle Fire 2 Android Development] restlessrob:
anyone tried this on the 7" hd yet?
[Kindle Fire 2 Android Development] speeddemon2008:
Thanks to fmkilo, I am now running cm10!
[Kindle Fire 2 Android Development] Jowyn:
Quick question: does the "Reboot -> recovery" power menu option work for you?

Is it a known incompatibility between CM and TWRP? Couldn't find any answer on the web.

Or is it a limitation of TWRP, as I can't find a reboot into recovery option in it?
[Kindle Fire 2 Android Development] jutley:
We love this rom so much we want more more more.
[Kindle Fire 2 Android Development] fmkilo:
hash needs to fix that, i just haven't seen him since he posted this.
[Kindle Fire 2 Android Development] mindmajick:
That guy is EVERYWHERE! Dude is the king of getting cm on ANY device. Seems to be on kf1 forums a lot.

Talk about a lot of plates spinning at one time!

Thanks again hashcode!
[Kindle Fire 2 Android Development] RevMike:
In regard to power menu->reboot->recovery not working

I would suggest that the priority 1 issue should be the HD codec. Someone else had a possible "deep sleep" problem. All the other issues that I've seen are minor nuisances.
[Kindle Fire 2 Android Development] fmkilo:
He actually has to have someone from TI build him a piece of closed source software for hd to work... Please remember that this rom build is basically RC1... it had only booted for 4 days before release.

---------- Post added at 07:57 AM ---------- Previous post was at 07:54 AM ----------

He did write firefirefire after all... I assume that he's getting the ducati (that piece of closed source) to work on his hd, then he'll come and tweak it for us...

But, he is everywhere as you said, and he also has a life to manage while being a dev...
[Kindle Fire 2 Android Development] mindmajick:
Wow. Now THAT'S power. Ti gonna build him closed source stuff!

I love this guy. For such a small dev community i have met some amazingly capable people here. Personally, i like a small community. The chaos in the other forums seems nonexistent here.

Nothing against my sgs2-skyrocket dev buddies... But I'm so impressed with everyone here. I think we even have the best noobs! :p
[Kindle Fire 2 Android Development] bryanchapman9999:
This looks great.

I understand no HD codecs at the moment - would that affect games such as Spiderman and need for speed downloaded from the amazon store?

I would love to give this a go, but my boys would not be too happy if their spiderman game disapeared from the 'big screen' :D

Loving this device

Bryan
[Kindle Fire 2 Android Development] inchoate:
what happens if you use the quickboot app from the market to try to boot to recovery?
[Kindle Fire 2 Android Development] Jowyn:
Same as with the power menu, but thanks for the try ;)

As per the bug corrections, I would just let devs handle priorities as they wish: it's their time and efforts after all, isn't it?

Thanks fmkilo for the feedback ;)

Just to give additional feedback: I realized that DSP manager doesn't seem to work: well the app works just OK, but there is no impact on sound - and no logcat can be seen on my device. Just tested headset mode though, don't think my colleagues would appreciate me testing the speaker :D

Music volume EQ, however, works perfectly well...
[Kindle Fire 2 Android Development] fmkilo:
He is at a standstill, they don't want to build it for him. He got lucky with kf1 and they built it for him. but He it seems that he always gets stuck at the part where they want some kind of license... they will build for motorola because moto spends millions on the chips... it might be a while without hd...

All I'm saying is it's not just something he can fix in a minute...
[Kindle Fire 2 Android Development] idontwanttobeanoob:
Totally understand, is there anything as a community we can do to help on that front? Or is it a no go without their help? Flashed this all without the cable and it is truly amazing. I don't think I could stand going back to stock.

Hashcode, fmkilo, and powerpoint45 you all are truly awesome four this.

On a side note...

Had a few issues with deep sleep as a previous user noted, but nothing that extreme, so long as I was patient with it it eventually woke up.

A few issues with screen size on websites where it would cut things off. Most noticeably on twitter where it would cut off the option to make a new tweet.

That's it for now, can anyone point me in the direction of where and how to do log cats so that I can be more assistance in debugging?
[Kindle Fire 2 Android Development] jutley:
Awesome first ROM I have no standby issues and no crashes nothing it just works as it should if I have a problem will report it apart from HD video and headfone jack not working great work

Sent from my kindle fire 2 CM10.1 Jellybean 4.21
[Kindle Fire 2 Android Development] idontwanttobeanoob:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/15 1st relea

One small issue I've also noticed is that the dock piles all of the apps that were in it on top of one another if you change the rotation. You can easily redrag the, to where you desire once it happens.
[Kindle Fire 2 Android Development] mindmajick:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/15 1st relea

Ouch. Major bummer. Guess i can restore to stock when i need netflix :(

I wouldn't even care if it had no hd support. I am very disappointed in TI :(

If the stock notifications worked properly i wouldn't even care that much. But amazon obviously doesn't care if i get my email on time.

Ok. Done whining. I still appreciate the hard work of hashcode and by no means wish to belittle his accomplishment. Just needed to vent about corporate amerika
[Kindle Fire 2 Android Development] fmkilo:
headphone jack works,,, but you have to wait a couple of seconds for it to start, and you have to insert it with something playing.

---------- Post added at 03:27 PM ---------- Previous post was at 03:21 PM ----------

was reading the first page of the thread and noticed this @mindmajick how is your fbcable free cm10.1 kf2?
[Kindle Fire 2 Android Development] iytrix:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/15 1st relea

Yeah, same. It's happened twice now for the deep sleep type thing and the last time instead of freaking out I just set it down and after a few minutes it would boot up again. Not sure what's up but it hasn't disrupted anything while I'm using it so it's a minor issue to me for now.
[Kindle Fire 2 Android Development] mindmajick:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/15 1st relea

Actually... I'm in trouble. Knew I should have waited for my fast boot cable. There are issues w twrp booting.

Of course I made and restored backups OK.. but I was messing w system files on the stock ROM and made a soft brick.

I figured 'no biggie, I will boot into twrp and restore... its the only reason i felt safe. Unfortunately for me now I got a soft brick and no way into fast boot to repair.

And I ordered my cable from hong Kong... sigh. Maybe sometime next month I will be back :banghead:

edit: i don't blame anyone but myself btw. OP instructed to have a fastboot cable on hand.
[Kindle Fire 2 Android Development] jutley:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/15 1st relea

Can't you just reboot fastboot reboot in terminal get into fastboot manually without cable and reflash files.

Sent from my kindle fire 2 CM10.1 Jellybean 4.21
[Kindle Fire 2 Android Development] mindmajick:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/15 1st relea

How would you suggest I get into terminal without being able to boot into a ROM or twrp?

Edit: that's two.
[Kindle Fire 2 Android Development] iytrix:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/15 1st relea

I haven't bricked my kindle thankfully but I'm pretty sure you have to adb into the device to set it into fastboot mode, and I don't think you can when it's bricked. Fastboot cables are nice because no matter what (maybe not no matter, I'm sure anything is possible) you can plug it in and go into fastboot to fix your stuff. The soft fastboot works to get recovery and ROM on because nothing is broken. You have a healthy root with a healthy rom and you can trick how it boots up. I'd rather a dev confirm what I said, but I'm pretty sure majick is SOL until that fastboot cable happens depending in the brick :/
[Kindle Fire 2 Android Development] mindmajick:
100% correct. I was screwing with the settings.apk on the stock rom.. playing around foolishly without a backup.

Have no idea why TWRP wouldnt let me back in though. I did 2 backups from there and two restores just to make sure I felt safe... The only time it didnt work was after the soft brick... which I KNOW how i did. I put a bad settings.apk in place at my own peril. I didnt screw with the recovery partition at all and no messing around in adb or fastboot once things were backed up and rooted. Then no boot.

Again. It's my own darn fault :D

If I had adb I'd be set... but no adb, no rom, no recovery = mindmajick needs a fastboot cable. Arrival time from hong kong is Feb 7th thru 28th.

Everyone buy your cable from SKORPN. You'll get it in days. I'm a broke-arse so i can't afford to order the cable twice. I still may buy the cable from him if I get the money sooner. I might have to drop a new ROM for the Skyrocket and hope I get donations lol. Or maybe SKORPN will give me one for the advertising ::hysterically laughing::
[Kindle Fire 2 Android Development] fmkilo:
by that logic, I should have 4 SkOrPn cables by now.
[Kindle Fire 2 Android Development] mindmajick:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/15 1st relea

That IS true
[Kindle Fire 2 Android Development] speeddemon2008:
Why not just make your own? Doesn't have to be pretty. I could probably make a functioning one in like a couple minutes. I don't know Linux, but I can solder well.
[Kindle Fire 2 Android Development] mindmajick:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/15 1st relea

Lol. I know Linux well. Just not confident in my soldering abilities and don't want to fry my toy

Edit: just gonna scrape up the $$ for skorpn cable
[Kindle Fire 2 Android Development] fmkilo:
my homemade fbcable fried 2 kindles
[Kindle Fire 2 Android Development] fmkilo:
I suggest everyone try both available roms before settling on either of them.. Powerpoint45's rom is just a rebuild of this one but it has tablet mode instead of phone mode. ppt's rom here
[Kindle Fire 2 Android Development] powerpoint45:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/15 1st relea

And sgt7 will be implemented soon
[Kindle Fire 2 Android Development] Jowyn:
Just googled "tablet mode" to know a bit more on this, but what would be the advantages of tablet mode in your views?

I found:

unified notification & navigation toolbars at the bottom

display optimizations

specific functionalities in some apps (tabs, etc.)

Are there any others?

Actually I'm new to tablets, and I'm very used to CM10.1 "phone mode" on my zte blade, so the layout and functionalities were really like "normal" to me...
[Kindle Fire 2 Android Development] Antoine.WG:
OK, either I'm doing something stupid or there is something different about my KF2. I just got my fastboot cable today and I'm able to get into fastboot but my screen is different from what is described in the initial post. I see "fastboot" in a large red font at the top of the screen and below it are a red and a green indicator light, with the red one blinking periodically. Windows recognizes it as an adb device, not a fastboot device but neither "adb devices" or "fastboot devices" show anything connected. I'm already rooted and adb recognizes it perfectly when booted normally. On top of that, the adb pull commands in the initial post all fail saying it's not a file or directory, despite being able to navigate to the files from a shell. What the heck am I doing wrong?
[Kindle Fire 2 Android Development] Jowyn:
First off, your fastboot screen is perfectly correct.

If "fastboot devices" doesn't appear, it's not necessarily an issue: two of us had the same behaviour, but when we entered the "active" fastboot commands from the OP, they worked correctly.

As per the adb commands, where do you run them? You should run them from your windows command line tool, not from adb shell.

Note that I had a permission issue while running them: apparently adb couldn't access them, so I first copied the files to another location on the KF2 (somewhere on /sdcard), via Terminal emulator, and then I applied the adb pull on these files.
[Kindle Fire 2 Android Development] iytrix:
fastboot screen is normal, although I think the green light should be blinking, not the red.

For the rest, wait for one of the real devs to respond. Most likely they'll say join the IRC but, the fastboot screen is normal, albeit the red light thing....
[Kindle Fire 2 Android Development] Antoine.WG:
I haven't tried anything past backing up yet, as I was a little hesitant to do anything else until I got a good backup.

I had the same idea and I actually just finished copying them to /sdcard and pulling them off that way a few minutes ago.

Sorry, it's been a long day and my brain isn't working as well as it should be a this hour.
[Kindle Fire 2 Android Development] Jowyn:
Oh good one, read a bit too quickly: indeed the green light was blinking on my device, too.
[Kindle Fire 2 Android Development] iytrix:
Yeah, not sure what the light exactly means. If it's an error with the PC connecting, fastboot itself, or whatnot. I'm sure hashcode or someone will know what it means and be able to help them out. I just figured that it does mean SOMETHING is abnormal with the setup. Hopefully he gets it fixed soon, this ROM is so much better than stock!
[Kindle Fire 2 Android Development] Jowyn:
Indeed, often red <=> no good :D

@Antoine.WG: just in case, as you said you had a long day: make sure you check your md5sums before flashing ;)
[Kindle Fire 2 Android Development] jutley:
Loving this rom hope to see a update soon .