yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] cmattern:
So... It could be a lot more...

If a hacker can access my unlocked unencrypted phone he can access my gmail

If he can access my gmail

He may see a clue as to who I bank with and do a password reset

Or he may reset my Facebook and figure out numerous clues to my personal life then use them to pass security checks (mother's maiden name, street I grew up on,...) and access other accounts through password reset or open credit accounts etc.

Kind of like if you give a mouse a cookie but really evil...

Resetting my password MIGHT stop him but that's truly a race condition.

I'll encrypt....

So...how do I change my XDA username to MrSunshine?
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
While what you say is absolutely right, in this case "a hacker" must be a guy who has physical access to your phone. Since then he can reboot to recovery (or flash it if its not there), remove your lockscreen password (or - to be extra paranoid - even boot a one-time-boot kernel via "fastboot boot" command and leave no trace), access your device as he likes, possibly restore your lockscreen password, lay back your phone and you have no clue. On a locked phone all one can do is wipe your data partition to get back into a factory new phone.

But again, this requires physical access to your phone. For all the rest of "hacking" our custom roms are usually on latest google security fixes, preventing such a thing.

On a side note, if you use any device conntected to a network or the internet, its always possible for a very skilled hacker to get in. Question is, how much effort is it. Too much for any average joe.

edit: ROFL at your MrSunshine joke. Didnt get it the first time. Most use password acutally is password, followed by 123456 followed by 12345678 - more here. I guess the average xda user is smarter.
[OnePlus 3 & 3T Cross Device Development] cmattern:
Yeah I probably was not clear enough when I started that. The premise [in my mind] was that I had lost the phone and that my only recourse was resetting my Google password before someone with relatively basic skills had taken over my finances and identity.
[OnePlus 3 & 3T Cross Device Development] seniorstew:
Twrp keeps hanging on me.. I flashed the 3.04-1 and it just hangs on the TWRP splash screen until I hard reset it.. Any ideas?
[OnePlus 3 & 3T Cross Device Development] the_rooter:
op again says this and the post a few above state this. is u are f2fs it takes longer to boot.
[OnePlus 3 & 3T Cross Device Development] dmcleod:
So 04.1 is safe to use now?

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
[OnePlus 3 & 3T Cross Device Development] jcadduono:
i'd hit it ;)

if you downloaded 3.0.4-1 since 1 AM EST it will also change the labeling for data partition, you should now see "Data (excl. storage)" instead of "Data", and backing up Data will give nice warnings to tell you it doesn't include Internal Storage!

(lol this was a significant source of anger from the users)
[OnePlus 3 & 3T Cross Device Development] Dharani_V:
Flashed the latest nightly of Lineage Os . Stuck on Patching system image for more than 30 mins ! any fix ?
[OnePlus 3 & 3T Cross Device Development] Signor Rossi:
What's the problem with encryption?

Send by my OnePlus Three!
[OnePlus 3 & 3T Cross Device Development] Giocarro:
It can cause Data loss and utilizes CPU clocks that can be better used to make the phone perform better.
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
That is both not true.

- Data loss only comes from f2fs issues. You run the same risk on an unencrypted f2fs (see the linked instability in my signature).

- Crypto is done in hardware not consuming CPU or making the device more laggy.
[OnePlus 3 & 3T Cross Device Development] pendragon666:
What about read/write speed. The increased load time was imediatelly noticable for me for all apps when i encrypted it. Also that hardware for accelerating also uses power, therefore, more battery usage, no matter how negligable. Not to mention the fact that your cellphone is the one deciding which files you can copy from your phone. I couldnt copy twrp or titanium backups. That is some terrible functionality
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
That's a lot of things.

- Read/Write speed seems to be the same in measurement tolerance. (one of the sources). Booting takes about 4 seconds more though. Which I personally find insignificant.

- Power consumption seems to be not measurable, too. Sure it takes a slight amount of energy, but since its not a CPU to bump up to high clock speeds to do the calculations, there seems to be no measurable difference after booting. If you find something else there, a reliable source of testing, let me know.

- I really don't get your "phone decides which files you can copy". If I understand you correct, its just not true. You can access the files/filesystem the same way once you entered your password correctly. There is - from a user's standpoint - no difference between encrypted and unencrypted. The titanium/TWRP claim you make reminds me about a certain issue in current TWRP - namely if you format your /data partition, /sdcard is linked to /data/media instead of /data/media/0 - hence the later is not created yet. If that happens and you boot your system, you get said issues.
[OnePlus 3 & 3T Cross Device Development] Signor Rossi:
These days, unless you don't got a iPhone One like cpu, CPU Power is good enough to handle encryption and cpu intense tasks.

Data loss.. Backups?

Send by my OnePlus Three!
[OnePlus 3 & 3T Cross Device Development] pendragon666:
That sounds exactly like what happened to me. I thought it had to do with encription because it would copy like 99% and then it would become slow beyond usability. Thanks for the explanation. Is this fixed in the latest?

But stil, any power use is power use, therefore encryption=battery drain. It would be hard to measure but it is quite logically true.

Also every installation from google play is slower, that's how i actually discovered that i had accidentaly encrypted it during reinstalation of sultan's rom (app restoration was way slower the second time i did it, only 30min after the first time because i messed something up). Also game boots are noticably slower. At least, that's my experience.

Also, the link you pasted clearly shows the benefits eventhough the poster denies them by calling them negligible.
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
If it is 1 or 2 percent on a full battery cycle, yeah, I give it those 2 percent. The fact that there are no posts on difference between encrypted and unencrypted battery life might indicate though, that it is less than 2 percent.

All the performance measures I could find clearly show, there is no difference in performance on both encrypted or unencrypted. If you experienced such big differences I am sure the reason is to be found somewhere else. With all due respect, your other error shows you are not very good in finding even easy underlying issues, so I dont trust you on this. Again, this is not meant as personal offense, but just an observation.

He uses a double negation: "[...]and since in these results the differences are so miniscule, there would be at a glance no reason to not stay encrypted if you already are." Meaning stay encrypted.
[OnePlus 3 & 3T Cross Device Development] Giocarro:
I agree with you, but the reason why I'm around here at XDA is because I want to squish the hell out of my phone, installing modded ROMs and uber-optimized kernels.

In short, if disabling encryption does make my flashing easier and my phone snappier, even by a negligible edge, I'm all for a decrypted device (as actually am since I ditched OOS for AOSiP).
[OnePlus 3 & 3T Cross Device Development] pendragon666:
Wow, i didn't expect trash talk like that. Well, since you lack logic let me explain the link you posted. The guy shows clear differences in results, plain as day in black and white and then goes to say it is not important. Clear signs of bias i can also sense in you. But that's ok. The reason i didn't understand the issue is because i didnt encounter it before. Thanks for assuming i'm an idiot because of it.

The slowdown was so significant that i couldnt stand it, even before i figured what was happening. I didnt even know it got encrypted. It seems to me you didnt even try it without. Are you scared?

P.s. your mentioning of the double negative is just awesome

P.s.2. People are not that adept at judging power consumption, most still cling to screen on time as a scientific measure, eventhough battery stats never show correct time for anything, let alone screen. Also, the lack of any tests is not indicative of anything.
[OnePlus 3 & 3T Cross Device Development] Doc Sniper:
Just installed TWRP 3.0.4-1 and shortly after the ext4 patch.

If I use cat /etc/fstab (after rebooting the recovery) I see the line:

/dev/block/dm-0 /data ext4 rw 0 0

so everything seems to be fine.

But I'm having strange recovery log entries:

...

I:Actual block device: '/dev/block/sda15', current file system: 'f2fs'

...

[in the /data section]

Current_File_System: ext4

Fstab_File_System: f2fs

...

Is something wrong or not ?

EDIT: Sorry, my fault, the patch is no more needed for ext4 data partition https://xdaforums.com/showpost.php?p=70912728&postcount=385
[OnePlus 3 & 3T Cross Device Development] AcmE85:
[MENTION=4668034]pendragon666[/MENTION] I was running OOS 4 (Open Betas) with and without encryption in the last couple weeks and could not see a difference in speed, fluidity or battery-wise (all with F2FS). I must say that I am prone for seeing stutter or any lag. Running ART on Kitkat (N5, OPO) was noticeably quicker and more fluid while others did not notice any difference. I can't run any battery-tweaks others are praising because all of them cause noticeably lag. Yet I was unable to see a difference with or without encryption. That said, I did not do any benchmarks, neither do I care for benchmark scores.

Off course this is pure subjective without any scientific evidence.
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
This should be fine. For one, the actual filesystem gets not - as usual - detected by /etc/fstab, but by magic bytes to seperate ext4 from f2fs.

About the fs on the actual block device, I THINK its not important, since it is not a filesystem anyways until it is remounted via dm wrapper. I might be wrong here, if so, someone correct me.
[OnePlus 3 & 3T Cross Device Development] ps_minky16:
Hii. Please can somebody guide me How to turn on password/pin on boot.

As i am using oos 4.0.2 rooted and debloated with franco kernel when i was on official it use to ask pin on boot but now it doesnt

Sorry i am new to oneplus.
[OnePlus 3 & 3T Cross Device Development] nihilista:
Anything changed with pin issue while restoring nandroid backups? Got that today, no problem to delete the related files in recovery but its a bit annoying to do that every time restoring a rom ;)
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
This usually belongs to the OOS thread. But anyway, here you go:

