yashsingh1/xdaforums huggingface dataset:
[Motorola Photon Q 4G LTE] arrrghhh:
I haven't used this device in a while, so if someone would like to pickup the TWRP development, please have at it.

I was never an official maintainer really, I just submitted the device to the TWRP team so it would be hosted on their site.
[Motorola Photon Q 4G LTE] gtownswagga:
Come on EVERYBODY GIVE ARRGGGHH THE THANKS THAT HE DESERVES :)
[Motorola Photon Q 4G LTE] arrrghhh:
Nah, send donations to Dees_Troy and just tell me that this recovery works great :)
[Motorola Photon Q 4G LTE] fallnSaint:
Looks like I have a bug report, maybe it is just me... I am having no luck getting restore from external to work properly. Half the attempts ended in a boot loop, the other half left me w no data restored. I managed to transfer 2 of the 3 restore folders to internal sd, the 3rd must have had corrupted data & wouldn't transfer. Success restoring from internal.

I did re download & reflash through goo im hoping it was just a bad flash, same results tho. Left all settings default. Internal still works just fine.

Btw Arrrghhh, thanks for the work porting this over, I appreciate it.
[Motorola Photon Q 4G LTE] arrrghhh:
Hrm, that's really strange. I just tried doing a fresh backup of to external and restore, no problems. I previously did a full data/system/boot backup to external and that has already saved my butt.

What are you backing up? Have you tried a different SD card? Is it formatted funky, partitioned, etc?

I can't think of anything that would cause that issue, but I don't really know much about this device or TWRP yet ;). If you could, post your /tmp/recovery.log after recreating failure (adb pull it while in TWRP).

Thanks!!
[Motorola Photon Q 4G LTE] fallnSaint:
Same card I was backing up to on my Evo Shift using TWRP. Fat 32 w an ext 4 partition i believe. I will try another card also. The process always finishes, a lot quicker than it should; 30 sec for system, 7 sec for data.

Gimme a bit & i will see if i can pull that. Gotta get to my pc.
[Motorola Photon Q 4G LTE] arrrghhh:
Oh yea, that way too short. Well, let me know if you can get that file. I just did another backup to my SD of /data, and it took quite some time....

Thanks.
[Motorola Photon Q 4G LTE] tetrabyt:
Hell yeah
[Motorola Photon Q 4G LTE] fallnSaint:
Got home & threw the wifes sd card in & it worked fine, isn't that some $hit..?

Brings up a good question tho: What format should we be runnin on our sd card? I had to have this one formatted to fat32 on my old phone to flash updates through bootloader. Stock came w fat16 if I remember correctly, so you had to purposely reformat in order to run pg06img.zip files through the boot.

Thanks again man, good to know you are here to help.

:update:

Damn, they are both fat32... Idk...
[Motorola Photon Q 4G LTE] arrrghhh:
Can you explain the differences of the cards in detail? This is odd/annoying. Did you have recovery installed before, a previous version of TWRP perhaps when I was still hashing out the kinks?

If you did have it installed once before on an older version (before 2.2.2.2), you might have to go to "Settings" and "Restore Defaults" (in TWRP).

FAT32, for sure...

I'll do what I can, but I'll be honest - this is not only my first Motorola phone, but my first native Android device :o.

Hrm... Yea, let us know the detail on the differences. SanDisk, Class4, etc. Thanks!
[Motorola Photon Q 4G LTE] fallnSaint:
The wife's runnin a Sandisk 16gb class 4, mine is a Transcend 8gb class 6.

I did have the previous version, with the external issues. I will clear to defaults & get back to you on any differences later tonight.
[Motorola Photon Q 4G LTE] arrrghhh:
Ahhh... yea I obviously had the old version as well, and had some issues until I reset defaults. Whoops! I'll add that in a caveat section in the directions... Thanks!

Edit - err, the buglist. But still, it's there. Let me know if that fixes it, I'm betting (hoping?) it does ;)
[Motorola Photon Q 4G LTE] fallnSaint:
Still nada, thinking this TWRP just hates my sd card. I will try reformatting when I get some time to move all my data around. At least I still have internal working for now.

