yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Q&A, Help & Troubleshooting] chrispy_212:
Hey all,

I dented the back of my 6P because I'm an idiot. It has a hard shell case on it, but that apparently wasn't enough to protect the back of the phone from the hip-height metal post I walked into whilst talking to a friend. Smooth.

So now, I'm left with a smooth 1cm x 1cm dent, 1-3mm deep, just to the right of the fingerprint scanner. I've looked around, one option is a suction cup but I'm concerned about being able to fit it over the dent considering where the fingerprint sensor. Other options have included rapidly heating and cooling it, but obviously, it's a £500 phone full of electronics and magic (I assume), so that's just dumb.

Thoughts? I'd really like to progress to using a slickwrap instead of my case. At least in situations without inconspicuous metal posts.
[Nexus 6P Q&A, Help & Troubleshooting] bash156:
You can buy replacement battery covers on eBay look original £20
[Nexus 6P Q&A, Help & Troubleshooting] ttminh1997:
Do you have Nexus protect? If so that should be the first thing to look into. Otherwise, I think Huawei has a network of approved repair centers that you can consider.

In any cases, as unintuitive as this may sound, a soft case would be better than a hard case. A well-built TPU case (think Spigen or Adopted) absorbs and disperses any forces an impact has, while a hard case transfers the force straight to the fragile metal back.
[Meizu MX] Mullen1618:
Hi everyone,

I'm wondering whether anyone has successfully used Android Pay on a Meizu Pro 5.

Some backstory of my problem:

In preparation for Android Pay releasing soon™ in the UK, I installed the apk to see how it was set up. When trying to add a card I got an error saying "Android Pay can't be used. Google is unable to verify that your device or the software running on it is Android compatible". After researching I found that normally this error is because the phone is rooted, but I'm not (although I have been in the past). I've tried flashing different firmware's and I still get the error.

Part of the Android Pay checks is the Google Safety Net API so I downloaded SafetyNet Helper Sample from Google Play and sure enough, it fails. It fails saying "CTS profile match: false". Is something wrong with my device or is it a Meizu problem?

Cheers

tl;dr

Android Pay not working. SafetyNet API saying "CTS profile match: false". Is it working for others?
[Meizu MX] raamnanda@gmail.com:
Its not working on my Meizu Pro 5 either. I am on 5.6.5.17 beta and using it in UK. The SafetyNetAPIHelper is giving the same error as you mention. Were you able to find solution ? Halifax mobile is also not working.

cheers!
[Meizu MX] mite_jan:
dont tell me that android pay is not working

i ordered this phone because it had NFC chip in it

following this thread

---------- Post added at 01:38 AM ---------- Previous post was at 01:01 AM ----------

i have been searching for solution and looks like there is xposed module to bypass this security check

can you test it out , i dont have the phone with me yet

http://repo.xposed.info/module/com.pyler.nodevicecheck
[Meizu MX] raamnanda@gmail.com:
I installed the NoDeviceCheck apk from the link and no effect. SafetyNet Helper still says the CTS Profile Match : False and same error in Android Pay.
[Meizu MX] mite_jan:
The following break Android Pay;

-Xposed Framework

-Non-stock DPI

-Busybox installed to /system/... (/su/bin works!)

-Certain custom ROMs

-Classic root method (use systemless instead)

-/su/xbin_bind using systemless root (delete this file in this path and reboot)

-Any modifications to /system

i think the root and xposed is the main thing that doesnt pass the check in android pay

i am not sure if you can unroot from the account

i will try to make it work as soon as i get the device

these 3 threads should be of any help

http://xdaforums.com/nexus-6p/general/android-pay-rooted-t3260062/post64367735#post64367735

http://xdaforums.com/nexus-5x/general/passing-safetynet-root-t3307659/page39

http://xdaforums.com/apps/supersu/supersu-safetynet-android-pay-t3298115
[Meizu MX] maxant69:
You have to know that none of Meizu devices has the certification for Google Services. https://support.google.com/googleplay/answer/1727131?hl=en

So I don't think Android Pay could work.
[Meizu MX] mite_jan:
that can be tricked via the build.prop and faked as another branded device

but then again android pay doesnt want root and modification of the system
[Meizu MX] maxant69:
I don't think it is so simple.
[G 2014 Q&A, Help & Troubleshooting] zen55:
Hey,

So I tried to encrypt the phone without any warning that it is not compatible with cm12.... thus found myself fixing a bootloop. So how can I encrypt the ****, what encryption alternatives are safe to use with cm12? Thanks.
[G 2014 Q&A, Help & Troubleshooting] zen55:
Nevermind. Solved it
[Verizon Samsung Galaxy S6] AndroidFan16:
So basically I never wanted to update my phone but I accidentally pressed Install Now when I was trying to open the messaging app. Now I can't root it anymore or downgrade it. Worst mistake ever for my phone :crying:

So my phone found a new update, but I don't want to update it because I want to look for a updated ROOTED rom that is later than OG7. If anyone has a odin flashable / zip flashable, PLEASE message me. I have a friend that works with android roms, he said that its something to do with the bootloader and it has to be rewritten by hand to make it rootable because of verizons bootloader, and to unlock the bootloader. PingPongRoot doesn't work anymore after the 5.1.1 update. I really hate this update. it slowed my phone down a lot. **** you verizon :crying::crying::crying:

Anyways I need a rooted rom to flash on my phone to make my phone think its signed by Samsung or Verizon and it's a new update. Please help me root my phone. I really got nothing to root it now ;-;
[Verizon Samsung Galaxy S6] Mikej69:
Sorry, it doesn't exist for the Verizon Galaxy S6. The last rooted ROM was OE2.

Mike
[Verizon Samsung Galaxy S6] isruco:
Have you tried updating to Marshmallow? I'm on CleanROM 1.5 android 5.0.2 OE2, and have been curious of the new android version, but at the same time do not want to lose root. Let me know if Marshmallow is worth losing root. Only advantage I see to root at this point is not having all that damn bloatware I really hate and cannot remove without root. Thanks.
[Verizon Samsung Galaxy S6] AndroidFan16:
I rather not update it unless

1: A root method is available

2: A rooted rom for Marshmallow is available

Just saying. upgrading to 5.1.1 unintentially (mainly because i was directly going to the messaging app but accidentally pressed install now) made me loose my root access. That's why I'm seeing if there is a rooted rom for that rom or a root method for that room.
[Verizon Samsung Galaxy S6] isruco:
From what I understand, it seems verizon is never going to allow it. Just look at Note 4 from verizon, it came out in 2014 and still no sign there will ever be root available for that one either. I'm even considering moving to tmo since there is root on their devices. Good luck.
[Verizon Samsung Galaxy S6] Droid_JD:
http://xdaforums.com/note-4-verizon/general/note-4-verizon-bootloader-unlock-t3358913

sent from your mom's phone.
[Verizon Samsung Galaxy S6] isruco:
Wow, I'll have to check this out. Maybe verizon SGS6 5.1.1 and later will come some day as well.

Thanks for the info :victory:
[Verizon Samsung Galaxy S6] AndroidFan16:
Still sticking in 5.1.1

maybe it might work in the future exploits :eek:
[Sony Xperia C] repey6:
Dear developers ! Please answer me is it impossible to port Sony's Android™ Concept for our Xperia C . Thanks .

http://xperiafirmware.com/8-firmware/115-sony-android-concept

http://xdaforums.com/z3/general/sonys-android-concept-review-download-t3167488
[Samsung Galaxy Core.] Allmightytallest:
oh and also just wanted to add that if anybody that knows what theyre doing happens to be in the midst of making/porting any new roms for the SM-G360T1 samsung galaxy core prime metro pcs version and needs any help with like testing or wutever let me know, i got a good twrp nandroid backup ready to b restored n just in case of an emergency i still got odin and the rooted kernel that i used to root it in the first place saved onto my pc
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
[CENTER]*** Disclaimer ***

All flashing is done at your own risk!
While nothing from this thread should break your device,
don't come back here blaming anyone if it does![/CENTER]

Introduction

Images

Installation instructions

Device Changelog

TWRP Official Changelog

Downloads

FAQ

- Post #2

Known Issues

We need your help!

Bug Reporting

Additional Help/Support:

XDA:DevDB Information

TeamWin Recovery Project (TWRP), Tool/Utility for the HTC 10

Contributors

Captain_Throwback, Dees_Troy, bigbiff, _that, nkk71

Source Code: https://github.com/TeamWin/android_bootable_recovery

Version Information

Status: Stable

Current Stable Version: 3.4.0-0

Stable Release Date: 2020-06-24

Created 2016-04-13

Last Updated 2020-06-25
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
PSA for Devs regarding mounting system in updater-scripts

In order for ROM zips to function properly, ROM devs may need to change the way they're used to performing mount commands in their updater-scripts. Many ROM devs like to use busybox to mount system, like this:

run_program("/sbin/busybox", "mount", "/system");

However, on newer HTC devices, this will not always be effective, due to the variable state of system when booting into TWRP (more information in the above post). The most reliable way to mount system in TWRP is to use the below command:

run_program("/sbin/mount", "-t", "ext4", "/dev/block/bootdevice/by-name/system", "/system");

Since this calls the mount binary and specifies the proper filesystem of /system, it will work regardless of the mount state of /system within TWRP.

The reason people are having issues booting ROMs flashed without the above command is because custom ROMs typically include a command to format system within the updater-script, like this one:

run_program("/sbin/mke2fs", "-t", "ext4", "-m", "0", "/dev/block/bootdevice/by-name/system");

Notice that this calls the mke2fs binary directly and specifies the filesystem, so this command will run properly and format system. However, when the script attempts to mount system using the busybox mount command, it's unsuccessful, resulting in a failed ROM install (even though there likely isn't an error message) and an empty system partition. The same command format should be used both to format system and to mount it.

So, the solution is easy - replace your busybox mount commands with the direct version noted above. Running it that way should work regardless of the update-binary used, since it's not running mount directly but calling it (this makes a difference to some binaries for some reason). This will even work in situations where system has been mounted read-only by TWRP (more on that in the below post).

ROM Devs - please consider making this change going forward. The above method will ALWAYS WORK. Please use this and discontinue whatever other methods to mount system that you have previously used, as they will have inconsistent results, leading people to flash old versions of TWRP or blame TWRP for their errors.

I know HTC is changing how they do things, and it's different than we're all used to. Let's all adapt to the change together. :).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
You may notice that there's no device page for the HTC 10 on the twrp.me site. Well, obviously, that's because the device hasn't been released yet. However, if you happen to have the device already, you may be able to find a TWRP build for it somewhere, if you figure out where to look ;).

Once the device is released, please be assured that a device page will be created so everyone can easily get to it. Until that happens, I'll be keeping the thread closed. Thanks for your understanding!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Alright, since [MENTION=4470081]topjohnwu[/MENTION] was kind enough to post a TWRP backup from his release version device, I'm opening the thread and offering an "unofficial" release on the Downloads tab until I can get the official build working.

Here's a link to the build:

twrp-3.0.2-1-pme - DEPRECATED BY OFFICIAL RELEASE

P.S. If you happen to have the currently elusive Sprint variant of the 10, this version WILL NOT WORK. I do have a working version for Sprint, but I will need to wait for the release software before I post it.

UPDATE: As of the official 3.0.2-2 release, the Sprint variant is supported!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] topjohnwu:
Thanks a lot man. I've got a minor issue here, take a look at the picture, it has a mouse cursor in the center for all time.

Also, would you mind me contact you on hangouts? I am curious about some questions, and I cannot contact using PM.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
You're just going to have to ignore the mouse cursor for now. I can't get get rid of that without kernel source.

Sure you can contact me on Hangouts. I do prefer PM, though.

P.S. Added mouse cursor issue to current bug list.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
I'm trying to do some preliminary setup for AOSP encryption support. Can someone with a device please try flashing the 3.0.2-2 version I just posted, and provide the recovery.log afterwards (provided it boots)? I'd really appreciate it. Thanks!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Better yet, if someone can flash this 3.0.2-3 and pull a recovery log, and also post the output of lsmod either from adb shell or the TWRP Terminal, I'd appreciate it. I'm trying to a few things for decryption.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] topjohnwu:
[MENTION=1162986]Captain_Throwback[/MENTION]

Tried 3.0.2-2 and 3.0.2-3, both cannot boot. Is there a way to pull logs?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nenebear:
Thanks Captain_Throwback .

twrp-3.0.2-2-pme.img & twrp-3.0.2-3-pme.img is work for me . devices TW 1.21.709.2 deodexed
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
When you say they can't boot, what do you mean? What happens, exactly?

When it tries to boot, does it get stuck? If so, do you have adb access? The OP says how to adb pull a recovery log. If not, then it'll just have to wait until I have one for me to try to fix it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Thanks, but it looks like you've already removed encryption, so these logs don't really help for what I was trying to work on. I do appreciate your willingness to help, though.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] topjohnwu:
It just blinks the splash screen for about 0.5 sec and then no output. About a few seconds later it reboot to system.

I tried to catch adb shell in that few seconds, but it seems it is too short for TWRP to initialize the adbd
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Understood. I've seen that behavior before with decryption. That'll be difficult to debug without having to device in-hand, so it'll have to wait. Thanks for your feedback, and for being willing to test!

I'll pull down those other versions for now, since they add nothing but freezes.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
I've removed the temporary version from the Downloads tab, as the official build has been updated.

And now we have a device page!

https://twrp.me/devices/htc10.html
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] keaheng:
edited
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] orrorin:
Is it possible to enable encryption once TWRP installed and dm-verity is disabled?

I'm talking about the old method of encryption where the /data partition is manually encrypted, rather than forceencrypt

Rooting and modding is great, but if the only way to do so is to disable encryption completely, I think that will change a lot of people's value prop.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
TWRP doesn't support HTC's encryption. Not sure why you'd think there's a difference between the forced encryption and manual. They still use the same type of encryption on the stock ROM.

Once AOSP is available, decryption should be possible, but only on AOSP-based ROMs.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] orrorin:
I understand that TWRP can't decrypt HTC's encryption, but what I'm wondering is whether it's possible to enable encryption on the HTC 10 after dm-verity has been disabled and root has been flashed.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] wranglerray:
I also have a sprint m10 bootloader unlocked encryption un touched anything you need capt.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] guidogsbn:
Today I made a backup in TWRP only DATA without using / klicking any extra options (2149 seconds). Is that an data backup I can restore after a full wipe?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Why don't you try it and report back?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jollywhitefoot:
Well it was worth a try, but doesn't work. After restore I got an error saying data could not be decrypted and to do a factory reset
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] guidogsbn:
Good answer, but only an option, if I find another way to back up and not to loose data
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Chronzy:
[MENTION=1162986]Captain_Throwback[/MENTION]

Thanks for your work on this device.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eagle1337:
How would I go about wiping my data? I'm trying to get back to stockish condition.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kaw900r:
twrp

How did you get twrp onto device, what version did you use and do I need to unlock first or after twrp??? t/u
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] stonew5082:
Unlock first. Use the latest version in op

Here's a guide

http://xdaforums.com/htc-10/how-to/guide-root-optionally-s-off-radio-t3373025/page15
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] stonew5082:
SO I just restored my full stock backup, including recovery. I'm still in TWRP at the moment. Am I going to lose TWRP when I reboot? or is there something I can do before I exit twrp? I don't have access to adb today, I'm at work

EDIT: flashed the twrp image duhhhh thanks Captain!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] chazall1:
I am currently on LeeDroids current rom. I want to go back to be able to test if I can receive OTA's useing Captain_Throwback post: http://xdaforums.com/showpost.php?p=66837323&postcount=189

After testing, I want to be able to restore LeeDroids ROM. What needs to be backed up in TWRP in order to restore. If I am to format data in this process, will my backup be restored?

Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] chazall1:
If I backup, SYS-Data-Boot that comes to, 26.39 gb. That is damn large!

LOL

Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Why are you backing up data? It's encrypted. Backing it up it pointless.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] chazall1:
So just System would get me back to my backup
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Prinz069:
Hi there,

don't know if I'm right here but I guess so and would like to ask you for an advise.

I made a backup in current TWRP which ain't restorable. It let me stuck into splash screen after restoring it.

My backup size was about 5.7GB (without data).

Furthermore I'm not able to perform a full wipe in Aroma as it does not request it when flashing a rom. So it happened when I tried to flas ICE rom. It just flashed incrementally over Leedroid and messed up my system.

I guess this could be because TWRP/de-or encryption fails somewhere and the system does not get wiped.

Am unlocked with latest SuperSU.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Mr Hofs:
Here is more info. Read outside the box :)

http://xdaforums.com/showthread.php?t=3374044
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Prinz069:
Thank you,

so, it would be interested to implement in recovery, isn't it?

As long as the internal storage will get wiped I'm okay because all my datas are on external sd card such as the rom for example.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] m03sizlak:
delete me
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] virtualcappy:
All,

Hm. That's a nice approach but more than OTAs I'm concerned with making the occasional nandroid backup with twrp and being able to recover back to a state that's working well. Is that not possible at this point? Tonight I made a 30 gb backup with twrp that I gather is completely useless after reading this thread. I know very little about these things but I figured an exact copy of an encrypted partition would restore ok since all the 1's and 0's would be in the right place... guess I was wrong. Is it possible to unencrypt and use twrp normally and if so is this a big security issue?

Thanks for your thoughts.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Not possible.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Zoandroid:
No..........you should remember doing it. :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Kisakuku:
Unless you use one of those MiB flash gizmos...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] st_voss:
The HTC 10 is one of the devices that started with Marshmallow and was updated to Nougat.

May I ask what kind of encryption is used for /data?

Is it full-disk encryption (FDE) or filesystem based encryption (FBE)?

The entry for /data in recovery.fstab is

/data	ext4	/dev/block/bootdevice/by-name/userdata	flags=encryptable=/dev/block/bootdevice/by-name/extra

so I assume that filesystem based encryption is used.

Otherwise (i.e. when using a dm-crypt based full-disk encryption) we would see a device-mapper path (/dev/mapper/...) in the above fstab entry.

Is that correct?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
There is no "filesystem based encryption", it's either Full-disk encryption (FDE) or File-based encryption (FBE). The HTC 10 uses FDE.

File Based Encryption would use fileencryption or forcefdeorfbe flags in fstab.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] st_voss:
Ok, thanks for the clarification. File based encryption, not filesystem based encryption.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] vasujahagirdar:
Installation failure.

Hi,

I'm using twrp 3.1.0.1/3.1.0.0 , on my HTC 10 S on, unlocked bootloader, I'm unable to flash clean custom rom like viperroms. all along it was working but now when I tried to do clean wipe & install rom,aroma stops at "writing system ". only I can restore backed up system.i saved the log, but where's it'd is stored I'm unable to find!

Plz tell what wrong I'm doing? & help
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
New build up!

https://dl.twrp.me/pme/
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GillaxGurilla:
so can someone help me out here?

updated to the newest twrp build 3.1.1 this morning and everything was fine for a few hours, then all of a sudden, my back button wasnt working so i just rebooted. now im stuck in a bootloop. tried getting into recovery, the grey HTC screen pops up, but doesnt load recovery, just goes back to bootloop.. the only thing i can figure what happened, is that i forgot to unload the TWRP theme i had installed for 3.1.0-1, but i didnt think that would make a difference.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] eTaurus:
Changelog? Can't find anything.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Check the OP.