yashsingh1/xdaforums huggingface dataset:
[Kindle Fire Q&A, Help & Troubleshooting] soupmagnet:
Yeah, umm...it's not that simple. The device needs to be in USBboot mode first. That's where the "shorting trick" comes in.

http://xdaforums.com/showpost.php?p=31141279
[Kindle Fire Q&A, Help & Troubleshooting] hemo-ali:
OOOOOH no I asked the kf owner and he told me that the kf factory cable is messed so

can I use the another method

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

with my lg optimus black cable??!!
[Kindle Fire Q&A, Help & Troubleshooting] hemo-ali:
when I tried

http://xdaforums.com/showpost.php?p=20619033&postcount=11

I got new thing
[Kindle Fire Q&A, Help & Troubleshooting] hemo-ali:
Also trying this

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

Getting out of fastboot mode part

I tried

I got the output 3 dots (...) and I'm still waiting for any new thing

this tries after let battery drain and connect the kindle to usb

Please Help
[Kindle Fire Q&A, Help & Troubleshooting] hemo-ali:
Oh I get this now

and the power button is on and screen is black??!!
[Kindle Fire Q&A, Help & Troubleshooting] hemo-ali:
when I plugged it out of the computer then plug it in again the power button is green for 2 seconds then it turns off then immediately it turns on with orange color and screen is off what does this mean??
[Kindle Fire Q&A, Help & Troubleshooting] hemo-ali:
OH it worked it booted now how can I root it and install the market??
[Kindle Fire Q&A, Help & Troubleshooting] soupmagnet:
Do you have recovery installed?
[Kindle Fire Q&A, Help & Troubleshooting] hemo-ali:
how to check it's not my own one but I worked on it before 1 year and installed recovery

how to check now??
[Kindle Fire Q&A, Help & Troubleshooting] hemo-ali:
can I use this

http://rogueclown.net/node/37
[Kindle Fire Q&A, Help & Troubleshooting] soupmagnet:
First, you need to read this:

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

You're getting a lot of information from various sources with no idea what to do with it.

And when you're ready:

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

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

All the information you're looking for can be found in those posts. I suggest you read through them several times before you attempt anything. If there is something within those guides that you don't understand, you may want to Google search that particular subject or seriously reconsider whether or not you should be doing this in the first place.
[Kindle Fire Q&A, Help & Troubleshooting] hemo-ali:
I only mean should I use the normal tutorials now or according to my case there are somethings I shouldn't do?
[Kindle Fire Q&A, Help & Troubleshooting] soupmagnet:
Use the information I've given you. Those guides were written by someone who visits these forums every day and sees all the different problems people face on a regular basis. He keeps his information updated and valid, and you can trust that it's accurate. Unlike others that I've seen.
[Kindle Fire Q&A, Help & Troubleshooting] hemo-ali:
Okay I will try
[Motorola Photon Q 4G LTE] arrrghhh:
Buglist​

**If you had an old version of TWRP installed before, MAKE SURE you 'Restore Defaults' under 'Settings' in TWRP**

Clock is off. Not sure why, seems unfixable.

Cannot use physical keyboard to type in Recovery...Obviously the on-screen kb works fine.
[Motorola Photon Q 4G LTE] arrrghhh:
Directions:

** You must be unlocked in order to do this.**

2 choices after rooting. You can download TWRP Manager from the Play Store, menu, TWRP install & wait... (I do not provide support for this app FYI) or:

1. Reboot into fastboot (adb reboot bootloader, or turn off device, hold power + cam when booting and select 'fastboot')

2. Once in fastboot,

fastboot flash recovery twrp-2.7.1.2-asanti_c.img

3. Hit power - device turns off. Hold vol up + power, then release power when the screen comes on - continue holding vol up. When you see the moto logo dim a bit, release vol up. You should now be in TWRP!
[Motorola Photon Q 4G LTE] KitsunePaws:
Works great! I used Goomanager

Edit: Works as in installs and boots. Touchscreen works, I have not tested the actual functions as of yet.

