[RECOVERY]TWRP-3.3.1-x for Moto E5 variants [HANNAH|JAMES|PETTYL|NORA] - Moto E5 ROMs, Kernels, Recoveries, & Other Develop

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
DOWNLOADS:
HANNAH-8.x (Oreo 32bit & 64bit)
HANNAH-9.x (Pie 64bit)
JAMES
NORA
PETTYL
HOW TO FLASH (fastboot method):
Code:
adb reboot bootloader
Code:
fastboot flash recovery twrp*.img
Code:
fastboot boot twrp*.img
CREDITS:
TeamWin
CyanogenMod/Lineage Android
HyperTeam
Barry Allen
XDA:DevDB Information
TWRP for Moto E5 Plus, Tool/Utility for the Moto E5
Contributors
karthick mostwanted, whodat711
Source Code: https://github.com/TeamWin/android_device_motorola_hannah
Version Information
Status: Stable
Created 2019-03-17
Last Updated 2019-05-18

How to solve /data mount issue? (Not really needed now with latest twrp)
Or
How to remove encryption?
Here you go:
1. Reboot your device to fastboot
2. Remove encryption
Code:
fastboot -w
3. Reboot to recovery
4. Mount vendor partition
5. In twrp terminal or adb shell
Code:
sed -i 's/forceencrypt/encryptable/g' /vendor/etc/fstab.qcom
6. Reboot to system
Aternate way
https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389

karthick mostwanted said:
Reserved
Click to expand...
Click to collapse
Bro I looked over the git is this 64 bit one if not all good ill see if I can get one from ur trees also u r the man

Nice even though we got pitch black recovery and orangefox to

skullkid383 said:
Bro I looked over the git is this 64 bit one if not all good ill see if I can get one from ur trees also u r the man
Click to expand...
Click to collapse
What's the reason behind switching the arch to 64bit now? When we don't have any 64bit based ROMs.

Delete

skullkid383 said:
Cause I know some one that needs 64 bit twrp to test his builds u would know this if u werent hanging with the guy (barry aka. whodat) who deleted our 80+ ppl telegram by getting someone he knew to make him a admin and kicking everyone when we slept
Click to expand...
Click to collapse
What? Not sure what you're talking about
Maybe request the same guy to make 64bit recovery.

karthick mostwanted said:
What?
Click to expand...
Click to collapse
A lot to explain

skullkid383 said:
A lot to explain
Click to expand...
Click to collapse
What you mean alot to explain??

Can you make recovery for moto e5 "Nora"
Sent from my moto e5 using XDA Labs

Bootloader Image not signed or corrupt
When I install the TWRP image of the official website via the fastboot commands on my XT1924-4 I get the message below:
"(bootloader) is-logical: recovery: Not found
Sending ' recovery ' (22324 KB)
Writing ' recovery '
OKAY [0.709 S]
Finished. Total Time: 1.732 s
OKAY [0.926 S]
Bootloader Image not signed or corrupt."
I can reboot in TWRP but when I turn off the phone and turn on in FastBoot mode to enter the recovery pops up the message "no command"

Twrp error
I managed to install TWRP and Magisk but recovery has several errors. When I try to do a wipe cache for example, appears the message:
"Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (invalid argument)
Unable to recreate /data/media folder.
Updating parttition details...
Failed to mount '/data' (invalid argument)
...done
unable to mount storage
Failed to mount '/data' (invalid argument)
Full Selinux support is present.
Unable to mount /data/media/TWRP/. twrp
MPT Enabled
Formatting Cache using make_ext4fs...
Updating partition details...
Failed to mount '/data' (invalid argument)
...done
Unable to mount storage"
---------- Post added at 07:34 PM ---------- Previous post was at 07:30 PM ----------
But I managed to install Magisk through TWRP, although have appeared some error messages during installation. The magisk is running smoothly.

