yashsingh1/xdaforums huggingface dataset:
[Moto Maxx Original Android Development] fgl27:
TWRP update

twrp-3.0.3-0-Mod_01-quark.img

Download

Note:

This is a pre released of 3.0.3 when all the changes are finalized I make and released a new one

===================

Jan-12-2016

===================

* All the previously TWRP Mod + the below

* Kernel Improves

* Latest updates and bugs Fix to the date of TWRP

* Add the Fix for recent change in AOSP Nougat that causes a bootloop to TWRP when the users try's to Factory Reset via Android

Any problem found report and use a old version.

[MENTION=7856794]R3pl0id[/MENTION] let me know the result.
[Moto Maxx Original Android Development] fgl27:
I did not had time to test the encryption support but I test all the rest, if anyone has already the device encrypted and test the latest let me know the result.

Takes to much time to encrypt and then to remove (as I don' t use it encrypted) just for a test...
[Moto Maxx Original Android Development] R3pl0id:
[MENTION=5747496]bhb27[/MENTION]

Bootloop solved. You're the man, thanks a lot bro!
[Moto Maxx Original Android Development] grifdogg55:
I've read through the thread and noticed a few people saying TWRP can take quite a while to boot up. I am unlocked and rooted and months ago had TWRP up and running so I could install a ROM. I wanted to finally update the ROM so I figured I would update to the newest TWRP first. I flashed 3.0.3 according to the instructions in this thread and then reboot to recovery. It hangs on the TWRP splash screen (correctly saying 3.0.3) and never actually gets into TWRP. I let it sit for 40 minutes and nothing ever happened. I decided to downgrade and went to TWRP 3.0.1 official. Same issue. It just hangs at the splash screen (45+ minutes). Any help would be greatly appreciated.
[Moto Maxx Original Android Development] fgl27:
All TWRP mod or official boot just fine you have a different problem. The boot time is 30s to 3-4min.

Delete the TWRP folder inside internal memory, copy any backup you need first then reboot to recovery.
[Moto Maxx Original Android Development] grifdogg55:
There isn't anything in the TWRP folder but I deleted it anyway. Rebooting to recovery still hangs at the TWRP splash screen forever and never actually loads TWRP. Months ago I did have working TWRP and used it to install a custom ROM. The phone still works fine with the ROM I installed, I just can't get into TWRP to make any updates to the ROM or do anything else I might want to do.
[Moto Maxx Original Android Development] fgl27:
I have no idea what is going on, without it open there is no logs.

You can clean data and cache via fastboot in bootloader screen, because there is the possibility that something is corrupted on those.

fastboot erase cache
fastboot erase userdata

That will erase everything on internal memory and data, so you will loose all files apps etc, so make backups if you are up to, backup with a app like titanium backup and copy all the files to a external source...
[Moto Maxx Original Android Development] TheSt33v:
My device is encrypted, and this version of TWRP decrypts it just fine.
[Moto Maxx Original Android Development] grifdogg55:
Well, that worked to get TWRP working but now I have a larger problem. The ROM is a zip file I intended to install from with TWRP, but I can't figure out how to get the zip file on the phone so I can install it. I tried connecting to a laptop but it doesn't seem to connect correctly so that I can transfer files to the phone. Any ideas on this one? I tried various options within mount in TWRP, but nothing seems to work.
[Moto Maxx Original Android Development] fgl27:
Good to know that is working... :good:

Connect USB cable on PC must show you the device sdcard folder in the PC.

The only thing to do in TWRP is disable enable MTP in the mount option if MTP doesn't enable it self when plug the cable.

If you can't do that just boot the OS that is already there and download it using a browser that must be on the ROM.
[Moto Maxx Original Android Development] ChazzMatt:
You have current Motorola drivers installed on PC?

https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481

With those installed, if you boot into TWRP recovery, you should be able to connect phone to PC via USB cable and that basically turns your phone into a flash drive. You can then drag over files and see them in TWRP. You may have to go up to the "parent" folder as they will be place on the root folder, not in your "download" folder, but they will be there.
[Moto Maxx Original Android Development] grifdogg55:
I had a lot of strange issues but I finally got it to work. No matter what I did, the phone wouldn't show up as a usable drive in Windows. It didn't seem like TWRP was able to mount /data. I figured out that I could load zip files using adb sideload so I did that. First flashed the modem without issue, but then the phone went into a TWRP boot loop. I reflashed TWRP numerous times but it kept boot looping and trying to run some kind of script. For no apparent reason after powering down a bunch of times I was finally able to get back into usable TWRP. Then I was able to adb sideload the ROM zip and I'm back up and running. I think multiple data and cache wipes finally cleared out whatever corruption was causing my problems.
[Moto Maxx Original Android Development] fgl27:
TWRP update

twrp-3.0.3-0_MOD_2-quark.img

Download

Note:

This is a pre released of 3.0.3 when all the changes are finalized I make and released a new one

===================

Jan-23-2016

===================

* All the previously TWRP Mod + the below

* Included the latest TWRP updates to this date * Kernel Improves * Latest updates and bugs Fix to the date of TWRP

Any problem found report and use a old version.
[Moto Maxx Original Android Development] immadeofpixels27:
Quick question [MENTION=5747496]bhb27[/MENTION]

Does TWRP support F2FS flash drives over USB-OTG? If not, what filesystem should I use to fit files over 4GB on my flash drive and still use it to store TWRP backups?
[Moto Maxx Original Android Development] fgl27:
TWRP support F2FS to all. Use NTFS for big drivers as some devices will not be able to read F2FS driver, like some linux or windows computers, particularly never test F2FS on windows but on my linux box doesn't works.
[Moto Maxx Original Android Development] NTRBL:
Having trouble finding a theme that will work with latest TWRP update. Any suggestions? Thank you.
[Moto Maxx Original Android Development] adrihdez21:
Try these https://basketbuild.com/devs/z31s1g/Testing
[Moto Maxx Original Android Development] s5610:
Looks like all 3.0.3-0 builds are flawed: Super-Su 2.79 install doesn't work properly, at least in systemless mode. Please, check.

Latest 3.0.2-0 is fine.
[Moto Maxx Original Android Development] ChazzMatt:
Nothing is flawed. I'm running two XT1225 on SU 2.79 R3 with TWRP-3.0.3-0_MOD_2 just fine.

Please provide info why you think it's not working right.

In these screenshots I even just re-installed 2.79 R3 to show you. See below.
[Moto Maxx Original Android Development] NTRBL:
Thank you so very much it works perfectly!!! You made my day :)
[Moto Maxx Original Android Development] s5610:
Thanks for answer. Both two 3.0.3-0_MOD builds give me the same effect - SuperSU install script doesn't work correctly (please, see screenshot attached to my first post). When I return system and data partitions to untouched state, and try same operation with 3.0.3-0 b4, it goes just like yours screenshots, with all sequences (kernel patch, etc), and I got root. So that's why I think problem is with newer builds.

I'm installing custom stock-based ROM MPGS24.107-70.2-2, and using this SuperSU all-in-one variant, updated to 2.79. Maybe that is the cause... But it's working on 3.0.2-0 :confused:
[Moto Maxx Original Android Development] ChazzMatt:
Try the official 2.79 SR3 by Chainfire.

https://download.chainfire.eu/1021/SuperSU/SR3-SuperSU-v2.79-SR3-20170114223742.zip
[Moto Maxx Original Android Development] fgl27:
TWRP update

twrp-3.0.3-0_MOD_3-quark.img

Download

Note:

This is a pre released of 3.0.3 when all the changes are finalized I make and released a new one or when important bugs fix are released

===================

Feb-17-2016

===================

* All the previously TWRP Mod + the below

* Included the latest TWRP updates to this date

* Kernel Improves

* Latest updates and bugs Fix to the date of TWRP

* Most notable is the fix for Nougat Setting configurations be lost after the wipe of cache or a restore of the ROM Data, only new backups made on the latest MOD TWRP will have this featuring.

Any problem found report and use a old version.
[Moto Maxx Original Android Development] fgl27:
Let me know the behavior of this on Marshmallow or older...
[Moto Maxx Original Android Development] colthars:
I'm on rr 6, installed some zips, made a backup. looks normal until now. ?
[Moto Maxx Original Android Development] Nido221:
How to flash,via ADB or TWRP???

Been out of thread for a long time.
[Moto Maxx Original Android Development] adrihdez21:
In the install section of the recovery, you can select IMAGE, find the recovery image, select recovery partition, flash it and reeboot, or you can use adb if you want
[Moto Maxx Original Android Development] fgl27:
Installation instruction first page, I don't know what you wanna to install ADB is not used to install recovery.
[Moto Maxx Original Android Development] Nitefire77:
TWRP 3.1.0 Has been officially released and is downloadable through TWRPs official site

Snag it here and flash it with fastboot or use flashify

https://dl.twrp.me/quark/
[Moto Maxx Original Android Development] fgl27:
that doesn't have any update at all in relation to last MOD version, is really a downgrade for those on MOD version...

they never update from my changes so just use the last mod when I finish testing 3.1_MOD, I release it, there is no change that affect us in relation to last MOD 3.0.3 that I alredy released...
[Moto Maxx Original Android Development] fgl27:
TWRP update

twrp-3.1.0-0_MOD_1-quark.img

Changelog

Download

Any problem found report and use a old version.
[Moto Maxx Original Android Development] Scrluiz:
no problems, sir. TY!
[Moto Maxx Original Android Development] ChazzMatt:
Interesting tool to complement TWRP. Works with the new TWRP 3.1.0:

[TOOL] [WINDOWS] TWRP Backup & Restore Tool For PC

https://xdaforums.com/showthread.php?t=3572241
[Moto Maxx Original Android Development] fgl27:
Is that be tested on quark?

I did not test adb backup yet I wanna to know...:good:
[Moto Maxx Original Android Development] ChazzMatt:
I just found it this morning, haven't tested it yet. I'm at work.
[Moto Maxx Original Android Development] ChazzMatt:
[Guide] How to make a Materialised TWRP image[Noob free]

https://xdaforums.com/showthread.php?t=3574593
[Moto Maxx Original Android Development] TheSt33v:
I can't get adb backup to work. I boot into TWRP, plug into the computer, adb backup --twrp. I get the message "Now unlock your device and confirm the backup operation," but the TWRP menu is unchanged. There is no confirmation dialog. adb devices shows that the device is connected and properly recognized.
[Moto Maxx Original Android Development] koftheworld:
Nm....
[Moto Maxx Original Android Development] eniomarcos:
Can I use "twrp-3.1.0-0_MOD_1-quark.img" with MM stock ROM and kernel?
[Moto Maxx Original Android Development] ChazzMatt:
Yes. This is official TWRP for all Quarks. You would just be replacing stock recovery with this custom recovery.

In fact, when you unlock the bootloader, the FIRST STEP after that is to install TWRP recovery to replace stock recovery. Only then, can you permanently root with SuperSu.

After that, then you can uninstall bloatware, or install custom ROMs or Xposed with Xposed modules.

But no one says you HAVE to do all that. You could just stop after installing TWRP.

TWRP custom recovery gives you the ability to make backups or to flash TWRP-flashable files.

Or are you talking about updating to this version of TWRP? You already have an older version? Either way, the answer is yes.
[Moto Maxx Original Android Development] Diego1751:
Does encryption work? The note on encryption is a bit confusing for custom roms
[Moto Maxx Original Android Development] fgl27:
TWRP is not a custom ROM. You can use it to backup a encrypted data or clean/wipe it of any ROM custom or not, just that noting else is done in TWRP regarding encryption.

There is some helps on first page if that doesn't help search.
[Moto Maxx Original Android Development] Diego1751:
My bad, I seemed to remember being told that encryption didn't work because of twrp. Thanks
[Moto Maxx Original Android Development] ChazzMatt:
awaiting your mod of this, [MENTION=5747496]bhb27[/MENTION]!

TWRP 3.1.1 is Out, Brings Minor Fixes

https://www.xda-developers.com/twrp-3-1-1-is-out-brings-minor-fixes/
[Moto Maxx Original Android Development] RSDamasceno:
[MENTION=5747496]bhb27[/MENTION] Did you give up updating TWRP?
[Moto Maxx Original Android Development] fgl27:
there is no substantiate update, only minor bugs, the day all the bugs are resolved I make a new one. the last mod I did for me is more stable then any update version.
[Moto Maxx Original Android Development] Soul reaper:
https://plus.google.com/+CharG/posts/RE5syNsRrVm

If anyone needs some good themes.
[Moto Maxx Original Android Development] fgl27:
TWRP update

twrp-3.1.1-mod_1-quark.img

Changelog

Download

Any problem found report and use a old version, after some long time latest V seems stable for my taste...
[Moto Maxx Original Android Development] z4ck1n:
Thanks. Successfully flashed over old official version.
[Moto Maxx Original Android Development] fgl27:
TWRP update

twrp-3.1.1-mod_2-quark.img

Changelog

Download

Any problem found report and use V 3.1.0-0_Mod_01.
[Moto Maxx Original Android Development] fgl27:
Update on TWRP and encryption.

As TWRP can be used for backup and to remove encryption (only by formatting the Data partition yes losing all data apps, pic, videos, Downloads etc) I here will update to the latest test I did on it...

Before august 11 encryption on quark wasn't working on Nougat, I fix that and retest updating here the "how to do and undo"...

To encrypt Nougat ROM just, go to settings > Security > Encrypt phone

I recommend to setup a password to make files password protect even on TWRP, I personally only test with password.

To remove is simple but as TWRP show some error may be confusing so don't be alarm by the errors just fallow instructions.

After tipping the password and it be accepted you will see this on TWRP

After that OK load and you chose to remove encryption (if you don't know the password you can skip it and use this process to remove encryption), click on:

wipe > format data

tipe "yes"

and you will see this errors.

Don't be alarmed is all ok

Now go back and reboot to recovery

after the reboot no password will be asked, go and redo the before

wipe > format data

tipe "yes"

After that the result will be OK

Now is all fine you have successfully removed the encryption and erase all the data losing all data apps, pic, videos, Downloads etc I assume you understad that and did the backups before

you can restart your device encrypt again or not.

in doubt let me know...
[Moto Maxx Original Android Development] z4ck1n:
Installed mod_2.

No issues in installation thru fastboot :)
[Moto Maxx Original Android Development] Merinorus:
Hello,

Any feedback on the 3.2.1.0 version from the official TWRP website?

https://dl.twrp.me/quark/twrp-3.2.1-0-quark.img.html

For your information I could install RR Nougat without issue with this one.
[Moto Maxx Original Android Development] FlavioV:
I had no issues installing Nougat RR using official TWRP in the past, but I moved to [MENTION=5747496]bhb27[/MENTION]'s mod due to better support on quark. I see no reason to update unless there's a major feature.

This release seems more focused on Oreo, which we don't have yet.
[Moto Maxx Original Android Development] kitcostantino:
Me personally, i always keep BHB27's version installed. when and if there is something good, he updates his version. that is the only time i feel the need to update it. ;)

official is for many devices. his is only for our Quarks, so i trust his discretion.
[Moto Maxx Original Android Development] hobbit19:
[MENTION=5747496]bhb27[/MENTION]

pls update version
[Moto Maxx Original Android Development] fgl27:
Update what?
[Moto Maxx Original Android Development] hobbit19:
[MENTION=5747496]bhb27[/MENTION]

https://github.com/bhb27/twrp_device_motorola_quark/wiki/Changelog

mod

twrp 3.2*
[Moto Maxx Original Android Development] fgl27:
One yours writing is confusing.

Two I update when a update is necessary.

So don't you worry about TWRP 3.2* and don't request updates of projects that you have no idea how it works.
[Moto Maxx Original Android Development] ChazzMatt:
TWRP 3.2.X seems to be a lot about updating to Oreo or for stuff we don't have on our phones. I looked at the changelog for 3.2.0 and 3.2.1:

3.2.0

Better support for installing Android 8.0 based zips due to legacy props (nkk71)

Support vold decrypt with keymaster 3.0 in 8.0 firmwares (nkk71)

Decrypt of synthetic passwords for Pixel 2 (Dees_Troy)

Bring TWRP forward to android 8.0 AOSP base (Dees_Troy)

3.2.1

Better android-8.0 compatibility in ROM trees (Dees_Troy)

* Fix missing library in android-8.0 (nkk71)

I'm not saying that's all there in in the changelog, but it's at least half. And I'm not sure the other stuff I left out applies to Quarks right now either, but [MENTION=5747496]bhb27[/MENTION] would.

Bottom line, we have Nougat and Marshmallow ROMs still, and the current modded TWRP works very well for our ROMs. Until we get Oreo ROMs -- and [MENTION=5747496]bhb27[/MENTION] is working on that -- we don't NEED TWRP 3.2.X.

Would you rather [MENTION=5747496]bhb27[/MENTION] take time to release a modded version of 3.2.1 TWRP right now or finish his work on Oreo 8.1 first? ;)
[Moto Maxx Original Android Development] fgl27:
TWRP update

twrp-3.2.3-mod_1-quark.img

Changelog

Download

Any problem found report and use V 3.1.1-mod_02 from the "Old versions" folder

Backup of encrypted ROM untested, must be work as was for Nougat and older OS, for Oreo encrypted is untested by me, if anyone test let me know.
[Moto Maxx Original Android Development] darkghost568:
Just wanted to let you know, when I hit format data it says unable to decrypt and errors out, but I'm able to format the partitions separately in "Advanced Wipe." Didn't have this issue on 3.1.1_mod-2. No big deal, just wanted to give you a heads up.
[Moto Maxx Original Android Development] fgl27:
ROM?

Is data encrypted?
[Moto Maxx Original Android Development] darkghost568:
I never use a passcode/screen unlock so I should've been decrypted this whole time, I think (?). I was coming from the 20180724 LineageOS unofficial build, but it got borked somehow. I tried to format data via TWRP 3.2.3, but it failed with the "unable to decrypt to reformat mkfs.f2fs" error. I erased all the partitions manually using TWRP's Advanced wipe and booted to bootloader and did "fastboot erase system boot userdata" (which worked), but when I booted back to TWRP 3.2.3, and tried to reflash the Lineage ROM it wouldn't boot. I ultimately used the Verizon reset tool from fastboot, then booted back to fastboot, "fastboot erase all," and reflashed TWRP. When trying to format data via TWRP I was still getting the "unable to decrypt" error, but this time when I reflashed LineageOS using TWRP it was able to boot successfully. Sorry if this is too much info; I'm not entirely sure what's relevant, and didn't want to leave anything out that I shouldn't :p
[Moto Maxx Original Android Development] fgl27:
I just need to know the ROM more because of the OS and not just the date, and if you encrypted yours data, I don't get that from yours answer.

maybe the "borked somehow" is the reason it fail I don't know, but i can with the proper time test, as long as I know what to test.
[Moto Maxx Original Android Development] darkghost568:
I'm not sure how the ROM broke, and sorry I don't have any logs, I already wiped. I used this ROM https://xdaforums.com/moto-maxx/development/rom-t3812506, the 20180724 release. I never encryped data. I'm unencrypted which is why it's weird that it's giving me an encrypted error when I try to format data in TWRP. The initial fact that my ROM broke isn't the problem, it's that when I tried to format data it errored out, and that error persisted even after factory resetting to Verizon stock, and re-wiping and re-ROMing back to LineageOS.
[Moto Maxx Original Android Development] fgl27:
And how you now that 3.1.1_mod-2 did not had the problem?

after the problem have you changed recovery and the problem was gone?

because yes the ROM be broken may be the problem, as it can cause problems to partition and make twrp or others things be lost.

and then I may never be able to reproduce or fix as the problem as it's not there, not that I have try I don't have time to do a full erase of my data, there is too much to backup, but I will when I had proper time if I see that is needed.
[Moto Maxx Original Android Development] darkghost568:
Correct, when I reverted back to 3.1.1_mod-2 I was able to format data successfully without any decryption errors, but then I reflashed 3.2.3 and I got encryption errors, even though all else was held equal. I think it is the latest TWRP 3.2.3 that is causing the error. Whenever you get a chance maybe check it; nothing urgent, just some food for thought. I think the error is reproducible and if you try to "Format Data" in TWRP 3.2.3 you will see it.
[Moto Maxx Original Android Development] mrenda:
[MENTION=5747496]bhb27[/MENTION], when I boot to recovery to flash a new ROM, when it prompts for password and I enter my PIN, it says incorrect.

Mind you it is the correct one, as it is the one I use every day. I'm using TWRP 3.2.3-mod_1
[Moto Maxx Original Android Development] fgl27:
Is that encrypted, What ROM it's?
[Moto Maxx Original Android Development] mrenda:
Yes, it is encryted and in ROM RR-O-v6.1.0-20180802-quark-Mod
[Moto Maxx Original Android Development] fgl27:
Have you try the previously working (for encryption) TWRP?

https://androidfilehost.com/?w=files&flid=39563

I don't know if will work, as I post before Oreo encryption is untested, but that TWRP was OK on encrypted for pre Oreo ROM...
[Moto Maxx Original Android Development] mrenda:
Tried with 3.1.1-mod_2 and did not work, still rejects pin in recovery.
[Moto Maxx Original Android Development] fgl27:
Yes Oreo change encryption too much, test the attached, if that doesn't work I will need some time to make a proper one.
[Moto Maxx Original Android Development] mrenda:
Mmmhhh... no luck. Gonna have to wait then!
[Moto Maxx Original Android Development] Aravindtop:
Literally having the same exact problems as this guy. Running the latest version of twrp 3.2.3 mod_1. TWRP kept saying my decryption password was incorrect even though when I boot into the OS and enter the same password, it works. Whenever I try to "Format Data" I also get the same error as him.

mkfs.f2fs -t 0 -r 16384 /dev/block/mmcblk0p41
process ended with ERROR: 1
Unable to wipe Data.
Unable to format to remove encryption.

However when I do "Advanced Wipe" and manually select each partition and wipe it, no error. I am able to flash a new OS and boot into it and everything works fine except for "Format Data".
[Moto Maxx Original Android Development] darkghost568:
Samee, issue still hasn't gone away for me either
[Moto Maxx Original Android Development] FlavioV:
Those unable to format data currently have two options:

1. Reboot into bootloader, "fastboot erase all"

2. Flash the official TWRP (link) and format data from there

As [MENTION=2030317]BHB2[/MENTION]7 mentioned in another post this is hard to test because he has only one quark. We shouldn't need to wipe data too often so I'd consider this a minor issue for now.