Tried to do a backup to external SD, it seems to have done it but after the loading bar finished I got the initial blue and black logo and couldn't get out of it. Had to 3 button reboot. Can't find the backup.
[Motorola Photon Q 4G LTE] arrrghhh:
Hrm. I'll look into that... I think I've only done a backup to internal SD as my external is ridiculously full.

Edit - just did a backup of boot to the external, worked just fine. Perhaps wait a bit? How long did you wait, and what were you backing up?

Edit 2 - ok, perhaps I jumped the gun. "Worked" doesn't quite describe it... I have the TWRP folders for the backup, but there's no backup file in there. Strange... Perhaps because I backed up only boot. I'll try again with less junk on the card and do a full backup...
[Motorola Photon Q 4G LTE] KitsunePaws:
Just went with the default settings, I didn't wait that long after the progress bar went away it went back to a team logo, I let it sit for about a minute and then reset it. Trying again.

Ran through it again, it took a while backing up /data. (398 megs). The bar filled all the way up though it still said "... Backing up /data" Sitting at the teamwin logo again, it's been on this image for 4 minutes at this point (Went to the logo at 6:09). ( Now it's blinking. And now it reset. These could have been caused by my touching the screen. I think the logo is getting "stuck" ). Is the progress bar based on a timer or events?

Also, it made the TWRP folder on the internal SD regardless of the fact I told it external. I did notice that the backup path during said "/sdcard" and not "/mnt/external1". The folder does not contain a backup.
[Motorola Photon Q 4G LTE] arrrghhh:
Indeed.

I am in the same "stuck" situation as you now. For the meantime, it seems backing up to external SD does NOT work... I tested backup and restore, but only to internal SD. I saw that my external didn't have enough space, and wrote it off as enough... Apologies for not thoroughly testing that.
[Motorola Photon Q 4G LTE] KitsunePaws:
No worries, that's what makes XDA the place that it is ^-^. If I expected perfection I would buy an iPh.... couldn't do it with a straight face.
[Motorola Photon Q 4G LTE] arrrghhh:
OK, the issue with external SD should be fixed. However, I don't have the ability to push the changes to GooManager, so you'll have to flash manually until it's updated on GooManager (I'll let you know ;))