Ex novo said:
I managed to install TWRP and Magisk but recovery has several errors. When I try to do a wipe cache for example, appears the message:
"Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (invalid argument)
Unable to recreate /data/media folder.
Updating parttition details...
Failed to mount '/data' (invalid argument)
...done
unable to mount storage
Failed to mount '/data' (invalid argument)
Full Selinux support is present.
Unable to mount /data/media/TWRP/. twrp
MPT Enabled
Formatting Cache using make_ext4fs...
Updating partition details...
Failed to mount '/data' (invalid argument)
...done
Unable to mount storage"
---------- Post added at 07:34 PM ---------- Previous post was at 07:30 PM ----------
But I managed to install Magisk through TWRP, although have appeared some error messages during installation. The magisk is running smoothly.
Click to expand...
Click to collapse
Remove encryption first
Code:
fastboot -w
And reboot to recovery
Mount vendor and in terminal
Code:
sed -i 's/forceencrypt/encryptable/g' vendor/etc/fstab.qcom
Reboot to system

Whoever facing /data mount issue you have to remove your encryption first No longer needed, just flash the new twrp
Detailed information in 2nd post

Thank you, now the recovery is working perfectly.

iCowCool said:
Can you make recovery for moto e5 "Nora"
Sent from my moto e5 using XDA Labs
Click to expand...
Click to collapse
Thread updated with Nora & other devices

You need to create a patched boot image using Magisk Manager. Make a boot backup in TWRP, then reboot system. Open Magisk Manager and click install Magisk zip..... it'll ask you to download zip, or create boot image. Flash TWRP again, then flash the patched boot. You should be good to go.

RobD691973 said:
You need to create a patched boot image using Magisk Manager. Make a boot backup in TWRP, then reboot system. Open Magisk Manager and click install Magisk zip..... it'll ask you to download zip, or create boot image. Flash TWRP again, then flash the patched boot. You should be good to go.
Click to expand...
Click to collapse
Huh? Your instructions are only for how to root stock.
Custom ROM only needs flash magisk zip for root.
Done.

Twrp 3.3.1-0 arm64 version for Hannah
HANNAH

Question about the TWRP version and Installation Methods
I have a XT1924-4 with TWRP 3.3.0.0 downloaded from the official website. To install your LineageOS 15.1 should I use which version of TWRP? TWRP 3.3.1-0 version arm64 or the other? Can I install the image by my TWRP or does it have to be by fastboot method?

Related

M8 not able to Decrypt

Hi, I've recently encrypted my M8. After using it almost a Month I've to say that performance has decreased a lot.
I don't want the Encyption any more, but when I try to decrypt the phone going to "Settings/Storage/Phone Storage" Encyption option is grayed out.
Ok, so I tried getting wrong 30 times the password when it boots, but when it says that is going to perform the Factory Reset, suddenly stops and restarts whitout wiping the phone.
As well when I get into Hboot and select Factory Reset, and also using TWRP option to Factory reset the phone the next text appears on the log:
===================================================
Factory Reset Complete
Failed
E: Unable to mount storage.
E: Unable to mount data/media during GUI start up.
E: Resource type (font) failed to load
E: Resource type (font) failed to load
E: Resource type (font) failed to load
Full SELinux support is present.
E: Unable to mount dta/media/TWRP/.trwprs when trying to read settings file.
E: Unable to mount '/data'
MTP Enabled
Formatting Cache using make_ext4fs function.
E: Unable to mount '/data'
Wiping Android Secure
Updating partition details...
E: Unable to mount '/data'
E: Unable to mount storage.
==============================================
I can still use the phone, but wanna get rid of the Encryption.
My phone is Unlocked.
Hboot-3.16.
Team Win Recovery v2.8.1.0
- Thank you in advance.
Hello,
You have to have stock recovery before you are able to do a factory restore. If you know your CID you can download the correct recovery for your device and flash it.
You can find it here: http://forum.xda-developers.com/showthread.php?t=2701376
2103ehleec said:
Hello,
You have to have stock recovery before you are able to do a factory restore. If you know your CID you can download the correct recovery for your device and flash it.
You can find it here: http://forum.xda-developers.com/showthread.php?t=2701376
Click to expand...
Click to collapse
He's not trying to do a restore, he's trying to do a reset, which you can most certainly do without a stock recovery.
He can also do a "factory restore" without a stock recovery by flashing a stock backup, which he can get from many threads here.
---------- Post added at 07:02 PM ---------- Previous post was at 06:59 PM ----------
ramemo said:
Hi, I've recently encrypted my M8. After using it almost a Month I've to say that performance has decreased a lot.
I don't want the Encyption any more, but when I try to decrypt the phone going to "Settings/Storage/Phone Storage" Encyption option is grayed out.
Ok, so I tried getting wrong 30 times the password when it boots, but when it says that is going to perform the Factory Reset, suddenly stops and restarts whitout wiping the phone.
As well when I get into Hboot and select Factory Reset, and also using TWRP option to Factory reset the phone the next text appears on the log:
===================================================
Factory Reset Complete
Failed
E: Unable to mount storage.
E: Unable to mount data/media during GUI start up.
E: Resource type (font) failed to load
E: Resource type (font) failed to load
E: Resource type (font) failed to load
Full SELinux support is present.
E: Unable to mount dta/media/TWRP/.trwprs when trying to read settings file.
E: Unable to mount '/data'
MTP Enabled
Formatting Cache using make_ext4fs function.
E: Unable to mount '/data'
Wiping Android Secure
Updating partition details...
E: Unable to mount '/data'
E: Unable to mount storage.
==============================================
I can still use the phone, but wanna get rid of the Encryption.
My phone is Unlocked.
Hboot-3.16.
Team Win Recovery v2.8.1.0
- Thank you in advance.
Click to expand...
Click to collapse
Do you have a nandroid from before you encrypted? Flashing that should solve the problem. You could also try flashing a new ROM with a full wipe.
ramemo said:
===================================================
Factory Reset Complete
Failed
E: Unable to mount storage.
E: Unable to mount data/media during GUI start up.
E: Resource type (font) failed to load
E: Resource type (font) failed to load
E: Resource type (font) failed to load
Full SELinux support is present.
E: Unable to mount dta/media/TWRP/.trwprs when trying to read settings file.
E: Unable to mount '/data'
MTP Enabled
Formatting Cache using make_ext4fs function.
E: Unable to mount '/data'
Wiping Android Secure
Updating partition details...
E: Unable to mount '/data'
E: Unable to mount storage.
==============================================
I can still use the phone, but wanna get rid of the Encryption.
My phone is Unlocked.
Hboot-3.16.
Team Win Recovery v2.8.1.0
- Thank you in advance.
Click to expand...
Click to collapse
The error your getting is exclusive to that version TWRP .download the 2.8.0.3 version from there website and trust me it will be fine.
http://techerrata.com/browse/twrp2/m8
Can flash stock recovery and factory reset device and itll unencrypt it,you will loose downloaded apps but nothing else.
---------- Post added at 07:29 PM ---------- Previous post was at 07:28 PM ----------
Happens across all builds of twrp,not build specific...just an fyi
jball said:
The error your getting is exclusive to that version TWRP .download the 2.8.0.3 version from there website and trust me it will be fine.
http://techerrata.com/browse/twrp2/m8
Click to expand...
Click to collapse
Wonders_Never_Cease said:
Can flash stock recovery and factory reset device and itll unencrypt it,you will loose downloaded apps but nothing else.
---------- Post added at 07:29 PM ---------- Previous post was at 07:28 PM ----------
Happens across all builds of twrp,not build specific...just an fyi
Click to expand...
Click to collapse
I had latest TWRP and came across that same error and it's mentioned in other threads about that same version TWRP giving mentioned error.
Flashed 2.8.0.3 and never receive any errors
Its a known bug in twrp altogether....not just one build or another....
jball said:
I had latest TWRP and came across that same error and it's mentioned in other threads about that same version TWRP giving mentioned error.
Flashed 2.8.0.3 and never receive any errors
Click to expand...
Click to collapse
Wonders_Never_Cease said:
Its a known bug in twrp altogether....not just one build or another....
Click to expand...
Click to collapse
I love to debate with you .
Even better I have no issues with Philz touch recovery [emoji12]
jball said:
The error your getting is exclusive to that version TWRP .download the 2.8.0.3 version from there website and trust me it will be fine.
http://techerrata.com/browse/twrp2/m8
Click to expand...
Click to collapse
Ok, I have given a try twice.
I flashed "openrecovery-twrp-2.8.0.3-m8.img", first try was doing a Factory Reset from recovery and the second using my 30 password attempts wrong on the encryption screen and nothing different happened, same error.
I used this options as it was the easy way, but since it didn't work for me, I'll flash a Nandroid backup or StockRom.
I apologize I didn't reply before, I'll report any issue just in case someone goes through the same problem.
Thank you all.
Been developing a long time...not a debate..lol...and your right you wouldnt have that issue with "philz" as its cwm and not twrp....
jball said:
I love to debate with you .
Even better I have no issues with Philz touch recovery [emoji12]
Click to expand...
Click to collapse
You won't believe what the solution was...
1.- Download the latest TWRP available (openrecovery-twrp-2.8.1.0-m8.img).
2.-Enter to Recovery.
3.-Go to "Wipe->Format Data" and type "Yes"
4.-All Wiped! (Internal Storage)
This option was developed to remove encryption, I didn't know about that before.
But now you know as well.
Thank you again for your help!

Problem with Wipe in TWRP Recovery

Hello together,
I wanted to try the CM13 nightlys on my Desire HD.
I installed the TWRP recovery with aceopt and tried to wipe (normal wipe, not advanced)
I always get an error:
E:Unable to mount '/data'
Repairing Data before resizing
Repairing Data using e2fsck...
E:/sbin/e2fsck -fp process ended with ERROR=16
E:Unable to repair '/data'
E:Error repairing file system
What could I do...?
same here,
some help plz
As far as I am aware you need to install the latest version of twrp v2.8 as earlier versions are not compatible with marshmallow.
mkward said:
As far as I am aware you need to install the latest version of twrp v2.8 as earlier versions are not compatible with marshmallow.
Click to expand...
Click to collapse
Thanks! TWRP v.2.8.7 solved the problem. :good:
Hi,
I want to install the CM13 nightlys on my Desire HD.
I installed the TWRP v.2.8.7.0 recovery with aceopt and tried to wipe.
I have this error: E:Unable to mount '/data'
In Mount menu, I can't select Data nor SD-Ext.
In Install menu, Storage said : Internal Storage (0 MB) and when try to install CM13 nightly error message Unable to mount '/data.
Thanks for your help.

[SOLVED] TWRP problem

Can't install iron rom 3.1 because of
"Failed mount /system(invalid argument)". After clicking install in AROMA, there is failed mount /system and formatting system...
After I see formatting system tablet boots only to recovery and dw mode.
Tried to reinstall firmware and TWRP. Nothing
Solved! Just changed to F2FS then to ext4 via twrp

Update to TRWP 3.4.0-0 failed - factory reset?

TWRP won't start after updating from 3.3.. to 3.4.0-0 using fastboot. Output includes "Failed to mount '/data'" - see following post.
I guess because I accidentally ran fastboot unlock although it was already unlocked. (The TWRP website fastboot update procedure starts right back with installing the tools and I jumped in at the wrong place)
Tried installing previous TWRP version but no dice.
Any ideas?
I did a TWRP backup before all this. Not exactly sure where it's located but would like to recover it if possible. Will a factory reset likely overwrite it?
Lenovo P2 LineageOS 17.1 Kuntao
Output when booting to recovery:
Code:
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
Updating partition details...
Unable to mount storage
Failed to mount '/data' (Invalid argument)
fs_mgr_mount_all
Full SELimux support is present.
Unable to mount /data/media/TWRP/.twrps
Running recovery commands
Failed to mount '/data' (Invalid argument)
Formatting cache using mke2fs...
Done.
Done processing script file
Renamed stock recovery file in /system to prevent the stock ROM from replacing TWRP.

[solved] Recovery: "Unable to mount storage"

I bought a used OnePlus 7T Pro (256GB). I followed these instructions: https://wiki.lineageos.org/devices/hotdog/install
Unlocking the bootloader worked without problems. To install a recovery, I had to replace "recovery" in the command with "boot_b", but then it worked fine. The copy partitions script also seems to have succeeded. But then I can't install LineageOS and many other recovery features do not work, either, both in the LineageOS recovery and in TWRP.
When I start TWRP (and set my usual vibration, brightness etc. settings), I get the log output from the attached image. I wanted to copy it, but writing the log to /data/media fails because of this issue, too, so here it is hand-transcribed, hopefully correctly:
Failed to mount '/system_root' (Block device required)
Failed to mount '/vendor' (Block device required)
E:Unable to open /system_root/system/apex
E:Unable to load apex images from /system_root/system/apex
Updating partition details...
Failed to mount '/system_root' (Block device required)
Failed to mount '/system_ext' (Block device required)
Failed to mount '/product' (Block device required)
Failed to mount '/vendor' (Block device required)
Failed to mount '/odm' (Block device required)
...done
Unable to mount storage
Failed to mount '/system_root' (Block device required)
E:Unable to open /system_root
Full SELinux support is present.
Unable to mount /data/media/TWRP/.twrps
Unable to mount /data/media/TWRP/.twrps
Failed to mount '/system_root' (Block device required)
Many things I try in both recoveries fail with similar mounting errors. I tried everything wipe related, but none of it helped, most didn't even work. I also cannot install LineageOS from TWRP (instead of ADB sideload), because no files are listed on the internal SD card, likely because of this mounting issue.
How can I fix this? Since the phone is new anyway, I would be willing to reset anything.
Fabian R�ling said:
I bought a used OnePlus 7T Pro (256GB). I followed these instructions: https://wiki.lineageos.org/devices/hotdog/install
Unlocking the bootloader worked without problems. To install a recovery, I had to replace "recovery" in the command with "boot_b", but then it worked fine. The copy partitions script also seems to have succeeded. But then I can't install LineageOS and many other recovery features do not work, either, both in the LineageOS recovery and in TWRP.
When I start TWRP (and set my usual vibration, brightness etc. settings), I get the log output from the attached image. I wanted to copy it, but writing the log to /data/media fails because of this issue, too, so here it is hand-transcribed, hopefully correctly:
Failed to mount '/system_root' (Block device required)
Failed to mount '/vendor' (Block device required)
E:Unable to open /system_root/system/apex
E:Unable to load apex images from /system_root/system/apex
Updating partition details...
Failed to mount '/system_root' (Block device required)
Failed to mount '/system_ext' (Block device required)
Failed to mount '/product' (Block device required)
Failed to mount '/vendor' (Block device required)
Failed to mount '/odm' (Block device required)
...done
Unable to mount storage
Failed to mount '/system_root' (Block device required)
E:Unable to open /system_root
Full SELinux support is present.
Unable to mount /data/media/TWRP/.twrps
Unable to mount /data/media/TWRP/.twrps
Failed to mount '/system_root' (Block device required)
Many things I try in both recoveries fail with similar mounting errors. I tried everything wipe related, but none of it helped, most didn't even work. I also cannot install LineageOS from TWRP (instead of ADB sideload), because no files are listed on the internal SD card, likely because of this mounting issue.
How can I fix this? Since the phone is new anyway, I would be willing to reset anything.
Click to expand...
Click to collapse
It seems to me that you have to flash the super partition, try first using TWRP and if it can't deal with then try through fast boot.
SubwayChamp said:
It seems to me that you have to flash the super partition, try first using TWRP and if it can't deal with then try through fast boot.
Click to expand...
Click to collapse
I have never heard of a "super partition". How do I do that?
Fabian R�ling said:
I have never heard of a "super partition". How do I do that?
Click to expand...
Click to collapse
Sometimes can be an error from TWRP itself, an older version that can't manage to mount those partitions, but sometimes it happens that the super partition is corrupted, you could find it from your stock ROM and then extracted and flash it either through TWRP or using fastboot.
SubwayChamp said:
Sometimes can be an error from TWRP itself, an older version that can't manage to mount those partitions, but sometimes it happens that the super partition is corrupted, you could find it from your stock ROM and then extracted and flash it either through TWRP or using fastboot.
Click to expand...
Click to collapse
Do you have a link to a tutorial or so for that?
BTW, the preinstalled operating system boots just fine, so I would be surprised if any partitions were corrupted. I'm also using the latest version of TWRP, at least it's the one that I got on their website yesterday.
Fabian R�ling said:
Do you have a link to a tutorial or so for that?
BTW, the preinstalled operating system boots just fine, so I would be surprised if any partitions were corrupted. I'm also using the latest version of TWRP, at least it's the one that I got on their website yesterday.
Click to expand...
Click to collapse
Super partition is where some logical partitions are grouped like system, vendor, odm, product, etc.; it depends on the device we're talking about.
As you got a used device, it seems that the last owner did some stuff with it, probably unlocked bootloader (then relocked it) and mess with some custom ROMs (maybe). You can totally fix it by flashing the stock ROM and starting from there, being sure first that you can log in without issues in Google Play (that your account is authorized).
To have this partition readable, you may read this https://forum.xda-developers.com/t/...-mount-system-rw-super-rw-read-write.4247311/ in case this doesn't solve flashing the super partition it is a part of the process to flash the stock ROM.
SubwayChamp said:
flashing the super partition it is a part of the process to flash the stock ROM
Click to expand...
Click to collapse
You mean it's in some script in that zip file? Because what I found online just tells me to do the same "adb sideload" with the OxygenOS zip. And that doesn't work because of the same access issue. Or is there something else I should do first?
The link you gave says that it requires a rooted ROM, which I don't have yet.
Fabian R�ling said:
You mean it's in some script in that zip file? Because what I found online just tells me to do the same "adb sideload" with the OxygenOS zip. And that doesn't work because of the same access issue. Or is there something else I should do first?
The link you gave says that it requires a rooted ROM, which I don't have yet.
Click to expand...
Click to collapse
You can update through the stock recovery in case your TWRP have actually some issues, flash the stock recovery through fastboot (get it from your stock ROM) and then do the sideload through stock recovery, it's probable that the stock recovery can mount super partition and made readable again the system files that´s within, or you can simply flash this or that partition using fastboot commands, for this you need an unlocked bootloader, nothing more.
BTW did you try formatting data?.
And this tool should work for you https://forum.xda-developers.com/t/...l-to-restore-your-device-to-oxygenos.4217855/
That tool says it only works for Windows. I have gotten rid of my last Windows system last year.
Not sure what you mean with getting the stock recovery from the stock ROM, since the zip only contains "payload.bin" (extension suggests binary file, no idea how to read that one), a small txt file and a small "META-INF", but here is a download at least: https://forum.xda-developers.com/t/oos-all-stock-boot-stock-recovery-oxygenos-11-0-0.4251221
There's even a Magisk version, which I'll try first, since I want that anyway. But for now, I'll sleep. I'll comment again once I've tried it.
BTW, can I stop this website from jumping to the category overview after a few seconds, while I'm trying to just read a post? It's really annoying.
Fabian R�ling said:
That tool says it only works for Windows. I have gotten rid of my last Windows system last year.
Not sure what you mean with getting the stock recovery from the stock ROM, since the zip only contains "payload.bin" (extension suggests binary file, no idea how to read that one), a small txt file and a small "META-INF", but here is a download at least: https://forum.xda-developers.com/t/oos-all-stock-boot-stock-recovery-oxygenos-11-0-0.4251221
There's even a Magisk version, which I'll try first, since I want that anyway. But for now, I'll sleep. I'll comment again once I've tried it.
BTW, can I stop this website from jumping to the category overview after a few seconds, while I'm trying to just read a post? It's really annoying.
Click to expand...
Click to collapse
The ROM to be flashed through recovery contains a payload.bin file within others one, this file can be unpacked, not sure if it contains a recovery image though, but you should get it from the full ROM that in some variant comes in oplus format and can be decrypted too, this full ROM contains all the images, it's useful to unbrick a OP device.
Linux doesn't have a counterpart of the Windows applications for smartphones and vice versa in regard to Android development, this is one of the reasons why I have a dual boot machine.
As per the last part it could be an issue from your browser, I didn't have this kind of behaviors from the XDA site.
For "boot.img" and "recovery.img" in the "EU" and the "global" section I get "fastboot: error: boot partition is smaller than boot image". The Magisk version can be installed, but then I get a Qualcomm crash screen when I try to actually start it.
Apparently I have a "OnePlus 7 Pro", not a "OnePlus 7T Pro". I bought that accidentally, but the specs are fine. Actually following the instructions for the correct device worked, who would have thought…

Categories

Resources