yashsingh1/xdaforums huggingface dataset:
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] dalyer:
No offence but can you learn to use the quote tags properly as your posts are really difficult to read the way that you quote stuff right now?

Thanks.

https://xdaforums.com/general/about-xda/please-make-quote-mention-feature-t3125572

---------- Post added at 03:16 PM ---------- Previous post was at 03:14 PM ----------

You mean vendor/firmware 9.2.25 I presume?

To do a clean install...

In twrp

Format data

Wipe everything except external sd card and usb otg

Flash vendor/firmware (9.2.25 for now)

Flash ROM

Flash gapps if you want (nano or better for face unlock)

Wipe cache/dalvik

Reboot

You can flash dfe after flashing vendor/firmware (each time you do this) if you really don't want encryption but I never use it and don't recommend it - others do for their own reasons so YMMV.

If you want root/magisk

After first boot go into twrp again

Flash magisk installer zip

Wipe cache/dalvik

Reboot

Magisk app should appear possibly after a little delay

If it doesn't then flash the magisk app apk

If you subsequently do a dirty flash of a new version of the SAME rom then disable magisk modules first as some may cause bootloops.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] droidjunky90:
what steps did you follow on TWRP to flash the official version of LOS?

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

hey dayler a quick question to do a clean flash lets say you wanna switch from LOS to RR is it important to (format data and wipe internal storage) cuz usually i just wipe 4 partitions (cache dalvik, cache, system and data) and then proceed with the installation.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] dalyer:
BTW - apart from 9.2.25 here I presume you mean VENDOR/firmware and not JUST firmware?

Otherwise you may have a 9.3.1 VENDOR installed and that causes some or all custom roms to get stuck on boot.

Anyway - follow the steps that I outlined above and you will be OK.

Get the vendor/firmware 9.2.25 from the link in the first post of this thread.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Largamelion:
Would be nice if we could end all the endless discussions about DFE and all the personal attacks in this topic, I'm getting tired of reading this everyday to the point that I'm about to unsubscribe from this thread ...

Can we please keep it friendly and leave all flaming aside.

And I think enough has been said about DFE and encrypting/decrypting, if people want to know how if works, they can search or read back.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] dalyer:
I presume you're not referring to me?

I hope/don't think that I spoke out of turn above? ;)

I agree with you and unfortunately the mod has had to intevene a few times already in threads for the same reason so I suspect that those who transgress the rules are on thin ice at this stage.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Largamelion:
I'm not referring to anyone in specific, just a general remark based on my feeling after reading this topic the last couple of days. I don't always bother reading who is posting what so I don't even know who these people are :).
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] pfavayi:
[[[[[

If you don't know how to remove encryption, of course we're not in the same level (:

[[[[

you may be using a phone that is encyptable from MIUI !!! MIUI does not encrypt. We get encryption when we install vendor firmware separately from MIUI.

Or you could just have installed MIUI so that you get the not encrypted.

We suspect all this because you did not want to give this information before.

It is important to understand what is happening under the hood rather than just follow instructions blindly...

And it's a matter of the DFE file that you use. I used three different files that didn't work and you used one that do you say worked but didn't have magisk.

People who know what they're talking about talk about such details. You have to give which file you used and the link to it and which procedure exactly , so we can duplicate it.

So now give the link of the dfe file that you used.

All the DFE files that I found had magisk bundled with them. For those files at least magisk needed to be installed and configured by the DFE script before the first boot.

[[[[

Being eloquent won't give you all the knowledge

[[[[

Looks like being eloquent is a Crime in your book!!!

[[[[

For the record, I'm not using the DFE with magisk bundled, using the one from Zackptg5,

[[[[[

So give us a link to the file and give details of What You Did And how you did it So I /We can duplicate your work.

Elaborate especially on magisk ,its configuration in twrp (before first boot) since your DFE does not have magisk and it does not have scripts to configure my disk.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] abeloman:
Nope, I haven't used MIUI since last December. Just formatted a few months ago and I've been updating vendor alongside the file from this thread:

https://xdaforums.com/android/software/universal-dm-verity-forceencrypt-t3817389

And try these steps, we can talk if you got issues:

1. Boot TWRP, if it asks for a password, cancel, although if TWRP can handle encryption I think it won't be necessary (seems only necessary if you setup secure boot, otherwise TWRP will decrypt itself). I recommend cancelling password since I got issues when I gave password (format data wasn't successful)

2. WIPE menu > Format data > 'yes' > reboot TWRP

3. Flash in this order > vendor > Disable DM Verity-ForceEncrypt > ROM > gapps > magisk (optional)

4. Reboot, and profit
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] pfavayi:
I guess [ is a remnant of C++ !!!

By the way you are very offensive the way you say it regardless of whether you say no offensive or not ...

And you know its offencive and that's why you try to smooth it out by saying no offense.

If it wasn't offensive you wouldn't have needed to say no offense.

don't ever say this again.

on a lighter note, how would you prefer I do my quotations ?

give an example of something of a paragraph that is actually quotated with the quotation that you suggest.

Its easy to accuse or degrade - its not so easy to deliver.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] D1stRU3T0R:
[MENTION=6070905]abhishek987[/MENTION] isn't the rom official now?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] pfavayi:
-Will do EXACTLY AS YOU SAY!!!

-This link does not give a file.

https://xdaforums.com/android/software/universal-dm-verity-forceencrypt-t3817389

I prefer that you provide exact links because if I search I might find the wrong file and blame you unfairly...

[[[

2. WIPE menu > Format data > 'yes' > reboot TWRP

[[[

This is probably where I was making a mistake - you have to reboot into TWRP. I was not rebooting into TWRP.

- I hope you give me a more specific link of the file You used.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] abeloman:
https://zackptg5.com/downloads/Disable_Dm-Verity_ForceEncrypt_02.04.2019.zip
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] dalyer:
Jesus, you're easily offended so. :rolleyes:

I posted a link to the post explaining how to use quotes properly.

You should read it if you want people to read your posts.

Personally I find them to much hard work so I skip them.

And please don't order me around - if a mod lays down the law I'll pay attention but anybody else can do one.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] pfavayi:
did you look into the zip file ?

It has magisk -I just saw it. Open the achive and you will see magisk.

And when you told me your file did not have magisk included nor did it need magisk - I was very curious.

From what I read DFE needs magisk - without it it won't work.

But then they might be a new method that does not require magisk so I was willing to try yours. But your file also contains magisk - I don't know which version ( probably an older one if the file is not recent).

So far the only thing that I didnt do was reboot into twrp.

After experimenting with DFE I always Flash MIUI so that I delete any malicious programs that might've been put in the system by dfe
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] schnoeselmeier:
Is there a way to hide the Notch in LOS 16 OFFICIAL??
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] pfavayi:
I get offended when you offend me and say no offense

and you are doing you doing it on purpose ..

[[[

I posted a link to the post explaining how to use quotes properly.

[[[

I don't need your link....

And there's nothing on the link..

But before all this you offended me.

By the way you are not a mod you you'll never be one from the way you are offending people.

[[[

Personally I find them to much hard work so I skip them.

[[[

Personally I don't give a damn...

By the way you're the one reading my posts and complaining so you're not skipping them

[[[

And please don't order me around

[[[[

You are lucky I ordered you not to offend me anymore.... I could have insulted you real bad... but I was the greater man and I didn't want to go down that road of insults...

Don't ever offend me again
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] abeloman:
It doesn't setup magisk, but zip can do it, although it's user configurable. Don't worry, it won't install magisk, trust me, this is the one I always use and I have to flash magisk separately; it's fine to not trust 100%, but the zip is made by Zackptg5, recognized developer and creator of Unity (Uninstaller bundled on many many magisk modules)

---------- Post added at 07:30 PM ---------- Previous post was at 07:30 PM ----------

Nacho notch
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] pmcmm:
Couldn't agree more. This thread just became a repetition of how to install lineage OS, written each time by a different user with nuanced changes and with personal feuds.

XDA contains very informative posts on how to install lineage. Even in this thread, Why don't people just respond with a simple link to apast answers ? Saves much more time to everyone and we will have uniform answers. Right now one user says "wipe data then DFE", other will say " format data then magisk and no DFE", and a whole discussion ensues from that moment.

Such links could also feature in the OP
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Optimissimus99:
I'm not sure if this has been said before, but here is a way to migrate from the unofficial builds to the official ones WITHOUT formatting/deleting /data:

1. make a complete nandroid backup! I can't guarantee this works for everyone.

2. update to the latest vendor package

3. run the skript described under wiki.lineageos.org slash signing_builds.html via the recovery method. The file can be found in the official LineageOS Github.

4. now flash the latest official lineage package, then wipe cache and Dalvik cache, as usual.

5. reboot, if it worked the phone should boot up, might take a few minutes.

My addons were Magisk and Gapps, and I didn't even need to reflash them.

I am running my phone fully encrypted, but this should also work with DFE.

I have yet to encounter any bugs, so this seems to be working fine. The only thing I have noticed is that the vibrations on many buttons feel different. (feels like two short vibrations, not one), has anyone else noticed this on the official build?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Damoedge:
This thread is gone to crap its a shame ???
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] belrik:
Want to install LOS? Read the LOS wiki.

It's that simple.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] dalyer:
Actually it's not because those instructions are wrong/misleading.

The instructions for installing twrp are wrong (they omit the need to run fastboot boot recovery.img to make twrp persist) and the instructions for installing vendor/firmware are completely missing.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Garfield3333:
Thx on all guys for supporting this amazing phone....and for helping to get all features.....

So no dirty flash.....

Im tired for flashing the phone from zero......

but.... THX guys..;)
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] morchi:
I would also like to know that.

Do I need to update each nightly? Seems odd
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] blizard80:
No
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] andris155:
Yes I noticed this bug, and I already reported to LineageOS.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] abeloman:
Do you have any magisk modules installed? Some could might cause issues on dirty flashing, specially the MIUI cam port. Try to disable them before applying OTA updates and report back
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] morchi:
No modules currently installed. I wanted to know cause up until now I've updated everyday since the launch of the official.

I'll try to skip tomorrow's update and flash the next one.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] revonder:
Busybox is gone after I rebooted my phone
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] pfavayi:
I will experiment during the weekend....

==

It doesn't setup magisk

Don't worry, it won't install magisk, trust me,

==

I attached a screenshot of the updater script that shows magisk being installed...

I don't know if it's allowed to post the whole script so you can read it yourself and see that it's does install magisk.

You can always reinstall magisk or install a newer version - which is what I think you've been doing.

But anyway during the weekend I will have done a full test and I'll give you feedback.

Right now I think my dfe was not successful Because I did not reboot into twrp before the initial rom boot.

It doesn't make much sense to have to reboot into twrp since you are already in twrp.

There is the same phenomenon when you are flashing twrp for the first time on your phone - you need reboot into TWRP otherwise it'll not be persistent.

Things that are not very logical give me a hell of time - I struggled to install twrp just like I have been struggling to install a functional DFE because of this reboot phenomenon.( that most of the time is not stressed in instructions)

And that is probably the reason why the DFE files that I've tried (including this one) have not been successful.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] z4ck1n:
FYI, on dirty work for me. From dec release to the latest release with 9.2.25 vendor/fw.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] indoko:
I had the same problem. If you are using magisk, deactivate the modules and try again. It works for me. Then, you can activate the modules again.

Enviado desde mi Poco F1 mediante Tapatalk
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] sanzNya:
How to hide notch on latest official build? . Do that on cut out setting. But it'snt working.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] crnHR:
Can you please provide a direct link to the zip? Tnx
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] blackby:
The feature is missing.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] rens-br:
I think you mean this script: https://github.com/LineageOS/scripts/blob/master/key-migration/migration.sh. Correct?

And flash it with the following steps:

Or did you use some other steps?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] belrik:
OMG just use Google. No more install instruction repeats.

TWRP has great docs as does LOS. Installation of vendor firmware is a normal process for every phone. The endless repetition of install instructions which are in the first post is insane.

And the LOS instructions for TWRP are correct, which shows that people are complaining without even reading the docs first.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Optimissimus99:
[MENTION=5207251]rens-br[/MENTION]

Yes, thats's exactly what I did.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] dalyer:
Wrong again.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] AkashAlien:
treble thing
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] dalyer:
Exactly - and not all phones are treble based.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] droidjunky90:
hello here just a quick question, before, whenever I used to boot to TWRP i used to get a password on TWRP and on Boot up screen, now both are no longer there yet am still encrypted, does that mean anything? cuz I Formatted Data partitions did all the wipes as well and i used to get these passwords requests whenever I had a screen lock passwords so about a minute ago i flashed a Kernel and on TWRP this time no password was requested nor it was requested on boot up (knowing that i do still have a password lock on my device)

[MENTION=7825857]dayler[/MENTION] any ideas bro?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] abeloman:
Check if you enabled secure boot. If you don't TWRP will decrypt without asking for it (as it'll use 'default_password'). If you don't know how to check, erase your PIN and set it again, it should prompt about secure boot, and that PIN will be used on TWRP
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] silentwalker07:
Oh right I forgot I had magisk on. Will try again, thanks.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] pfavayi:
==

No more install instruction repeats.

==

I understand you but this is a war you are not going to win. Repeats will always be as long as there are new users.

It's might help if you continually tell them where to find the information ( that is if you don't get tired doing so!!)

==

TWRP has great docs as does LOS

===

What dayler he's saying about TWRP omitting an important step is true - I was a victim of that omission and that's because I always read the instructions carefully before I do anything.

And that problem will persist because in other phones you don't need to fastboot TWRP after the Flash.

==

Installation of vendor firmware is a normal process for every phone

==

Believe me, when you know , things are Simple and obvious. When you don't , they are like Einstein's special theory of relativity.

So be patient with those that don't know - and that's why we have this forum in the first place. You help if you want and can.

==

And the LOS instructions for TWRP are correct, which shows that people are complaining without even reading the docs first

==

I just checked - LOS does not give instructions of how to install twrp , at least on this forum. Maybe I am mistaken, and if I am please give the link

And if you don't find that link that means Dayler is correct 120%

So you see reading the first post applies to everybody - and mistakes do happen - but its not a death sentence
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] sanzNya:
Ahh.. Too bad. Will it implemented on the future?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] blackby:
I hope
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] holefizzy:
Official installation instructions

Hi all, I've searched this thread, LineageOS issues, and Gerrit but haven't found a decent answer to this inconsistency.

My goal is to try and locate official (or at least the most popular) installation instructions, because I notice 10 different people will have 10 different ways to install LineageOS that they post on this forum, on the subreddit, on their blogs, and on YouTube.

The 3 most official I've found so far are the OP, this post, and the official installation instructions.

However, even these 3 have differences.

Official/unofficial TWRP

Different images suggested (disable force encryption, su, magisk)

Different order of flashing images (DFE->ROM->root, DFE->root->ROM, DFE->root->ROM->root)

Different suggestions for what to wipe in TWRP

Different times in the process that a TWRP wipe should happen (before ROM, after ROM, before & after ROM)

Vendor/firmware presence/absence

I just want to know if I follow LineageOS's official guide exactly if I will be OK. Here's my questions.

I have a new unlocked 64GB M1805E10A on 10.2.2.0. Is this version recent enough that I don't need to flash a random firmware from the internet? Or if I still need it, is there an official Xiaomi domain where I can verify checksums?

I always clean install and don't need data to persist across installs. Can I skip disabling encryption?

Is it safe to wipe Dalvik/Cache/System/Data before install? Some people suggest wiping all 4 but others warn against wiping System, however TWRP suggests that System is usually wiped anyways.

Given I just need LineageOS and su (I don't need Google Apps or Magisk Hide), and maybe vendor/firmware, is [Vendor->]LineageOS->su the most correct order?

Also, I understand that I can probably pick any of the guides and things will turn out fine, but I'd really like to know what I'm doing and why, and definitely want to at least do a checksum verification of anything that's going to be running at & below the OS level.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] dalyer:
This is covered many times already.

I know that I've posted instructions for flashing custom ROMs in many threads and possibly including this thread.

I'm not going to post them again because it annoys too many people to keep repeating the same info.

You need to read up on stuff and understand what each step does and why it is done.

It's all covered already many times.

You should not use SuperSU for root - it's outdated, no longer maintained and superceded by magisk.

Dfe is also totally optional.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] BenParz:
Disable Force Encrytion is optional. If you switch to a completely different ROM, it would be best to wipe all 4 (System, Data, Cache, Dalvik/ART Cache) so that you won't experience any problems. SU is already outdated mate (I think the project is discontinued), so you will have to resort to installing Magisk. Anyway, you want to flash in this order: Vendor-->Lineage OS--> Gapps (nano or higher). If you want to root, boot to the ROM for the first time and then go back to the recovery to flash Magisk.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] holefizzy:
Yeah not really asking for a repeat. Just wondering why people tell you to do things when the official guide says to do something else. Also whether the official guide is even right, because it doesn't say to flash vendor.

Also I meant LineageOS's su (download.lineageos.org/extras).

Thanks - yeah just clarifying I meant I meant LineageOS's su (download.lineageos.org/extras) which was released 2019-03-04.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] dalyer:
The official LineageOS instructions are not completely correct. Better to use ones posted here. But it would be simpler is the original post of each thread explained clearly the minimal steps required to do at least a clean flash.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] bitye:
Latest MIUI beta got stay on lockscreen after face unlock option (like official LOS). It would be nice to let us choose between this and instantly unlock in LOS too
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] droidjunky90:
thanks bro I will, am on RR Rom does that make any difference?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] holefizzy:
:good: Definitely this. The OP actually makes it relatively simple but assumes you want to flash Google Apps. I think I'm just not used to official guides being less correct than unofficial ones.

Regarding checksums, is there a way to verify that the vendor files are legit? I'm not doubting the OP is putting malware in there, but the file could get modified by the hosting service, ISP, or any in-between node.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] dalyer:
If there's an md5 or other checksum provided then you can check the zip integrity but if not then you can't.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] belrik:
Edit, deleting post cos not helping.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] dalyer:
As I said already the LineageOS wiki instructions for installing twrp and the rom on Poco F1 are flawed and if you follow them to the letter then you will not be successful.