Edit - to be clear, you cannot use GooManager or the official link right now. Please use 'mirror 1' and manually update in order to fix the external SD issue (until it's officially updated).
[Motorola Photon Q 4G LTE] arrrghhh:
Alrighty, Dees_Troy said it is officially updated. I can see the update on the official link - but I'm not sure how on GooManager you update - if you just click 'check for updates'? That seems to only check on ROM updates, but I could be wrong.

Please let me know how it goes! If you experience any issues, etc.

Edit - seems you just do the same as when it was initially installed... Menu -> Install OpenRecoveryScript & wait... then reboot to recovery.

Also, if you notice - TWRP is now 2.2.2.2 - yes, a whole lotta 2's... but that last .2 is the Q!! Congrats, we're official!
[Motorola Photon Q 4G LTE] androitri:
Aweesssommeee....
[Motorola Photon Q 4G LTE] KitsunePaws:
2.2.2.2 is finally showing up in goo

New SD path seems to be working. Any idea what driver it tried to install?

Looks like the logo issue is fixed too, grats.
[Motorola Photon Q 4G LTE] arrrghhh:
Glad it's workin for ya.

Driver? Not sure what you're talking about... there is ADB in recovery, if that's what you mean...
[Motorola Photon Q 4G LTE] KitsunePaws:
Hmm, maybe I'm just going crazy, when it booted into recovery I got a dialog box that it was trying to install "asanti" and didn't have the driver, I've got the motorola app installed and adb works normally. Probably just a fluke.
[Motorola Photon Q 4G LTE] arrrghhh:
Huh... perhaps when the device was 'in limbo'. I forced mine into limbo a few times messing with the kernel yesterday, and it did indeed create a bunch of new devices in Windows - some installed correctly, but adb didn't exactly work...

Hopefully no more of that on TWRP! I have run thru the gambit and the only outstanding fixable bugs are probably going to be the mass storage and the physical keyboard - which will probably take some time. I don't think the clock issue is fix-able...

Let me know if you guys find anything else broken. So far it has all worked for me!
[Motorola Photon Q 4G LTE] tetrabyt:
Anyone know how long it's supposed to take to install thru goomanager?
[Motorola Photon Q 4G LTE] KitsunePaws:
Mine took no longer than 2-3 minutes from start to finish
[Motorola Photon Q 4G LTE] arrrghhh:
Same. It was REALLY fast over wifi.
[Motorola Photon Q 4G LTE] tetrabyt:
I must be missing something. I sat and watched it say installing recovery for about 15minutes. Had to keep touching the screen to keep it awake... Will try again.

Edit: it just took about 40seconds.. Thanks. It works now.
[Motorola Photon Q 4G LTE] arrrghhh:
Nice, glad it works for you!

So I've got 3 thanks on the first post, and I think 2 people have responded that they've installed it (with a third 'approving' of it :p)... but 60+ downloads? Is it just working that well that everyone forgets this thread exists? Hahahaha!

Well, I hope it is working well for everyone. Enjoy!
[Motorola Photon Q 4G LTE] tobby88:
Oh, you are right! Must have overseen it yesterday when I downloaded 2.7.0.0. Even on their homepage the changelog says 2.7.0.0 is the newest ^^

Just downloaded 2.7.0.1 and flashed it.

Bug seems to be fixed - it works great. I love TWRP! :D
[Motorola Photon Q 4G LTE] jae18708:
OpenRecovery script still shows 2.7 being the latest. :-/
[Motorola Photon Q 4G LTE] tobby88:
Download 2.7.0.1 from here: http://techerrata.com/browse/twrp2/asanti

Use Android SDK to flash it: "fastboot.exe flash recovery openrecovery-twrp-2.7.0.1-asanti_c.img"
[Motorola Photon Q 4G LTE] jae18708:
Bug is still present for me. When it tries to wipe DATA, recovery reboots.
[Motorola Photon Q 4G LTE] tobby88:
Are you sure you have 2.7.0.1 installed?

//EDIT: Oh yes you are right. Doesn't work for me anymore, too... :( Wiping system, cache or dalvik works, but not data.
[Motorola Photon Q 4G LTE] eigerzoom:
noob question

where does the .img file need to be located when performing the fastboot?

on the root of the device, in the platform-tools folder, or somewhere else?

thanks
[Motorola Photon Q 4G LTE] AndyYan:
Anywhere. When you need to type in the name of the img file in the command prompt window (i.e. right after you typed "fastboot flash recovery " ), just use the mouse to drag the img file into the window.

Sent from Google Nexus 4 @ CM11
[Motorola Photon Q 4G LTE] eigerzoom:
i figured it out, but thanks

i didn't know you can drag'n drop on the command prompt
[Motorola Photon Q 4G LTE] tobby88:
2.7.1.0 is out. But the bug when wiping /data still persists.
[Motorola Photon Q 4G LTE] Schattenspieler:
2.6.3.1 has been told to work as expected, but I just tried a factory reset and it tells me that it failed (unable to wipe cache using function call, "unable to mount" for system, cache, pds and modem). Also fails to wipe everything except for data. Reset to defaults was performed before.

Did I do something wrong/miss something? (Still on 2.3.3.1 now …)
[Motorola Photon Q 4G LTE] mionica:
If I recall correctly, wiping everything else before wiping /data worked. If you've already wiped /data, you'll probably need to boot an OS once before those cleanup options become available. Quirky, I know, but seems to work :)

Anyway, arrrghhh mentioned a fix in the works that'll make whatever comes after 2.7.1.0 work (hopefully) properly, or at least without crashing when attempting to wipe /data.
[Motorola Photon Q 4G LTE] arrrghhh:
Ya, but 2.6.3.1 works great for me...

