yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] Mistertac:
I've also been keeping my eyes open for themes, the ones I have found don't seem to be for our phone. I'm sure eventually we'll see some pop up though. I've gotten used to the blacked out theme I had on my G3 I want it back!
[Nexus 6  Original Android Development] Lothsahn:
Shamu support for LOS15.1?

TWRP is unable to mount encrypted user storage on Lineage OS (LOS) 15.1 (but worked fine with Pure Nexus). I don't know if this is because of F2FS (I don't think it is--I'm pretty sure I'm still running FDE) or the February encryption changes.

See more info here:

github.com/TeamWin/Team-Win-Recovery-Project/issues/854

Is there a Shamu build (even unofficial) that can mount encrypted user storage from LOS 15.1? Could we get a new version posted to the TWRP download page that is able to decrypt FDE with the February changes?

Thanks for all your help, Dees Troy.
[Nexus 6  Original Android Development] ktmom:
There are posts I've seen about the way LOS 15 must be flashed in order for the partition to be read after encryption. Here is one post.

It's not a TWRP problem.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Nexus 6  Original Android Development] Lothsahn:
I read through the linked post, and it looks like the user removed encryption by reformatting the partition and not requiring a password. This would bypass the problem, but I do want FDE enabled with a passcode. From what I can see, it looks like the problem started with the February security update, which had a TWRP fix here:

https://github.com/omnirom/android_bootable_recovery/commit/c5dd579168114b0bbe3ba758ec5da2603b9def0a

I believe, but am not sure, that Android did an update to the encryption scheme in February which broke TWRP's ability to read the encrypted partition. There are some TWRP binaries linked in my original post that supposedly resolve the issue for other phones, but no such update for Shamu.
[Nexus 6  Original Android Development] Elting:
Hm, downloaded the latest build but its just 6,69K and the md5 doesn't match. Can someone post a mirror link? -> ok it was a browser problem..
[Nexus 6  Original Android Development] David B.:
I posted about the LOS 15.1 encryption issue on the LOS subreddit here, and the developers told me that they not longer force encryption. They suggested formatting userdata and flashing the update. I'm still trying to wrap my head around what exactly is wrong. Is it not a TWRP problem?
[Nexus 6  Original Android Development] Exelios:
Seems like twrp.me is down, anyone has a mirror?
[Nexus 6  Original Android Development] David B.:
Try it again. It's working now.
[Nexus 6  Original Android Development] Lothsahn:
LOS did force encryption, so wiping userdata and flashing the update didn't work when I tried. It sounds like that may have changed recently based on the reddit posts. I have heard that if you install LOS14 first, and then upgrade to 15.1, it will work (and preserve encryption), but have not personally verified this.

Razorloves built a number of builds of TWRP to try to resolve the issue, but we've had no success. I've traced the logs & code and it is failing where it uses the hardware based keymaster to sign the password before using the result to decrypt the partition. Unfortunately, I'm not skilled enough to diagnose further, so I'm lurking in IRC until Dees Troy shows up--hopefully he'll know how to fix it.

The issue appears to be Shamu only, and somehow something to do with how LOS15.1 does the encryption. Until then, I just have accepted that I can't mount my userdata in TWRP (I don't want to wipe userdata to try the 14->15.1 workaround).
[Nexus 6  Original Android Development] David B.:
Yeah that's kind of the attitude that I am taking. I've finally got my Nexus 6 on Oreo with a fresh install and I really don't want to screw around with it just to get things working. I was considering looking into how to build TWRP myself. Not sure if it's worth the effort or if it's possible though.
[Nexus 6  Original Android Development] Lothsahn:
If you know your cryptography, it might be worth a try. I can say that just building the latest TWRP from sources will not correct the issue. You'll have to modify the sources to fix the underlying issue, which is neither simple nor straightforward.

If you're not scared by that, give compiling TWRP a whack and read this page about how the FDE partition is encrypted:

https://source.android.com/security/encryption/full-disk
[Nexus 6  Original Android Development] David B.:
That's part of the problem. I really don't know my cryptography very well. I'm hoping to learn at some point though.
[Nexus 6  Original Android Development] jc1266:
Hi ..sorry for my bad English .I had twrp install iny N6 but recently I got this message asking me to install it as system or prompt to install this apps before I rebot to system ..

There 2 checkbox 1 prompt to install

2 install as system app

How to get rid of this massage pls help

Thank in advance
[Nexus 6  Original Android Development] ktmom:
There's a difference between TWRP recovery and the TWRP app. It sounds like your being prompted to install the TWRP *app* to system (so it can do its job updating recovery). You can either install it to system or delete the app if you don't use it. It's highly unlikely TWRP for the N6 will get any more updates so I'm not sure the app will be useful.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Nexus 6  Original Android Development] jc1266:
Dear sir ..pls need help on this'' no partitions selected to install" recently i make a backup twrp and my new broken so want to restore the backup and i had this error

---------- Post added at 10:38 AM ---------- Previous post was at 10:37 AM ----------

Dear sir ..pls need help on this'' no partitions selected to install" recently i make a backup twrp and my new rom broken so want to restore the backup and i had this error.

Thanks in advance
[Nexus 6  Original Android Development] ktmom:
Is the bachup placed in the correct directory tree? It should be either in the srcard or USB OTG drive in: TWRP/BACKUPS/DeviceSerialnumber/<backup>

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Nexus 6  Original Android Development] Galaen:
I just noticed that there is a version 3.2.3 of twrp that was released on July 31st. Had anybody tried it to see if the encryption issue is resolved? I use my phone for work, and won't have a chance to wipe and revert back to nougat (if it fails) for at least another month.
[Nexus 6  Original Android Development] ms12131:
Unfortunately, it doesn't work for me. I still receive an error when TWRP attempts to decrypt /data

- I just upgraded to twrp-3.2.3-0-shamu.img

- I'm on the latest LOS/microg (lineage-15.1-20180828-microG-shamu.zip)

This said, I did encrypt while flashing some number releases back - I did not try to clean flash and reproduce the issue (not enough time w/work).
[Nexus 6  Original Android Development] uriel_zo:
I have the nexus 6 XT1103 shamu

compilation number N6F27M

android 7.1.1

Which twrp can I install?

---------- Post added at 10:58 PM ---------- Previous post was at 10:58 PM ----------

I have the nexus 6 XT1103 shamu

compilation number N6F27M

android 7.1.1

Which twrp can I install?
[Nexus 6  Original Android Development] AmirHRC:
twrp for shamu 3.2.3.0
[Nexus 6  Original Android Development] generalnod:
Appreciate all the work that's gone into TWRP, do wish the original post could get updated with this known issue however, would have saved me considerable time.

Anyway in case it's helpful, for me (and as at least one other has noted) TWRP 3.2.3-0-shamu.img does not fix the can't decrypt/encryption issue with LOS 15.1.x. I just installed it with lineage-15.1-20181106-nightly-shamu-signed.zip. I tried my password, 'default_password', encrypting with no password, no dice.

However thanks to Lothsahn

I can confirm this workaround works, blow by blow is below, but tldr is:

Erase current encryption, install LOS 14 and boot to it, set your pin/pass to be used on startup, boot back to recovery entering pin/pass, do Advanced Wipe of the system/data/cache, install 15.1.x, boot LOS and specify previous pin/pass to use at startup, profit

Blow by blow:

I wiped data/removed current encryption done by LOS 15.1.x e.g.

Main TWRP menu Wipe

Chose Format Data and allowed to format

Returned to the previous menu, chose Advanced Wipe, selected the Cache and System partitions and wiped

Installed 14.1 specifically

lineage-14.1-20180324-microG-shamu.zip (which is what I use and happened to have around, I assume non microg LOS would work just fine)

Installed addonsu-14.1-arm-signed.zip

wipe cache/dalvik

reboot system

Once in OS do nothing more than set a pin to be asked for at startup enable developer options, advanced reboot and go to recovery

It accepts my pin and decrypts fine

Do Advanced Wipe of the /system /data /cache

Install lineage-15.1-20181106-nightly-shamu-signed.zip with gapps, addonsu, xposed

wipe cache/dalvik

booted to 15..1.x and specified current pre-existing pin to use for encryption on startup

Later changed it numerous times with no issue in TWRP

Since doing the above I've had no issues doing the normal things like backing up, restoring and so on.

Hope this helps someone else and thanks again to Lothsahn and others who've shared here.
[Nexus 6  Original Android Development] YedanyXD:
someone suffer something like this? when i make a backup of my stock rom in twrp 3.2.3.0, and then i restore it didnt boot. just stay in the bootlogo. so a i have to reinstall the firmware.
[Nexus 6  Original Android Development] Yahoo1:
New version 3.3.0.0 is live! Grab it here - https://dl.twrp.me/shamu/
[Nexus 6  Original Android Development] AlxMAX:
I am curious what repository versions are used to build the TWRP 3.3.0 recovery.
[Nexus 6  Original Android Development] AmirHRC:
new twrp recovery for shamu

3.3.1-0
[Nexus 6  Original Android Development] beeewell:
I noticed the md5 doesn't match the calculated value for new release. Still safe to install?
[Nexus 6  Original Android Development] sac164:
New version issued 3.4.0-0
[Nexus 6  Original Android Development] Techguy777:
Im not sure I havent followed nexus 6 since 8.1. I installed the new twrp and android 10 and I cant seem to restore backups. Is there something new going on? I even tried with 3.3.1 no good.
[Nexus 6  Original Android Development] pas7771:
I installed 3.4.0-0 but it could not decrypt my nexus 6 ??

I reinstalled 3.3.1-0 and it decrypted fine.

I will stay on 3.3.1-0
[Nexus 6  Original Android Development] phimeas:
Same here. Is there still no fix for the decryption issue? (LOS 17.1)

Thanks

phimeas
[Nexus 6  Original Android Development] jacomail95:
Hi, I'm using TWRP for years now, always upgrading to the latest version, and now using latest 3.7.0. I never had the correct clock time in TWRP and the ROMs I installed (unless I let update the time using internet), even if I set the correct timezone in settings. Maybe it's related to the hardware clock? Is there a fix for clock at least in TWRP?

Edit: also the bootloader reports 1970 as date and a series of zeroes as IMEI, even if everything carrier-related works fine in ROMs and there's a proper IMEI in About Phone in Settings app. I don't know how to fix these things.

Edit: after flashing latest LOS 20 by rootfan with BiTGApps, the wrong date/clock problem in ROM and TWRP seems to have fixed itself, while bootloader still doesn't cooperate, since it's not being touched by ROM or recovery code.
[Nexus 6  Original Android Development] jacomail95:
Can F2FS support for this device be considered for future official releases?
[Nexus 6  Original Android Development] TmobileDash12:
I've also bootlooped from using fix permissions. Careful everyone!
[Nexus 6  Original Android Development] Pilz:
Edit: moved to the questions OP my mistake.
[Nexus 6  Original Android Development] b.huss2:
Material theme for twrp fwiw

http://xdaforums.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584

I'm using the 1440x2560
[Nexus 6  Original Android Development] Mistertac:
Also I'd like to point out that if you apply any of these themes found here in this post :

http://xdaforums.com/showthread.php?p=56260487

It will bring the vibration slider back in TWRP and you can successfully turn off all vibration, which for me was a great surprise because the vibration was killing me.
[Nexus 6  Original Android Development] hlxanthus:
So I set it up as stated . . /sdcard/TWRP/theme/ui.zip and I boot to recovery and nothing. A little frustrating . .

Sent from my Nexus 6
[Nexus 6  Original Android Development] Mistertac:
Hmmm well I'm using the Dark Blue theme myself without a problem. Not sure if maybe you want to re-download your theme and make certain you're naming it " ui.zip"

Seems from what you said though you're doing that correctly so double check that's all.
[Nexus 6  Original Android Development] rignfool:
Use /storage/emulated/0/TWRP/theme/

Why... I don't know... But it is happier when you do
[Nexus 6  Original Android Development] hlxanthus:
This is my file path from root explorer . . I know the header shows as capitalized but its not, just how root explorer shows all directories

edit: just did it from my pc, and same thing, doesn't work. Tried 3 different colors.

Sent from my Nexus 6
[Nexus 6  Original Android Development] rignfool:
Permissions for the theme directory are

rwxrwx---

Yes?
[Nexus 6  Original Android Development] hlxanthus:
I didn't set permissions manually, but I yes that is what they are. But an oddity, I don't have the twrp settings file in my twrp directory. I initially booted to bootloaded, did the oem unlock, then fastbooted all the factory images one by one, then twrp, booted recovery, and flashed supersu latest version for root. Would it make a difference that I didn't boot to system to initialize the data partition first?

I don't have /sdcard/TWRP/.twrps . . the settings config file . . [MENTION=912474]Dees_Troy[/MENTION] thoughts?
[Nexus 6  Original Android Development] rignfool:
I'm at a loss...

Does TWRP default mount data for you?
[Nexus 6  Original Android Development] Mistertac:
I use ES File Explorer and simply went to sdcard/TWRP and created the " theme " folder and placed "ui.zip" into it.

I didn't change permissions or anything. Also didn't have to deal with an emulated folder.

If you can't get it try ES.
[Nexus 6  Original Android Development] hlxanthus:
So apparently my assumption was correct about my .twrps file. Did a root level search for it and turned up else where. Placed the /theme Dir with it and theme now works . . very odd

Sent from my Nexus 6
[Nexus 6  Original Android Development] Mistertac:
OK so I've noticed now that when I'm in TWRP things seem a little wonky after applying the theme.

If the screen locks while I'm restoring or backing up, unlocking it is not that easy at all.

And when I was in Mounts I was having issues selecting and deselecting things. Any of you run into these types of issues?
[Nexus 6  Original Android Development] brizey:
I noticed the screen unlock thing. I THINK you have to swipe a little bit above the unlock icon. Also noticed that the USB-OTG remaining space always shows zero.
[Nexus 6  Original Android Development] Zer0_Cool:
I had this issue as well, apparently you need to boot the device after unlocking the bootloader, then go back and flash the twrp recovery image. I had teamwin flashing over and over, needed to reboot into fastboot with power+vol keys, then wipe with fastboot -w, after that it was able to reboot.
[Nexus 6  Original Android Development] ericerk:
After I flashed the unencrypted boot.img all my problems went away. It's the fool proof way.
[Nexus 6  Original Android Development] dadsterflip:
Any way to turn the vibration on this? I found the setting and its set to zero but it still vibrates..
[Nexus 6  Original Android Development] Mistertac:
If you go back to the last page here you'll see I linked some themes for our TWRP.. If you apply one of them it brings back the brightness slider you need to be able to turn it off completely.

Although when the theme is applied the recovery is a little quirky, and you can also see what I mean by that by scanning back a bit, but at least you can turn off Vibration and then just ditch the theme if you don't like it.
[Nexus 6  Original Android Development] hlxanthus:
I agree, this theme allows all vibrations to be set appropriately. Just make sure your /theme/ui.zip is located with the .twrps config file. I had an issue originally where the config file was not where expected so theme didn't work.
[Nexus 6  Original Android Development] wally3614:
Lol, guys where do u find Unmount System....
[Nexus 6  Original Android Development] clothednblack:
Under the tab "mount" open it and uncheck the box for "system"

[

Posted from a Nexus 6 running Slim Rom
[Nexus 6  Original Android Development] wally3614:
Thanks brother
[Nexus 6  Original Android Development] caspersfi:
Awesome seeing ya over here Wally. Sick themeing skills sir. ?
[Nexus 6  Original Android Development] adityagulavani:
Need Help

Faced some issues.

I'm on Nexus 5, Stock ROM, Stock Kernel.

Rooted using CF-Autoroot.

1)

Flashed TWRP 2.8.2.0, does not work, entering Recovery mode simply reboots.

Flashed TWRP 2.8.1.0, works.

Is there an issue with 2.8.2.0?

2)

I backed up from Recovery, Nandroid backup. Now I can't pull it to the PC.

No file explorer can search for it in the external storage.

But it is shown in TWRP at the location /storage/sdcard0/TWRP/.

How do I pull/copy it to my PC?

3)

Another, TWRP Manager says "Due to recent changes in TWRP recovery, we are unable to specify a target storage I.E. External or USB-OTG. You'll only be able to backup to internal storage using this app."

Is there any work around for this? Can I write the backup to the External SD card? I have applied the SD card patch from the TWRP Manager app.
[Nexus 6  Original Android Development] trickster2369:
You do know that this is N6, not N5, right?

Sent from Shamu
[Nexus 6  Original Android Development] adityagulavani:
yup

Yup realized it later.

Sorry, have placed the query in N5 as well.

You too can help if you have any idea about the questions placed.

Thanks anyway.
[Nexus 6  Original Android Development] Krunk83:
Stupid question; how do I get to TWRP from power off? Holding power and volume up isn't working. I have to get to it through bootloader mode.
[Nexus 6  Original Android Development] brizey:
I don't think there is a direct way.
[Nexus 6  Original Android Development] rebretz000:
That's how you do it. Except I thought it was power and volume down gets you into the bootloader then you select recovery.
[Nexus 6  Original Android Development] Krunk83:
There's a way to go right to it. Maybe with the n6 it's both volume up/down and power.

nexus 6
[Nexus 6  Original Android Development] qwerty22:
What is the difference between openrecovery-twrp-2.8.1.0-gt-klte and openrecovery-twrp-2.8.1.0-klte versions? What do I need to choose Samsung G900F (Galaxy S5)?

I can`t find TWRP 2.8.2.0 touch recovery for Galaxy S5 on http://techerrata.com/browse/twrp2/klte :(
[Nexus 6  Original Android Development] hlxanthus:
You will have better luck here . . this is for the Nexus 6 device, and we cannot help you.

http://xdaforums.com/showthread.php?p=52106248

[RECOVERY][klte] TWRP 2.8.1.0 touch recovery [2014-10-29]

Team Win Recovery Project 2.x, or twrp2 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 button......
[Nexus 6  Original Android Development] irrelephant:
Try this app, it has some very useful widgets that allow for reboot options.

https://play.google.com/store/apps/details?id=com.jmz.soft.twrpmanager
[Nexus 6  Original Android Development] badpanda:
Your app always crashes when trying to install twrp when using a custom rom. If Im on stock goole it works fine...:confused:
[Nexus 6  Original Android Development] BRKotucs:
Download the recovery image file from their website and use Flashify to flash it.
[Nexus 6  Original Android Development] maddoggin:
quick question

if i format data will i need to flash a rom after wards or will it boot to the rom i already have installed?
[Nexus 6  Original Android Development] hlxanthus:
Data only will leave ROM intact. And assuming you have a kernel without forced encryption you will boot unencrypted.
[Nexus 6  Original Android Development] maddoggin:
what if im on stock rom which is forced-encrypted. will it still boot?
[Nexus 6  Original Android Development] hlxanthus:
It will still boot, just be encrypted again.
[Nexus 6  Original Android Development] Cy_n_ic:
To manually get to recovery from power off. Hold power + volume up AND down. Just mash em all at once and that gets you to bootloader mode where using volume buttons to navigate and power to select the recovery option. You guys should really research this kind of thing before doing any modifying at all. Know what you are doing and exactly how to revert or fix any problems before they arise. I bet half you guys dont even have googles stock image on a pc with working adb in case you brick. That should be mandatory even before you unbox lol. Thus ends my ranting

Via A Rooted Glade PlugIns
[Nexus 6  Original Android Development] z31s1g:
Currently, on Nexus 6 and 9 only, the theme needs to go into /data/media/TWRP/theme. The proper path is /data/media/0/TWRP/theme. I saw a commit that will fix the path with the next TWRP update.

As for the lockscreen, it doesn't work like the lockscreen on a ROM. One needs to slide from anywhere on the left quarter of the screen all the way to right. The icon doesn't do anything.

The 0MB USB-OTG thing is not theme related, it the same on stock ui (at least on my Nexus 5).

Judging from the screenshots, the ported version you guys tried is outdated (it doesn't have true type font support, thus the tiny fonts).

I've made an up to date 1440 version myself, if you could give it a try and leave some feedback I'd be most grateful.
[Nexus 6  Original Android Development] hlxanthus:
Well it doesn't change theme colors but the font size is better. I did download the n6 version you linked.
[Nexus 6  Original Android Development] z31s1g:
OK, thanks for trying. :good:

Guess I'll stop messing with the script then and wait for TWRP to use the correct path again.
[Nexus 6  Original Android Development] sgloki77:
I'm trying to update to the latest version, but is giving this message before flashing in TWRP manager, how do I verify it is the correct path?
[Nexus 6  Original Android Development] inffy:
Got a Nexus 6 yesterday and tried to install TWRP on it.

The problem is very very strange. When I boot to the TWRP i can get to it fine, but if I boot back to Android from twrp my cellular connection won't get any signal. It seems the only way to get signal back is do a factory reset. After I do a factory reset my TWRP is gone too, all I get is the green Android on its back with open stomach and "No command" text under it.

Any help?
[Nexus 6  Original Android Development] housry23:
You need root to keep recovery. It will always flash back to stock if you're not rooted. That Android on its back is stock recovery and if you push volume up and power you'll get the menu. If you're rooted and it's still doing that, you need to rename the file /system/recovery-from-boot to recovery-from-boot.bak.

As far as your signal not being there, idk. Make sure the APN is entered correctly. That's a strange issue and I can't be of much help on it.

Sent from my Nexus 6
[Nexus 6  Original Android Development] brizey:
You only need volume down and power to boot into the bootloader. This is not really the answer to the question. The question was if there was a direct way to boot into recovery, not indirect through the bootloader menu.