yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] mn1968:
Following Method 2, I got TWRP to boot by copying my stock kernel.IMG and recovery.fstab to the Moto E5 Play TWRP. There was no DT.img in my stock recovery, and I did not edit the recovery.fstab since I wasn't sure what to look for/add anyway.

I can't fully test because I can't get my SD card to recognize now.

Should I assume that since my ported TWRP boots, it is safe to flash permanently?
[Android Software/Hacking General [Developers Only]] mn1968:
I have tried again with a TWRP from the Xiaomi Redmi 4A. It too boots. but just like the previous one, when TWRP boots, it asks for a password (Mount/Decrypt Data). I can cancel it and get into TWRP but if I try to flash a test zip, it fails because it "FAILS TO DECRYPT DATA".

I am so close...yet so far.
[Android Software/Hacking General [Developers Only]] suraj-b:
Did you get the same error with the previous recovery?SD card is fixable.
[Android Software/Hacking General [Developers Only]] mn1968:
The sd card sits in a tray. When the sd card is inserted, the tray doesn't/won't close all the way. I had a 2GB spare and shaved the lip down smooth and then the tray closed firmly and was recognized. Not sure what to do about my 64GB card...don't want to shave it down just so it will fit.

Anyway...the TWRP port from the Moto E5 Play won't let me select the sd card even to browse for the flash zip. When I browse the internal storage nothing shows upin any folders even though I have files located internally.

The TWRP port from the Xiaomi Redmi 4A lets me select and browse the sd card - flashing the zip fails as mentioned earlier. It also says "Unable to mount storage". In addition, I am not able to even select internal storage to browse. It says there is 0 mb.

Does no-verity / dm-verity come into plat here because of the TWRP password?
[Android Software/Hacking General [Developers Only]] suraj-b:
So keep the Moto E5 play recovery.Compare the recovery.fstab of your stock and the port.
[Android Software/Hacking General [Developers Only]] mn1968:
I don't understand. The Moto E5 port doesn't allow me to select external sd card, and no files show up while browsing the internal. I can't even select a file to attempt to flash.

Also, why does TWRP ask for a password when it first boots, and is it universal password? If so , any idea what it is?
[Android Software/Hacking General [Developers Only]] suraj-b:
When you unpack your recovery do you find recover.fstab?
[Android Software/Hacking General [Developers Only]] mn1968:
Yes, It has been in every recovery that I've tried, including the stock recovery.
[Android Software/Hacking General [Developers Only]] suraj-b:
Now open those files and compare.
[Android Software/Hacking General [Developers Only]] mn1968:
Attached are screen shots.