Go to settings -> security and check if "Encrypt phone" is saying "Encrypted" or not.

If it's enabled:

Also in settings -> security change your screen lock password. You are asked "Ask for password on boot" - choose yes here, and you should be asked. Before it was "default_password" which is okay on a locked device, but not on an unlocked device.

If it's disabled:

For security, go to TWRP, make a nandroid and the copy all the data on internal storage to your PC. You can use the fast way linked in my signature or just copy the files. You should do this, because if during encryption something goes wrong, you lose all your data. Since you have a modified kernel, better be sure than sorry.

Then reboot to your system, go to settings->security and tap on the "Encrypt phone" entry. Follow the instructions on screen, and again select "Ask for password on boot"

Hope that helps.
[OnePlus 3 & 3T Cross Device Development] Mr_Comple:
In case of restoring a backup using this version am I gonna to have the known battery drain by android system? Some users had reported it at the old twrp 3t thread
[OnePlus 3 & 3T Cross Device Development] tecnoworld:
Speaking about password problems, you say: "You can usually fix this by simply booting into your ROM and changing your boot up password."

Ok, but...how do I do that? I mean, how do I change boot up pwd? Please help me. Thanks.
[OnePlus 3 & 3T Cross Device Development] AcmE85:
Read two posts back, done.
[OnePlus 3 & 3T Cross Device Development] tecnoworld:
Yup sorry I had found it but I wasn't able to edit my post since I was from the office. Sorry again.
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
That's gone since 3.0.4 - it's also the reason we have 3.0.4 already which is not released for other devices yet. Linux capabilities backup/restore is now included.

