yashsingh1/xdaforums huggingface dataset:
[Lenovo Vibe P1 Guides, News, & Discussion] dheerubhai:
I followed every step said in video but i didn't get twrp. So I flashed twrp via adb and cleaned Cache, Data and Dalvik but still stuck on 'Initializing' Screen with Lenovo Boot Logo. It lasted until battery died.

And ADB is not detecting my phone now.

Charger is working fine but Led is not blinking.

I also tried to Force shut down by pressing Volume+ Volume- and power button simultaneously but it restarts again.

Also tried other key combinations but nothing worked. It only restarted once in Stock recovery when i was trying key combinations.

---------- Post added at 09:29 AM ---------- Previous post was at 08:30 AM ----------

Looks like I've got permanent twrp recovery.

I've to use 'Volume UP+Volume Down+Power Key' to restart and when it restarts just leave Power key but keep holding 'Volume UP+Down' Button until it shows twrp.

I just want to ask 'how to flash stock recovery via twrp' and where to find Stock Recovery. Bcoz service center guys will not accept it in this condition under warranty.

Or is there any thing I should try? Reflashing via QFIL didn't help as my phone stucks on 'initialising Screen.

Thanks a lot for help [MENTION=7264903]Smarty_009[/MENTION]

Update:

Wiped everything via twrp.

and then I flashed 'P1a42_S288_160721_ROW_RAW_QFIL' with xml file 'rawprogram0', it showed some errors before completion but phone restarted and working fine.

I've attached log file. Please check and let me know if it can cause any problem or I need to do something else.

Thanks again. [MENTION=7264903]Smarty_009[/MENTION]
[Lenovo Vibe P1 Guides, News, & Discussion] dheerubhai:
Thanks [MENTION=5007130]amitritu_1509[/MENTION] for providing correct Supersu. It works fine. Just rooted and granted permissions.

Thanks [MENTION=7264903]Smarty_009[/MENTION] for mentioning post #82 and giving all steps. It was too easy.

Actually I was following steps as given in Video but there is a mistake in it and it should be corrected otherwise it will not work.

After flashing xml file and downloading process via QFIL we need to press and hold Volume UP+Down keys simultaneously till it boot into TWRP and then install 'UPDATE-SuperSU-v2.76-20160630161323' as said above.
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
Well I will reconfirm the steps.
[Lenovo Vibe P1 Guides, News, & Discussion] kelly66:
Hey Smarty_009, tried flashing through QFIL (after taking TWRP backup) for 3rd time and it went through without any issues. Did not reboot intially since USB port was still connected, I guess. Then I went back into recovery and rebooted again after removing the USB cable and it rebootted fine. Checked root status through Root Checker and it said Rooted.

Thanks a ton for all your help, buddy.!
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
It would wait for some time then restart automatically. Anyways now it's working so great.
[Lenovo Vibe P1 Guides, News, & Discussion] affroz:
Large files may have been uploaded to google drive

Large files may have been uploaded to google drive
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
Dear did not understand anything clearly. What do you expect exactly?.

Do you want Google Drive link of some big files?... Which one?
[Lenovo Vibe P1 Guides, News, & Discussion] affroz:
The file ending with qfil
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
Sorry bro couldn't understand..

Please post in hindi or any other language whichever is comfortable. But please write in detail what is your problem and what you expect.
[Lenovo Vibe P1 Guides, News, & Discussion] affroz:
The one ending with qfil.rar
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
You mean you want s288 complete rom qfil flashable. Wait...
[Lenovo Vibe P1 Guides, News, & Discussion] affroz:
Yes
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
http://4pda.ru/forum/index.php?showtopic=703249&st=2840#entry51983275

https://yadi.sk/d/hY3kNWJGrnpCU

---------- Post added at 06:48 PM ---------- Previous post was at 06:46 PM ----------

Hope this will be helpful.
[Lenovo Vibe P1 Guides, News, & Discussion] affroz:
i downloaded easyimage_S272 2 time. both time i received corrupted file which cannot be extracted.

please upload atleast this file to google drive for fast download.
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
You will need full rom s288. These uploaded files are not mine. I will have to upload whatever you want tomorrow. In India it's late night. Am sleeping now. Personal message me what you need I will upload tomorrow.
[Lenovo Vibe P1 Guides, News, & Discussion] imroz19121:
I'm facing the same problem..... I have patched Bootloader with QFIL nothing happens
[Lenovo Vibe P1 Guides, News, & Discussion] zserpico:
When I reboot in fastboot after I have plugged the device, when I digit "adb devices" nothing appear. I have the P1C72
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
Bro adb devices is a command to be used when you are in adb mode.