First is stock. Second is Moto E5
[Android Software/Hacking General [Developers Only]] mn1968:
I have added the External SD card line from the Moto E5 to the Stock, as well as changing /data to f2fs, among other things, but I have not had any luck. The boot to TWRP fails either because there is no dt file (didn't have that problem before), or there are "too many links" (whatever that means). Basically, I have no idea what I should be editing.
[Android Software/Hacking General [Developers Only]] suraj-b:
Wait:eek:Aren't you copying from stock to moto e5?
[Android Software/Hacking General [Developers Only]] mn1968:
I am. But I thought I had to edit the Stock recovery.fstab with lines from the Moto E5. Otherwise I am just replacing the Moto E5 recovery.fstab with the stock one anyway.

I have another TWRP from a Huawei Y6. It boots to TWRP without asking for a password. It lets me select my external card and select a file to flash...however, it does not flash anything. Errors pop up stating it couldn't mount system, cache, etc...

Calling it a night.
[Android Software/Hacking General [Developers Only]] suraj-b:
Those errors are due to recovery.fstab. Thou can directly replace but I would recommend editing.
[Android Software/Hacking General [Developers Only]] mn1968:
And what needs to be edited? That's where the confusion comes in.
[Android Software/Hacking General [Developers Only]] suraj-b:
Find line related to your internal SD and external from stock and replace in your port .(Holds good for every partition).
[Android Software/Hacking General [Developers Only]] mn1968:
I thought I was supoosed to copy/edit the fstab from stock to the port. But if I am understanding correctly, I am only copying the kernal & dt image (if it exists even) from stock to the port....AND...from the port I edit the fstab file. I do not replace the fstab file. Correct?
[Android Software/Hacking General [Developers Only]] suraj-b:
Correct.
[Android Software/Hacking General [Developers Only]] mn1968:
Great! I have the new port set up and ready to test...unfortunately I am not able to run fastboot from my work PC. I'll have to wait until tonight. :crying:

Thanks for all your help. I hope it works!
[Android Software/Hacking General [Developers Only]] suraj-b:
Hope it works.
[Android Software/Hacking General [Developers Only]] ouzqan:
Thanks man it work but i have little problem. I port twrp 3.2.1 for z5 to z5 premium but loading bar pixel problem and Cpu temperature problem. How fix it?
[Android Software/Hacking General [Developers Only]] suraj-b:
Please don't worry I couldn't solve it either. If you could please send me the fix. Also hit the thanks button and ignore if you have already.
[Android Software/Hacking General [Developers Only]] mn1968:
Well, it works...and it doesn't. I am sorry to keep bothering you but I am trying to figure this out and really only know enough to be dangerous :laugh:.

I still am greeted with a prompt for a password but I can cancel out and get to the TWRP menu. I am able to select my external sd card but not my internal. I can flash a file from external., and I can perform a back up to my external. However, in both cases, it displays the following errors (in red - sorry, don't know how to take a TWRP screen shot)

E: Decrypt took too long. Failed to decrypt data

Unable to decrypt with default password. You may need to perform a format data

Updates partition details...

Failed to mount '/cust' (Invalid Argument)

...done

Unable to mount storage

Proceeds to Install zip file without errors

Failed to mount '/cust' (Invalid Argument)

...done

I have attached screen shots of my stock fstab (left) and the ported fstab (right). I have tried removing the "/cust" entry, changing "/sdcard1" to vfat, adding "/sdcard"...all to no avail. No matter what I try, I still get the password prompt & /cust error. If you could guide me as to what should be added/deleted, etc... it will be very appreciated.

Much thanks for your guidance and patience so far!
[Android Software/Hacking General [Developers Only]] suraj-b:
You said one of your port recoveries doesn't ask for password. Try with that.I have exams now. I'll get back to you in 2 days.
[Android Software/Hacking General [Developers Only]] mn1968:
That one doesn't work...nothing flashes. Errors up the ying-yang about not being able to mount system, data, etc...

Good luck on your exams.
[Android Software/Hacking General [Developers Only]] mn1968:
The following information is just a recap of what I’ve accomplished/not accomplished. :)

I have been trying to port TWRP to my rooted (Magisk) Asus Zenphone Max M1 (ZB555KL). My port is mostly functional as tested by merely booting it. I can select/browse the external sd card. I can flash zips as well. I have even performed a backed up to the external sd card. I cannot, however, select/browse the internal storage. Also, each time I boot to TWRP, I am asked for a decrypt password. Simply cancelling it gets me into TWRP. After some research, I determined that I need to flash the no-verity zip to disable encryption on the phone. For that to work, the instructions say to wipe/format data. Not a big deal since this is a new phone and have not set it up as a daily driver yet. So, I decide to “go for it”.

I nearly borked my phone. I wiped/format data while booting into TWRP, and that appeared to decrypt the phone as I was now able to select & browse both internal and external storage. Also, rebooting to TWRP didn’t ask for any password. I thought I was onto something so I flashed the no-verity zip, rebooted and bootlooped. I then booted back to TWRP, wiped/format data, flashed no-verity and magisk. Rebooted and continued to bootloop. Booted back to TWRP, restored my backup and rebooted. However, it booted up as if it was a new phone...not to my “backup” even though TWRP said it was successful. OK...at least it isn't bricked. Went through setup, rebooted to TWRP, wiped/format data, flashed no-verity and magisk...rebooted to bootloop! Had to "restore" my backup to get to the brand new set up again. I am currently rooted again with Magisk and can only boot to TWRP and select/browse external storage – so, same as before I did anything.

Perhaps someone more knowledgeable with TWRP and/or no-verity can help explain what is going on. I am guessing that I can’t restore my backup because I can’t write to internal since the phone is encrypted. Or is it because I am only booting to TWRP, not permanently flashing it?

I guess I can't have a decrypted phone and only boot to TWRP. After all is said though...I am rooted with Magisk.
[Android Software/Hacking General [Developers Only]] I1V1A1N:
After replacing the kernel in the twrp, the internal memory is not montuated .What are the add-ons to ramdisk/sbin ?
[Android Software/Hacking General [Developers Only]] suraj-b:
Copy the SD card lines from stock recovery and paste it in your port recovery.fstab
[Android Software/Hacking General [Developers Only]] tennyleaz:
I can't obtain the stock rom files for my device, and I don't have root access.

How could I extract stock recovery from the device in the first place?
[Android Software/Hacking General [Developers Only]] suraj-b:
You may try with adb shell. Can't help you beyond this.
[Android Software/Hacking General [Developers Only]] tennyleaz:
I don't have root, can't pull partitions through adb. :crying:
[Android Software/Hacking General [Developers Only]] AlexPro79:
Hello, good morning, I have ported thanks to you a twrp but it does not read me nor the sd card, nor when I put a USB for OTG, thanks in advance
[Android Software/Hacking General [Developers Only]] suraj-b:
Edit the recovery.fstab of your port recovery.
[Android Software/Hacking General [Developers Only]] MarvinMod:
looks to me like not one person following this guide has been able to port twrp successfully. I recommend this thread be bumped or deleted before someone really screws up their device. if you want to port twrp, goto their homepage, there is an official guide to porting twrp the correct way.
[Android Software/Hacking General [Developers Only]] adeii:
Its so much easier since Oreo, no need to compile kernel. Google for "Qualcomm Auto TWRP porter", but use nougat version.
[Nexus 5X Q&A, Help & Troubleshooting] stiarlitserenity:
I got a few battery saving apps and one or two of them required xposed. now my phone keeps boot-looping. i tried deleting what i could find of the apps in twrp, it did not help. i dont want to remove my root, custom kernel, and all my custom stuff in general.. and i have apps that i cant log out of without losing everything, such as chats, unread messages, etc. so basically i REALLY dont want to factory reset. ive done that probably 5 times over the past few months of having an android phone. what should i do? help :(
[Nexus 5X Q&A, Help & Troubleshooting] sfhub:
Can you mount userdata partition in TWRP? If so back up right away and move the backup data off your phone before continuing.

Do you have a TWRP backup you can restore? Start with system and boot. If you are lucky the bootloop is because of changes you made in system and this will get you booting.

If not, see if you can restore boot and system from factory images.

Worse case, you might need to factory reset again and reinstall yet another time.
[Nexus 5X Q&A, Help & Troubleshooting] Wakamatsu:
Reflash rom, kernel and supersu. You shouldn't lose anything doing that.
[Nexus 5X Q&A, Help & Troubleshooting] stiarlitserenity:
im a newbie to all of this.. what will mouting user data partition do, and how do i do it?

backups dont work because i dont have enough free storage. i do have one backup but it was back when i restored my phone to factory settings.

what will restoring boot and system from factory images do, and how do i do it? will i lose all the customization i have on my phone?
[Nexus 5X Q&A, Help & Troubleshooting] MustangLife03:
Lesson learned bud. Half of the reason for TWRP and CWM is to have a full recent/current backup. Its always been like this. All roms, tweaks, xposed, write-ups or threads all say "make a backup" A backup is needed when something goes wrong. Notice the word "when" its not a if something goes wrong. Playing with androids involves way to much stuff and things do go wrong. Everytime your gonna do something just make a backup and delete your previous backup. Keep the backup on a sd card and delete the previous one. You put yourself in a situation like street racing on the freeway in a thunderstorm on new years eve. Not being a **** but for years and years now there a thousands of tutorials on this stuff. How to use adb, fastboot, twrp, soft brick, hard brick, de-brick tool. I don't know where the link is but I have a xposed script to flash in recovery that disables xposed and all modules from recovery in case of a bad module. If that can be found still I suggest that using xposed

FYI. The two replies before this told you what to do. If your looking for a easy everything is 100% going to be ok and you won't lose your text messages its probably not going to happen.
[Nexus 5X Q&A, Help & Troubleshooting] SlimSnoopOS:
If you are on the stock rom, flash the stock boot.img and stock system.img either in TWRP or via fastboot will erase any mods in /system (including Xposed). This will return you to a stock setup. Your apps, sms, and data would be retained.

To do this, download the factory image that matches your rom base. The July OTA is MTC19Z by the way. June is MTC19V, you'll have to remember which one you were on. This can be found on Google's Nexus factory image website. Next, unzip the downloaded file then flash the boot.img and system.img in TWRP (transfer the files to your phone). Alternatively, you could learn to use fastboot. Follow section 10 of this amazing guide by Heisenberg, but flash only boot.img and system.img.

You *should* be able boot up and learn from your mistakes as others have said. If you still have issues, factory reset and charge this loss to the game.
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] stoph8n24:
Was running Temasek's CM13 on a rooted, unlocked note 3. Somehow during a flash, I ended up with a restart to the Note 3 screen and hangs there. I always do a backup prior to my flashing, so there's one there but now there's no twrp for me to get to? Do I restart the process over (flash OS via Odin, reroot, reunlock, etc)? Or is there something different I need to do bc my phone is unlocked as a developer? Please help and thank you
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] bftb0:
?hang budged?

