yashsingh1/xdaforums huggingface dataset:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 911-Future_Maker:
It's different.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nihil39:
Does this twrp 3.2.2.0 los support also non treble roms? If I'd like to try another rom (AEX for example) can I keep the same twrp? I suppose the answer will be yes but I asked just to be sure.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 911-Future_Maker:
Supports I'm currently on it.:good:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nothingman1976:
If I update from los 14.1 official to 15.1 official shoukd I wipe data ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] sunando:
I have the similar query . Is it actually possible to dirty flash from LOS 14.1.

How will the google apps survive ?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Nabeelp2:
Wrong download link

Oyy the download link provided for the rom is for the 14.1 variant its not lineage Os 15.1.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] iniro:
Then, the best configuration is like this?

Data = F2FS, Cache= EXT4, System = EXT4
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
i came across something today which is related to the mkfs.f2fs version used in my official vs the lineageos twrp build.

we have already discussed it and there will probably be a fix for the lineageos twrp in regards to the "Format Data" option.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Liacon:
I've tried also this with no succeded

Next time will write here the error

edit

reformated the smartphone, now works with the same step¯\_(ツ)_/¯

thanks anyway
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] abhayruparel:
I'm trying to compile lineage kernel standalone it says missing .config. Any idea about that? I believe make menuconfig is required not sure though. Pardon me if it is noobish question.

Also what does lineage think about shipping kernel with clang?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] rohit1512:
Charging speed is slow.....takes 85 min to charge 45 to 96%...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] shabab malik:
No it's not slow. Fast charging speed is depend on your room temperature and apps running in background. My room temperature is 28°C and it charges my device from 13% to 100% in exactly 72 minutes.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] rohit1512:
Ohk.... Which ver. Of magisk u r using

---------- Post added at 03:27 PM ---------- Previous post was at 03:26 PM ----------

Which ver. Of magisk u r using? Plz provide link for the same
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Empirerox:
it is showing me a ETA of 1 day on a 40 mbps network, can anyone send me a mirror link to this file , thanks in advance
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Erazor84:
But why i have the notification light settings then? My light is working in every app and i can edit the settings for it in my los15.1 settings. Probably i didnt make a clean install? I "upgraded" los 14.1
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] P2.nl:
Update is installed,

Downloaded superSU, Gapps and 15.1 ROM and moved it on internal SD card

then wipe system, cache etc - i did not wipe data

then install 15.1 rom

after that install superSU and Gapps

then reboot system and after 2 minutes the P2 is ready to rock.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] rohit1512:
Plz link for supersu
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] P2.nl:
https://lineageos.org/Changelog-16/ :good:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] David78130:
Put f2fs to system too.. ??
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mmmelwin01:
I flash long time ago version 14.1 from a version earlier than P2a42_S251_171107_ROW. Sometimes my p2 disconnected from wifi. Should I update the partitions efs1, efs2, efsg, modem somehow? Because in lineageos they are not there.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] shabab malik:
This

https://gist.github.com/Jerry981028/b6a7fdfcf1823325c2f94f83677fa554
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
I had the WiFi disconnect issues too on 14.1. has nothing to do with modem or efs. it was caused by one of those krack fixes. those issues are complete gone now on 15.1 as mike completely rebased the kernel on latest 8.1.0 for arm64 msm8953. seemless roaming works flawless. so don't touch anything just flash 15.1 and enjoy.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] imPro01:
f2fs format? Then can i able to flash gsi?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] celoxocis:
will not work. it's not supported by the ROM.

also ext4 is better for /system due to reduced access times. /system is read-only.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mmmelwin01:
f2fs on system partition, really?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] MrJackTR:
Is the first release really good? Can users share their experiences?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] shubham Kumar006:
What are the known bugs?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] selvababuu:
Did the trick.. Thanks
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 2019registered:
Hi, thanks for your reply. Not exactly, I just updated my questions.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
1: the only option that I can think of is the led.

2: yes that is possible. I've used it like that. Currently I don't.

3: you only can give your sim a different name. That is what I used.

4: not sure if that is possible. I haven't checked that.

5: when you connect your device you'll get prompted how you want to connect your device. You can select storage for example then you see it like a disk.