There was another individual who was unable to use any recovery, but it sounds like 2.3.3.1 is working...?
[Motorola Photon Q 4G LTE] Schattenspieler:
95% of the time 2.3.3.1 (though version number shown is 2.3.3.0 -> ??) works fine. But I can not install current roms, like Carbon 4.4.x (which I'm running).

So currently I'm running 2.3.3.1 most of the time (backup, restore and wipe) and have to flash 2.7.1.0 to install current roms. That is ok at home, but I can't flash another recovery when I'm outside.

Oh, and I tried to wipe something other than data first using 2.6.3.1, but failed.

On the other hand my PQ sometimes just seems to be stuck at the bootlogo (not the animation) after a regular restart (no empty battery). Takes a number of resets before it just starts up as usual again - sometimes 1, sometimes 6 or more. Not really sure why that is, but may be related.
[Motorola Photon Q 4G LTE] arrrghhh:
Weird. 2.6.3.1 works flawlessly for me, which is why I am recommending it everywhere until the newest version is fixed...

Edit - can you flash 2.6.3.1 again and try to do a factory reset? Then pull the recovery log.

adb pull /tmp/recovery.log

The inability to mount partitions was similar to another fellow here... we never resolved it unfortunately, as I can't seem to recreate the issue and the TWRP guys seem to think a newer kernel is required - but moto hasn't provided any newer kernels for our device, so I'm not sure why that would affect it.
[Motorola Photon Q 4G LTE] Schattenspieler:
Sure I can: https://www.dropbox.com/s/d75ilac4dqs2cfy/recovery.log (pulled directly after the process finished).

Went through some threads again and found the one, that pointed me to 2.3.3.1: http://xdaforums.com/showthread.php?t=2715469

Also found a possible explanation for the problem being sometimes stuck at bootlogo: http://xdaforums.com/showpost.php?p=51295370&postcount=8

-> So it really seems related.
[Motorola Photon Q 4G LTE] arrrghhh:
Odd. Well, I'm going to try and build the latest TWRP and test it again myself. Last time I had some odd issues, I don't know what the deal was...

Edit - here's a test version of TWRP, 2.7.1.1. Let me know how it goes... I did a test backup & restore (to external SD), as well as wiping /system under 'advanced' and also performed a factory reset. Worked fine.

http://d-h.st/hSF
[Motorola Photon Q 4G LTE] EpicSaga:
Is there a good guide for newbs for how to flash TWRP? I just unlocked my phone in stock. It has never been rooted and never had a recovery.

-Updated- I just flashed TWRP 2.6.3.1. Now on to flash CM11.
[Motorola Photon Q 4G LTE] arrrghhh:
I spose you made it past this, I was going to say the TWRP page has a great guide.
[Motorola Photon Q 4G LTE] mionica:
+1. I did a backup, wipe :: advaned_wipe :: everything except internal_storage / microsd; all ok. Restored backup after that, no problem either. Not using rm -rf as wipe method.

Btw, I'm one of those who had issues with 2.7.0.0 / 2.7.0.1 / 2.7.1.0 crashing when attempting to wipe data.
[Motorola Photon Q 4G LTE] Schattenspieler:
Tried to restore a backup made just before flashing 2.7.7.1, but failed. see https://www.dropbox.com/s/dh2mfenb0ol583m/recovery-003.log

Though I have stumbeld upon this thread and found my lost+found folder to consume a lot of space, that was not shown in the storage page. I deleted the files within with the cm11 file manager, but could not delete the folders themself.

Looking at the logs, some of the last lines are:

file: /data/lost+found/#164997
==> extracting: /data/lost+found/#164997 (symlink to )
symlink(): No such file or directory
FAILED RESTORE OF FILE i: /data/lost+found/#164997

Wiping works for all internal storage. Flashed my backup of 2.3.3.1 and was able to restore the backup, that failed before.

Installing the rom clean now with 2.7.7.1 and everything is fine so far.

Will do a backup of the install and see, if it can be restored.
[Motorola Photon Q 4G LTE] mionica:
That sound so very, very wrong.

lost+found is a convention on ext2/ext3/ext4, so really you shouldn't delete it.

What happens on linux is, after an improper shutdown, fsck runs and checks for (among others,) "lost" files (files for which we have content but no name/place in any of the folders), and all of those should get recovered.

Ideally, you should have none - those only appear thanks to improper shutdowns (or, I expect, FLASH memory defects). I definitely don't have any - I just checked.

Given the circumstances, I'd seriously consider wiping my phone clean and installing everything from scratch - beginning with flashing Sprint 4.1.2, booting once, flashing TWRP, wiping everything in TWRP, installing CM11 cleanly, getting everything in place - and only after that, do a backup. (though technically a moto-fastboot erase userdata should probably do the trick, and have the same net effect).

Anyway, if you don't feel like doing that, I'd consider the following (in Terminal):

su
cd /data/lost+found
rm -rf *
ls -A

- the last bit being there just to make sure nothing is left (i.e. files/folders having names starting with a dot). If anything shows up after ls, rm -rf all of those things.

Anyway, if not flashing a stock ROM first, erasing userdata with moto-fastboot (RSDlite does that for you if you apply the stock Sprint update) is something I'd absolutely do if I started seeing anything at all in any lost+found on my phone.

The idea is, that actually wipes the flash, not just the file system, so no data is left behind - none. Only 0xFF's - which doesn't happen when you simply remove files, not even when formatting the partition.

Then, linux should create the filesystem (ext4) it needed on the first boot - at least I hope CM11 does that (the Sprint stock definitely does that, that's why I'd suggest the longer but probably safer way).
[Motorola Photon Q 4G LTE] Schattenspieler:
I don't know that much about Linux, but I'm familiar with the concept behind lost&found folders. That is why, as said before, I wiped everthing internal with the new 2.7.1.1 and reinstalled the ROM from scratch. Only imported some setting/data from the last backup through Titanium Backup, only app-specific.

Everything is fine so far, lost+found still empty. Seems as if 2.7.1.1 fixed those "/data"-bugs.

The only thing I miss compared to the 2.3.3.1 is the option to backup/restore the recovery. But I can use the backup of the recovery made with 2.3.3.1 (containing only the recovery) and so go back to that version, if needed (although there is no content shown, it still restores the recovery part). It would be nice, if one could backup and restore the recovery through each version. That would be a convenient way to change recoveries on the phone, without using an extra device pushing the files over each time.
[Motorola Photon Q 4G LTE] mionica:
Yup, but I'm pretty sure that "wipe" doesn't actually erase the flash (i.e. data might be left, and it might accidentally resurface later) - that's why I had suggested to wipe the userdata partition while in bootloader. Preferably, alongside modemst1, modemst2, tombstones and cache. Proper flash erase, not mkfs.ext4.

But hey, it's your phone :)

On my yday's backup (twrp 2.7.1.1), there's a recovery.emmc.win file - sounds like they made the recovery save/restore mandatory and automatic, rather than disposing of it altogether :)

