Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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


Yesterday, 09:30 AM   |  #261  
Junior Member
Thanks Meter: 1
6 posts
Join Date:Joined: Feb 2010
What am I doing wrong??
I bought this phone rooted running CM11 Nightlies. I wanted to flash back to the stock CM11S, and I've been having nothing but problems since. I'd love to use my new phone as it was out of the box, preferably running 44S rather than older firmwares though. I've tried manually running each command AND using the flash-all method, but I keep running into the same issue - whenever I try to flash the system.img I get an infuriating error. (see attachment)

Can anyone walk me through how to fix this situation? I've played around a bit with the OnePlus One Toolkit trying to get things in order, and no luck. I have the CM version, not the Chinese version. Any advice is welcome, especially the helpful kind. =D
Attached Thumbnails
Click image for larger version

Name:	OPO.png
Views:	120
Size:	140.6 KB
ID:	3080860  
Today, 03:51 AM   |  #262  
Junior Member
Thanks Meter: 0
1 posts
Join Date:Joined: Apr 2011
Originally Posted by chrispysaid

I...but I keep running into the same issue - whenever I try to flash the system.img I get an infuriating error. (see attachment)

That infuriating error is because your Android tools (fastboot, namely) is old. Go get a new one from the Android SDK.

I know.. I had this problem last night.. don't bother Googling for "new fastboot slim packages" because chances are high those are old too. Just go get the damn thing (and you get the newest adb too) and use that.

PS: Thanks to EddyOS with the script and process. Spent a few hours last night restoring my phone to the original Bacon after I had encrypted it and caused all sorts of Wifi issues. Had some problems with system.img, but downloading the latest Android SDK package fixed all that.
Last edited by jjjhschmidt; Today at 03:54 AM.
Today, 05:00 AM   |  #263  
Junior Member
Thanks Meter: 0
2 posts
Join Date:Joined: Nov 2014
If I were to flash this, would I begin receiving the OTAs as well?
Originally Posted by EddyOS

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 XNPH44S 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. To download the original files, please go HERE but for this guide I've repackaged the images into two seperate ZIPs:

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

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

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 reboot-bootloader
fastboot flash sbl1 sbl1.mbn
fastboot reboot-bootloader
fastboot flash dbi sdi.mbn
fastboot reboot-bootloader
fastboot flash aboot emmc_appsboot.mbn
fastboot reboot-bootloader
fastboot flash rpm rpm.mbn
fastboot reboot-bootloader
fastboot flash tz tz.mbn
fastboot reboot-bootloader
fastboot flash LOGO logo.bin
fastboot reboot-bootloader
fastboot flash oppostanvbk static_nvbk.bin (this partition seems to have appeared in the 44S build)
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot-bootloader
fastboot flash userdata userdata_64G.img (or userdata.img if you have the 16GB version)
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot reboot-bootloader
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:

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

If i were to flash this, would ibegin receiving OTAs again?
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes