yashsingh1/xdaforums huggingface dataset:
[Moto Maxx Original Android Development] fgl27:
There is a help on the #2 post. TWRP doesn't change the size of any partition, yo can advanced format any partition to any of the available format support by TWRP.

This are the sizes in bits...

BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216

BOARD_RECOVERYIMAGE_PARTITION_SIZE := 16793600

BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648

BOARD_USERDATAIMAGE_PARTITION_SIZE := 57185009664

BOARD_CACHEIMAGE_PARTITION_SIZE := 3539992576

BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4

But the cache will show like this on TWRP and will boot just fine, and it is EXT4.
[Moto Maxx Original Android Development] ChazzMatt:
For XT1254 Droid Turbo users, YES when your bootloader is unlocked, this is the TWRP recovery you will need and use.

It's the OFFICIAL TWRP for all Quarks.
[Moto Maxx Original Android Development] fgl27:
Op and title update thanks...

If any one try this on XT1254 let me know.
[Moto Maxx Original Android Development] ChazzMatt:
Yes, some have -- those lucky enough to get bootloader-unlocked XT1254 Droid Turbo through Chinese gray market. Also, many XT1250 U.S. Moto Maxx users have used this TWRP, which identical to the XT1254 -- same FCC ID and runs on Verizon with a Verizon SIM card, just like a non-Verizon Moto Nexus 6.

See this Twitter post. They were first asking for someone to build TWRP for the Droid Turbo, not realizing it's already built! ;)

https://twitter.com/r3pwn/status/668136028452990978
[Moto Maxx Original Android Development] sonjohn1:
When I use Flashify to flash TWRP 2.8.7.0 Quark I boot into the recovery start screen. If I toggle down to recovery I see the unlocked boot loader message and go right back to the same screen. Any ideas on why this isn't working on my phone?
[Moto Maxx Original Android Development] unhappybirthday:
Any trick to making the TWRP folder readable when system is booted? Unlocked my DROID Turbo bootloader, installed TWRP and made a backup successfully. When system is booted, the TWRP folder appears to be empty. Tried to change permission and file manager says it doesn't exist.
[Moto Maxx Original Android Development] fgl27:
I'm not understand you, if you can be more specific write again, differently. on the bootloader screen use volume up and down to move, and power to enter.

On stock that may happen, go back to recovery and use the file manager of recovery (advanced file manager), if you have a OTG-Driver copy the TWRP folder to the USB (it need to be formatted as FAT32 or exFAT) , if you don't, copy the backup folder to any other folder, but copy just the backup folder not TWRP because it may copy the lock permission, so copy the folder that have the date that is inside TWRP/BACKUPS/you device serial/
[Moto Maxx Original Android Development] mjc2251:
Does USB otg work on turbo? I just tried to mount an otg flash drive and it would not mount.

Edit: Nevermind I gave it a few more tries and got it working!
[Moto Maxx Original Android Development] fgl27:
2# post update just in case more USB bugs...
[Moto Maxx Original Android Development] GeoFX:
You may not be looking at the right place. Ever since JellyBean 4.2 with the advent of multi-user the TWRP backups go into the /data/media/0/TWRP/Backups by default.
[Moto Maxx Original Android Development] unhappybirthday:
Thanks! I found them there.

My file manager (Total Commander) presents the "internal SD" as /storage/emulated/0. It shows all the same files as /data/media/0 does but for some reason the TWRP folder won't open. Anyway, they are found.
[Moto Maxx Original Android Development] unhappybirthday:
My previous experience with TWRP (different device) was that wiping data would skip the "internal SD". A DROID Turbo user claims it wiped everything (music, pictures, etc.). Is this normal?
[Moto Maxx Original Android Development] ChazzMatt:
NO. He did something wrong. You want "factory reset" which wipes data partition, cache, dalvik but leaves storage alone.

Others purposefully do wipe everything, but they are doing it for a reason. That's not what most people need or want.
[Moto Maxx Original Android Development] miketoasty:
As Chazz said, TWRP won't touch pictures, downloads, etc unless you explicitly tell it to. I have wiped my phone numerous times since the Bootloader unlock was released using TWRP and haven't lost any pictures that have been on my device since buying it last year.
[Moto Maxx Original Android Development] lko_leader:
Removing Encryptation While Using TWRP