I will let you know if i have any success. Thanks.
[Motorola Photon Q 4G LTE] KitsunePaws:
If it helps at all (dunno) I'm using a Maxell 16GB class 10
[Motorola Photon Q 4G LTE] arrrghhh:
Weird... I would hope our phones (or this recovery?) aren't touchy on SD cards...

Backup the data on the card and try a quick wipe (FAT32) with the HP Tool. Then a full... Then I guess feed it to your dog because it's useless? :p

That's really strange either way... Can you still backup to it? How about install from it? Can you access it OK in Android? I'll ask around to see if this is common or if we still have a bug :(
[Motorola Photon Q 4G LTE] fallnSaint:
Yeah, everything works except restoring from it. The backups I have made to it take a little longer than the internal (guessing write speed), but for the most part they have worked fine when transferred to internal. Could be it is taking a $hit, wouldn't be unheard of. I will try the wipe when I have a bit more time.

May be a good excuse to upgrade to a class 10, hows that Maxell?:D
[Motorola Photon Q 4G LTE] KitsunePaws:
Considering I paid something like 8$ for it and it pulls 15MBps or so I can't complain at all ;)
[Motorola Photon Q 4G LTE] fallnSaint:
Finally had some time to sit down & really work this problem, looks like my sd card is crapping out. Tried formatting & still having issues. Write speeds have dropped significantly & everything I have tried flashing fails to boot now. I heard these cards fail quick, thought it was more works & then dead, not a slow death like this, mine still stores & transfers data.

Thanks again for the help on this, look forward to seeing more from you.

Saint sent this from his Q using xda premium
[Motorola Photon Q 4G LTE] arrrghhh:
No worries, thank you for responding and confirming you did indeed have a bad card :good:
[Motorola Photon Q 4G LTE] fallnSaint:
arrrghhh, still fighting with the sd card issue, got a new card a couple weeks back and still can't get back-ups or restores to work from it on a regular basis. It isn't TWRP, CWM does the same now, but it started when I first used Twrp when it had the sd card issue in it's original release. Any thoughts as to what may cause this?
[Motorola Photon Q 4G LTE] arrrghhh:
Wait you got a new card and it's having the same issue...?

How is the card formatted? I've never had this issue, and I use TWRP to backup and restore daily. I'm constantly blowing up my phone for testing, so I depend on it to backup and restore consistently...

I assume this issue is not present if you use the "internal" SD?
[Motorola Photon Q 4G LTE] fallnSaint:
Yeah, new class 10 adata 16gb card formatted to fat 32. Internal works just fine, limiting on space tho.

I tried a clean wipe w rsd, needless to say that didn't work out. I don't know what else to try fixing it tho. You have any ideas?
[Motorola Photon Q 4G LTE] arrrghhh:
Not sure what you mean by clean wipe or rsd... but have you tried a full wipe with the HP Tool?

Edit - I just did another backup and restore from my external SD, no issues.... Sorry mate, I'm not sure why this is happening. Can you post your recovery.log from TWRP (adb pull /tmp/recovery.log FROM WITHIN TWRP!) whenever you do get a failure? That might be helpful, thanks!
[Motorola Photon Q 4G LTE] fallnSaint:
RSD http://xdaforums.com/showthread.php?p=30845222, think it is similar to Odin for samsung or ruu for Htc. HP Tool didn't fix the issue, I don't think it is TWRP or the sd card. It is either software (something outside system) or, worst case, hardware related.

Unfortunately, I can't get the pc to recognize my phone when it is in recovery, kicks it off immediately. All my other drivers work fine, tried multiple times reinstalling them w no luck. Idk, could this be related?

-Saint
[Motorola Photon Q 4G LTE] arrrghhh:
Perhaps, I've never had an issue with adb in recovery... It's kinda needed for troubleshooting ;).