When you are in fastboot mode you have to use command fastboot devices.
[Lenovo Vibe P1 Guides, News, & Discussion] zserpico:
EDIT: when I digit "fastboot devices" nothing appear. When I digit "fastboot oem device-info still waiting for device...
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
Let's go one by one.

What do you want to do exactly you tell me.
[Lenovo Vibe P1 Guides, News, & Discussion] zserpico:
I can't unlock the bootloader (or check if it's already unlocked). I've rooted with QFIL correctly and installed TWRP. But I want try to install custom roms, and the unlocked bootloader is a requitement. Thanks for the patience

And I do not have your same result with adb
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
Your bootloader is unlocked if you have twrp. Out P1a42 had root since ages but custom recovery didn't appear until bootloader can be opened. You need not worry.

But choose custom rom wisely. I bricked my phone 10 times at least while trying custom roms. Take qcn backup before you proceed and follow guidelines meticulously. Read all the details and reviews carefully.
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
Anybody from INDIA with rooted P1a42

Anybody from INDIA who has already rooted his Lenovo Vibe P1 (P1a42) could help me.

I have bricked my phone. I need qcn file which i can restore on my device. I have my original qcn file as well as imei nos but for some strange reasons it does not work. Whenever i put my qcn file my cell radio is forced in to off state only and could not be turned on by any means.
[Lenovo Vibe P1 Guides, News, & Discussion] zserpico:
Thanks! I want to try the Android Ice Cold Project Rom, not now maybe when I have another principal smartphone :). Have you tried it?
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
I tried AICP but after restoring to android 6.0 back on S288 rom i bricked my phone.

My still trying to recover the same.

---------- Post added at 06:41 PM ---------- Previous post was at 05:59 PM ----------

Can someone from India make a full firmware backup like demonstrated in this video

[youtube]Xqjy9QyvFJE[/youtube]

My phone is bricked as I want to make clone and then replace my imei no in it.
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
Hey Guys anybody knows how to resolve this error while downloading QFIL.

"ERROR: function: sahara_rx_data:194 Unable to read packet header."

Real reasons for this error is not known to me.
[Lenovo Vibe P1 Guides, News, & Discussion] pabgar:
Tried to re-download the files ? Maybe files corrupted during internet transfer ?
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
Bro i have those downloads downloaded on my disk long long ago and all were working fine always. I have done those flashing numerous number of times using same data. So its not the currupt files something wrong somewhere else.

Anyways i changed the os from win 10 x64 to win 7 x86. Then all went well. Now i have recovered my phone.

I had to erase complete EMMC and make a single partition of 29GB ExFat and then using QFIL i installed the S288 ROM.

But it seems there are some partitions not written to ROM when we flash using S288 ROM rawprogram0.xml like fsc, ssd, modemst1, modemst2, DDR, fsg, sec, devinfo, splash, persist, misc, keystore, config and oem. Due to these missing information i am not sure what all i am going to suffer now. After first boot i did not had some of the information. I have restored my on qcn backup using QFIL. But strangely now am not able to set my CELL RADIO to ON and on CDMA workshop/ QXDM my phone is shown as CDMA mode.

I guess i need to flash stock ROM data on these partitions as the flash process wants to keep these information intact after flashing of ROM. But in my case now it is not present.

It will be great help if someone can make/give complete all partition image or ROM.
[Lenovo Vibe P1 Guides, News, & Discussion] pabgar:
https://drive.google.com/open?id=0B2P_ip9hksA-b3dmSjVUam04Qk0

I am not sure if this is what you are looking for. This is the TWRP image of my phone of all partitions.

Can't help further as P1 is already sold and I am on P2
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
No I had checked this backup but it doesn't work in that problem. Anyways, now I have solved my problem and my vibe P1 is all good. Thanks for the help though.
[Lenovo Vibe P1 Guides, News, & Discussion] suryaphanitej:
hey i flashed twrp recovery through minimal adb and fastboot in my lenovo vibe p1, but when i boot into recovery, it's getting struck at lenovo logo and when i reboot the phone and reboot into recovery, it is showing stock recovery. i unlocked bootloader by using minimal adb and fastboot with command "fasboot oem unlock". what am i doing wrong? can anybody help me? i cant flash with qfil because volume up button is not working in my phone so i cannot connect my phone to qfil.
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
Do exactly like demonstrated in this video by me.

[youtube]GY3Cfa9-rMo[/youtube]

---------- Post added at 05:01 AM ---------- Previous post was at 04:57 AM ----------