6: for me.it is not known yet but Mike should be able to answer.

7: it depends on the ampere of the charger itself.

8: you mean for the display?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 2019registered:
Thanks for your Reply. I just added another question.

7. yes I know this is why I am looking for some recommendations here

8. Yes, the display.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Armaty:
Regarding 7.

If u take any charger of over 2A or 2.1A , then they will automatically trip. For eg. I tried a Xiaomi fast charger of 3A , the charging Led turn on/ off periodically. So, find a charger of 2A with increased voltage level say 9,10,12 volts.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] satej@123:
Guys, will Android pie be available on new year??
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Haha! Why do u think like that?

Have u heard some thing like a rumour?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] prashu199:
I dont knw if anyone else is facing this issue but swiping down on homescreen aint bringing notification bar down.i am on 28 dec update.

P.S i did clean installation.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nothingman1976:
Yes, according to the maintainer (mikeioannina) p2 will be on the first batch of devices that will get lineageos 16.

Check his message few pages above...

Inviato dal mio Lenovo P2a42 utilizzando Tapatalk
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
I've noticed since build 28, fast charge does not work anymore. Anyone else noticed the same? I use the original charger and cable.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] suvam69:
Suggest a good working build.. with least bugs and fast charging .. was about to download the latest then I came across this. Please suggest.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
well in general this is a very good build. The only problem I have so far is fast charging. I even don't know if it is related to the build or my phone. I think it is my phone that why I asked.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nicktf:
is NFC work?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
according to lineage nfc should work without any issues. but as far as i am concerned i have tried to use nfc once and it did not work as expected for me. may be there might be any issues with my phone or the other device i was trying to connect
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nicktf:
thk,bro l'll try
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Lyceus:
Yes it's work flawless. I am using phone with Los to contactless payment for 4 - 5 months and there where no problems.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mido hamdy:
Today when i restarted my phone, the sd card got corrupted and asks me to do a format and i have important data on it.

Is there any way that i can get my card back to work without formatting?

P. S I'm using this awesome rom since August
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
If you have a PC you might be able to run a recovery program on the card to save the files.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mido hamdy:
Thanks, yes i will do that. But, why this happened?

Is this related to the rom itself?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
I would say it is related to the SD card. I cannot imagine otherwise.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
I doubt it. I've used this ROM for quite some time with an SD card and never had any issues.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] mido hamdy:
Surprise!

When i took off the card and put it in my pc, i saw all my files and backed up all.

When i put it pack to my phone without formatting it works normally!

Anyway I'm very happy, thank you.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Nice great to hear it works like it supposed to work. It is strange though that you encountered the issue.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] prashu199:
It is working for me brother.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] satej@123:
What I think is if we continuously dirty flash the ROM, such things happen.

I am in no way telling that it's ?% true. But have experienced that ROM is great but few face difficulty while some don't.

Maybe cleaning dalvik cache and other stuff might work after update.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Great thanks man. I'm starting to rule out some possible causes.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 2019registered:
Simply but important questions: 1) how can I See the Numbers of contacts 2) grouped by storage Location (Google,local in Phone)
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Din4564:
Happy New Year legend! I moved out of the ****ty frame drops on factory ROM and having a seamless experience... Keep the good work up! thanks mate and have a great 2019 ;) keep developing awesome stuff
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] satej@123:
Happy new year
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
1: open contact's then top left corner click on the hamburger and then select the account ( Google, or phone) then you will see the amount of contacts in that particular account.

Question number 2 I don't get it haha. Please rephrase.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 1lovedeep:
[MENTION=3839575]mikeioannina[/MENTION] sir wiil we get linux kernel 4.9 with lineage 16?

plzz reply
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] romanajr:
Do i need to clean install this ROM in currently running LOS 14.1 is it stable and for gaming? thanks
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Din4564:
After the 30th December update, apps are taking longer to open and sometimes crashes too! Wiped cache and dalvik cache but to no gain any other method and am I the only one facing this issue?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] slp2096:
Dark video fix

Is there a fix for dark video front + back in g cam V6 , I'm on latest los 15.1 build
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] satej@123:
Wait for pie. It'll fixed then hopefully
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] nicktf:
thk.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] rogat92:
I use GCam from BSG, viewfinder and result in video mode are normal. Just make sure you select Pixel III in interface style, and select autoframe/sec in the option
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] jbssm:
Fingerprint sensor (and home button control) stoped working after a while

The ROM was mainly working well except for the occasional crash, issues installing ROOT and manual need to update it.

But then, the fingerprint sensor and the home button control stopped working. You can get it to work for a while after reboot if you disable the Developer Options, but then it stops working again.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Rockarolla1:
Android.process.media stops every time when I am trying to listen music! Pls help
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] David78130:
I can't find autoframe/sec.. can you detail where it is ? Tnx.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
I dont have these issues you describe. And others either don't. So the problems are only related to your phone.

---------- Post added at 06:15 PM ---------- Previous post was at 06:13 PM ----------

Where is your music stored? I tried just a minute ago and no issues.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Rockarolla1:
My music si in internal storage, also same happen when trying to add ringtone keep crushing! Btw i did clean install!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
What about dalvik cache wipe. Do you have the same then to?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Rockarolla1:
Yep, cleaned it! Made second fresh install and nothing changed! Very strange!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Yeah. What about revert to stock strat the process all over again. I always do that procedure when I flash a custom ROM. If it is different then the one I come from.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] rogat92:
Click video tab, and check its corner of left side, look at the screenshot below
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Rockarolla1:
Yes, maybe it is good idea! Btw i came from crdroid Pie, which is leanege based rom!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
That could cause the issue though
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
Which gcam is this? Does everything work? Pls give a review.. thanks
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] rogat92:
Please refer to this post https://xdaforums.com/showpost.php?p=78579520&postcount=2022

Give it a try, everything almost work except slow motion
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] 2019registered:
Am I the only one having massive lags? Sometimes for example the camera does not react or gets stuck, sometimes buttons takes way to long to give feedback?

Any fix for that lags?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] prashu199:
I am facing lags in opening applications.Apps are taking longer to open and sometimes unlocking the device with power button is taking little more time than usual..
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] suvam69:
How to get face unlock ? No option in the smart lock tab. But i can see Trusted face in the system app. Using micro gapps .
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
I assume that you wiped the cache?

---------- Post added at 09:54 PM ---------- Previous post was at 09:54 PM ----------

Wiped the cache?

---------- Post added at 09:57 PM ---------- Previous post was at 09:54 PM ----------

It could be that bit is related due to gapps. I am able to use it. I use nano. And have the option there.

---------- Post added at 10:00 PM ---------- Previous post was at 09:57 PM ----------
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] GOOGLE OFFICER:
I'm using crdroid 9.0 pie this is very stable rom

I used this rom but this rom is nightly
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] amdyss:
If you rooted your phone with magisk, there is also a module to download. Google face unlock. Then face unlock should appear under Smart lock.

Wysłane z mojego Lenovo P2a42 przy użyciu Tapatalka
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Yes correct but afaik you need to have data partitioned different then default. Or else the modules don't work. Unless that is changed/solved.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
It's strange but now fast charging works again even that I didn't change anything...
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] rogat92:
Guys, how to set up fp gesture in this rom? Does this patch work for you? https://xdaforums.com/showthread.php?t=3826443
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] prashu199:
---------- Post added at 05:20 AM ---------- Previous post was at 05:17 AM ----------

[/COLOR]

I have faced situation like that sometimes fast charging dont work but then just remove and reconnect the charger and it starts working. I always check my lockscreen after connecting charger if it shows fast charging or Slow charging.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Tahir Baig:
It never shows fast charging even if it is charging fast. Slow charging it does show.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] prashu199:
Ya sorry i mean it shows minutes remaining so charging from 40% it shows 38-39 minutes remaining.what i mean is if its fast charging it shows less time remaining and when its slow charging it always shows 2 hr remaining.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] suvam69:
Not working.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
What version do you use of gapps. Like I mentioned I use nano and I have the options and it works.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] MrJackTR:
excuse me just out of curiosity official 16 roms when will start?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Afaik Mike is almost ready. See some pages back
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Chichi023:
I flash Google Face unlock and still not showing in smart lock in settings im using january 6 build any help?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Do you use gapps?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Chichi023:
Yes Gapps Nano
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Strange. I use the same and I do have the option. How did you flash the ROM with gapps?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Chichi023:
i update my los version to jan 6 build. i only flash the rom since i already got the gapps and adons and i scared to delete all my data should i flash the gapps and adons on every update of LOS? if yes is my files going to delete again?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Well normally when you flash a ROM you also flash gapps at the same time. I assume you did it that way. You don't need flash gapps on every update.

Did you came from a different ROM before flashing this ROM?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] pippideniro:
possible to install Viper4Audio on this rom? any guide
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Lyceus:
Install "viper4android fx materialized" from magisk repo and viola
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] pippideniro:
thnx but not work for me, keep getting error which says " your system API of 27 isn't lower than the maximum API of 25 please downgrade to an older version of android with at most API 25.:confused:
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Not sure but dues the module support 8.1?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] pippideniro:
to be honest, i have no idea about it. was only interested to see if i could get VIPER working on this Rom but anyway i guess not. :(
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
Well what you can try is to use an 7.1 and the module to check if it works. Or contact the dev from the module.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Chichi023:
No Sir i just update my LOS build date to jan 6, now i try to update this jan 7 build then i flash the rom and gapps? maybe that could fix the problem

---------- Post added at 01:16 AM ---------- Previous post was at 01:15 AM ----------

Yes Viper4android working in this ROM also Dolby Atmos
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] pippideniro:
noted. what version of magisk is required to get VIPER4AUDIO and DOLBY working on this rom?

any guide, tutorial, link?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] philje123:
Install Viper from Magisk manager. Works for me.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] pippideniro:
yes did same here also and is working fine with Magisk 16.6. had no luck with the latest ver 18.0. its problematic on this rom
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
I was using magisk 18, but it kept breaking safety net, so I downgraded back to 17.3 and it seems fine . Hopefully will be fixed in future updates to magisk.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DarkHoundOne:
Using Magisk 18.0 and Viper works flawlessly.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] adriel1989:
are you on f2fs or not?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DarkHoundOne:
I'm on f2fs, thus the "F2FS Loopback Bug Workaround" module.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] adriel1989:
for it to work, avoid clearing cache so modules won't be erased?
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] DarkHoundOne:
Yup, it's certainly a hassle but it's the only way to get modules working on f2fs.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Kevindiepenmaat:
You could try that but I am not sure if it will help. I do know that it's normally not required.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jerghal:
I might (hopefully only soft) bricked my device:

When you log in to TWRP it asks to decrypt. I ignored it and did the format option. It failed (because if was still encrypted). So I thought it hadn't done anything I would reboot to get back into TWRP and get the option to input the password to decrypt again, but TWRP doesn't start anymore.

It goes into a boot loop and gives these errors:

Could not mount /data and unable to find crypto footer.

Failed to mount '/data' (invalid argument)

...done

unable to mount storage

Failed to mount '/data' (invalid argument)

Full SElinux support is present.

wipe-data-via-recovery

Unable to mount /data/media/TWRP.twrps

Running Recovery Commands

Failed to mount '/data' (invalid argument)

Formatiing Cache using make-ext4fs...

Done processing script file

...and then it reboot again, does the same thing.

So I've booted into fastboot again (that works) and tried to flash the twrp again (fastboot flash recovery twrp-x.x.x-x-kuntao.img) but that doesn't work.

So I've searched a bit and found this xda page:

https://xdaforums.com/lenovo-p2/development/fastboot-files-stock-firmware-t3649914

This should hopefully let me flash the stock ROM again via fastboot so I can start over. Do you guys think this is the best option or is there anything else I should try first?

Thx for the help!
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] abprie:
You probably need to flash the original ROM and then go the whole way with installing TWRP and your custom ROM.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] andyscuff:
I had a similar problem a while ago and using that method of flashing the original stock ROM got me up and working again. Then you just need to flash twrp again.
[Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel] Jerghal:
I'm downloading it now from the android filehost site, but it's horrendously slow (like 80KB/s). So I've installed Multithreaded Download Manager in firefox and now it's a bit faster (330 KB/s) but it's still more than an hour to download...