A shame - I did a restore just to check if enerything is in order, and I can't remember if the recovery partition was restored - but really, I'd expect it was.
[Motorola Photon Q 4G LTE] Schattenspieler:
Ah, that would be another explanation for TWRP and the recovery restore. Thx

Indeed, it is - and so I had to experience what you described before at first hand: "it might accidentally resurface later". It did! So that was my call to take the next round, RSD back to stock and do it all over. As yet no more files appeared miraculously within lost+found.
[Motorola Photon Q 4G LTE] arrrghhh:
I think the checkbox for backing up 'recovery' was removed, because there was no way to 'restore' recovery.

Some devices don't have a dedicated recovery partition, so I think TWRP was adjusted to reflect that (IE these devices it is not possible to backup 'recovery', because recovery is part of the boot.img).
[Motorola Photon Q 4G LTE] November91:
Hey Guys,

i have a problem, i had twrp 2.6.3.0 installed, and tried out CWM 6.0.1.3. but now i want to use twrp 2.6.3.1. so i had an old version of TWRP installed before, but cant restore defaults in twrp. and btw, the superSU app - link is down :(
[Motorola Photon Q 4G LTE] arrrghhh:
SuperSU shouldn't matter for restoring defaults in TWRP...

Try this version of TWRP, it's the latest and greatest, I've been using it just fine.

You don't *need* to restore defaults, it just is helpful if there are issues within TWRP. Try that latest one please.
[Motorola Photon Q 4G LTE] EpicSaga:
I put TWRP 2.6.3.1 on my phone. The clock on CM11 doesn't work, neither does Chrome. Would this version of TWRP help that? How do I install it?
[Motorola Photon Q 4G LTE] Schattenspieler:
You would just flash it using fastboot (see opening post). And it most probably won't affect the CM11 clock or Chrome.

But it would be a solid point to start with, if you had to install from scratch. Or flash again from a working backup. Whatever.
[Motorola Photon Q 4G LTE] arrrghhh:
As was stated previously, TWRP (or any recovery for that matter) has nothing to do with the clock or Chrome.

Please post in the CM11 thread, and be more specific than "doesn't work". Thanks.
[Motorola Photon Q 4G LTE] CornholioGSM:
...yesterday flashed 10 photons to CM11 (carbon) without any problem on 2.7.1.1

all works fine again :)
[Motorola Photon Q 4G LTE] arrrghhh:
Great, thanks for the report [MENTION=243251]CornholioGSM[/MENTION].