Just in case someone reaches wants to jump from Stock (encrypted) to CM or any other ROM...

As the name sugests, it is indeed possible to remove encryptation on the device while using TWRP.

Instead of wiping cache, data and dalvik, choose the "Format Data" option. Goes without saying that all your files and stuff will be zero'ed, but at least there is no need to go back to stock recovery for that.

Galera, da pra remover criptografia do aparelho sem precisar voltar pra Stock Recovery.

Ao invés de só mandar um Factory Reset, tem que formatar a partição Data (tem uma opção no menu Wipe da TWRP). Nem precisa falar que tudo que você tem no aparelho vai embora, mas reduz o trampo de ter que voltar pra stock recovery pra depois perder tudo!
[Moto Maxx Original Android Development] fgl27:
Have you test this?

I did long time ago and trust what I put on the #2 post, not that you are wrong, I just may not test like that. There is a reserved space of data just for encrypt and for my knowledge TWRP doesn't format that only the stock ROM can. That is the way the help about that on the OP.
[Moto Maxx Original Android Development] lko_leader:
Tested yesterday and it worked just fine. To be honest, tried sometime ago on a v500 with TWRP (same version and decrypt scenario) and it worked, so took the risk and formated on the Maxx.

Anyways, yeah, it works fine like a fiddle.

Testei ontem (já tinha testado em um LG v500 umas semanas antes) e funcionou perfeito. Já que vamos ter que perder tudo pra desfazer a cripto mesmo, ao menos salva uns 5/10 minutos, né?
[Moto Maxx Original Android Development] Jefff0101:
Confused

I don't understand what this is. What does it do? How does it do it? When/why do I use it? I am looking for a way to get "full" root on my droid turbo. I have used kingroot and I can't pay for sunshine. Thanks in advance
[Moto Maxx Original Android Development] ChazzMatt:
TWRP is custom recovery. Allows you to make full image backups as well as flash elements like SuperSu to gain full root, custom kernels, custom ROMs. Even if you are not interested in custom kernels and ROMs, if you make a mistake with root, you can restore a backup made with TWRP and all is good. It's like a time machine to erase stupid mistakes. ;)

Sorry, but you will need to pay for Sunshine if you have a Droid Turbo XT1254. It has a carrier-locked down bootloader unlike the other Quarks (Moto Maxx, Moto Turbo). Once you use Sunshine to unlock the bootloader, then you can install TWRP, flash SuperSu to get full root and custom recovery.
[Moto Maxx Original Android Development] razzorchile:
update my old version ( 2.8.1.0 ) via flashy ... no problem,all its ok!

THK!
[Moto Maxx Original Android Development] Nitefire77:
TWRP 3.0

TWRP 3.0.0.0 has been released and a build for quark is up

https://dl.twrp.me/quark/

edit: Ive flashed it via fastboot. its working great, looks great. no problems I can see so far
[Moto Maxx Original Android Development] fgl27:
Thanks for the warning.

@ all

I was not expecting this, as the changes are be done on the android M source and to build on that is need a M working kernel with we don't have.

But checking the image it was build on L source so all is good in that question...

So will update the thread description is an one have any problem with the new one let me know.

Note:

NTFS we still don't have support, as ntfs is a kernel + TWRP thing and on our device we depend on ROM tools to use ntfs and not kernel, our kernel doesn't have it then TWRP doesn't too..

So regards ntfs when we have a stable M kernel I try to enable ntfs on that and make a new recovery, the last time I test ntfs enable on the 5.1.1 kernel that we have today it did not work.

Changes for 3.0.0-0
[Moto Maxx Original Android Development] ChazzMatt:
Just flashed it -- looks great. Thank you for the information!
[Moto Maxx Original Android Development] ganggreen31:
I can barely understand you man
[Moto Maxx Original Android Development] fgl27:
what is your point?
[Moto Maxx Original Android Development] purple.epod:
I ran into some strange issues with the 3.0.0 on my bootloader unlocked Droid Turbo. The 2.x twrp works just fine, but when I flashed this one, I rebooted into recovery and it seemed to work just fine, and then when I restarted my phone again my SIM card wouldn't register. Then I rebooted again and it hung on the boot animation and then bootlooped. So I rebooted to recovery, wiped my phone and restored my nandroid backup of Stock rooted 5.1, same issue occurred again. I reflashed 2.x twrp in recovery, and then after rebooting (again) still had the freezing boot animation followed by a boot loop. So I wiped my phone again, and installed CM12 in case it was an issue with the stock ROM, same problem. In the end I had to restore with RSD Lite to get my phone functional again.