Short answer: it works now
[OnePlus 3 & 3T Cross Device Development] ps_minky16:
Sorry for posting here. And thanks a lot for explaining it to me.

Thank you
[OnePlus 3 & 3T Cross Device Development] Mr_Comple:
God..! Taking a 7GB backup is blazing fast...!

only in two minutes...!

Twrp showed my internal storage 48000mb instead of t

53560mb :/ should I be worried ?
[OnePlus 3 & 3T Cross Device Development] :
That sounds strange, mine is showing 54918MB size in data.

But you're right, something seems to be wrong in data (f2fs) and TWRP:

EDITED INFORMATION (sorry for the confusion):

Data partition, information shown in TWRP

Size: 54.918MB (correct)

-> Used: 5.170MB (definitely wrong!)

Free: 22.169MB (seems to be correct)

-> Backup size: 5.170MB (always the same size as stated in "used", seems correct)

TWRP 3.0.4-1 and latest LineageOS

[MENTION=5672995]jcadduono[/MENTION] any insides from your side
[OnePlus 3 & 3T Cross Device Development] kcajith:
need help.. sorry if it's wrong thread.. how can i downgrade from 4.0.2 to 4.0.1..facing heating issues with normal use in 4.0.2 and all suggestions I tried from Google and cannot get out of it.. i am with Twrp 3.0.4 and rooted SuperSU2. 7.9

I haven't taken backup of 4.0.1 unfortunately
[OnePlus 3 & 3T Cross Device Development] fcisco13:
Really bro..... It's been mentioned couple of times, it's even stated in OP.
[OnePlus 3 & 3T Cross Device Development] :
It's known, f2fs let's start TWRP slowly.

For me it's 35'ish seconds with data at f2fs and 40'ish GB used data. I can live with it.

Does this cover your experience too?
[OnePlus 3 & 3T Cross Device Development] DaniGamer:
Sorry for the noob question but

It says that we have to download che twrp for the op3...

I have the 3T...it works fine or i have to down the TWRP for the 3t?
[OnePlus 3 & 3T Cross Device Development] Primokorn:
Read the title: [Recovery] Official TWRP for the OnePlus 3 & 3T

(unified build)
[OnePlus 3 & 3T Cross Device Development] cultofluna:
The only way is to install blu spark twrp....

It boots about in 20 seconds ..
[OnePlus 3 & 3T Cross Device Development] cultofluna:
I'm on 4.0.2...Works great for me....
[OnePlus 3 & 3T Cross Device Development] Schrotty35:
Have you a link for blue sparks twrp and its working with 3t too?
[OnePlus 3 & 3T Cross Device Development] B3501:
Yes, it works with the 3T.

https://xdaforums.com/devdb/project/?id=15934#downloads
[OnePlus 3 & 3T Cross Device Development] Schrotty35:
Thanks i will test. You dont loss apps or data with f2fs under nougat stock or custom rom? With official 3.0.3 and f2fs this have the problem.
[OnePlus 3 & 3T Cross Device Development] :
will this work with OOS 4.0.3?

Thank you
[OnePlus 3 & 3T Cross Device Development] DroidJay123:
dm-verity & SU

Hi guys-

Just would like to confirm if there is really any reason I would want to flash TWRP and not SU? In other words if I flash TWRP and don't flash SU while in TWRP I would have to flash dm-verity for a bootable system? Do I lose encryption by flashing the dm-verity and what are everyone's thoughts on being encrypted vs. not

So in summary is there any real good reason to flash twrp and not then flash SU? If I do the full process with TWRP and SU will I still be encrypted? Not flashing SU and not gaining root only allows to take OTA's if I understand correctly but you can easily just download update files from OP and then flash manually, correct?
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
once you restore OOS in this twrp you should see a huge increase in battery usage on OOS due to missing capabilites support. maybe bluespark has fixed it somehow without upstream support, but I would be surprised. Plus all the other things that have been fixed in 3.0.4.1

---------- Post added at 07:19 PM ---------- Previous post was at 07:09 PM ----------

Yes, you should flash dm-verity if you dont flash superSU. if you dont make changes to system, its optional, but still, better safe than sorry. you wont loose encryption or your data.

For encryption discussion go back a few pages - maybe 40-50 posts back - there was a huge discussion, I dont want to revisit it. Short answer: encrypt.

There sure is a good reason: You can backup your system, and if anything goes wrong, restore it.

Also some apps need to be flashed. I for example use the original Pixel Launcher, which requires system installation to work. Or maybe flash an adblocking hosts file without installing an app requiring root to do it. Another thing might be your anti theft system like cerberus moved to system, so it survives a wipe (and you can locate your phone and take pictures of the thief). There are probably tons of other uses that dont require root that I dont think of right now.

But there is also a downside: OTAs are not easily flashable. After flashing it manually in twrp, in twrp terminal enter "wipe_misc" or your phone will reboot to twrp endlessly. If you made any modifications to your system, be it root, be it adblocking, you cannot use OTAs anymore. You have to flash the full rom of the new version than in twrp. Not a big thing, but still should be mentioned.
[OnePlus 3 & 3T Cross Device Development] DroidJay123:
Thanks for the valuable info! I also suppose you need root in order to flash custom kernels that will might give exceptional battery life and/or even better performance. If SuperSU isn't flashed immediately (and dm-verity is) can it easily be flashed at any other time down the road of one chooses? I am sure that eventually in time OP won't push updates/patches to the 3 so eventually I would want to be able to flash a custom ROM such as Lineage, etc which would then require root? Sorry but I come from a SGS3 and it was rooted w/TWRP.
[OnePlus 3 & 3T Cross Device Development] the_rooter:
You don't have to root to flash custom kernels. And yes u can flash su later on. No custom rom requires root.
[OnePlus 3 & 3T Cross Device Development] DaniGamer:
I am stuck with the error

Cannot load "twrp.img"

I have the file in the same folder of the sdk and i have renamed it in twrp.img
[OnePlus 3 & 3T Cross Device Development] the_rooter:
hello,

with the drop of 4.0.3. I wanted to decrpyt my device Oneplus 3t, and it completely wiped my device. Below attached is the logs for that.

I then completely wiped my device and the device crashed after reboot and wouldnt go back to twrp unless i manually turned it off and then had to do the button combo to get into recovery.

Below is attach the logs for that as well. the step where i wiped data and everything else in device has the number two in the name.

Also like to note when i go to reboot to recovery with no OS installed within twrp the device doesnt boot back to twrp.

thanks
[OnePlus 3 & 3T Cross Device Development] Antsu:
Reboot your computer.
[OnePlus 3 & 3T Cross Device Development] kessaras:
https://forums.oneplus.net/threads/oxygenos-4-0-3-n-ota-for-oneplus-3t.497079/

:D

we can flash them without having any problem with twrp or we should wait for an OTA from you ?

---------- Post added at 22:37 ---------- Previous post was at 22:34 ----------

[MENTION=5973699]the_rooter[/MENTION]

i love the signature :'D

im crying out loud hahaha

"wife phone"

"completely stock"

haha does she bite ? mine bites if i touch it to make changes.

so we should wait for an ota from here instead of flashing it from oneplus ?
[OnePlus 3 & 3T Cross Device Development] the_rooter:
lol she wont let me touch her devices anymore. also i just flashed the full zip and have no issues . there is a thread for 3t that is made where a user posted full zip or ota. if rooted use the full zip.
[OnePlus 3 & 3T Cross Device Development] server3249:
I have a strange problem. I am unable to delete (or move) any file existing on my internal storage. i,e, when I try deleting or moving anything from the phone, Windows explorer just has a spinning orb and the operation never completes. However, I can copy any files into the phone as well as read from the internal storage perfectly. This issue started ever since i installed nougat and converted /data to f2fs. I've tried installing oneplus drivers on my pc as well as the latest twrp in my phone but to no avail. Where might the problem lie and how do I solve it?
[OnePlus 3 & 3T Cross Device Development] kessaras:
hi. i haven't recieved yet the update to 4.0.3 and i can't find a link to download it. Can someone download it and share a link ?

is it possible that it's my fault that i can't recieve the update , because i updated to 4.0.2 using the .zip from this thread ?

oneplus 3T
[OnePlus 3 & 3T Cross Device Development] BRiANj64:
Don't update to 4.0.3 because there's trustzone errors with TWRP.
[OnePlus 3 & 3T Cross Device Development] Giocarro:
Could you please elaborate?

I'm waiting for the upcoming release of Freedom OS based on 4.03 and your post concerned me.
[OnePlus 3 & 3T Cross Device Development] kessaras:
really ? but in franco thread since a couple of days and here some posts back ,

some people say how beautifully everything works o-o

do they have a bug and they don't know it ?

anyway i can't flash it without a link
[OnePlus 3 & 3T Cross Device Development] BRiANj64:
You can't flash any ROM in TWRP because there's a trustzone version mismatch. FreedomOS will work because they will obviously update trustzone.
[OnePlus 3 & 3T Cross Device Development] turbo1781:
Full ROM

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

I flash it via twrp 3.0.4-1 and SuperSU 2.79 SR3. No Problems.
[OnePlus 3 & 3T Cross Device Development] kessaras:
eh ?

first time i hear this. i thought i can flash anything.

but how did i get up to 4.0.2 ? ok the 4.0.2 was flashed from this zip but the previous ones from oneplus were freedom os ? and the ota zips here are freedom os ?

it doesn't make any sense , im confused.

~EDIT: sorry for asking that, but i just don't get it because i have oneplus 3t for only a week and i haven't done any experiments on it yet.

First time i hear about trustzone mismatch since 8 years. Of course imma google search it if its too much trouble to explain it, no hard feelings
[OnePlus 3 & 3T Cross Device Development] knijntjes:
I just updated to OOS 4.0.3 with opera vpn connected to Canada.

After i followed the OP, flashed TWRP 3.0.4-1 and flashed attached linked SU.zip

Worked like a charm!
[OnePlus 3 & 3T Cross Device Development] scoobyjenkins:
I flashed 4.0.3 firmware and had no issues flashing Tipsy

*Edit* I have OP3

Tapatalked that shiznit.
[OnePlus 3 & 3T Cross Device Development] djsubterrain:
You do know that's the 3T zip? ...Never mind, just remembered this is unified :S
[OnePlus 3 & 3T Cross Device Development] turbo1781:
Yes
[OnePlus 3 & 3T Cross Device Development] AndreiVolk:
There aren't any errors with twrp. It's about the firmware. You can flash OOS 4.0.3 FULL ROM with no problems and your firmware gets updated to 4.0.3 too.

You get the trusted zone error if you have 4.0.3 firmware and you try to flash a rom based on 4.0.2. To solve this you just have to wait until custom roms uptade to the new firmware or just flash OOS4.0.2 FULL ROM then you can flash any custom rom based on 4.0.2.