^^^ that's indecipherable; try again.

It is unlikely that you will need to start from scratch, but let's start with this:

Will the phone boot into *any* mode, including Odin Download mode?

Try pulling the battery, reinserting, and booting with

Vol-Up+Home+Power (recovery)

Vol-Down+Home+Power (Odin)

If you can get into Odin mode and it still says "Developer" you should be able to reflash twrp using Odin.
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] bftb0:
OK, that's better than "hang budged"

You state that as a question... what happens when you try booting to the recovery or to Odin (download mode) using the button combinations as suggested?

Restoring a custom recovery to an unlocked bootloader phone using Odin:

cp twrp-3.0.2-0-hltevzw-4.4.img recovery.img
tar -H ustar -c -f OdinInstallTWRP.tar recovery.img
md5sum OdinInstallTWRP.tar >> OdinInstallTWRP.tar
mv OdinInstallTWRP.tar OdinInstallTWRP.tar.md5

Flash OdinInstallTWRP.tar.md5 using Odin (v3.0.9 or so) in the AP slot and be happy.

This ONLY works if the phone still has MODE: DEVELOPER showing on the Odin (Download) screen.

cheers

.
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] stoph8n24:
Lost developer mode, had to reinstall all the steps then insert my primary sdcard with the backup, then restore my last backup. Wasn't a hassle, just didn't know if I need to flash a something totally different since my phone is recognized as a developer now. Thank you, I did download twrp to flash in case it happens again.
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] bftb0:
The only way that would have happened is if you overwrote the bootloader with stock firmware ("aboot" in particular) or - even less likely - that your CID got changed somehow.