I'm not sure what occurred, but it was weird as hell.

Sadly I have no logs as I was more preoccupied with making sure my phone wasn't bricked.
[Moto Maxx Original Android Development] Nitefire77:
That is weird. Mine hasn't had any sim card issues, still functioning just fine here. Using resurrection remix latest build flawlessly
[Moto Maxx Original Android Development] zefir738:
I just had a weird issue with 3.0.0 where my backups were only half size, and then it sent my phone into a bootloop when I went to boot. Weird.

Sent from my Droid Turbo.

Resurrection Remix.

Straight Talk/Verizon.

Tapatalk.
[Moto Maxx Original Android Development] fgl27:
So just to better understand this.

Device is working just fine, you do noting just flash the new recovery, then just open the recovery did not do a thing there, reboot to system, and get all this problem?

I did some backup/restore and believed other too, and so far so good. I have md5 generation turned off, did not test with that on, but on is the default so other must have.

Try to deleted the TWRP folder from internal memory (copy any backup if you need to pen driver or PC first) so any wrong config that may be there get erased, and try again it probably will work but if not let me know.
[Moto Maxx Original Android Development] kitcostantino:
this looks horrible for now, but it is the beginning of a themed version. i will post it when and if i think its decent. ;)

as far as those errors, i havent had any using 3.0.0.0 via TWRP manager and directly downloading. weird. i have restored the 2.xx version without issues and re-flashed the 3.0.0-x without issues.
[Moto Maxx Original Android Development] kitcostantino:
Thank you to [MENTION=5747496]baybutcher27[/MENTION] for getting TWRP updated to 3.0.0-0 for us. Also for the tips to theme this. Thank you as well to [MENTION=5186178]carliv[/MENTION] for Carliv Kitchen. I love my Quark more and more everyday. Thank you!!!

v2: (shown) https://drive.google.com/file/d/0B5kIFKwbboYYSjJmbHpfX09hWkk/view?usp=docslist_api

v3: (mostly blacked out, burple highlights)

https://drive.google.com/file/d/0B5kIFKwbboYYVmZ6NFJYZ01mRG8/view?pref=2&pli=1
[Moto Maxx Original Android Development] juliogama:
Liked, thz

Enviado de meu Moto MAXX usando Tapatalk
[Moto Maxx Original Android Development] jlang11:
Just installed and no issues. Cant wait for some themes to come out. Thank you for all your efforts!!
[Moto Maxx Original Android Development] kitcostantino:
i made one, but its not a theme by itself, it is a themed version of TWRP for our Quarks. i havent been able to get the UI.zip structure to work for standalone twrp 3.0 themes. this is v3 from the link on the last page:

there are still a few minor glitches to work out (theme only, the recovery itself functions exactly the same) but it works. ;)
[Moto Maxx Original Android Development] Asyt:
Hi there, need a little help troubleshooting as I am fairly new to this: was able to flash 2.8.7 and 3.0.0 no problems on my Droid Turbo, but I am getting an error while in recovery. When it asks me provide the password to decrypt the storage, I enter in the password and i get the following:

"Unable to mount storage.

Full SElinux support is present.

Failed to decrypt data."

Did I make a mistake by not decrypting before I flashed the recovery? What is interesting is i can still hit cancel and navigate around, I just can't get access to anything to internal storage to install anything. Any advice is welcome, thanks.
[Moto Maxx Original Android Development] kitcostantino:
which rom were you on? Stock? CF274? BB27?
[Moto Maxx Original Android Development] Asyt:
Stock Rom, which had 5.1
[Moto Maxx Original Android Development] kitcostantino:
id just power down reflash stock recovery and unencrypt.
[Moto Maxx Original Android Development] Asyt:
Will flashing the stock recovery re-lock the bootloader? Apparently re-locking the bootloader bricks the Droid Turbo. Thanks for the help.
[Moto Maxx Original Android Development] kitcostantino:
negative. you can do a full FXZ if you wish, even though that would wipe data. to only change recovery, i typically just extract the recovery.img and flash it in mfastboot. the only thing that would relock the BL is typing the opposite of the oem unlock command. if one were to relock the bootloader, it would make it impossible to ever unlock it again.

