yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kielbek:
Here you are:

https://xdaforums.com/lenovo-p2/development/rom-lineageos-15-1-p2-t3814361
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DarkHoundOne:
Thanks :)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] tapunger:
brings gaming performance?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DarkHoundOne:
Read/write speeds should only affect load times, may make games and apps load faster but nothing beyond that.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] KandaJi:
ROM isn't downloading from LineageOS site.

Can someone give me an alternate link for 14.1 latest build please? thanks

edit:

nevermind, ,its now downloading through vpn. thanks though
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
I am using my Lenovo P2 on stock OS. I have rooted the phone recently using latest magisk. The rooting process is successful and the phone is working fine. But, I am unable to Install any magisk modules. Each time I Install a module, it shows as installation failed. I really want to try the modules which is what magisk is famous for. Need help...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] P2.nl:
thank U

A lot of thanks to all devs for LOS 14.1 on the P2

;)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Mrinmay Medhi:
Try to flash it via twrp.. if again u encounter error plz format ur data partition to ext4 format
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
I am using my Lenovo P2 on stock OS. I have rooted the phone recently using latest magisk. The rooting process is successful and the phone is working fine. But, I am unable to Install any magisk modules. Each time I Install a module, it shows as installation failed. I really want to try the modules which is what magisk is famous for. Need help...

Edit- I updated data partition to ext 4. Now I can flash modules properly.[/QUOTE]
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] KandaJi:
Casting doesn't work on this ROM? I just noticed it can't find any device, it's not even searching for any...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Don't have any issues here.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sunando:
Only issue with casting is that there is no option to switch off the phone screen
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] KandaJi:
I just found out I've to connect to same WiFi network to cast

And yeah, can't turn screen off.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Correct that is the idea behind cast. Also not with button on the side below the volume buttons?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] KandaJi:
Yeah when i turn off phone screen / lock the phone while casting, then casting stops and tv screen pauses.

Maybe it's just normal. Guess I've to keep the phone screen on to continue casting
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mikeioannina:
It's normal behaviour, nothing we can "fix".
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] KandaJi:
Okk ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Chillmann:
VLC can fully dim the screen while casting, which saves a lot of battery power
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Bipo:
I've inserted a 2nd simcard, voice and sms are working but not data.

Is it a known bug? If not: any thoughts?

Edit: it was the vpn. Always the vpn.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] masked__rider:
wrong thread
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] KandaJi:
Wow ok.

I'll try vlc thanks
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Mrinmay Medhi:
Battery is not good as the low freq of cpu is always stuck on 1.6 Ghz in balanced mode
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sm00th4f3:
Reboot / clear cache
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
Are people still on 14.1 ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Mrinmay Medhi:
Sorry I posted in different fourm

---------- Post added at 03:27 AM ---------- Previous post was at 03:27 AM ----------

Yes
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] binaryhelix:
Kuntao Lenovo P2 device not booting after installing OTA 14.1 20180706 update

Device is sitting on boot animation for more than 50 minutes. Has not booted to OS and unsure if update is successful. Restarting, either into recovery (TWRP) or normal reboot results in the boot animation displaying once again without progressing to my LOS homescreen.

Note: I have encryption enabled, so device first boots to decryption menu before the OS loads.

Same goes for manually flashing zips in TWRP: TWRP first asks for my decryption password, then decrypts storage, then I can continue on to flash zips.

Don't know if device encryption is contributing to the problem or not.

Steps I followed:

I ran the OTA update and downloaded the lineage-14.1-20180706-nightly-kuntao-signed.zip which. After running OTA update successfully, the device restarted itself successfully, and booted to to the decryption menu.

Entered password successfully, phone continued to boot

Sat on Lineage boot animation for more than 50 minutes.

How long is such a process supposed to take?

I have tried booting into TWRP, going to the /losupdates folder and manually installing the zip (ensuring zip verification is disabled)

The install log shows the installation and update script was run successfully.

Cleared cache/dalvik then reboot

Once again sits in boot animation.

I then tried downloading the zip from the Lineage website itself, and transferring it via USB when in TWRP, then flashing and clearing dalvik.

Same result as before.

Should I try a different nightly zip, e.g. 20180629

Or should I wipe my device completely and flash the july 14.1 nightly again?

I have all my important data backed up so am willing to do this.

Though if I do go ahead with a wipe, do I need to flash LOS addonsu and gapps again as well?

Thanks!

Do you have any suggestions as to what I should try next?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Armaty:
This happened with me a a month back. For me whenever twrp asked for password to decrypt, always a problem occured.

So, if the problem is with encryption then clearing data will help. For this boot into bootloader and type fastboot erase userdata in adb. Then boot to system.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] binaryhelix:
Thanks mate, I followed your instructions and erased userdata in adb.

Boot animation still showing for 50 minutes after a reboot.

Next, should I try to wipe data via TWRP, followed by a reboot to system?

[And flash TWRP 3.2?]
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] binaryhelix:
I also tried booting to system from the TWRP menu, and then saw this error message:

Decryption unsuccessful

The password you entered is correct, but unfortunately your data is corrupt.

To resume using your phone, you need to perform a factory reset.... etc etc

In addition, my internal sd card and data partitions no longer display in TWRP.

Perhaps I should do a factory reset via TWRP now?

Shall I reformat data partition to another format and then back to what it originally was, as per the directions in this post?

Your suggestions and assistance are greatly appreciated :)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Armaty:
This reformat is for if mount / data is failed. Infact that adb command also did the same work i.e wiping data. If ur data is mounting , then do a clean flash i.e wiping cache, dalvik , system and data. Then flashing rom,gapps.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] binaryhelix:
Ah, please pardon my ignorance, how do I know if my data folder is mounting? I want to ensure it is mounting before I continue on, don't want to brick the device.

I can see the data folder using the TWRP file manager but it is now zero bytes in size, and so is internal sd_card

I get an 'unable to mount storage' error when trying to wipe each of the areas you suggested.

In addition, given that I am now to do a clean flash, do you personally suggest I go for LOS 15.1 with TWRP 3.2.2 flash the LOS version of addonsu again and gapps

Or stick with the last 14.1 nightly for now, flash the LOS version of addonsu again and gapps?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Armaty:
Dont worry this will not brick ur device. But still if u want to check, go to mount option in twrp and see data , it should be ticked , if not tick it then tick it. In case it is not ticked and u r not able to tick it , wipe data and reboot back to recovery. Now it will be ticked or u can tick it.

The above procedure is not necessary btw.

It is ur liking which u want to flash , the 15.1 is superior in all aspects expect few status bar customisations are absent and Bluetooth calling bug.

So, if u want 15.1 , then flash the recovery from lineage wiki page (hope u know it ). Then wipe system, data , dalvik, cache and flash 15.1, gapps, root addons.

if u want 14.1 , by wiping all those flash it.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] binaryhelix:
No worries, I will give 15.1 a go then :)

Yep already downloaded the latest 3.2.2 TWRP via the LOS wiki :)

Let's see how I go with this process! Will let you know.

Thank you kindly for your time!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] binaryhelix:
Flashed TWRP 3.2.2

Couldn't get data partition to format properly kept throwing mount errors.

I couldn't format data partition either :/

Changed partition back to ext4 then clean wiped again

Then flashed the latest 14.1 nightly, addonsu and gapps and started again

Device seems to be working okay :) will see how it goes!

Thanks for your patience and support. I am grateful to all of you.

Hope to give 15.1 a spin in near future

Are there any further builds of 14.1 planned?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
I think there will be no updates because 15.1 is official
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] denizci535:
Battery life screen time???
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] MrJackTR:
about 13-14 hours
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] satej@123:
Such a great rom. The journey of which is completed. Sayonara....
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] gagankprajput:
Successor LOS 15.1 is still in development . So no worries till now.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] donjoe0:
Is there anywhere we can download 14.1 zips at this time? They're gone from the official servers, and I don't want to switch to 15.1 this early in its development.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] suvam69:
Lol
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] donjoe0:
'K.

Just found out the latest versions of Magisk since 16.7 are causing a lot of problems in a lot of modules (and failing to install a lot of modules), but apparently it's amusing if I say I don't want to use the absolute latest version of something because of reliability concerns.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] VuVuZ:
I'l really looking everywhere to find one but no one has the link :rolleyes:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
I still have one. But why do you want it? No updates and so on. Where can I place it?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] donjoe0:
I've solved my Magisk issues by reformatting /data to ext4 in the meantime and I haven't found any other dealbreaker issues, so I'm not trying to avoid 15.1 anymore, but my next thought on installing 14.1 was to look at the other custom ROMs that exist which are based on LineageOS and which may still be providing versions based on 14.1.

If I was one to trust blind updates I'd stick to the stock ROM and never install custom ROMs. I want to control what gets installed and when and why, and what the update contains exactly. I don't want "system updates", I want to pick and choose what to update.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
I can upload the file when I have the chance and a location to store the data. It is a full stock image including instructions. S251 if I'm correct.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sahil_alam:
how can i download this built now
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
You can't, only if someone has the source (myself) and upload it again somewhere. Not recommended though because it does not receive any updates anymore. It's discontinued.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] satej@123:
Yup listen to Kevin.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] duck from space:
Sorry to revive this thread, it would be indeed very nice if someone could share the last Nougat build of this rom.

I won't ask for support of anything else obviously.

Reasons: this was the best 7.1 rom ever done for this phone and I'd like to stick with nougat for some compatibility reasons.

Tons of thanks if it can be done.

The build was lineage-14.1-20180706-nightly-kuntao-signed.zip

;)

Edit: nevermind I actually saved it.

If someone need it and mike is ok I can upload it.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] satej@123:
Great that you got it. Enjoy.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] tr4usut2:
Can you send me link via PM?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] satej@123:
Ask "duck from space" he has it
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] tr4usut2:
Can you send me link via PM. tks
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] duck from space:
Seems pointless to me to share it one by one one via mp.

https://drive.google.com/file/d/16cz8sL_m9ncz-Cncuptq7Mh-tEBMhlVP/view?usp=sharing

If any dev involved wants to take it down no problem, it's not my work after all.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ecthelion3:
Unfortunately the file is no longer available. Can someone perhaps re-upload or share a link where I can download the latest official build? Thx
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] alirazaagha:
Not sure why you want such an old build but check this link.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ecthelion3:
Sorry, but that link only leads to a "Not found" page. I'd like to have LOS 14.1 for the P2. Any one of the latest official builds will do. But I couldn't find any :(.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] alirazaagha:
I just found that those builds are removed. My bad ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ecthelion3:
I did? But did you check it before suggesting it? The link in the end leads to https://mirrorbits.lineageos.org/fu...neage-14.1-20180706-nightly-kuntao-signed.zip where the file is no longer available.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] alirazaagha:
I checked that. Why don't you try los16. It is the best of all in my opinion.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ecthelion3:
I would like to get

LOS 14.1

for the P2 and not one of the later LOS versions. lineage-14.1-20180706-nightly-kuntao-signed.zip seems to be the last official build. So if someone can share a link where I can download that build (or a not too much older build), then that would be great. Thx
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] hk73:
Kindly anyone help uploading lineage-14.1-20180706-nightly-kuntao-signed.zip or pm me ....Many thanks for help.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] kjrell:
Also looking for lineage-14.1-20180706-nightly-kuntao-signed.zip

Thanks!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Taranis:
Hi everyone!

lineage-14.1-20180706-nightly-kuntao-signed.zip

Zippyshare.com - Free File Hosting

www89.zippyshare.com

kuntao_fix_main_cam_v3_7.1.zip

Zippyshare.com - Free File Hosting

www89.zippyshare.com

Magisk-v16.0.zip

Zippyshare.com - Free File Hosting

www89.zippyshare.com

open_gapps-arm64-7.1-pico-20180729.zip

Zippyshare.com - Free File Hosting

www89.zippyshare.com

7.1.2 + Gapps + Camera fix + Magisk

I'm not sure if Magisk works now, but I think this is the best combo for Lenovo P2. I recommend to use TWRP from Mike.

Links expiry in 30 days.

Greetings from Poland!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] kjrell:
Thank you so much Taranis! You made my day!

Piwo :)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Murtie:
Hello ,

Please can anyone share the latest zip file? 🙏

2018-07-06 nightly kuntao
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Egyptiandroid:
Great rom, but i am using Greenify, and when i tried to install greenify magisk module which makes greenify as priviliged app, i cannot greenify system apps! I can only greenify third-party apps that I installed from play store. Without magisk module, i can greenify system apps, but with magisk module, i cannot greenify system apps ! please help
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] satej@123:
Latest update arrived ota
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Ishann15:
Let me know the experience after the latest update

---------- Post added at 06:35 PM ---------- Previous post was at 06:32 PM ----------

Yes i also noticed it now... someone pls explain
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
Just done first OTA update. Everything is working ok.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] abdal2006:
I have downloaded, but how to install it, when I select to install, it boots into twrp and there I m not able to see updated zip file, please help
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Same here. It say's corrupted download.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] abdal2006:
I successfully installed the update, in twrp you need to search for the downloaded update file and select it and install. That's it
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nothingman1976:
In my case the phone reboot in recovery and automatically started the update without manually selecting the zip file. Everything work as expected
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] kalel77:
I must reflash magisk or not?[emoji18]

Inviato dal mio Lenovo P2a42 utilizzando Tapatalk
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
No not anymore, it was required during unofficial builds only to flash gapps.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] kalel77:
Ok flash fine bere, thanks

Inviato dal mio Lenovo P2a42 utilizzando Tapatalk
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] :
If i don't open YouTube, chrome or anything related with the data, i get 16+ hours of SOT, i means when i watch downloaded tv series or video i get more than 16+ hours of SOT. Simply 2.5 hours/10% with data of more precisely & 16+ hours with a mixed used with 2-3 hours of online browsing.

While keeping my data on almost of the time & serfing online & YouTube gives me around 12-13 hours of SOT. You need to understand your phone habit. Heavy usage including gaming would give around 10 hrs. of SOT.

You'd have used your phone between 9 am to 5 pm unless you're talking about some xiaomi phone.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] P2.nl:
Update process worked out fine,

it took about 4 minutes to complete.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] abdal2006:
Yes, I have used data continuously.

However, now I'm facing new problem.

I have gmail app on home screen, but that shortcut automatically gets deleted from home screen as well as in drawer. Same with Microsoft SMS organizer also. What to do. Is it due to greenify?

However, I can access both apps through play store
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Mine is currently stuck at Lineage boot logo for the last 20 minutes....

Edit: Wiped Dalviks cache, did not solved the issue...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sijben:
same for me
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Cuvillier:
i just updated it, it seems that it falshed magisk again after the update on twrp, so you just only need to flash gapps again

---------- Post added at 07:56 PM ---------- Previous post was at 07:55 PM ----------

did you try to falsh supersu file again?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Aegir81:
I just installed the update via the Lineage OS Downloader. The update installed fine. Great work!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
again, did an dalviks cache and cache wipe, no luck yet
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sijben:
Is your boot logo stuck before or after the pattern input ? (here after)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Mine is stuck after the pattern input, and yours?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sijben:
tried it, but no success (after 10 minutes boot logo)

---------- Post added at 08:11 PM ---------- Previous post was at 08:10 PM ----------

same here
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] satej@123:
Update installed automatically

Went into twrp flashed ROM then magisk.

Bam. .

Mobile restated

Every module of magisk was working.

Bam

Substratum theme was vanished

Just installed overlays.

Restart

Back to normal
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Sutcliffe9:
When I did OTA it installed then flashed Magisk automatically. I think It will only do this if you already had Magisk installed.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] EdwinDenny:
Changes in new update? Volte icon present? How about that signal strength error?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
anyone a solution for this?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Nextstar:
Mine also updated automatically without any problem.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] kalel77:
I flashed only OTA, no magisk and no gapps again. That's all
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] kanwaljeetsm:
For people having issues with ota update

1. After downloading the update come back on the same page where u initialized downloading update

2. Select the download icon just in front of the update filename

3. Read the instructions once(proceed by selecting yes/ok)

4. Then the device will itself boot to recovery flash update and all necessary stuff and even reboot on its own

Basically,there's no need to manually boot into recovery>select file>flash su etc....etc...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Thanks but on our side the update went well it is stuck at the boot screen after providing the pattern (if used)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
An update from my side, issue is in the encryption (pattern).

We have to find a way to remove the encryption some how then we're able to get past the boot screen.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sijben:
very unclean solution: From TWRP install the lineage zip, then gapps, then lineage-supersu.

Wait 5-10 min.

Install all google apps again (deinstall and install), that makes problems.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Well update from my side. i know the problem is in the encryption.

here is what i did, i hope you have a full backup of your data though

1: boot into recovery > advaced> terminal

2: execute command on phone: recovery --wipe_data --set_filesystem_encryption=off This removes the encryption

3: reboot into recovery change fs from system & data to EXT4

4: perform a format after that do a factory reset.

5: boot into TWRP > advanced > adb sideload

6: connect phone to computer and after about 30 seconds perform from command prompt : adb sideload /path/to/rom.zip & adb sideload /path/to/gapps.zip

7 :Then reboot and wait 5 ~10 minutes

8: Transfer backup from pc to phone (if saved on a different location)

9: Restore

10: Boot into LOS & remove encryption

11: Perform OTA