I've already spoken to Dees_Troy, should have a new official soonish. However, with the new kernel configuration from the general moto_msm8960's, probably going to have to redo the official TWRP repo's again haha.

I will definitely still support the Photon Q, I want to make sure its official TWRP status does not waver!
[Motorola Photon Q 4G LTE] hisheeraz:
Quick question, how do i flash supersu through twrp 2.7.x.x ?
[Motorola Photon Q 4G LTE] hisheeraz:
No body here to provide some expert advice ???

Im using 2.7.0.0
[Motorola Photon Q 4G LTE] Schattenspieler:
Just as you would flash anything else: get the *.zip and flash using recovery. This post has some Links to Superuser packages, although the download itself is down. But as a start.

Btw: the link in the OP here doesn't work. ;)
[Motorola Photon Q 4G LTE] arrrghhh:
I assume you mean the SuperSU link.

Not sure that is even necessary - going to review, but I'm pretty sure TWRP will now root the device automatically if it is not rooted.
[Motorola Photon Q 4G LTE] hisheeraz:
Thank u [MENTION=4302571]Schattenspieler[/MENTION] i was not sure how would i flash apk via twrp but now i have flashed supersu zip file successfully. Cheers
[Motorola Photon Q 4G LTE] arrrghhh:
OK official TWRP has been updated to 2.7.1.1 for the Photon Q, and has some additional goodies baked in over my test version.

I have been testing it this morning, so far it has not hiccuped. Works great!!

Enjoy!
[Motorola Photon Q 4G LTE] tobby88:
Looks like it is working great :)

I really like the new feature showing how many files and how many MB are already backed up! :good:

But two things:

- "E: Unable to locate '/pds' partition for backup calculations". Don't know what that means...

- Textsize of the log messages is much bigger than before
[Motorola Photon Q 4G LTE] arrrghhh:
Yes, I really like that feature as well.

As for your two issues. I don't see how they are issues? Are they causing a problem? lol.

Edit - talking to the TWRP guys about the pds issue... I suppose you had it previously selected in an older version of TWRP, and now this newer version does not have that partition available for backup (I don't see the checkbox for 'pds' anymore). Did you not restore defaults when you flashed 2.7.1.1?
[Motorola Photon Q 4G LTE] tobby88:
No... No issues - that's why I just called them "things". :p

No, didn't restore to defaults but yes, this may cause the error! I'll give it a try... :)