1. Flash recovery from adb and then reboot into recovery.

If by mistake you boot in to the system then stock recovery will be restored automatically. This is what happened in your case.

2. Ensure your recovery file is correct and not corrupted firstly boot in to the custom recovery without flashing as demonstrated in the video when you get in recovery mode you may flash super Su and then flash recovery.
[Lenovo Vibe P1 Guides, News, & Discussion] suryaphanitej:
its not happening

even when i try to boot into recovery before flashing, its getting struck at lenovo logo. i tried multiple recoveries and the result is same with every recovery, can you give me the exact link so that i can give it a try?
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
Do you get stuck at logo after you use command

adb reboot-bootloader

It seems you are at fastboot mode and that is normal
[Lenovo Vibe P1 Guides, News, & Discussion] suryaphanitej:
nope

Are you serious ? I'm not a noob, I'm telling that after booting into recovery, its getting struck. I'm new to XDA not to rooting and flashing
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
Hey bro am not God here to know what are you doing there and where you went wrong.

So please don't expect anybody over here to help you out exactly with the solution you expect while you yourself are not sure what you did wrong. We all can only guess.

Go back and read everything from post 1 and you will know what everybody has done so far. Where people were stuck and what are the remedies. Everything is there in all older posts. You are not the first person to flash twrp and root.

You didn't care /take pains to go through older posts and now you are getting annoyed on someone who is trying to help. If everyone is able to do (even the noob like me) then if you are not able to do means something is wrong with your steps.

Sorry ? for my mistake. Please go read older posts and help yourself.
[Lenovo Vibe P1 Guides, News, & Discussion] suryaphanitej:
its okay

hello emotionalised buddy, you didn;t understand what i told, end of discussion.

one thing- i came here after all my efforts of reading every single comment in every single thread and experimenting with every possible way. understand first, read next.

you can ask me any doubts if you want, i have a decent knowledge about these stuff. we need not hate each other for a simple misunderstanding.

im always happy to help.:D cheers :cool:

---------- Post added at 09:22 AM ---------- Previous post was at 09:16 AM ----------

the only help i require from you is the link of recovery you used for p1a42

thanks in advance
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
Hey guys watch this video and ensure your bootloader in unloked before you proceed. With a locked bootloader you cannot replace stock recovery.

https://youtu.be/3T9GjBvsqg0

If you need to download the recovery.img which i have used please find at this link

https://drive.google.com/open?id=0B4sVjIq3mEMDaVh1WTVFclZWcmM

Hope this will help you guys.

Or you may download this zip file.

https://drive.google.com/open?id=0B4sVjIq3mEMDY3NKZHZKbDFHYWc

After you download this zip file extract it into the folder where adb and fastboot exe are present. This zip file has two files one is batch executable file and other is twrp recovery. Once you extract run the batch file and wait for display on twrp splash screen on your phone. Once you booot in to the twrp just install superSu to get root access.

Please test this zip and let me know if this works for you. I could not check its serviceability.
[Lenovo Vibe P1 Guides, News, & Discussion] suryaphanitej:
doesn't work for me

here is the screenshot of my device info and when i boot into the recovery you provided, it got struck at lenovo logo.
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
I used same recovery img and adb also am on S288 rom only. But I did not face this issue. I have no idea.
[Lenovo Vibe P1 Guides, News, & Discussion] suryaphanitej:
thank you for you help

thanks for your time to help me bro. i really appreciate it:cowboy:
[Lenovo Vibe P1 Guides, News, & Discussion] kartik@xda:
can any body help me out, i have lenovo vibe p1 a42 and i want to root it , but in every different thread i find new and diffrent ways to root , please can any body tell me a genuine woring and self tested way to root it, in detail . PLEASE !!!!!
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
[youtube]kFWmrzcl6pA[/youtube]

Hold volume up and down both when you press download.

If your flash is successful but you still don't get twrp then

[youtube]3T9GjBvsqg0[/youtube]

If bootloader is unlocked then

[youtube]GY3Cfa9-rMo[/youtube]

This will get you twrp by adb method
[Lenovo Vibe P1 Guides, News, & Discussion] sreerij:
Unable to flash TWRP

fastboot oem device-info

(bootloader) Device tampered: true

(bootloader) Device unlocked: true

(bootloader) Charger screen enabled: false

(bootloader) Display panel:

OKAY [ 0.043s]

finished. total time: 0.047s

C:\adb>fastboot flash recovery recovery.img

target reported max download size of 268435456 bytes

sending 'recovery' (30606 KB)...

OKAY [ 0.995s]

writing 'recovery'...

FAILED (remote: invalid signature and data)

finished. total time: 1.242s

tried QFIL method also showing flasing done but recovery is not coming

while trying to boot to recovery its showing device " device has failed verification and may not work correctly

for more info goto g.co\placeholder ...? :confused::(

first time i am getting this kind of message someone guide me whats wrong ..?:rolleyes::rolleyes:

Update : Solved issue by flashing P1a42_S288_160721_ROW_RAW by QFIL method
[Lenovo Vibe P1 Guides, News, & Discussion] RK_D2502:
Just follow Smarty_009's detailed instructions. I was running Lineage OS 14.1 and Aosp Extended RoM for several days. Reverted to stock S288 rom about an hour ago. I had problems with cpu scaling with custom roms. Extended rom runs great on games. Will flash it again once they implement Interactive as its default cpu governor.

For stock S288 installers:

the best way to unlock bootloader andbTWRP is by QFIL.

After the initial setup, enable developer options, tick allow oem unlock.

- power down phone

- press and hold volume+ while connecting a known good usb data cable.

- Qualcomm drivers should install. If successful, com port should appear on Windows Device Manager and QFIL (Select Port)

- load rawprogram0_aboot+twpr.xml and patch0.xml. And then Download....

- Here's the key, press and hold volume +/- as soon as the installation reaches 99%. Forcing to reboot into recovery.

- once in twrp flash supersu beta 2.74/2.76

- wipe dalvik cache. Reboot

even on my i7-3770k, only QFIL is running each time I flash something.
[Lenovo Vibe P1 Guides, News, & Discussion] sreerij:
Thanks for the quick reply,

Already tried the QFIL method as Smarty_009 told. but nothing works... still not able to install recovery .. :(:confused::rolleyes:

Any idea why that error " FAILED (remote: invalid signature and data) " ..?
[Lenovo Vibe P1 Guides, News, & Discussion] chanhensem:
Thanks OP

but i have issue which when my phone is locked after 15min and above it will turn off automatically

I found a work around that might be useful for others too.

Just install SOD Killer from Play store ( official link) SOD Killer

This app ensure your phone awake when you locked your screen, but there is no major issue with battry drain for me.

This fixed the problem.

As of now, my phone works fine with no auto shut down after i locked my screen. Hope it helps.

I believe it might work with other custom ROM as well.

Cheers
[Lenovo Vibe P1 Guides, News, & Discussion] cersajuana:
Hi, i need help.

I had RR Rom and in tray to return ro stock rom.

The problem its was when i used qfil to flash rom my phone had a hard brick and dont turn on.

All The time bue led its on, when conect to pc 7 drives shows and qfil say that failed to swich to emergency donload mode.

Somebody can help me ? Thanks
[Lenovo Vibe P1 Guides, News, & Discussion] Starchm:
Volume up then connect to pc, what u see in device manager?
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
[youtube]ZU1vu5diGsE[/youtube]

Watch this video and read complete description. Also refer links given in description. I made it. Hope this will solve the problems.
[Lenovo Vibe P1 Guides, News, & Discussion] hondahornet:
Hi

I have now S272...ON P1C72..Can I upgrade to S288..It will work or not?

thanks
[Lenovo Vibe P1 Guides, News, & Discussion] Starchm:
Ofc u can, but u can go to custom roms too
[Lenovo Vibe P1 Guides, News, & Discussion] Disillusioned:
I'm in a remote location and unable to download P1a42_S288_160721_ROW_RAW_QFIL.rar, which is a 2GB file.

Would someone be able to help me with below files from the package.

prog_emmc_firehose_8936.mbn

rawprogram0_aboot+twpr.xml

patch0.xml

My intent is to root the phone and flash TWPR without restoring it to factory status.
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
If I assume that you are already on S288 stock rom then also you will need few more files. Like unlocked bootloader and twrp recovery image. I will try to upload tonight. Please standby...
[Lenovo Vibe P1 Guides, News, & Discussion] Disillusioned:
Thanks for the revert.

I surely am on S288, just that I'm unable to download the 2GB file.

Would highly appreciate if you can upload the required files on priority.
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
Sorry ? for the delay bro.

https://drive.google.com/file/d/0B4sVjIq3mEMDc0VjbGhEWWZMTWs/view?usp=drivesdk
[Lenovo Vibe P1 Guides, News, & Discussion] midowyvern:
Can you please upload rawprogram_unlock.xml
[Lenovo Vibe P1 Guides, News, & Discussion] 01erastus:
flash failed

how to solve

Download Fail:System.Exception: Failed to set the send data delay for the phone using FireHose

at QC.QMSLPhone.Phone.QPHONEMS_FireHosePower(String Action)

at QC.SwDownloadDLL.SwDownload.FireHoseDownloadImage(Boolean bResetPhone, List`1 rawprogramFilesList, List`1 patchFilesList, Single& fImageSizeInMB, Single& fThroughput)

Download Fail:FireHose Fail FireHose Fail

Finish Download
[Lenovo Vibe P1 Guides, News, & Discussion] midowyvern:
You have no idea how hard this is for someone who is a newbie and is trying this for the first time ever, but the satisfactory feeling i got after seeing the SU app on my screen was priceless . i would like to thank all of you for what you have taught me and for the help and support keeping this thread alive. keep up the good work :D :good:
[Lenovo Vibe P1 Guides, News, & Discussion] ganeshkumarvgk:
adb reboot-bootloader is not working

when i use adb reboot-bootloader command lenovo logo gets stuck and bootloader is not showing up.

Please help !!!!
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
That is the bootloader screen. Use fastboot commands and you will know.
[Lenovo Vibe P1 Guides, News, & Discussion] ganeshkumarvgk:
I tried using fastboot commands but it shows fastboot is not recognized as internal or external command. Help me !
[Lenovo Vibe P1 Guides, News, & Discussion] Smarty_009:
You did something wrong. If adb fastboot is installed and you are in command prompt in same directory this cannot happen.
[Lenovo Vibe P1 Guides, News, & Discussion] ganeshkumarvgk:
I got the thing. I was not using proper sdk tools in the path
[Lenovo Vibe P1 Guides, News, & Discussion] OmarPlus:
Hello,

Thanks for the efforts!

I tried downloading the unlocked bootloader but the link doesn't work anymore. I unlocked my bootloader (using fastboot oem unlock) and tried flashing TWRP using fastboot, it says FAILED- too many links :confused:

what am I doing wrong here? I need TWRP to flash su to root the device..

any help would be appreciated, Thanks! :good:
[Lenovo Vibe P1 Guides, News, & Discussion] Starchm:
Use qfil method it is easier and 100% work. U can see it in my guide in guide section
[Lenovo Vibe P1 Guides, News, & Discussion] OmarPlus:
Okay I'm gonna try it, thanks!

Update: The link for P1a42_S288...zip also doesn't work! Can someone give me a working link please?
[Lenovo Vibe P1 Guides, News, & Discussion] Starchm:
Fully working for me. anyway: https://yadi.sk/d/hY3kNWJGrnpCU?ncrnd=5389
[Lenovo Vibe P1 Guides, News, & Discussion] iBab:
is it work for VIBE P1 TURBO ???:confused::confused::confused::confused:
[Lenovo Vibe P1 Guides, News, & Discussion] Sahib Pandotra:
yes it works on vibe p1 turbo
[Lenovo Vibe P1 Guides, News, & Discussion] ioosis:
Could you pass a guide link for fast boot oem unlock plz

could you pass a guide link for fast boot oem unlock plz

---------- Post added at 03:42 PM ---------- Previous post was at 03:37 PM ----------

COULD you pass a link plz
[Lenovo Vibe P1 Guides, News, & Discussion] devingubler1:
odd looking bootloader on my p1a42

attached is a pic of the screen of my p1a42 when power+voldown. is this normal? how do you work with this?

p1a42 bootloader screen

in case that imgur link didnt work:

imgur.com/a/0abQ9

you may have to put https:// in front of imgur.com

just wanting to upgrade from 6.0.1 to nougat. any help would be truly appreciated.
[Lenovo Vibe P1 Guides, News, & Discussion] Floenum:
hi, so i was looking at s288 rom and i found rawprogram0.xml and rawprogram0_aboot+twrp.xml, i only need a unlocked bootloader and twrp.

so what the difference about 2 of them and what should i choose?
[Lenovo Vibe P1 Guides, News, & Discussion] Starchm:
0.xml for reflash stock rom, 0_aboot... xml for unlcok bootloader and install twrp.
[Lenovo Vibe P1 Guides, News, & Discussion] Floenum:
ok, i also forgot to question what is patch0.xml for?:confused::confused:
[Lenovo Vibe P1 Guides, News, & Discussion] cliff_cats13:
USB not recognized

Hello there. Is there someone who experienced usb not recognized when entering the fastboot mode?I already tried different usb cable, different pc and os but still nothing.Can someone help me please.:(
[Lenovo Vibe P1 Guides, News, & Discussion] MoemenMoemen:
thx again ur amazing :D