So maybe you do have a hardware issue??? I'm not sure mate. I didn't look 2x at that RSD thread after someone said they bricked...
[Motorola Photon Q 4G LTE] fallnSaint:
I ran RSD & while it didn't work, it certainly didn't brick my phone, it would be nice to have it as a recovery tool.

It could be a hardware issue, I know it was working at one time, I was really hoping it could be a software fix.

Thanks bud, I appreciate your time on this.
[Motorola Photon Q 4G LTE] Rangerbry:
i noticed there is a new build you can try

http://goo.im/devs/OpenRecovery/asanti

2.3.0.0
[Motorola Photon Q 4G LTE] tetrabyt:
Anyone try the new version?
[Motorola Photon Q 4G LTE] mark920:
Yes I had goo manager download and install it, works well so far
[Motorola Photon Q 4G LTE] tetrabyt:
Tried goo manager, said it was installed. But when I boot into recovery, the version is still 2.2.2.2. Anyone else?
[Motorola Photon Q 4G LTE] mark920:
Manually flash then because mine says 2.3
[Motorola Photon Q 4G LTE] arrrghhh:
Yup, works great for me. 2.3.0.0.

Biggest change is 'adb sideload'. My version of adb was so outdated, it didn't even include it! Ha. After updating adb on my PC, it worked great!
[Motorola Photon Q 4G LTE] yogi2010:
I downloaded and used the latest version last night, was my first time using TWRP, and I like it. Pretty intuitive and served my needs.

I did notice that the 'fastboot boot' command was not allowed... was it just me, or is that not supported with the Moto unlock?

Anyway, thanks for the recovery!
[Motorola Photon Q 4G LTE] tetrabyt:
Fastboot boot? Or maybe fastboot reboot?
[Motorola Photon Q 4G LTE] yogi2010:
yep, fastboot boot. on HTC S-OFFed or official bootloader unlocked phones, you can simply boot a recovery without flashing it... next time booting into recovery it will be whatever was there before. it's very handy when testing kernels, you can boot a boot image without flashing it. maybe that has never existed on Moto devices?
[Motorola Photon Q 4G LTE] tetrabyt:
Oh ok. I don't know if we can do that or not.
[Motorola Photon Q 4G LTE] arrrghhh:
I was never able to do it - trust me, I wanted to when I was porting TWRP over... Had to just bite the bullet and flash, so be glad I did so you didn't have to :p
[Motorola Photon Q 4G LTE] yogi2010:
hehe damn, that sucks it doesn't work. but you did what you had to do, taking the risk for us, and it's definitely appreciated! :good:
[Motorola Photon Q 4G LTE] CornholioGSM:
hi,

is possible root my photon q without loose usb mass storage ???
[Motorola Photon Q 4G LTE] PythonFanTN:
I've unlocked and rooted and I can access both the onboard storage (mislabeled as 'sdcard') and the actual literal sdcard via usb on my PC just fine.
[Motorola Photon Q 4G LTE] CornholioGSM:
...hmmmm... and is possible make visible both memory as mass storage (internal and ext-sd) as on old droid 3 ?
[Motorola Photon Q 4G LTE] PythonFanTN:
I guess I don't understand what you're asking. Not only are both visible when connecting to a usb port, I can access both internal storage & literal sd card storage on my PC and move files between the PC and both areas by default.

If you're asking something different from that, then I have no clue.
[Motorola Photon Q 4G LTE] CornholioGSM:
My problem is....

When is photon connected to pc as mass storage...pc shows only sd memory - not sd and internal :(
[Motorola Photon Q 4G LTE] PythonFanTN:
I see what you're saying now that I go in and look at the options. Don't use 'mass storage' then, go into the notification when you first connect and choose the option to change to Media device (MTP) and both should show up. When I do this (this is on a Windows 7 PC), I get a Portable devices-XT897 entry. When I go into that, I see both 'phone' and 'sdcard' and can interact with both.
[Motorola Photon Q 4G LTE] CornholioGSM:
yes it works...but data transfer is slow
[Motorola Photon Q 4G LTE] fallnSaint:
As I understand it, and have seen it working outside of recovery, everything works when the system is loaded. However, ,ass storage does not function inside of recovery thus far.

-Saint

---------- Post added at 07:54 PM ---------- Previous post was at 07:54 PM ----------

-Saint
[Motorola Photon Q 4G LTE] arrrghhh:
Correct, mass storage does not work in TWRP as of yet - however, you CAN adb sideload with the newest TWRP (2.3.x). It's pretty freakin slick, and way better than having to transfer to your phone before flashing :)
[Motorola Photon Q 4G LTE] yogi2010:
i'm looking thru the options in the recovery, wondering if we can do an advanced restore of one partition only, e.g. data. or come to think of it, can we create different versions of our backups by including only data.win and data.win.md5?
[Motorola Photon Q 4G LTE] CNexus:
I'm sorry that this is unrelated, but I just wanted to ask before I posted.

I wanted to repost the links and tutorials presented HERE by prboy1969 to maybe get some more people inspired to work on development, because it seems like theres only a handful right now

I wanted to ask if I should post it here and possibly get it stickied, or post it in general

So, which one?

Again, I'm very sorry for posting this here, if a moderator has a problem with this, feel free to move my post to the Q&A section.
[Motorola Photon Q 4G LTE] arrrghhh:
Yes, simply uncheck what you don't want restored/backed up...

As much as the effort is appreicated, this has nothing to do with TWRP. Thanks.
[Motorola Photon Q 4G LTE] CornholioGSM:
...how can i uninstall TWRP?...i need uninstall it because i am not able install update .

TWRP was installed over GooManager and here is only install and not uninstall :(
[Motorola Photon Q 4G LTE] yogi2010:
I'm not familiar with GooManager, but you can grab the stock recovery image from here http://xdaforums.com/showthread.php?t=1856456, and then flash it with fastboot, if your bootloader is unlocked.

or else you could wait and see if dpwhitty11 gets his update zip ironed out for TWRP..

Sent from my XT897 using Xparent ICS Tapatalk 2
[Motorola Photon Q 4G LTE] arrrghhh:
Surprised to see a post like this from you buddy... lol.

Anyhoo, the above post is correct. You have to reflash stock recovery - there is no 'uninstall' option for TWRP or CWM...
[Motorola Photon Q 4G LTE] dpwhitty11:
Well, I got it to flash.

From what I could tell, everything worked perfectly.

Just couldn't fix the SystemUI forceclose issue.

Hard to navigate with no buttons XD
[Motorola Photon Q 4G LTE] flintston314:
Did anyone test the latest 2.3.3.0 build? I just did and it does have some problems with the screen....apart from that I couldn´t find anything different....at least internal memory still won´t mount.
[Motorola Photon Q 4G LTE] arrrghhh:
Internal memory won't mount..? What do you mean?

I can backup and restore to and from internal or external memory cards. The only thing that doesn't work is USB mass storage whilst running TWRP. Which is listed as a bug, and I haven't really gone into the nitty gritty as to "why" it doesn't work.

Edit - evidently I need to update, I'm on 2.3.1.0. I'll update and get back...

Edit 2 - Uhm... I need to talk to some people and sort out if I potentially did something wrong - after updating to 2.3.3.0 via Goo.IM the recovery screen was funky.
[Motorola Photon Q 4G LTE] Rennert:
Yes v2.3.3.0 doesn't correctly work. Screen shows twice and all colours are pink.

...Tapatalk
[Motorola Photon Q 4G LTE] arrrghhh:
OK. Stick to 2.3.1.0 until I can sort out what happened... I honestly haven't been a part of any of the updates...
[Motorola Photon Q 4G LTE] flintston314:
Sorry, yes I was talking about USB mass storage. I thought that this might have been fixed, that´s why I tested 2.3.3.0. Nevertheless, that was not fixed but for some reason the screen is all off, apart from that I didn´t find anything working better...no idea what actually was fixed or changed with this release.
[Motorola Photon Q 4G LTE] arrrghhh:
Hey guys,

I have a 2.3.3.0 image here that works. Dees_Troy said he will push it to Goo.IM tomorrow, so that should be updated soon as well...

Sorry for the mishap! Enjoy.

http://www.waywardpilgrim.net/arrrghhh/recovery/openrecovery-twrp-2.3.3.0-asanti_c.img
[Motorola Photon Q 4G LTE] Rennert:
Thanks;) now works great

...Tapatalk
[Motorola Photon Q 4G LTE] arrrghhh:
Thank you for confirming :)

I updated the issue post #2, when the update is 'officially' pushed I will update the main post & post #2.

Unfortunately I don't know of any bugs that have been fixed specifically, but adb sideload is a nice feature. To my knowledge the remaining bugs are still at status quo.
[Motorola Photon Q 4G LTE] ssconceptz:
Hmm having issues here. I tried the exploit before and no luck. I factory restored my device and failed again. So I did the motorola method and it is unlocked. Now when I flash recovery it says it was successful but when I go into recovery all I see is the Green Android with Red Triangle. I even tried the Goo method with the script install and still get the same thing. If someone has insight please let me know how to fix this.

Thanks!
[Motorola Photon Q 4G LTE] Gojira-r32:
i had that problem to,

android bot with red traingle,

what did it was flashing manual stock recovery of 77.8.14, reboot, reboot bootloader and flashed CWM, it worked, superSU install,

was rooted again, flashed with goomanager the TWRP recovery.

Goomanager installs but if there's somewhere root not compleet anymore, then goomanager will not install TWRP,

with root checker i noticed that 1 give me root, 2th said no root.

Now i'm back on TWRP recovery, and everything just fine, moto2fail exploit doesn't work on 77.8.14 asa-14 just for info, need to use CWM and superSU 0.94+.

then you have full root and then flash TWRP again and go !!!
[Motorola Photon Q 4G LTE] arrrghhh:
Hey guys,

Got some updates for TWRP in the pipeline. There's a general update to 2.4.2.0 coming soon which includes a few things - including display timeout, so the screen will turn off when in recovery now :).

I also have USB mass storage working! I'm not sure why, but I am having trouble with adb in TWRP while running Windows... I'm thinking it's something to do with the vendor/product ID's - I made them match, and it's still not quite working for me...

Let me know if you have any ideas guys!! Otherwise, USB mass storage will work but probably not in Windows... :(
[Motorola Photon Q 4G LTE] arrrghhh:
Alright guys!!! I have fixed USB Mass Storage and Windoze adb, so now everything should work as expected.

I don't know when Dees_Troy will update goo.im (I will update the OP so you all know when this happens...), so use the attached recovery (redacted, please see OP) in the meantime if you're itching :)
[Motorola Photon Q 4G LTE] Gojira-r32:
works good, phone is now found by windows while in recovery mode.

screen time is an nice extra tweak,

thanks, but you're version number is still 2.4.1 :good:
[Motorola Photon Q 4G LTE] arrrghhh:
You must've gotten in there quickly... grab the download again, I updated it :p.
[Motorola Photon Q 4G LTE] Gojira-r32:
but on 2.4.1 phone get recognized in windows ?

i was fast with download yes :silly:

And on this version that says 2.4.1 there's also option of screen dim time, but it then doesn't work ?

just flashed, reboot, reboot in recovery and lets see what's the difference

---------- Post added at 09:02 PM ---------- Previous post was at 08:54 PM ----------

lol, i don't see any differences, now it says 2.4.2.

screen opties is stil there, but now then working i assume ?

And phone is also recognized in windows like the 2.4.1, but i think you fixed for shure something, because it works snappy :good:

Keep up the good work, and if you need a ginnypig for testing i have two photon Q's, one for toying and modding, the other one is daily phone use.
[Motorola Photon Q 4G LTE] arrrghhh:
Well the first recovery.img you downloaded was an old sync of TWRP. I noticed it said 2.4.1.0 and Dees_Troy reminded me I needed to do another git pull :p.

Once I did, I quickly rebuilt, tested, and posted it as TWRP_2.4.2.0_asantic.img - more appropriate name as well I think.

So yea, you were running some semi-old TWRP code, somewhere between 2.4.1.0 and 2.4.2.0 on that recovery.img file... Sorry about that, didn't think anyone had managed to download it ;).

Glad you like the new version tho! I am not sure if I need anything specific tested on TWRP - certainly let me know if there are any issues. I think the only solvable issue remaining with TWRP is the hardware keyboard - which I wouldn't hold your breath, that one is going to be tricky since TWRP doesn't support this at all...
[Motorola Photon Q 4G LTE] arrrghhh:
Hey guys,

Just found out another new awesome feature - rooting will be MUCH easier now.

All you have to do is install TWRP (assuming you've unlocked the bootloader, obviously) and then when you reboot, TWRP will detect you aren't rooted and offer to install SuperSU!! SWEET!
[Motorola Photon Q 4G LTE] arrrghhh:
TWRP 2.4.2.1 has landed on goo.im, it should be flashable via Goo.IM now.

Please let me know if there are any observed issues, enjoy!!
[Motorola Photon Q 4G LTE] tetrabyt:
Re: [RECOVERY] TWRP 2.4.2.1

How about 2.4.3.0? Had to flash it twice, for it to take, but it seems to be working. Booted into it fine. Didn't try backing up or restoring anything tho.
[Motorola Photon Q 4G LTE] Skrilax_CZ:
I'm getting nasty failures (seem like random) upon extracting the tarballs when restoring a backup at times (tar exits with -1 and TWRP doesn't detect it). Version 2.4.2.0.

EDIT: Yoho, reading the TWPR changelog ... but still even 2.4.3.0 doesn't work well.

Oh btw. add this to init script "write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand" so it's not 1.5 GHz permamently.
[Motorola Photon Q 4G LTE] arrrghhh:
I need to look at 2.4.3.0... I haven't updated yet :eek:

I need to update myself, as I said above - but I've never had a failure with restoring backups. From internal or external SD? Do you have a recovery.log?

I'll look at that change, thanks :).
[Motorola Photon Q 4G LTE] arrrghhh:
Hey guys,

Just updated to 2.5.0.0 - saw I was a bit behind, haha. As usual, Dees_Troy and the rest of TeamWin have done it again - another solid release of TWRP!!

Click here for a complete changelog from the man himself. Enjoy!
[Motorola Photon Q 4G LTE] micron:
Hello arrrghhh

Please add options for wipe battery cache.

m.
[Motorola Photon Q 4G LTE] arrrghhh:
Please read the Official TWRP FAQ.

Also, I just helped with the porting of TWRP to this device, I do not assist in the development of the project.
[Motorola Photon Q 4G LTE] electricbug:
thks a lot !!!
[Motorola Photon Q 4G LTE] hfase:
Hey Arrrghhh, I hate being needy but I figured I could at least ask...

This repo here; https://github.com/Hashcode/android_bootable_recovery has a special fork of TWRP (I believe) that you should be able to just swap out the URL's in your manifest and compile without really doing anything.

I would give it a try myself however it would take weeks if not months for me to sync the source-tree... Been banging my head trying to hack the init.rc & mmcblk partitions to be able to stuff Ubuntu-Touch on my phone to hack on. :silly: (Found a few ways to re-size and move partitions but nothing seemed as 'clean' as this..)

If it turns out to be more work than just swapping out the code before a build don't bother yourself. This recovery was tweaked to run as a bootstrap.. (without replacing the stock recovery) So there is also a couple ways this could get packaged; one exactly the same as how you package TWRP, and with a little work we could put together the APK version for locked phones also.
[Motorola Photon Q 4G LTE] arrrghhh:
I'm not sure what to make of your post, or even what you want me to do exactly... I don't think I can build this, and even if I do what are you going to do with it?

I kinda know Hashcode (been talking to him lately for pointers) so I can ask him what it's all about I spose.