Unless you are saying that you intentionally flashed a full stock firmware set in Odin in order to effect the repair... then it would make sense.

What were you flashing that caused the original trouble?
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] stoph8n24:
I actually think I may have flashed the partial firmware instead of the modem firmware that I wanted. But looking at my laptop, I have firmware for so many different notes it's ridiculous. I wouldn't doubt that I just flashed the wrong file.
[Honor 5X Guides, News, & Discussion] danino2200:
Test performed on the new update. Factory reset previously made. All apps closed.
[Honor 5X Guides, News, & Discussion] danino2200:
[IMG="antutu"]http://i63.tinypic.com/3518p3t.jpg[/IMG]
[Honor 5X Guides, News, & Discussion] danino2200:
[IMG="antutus"]http://i64.tinypic.com/orjdi1.png[/IMG]
[Honor 5X Guides, News, & Discussion] Jaycee_008:
How to update marshmallow with TWRP?

Hello everyone I have a 5X and yesterday I received the notification to update to KIW-L24C567B331 but when the device reboots to finish installation it fails as I don´t have the system recovery but TWRP.

I also downloaded the file manually thru http://www.hihonor.com/us/support/details/?DOC_ID=84725 and when I try to install it using TWRP it fails as no MD5 file is found...

How can I update the phone?
[YU Yureka Q&A, Help & Troubleshooting] poran123:
Can anyone help me?? I unable to update. After clicking install update nothing happens..
[YU Yureka Q&A, Help & Troubleshooting] saurav007:
Do you still need help?
[YU Yureka Q&A, Help & Troubleshooting] poran123:
no.. now im using custom rom
[YU Yureka Q&A, Help & Troubleshooting] Samkumar148:
Yes I have the same problem in cyanogen mod and also in android in os update is come but when I click on update then after some time it shows nothing and the updater is showing to install update plzz help me
[YU Yureka Q&A, Help & Troubleshooting] saurav007:
Can you post a screenshot of Setting- About Phone with build number?

Meanwhile, try to flash latest signed zip manually.
[Desire 626 General] aceohyame:
I have a Desire 625 (from cricket in case any others exist, it probably wouldnt make a difference) and it is almost exactly the same as a 626s. More specifically the a32uel. For some reason though, the camera which is supposed to be only 5 MP instead of 8 which implies it is a different cam... the camera still works even.

That said mine had an unlocked sim for Iwireless/tmobile. I unlocked the bootloader and used the version of TWRP written for it and it worked flawlessly (I did have issues with SDcard support, I ended up having to use ADB to push my rom to the sdcard)

I installed the debloated boost\sprint marshmallow rom and it did have issues activating of course but beyond that the phone itself is now working and I am on wifi and have data and no problems except I cant figure out how to get LTE to work thus far. My "4G" HSDPA+ connection is working at least as I did pull 5 mb/s down and 2.5 up during a test albeit with full signal and it does say "G" like it's pulling GPRS when it isnt. (EDIT: After i posted that eventually it vibrated and started pulling LTE signal)

That said welcome to having another dev in this community and I look forward to making this phone not suck (coming from an S5 that ran nearly as fast as an S6 after my S5 fell in water and died)
[Desire 626 General] erikaxe:
I have the HTC Desire 625 as well, it's a great phone for the price. At this point, mine is just rooted and sim unlocked for AT&T. I'm planning on trying to flash the T-Mobile or MetroPCS HTC Desire 626s Marshmallow RUU when it is released.
[Desire 626 General] aceohyame:
The boost one will work great on the phone. The only problem I see is that it takes awhile (around 5-10 mins) to get an LTE lock after boot but after it gets it it works fine (GSM and HSDPA are immediate). It may be a bit of a wait for the others with minimal gains/differences between the two.

I'm thinking it's just some .prop settings that need changed.
[Desire 626 General] asj2583:
Has anyone flashed the Sprint/Boost rom on the 626 from Metro PCS?
[Desire 626 General] noaone:
wow. amazing! I'm using the Cricket 625 as well, had TWRP installed, rooted, customized, etc.....and the thing just died after a simple restart one day. Couldn't boot. It was stuck on the HTC logo screen after the Cricket Wireless boot animation. I flashed the Sprint Debloated MM Rom and I'm back up and running. My only question is this:

Has anyone been able to activate the handset yet? I receive texts/have data, etc, but when it comes to making phone calls, I cannot. Of course this is a designated Sprint ROM, but anyone have any idea how to get the actual phone connection activated? Advice is much appreciated.

---------- Post added at 12:53 PM ---------- Previous post was at 12:37 PM ----------

scratch that, fellas. i got it.
[Desire 626 General] Zombie8u2:
Ok how did you guys do it?

Please a step by step. How to root, unlock bootloader, unlock carrier for the sim.

HTC desire 625 cricket wireless. Thanks really :)
[Desire 626 General] jdyates:
Some details would be awesome. I just got my Desire 625 on Cricket and would love to root to be able to use it as a hotspot, a custom ROM is a bonus. Any help, guys?
[Desire 626 General] jdyates:
Never mind, figured it out. First step is to unlock the boot loader through HTC, fast boot flash a custom recovery (I used TWRP for the desire 626s), flashed supersu, got root. Be warned though. This thing blazes through battery, it's ridiculous.
[Desire 626 General] Zombie8u2:
I just got mine rooted, unlocked bootloader. Is xposed working for anyone.

So desire 626s is like the 625? So do the roms work as well. I kinda figured they was. Was reading a boot loader unlock and sim pin on xda, some one confirmed it worked for 625. (sorry I am not giving props to the wonderful people who worked hard and risked a brick. :):):):svetius::svetius:Thank you and sorry for being lazy)
[Desire 626 General] oneleft.ak:
Cricket Desire 625 tools

I can confirm that the following worked for me on my Cricket Desire 625:

xposed v3.1.1 available here

AdvancedStock ROM available here

SIM/Network Unlock instructions here
[Desire 626 General] Tinad:
I bought my bf a 625 and we ordered a 626 case by mistake. Will it fit on the 625?
[Desire 626 General] cyclops13:
Did it work? Most of the cases on eBay are for 626..
[Desire 626 General] damiloveu:
Don't need to use a case because the phone is cheap.
[Desire 626 General] leopard_fist:
double-tap to wake screen, can this phone do that? I can't seem to figure it out if so