yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Q&A, Help & Troubleshooting] Tulsadiver:
I believe it requires you to be decrypted. Formatting userdata will wipe your data so make a backup first.

http://xdaforums.com/nexus-5x/general/guide-how-to-install-custom-recovery-t3231143
[Nexus 5X Q&A, Help & Troubleshooting] sfhub:
Flash TWRP from bootloader.

While within bootloader use vol down to select recovery and press power to boot into recovery.

Install SuperSU.

TWRP will stick.

If you boot with stock recovery even once, TWRP will get replaced.
[Nexus 5X Q&A, Help & Troubleshooting] jerethi:
Thank you. What is the difference between rooting and using the method that TulsaDiver suggests above?
[Nexus 5X Q&A, Help & Troubleshooting] jerethi:
So, just to clarify, I can either flash a modified boot.img (as described in the post you linked) or I could simply flash an older version of TWRP?

Thanks again for your assistance!
[Nexus 5X Q&A, Help & Troubleshooting] sfhub:
If you are using NBD90W I suggest you use the unofficial TWRP 3.0.2-3 that was posted a few pages back from the last post on the TWRP thread.

TWRP 3.0.2-0 won't decrypt Android N (will decrypt MM)

TWRP 3.0.2-1 has a major EFS bug that will brick your phone on restore

TWRP 3.0.2-2 has that EFS problem fixed, but has another problem where larger parttitions don't get backed up correctly.

TWRP 3.0.2-3 has both previous problems fixed.

---------- Post added at 10:19 AM ---------- Previous post was at 10:16 AM ----------

I didn't read the whole post but decrypted user partition isn't directly related to why your TWRP is disappearing.

When you boot with a stock image, it will replace your recovery with stock.

If there is just 1 byte change with your boot.img, it won't do that.

Installing SuperSU will patch your boot.img, thus it will no longer replace your recovery with stock.

You could flash a modified boot.img instead of SuperSU, but then you are depending on someone else creating a modified boot.img for you (or you creating it yourself). If your goal is to have root installed, then SuperSU will patch boot.img on the fly during install so no need for extra step.

Again, the overwriting of TWRP with stock recovery is not directly related to the modifications done to boot.img either by someone else or by SuperSU install. If you had done any change to boot.img even if it is off by 1 byte, TWRP won't be replaced by stock recovery.

IMO there is no reason to run decrypted with latest OS, but if you wanted to, the only requirement is you have dm-verity disabled in the boot.img. Both the custom boot.img and the SuperSU install would do this for you.

After you have dm-verity disabled (either by SuperSU install or installing custom boot.img), boot back into bootloader and do

fastboot format userdata

From that point on, as long as you *never* boot using stock boot.img your userdata will remain decrypted. If you ever boot with stock boot.img, by mistake, it will proceed to encrypt your userdata. Then you'd have to go through the same procedure again the decrypt (losing your userdata in the format step)

The proper way to upgrade is to flash boot.img, system.img, vendor.img in fastboot, then immediately (from bootloader menu) boot into TWRP recovery, and install SuperSU. Then everything will be preserved.
[Nexus 5X Q&A, Help & Troubleshooting] Tulsadiver:
Listen to this guy. You can start with the old one if you want then upgrade to the new one later but Supersu modifies your boot.img for you. Like he said, after Fastboot flashing them, Fastboot reboot and before your phone boots up, boot right back into recovery. This will make TWRP stick.
[Nexus 5X Q&A, Help & Troubleshooting] jb0ne:
Wow, this post was SO HELPFUL.... Haven't rooted in a while, recently replaced our Nexus 5's with 5x's (on NBD90W) and hadn't felt the need to root. Plus it's gotten so much trickier even with Nexuses.

Anyway totally familiar with ADB/fastboot etc to flash stuff.

I still need to oem unlock and wipe still (bleh).

But after, one thing that's confusing me, to then root is a *custom* kernel (boot.img) needed now? Made specifically for (at this point in time) NBD90W? Or can stock boot.img be flashed then boot straight into TWRP and flash whatever is the latest SuperSU? Are all SuperSI "systemless" now?

