FORUMS

Nexus & Cookies: A More Focused Direction?

It is that time of the year again, and we are approaching the day where Android fans all over … more

LG G4 US Carrier Release Dates

The LG G4 was announced on April 29th with its Snapdragon 808 SoC, a welcomed change from its higher-end … more

Microsoft Reaches Pre-Install Agreement With New OEMs

As of late, Microsoft has been making a subtle but widespread play into the … more

Discover XDA: Discover Greater

We’ve all been there at some point in our XDA lives; we used to spend hours browsing over the … more
Post Reply Subscribe to Thread Email Thread

[GUIDE] Return your OPO to 100% Stock (Current Build - CM12S - YNG1TAS17L)

23rd May 2015, 05:24 PM |#531  
Senior Member
Flag Washington
Thanks Meter: 35
 
More
Quote:
Originally Posted by LiquidSolstice

So, through two friends in the past two days who have used this guide, I have learned something EXTREMELY important. Do NOT reboot immediately after each step (fastboot reboot-bootloader). Do it at the end. Twice now, after flashing the rpm and rebooting, they brick their phones.

If you brick your phone (black screen, doesn't seem to turn on, no lights, no vibrate), do NOT PANIC. You do NOT need to send it back to OPO. All you need is a Windows PC and a couple minutes of time. It is extremeley easy and straight forward to unbrick it and go back to a state where you can repeat the process in this thread. http://forum.xda-developers.com/onep...s-one-t3013732

OP, you really, really should consider removing all the "fastboot reboot-bootloader" steps. Until all images are flashed, you really shouldn't reboot the bootloader at all.

I tried to use this method two different times yesterday to go back to full stock and hard bricked both times. Thanks to your link i was able to recover both times and now am wondering really how to go back to full stock CM (not colorOS). Today ill try with an older factory image not the cm12 version.
 
 
23rd May 2015, 10:13 PM |#532  
Senior Member
Thanks Meter: 95
 
More
Quote:
Originally Posted by EddyOS

*** DO NOT, I REPEAT,
DO NOT USE FLASH ALL.BAT FROM THE ZIP ***

MAKE YOUR OWN FLASH ALL.BAT OR
FLASH BY TYPING THE COMMANDS

So, you've unlocked your bootloader and are enjoying some rooted goodness on your phone. You then realise you've got an issue with the phone and forgot to make a backup of your stock ROM! Not to fear, this guide is for you! This will reset the phone back to it's out-the-box state, locked bootloader and all, running the latest XNPH05Q build so you can return it for RMA/sell it

It's recommended that you have adb/fastboot in your System Path. This makes it easier to run commands as you don't always have to 'in' your adb/fastboot folder to run the commands. This guide should help you with this but if you don't want to do this, please copy/extract any files into your adb/fastboot folder before continuing...

1. Download the factory image

Cyanogen released the factory image for the OPO but didn't include any batch files to automate the process. I've repackaged the images into two seperate ZIPs:

YNG1TAS17L 16GB: https://www.hightail.com/download/bX...eDNwM252bk1UQw
md5: 48C03CCFC3A28D1ED4D06F095107E94D

YNG1TAS17L 64GB: https://www.hightail.com/download/bX...eDNubHhESjhUQw
md5: 3F1816D2A31D64BDB6FB37FD3AB47BA4

2. Extract the factory image

Using your favourite file extraction program to extract the package to your Desktop (I use 7-ZIP). *** Remember, if you don't have adb/fastboot in your Path, extract the image into your adb/fastboot folder ***

3. Flash the factory image

Once you've unlocked the bootloader, and rebooted the phone, turn the phone off and back on into fastboot mode and reconnect it to the PC. You can now run the flash-all.bat (Windows) or flash-all.sh (Linux) file. These automate the flashing process. Once complete, the phone will reboot.

*** Some users have had issues using the script in Linux so in these cases extract the ZIP file and flash each IMG individually ***
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot flash oppostanvbk static_nvbk.bin (this partition seems to have appeared in the 44S build)
fastboot flash system system.img
fastboot flash userdata userdata_64G.img (or userdata.img if you have the 16GB version)(deletes all data)
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot reboot

4. Reset the tamper flag/lock the bootloader

There is a flag/bit on the phone that is triggered when you unlock the bootloader and even relocking it won't change this flag back to standard. Luckily, @Mnt-XDA has a script that you can flash which resets these flags so OP/anyone else is none the wiser! To do this, read and follow THIS thread

5. Reboot the phone

Says it all really - you're done!

Previous Factory Images:

XNPH05Q 16GB: https://www.hightail.com/download/Ul...Z2dwTVV3anNUQw
md5: 43CB77B5BC9534FCE9E04597E6C5B3A0

XNPH05Q 64GB: https://www.hightail.com/download/Ul...ZEtveE5jR05Vag
md5: 2C730EEFF8A935533AE53902DD880FB1

XNPH44S 16GB: https://www.hightail.com/download/Ul...ZDVVVGxFQmNUQw
md5: A35D55501E8F4C3C35610C49030072B7

XNPH44S 64GB: https://www.hightail.com/download/Ul...ZDVvQUpFQmRVag
md5: D87A23C930393AE4AFA61732D644FC60

XNPH38R 16GB: https://www.hightail.com/download/Ul...UzdkMnNYRHRVag
md5: 69AB7CDD6C224E72E975273A801569AB

XNPH38R 64GB: https://www.hightail.com/download/Ul...Uzd1Yk95VmNUQw
md5: 89883583CB3DF5C707DD8AF182EC3B21

XNPH33R 16GB: https://www.hightail.com/download/ZU...SU9oeVpjR05Vag
md5: 388AC2FE907AD6B67C976225C54C23ED

XNPH33R 64GB: https://www.hightail.com/download/ZU...SU9tMElYRHNUQw
md5: 296DF0D2C49E43915A9B33827C2D0568

XNPH30O 16GB: https://www.hightail.com/download/ZU...cklLVlhOUjhUQw
md5: 09F336280F9D30C626A8F3F55E1C0F79

XNPH30O 64GB: https://www.hightail.com/download/ZU...ckliR0xxYk1UQw
md5: 771FF8AE671C7BE8D029794CCE80D0A7

XNPH25R 16GB: https://www.hightail.com/download/ZU...dWNveFBvS3NUQw
md5: 0A9B4A54B1AE1B26FEB800326B79CBDA

XNPH25R 64GB: https://www.hightail.com/download/ZU...dWNEa1g0WjhUQw
md5: 82C66BE7297A16C0B3B0F3845FDF000F

XNPH22R 16GB: https://www.hightail.com/download/ZU...VnNsUjkzZU5Vag
md5: 029CBE57FA132BBD1A61922C05B91DC9

XNPH22R 64GB: https://www.hightail.com/download/ZU...dENsamNaQ2NUQw
md5: CF952AD7CEEBD6BE0EB6E5527B39C81F

Thanks for this thread @EddyOS but
However
This is not idiot proof and requires too much concentrated reading
Please
Copy and paste this or something similar
25th May 2015, 06:07 PM |#533  
Junior Member
Thanks Meter: 0
 
More
I messed it up!!
I need help- I messed it up- I flashed my OPO without unlocking bootloader. Now its sitting at boot screen and nothing is happening!! I could boot the device only in fast boot mode and nothing happens if I flash it!! Looks like boot loader is locked and device is not showing up in adb devices! Please suggest

---------- Post added at 05:07 PM ---------- Previous post was at 04:41 PM ----------

I am in trouble- I really don't want to lose this phone. It's been 3 months since I bought this phone and got it updated to Lolipop which was a pain. I decided to downgrade it and flashed my OPO without unlocking bootloader(forgot to unlock it). Now its sitting at boot screen and nothing is happening!! I could boot the device only in fast boot mode and nothing happens if I flash it again!! No recovery options and device is not showing up in adb device list! Please suggest how to fix it. Do I take it to service center? Does it help? I really really want this phone back online...
Yesterday, 01:37 PM |#534  
androizers's Avatar
Senior Member
Flag Amritsar
Thanks Meter: 333
 
More
Quote:
Originally Posted by chitrannamt

I need help- I messed it up- I flashed my OPO without unlocking bootloader. Now its sitting at boot screen and nothing is happening!! I could boot the device only in fast boot mode and nothing happens if I flash it!! Looks like boot loader is locked and device is not showing up in adb devices! Please suggest

---------- Post added at 05:07 PM ---------- Previous post was at 04:41 PM ----------

I am in trouble- I really don't want to lose this phone. It's been 3 months since I bought this phone and got it updated to Lolipop which was a pain. I decided to downgrade it and flashed my OPO without unlocking bootloader(forgot to unlock it). Now its sitting at boot screen and nothing is happening!! I could boot the device only in fast boot mode and nothing happens if I flash it again!! No recovery options and device is not showing up in adb device list! Please suggest how to fix it. Do I take it to service center? Does it help? I really really want this phone back online...

See bro, adb is only possible when ur device is working alright. Since it's not switching on, it won't show ur device in adb devices.
Now the thing is u want to get it back on to stock, so u must have to unlock the bootloader in order to downgrade the device or even if u want to upgrade in future. So first unlock the bootloader of device, flash the required files and then boot it. There is no need to worry bout the device no booting since device is fully locked and nothing can make changes to system. So don't panic and keep the process steady.
Report back if its successful or not. Will try to help more.
If u're not enough confident, take it to service centre. But they sucks in my opinion.
Yesterday, 01:43 PM |#535  
gianton's Avatar
Recognized Contributor
Flag Thessaloniki
Thanks Meter: 6,650
 
Donate to Me
More
Quote:
Originally Posted by LiquidSolstice

So, through two friends in the past two days who have used this guide, I have learned something EXTREMELY important. Do NOT reboot immediately after each step (fastboot reboot-bootloader). Do it at the end. Twice now, after flashing the rpm and rebooting, they brick their phones.

If you brick your phone (black screen, doesn't seem to turn on, no lights, no vibrate), do NOT PANIC. You do NOT need to send it back to OPO. All you need is a Windows PC and a couple minutes of time. It is extremeley easy and straight forward to unbrick it and go back to a state where you can repeat the process in this thread. http://forum.xda-developers.com/onep...s-one-t3013732

OP, you really, really should consider removing all the "fastboot reboot-bootloader" steps. Until all images are flashed, you really shouldn't reboot the bootloader at all.

+1 I just did the same but luckily I unbricked my device using @ netbuzz guide. No I clean flashed with fastboot commands all at once and booting the CM12S.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes