yashsingh1/xdaforums huggingface dataset:
[Lenovo Vibe P1 Guides, News, & Discussion] hondansx:
p1c72 cross-flashed to p1a42 with NFC working!!

I want to say for the record many thanks for the instructions below and for the links provided. I bought at p1c72 it came with chinese ROM that was partially translated into English, Play Store was working though. But OTA was disabled.

I followed below instructions and completed "Flashing ROM". Now, it is p1a42. And NFC WORKS! (Confirmed by tapping in and out of the metro this morning).

So, for now I will not be touching this any further like root/ unlock bootloader etc in case this breaks NFC. I did notice however, I cannot update new OTAs as the download mode (bootloader) is still in Chinese, but THAT's OK! :)

Btw, any way to check which LTE bands are enabled/ being used?
[Lenovo Vibe P1 Guides, News, & Discussion] fanofdroid:
No matter how many times I flash twrp recovery, it still has the stock recovery. I hope I unlocked the bootloader. Not sure where I'm going wrong. fastboot device info shows

Device tampered : false

Device unlocked : true

Please help me on this
[Lenovo Vibe P1 Guides, News, & Discussion] MrQuickFX:
My guess woud be that you have unlocked device but bootloader is stock. Flash patched bootloader first (with QFIL) , then flash TWRP.
[Lenovo Vibe P1 Guides, News, & Discussion] 3ezzat:
works perfectly on s272 but when i return back to stock and did the s285 update and tried to flash unlocked bootloader and TWRP agian it fail and stay on the stock lenovo recovery no matter how many times i try
[Lenovo Vibe P1 Guides, News, & Discussion] Jagadish-ravi:
Just root it using twrp by

'fastboot boot recovery.img'

And flash twrp using flashify
[Lenovo Vibe P1 Guides, News, & Discussion] hondansx:
S285 success root + TWRP

I wish to report that after using QFIL to flash TWRP again it succeeded, and had to install 2.43 beta supersu zip (latest supersu failed) and it booted. Now rooted. Yay!
[Lenovo Vibe P1 Guides, News, & Discussion] deadman220:
When i dialed ####5993# i get row_notset and i put easyimage.zip on root directory and dial ####682# i get error i want to set it back

Iam not rooted do i need root
[Lenovo Vibe P1 Guides, News, & Discussion] ayazuddinkhan:
Flashing ROM with QFIL:

Getting ready:

Download and install on your PC:

vcredist_x86.zip

QPST_2.7.422.ZIP

Qualcomm_USBDriver_2.1.0.5.zip or Qualcomm_USB_Drivers.zip

Thanks for this post

I flashed the rom successfully , it helped me alot of fixing some issues

But one issue remains

OTA update install fails though it is downloaded succesfully

Any fix or solutuion

Regards
[Lenovo Vibe P1 Guides, News, & Discussion] ffira04:
From what step did you use to root s285?i'm quite confuse ..can you explained?
[Lenovo Vibe P1 Guides, News, & Discussion] hondansx:
Follow all instructions in OP. Take note to fish supersu beta NOT stable
[Lenovo Vibe P1 Guides, News, & Discussion] OpenMinded:
the ****ing driver doesn't install on this ****ing Windows 10. ****ing crap!! cannot install inf and how the **** should I install cab? Sorry for the ****s but I ****ing hate this infinite windows crap. How about some Linux drivers the next time? fucccccckkkkk!

Edit: it was a new but apparently not working cable. And windows
[Lenovo Vibe P1 Guides, News, & Discussion] ffira04:
where to get easyimage.zip? [MENTION=2499686]m0b[/MENTION]
[Lenovo Vibe P1 Guides, News, & Discussion] m0b:
They are manually picked by good people from OTA updates, or other sources.
[Lenovo Vibe P1 Guides, News, & Discussion] ffira04:
can you give me link? i cannot find anywhere..please :(
[Lenovo Vibe P1 Guides, News, & Discussion] m0b:
https://yadi.sk/d/hY3kNWJGrnpCU?ncrnd=5389

It's inside s272 ROM archive from link in first post.
[Lenovo Vibe P1 Guides, News, & Discussion] ffira04:
ok :) thank you
[Lenovo Vibe P1 Guides, News, & Discussion] OpenMinded:
After cursing, a defect cable, windows reboots I ended up with S285 but unable to flash recovery. Eventually went back to s272 and got the bootloader unlocked but no success. At some point I ran the unlock procedure and it worked after.

Now I have TWRP and root, but the OTA does not work.

What is the best way to update to the latest (S285) and keep recovery and root?
[Lenovo Vibe P1 Guides, News, & Discussion] pabgar:
You are a badass who spent many time here :p You want OTA then flash stock ROM:p
[Lenovo Vibe P1 Guides, News, & Discussion] OpenMinded:
Hi, yes, way too much time :). I am not following. I tried a flash of S285 now without recovery by removing that line from the xml file.

I want it all :). Mainly just stock with root is good enough for me.

It seems to be an unsanswered question for most people, so is it possible to:

- flash that TWRP on the S285?

- somehow run that in between OTA (28MB size) from TRWP without messing stuff up, or at least restore TWRP and root?

Thanks

P.S. edit: the xml change had no effect and recovery was back to standard unfortunately.
[Lenovo Vibe P1 Guides, News, & Discussion] ffira04:
not manage to flash twrp on s285 fimware

[MENTION=2499686]m0b[/MENTION] can you explained how you manage to flash twrp on s285?how many times i tried to flash twrp the recovery, the recovery will not change and stay on lenovo recovery..any solution?
[Lenovo Vibe P1 Guides, News, & Discussion] dreigosh:
I am facing the same problem ,i cant seem to unlock bootloader and flash recovery.:confused:
[Lenovo Vibe P1 Guides, News, & Discussion] m0b:
1. Flash stock s272

2. Update to s285 (or just skip #1 and flash s285)

3. Flash unlocked bootloader (only one bootloader is unlocked/unlockable, read first post carefully)

4. Flash recovery via fastboot or QFIL

Read first post carefully! You don't need to unlock bootloader you need to flash unlocked bootloader via QFIL!
[Lenovo Vibe P1 Guides, News, & Discussion] dreigosh:
I flashed S285, what do i have to do next, flash rawprogram_unlock.xml and rawprogram_twrb.xml from the S272 ?

Do i flash from the s272 folder or do i have o copy something to s285 folder.

Can you do a step by step for me please. i cant seem to figure it out,

Thanks
[Lenovo Vibe P1 Guides, News, & Discussion] m0b:
Flash rawprogram_unlock.xml (don't copy anything) reboot and flash rawprogram_twrb.xml.

Sometimes you need to do extra staff, but I have done without this:
[Lenovo Vibe P1 Guides, News, & Discussion] dreigosh:
Thank you man, after a couple of tries it worked ,

I had bootloader unlocked but when i flashed recovery it auto rebooted the system after the process was done and when i "adb reboot recovery" i had the original recovery somehow , so i flashed recovery again and hold the vol +- buttons just after it finished flashing so it entered TWRP .

10+ thanks
[Lenovo Vibe P1 Guides, News, & Discussion] Ma790:
I am having the same issue can't have twrp after updating to s285 tried reflashing many times but it sticks to lenovo recovery however it is working on s272.. any ideas?
[Lenovo Vibe P1 Guides, News, & Discussion] m0b:
Flash unlocked bootloader (rawprogram_unlock.xml) first!
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
Bro flashed s285 rom.

Then flashed unlocked bootloader.

Then checked unlock status using fastboot and confirmed it.

Then flashed twrp recovery using

a) qfil method

b) using fastboot method

But both way stock recovery is retained.

---------- Post added at 05:17 PM ---------- Previous post was at 05:15 PM ----------

Finally selected temporary boot to twrp recovery using fastboot. This way twrp worked then flashed supersu using twrp but twrp is only temporary
[Lenovo Vibe P1 Guides, News, & Discussion] Ma790:
Did so and it was already working on S272 but anyhow managed to get it working after flashing with QFIL and when the mobile is rebooting immediately press volume keys and it went into TWRP.

But the phone fingerprint sensor is no longer showing in the settings... anyone having problems with it?

Cheers
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
Please reboot several times in to recovery and check if it's finally permanent.
[Lenovo Vibe P1 Guides, News, & Discussion] m0b:
You can install permanent TWRP using "Install Image" in temp TWRP. But be carefull, you need to select recovery partition, not any other!

[IMG="TWRP: Install img"]https://2.bp.blogspot.com/-Rskk7cg_oaw/V20eiC_0VeI/AAAAAAAAC_s/uozRnTKNcQM6CCoIztpOtriwmK-90MkwACLcB/s640/TWRP.png[/IMG]
[Lenovo Vibe P1 Guides, News, & Discussion] ffira04:
[MENTION=2499686]m0b[/MENTION]..how do your install xposed?is there any specific step?
[Lenovo Vibe P1 Guides, News, & Discussion] m0b:
You just need version ARMx64 and nothing specific, just install via recovery.
[Lenovo Vibe P1 Guides, News, & Discussion] Drug_Store:
Which region should i select on list for use in europe (Portugal)?

Thank you

---------- Post added at 05:38 PM ---------- Previous post was at 05:26 PM ----------

I think recovery get´s overwritten up on restart, as was happening on Z2 Pro K920.

This was the instructions for Z2 Pro to permanent flash twrp.

Install ADB+Fastboot with drivers (I recommend this installer)
Enable ADB debugging on your phone (in Settings->Developer Options)
After connecting the phone to the PC, pop up may appear, tick Always allow from this computer and click OK
Extract downloaded recovery zip and copy .img file to C:/adb
Now open cmd line (press Start+R, type "cmd", press OK) and go to C:/adb (type "cd C:/adb" and hit Enter)
Reboot into bootloader (fastboot mode) (type "adb reboot-bootloader")
Your phone should now reboot into the bootloader (Little green android logo in the middle of the screen)
Flash the recovery.img (type "fastboot flash recovery recovery.img")
(*) Now boot into the recovery (type "fastboot boot recovery.img")
(*) Mount /system partition (In TWRP go to Mounts and tick System)
(*) [b]In TWRP open File Manager, go to /system and rename recovery-from-boot.p to recovery-from-boot.p.bak[/b]
Finally, reboot!
Done!
* You should do these steps only if you have Lollipop firmware (to prevent from TWRP being overwritten by stock recovery on each boot)

Maybe would work ... just giving my opinion ;) the essential is to rename "recovery-from-boot.p" file to "recovery-from-boot.p.bak"
[Lenovo Vibe P1 Guides, News, & Discussion] hondansx:
Update: Now with working S285 and NFC and rooted. Used LTE Discovery in root mode and it says both bands 3 and 7 are active. So flashing ROW rom over CN rom apparently does unlock the bands...
[Lenovo Vibe P1 Guides, News, & Discussion] Drug_Store:
And band 20?

Any easy tutorial to install twrp and root after having S285?

The deal is that I have S285 already, and read some complicated tutorial on russian foruns and mostly to S272 version.

Anyone can give some walkthrought?

Thanks
[Lenovo Vibe P1 Guides, News, & Discussion] dreigosh:
it is easy

download both S272 and S285 https://yadi.sk/d/hY3kNWJGrnpCU

Extract the arhives

Flash S285 and let it boot

Now flash unlock xml from the S272 folder and let it boot

Then flash twrp xml from the S282 folder bot do not let the phone boot up, after you press download hold volume up and down keys until you enter twrp, otherwise it will boot with the normal recovery.

That is all.

you will have permanent twrp
[Lenovo Vibe P1 Guides, News, & Discussion] _kyo_:
Hello everyone,

I was able to unlock bootloader flash recovery and root the phone, is it possible to get the original bootloader back if I flash rawprogram0-s272.zip ?

I believe the one installed is for Alcatel

Many thanks
[Lenovo Vibe P1 Guides, News, & Discussion] dreigosh:
If you flash back S282 you will get original bootloader back, but you will also lose twrp recovery and root.
[Lenovo Vibe P1 Guides, News, & Discussion] _kyo_:
thanks for your answer; yes i flashed P1a42_S272_160506_ROW_QPST using rawprogram0.xml, lost recovery and root :( alos fastboot flash recovery gave me an error even if the bootloader shows unlocked

OKAY [ 0.579s]

writing 'recovery'...

FAILED (remote: invalid signature and data)

i guess i need to flash the unlocked bootloader again to be able to use custom recovery
[Lenovo Vibe P1 Guides, News, & Discussion] binh_hdda:
Please help me: I flash:

1- S285 then let it boot

2- FLash unlock xml

But it can not boot, my phone cannot wake up.

I try to flash S285 again but my computer said The usb can not reconize and in SQRT have no port

What can I do now?!!!!
[Lenovo Vibe P1 Guides, News, & Discussion] dreigosh:
do you have the led turned on?

It happend to me oance during a flash, i had only led turned on , usb did not recognize the phone

Try to turn the phone off

Press the volume keys and the power button , hold it until the phone is completely off, it migh restart a couple of times.

Then try to flash again.
[Lenovo Vibe P1 Guides, News, & Discussion] binh_hdda:
I have flash S285and let it boot ---> it ok

I load XML from the S272 folder to load unlock xml ---> it did not reboot.

Pls send some pictures for instruction me...

Thanks
[Lenovo Vibe P1 Guides, News, & Discussion] dreigosh:
Ok, so you flashed S285, that's good

Now you flash unlock xml from the S272 folder but you also browse the 272 programmer, duh

Then you flash TWRP and hold volume +- and power until you enter recovery if you let the phone boot after the TWRP flash it will it will load the default recovery, at least for me it did so.

Hope that helps

No time for pics, sorry mate
[Lenovo Vibe P1 Guides, News, & Discussion] Starchm:
Hello guys, i installed xposed, with 3.0 alpha and the framework, then install darktube and it didnt work, and others same not work, some good think about it?
[Lenovo Vibe P1 Guides, News, & Discussion] pabgar:
Is is alpha so expect everything
[Lenovo Vibe P1 Guides, News, & Discussion] ProreX:
Hi guys,

I'm tring for third tie to get things done, unfortnately without success.

Let me tell you what I'm doing.

1. Qfil - 272 version, let phone reboot (it completely renew the phone (using rawprogram0.xml and patch0.xml)

2. After phone reboots completely, open system and add developer options, turn of the phone

3. QFIL to flash unlock bootloader (rawprogram_unlock.xml and patch0.xml)

4. Reboots phone completely, go to developer option and check that unlock bootloader option is enabled (always was)

5. Turn off phone

6. Flash TWP using rawprogram_twrp.xml and patch0.xml, let the phone reboots completely

up to this point everything goes smooth.

I have downloaded BETA-SuperSU-v2.43.zip, put it in ROOT of SD card.

Entered recovery TWRP 3.0.0 by holding vol+ and vol- during boot

selected option INSTALL

Selected SuperSU file

Started flashing from SD

Every information goes well. Now I have two options: Delete Cash and REBOOT. I pick REBOOT

After that phone goes black. No rebooting. I waited few minutes, nothing happened. Regular turning on does not work, if I connect it to PC it does not make connected sound or turn on light for charging (completely dead).

I had to turn on power key more than 10 sec and Lenovo logo showed, then it animated one sequence and stoped. Now I let phone wait for more than 10 minutes but it hang there.

Am I flashing wrong SuperSU file, am I'm missing some steps? what is going on?

Thank you for your help.

EDIT 1: I can enter to TWRP if do long press vol+/vol- and power
[Lenovo Vibe P1 Guides, News, & Discussion] dreigosh:
All the steps that you took are correct,

Re flash the phone and try again using this super su: https://download.chainfire.eu/696/supersu/

I tried different roms and never failed to root via twrp

Tell us how it went.

Good luck
[Lenovo Vibe P1 Guides, News, & Discussion] Starchm:
Before this maybe u can try to use su 2,46 and cache dalvick cache wipe. It wa the peoblem for me too but its worked for me
[Lenovo Vibe P1 Guides, News, & Discussion] dreigosh:
yes, do that

Why are you still using s272 when s285 is out ?

s272 has battery drain problem
[Lenovo Vibe P1 Guides, News, & Discussion] majormickey:
I'm currently on rooted s272 with TWRP recovery. Can someone points me to a step by step instructions on how to flash s285 with root and twrp? I searched but most instructions are partial, translated from Russian or not clear enough. Thanks before hand
[Lenovo Vibe P1 Guides, News, & Discussion] Starchm:
1. Flash s285 to your phone let it boot

2. Flash unlocked xml from s272 folder let it boot

3. Go to developer and check oem unlock

4. Flash twrp xml from 272 folder after u press download button press and hold vol up and down button umtil u get twrp

All file u see in first post
[Lenovo Vibe P1 Guides, News, & Discussion] ahmetoa:
I have problems :/ why this should be so harder.

I follow this steps with s272;

Flashing ROM with QFIL:

Flashing ROM:

Root (SuperSU):

after Root (SuperSU) phone stucked at Lenovo logo.

I close the phone and i flash s272, after that i flashed s285 with QFIL. Opened phone, set Google accounts, wifi etc. and did Flash unlocked bootloader & recovery step. I done it and i tried to open recovery and failed. It only entering Lenovo recovery.

Than i flash s285 again. After flash i choose Advanced flash unlocked bootloader & recovery step again. Done with BootLoader unlock: step and try Sometimes you need to do extra staff: step. When i run bat file phone restart and stuck on Lenovo logo. And cmd says < waiting for any device >. I only want to root this device.

Lenovo P1a42 6.0.1 i was using before i start all steps.
[Lenovo Vibe P1 Guides, News, & Discussion] ofsahin:
Did you try this yourself? Or anyone else can confirm this works?

I am on s285 thru OTA update. Unlocked the bootloader. But I can't flash the twrp recoveries in the first post with fastboot.

I don't want to erase user data while flashing twrp.

Thanks
[Lenovo Vibe P1 Guides, News, & Discussion] Starchm:
Yes i did it my phone without any problem

---------- Post added at 01:21 AM ---------- Previous post was at 01:18 AM ----------

start flash the twrp and press and hold vol up and down after u press download in qfil until u get twrp recovery
[Lenovo Vibe P1 Guides, News, & Discussion] Starchm:
i flash the unlock qfil, i think it is easy , same like the twrp but get the xml unlocked and for programmer use the s285 programmer... in few mins i will make screens from qfil for u

First use this for BOOTLOADER UNLOCK LET BOOT and oem unlock in developer

Scond use this for TWRP after u press download, press volume DOWN and UP until u get TWRP

first photo gyazo.com/4bdbce97da82aabfc57ab78ac14db447

second photo gyazo.com/48bf90d4005833aac0b641bfb86519de
[Lenovo Vibe P1 Guides, News, & Discussion] ahmetoa:
i did and i have twrp now. i used phone and it works. but after flashing SuperSU its locked again, only Lenovo logo :(
[Lenovo Vibe P1 Guides, News, & Discussion] Starchm:
Try su 2.46 and dalvick cache + cache delete after su install
[Lenovo Vibe P1 Guides, News, & Discussion] amitritu_1509:
HI,

Same happened with me.

Just now i tried different version of SU.

flash the attached su file and clean cache.

it worked for me.
[Lenovo Vibe P1 Guides, News, & Discussion] ahmetoa:
2.76 working, with 2.46 stuck at Lenovo logo.

Hi, yes i successful with this version too. Sorry i wasn't able to login xda.
[Lenovo Vibe P1 Guides, News, & Discussion] Drug_Store:
There´s a OTA update (~30MB)... anyone tested? will lose root, correct?

Nevermind, found it.

http://xdaforums.com/showpost.php?p=68104323&postcount=444
[Lenovo Vibe P1 Guides, News, & Discussion] pacc8:
is it in italian language?
[Lenovo Vibe P1 Guides, News, & Discussion] Starchm:
what u want?
[Lenovo Vibe P1 Guides, News, & Discussion] pacc8:
'

vibe ui 3.0 mashmallow is in italian?
[Lenovo Vibe P1 Guides, News, & Discussion] Muzam:
cannot flash recovery

unlocked the bootloader but

i got the exact same error while flashing recovery , i would appreciate your help

also tried the adb mode and got this ( refer ss )

please help ,.

https://drive.google.com/file/d/0BysI9Io_P1sAdXRsUHJ0LWdDWWM/view?usp=sharing
[Lenovo Vibe P1 Guides, News, & Discussion] ofsahin:
figured out the problem i had. in qfil, after pressing download i pushed vol up and down buttons immediately. i got in to twrp. the log i shared before is the same but i got in. then flashed the supersu. twice. after couple of restarts i have root on the rom s288.

thanks
[Lenovo Vibe P1 Guides, News, & Discussion] anasid123:
On trying to flash TWRP on S288 (Latest Marshmallow ROM), the following error pops up:

FAILED(invalid signature and data).

So since I cannot install custom recovery, even though my bootloader is unlocked, I cannot root my phone. Anyone help?
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
It seems either the procedure or recovery image file is corrupt.

Try downloading recovery image again and then falsh it.

Try to boot into bootloader and temporarily boot in twrp recovery using adb command if that works then you can use same image file to permanently flash recovery image from adb itself.
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
Hey bro I didn't understand what is hot boot...

1. I restart phone and WiFi works.

2. I switched off then turn on still wifi works.

What else you want me to check exactly...
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
Ok understood... Hot reboot means entire system won't reboot just the main system apps restarts....

I checked and after fast boot my mobile connected to wifi network automatically.
[Lenovo Vibe P1 Guides, News, & Discussion] bluke:
I got bluetooth crash when I open bluetooth after flash TWRP on S288 of this topic

http://xdaforums.com/vibe-p1/development/p1a42s288160721row-twrp-t3443881
[Lenovo Vibe P1 Guides, News, & Discussion] bluke:
I can't flash recovery it show that error and still Lenovo recovery
[Lenovo Vibe P1 Guides, News, & Discussion] sreerij:
Same happened with me.

Just now i tried this version of SU (UPDATE-SuperSU-v2.76-20160630161323.zip),

its working perfectly now thanks ... :):):) :good::good::good:
[Lenovo Vibe P1 Guides, News, & Discussion] majormickey:
I tried flashing the S288 TWRP backup and I also ran into loads of problem (Restart on incoming call, root explorer not working, etc). Went back to my previous s272 backup and everything went back to normal again. Guess restoring backup from someone else's phone is not really a good idea
[Lenovo Vibe P1 Guides, News, & Discussion] mohamed abd elmoaety:
[MENTION=2499686]m0b[/MENTION] do you have any custom rom for this device?? or you can port one like cm13 . plz give a try.
[Lenovo Vibe P1 Guides, News, & Discussion] m0b:
Nope, still nothing :(
[Lenovo Vibe P1 Guides, News, & Discussion] shreehacker:
I dont know what shoud i do now USB driver not working :(

hello guys i tried all process to install that drivers. MTP connection success with my cable just for sure cable is fine. but not working after i switch off an vol up press and connect device . i attached sceenshot plz help .

i did usb drive install and also try all method from google search
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
Which OS.... JUST to clarify one thing.

The drivers are not signed drivers so windows 8 onwards won't allow them to be installed. It seems you are on Windows 10.

To install unsigned drivers on Windows you will have to boot in test mode by enabling "allow installing unsigned drivers".

Lookup Google for further details on how to do this if not understood.
[Lenovo Vibe P1 Guides, News, & Discussion] shreehacker:
thanks for reply ..

i am using windows 8.1 and i tried boot in advance mode using disable driver signature

i have another pc with windows 7 .. should i use that pc ?
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
Both method should work. I have attempted on Windows 7 and windows 10. It works on both but obviously you have to install by disabling signature verification and during use also.
[Lenovo Vibe P1 Guides, News, & Discussion] jho_zep:
Sir... I have a noob question. Want to flash my P1c58 build..... Is possible to flash it using a P1a42 build...? Checked my ####5993# region and its set on P1a42... I hope someone help me out...
[Lenovo Vibe P1 Guides, News, & Discussion] kuyaavinz:
Please help. How do i root my lenovo vibe p1 (p1a42) if I'm coming from s288 stock rom? Regards.