QPST flashing + VibeUI 3.1 S272 ROM + Unlock BL + TWRP + SuperSU + Region change

hondansx

Senior Member
Mar 19, 2013
127
32
0
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?

Thanks to:


Flashing ROM with QFIL:
Getting ready:

  1. Download and install on your PC:
  2. Turn off your Vibe P1.
  3. Hold Volume Up key and plug in USB cable conected to PC.
  4. Open Device Manager on PC (press win+r and type "mmc devmgmt.msc" without quotes) then seek Qualcomm Lenovo HS-USB QDLoader 9008 in COM & LPT ports.
  5. If you can see Qualcomm Lenovo HS-USB QDLoader 9008, you are ready to flash!
Flashing ROM:
  1. Downoad QFIL ROM ( for exampe: https://yadi.sk/d/hY3kNWJGrnpCU?ncrnd=5389 ) and unpack it.
  2. Find QFIL in your Stary menu and launch it.
  3. Select Qualcomm Lenovo HS-USB QDLoader 9008 (COM*) port by using "Select Port..." button
  4. Click "Browse..." near "Programmer patch" field and select prog_emmc_firehose_89**.mbn file from the ROM's folder.
  5. Click "Load XML…" and select "rawprogram0*.xml" file and then select "patch0.xml" file.
  6. Press "Download" button and wait untill it ends (reboot or "ready" message).
  7. If "ready" message appears and device does not go to reboot, then hold Volume UP + Power buttons for ~12 sec.
Flash unlocked bootloader & recovery:
  1. Read "Flashing ROM" manual
  2. Download P1a42_S272_160506_ROW_QPST (+uBL +Recovery + Root +region ) and unpack it.
  3. If you have different ROM installed, then flash S272 (by selecting rawprogram0.xml) otherwise go to the next step.
  4. Flash unlocked bootloader (by selecting rawprogram_unlock.xml) and reboot into ROM.
  5. Open developers options and select "OEM unlock".
    Also you can check Bootloader status by rebooting to bootloader and typing "fastboot oem device-info" (without quotes), if it still locked, then type "fastboot oem unlock-go" (without quotes).
  6. After (and only then) bootloader will be unlocked you can flash custom recovery by one of following ways: by QFIL, selecting rawprogram_twrp.xml or bootloader (fastboot flash recovery recovery_twrp.img).
  7. When recovery is flashed, you can get into it by holding Volume UP + Volume DOWN keys while booting or using "adb reboot recovery" console command (without quotes).


Advanced flash unlocked bootloader & recovery:

BootLoader unlock:
  1. Download file: emmc_appsboot.zip
  2. Unzip.
  3. Add listed files from QFIL-ROM to the same folder:
    • prog_emmc_firehose_8936.mbn
    • gpt_main0.bin
    • gpt_backup0.bin
    • rawprogram0.xml
    • patch0.xml
  4. Run rawprogram0-fix.bat
  5. Flash using QFIL, by selecting rawprogram0_aboot.xml.

Sometimes you need to do extra staff:
  1. Open developers options and turn on:
    • ОЕМ unlock
    • USB debugging
  2. Download: unlock-bl.zip
  3. Unzip.
  4. Plug USB cable and run unlock-bl.bat
  5. wait until "Ready!" or the window disapire
  6. Ready!

Custom recovery (TWRP):
Method one, fastboot:
  1. Download: TWRP-FB.ZIP
  2. Unzip.
  3. Run rec-inst.bat

Method two adb(Root needed):
  1. Download: TWRP.ZIP
  2. Unzip.
  3. Run rec-inst.bat


Root (SuperSU):
If you suscesfully unlocked bootloader and flashed recovery then you can:
  1. download latest SuperSU
  2. Put it to you sdcard (do not unpack it!)
  3. Reboot to recovery and install ZIP.

Region:

To find out which region is set dial ####5993# or ####59930# using stock dialer

To change region:
  1. Put easyimage.zip to root of SDCard
  2. Dial ####682# using stock dialer

To get back to stock (for updating, etc.):
Flash stock ROM with QFIL.
You can use s272 listed above, but you also need to download, unzip and change rawprogram0.xml file before flashing to get stock recovery!
 

fanofdroid

Member
Feb 20, 2013
17
3
0
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
 

MrQuickFX

Member
Nov 1, 2008
20
21
0
Zagreb
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
My guess woud be that you have unlocked device but bootloader is stock. Flash patched bootloader first (with QFIL) , then flash TWRP.

Sent from my Lenovo P1a42 using XDA-Developers mobile app
 
  • Like
Reactions: m0b

3ezzat

Senior Member
Apr 3, 2016
96
19
0
29
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
 

hondansx

Senior Member
Mar 19, 2013
127
32
0
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!
 

deadman220

Senior Member
Jan 4, 2013
120
28
48
Zagazig
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
 
Last edited:

OpenMinded

Senior Member
Oct 26, 2006
884
67
28
Thanks for the great tutorial !
What is the difference between flashing unlocked bootloader & recovery: the easy way and advanced ?
Or there is no and both mkethods lead to same end ?
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
 
Last edited:

OpenMinded

Senior Member
Oct 26, 2006
884
67
28
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?
 

OpenMinded

Senior Member
Oct 26, 2006
884
67
28
You are a badass who spent many time here :p You want OTA then flash stock ROM:p
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.
 
Last edited:
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone