yashsingh1/xdaforums huggingface dataset:
[Motorola Photon Q 4G LTE] hfase:
Sorry lol

Basicaly that is a fork of TWRP 2.4 with some options for two "roms" to be installed at the same time, so people can dualboot to test or develop roms.

Might be almost exactly the same as compiling the TWRP image you have here in this thread.

I don't want to be a pest though, I might be able to build this myself. :)
[Motorola Photon Q 4G LTE] arrrghhh:
Hey,

I spoke to Hashcode because I was curious. I think it does have the potential to do what you want, but unfortunately Hashcode said there's some additional work that needs to be done to update the codebase to work on our generation of devices...

So perhaps soon we can do what you describe, which would be pretty sweet :D
[Motorola Photon Q 4G LTE] hfase:
Sweet! Thanks for checking it out!

I will probably fork Hashcode's repo and look a little closer at the code myself. Should be simple enough for me. ;) Might just be some mount-points to change. AFAIK

I just don't have the CM10.1 repo synced to be able to build it nor correct certs to sign it so I figured I would ask you. :/

(I am working on getting my build tools set up though... )

For an 'unlocked' device I believe it can just be flashed with fastboot like normally done with TWRP. Seems logical however I am not sure.

For it to work on a 'locked' device though like it is normally used might be a little tricky and out of my league. (For that it would need a special device-specific apk or zip to install itself... That would be another whole project itself as the other devices use an apk to flash the second recovery ( "SafeStrap" ))

_________________________________________________

This post was sent with 100% recycled electrons.
[Motorola Photon Q 4G LTE] tetrabyt:
Anyone else having problems installing this on the new jb ETA ?
[Motorola Photon Q 4G LTE] arrrghhh:
I answered your question in another thread......

I fastboot flashed this no problem after applying the FXZ.
[Motorola Photon Q 4G LTE] tetrabyt:
Mine was ota. Could there be a difference ? I've tried twrp and cwm. Neither stuck..
[Motorola Photon Q 4G LTE] arrrghhh:
OTA? As in you installed TWRP from Goo Manager?

I assume you were already rooted?
[Motorola Photon Q 4G LTE] tetrabyt:
Unlocked and rooted. No, I meant the jellybean ota from sprint/Motorola. Got it last night.
[Motorola Photon Q 4G LTE] arrrghhh:
Oh, right. So you're using fastboot to flash it? Do you get a 'success' message? You said it doesn't stick - does that mean you're able to use it once?

Let me know, details!!
[Motorola Photon Q 4G LTE] tetrabyt:
Get a successful flash. But it boots into stock recovery.
[Motorola Photon Q 4G LTE] yogi2010:
are you just trying to root? have you tried flashing twrp, and then holding the volume-up button as you issue 'fastboot reboot'? that should take you into twrp to do what you need to do, and then you can check if you have 'recovery-from-boot.p' in your system directory... and hopefully it will already have been disable so that your flash will stick.

sorry if I am late to the party and am off on this :p
[Motorola Photon Q 4G LTE] tetrabyt:
I have a recovery-from-boot.p and a recovery-from-boot.bak. Do I delete those?
[Motorola Photon Q 4G LTE] yogi2010:
hmm, that's weird that you have both. never seen that before i don't think, but you should be able to delete the .p one and keep the other as a backup. if you should ever want stock recovery to overwrite your custom one on bootup ,you could rename the .bak back to .p...
[Motorola Photon Q 4G LTE] tetrabyt:
thank you guys very much. I appreciate the help. it works now.
[Motorola Photon Q 4G LTE] arrrghhh:
Hey all.

Haven't done any updates in a bit, but I just spoke with Dees_Troy, and the ondemand governor fix will be implemented (thanks Skrilax_CZ for the suggestion!) as well as an update so Goo Manager will work no matter what version of Android you are running.

Enjoy!
[Motorola Photon Q 4G LTE] jae18708:
I flashed app & framework deodexed but I couldnt get pass the Sprint screen, it was sitting there for like 20 mins. So I did a restore, but now I can't get pass the Warning Bootloader Unlocked screen. When I made the backup I selected everything.
[Motorola Photon Q 4G LTE] Gojira-r32:
use the manual method

copy map app and frame to SDcard, connect with adb and type :

adb shell

su

stop

mount -o remount,rw /dev/block/mtdblock4 /system

cp /storage/sdcard1/appp/* /system/app/

cp /storage/sdcard1/frame/* /system/framework/

rm /system/app/*.odex

rm /system/framework/*.odex

mount -o remount,ro /dev/block/mtdblock4 /system

reboot into recovery and delete dalvik cache and cache, boot and it should work

PS : also wrong topic for deOdexed
[Motorola Photon Q 4G LTE] jae18708:
well the deodex part was bg info what happened. I'm trying to get my restore to work. I have to get my battery to charge first.
[Motorola Photon Q 4G LTE] jae18708:
Can't get this restore to work properly. After I restore it gets stuck on Warning Unlocked Bootloader screen. I've tried three times. First i choose to restore everything. Second time i restored boot,system,data... and I just tried only restoring system, data. All ended with the same result.
[Motorola Photon Q 4G LTE] Comet1966:
I need help on installing it, I install it and it says it finishes but when I reboot to recovery I still have the stock one.
[Motorola Photon Q 4G LTE] arrrghhh:
Well, either scroll up a bit and use the solution above, or try this.
[Motorola Photon Q 4G LTE] jae18708:
TWRP fails every single time I try to do a restore it fails. I have two different backups on my sdcard.. one stock rooted, the other stock deodexed. When I click restore, choose the backup, and swipe... it starts the restore progress then quickly tells me it fails.
[Motorola Photon Q 4G LTE] UnicronAlpha99:
I would either try using the fxz to restore back to stock jb or copying your backup to your internal /sd card partition and restoring from there. I ran into similar issues with system restore and twrp and the problem ended up being my external sd storage (stock one that came with my Epic 4g) not playing nice with my Photon Q. I swapped it for a class 4 sandisk 32gb micro sd and haven't had any issues with backing up/restoring since.
[Motorola Photon Q 4G LTE] arrrghhh:
This ^^^. Only time I have EVER heard of backups failing to restore, it was from a crappy external SD card.

Try copying to your internal, and then restore. Also, please post logs if you are going to report errors - in TWRP, it is /tmp/recovery.log. Thanks!
[Motorola Photon Q 4G LTE] jae18708:
Alright.. i have off today, and im about to flash fxz to ics. The sd i have now is a 16gb Samsung c2
[Motorola Photon Q 4G LTE] arrrghhh:
Congrats?

What does this have to do with TWRP...? if you have a question, feel free to ask it... otherwise, not sure what to do for ya ;)
[Motorola Photon Q 4G LTE] hfase:
*Bump*

2.6 is available now. :cowboy:
[Motorola Photon Q 4G LTE] arrrghhh:
Ah, I was wondering when that would make it out into the wild! I will update the OP, thanks ;)
[Motorola Photon Q 4G LTE] agazza:
Hey guys, I'm having some trouble getting this to work, my bootloader is unlocked, i have installed the 2.6.0.0 via goomanager but when i try to boot to twrp i only get this image.

Skickat från min HTC Vision via Tapatalk 2
[Motorola Photon Q 4G LTE] arrrghhh:
That is stock recovery. Perhaps try flashing using the fastboot method?

There's also this install-recovery.sh that might be knocking out TWRP when you reboot.
[Motorola Photon Q 4G LTE] schmandroid:
Is your TWRP failing to stick??? Try this:

How to install TWRP (also with JB OTA running).

Here is a step-by-step for anyone who's here looking for an answer. I had to remember how I forced it through the first time, so I could install TWRP on my second PQ. GOO manager doesn't install TWRP, despite offering to. I believe this is due to a persistent default recovery, & possibly JB OTA.

1. Download TWRP recovery file & save to "platform-tools" folder

2. Start command prompt in platform-tools folder

3. ~type "adb reboot-bootloader" (phone will boot into bootloader)

4. ~type "fastboot flash recovery openrecovery-twrp-2.5.0.0-asanti_c.img" (when that is the name of the TWRP recovery file you put in platform tools)

5. unplug USB, push power button - phone will turn off

6. Hold "vol-up" button in and press power button, release "vol-up" when screen turns on, phone will boot TWRP.

7. NAND backup, Flash rom or other.

Do it in this exact order & it will work. (should)

Enjoy *****es!
[Motorola Photon Q 4G LTE] Comet1966:
When I try to use goomanager it tells me my phone is unsupported.
[Motorola Photon Q 4G LTE] arrrghhh:
Try the fastboot method.
[Motorola Photon Q 4G LTE] Skrilax_CZ:
Does TWRP backup / restore these partitions?

- devtree

- fsg

- modem

It might be required with the switch to 3.4 kernel (devtree) and fsg / modem are modem related files, xt925 / xt926 already have them included.
[Motorola Photon Q 4G LTE] arrrghhh:
Hey, thanks for posting.

I'll have to check... I'm not sure it does cover all of those partitions.

/external_sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
/system ext4 /dev/block/platform/msm_sdcc.1/by-name/system
/cache ext4 /dev/block/platform/msm_sdcc.1/by-name/cache
/data ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata
#/misc mtd /dev/block/platform/msm_sdcc.1/by-name/misc
/boot emmc /dev/block/platform/msm_sdcc.1/by-name/boot
/recovery emmc /dev/block/platform/msm_sdcc.1/by-name/recovery
/pds ext4 /dev/block/platform/msm_sdcc.1/by-name/pds flags=display="PDS";backup=1
/modem ext4	/dev/block/platform/msm_sdcc.1/by-name/modem

Seems those are the partitions it backs up. I'll doublecheck with Dees_Troy to make sure my assumptions are correct.
[Motorola Photon Q 4G LTE] aviwdoowks:
Is this one that is also ready for the new kernels?

http://goo.im/devs/Hashcode/vanquish/twrp-2.6.0.0-recovery-vanquish.img

Is there a newer?
[Motorola Photon Q 4G LTE] aviwdoowks:
arrrghhh,

Would you consider porting this to the xt907?

As our usb mount is not there.

http://xdaforums.com/showthread.php?goto=newpost&t=2302969

Thank You.
[Motorola Photon Q 4G LTE] arrrghhh:
I responded in the thread. No need to port it, just add a line to BoardConfig most likely... mattlgroff can handle it I'm sure ;).
[Motorola Photon Q 4G LTE] aviwdoowks:
I am all thanked out! For today.

Thank you!!
[Motorola Photon Q 4G LTE] arrrghhh:
TWRP updated to 2.6.1.0... fixes for 4.3, might help with issues folks have been having.

What's new in 2.6.1.0:

Initial SELinux support (only a few devices, need testers so come by IRC if your device doesn't have it and needs it)

Initial support for f2fs file system formatting (Moto X)

Update SuperSU install for 4.3 ROMs

Fixed a permissions bug on files created during backup

Fixed a bug that caused TWRP to not wait for compressed backups to finish causing 0 byte files and md5sums to not match

Fixed decryption of encrypted data so that both TouchWiz and AOSP decryption are possible

Ignore lost+found folder during backup and size calculations

Various other minor bug fixes and tweaks
[Motorola Photon Q 4G LTE] il Duce:
[MENTION=420530]arrrghhh[/MENTION]

So after unlocking the bootloader, I am having one hell of a time installing recovery.

BL says "Device is UNLOCKED" blahblah

I enter this:

fastboot flash recovery openrecovery-twrp-2.6.3.0-asanti_c.img

and it says this:

(bootloader) Variable not supported!

target reported max download size of 31457280 bytes

sending 'recovery' (7298 KB)...

OKAY [ 0.609s]

writing 'recovery'...

OKAY [ 2.156s]

finished. total time: 2.766s

C:\adt-bundle-windows-x86-20130219\adt-bundle-windows-x86-20130219\sdk\platform-

tools>

And then no matter how I try to boot recovery it won't.

I've tried adb, fastboot boot (which says "(bootlaoder) Command not supported!", etc. Nothing works.

I'm no rookie, but I've never touched a moto device until now. Is there something I'm missing here? Please help lol.
[Motorola Photon Q 4G LTE] arrrghhh:
Hey buddy. I think there's a recovery-install.sh or some such script that installs stock recovery over whatever you have done... So did you try booting TWRP after installing it? Or are you just booting Android after installing TWRP?
[Motorola Photon Q 4G LTE] il Duce:
It won't allow fastboot boot commands. I've rebooted to android fine and the phone works and such, just when I boot recovery (from BL) I get the little andy guy with the red triangle ! thing. It's like recovery won't install. Installing stock recovery (altough not a bad plan) is not of interest to me, unless of course you think redoing stock then trying again with twrp or another recovery would work.
[Motorola Photon Q 4G LTE] arrrghhh:
No, I didn't explain myself properly...

There is a script which is installing stock recovery - so TWRP is installing, but when you boot Android it's overwritten.

So try this. Fastboot install TWRP. Then boot recovery using the power+vol up. Now from TWRP, boot Android... Hopefully it sticks.
[Motorola Photon Q 4G LTE] il Duce:
oh nice! ty. except now, your pac rom fails on install, looks like bad symlinks. fml.
[Motorola Photon Q 4G LTE] arrrghhh:
lol. I build that too, so I'm sure it's my fault.

Post up in that thread if I can help out :)
[Motorola Photon Q 4G LTE] TecknoFreak:
How hard it is to port this for Atrix HD? We have lots in common since we use your kernel and others

Sent from my Atrix HD using ProBAM rom and XDA 4 Premium
[Motorola Photon Q 4G LTE] arrrghhh:
Should be just a few changes to the source, and TWRP could be built for any of the qcom moto's pretty easily.
[Motorola Photon Q 4G LTE] TecknoFreak:
This recovery works on our devices but the touch points are offset. That is the only issue that prevent us for using it. I wish i had money to buy you an Atrix HD. We need developer's like you for sure. Lol

I hope someone try to port it but is been 6 months that we are unlocked and Matt or others haven't had the time I guess. :(

Sent from my Atrix HD using ProBAM rom and XDA 4 Premium
[Motorola Photon Q 4G LTE] arrrghhh:
I thought you guys had TWRP already...

You shouldn't flash TWRP for another device. I can whip up a TWRP for the MB886.
[Motorola Photon Q 4G LTE] TecknoFreak:
No we dont have it. What we have is CWM Touch. All of hoping for this recovery or the one from Phil advance touch but no luck yet.

This will be AWESOME!!!!

Sent from my Atrix HD using ProBAM rom and XDA 4 Premium
[Motorola Photon Q 4G LTE] arrrghhh:
I'm going to PM you, will need someone to test it before it's released.
[Motorola Photon Q 4G LTE] tember1214:
Need anymore testers feel free to pm me!
[Motorola Photon Q 4G LTE] TecknoFreak:
No problem im always here my friend

PM sent my friend
[Motorola Photon Q 4G LTE] skeevydude:
Talk to Hashcode about this. He built SafeStrap which is TWRP based and it worked for us. More needs to be done and its something firmware related, IIRC. Currently CWM Touch is the AHD's only working touch based recovery, and while it works, AROMA based installers still have the offset touch points like TWRP.

I'll also be available to test in the evenings when I get home from work.
[Motorola Photon Q 4G LTE] TecknoFreak:
Ohh thank god, arrrghhh please work this out with one of our developers skeevy. Im available to test in case you need more then one tester. But you cant go wrong with skeevy as you guys talk the same android language. Lol

Sent from my Atrix HD using Pacman rom and XDA 4 Premium
[Motorola Photon Q 4G LTE] EcHoFiiVe:
another power user here for testing as well. i also know my way around android a bit
[Motorola Photon Q 4G LTE] arrrghhh:
Thx for the offers guys. Without the device in hand, it's going to be tough.

I'll ask around to see what could be different - it seems the touchscreen binaries which were used on the Q to originally get TWRP working properly are simply not present on the MB886... So my previous knowledge of getting TWRP working on the Q isn't really applicable to the MB886 :(
[Motorola Photon Q 4G LTE] TecknoFreak:
Can those binaries can added to the phone manually to force the phone to adjust what we want it to be? Just wondering

Sent from my Atrix HD using Pacman rom and XDA 4 Premium
[Motorola Photon Q 4G LTE] arrrghhh:
That's the issue, you couldn't find the binaries.
[Motorola Photon Q 4G LTE] arrrghhh:
http://www.oudhitsquad.com/arrrghhh/recovery/TWRPrecovery_SELinuxtest.img

Here's a test TWRP build... for flashing 4.4.

I was able to flash KK, the AOSP build - but I had to jump thru a couple of hoops:

1. Wipe --> Advanced Wipe

2. Check everything but MicroSD/Internal Storage

3. Hit "Home", go to "Mount" --> UNcheck system.

4. Hit "Home", flash KK as desired - adb sideload, install, etc.

5. When you go to 'Reboot System' TWRP will probably inform you there is no OS. Ignore this! Who ever heeded warning messages anyways :p

Let me know!
[Motorola Photon Q 4G LTE] CornholioGSM:
...all works and any no os message :)
[Motorola Photon Q 4G LTE] arrrghhh:
So you were able to flash a KK ROM and didn't have to jump thru the hoops?

Good news!
[Motorola Photon Q 4G LTE] CornholioGSM:
...all without problem :)
[Motorola Photon Q 4G LTE] slimbrady:
Just wanted to say it worked fine for me as well flashing the CM 11 build. Didn't have to mount or umount(I meant to do exactly what your post suggested I just forgot when the time came, lol) anything I literally just did a swipe for factory reset then installed^^ Well done again, sir.
[Motorola Photon Q 4G LTE] arrrghhh:
Cool! I need to get this kernel binary on TWRP's github so we can have an official TWRP that works for KK ROM's ;)
[Motorola Photon Q 4G LTE] bilbo524:
Dirty-flashed my wife's XT897 from CM10.2 to CM11 with this recovery with absolutely no issues. Thanks, man!:good:
[Motorola Photon Q 4G LTE] The Solutor:
There is a small bug on this recovery, not sure if limited to this version only or if the bug comes from the official release.

Whatever... backing up just the recovery partition works, but the recovery will be invisible in the restore phase.

BTW restoring "nothing" (no partition visible and so no partition selected) will restore the recovery partition.

Hardly this is the expected behavior.
[Motorola Photon Q 4G LTE] arrrghhh:
Weird. I was wondering if something was up when I was restoring... lol.

Well I'm not sure why that would've happened, unless I just sync'd TWRP at a bad time. I'll try to rebuild it, thanks for pointing this out.
[Motorola Photon Q 4G LTE] The Solutor:
You are welcome ;)
[Motorola Photon Q 4G LTE] jbyrkit:
Worked for me too no problem
[Motorola Photon Q 4G LTE] arrrghhh:
Hey guys, official TWRP has been updated. It should work for 4.4 ROM's. Enjoy!
[Motorola Photon Q 4G LTE] progrockguy:
Very nice! AND it still works on the AHD lol

What was the result of your mb866 test build? We have working recoveries from CWM Touch and Philz, but still no TWRP :/
[Motorola Photon Q 4G LTE] arrrghhh:
Yep, TWRP never worked out right. Something weird with the mb886 touchscreen, I tested with a guy fairly extensively and we could not figure it out.

Having the device would obviously help, but no guarantees I would be able to fix it then either.

At least you have CWM Touch ;). TWRP is all we got if we want touch!
[Motorola Photon Q 4G LTE] aviwdoowks:
Works on the xt907/5. But mirrored input. Usb mount is not included on .0 version. So the challenging input is worth it-to get another rom while being borked in recovery.

Thank you arrrghhh!
[Motorola Photon Q 4G LTE] arrrghhh:
I attempted to fix TWRP on the MB886 but was unable... not sure I ever looked at the xt907.

I'll see if it's similar to the Q's touchscreen driver setup or not (if it is, should be an easy fix... the mb886 was not.)
[Motorola Photon Q 4G LTE] progrockguy:
+ 2.6.3.1: Backup skips the /system/media folder (seems to be TWRP-wide, not device-specific)
[Motorola Photon Q 4G LTE] arrrghhh:
Interesting. I don't have time to look at this now, but I'll try to pass it on when I can... thanks.

Edit - I wonder if it was done on purpose to try and reduce backup size? Still seems odd :D
[Motorola Photon Q 4G LTE] tobby88:
Did anyone try the new TWRP 2.7.0.0? It seems to be very buggy on my phone. It does a reboot loop on a factory reset and it does a reboot-to-recovery every time I want to wipe /data, /cache or /system. It doesn't change anything to use rm -rf instead of formatting it.
[Motorola Photon Q 4G LTE] arrrghhh:
Hm, I haven't been keeping up with TWRP lately. Seems they've already released 2.7.0.1...

Might want to wait a bit :)
[Nexus S Q&A, Help & Troubleshooting] yoavp10:
Hi guys,

Recently my nexus battery life became awful. It was never good but it became really bad, like 15%/hour with low usage (some texting and short calls) but wifi+data on (however when i'm turning off wifi it barely change). If i'm using whatapp (for example) without turning off the screen, i can loose 1% every 1-2 minutes. I'm using completely stock 4.1.1 (i9020a if it matter).

I also made factory reset 2 weeks ago, didn't change anything.

I have this phone for a year now but the sticker on the back says that it was produces in march 2011 so the battery is 1.5 years old, probably around it's EOL.

I searched for new batteries, but most of the original batteries i found are 1440 mAh. Mine is 1500. Is this making a big difference? the battery life now is making the phone barely usable but i obviously won't buy a new battery if it won't make it any better...

Any advice about this issue?

Thanks!
[Nexus S Q&A, Help & Troubleshooting] polobunny:
1440mah won't change much compared to 1500mah. If you have a custom rom make sure to wipe everything from recovery, re-install your ROM and see how that goes. A lot of times bad battery can be explained by the user usage rather than by defective hardware.

Nevertheless, it's not impossible the battery is dying, so it's not a bad idea to buy a battery. Make sure you buy quality instead of china products, OEM will give you the best results.
[Nexus S Q&A, Help & Troubleshooting] yoavp10:
Thx, as i said i'm completely stock and recently made a factory reset which is equal to wipe. the battery should be made by samsung, so it's not a china product (or is it? :D)
[Nexus S Q&A, Help & Troubleshooting] polobunny:
No that's perfectly fine. As I said, you don't want crappy unknown brand battery. If it's too cheap too, it could be a copy.

Factory reset isn't equal to wipe though. ;)
[Nexus S Q&A, Help & Troubleshooting] yoavp10:
OK, thank you! I'll but a new battery and hope that this is the problem :)
[General Questions and Answers] crinca15:
Hello!

The Question is on the top (:
[General Questions and Answers] TeeJay3800:
Double posting is not allowed. Please familiarize yourself with forum rules and post your question only once. Thread closed.

Other thread for reference: http://xdaforums.com/showthread.php?p=31551431
[HTC Desire S] engelmarkus:
Hi there,

I know that some of you were able to connect peripheral devices to their phones.

Has anyone of you tested this with the ICS stock kernel? When looking at /proc/config.gz it seems to me that all things neccessary for USB OTG are contained in the kernel.

Did you always use a special "OTG cable" or were you able to force the controller into host mode?

I'm playing with several USB hubs at the moment but I'm stuck.

Have a nice day,

Markus
[HTC Desire S] Jack_R1:
You need Y-cable for getting the VBUS to both phone and hub.
[HTC Desire S] engelmarkus:
Well, I removed a diode from my hub and put a label on it saying "do not connect to computer" ;) .

Now, as soon as I connect my phone to the hub's upstream port, it starts charging. But still dmesg doesn't say anything about a switch to host mode :( .
[HTC Desire S] Jack_R1:
Check ID pin value on the cable you're using. You're most likely using the standard A-to-microB cable, meant for device. You need A-to-microA, or just hack your cable and tie ID pin low in the microB plug, turning it into microA.