Also you stated "IMO there is no reason to run decrypted with latest OS". I have noticed VAST performance improvement with Nougat. Is this why you feel no reason? Would we not still gain even more speed back? (it was so sad watching my wife's old Nexus 5 booting 6.0.1 faster than my 5X).
[Nexus 5X Q&A, Help & Troubleshooting] Tulsadiver:
I've always decrypted but that is my personal choice. All I do to root afterwards is flash SuperSU-v2.7.8. That is it. You can adb sideload it (i use twrp for that) or flash it in twrp if you have it already on your phone).
[Nexus 5X Q&A, Help & Troubleshooting] sfhub:
You must have a customized boot.img now for root. What customizations you absolutely need to have in boot.img is dependent on how you want root installed, but since you are modifying boot.img, you might as well just stick all the changes you need in boot.img and leave /system untouched.

The default install for SuperSU will make the required changes to whichever boot.img you currently have installed on your system. Generally that consists of disabling dm-verity (integrity check), making encryption optional (not absolutely required), making sepolicy security changes, and adding init script support to load SuperSU binaries later in the boot process.

There are configuration parameters you can feed into SuperSU install to force it to install root on /system instead of systemless, but I would just suggest systemless. It is a cleaner install IMO.

So install the stock boot.img and boot directly into TWRP from the bootloader menu, then install SuperSU and it will modify the boot.img you have installed (and back up original)

The only requirement to keep TWRP (and/or decrypted userdata) is to NEVER boot the phone using a stock boot.img. If you always immediately install SuperSU after flashing the stock boot.img that will satisfy that requirement.

http://xdaforums.com/nexus-5x/general/unencrypted-faster-real-world-usage-t3365660
[Nexus 5X Q&A, Help & Troubleshooting] trentag1988:
for some reason, when i fastboot installed twrp (after usb debug/unlocking bootloader) I kept getting mount errors when starting twrp. I tried flashing purenexus rom, wipes dalvic, system, data. then my data partition was 0. couldn't mount data part. to copy purenexus or system stock image. I ended up having to use my windows pc to wugfresh it back to life. has been a crazy night. I need coffee.

On coast of SC here, in Charleston. Wishing everybody best of luck with the hurricane.
[Nexus 5X Q&A, Help & Troubleshooting] Tulsadiver:
Did you reboot after unlocking or go ahead and install TWRP right after unlocking?
[Nexus 5X Q&A, Help & Troubleshooting] trentag1988:
I tried, but I kept getting the " cannot check for corrupt system because bootloader is unlocked" message, and it never fully booted. I managed to fix the 0data partition by fastboot format userdata, but pure Nexus never worked. It tried to boot, but it stuck on the spinning Google logo thing
[Nexus 5X Q&A, Help & Troubleshooting] trentag1988:
Update: followed pure Nexus instruction; unlocked bootloader, then let it boot once to device setup. Restarted in fast boot, flashed twrp. Rebooted, went into twrp, formatted dalvic, system, user data and cache. Flashed pure Nexus from then gapps according to pure Nexus download page. Reformated dalvic and cache. Rebooted, stuck on Google logo, this time did not do its spinning thing. Have I missed a step??

---------- Post added at 03:33 PM ---------- Previous post was at 03:32 PM ----------

Update: followed pure Nexus instruction; unlocked bootloader, then let it boot once to device setup. Restarted in fast boot, flashed twrp. Rebooted, went into twrp, formatted dalvic, system, user data and cache. Flashed pure Nexus from twrp then gapps according to pure Nexus download page. Reformated dalvic and cache. Rebooted, stuck on Google logo, this time did not do its spinning thing. Have I missed a step??
[Nexus 5X Q&A, Help & Troubleshooting] Tulsadiver:
What firmware are you on?
[Nexus 5X Q&A, Help & Troubleshooting] trentag1988:
Latest nrd90w(?) I believe

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

NBD90W
[Nexus 5X Q&A, Help & Troubleshooting] jerethi:
Thanks very much for the detailed assistance. If I wanted to install a custom ROM, do I have to decrypt my user data first? Or can I just install TWRP and then flash?
[Nexus 5X Q&A, Help & Troubleshooting] Tulsadiver:
I do not believe Pure Nexus is a Nougat Rom. Try starting over and flashing a Rom compatible with your firmware.
[Nexus 5X Q&A, Help & Troubleshooting] trentag1988:
Ohhhh. That makes sense. I'm only use to Samsung and using Odin to flash twrp and any ROM from jellybean to lollipop without a hiccup. So pretty much, since I'm on a nougat shipped device, I have to use nougat Roms? Installing earlier marshmallow stock ROM brick might brick device?
[Nexus 5X Q&A, Help & Troubleshooting] SlimSnoopOS:
In your case, you had 7.0 OTA installed. When you flash a Marshmallow rom, you need to flash the matching Marshmallow vendor.img. Failing to do so is why you are bootlooping. When you want to flash a Nougat rom, flash the appropriate vendor.img for that rom's base when moving up from Marshmallow. You will bootloop if you have MM vendor installed on Nougat rom or Nougat vendor on MM rom. Download the factory image from Google that matches whatever rom you want to flash then fastboot flash vendor or install it via TWRP 3.0.

Follow this guide to use fastboot if you do not already know how:

http://xdaforums.com/showthread.php?t=3206930
[Nexus 5X Q&A, Help & Troubleshooting] trentag1988:
Dernit I was wondering what vendor was. I feel slow now. Thank you.
[Nexus 5X Q&A, Help & Troubleshooting] sfhub:
The encryption is handled transparently by the kernel/boot.img.

If you want to run unencrypted, it would be easiest if you removed encryption before installing anything, otherwise you'd have to do things a second time because removing encryption later after initial install still involves formatting userdata.

Technically you don't really "decrypt" userdata. What you do is install a boot.img that has encryption made to be optional, then format userdata, which will initially be unencrypted after the format operation. Unencrypted userdata is actually how the phone ships. The encryption part happens upon first boot using a kernel that has force encryption turned on.

If you want to run encrypted, then it shouldn't really matter regarding any special steps.

If you are running custom ROM, suggest you just follow the instructions for installation in the custom ROM.

---------- Post added at 09:33 AM ---------- Previous post was at 09:29 AM ----------

The proprietary binaries (drivers, firmware, etc.) used to be in /system. To make it cleaner and easier for updates the proprietary binaries were separated out into their own "vendor" partition. You can basically consider vendor and system joined at the hip as that is how they were prior to the split up.
[Nexus 5X Q&A, Help & Troubleshooting] trentag1988:
I like the seamless idea, but I wouldn't have known that. That you so much for that info. I found the vendor files on pure Nexus forum, but I have no idea which one to get. I've tried researching which I've I need but I haven't found any conclusive info
[Nexus 5X Q&A, Help & Troubleshooting] SlimSnoopOS:
MTC20F for August. MTC20K is for September. Both are marshmallow. Any that begin with N are for Nougat, BTW.
[Nexus 5X Q&A, Help & Troubleshooting] trentag1988:
Awesome. I was thinking the last one on the list (mtc20f) would be the way to go
[Nexus 5X Q&A, Help & Troubleshooting] jb0ne:
This post, as well as other info in this thread, has helped me tremendously getting up to speed after my year hiatus (new twins). I feel like I now have the knowledge I need to make the decision on rooting, encryption, and the gotchas.

OP - didn't mean to hijack, we were just in the same situation.

sfhub - thank you so much for patiently answering our questions with such detail. I picked up what would have taken hours and hours of reading forum threads to get myself caught up. Extremely impressed with how the dev community has kept up with the changes to Android and continue to keep things simple and effective.

Nougat's finally got enough functionality that I have to actually think about whether to root - always a no brainer in the past. And a topic for another thread......
[Sony Xperia T3] Malakezi:
Hi guys,

So i've been crashing my head over 2 days, searching everything, and everywhere, trieded everything, and i can´t seem to put this phone to work

I need root, first of all, and i can't root te phone. i've tried with tons of programs, and nothing.

I need a flashing tool, but i can't seem to install TWRP in this phone, by command prompt, when install the TWRP image, gives me an error, like command not allowed.

So i've seen that exist something as flashtool by sony, installed, and no root acess, tried to root and Illegal key size or default parameters.

What the hell...

Can someone just get me a cheese tutorial, i've tried here like 2 or 3 tutorials, and none of them seemes to work.

Thanks
[Sony Xperia T3] dan15:
the easiest way is to use PHIL'Z kernel. it includes the recovery by pressing "Power" and just after "sound down".

once you are on recovery, select "advance features", and you will found the re-root option. just press and reboot the phone. install SU an that's done.
[Mate 8 General] lou0007:
Hey guys,

Wondering why the honor 5x got more tweaks and options more than the mate 8?

Despite the later is more powerful?

Ex: fingerprint options, notification drawer, recording , & couple more

I know most people gonna say go for root,

But the question is why not stock!

Why not satisfy the customer...

Thanks people for listening... :cowboy:
[Mate 8 General] lou0007:
+1
[Zenfone 2 Laser Q&A, Help & Troubleshooting] prakharluv:
Guys please help me out, tell me which firmware version is best for Unlocking Bootloader of Asus Zenfone 2 Laser ZE550KL (720p, 2GB)? As I tried to unlock bootloader on 1.17.40.1531 firmware but nothing happened.

Thank you
[Zenfone 2 Laser Q&A, Help & Troubleshooting] bdwilk:
I unlocked mine using the latest pre-rooted MM firmware. Using this method.

http://xdaforums.com/zenfone-2-laser/general/guide-unlock-bootloader-asus-unlock-app-t3405850/page10
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] Parkaboy:
I've read a lot about the screen flickering issue, suggestions range from changing options in developer options, removing your SD, squeezing certain parts of the phone, slapping it, replacing the screen etc. I was rooted on lollipop using this method: http://xdaforums.com/verizon-galaxy-s5/general/root-method-og5-ok3-t3290370 and after the root the screen returned to normal for about 20 minutes. Over about a month or so after this the problem got worse, I'd have to press the power button 20 or more times to get the screen to come one and as of 3 days ago I haven't been able to use the phone at all. Today I was messing with it and found that if I reboot the phone holding the power and volume down buttons, the screen flickers and I see the yellow triangle with an exclamation point briefly, and flickers out again until the samsung boot screen, every time I do this, the phone stays on. I have USB stayawake on and if plugged in the phone will stay awake for hours until I push the power button to turn off screen, and then repeat the reboot process. Just in case there was a software issue I upgraded to the latest update by using odin, I'm now on 6.0.1 and the phone was working perfectly for an hour before it returned again. If the issue is the flex/ribbon cable that connects the screen or other hardware issue, I don't see how rebooting would help, but if its a software issue, I don't understand why its only after I turn off the screen. Regardless, even when the phone was working it would still flicker on the lowest brightness, but at least the power button would work. Anyone have any ideas?
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] nura380:
I've been in this type of your situation believe me all those solutions you mentioned above non of them really work, infact i nearly got my phone twisted because of one stupid yellow flickers. As of now the only perfectly working solution according to my extensive research is first of all never put it in auto brightness, you can reduce the brightness to a minimum, this happens on many samsung devices like s4,note 3 and even some s6 due to the amoled screens you'll notice when you reduce your brightness to the lowest it start immediately. I only got one report on this same issue damaging a s5 but it rear so dont be scared of loosing your phone. I'll upload a sreenshot of my minimum brightness to give an ldea.
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] Parkaboy:
The not using auto brightness does stop the screen from flickering so if I have to turn it down, I turn it down to just below where it starts happening but I still have the issue of the screen not coming on with the power button consistently, it flashes on for a second then back off, not nearly long enough for me to unlock the phone, except for when I restart it using power+vol down :confused:

EDIT: I see now this probably should've gone in the help and troubleshooting sub-forum, if any mod sees this, please move it for me.
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] nura380:
It worked perfectly for me except your is getting worse by the week. Never mind i just got a new way may be it'll work on your phone, move your brightness tray to the highest or at the middle, keep using it as normal for every day use for at least a week. It worked for my indian friend as he told me. Keep in touch.
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] Parkaboy:
The first day it didn't seem to make a difference but I didn't check on it a lot, after that I've checked a few times and it does seem to make a difference it comes on much more frequently now, almost every time, but what could be the cause of the issue then? When I thought it was the ribbon cable connecting the screen I wasn't opposed to replacing it if I have to, but now I'm not sure how to go about fixing this or if I even can other than just leaving brightness up
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] Parkaboy:
Just to update, keeping it on max brightness did a lot to solve the issues, but it was still under warranty through Samsung so I sent it in, its on its way back, but according to the report they replaced the LCD
[LG G Stylo Questions & Answers] elli_xd:
When I have rooted my phone earlier this year I am unable to update even after unrooting. Is there a 6.0 rom someone has uploaded? Preferably unbloated. (Sprint btw)
[Android Q&A, Help & Troubleshooting] aroniskom:
Hi, please i need help. a month ago my lenovo s820 stuck at boot loop so i flash a new rom (i kinda forgot what kind of rom) and after that it works fine. but after a month it stuck at boot loop again. i try to flash it with Lenovo_S820_S223_ROW_150119 and got BROM ERROR: S_DL_PMT_ERR_NO_SPACE(0x13CD). so i ran memory test and everything is fine. so i thought maybe i need another rom. after that, i try S820_ROW_S221_140730 4gb and got brom error s_ft_enable_dram_fail (4032) and i have try several rom and still got brom error. and my phone now cant turn on even if i charge but sp flash can still detect.

Please help. thank you
[Android Q&A, Help & Troubleshooting] ih8redsn0w:
is there a way i can flash framework-res.apk while in fastboot mode on the sony xperia m5 because i renamed it and i can only get into fastboot and download mode

i dont have twrp and bootloader is locked
[Verizon Galaxy S 5 General] hauckk@sfreserves.org:
There is an unofficial cm14 kltevzw build by haggertk out now so this guide is deprecated here is the link to g900v cm14

https://www.androidfilehost.com/?fid=312978532265362633

this guide will show you how to flash cm14 nougat on the kltevzw

much thanks to haggertk the developer of this rom i take no credit for this rom i only want to share nougat cm14 with kltevzw users if the developer doesn't like this thread it will get removed

this guide will show you how to flash cm14 nougat on the kltevzw

this thread is only for s5 verizon bootloader unlocked rooted devices thanks haggertk developer of cm14 for klte

please please take a twrp full backup or cwm full backup of your device before you follow this guide just in case

here is the link for cm14 nougat klte use this build

https://androidfilehost.com/?w=file...b9c45392c943d9d1da20861985400ca665d94569e62b8

nougat gapps link http://opengapps.org/[/url
go to sa...

https://www.youtube.com/watch?v=v6MG2UJxySA
[Verizon Galaxy S 5 General] boboliver62:
Nougat 14

Hey

Thanks for your work!! I have downloaded and extracted everything.

Renamed it and extracted tar too.. moved everything to my phone and

Im about to start. BUT i want to ask first why flash the firmware first.

Im running a rooted unlocked S5 SM-G900V straight talk,, SM-S902L firmware.

if I flash the G900F firm I think im gonna mess my phone up.

what do you think ,,,

BobO
[Verizon Galaxy S 5 General] hauckk@sfreserves.org:
Do you mean sm-920l
[Verizon Galaxy S 5 General] hauckk@sfreserves.org:
There is an unofficial cm14 kltevzw build by haggertk out now so this guide is deprecated here is the link to g900v cm14

https://www.androidfilehost.com/?fid=312978532265362633
[Verizon Galaxy S 5 General] DizKiller:
new? its missing
[Xiaomi Redmi Note 3 Questions & Answers] anikdas:
As there is no miui8 stable rom for Redmi Note 3 Special Edition, have anyone tried Redmi Note 3 Qualcomm Global stable rom in it?

Is that can be possible to flash Redmi Note 3 Qualcomm Global stable rom into Redmi Note 3 Special Edition ?

Any issue found doing on that?

Please help. thanks.
[Xiaomi Redmi Note 3 Questions & Answers] PakkaZA:
You can't flash the Qualcomm (Kenzo) to the special edition (Kate). At least not without hacking it. And I won't recommend it.

However, I have flashed the Developer version on of the Special Edition ROM and that is based on MIUI 8. I have no instability issues, so you can also try doing it. Download on your pc from here:

http://en.miui.com/extra.php?mod=rom/download&r=301&mobile=no#449

Copy file to your phone

Install with Updater app (it does fill wipe if I remember correctly)
[HTC Tornado] karhoe:
As all of you know, when we move the joystick to adjust the brightness, the brightness would just go dimmer and dimmer. Anyway we can fix this? Or perhaps extract the camera software from Vox?

DSF, can you help us?
[HTC Tornado] DSF:
Hi,

sorry for the late reply.

i've extracted some camera files from a vox dump and copied them to my tornado, but the camera won't start.

Maybe camera.exe is "hard-coded", it's depended by other drivers or by a "device id" .. really don't know.

Sorry..

here i've uploaded the files.