yashsingh1/xdaforums huggingface dataset:
[X Style (Pure) Original Android Development] Jonathanlc2005:
ok so i did this through windroid just because i gotten alittle lazy recently. i have an important question to ask

ok so what i did was i unlocked the bootloader and installed twrp. great! but i got this message on twrp saying that i should make a backup of the rom, so i want to make sure i did the right...

what i want in this phone is root for adaway, tether when traveling, and some root apps....

so i downloaded windroid

unlocked the bootloader and now has an annoying message

then installed twrp through windroid, twrp displayed a message... something like read only mode and r/w mode. this was to inform me about making a backup

so i made two backups, 1 in internal and 1 in sd. checked ALL THE BOXES but now i have a concern.

i dont want to switch roms, i love this rom... and im waiting for nougat in october (hopefully with 3CA radio update)... since i installed twrp,

does this give me a problem now when the update comes officially?

should i remove twrp when the install comes (if it comes because motorola saying were not obligated to give you updates if you unlocked the bootloader

did i do the backup correctly?

is it safe to root and when the update comes, use windroid to relock the bootloader then download the update (if it comes to my phone)

i know you guys are going to mention warranty is void and im ok with that since i own moto care 2 year plan
[X Style (Pure) Original Android Development] wiewiurka:
Hi guys

I have in TWRP incorrectly displays the time and date. How can I fix it?
[X Style (Pure) Original Android Development] ban.codrut:
First of all warranty is not voided for Moto X Style unlocked bootloader, and updates will come as normal.

For the official update to arrive you only have to:

1) be on stock non-rooted and non system modified ( like by xposed or twrp when it asks to modify system at first boot)

If you did a a system nandroid backup before accepting twrp to modify system you will be good to restore.

2) have stock recovery (you can get it from original firmware files, save it on your phone and flash .img to recovery with twrp, replacing it with stock)

What is 3CA radio ?

---------- Post added at 04:46 PM ---------- Previous post was at 04:44 PM ----------

That's a common bug. On stock rom is still unresolved from twrp side. On some custom ROMs they solved it from ROM developer side (I think so)
[X Style (Pure) Original Android Development] Jonathanlc2005:
3CA= 3 carrier aggregation. the snapdragon 808 is capable of 3 carriers of aggregation and it was never enabled when 6.0 was released. it should have been for 6.1 but my belief is they were waiting for the technology to roll out and 7.0 to become live
[X Style (Pure) Original Android Development] Jonathanlc2005:
so your saying i did everything fine, to go ahead and root it then when the update comes, wipe everything and restore the backup like normal?
[X Style (Pure) Original Android Development] Jonathanlc2005:
anyone?
[X Style (Pure) Original Android Development] Jimi Mack:
No, if you want the official update, if and when it is released you will need to fully restore back to Stock, with an unmodified boot loader as well.
[X Style (Pure) Original Android Development] Induced_Apathy:
Couldn't you also be completely stock (unlocked) and just boot off the TWRP.img and install SU. You would be rooted but stock recovery and firmware in general. Applying OTA's you would just need to uninstall SU prior to that. Repeat the temp boot to flash SU again once OTA is applied to keep root. You could of course create TWRP backups to SD off the temp boot as well.
[X Style (Pure) Original Android Development] Hitti2:
Hey guys. I noticed when I backed up in twrp, the backup said it was 8gigs but when I look at folder size, well take look at last folder on the bottom.

Solid explorer.

.

Fx explorer top file/folder.
[X Style (Pure) Original Android Development] chaostrodamis:
Compression
[X Style (Pure) Original Android Development] Hitti2:
Deep, brain fart. Ty.
[X Style (Pure) Original Android Development] bezangeloo:
New problem. I got an OTA update today, on my X pure. I have TWRP and xposed + several xposed modules. I accepted the OTA installation, and now the phone boot into TWRP then do nothing (obviesly...). When I try to reboot into system, after andriod turn up it reboot to recovery again ):

What can I do to solve that?

UPDATE:

After shuting off the phone through TWRP and turning on again, it booted to android, show "unssuccessfull update" error massege and back ti regular function again so its working now.

What do I need to do in order to updat?

Thanks for any help,

bezangeloo.
[X Style (Pure) Original Android Development] gpz1100:
^^You probably need to have a stock recovery installed. Was /system modified in any way? The update script usually checks the system for any changes and fails to execute any further if it finds any.

What update did it it pull? Version #? Maybe grab the file from /tmp (or /cache?)
[X Style (Pure) Original Android Development] bezangeloo:
Thanks. I don't remember if I let TWRP modify /system, but I did install xposed and several modules, so I guess /system is modified? Not entirely sure about that.*

The update version is Android 6.0.1 New version : 24.221.5.enEU.*

Is it possible to fish it from /tmp using TWRP and just install it? Or am I have to flash stock recovery?

Thanks!
[X Style (Pure) Original Android Development] ffejy462:
You need to go back to completely stock system and recovery if want to ota.

Imo, the payoff of updating to 6.0.1 isn't worth the effort that you'll spend (especially if 7.0 is supposedly going to be released in the near future). I'd recommend of making a backup of your current state and play around with some of the 7.1.1 roms.
[X Style (Pure) Original Android Development] stevejohnson42:
AICP is pretty solid
[X Style (Pure) Original Android Development] cdmcmillon:
TWRP Decrypt password issues

Hi,

First of all, thanks to all for TWRP on my Moto X Pure! Having an issue with the password required to decrypt the storage. I installed it about a month ago, figured out that I had to change my password from pattern to password and then the password worked in TWRP. I decryped the drive and made a recovery image. Now, I need to restore from that recover and the same trick isn't working. No matter what I set the password to it doesn't work with TWRP.
[X Style (Pure) Original Android Development] RK2116:
Dont use password.
[X Style (Pure) Original Android Development] cdmcmillon:
How to I access the Internal Storage

Without the password, I can't access the internal storage, it shows up at "0" empty. I can't read from it, or write to it.
[X Style (Pure) Original Android Development] user7743:
Sometimes it's mandated for those using the phone in a corporate environment.
[X Style (Pure) Original Android Development] Hashbang173:
https://xdaforums.com/showthread.php?t=3399343
[X Style (Pure) Original Android Development] user7743:
Awesome... I'll give that a try
[X Style (Pure) Original Android Development] Muffycheeks:
Can I gain Root by flashing TWRP through Odin and then flash SU?
[X Style (Pure) Original Android Development] 12paq:
Odin is only for Samsung devices.
[X Style (Pure) Original Android Development] ShapeShifter499:
Ever since I updated my Moto X Pure to LineageOS 14.1 I've gotten the following error in TWRP

df /external_sd > /tmp/dfoutput.txt process ended with ERROR:1

Any ideas why? I've been ignoring the error with no apparent issues, it does take twice as long to load TWRP with that error though. I also have my SD Card as "adopted storage" internal so maybe that's apart of the issue?

[MENTION=4630246]Hashbang173[/MENTION] what manifest did you use to build TWRP? I'd like to try building against the latest sources.
[X Style (Pure) Original Android Development] JoseStrife:
Help, how can i install TWRP on mi phone? I have android 6 installed, i try but still starting te conventional recovery.
[X Style (Pure) Original Android Development] pizza_pablo:
I made a nandroid, but failed to choose external SD card. I wanted to move the file, but cannot see it in ES File Manager.

I can see it when selecting RESTORE. It's in DEVICE, but I cannot find it.

Why is this?
[X Style (Pure) Original Android Development] ParkyTech:
Is there going to bean update to version 3.0.3-0? I've been getting zip verification on the new Lineage OS and I'm assuming this to be part of the problem. Every time I flash it with it enabled it returns "Zip verification failed"
[X Style (Pure) Original Android Development] jason2678:
That's always happened on this phone with TWRP backups on the internal storage. I heard an explanation once, but I don't recall the technical details, sorry.

Even root file managers have a hard time dealing with it when you're booted into system. Best workaround I've found is to use TWRP's built-in file manager to move or delete backups on internal storage if you have to.

Should be in /sdcard/TWRP

If you don't find it there look in /data/media/0/TWRP (should be the same place)
[X Style (Pure) Original Android Development] pizza_pablo:
Oh, thanks!I always forget that TWRP has a file manager.

My work around was to create the nandroids, again, after selecting external storage. :)
[X Style (Pure) Original Android Development] ffejy462:
3.1.0-0 was released
[X Style (Pure) Original Android Development] Firefishe:
3.1.0.0 on XT1575 (Pure)

I just installed it. It takes about ten to fifteen seconds to come up after selecting Recovery in Bootloader mode.

Is this normal?
[X Style (Pure) Original Android Development] tech_infinity:
Installed the latest version. Works fine!
[X Style (Pure) Original Android Development] ffejy462:
I'm not seeing any longer times compared with the previous version.
[X Style (Pure) Original Android Development] ShapeShifter499:
I tried to wipe the system on the latest TWRP 3.1.0 and on reboot back to recovery I get nothing but crashing. I had to go into bootloader and fastboot flash a older TWRP build.
[X Style (Pure) Original Android Development] stej16:
same problem here. every one with this device has this problem? I'm on TWRP 3.1.0-0... no file managers were able to find them. I noticed this before trying to root. is root still okay to perform? backups ARE in TWRP's file manager only. System mount is unchecked but will not stick after reboots. i just wanted to transfer backups to PC as i don't have a micro sd at the moment.
[X Style (Pure) Original Android Development] jason2678:
I've found even root explorer and solid explorer with root access aren't 100% reliable with twrp backups on internal storage of this phone.

There's a new feature in twrp 3.1 to use adb to stream a backup direct to PC. Might be worth looking in to in this case.

Root is still OK, but it has to be systemless. I'd recommend magisk for rooting if you decide to.
[X Style (Pure) Original Android Development] stej16:
Root went smooth - systemless & normal flash of latest stable SuperSU.

I should be fine with backing up through adb in TWRP, gonna look into the commands (casual user). But is SYSTEM not being able to mount the problem? Or is that a separate problem I'm gonna have to look into? Seen a few things to try to try and mount it, but if flashing other things or flashing a rom will still work w/o problems (which I'm not planning to do rn) then I'm not worried.
[X Style (Pure) Original Android Development] jason2678:
I've found twrp can mount and work with /system just fine. The only reason it offers to keep system ro is that some devices will refuse to take an ota update if they detect system has been mounted rw. You're already rooted, so no ota's for you anyway.
[X Style (Pure) Original Android Development] ffejy462:
I've found that instead of using sdcard/twrp in file explorers, use data/media/0/twrp.

I'm sure somebody smarter than I could tell you why.
[X Style (Pure) Original Android Development] jason2678:
Since jellybean /sdcard has been a symlink to /data/media/0 (if you're the first user). Has to do with how android uses fuse to manage mounting sdcard.

Root file managers don't care so much about symlinked mount points. That can access /data, that a normal user can't, and keep drilling down.

Nougat is rolling out sdcardfs so this convention might change, or maybe not. There's really no reason to change the mount points, just using sdcardfs instead of fuse.
[X Style (Pure) Original Android Development] stej16:
Worked for me, was able to copy files into another folder to pull to the PC.
[X Style (Pure) Original Android Development] creeperlwd:
I'm trying to build TWRP with only a tiny modification to the kernel, it builds but does not work correctly, the dt size in the recovery is twice as small as the official build and i think (don't know) that this might have something to do with it.

device folder used to build: https://github.com/creeperlwd/device_motorola_clark (omnirom repo android-7.1 branch a bit modified)

kernel folder used to build: https://github.com/creeperlwd/kernel_motorola_msm8992 (omnirom repo android-7.1 branch a bit modified)

vendor folder used to build: https://github.com/creeperlwd/vender_motorola_clark (from here https://github.com/TheMuppets/proprietary_vendor_motorola/tree/cm-14.1/clark but put in my own github so you don't have to clone the whole repo)

twrp manifest used to build: https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni (twrp-7.1 branch)

The problem I am having is that it does not boot from efidroid (official twrp does) the error is: "can't allocate ramdisk boot memory at 2000000 size 21416672"
[X Style (Pure) Original Android Development] BigM69:
I needs a little help flashing twrp and rooting on 6.0 mm
[X Style (Pure) Original Android Development] pizza_pablo:
Here ya go...

https://xdaforums.com/moto-x-style/general/guide-how-to-root-pure-style-t3503958

https://xdaforums.com/moto-x-style/general/guide-how-to-root-pure-style-t3503958
[X Style (Pure) Original Android Development] BigM69:
I got everything going. I downgraded from 6.0.1 to lollipop. The reason why is so I could bypass the factory reset protection. I couldn't bypass it while on MM. After I down graded to lollipop then bypassed the factory reset protection crap I then used fastboot to flash twrp and then root,bootloader was already unlocked I done that while on marshmallow. I had a heck of a time just trying to get the device setup (bought it off Swappa) when I first got it. Thanks for the link brother veryich appreciated!!
[X Style (Pure) Original Android Development] pizza_pablo:
I'm surprised you are able to successfully downgrade from MM to LP. I didn't think that was possible, without issues.
[X Style (Pure) Original Android Development] fdc77:
new version released

https://twrp.me/site/update/2017/05/19/twrp-3.1.1-0-released.html
[X Style (Pure) Original Android Development] ban.codrut:
Has anyone had this issue so far ?

TL;LR : device instantly reboots when trying to wipe Dalvik Cache (by command or manually trying to delete dir)

I've seem other odd behavior where trying to rename or delete some files caused the same instant reboot.
[X Style (Pure) Original Android Development] dzidexx:
On what rom are you on? Stock/custom/kernel?
[X Style (Pure) Original Android Development] ban.codrut:
Was using AICP (June builds), together with HangBangv2 custom kernel
[X Style (Pure) Original Android Development] nhizzat:
I'm experiencing the same thing. Both 3.1 and 3.1.1 exhibit the same behavior, wiping data or cache or art causes the phone to freeze then reboot. I can only wipe system if I mount /system, attempting to wipe system without mounting /system causes a system freeze and reboot.

Installing works as usual with zips and imgs as does other functions I use regularly. I haven't a clue as to the cause, I've never experienced this before with any of my devices.
[X Style (Pure) Original Android Development] ban.codrut:
It has been reported on Handbag Kernel thread that builds version higher than 1.8 has caused data corruption! (Thus their downloads have been removed)

If you were using the same custom kernel it sound like that's the cause of this little mess ^^
[X Style (Pure) Original Android Development] Sherrillface:
Yep I can confirm I had 64 gb of adopted storage corrupted could not restore back UPS or even do a simple factory reset it just vibrated for like 8 seconds and went into bootloop I'm extremely pist lost everything.
[X Style (Pure) Original Android Development] dzidexx:
You should read some posts in the kernel thread:

https://xdaforums.com/moto-x-style/development/handbag-kernel-t3606987/page26

In post #258 I wrote how to fix it. [MENTION=4171001]Sherrillface[/MENTION] [MENTION=6320600]ban.codrut[/MENTION] [MENTION=3794810]nhizzat[/MENTION]
[X Style (Pure) Original Android Development] ACardAttack:
NVM Fixed it, something was wrong with the default browser after flashing my new rom, the downloads were only 7kb, so I downloaded it from my computer, put on phone, flashed with app and it is all good now

I'm getting start up failed

Your device didn't start up successful when I try to boot to recovery.

Invalid boot image size.

Failed to validate recovery image.

I tried to flash 3.1.1.0 from recovery and I got this, so then I used the app, didn't help...even tried to downgrade to 3.1.0.0 through the app with no luck either

The phone boots no problem, but I can't get to recovery
[X Style (Pure) Original Android Development] kundaria:
soft keys not working on TWRP Recovery

after updating motox style(pure) to android 7.0 nougat, soft keys not working and ghost touch happen randomly so i want to flash other rom i am able to boot into TWRP recovery but my soft keys not working how to use TWRP without working soft keys
[X Style (Pure) Original Android Development] dzidexx:
What is the version of twrp? [MENTION=8442406]kundaria[/MENTION]
[X Style (Pure) Original Android Development] kundaria:
twrp-3.1.1-0-clark.img
[X Style (Pure) Original Android Development] dzidexx:
It looks like boot(kernel) problem.

Unzip & flash with fastboot boot.img from stock or any custom rom.

"fastboot flash boot boot.img" [MENTION=8442406]kundaria[/MENTION]

---------- Post added at 10:35 PM ---------- Previous post was at 10:33 PM ----------

Ps

After update to Nougat you cannot get any worked custom rom. You have to flash stock 6.0.x first
[X Style (Pure) Original Android Development] kundaria:
i have looked into Motorola site they don't provide stock rom for India version Moto X Style (Pure) ( XT1572)

can you help me to find stock rom for my device
[X Style (Pure) Original Android Development] dzidexx:
https://xdaforums.com/moto-x-style/general/guide-flashing-stock-firmware-t3637235
[X Style (Pure) Original Android Development] dbolivar:
Decryption not working on official Nougat

Guys, after updating my phone to the official Nougat build (NPH 25.200-15, XT1572 RETLA_DS), TWRP is unable to decrypt my /data partition. Without encryption everything works fine -- however, as soon as I enable encryption, it doesn't accept my password (it timeouts and kills the decryption process). I can cancel the password input and work with the other partitions just fine (/cache, /system etc.), but /data (and SDcard) access is a must for several tweaks.

I've used several Nougat custom ROMs before, with encryption, and TWRP worked fine. Has anyone else found this issue with the official build? Perhaps Motorola is using a different encryption scheme?

EDIT: /tmp/recovery.log messages below

I:Copying file /cache/recovery/log to /cache/recovery/last_log
I:Is encrypted, do decrypt page first
I:Switching packages (TWRP)
I:Set page: 'decrypt'
I:Set page: 'trydecrypt'
I:operation_start: 'Decrypt'
crypt_ftr->fs_size = 50454272
Using scrypt with keymaster for cryptfs KDF
keymaster module name is Keymaster QCOM HAL
keymaster version is 3
Found keymaster0 module, using keymaster0 API.
E:Decrypt took too long, killing process
I:Child process killed successfully
Failed to decrypt data.
I:Set page: 'decrypt'
I:operation_end - status=1
[X Style (Pure) Original Android Development] zswielder:
Damn. My Moto Pure X was back to stock, and I just decided to go back to using it, so I went through the whole process again, but then installing newer TWRP seems to have screwed it up. Now it can't even boot. Time to look for a stock ROM to flash...
[X Style (Pure) Original Android Development] FanboyStudios:
Latest Viper Audio zip doesn't flash. Any idea why?
[X Style (Pure) Original Android Development] AsquareX:
How can I flash this recovery before getting root access? My Moto X Style is currently on stock 7.0 with August security patch. As far as I know, I've to install TWRP via adb and then flash SuperSU via TWRP. But the installation process requires root to install. So how can I get it once I unlock the bootloader?
[X Style (Pure) Original Android Development] jason2678:
Boot into bootloader by holding vol down + power. Connect to a computer with all the right drivers and adb/fastboot setup. Then:

fastboot boot twrp.img

That will boot into TWRP without actually flashing it if you just want to use TWRP to root and not keep it permanently. Good practice is to make a backup of boot, system, and data before you flash anything just in case something goes wrong. If you want TWRP to be permanently flashed then:

fastboot flash recovery twrp.img

If you do this be sure to use the volume and power buttons to boot straight into recovery from the bootloader screen. If you boot into an unrooted stock rom it will overwrite TWRP with the stock 3e recovery.
[X Style (Pure) Original Android Development] acoupleofdroids:
I restored my OEM backup of 6.0 and then restored a backup of 7.0 OEM

Not sure if this is why it happened or not but when I power off or reboot it goes right into twrp (ver 3.1.1.-0) I then have to go into reboot and pick bootloader. Once it boots into the bootloader if I select boot it then fully boots correctly into the OS, How ever if I power of or restart it does the same thing. Has anyone ran into this issue?
[X Style (Pure) Original Android Development] tecsironman:
I have searched around but when I wipe or restore in twrp the device reboots. anyone have this issue?
[X Style (Pure) Original Android Development] Hashbang173:
Try this version of TWRP: https://androidfilehost.com/?fid=889964283620759972
[X Style (Pure) Original Android Development] AsquareX:
Is this the version of TWRP which is built for stock Nougat users who don't have to rollback to stock? Also, please update your TWRP thread which was last updated on 19th September.
[X Style (Pure) Original Android Development] dzidexx:
His work is here too:

https://twrp.me/motorola/motorolamotox2015pure.html

U can boot or flash any 3+.
[X Style (Pure) Original Android Development] AsquareX:
You mean any 3+ version will work fine on stock Nougat? My device is having the factory recovery as of now.
[X Style (Pure) Original Android Development] dzidexx:
Boot only and check how it works:

fastboot boot twrp3xx.img [MENTION=4550839]AsquareX[/MENTION]
[X Style (Pure) Original Android Development] NicholasFarseer:
TWRP decryption issue

I just updated to the official Nougat build (NPH25.200-22) and am experiencing the exact same issue. TWRP works great up until I encrypt the phone. Even if I don't have a password set, it still asks for one and will not decrypt the data portion.

Any thoughts?
[X Style (Pure) Original Android Development] tardeangeles:
Boot

Hi, when i restore a backup of nandroid from twrp, every time, stars device on twrp screen, not load OS.

When start twrp i need go to restart/bootloader after select start on a bootloader screen.

how to sove this please?

Thanks,

Tarcisio
[X Style (Pure) Original Android Development] ShapeShifter499:
Guys there is 3.2.0-0 up on the TWRP site, not sure if this fixes the Nougat Encryption issue. https://dl.twrp.me/clark/
[X Style (Pure) Original Android Development] swieder711:
I installed TWRP 3.2 via their App on my XT1575. Seems fine.
[X Style (Pure) Original Android Development] ShapeShifter499:
I like having the device encrypted and the latest 3.2 TWRP still has a issue decrypting my device. My device still boots fine though.