i swap recoveries back and forth using Flashify (which can only be used 4 times a day for free if ya dont buy the license)

or simply extract it from the fxz and mfastboot flash recovery recovery.img

it.
[Moto Maxx Original Android Development] Nitefire77:
TWRP 3.0.1.0

TWRP 3.0.1.0 Is now available for all Quark devices. I have flashed the new version using fastboot on my XT1254 and it functions perfectly, and my theme from 3.0.0 still working great

download here: https://twrp.me/devices/motorolamotomaxx.html

enjoy!
[Moto Maxx Original Android Development] fgl27:
TWRP 3.0.1-0 Released

[IMG="twrp"]https://dl.dropboxusercontent.com/u/281742759/twrp/1%20(2).png[/IMG]

What’s new in 3.0.1-0:

support new CM 13.0 pattern encryption (sultanqasim)

fix slow flashing issue due to modprobe (present on only some devices) (#twrp)

libtar updated to latest upstream and fixes (jcadduono)

fixes for loading custom themes (_that)

TWRP will now detect and install TWRP themes automatically through the normal zip install process (Dees_Troy)

translation updates - added Italian, Czech and Polish and significant updates to Dutch

progress bar improvements - progress bar updates during image flashing and better tracks progress during file system backups (tar) (Dees_Troy)

fix input box text display (Dees_Troy)

reboot option after zip install complete (bigbiff)

other mostly invisible bug fixes and improvements

If any one have any problem with the latest version let me know...
[Moto Maxx Original Android Development] unhappybirthday:
I cannot decrypt my data partition in 3.0.1. Reflashed 3.0.0 and it decrypts fine. Tried 3.0.1 again and it fails.

I'm running stock rooted droid turbo lollipop. My password is alphanumeric.
[Moto Maxx Original Android Development] ChazzMatt:
3.0.2-0

new build is out.
[Moto Maxx Original Android Development] fgl27:
3.0.2-0 Fix that for you?
[Moto Maxx Original Android Development] unhappybirthday:
It sure did. Thanks!
[Moto Maxx Original Android Development] newbe1droidx:
Quick question, went to install twrp 3.0.2-0 on a droid turbo. Already have 3.0.0-0 installed. Right before it goes to install it asks me if it is going to install to the correct path. I don't know if it is the correct path. What is the best way for me to figure if it is the correct path. It then states if it is not correct it will brick my droid turbo. Thanks for any help. Using twrp app.
[Moto Maxx Original Android Development] ChazzMatt:
I install with Flashify app and it doesn't ask me that question. Installs fine.
[Moto Maxx Original Android Development] newbe1droidx:
Thanks Chazz forgot about that one.
[Moto Maxx Original Android Development] CASEY_K:
Flashed 3.0.2-0 no problem, everything works just fine except for the date and time is way off. I made this back up of RR 6.0 today (4/162016) and the date on there is the 12th. Any suggestions would be appreciated and the time seems to be 12 hours off. Timezone is set correctly as well. To add, the time and date didn't thrown off till the most recent version. Thank you
[Moto Maxx Original Android Development] Nitefire77:
You went back to the future. If you set the flux capacitor to the right date and hit precisely 88MPH and generate 1.2Jigawatts of power you should return to the proper time
[Moto Maxx Original Android Development] fgl27:
TWRP date and time comes from the OS date and time, so that clock is your OS clock, Marshmallow clock is buged, even on stock ROM is of by two days, on custom is of by tree days some times more is random... Of courser you don't notes that because the clock comes from the sin card network or you set it manually, but none of those can fix the buged time on TWRP.

If you flash lollipop ROM after lollipop boot fine and the clock is set you go back to recovery and the date and time is just ok.

For now you need to set time zone (UTC) that will display correct time of the day for you, that may not be the correct UTC for your local, then when making a backup you need to click on the name (auto generate) of the file and change the day to the correct day manually...

On future updates of TWRP or the ROM that will be fix, but that will take awhile...
[Moto Maxx Original Android Development] CASEY_K:
Right on. Thanks for the info.
[Moto Maxx Original Android Development] segador6701:
as with TWRP TWRP update ?

Enviado desde mi Moto MAXX mediante Tapatalk
[Moto Maxx Original Android Development] ChazzMatt:
:confused:

Rephrase your question.
[Moto Maxx Original Android Development] segador6701:
Sorry for my bad english :(

Enviado desde mi XT1225 mediante Tapatalk
[Moto Maxx Original Android Development] ChazzMatt:
I want to help. Just ask again with different words, so the meaning will come through.
[Moto Maxx Original Android Development] segador6701:
I can upgrade from TWRP

Thanks friend

Enviado desde mi XT1225 mediante Tapatalk
[Moto Maxx Original Android Development] ChazzMatt:
Yes. You can update to newer version of TWRP in TWRP. Or you can update with Flashify app without having to boot into TWRP recovery.
[Moto Maxx Original Android Development] fgl27:
Latest changes to Marshmallow seems to fix date on backup for me... But time zone I need to set +12 even I on -3 zone(this is random) then a 15 offset, but that was always like this on every twrp I test the hour was wrong not a big deal.

But is good that the date is fix easier to track backups chronology...

:good:
[Moto Maxx Original Android Development] jkhao:
TWRP3.0.2.0 recovery author can add Chinese? thank you ?My English is not good. Phone models Moto MAXX xt1225
[Moto Maxx Original Android Development] fgl27:
Shore, I'm not responsible for translations I hope this is fine, as it is done by Japanese and Chinese developers must be...

twrp-3.0.2-0-quark_Japanese_Chinese_Simplified_and_Traditional.img
[Moto Maxx Original Android Development] jkhao:
Thank you very much?????:good:
[Moto Maxx Original Android Development] fgl27:
I made a Mod version of TWRP base on the TWRP 3.0.2-0 with extra languages...

To add some new backup options...

Add Modem, that is the "radio.img" multi partition that included the root folder firmware + 3 other partition that show when we flash a radio.img (mdm1m9kefs1, mdm1m9kefs2 and mdm1m9kefs3).

And add Logo, that it is the boot logo that comes right after the devices power-up

twrp-3.0.2-0-Mod-quark.img

This is under test, but can be very helpful when backing up stock ROM, as if you try to use a Radio image from another android version the device may boot-loop or boot but not fully work.

And need further test to see if this helps on cases of GPS lock problem on custom ROM, as now is possible to backup and share a Modem backup and that can help on those situation. Maybe we can do a backup after get a GPS lock on stock, and use that to restore whenever it get lock problem on custom ROM...

Of course long test is need to see the effect of this new backup.

So report back to me those that test and use the new backups, for GPS problem, to go back to stock KK, LL and MM over other OS version...

I only test the Modem backup, as I only have one logo, but I will find some more logos and test to see if is working and report back here, the modem work ok as expected.

:good:
[Moto Maxx Original Android Development] fgl27:
BTW... the recommendation to change TWRP version even if is 3.0.2-0 over my mod one, is before or after, you delete the TWRP config file, that is under TWRP folder that is on the internal memory, that file that have this name ".twrp"...

This will prevent some odd behaviors of TWRP.
[Moto Maxx Original Android Development] TheSt33v:
I encrypted your RR M on my XT1254. I accomplished this by flashing the stock recovery menu, performing a factory reset and then encrypting through the settings on RR M. However, when I flash TWRP, it cannot decrypt /data.
[Moto Maxx Original Android Development] TheSt33v:
If anyone wants to try restoring my logo backup, here it is.
[Moto Maxx Original Android Development] fgl27:
Interesting...

As far as I test, TWRP can only backup/restore a encrypted data... to remove the encryption as others users have posted you need to format the partition via TWRP, under wipe advanced...

To TWRP be able to decripte if that is possible for Quark will need some work from me, I will try the next time before I update the official TWRP, but first I need to make a lot of test and changes and that will take a long time...

That is in my to do list for this project. :good: