yashsingh1/xdaforums huggingface dataset:
[ONE Q&A, Help & Troubleshooting] jgcaap:
This is a master piece guide. Genius.
[ONE Q&A, Help & Troubleshooting] nikku_hot123:
I tried all methods mentioned here but still no luck :(. Once i backed up efs with manudroid toolkit but now even after restoring no wifi not mobile network and no baseband. Please help me.
[ONE Q&A, Help & Troubleshooting] Negan:
Last I checked the toolkit doesn't backup efs properly. I tore it apart and it was pointing to block 15
[ONE Q&A, Help & Troubleshooting] Negan:
Need a thorough essay about everything you did to brickloop and details on what you tried. The more info you give me the greater chance of fixing it
[ONE Q&A, Help & Troubleshooting] OmegaBlaze:
Thanks. I did the reserve & persist flash.

I also tried flashing the 30o flash bat. I flash all of the .mbn files & got all the way to boot.sig. That's when it gave me some kind of error like it couldn't find the files it was looking for.

I closed the window, and flashed the flash.bat again. I now get "Invalid Argument", Unknown Error messages on everything that tries to write. The end lines says: "archive does not contain 'boot.sig'

error: out of memory"

Edit: I'm getting it write everything now! Had to restart cmd.

---------- Post added at 09:29 PM ---------- Previous post was at 09:08 PM ----------

FIXED!

EVERYTHING got deleted though lol..Oh well. :good:

Thanks [MENTION=5098295]markbencze[/MENTION]. Do you know why this happens in the first place??
[ONE Q&A, Help & Troubleshooting] Negan:
So you're good to go? Working phone again? No more brick?
[ONE Q&A, Help & Troubleshooting] OmegaBlaze:
Yep. Everything is fixed!

What do I do to keep this from happening again?
[ONE Q&A, Help & Troubleshooting] nikku_hot123:
I had original ROM backup and tried to restore it with TWRP 2.8.0.1 but after restoration the phone booted up without mobile network,IMEI, WIFI and baseband, I read it's TWRP Problem of not restoring

efs properly. I tried flashing the official CM11s 33R but again failed to get network and moreover it deleted all the data on my mobile including the nandroid backup :(. I tried restoring the efs.img which i

backed up with manudroid toolkit but still no luck. manudroid toolkit it backing up /dev/block/mmcblk0p15 which i guess is the wrong partition to back up.

I tried the method of flashing up official ColorOS but again failed, Then i came to this thread and successfully completed all the steps but still my phone is nothing more than a Paperweight. :)
[ONE Q&A, Help & Troubleshooting] OmegaBlaze:
Damn dude. Same **** just happened to me. Sucks really bad. I was on the latest TWRP as well (Middle Fingers To Them)

This method should have worked. Did you flash the "flash-all.bat" file?
[ONE Q&A, Help & Troubleshooting] gregg0829:
Does your phone look like this? I have been trying to fix my phone since Saturday. I tried to relock the bootloader using two different Toolkits. No luck.
[ONE Q&A, Help & Troubleshooting] nikku_hot123:
Yes i flashed the "flash-all.bat" file but no network coming. :(

Yes it does looks like the same.
[ONE Q&A, Help & Troubleshooting] playya:
twrp official or unofficial 2.8.0.1?
[ONE Q&A, Help & Troubleshooting] nikku_hot123:
It's official TWRP.
[ONE Q&A, Help & Troubleshooting] tdamocles:
It looks as if the official version is causing chaos. Not sure what is different with the unofficial but it seems to not cause as many problems. I personally would stay away from both and just use CWM or PHILZ.
[ONE Q&A, Help & Troubleshooting] OmegaBlaze:
PREACH!

I can't **** with TWRP at ALL after this.
[ONE Q&A, Help & Troubleshooting] 1asbak1:
I fixed my phone completely thanks.

gonna try philz recovery for a while now i think :fingers-crossed::fingers-crossed::fingers-crossed:
[ONE Q&A, Help & Troubleshooting] nikku_hot123:
means I am the only unlucky one here :(
[ONE Q&A, Help & Troubleshooting] OmegaBlaze:
The reserve & the persist files are what fix the Wifi & Imei.. I'm not sure why yours is not acting right..

I would back up all of my stuff to my desktop and do a factory reset & then try this guide again..
[ONE Q&A, Help & Troubleshooting] Negan:
be careful!

backup your efs (instructions in op) and copy it to your pc.

As to why this is happening I am not 100% sure about that. But At the moment the One common theme is users having this happen directly after doing "something" in TWRP. Now that doesn't mean that twrp is the problem. I have twrp and I haven't even had this problem! I'm just here to help out and get you guys back on your way flashing! Mind you I have spent and extensive amount of time working on this (especially before I got confirmation of sucess)!!!

But my advice is to be very careful, and be prepared. keep your efs backups on your pc, keep those files from the op also on your pc, and even copy a nandroid or your titanium backup folder to your pc one a week. Because this may happen again! The unknown cause is what's scary.

I haven't seen anything about Philz recovery on here so that's food for thought.
[ONE Q&A, Help & Troubleshooting] Negan:
Try again man. It should work. Keep us posted.

Give lots of details too
[ONE Q&A, Help & Troubleshooting] dr.m0x:
Huge thanks to the OP, saved my phone by reflashing persist.img and reserve4.img followed by 33r update. Philz only next time I think.
[ONE Q&A, Help & Troubleshooting] hodanli:
this thread saved my time and phone. thanx. :svetius: :svetius: :svetius:
[ONE Q&A, Help & Troubleshooting] Negan:
Good stuff guys! Let me know if this happens again with philz
[ONE Q&A, Help & Troubleshooting] nikku_hot123:
you can see while following the method mentioned here, baseband is showing blank. :(
[ONE Q&A, Help & Troubleshooting] OmegaBlaze:
You should try flashing your baseband once your phone gets booted up via Recovery.

Have you even tried booting up after you let flash-all.bat run all the way through?
[ONE Q&A, Help & Troubleshooting] nikku_hot123:
it's booted and i flashed modem again but no luck. Tried another modems of 22r, 25r 33r too but nothing happened.
[ONE Q&A, Help & Troubleshooting] Negan:
The one thing I haven't seen you post to confirm is whether you flashed the persist and reserve4 ?
[ONE Q&A, Help & Troubleshooting] Negan:
I assume you've tried this a few times now? Odd that yours isn't working.

I'll try to think of something else to try
[ONE Q&A, Help & Troubleshooting] nikku_hot123:
Thank you very much any help is appreciated.
[ONE Q&A, Help & Troubleshooting] garz:
WORKED LIKE A CHARM! So easy to do. Thanks for all the work. A donation is on it's way!
[ONE Q&A, Help & Troubleshooting] nikku_hot123:
Then why this is happening to me only :(
[ONE Q&A, Help & Troubleshooting] garz:
I dunno man, I can tell you what I tried prior to this. Did you have a nandroid backup? I reverted originally into a nandroid backup. Seen I had no service. Flashed modem. Still nothing. Then did this step by step. Everything worked. Try doing it this way.
[ONE Q&A, Help & Troubleshooting] nikku_hot123:
no man. it was on my mobile and it is now wiped. and i Guess we cannot recover internal storage. :
[ONE Q&A, Help & Troubleshooting] garz:
Yeah, that kinda threw me off as well. I was alittle annoyed that it wasn't stated prior to the instructions, or atleast a part of the instructions to back up your internal. Lost pretty much everything, luckily I have a backup on my PC from not too long ago.

But atleast this fixed my issue without problems. I would suggest trying this one more time. Using his FULL PACKAGE. It's worked for so many of us, should be no reason it doesn't work for you. Also, do you have to apply any APN settings for it to kick into service?
[ONE Q&A, Help & Troubleshooting] nikku_hot123:
so i got it finally fixed after 3 freaky days ,and this is what i did.

1. Followed the Steps given in the first page.

2. rebooted

3. Download Color OS https://forums.oneplus.net/threads/rom-official-4-3-coloros-v-2-0-0_beta.79203/

4. flashed with recovery

5. rebooted but phone did not started.

6. went back to ColorOS revovery

7. Flashed the downloaded ColorOS zip again.

8. Rebooted and voila network came, got IMEI back.

Thank you all guys.
[ONE Q&A, Help & Troubleshooting] Negan:
Thank you very much that was very kind of you. You didn't have to do that but very much appreciated!
[ONE Q&A, Help & Troubleshooting] Negan:
Awesome news man! I'm very happy you finally got it back.
[ONE Q&A, Help & Troubleshooting] garz:
NP. You saved my ass today. :good:

My only gripe is that there was no warning of the full internal wipe. Which sucks for most people who never backup...

Maybe you could throw that in there for brainless folk, such as my self, to avoid this in the future.
[ONE Q&A, Help & Troubleshooting] tdamocles:
This time try Philzs or regular cwm. Eliminate the possible problem entirely.....twrp.
[ONE Q&A, Help & Troubleshooting] flo7002:
My One is just stuck in a bootloop at the 1+ screen. Would this fix solve this problem? I can get into TWRP. I flashed Paranoid, and stock, wiped everything except my internal memory, also flashed stock through fastboot, but still stuck in the same bootloop...
[ONE Q&A, Help & Troubleshooting] garz:
Thats what happened to me, I flashed PAC. Next thing I know, it kept rebooting at the setup. Finally I went back to a nandroid backup, but noticed my service was gone. Anyway, this will most likely fix it. But backup your whole SDCARD to a pc or cloud. Then do it. It'll wipe your whole phone.
[ONE Q&A, Help & Troubleshooting] Negan:
ok dude before you do anything else can you access your files and copy them to your pc ie:nandroid or efs backup?
[ONE Q&A, Help & Troubleshooting] rbrandser:
Last night I accidentally used the phone until battery was empty. I let it charge for an hour, then I turned it on. No Wi-Fi, imei, SD card, mac,.. Yeah.

Multirom twrp 2.8.0.

So, I'm pulling my SD card right now, then I'll try this fix and report back.
[ONE Q&A, Help & Troubleshooting] rbrandser:
Thank you, my device is unbricked!

The flash-all.bat failed, but manually fastboot flashing the img files fixed it. Had some issues flashing system.img, remote size issue, but changing path on computer weirdly made it go through.

Well sir, thank you.
[ONE Q&A, Help & Troubleshooting] Thoughtful:
Thanks a lot for this fix. Saved my life :).
[ONE Q&A, Help & Troubleshooting] mimpoca:
This thread saved my happiness, too. I was about to return my phone to Oneplus when I thought I'd give it one more try with this. And it worked.

Now, I am wondering, if it is possible to come up with a somewhat automated and user friendly way to backup the phone COMPLETELY, including the persist and reserve4 images, to a connected computer. This would spare many of us night mares. I guess it could be a set of scripts executing ADB commands? It should be recovery independent, so not based on Nandroid. Any ideas anyone? I would love to help develop something like this.
[ONE Q&A, Help & Troubleshooting] Negan:
there could actually be a tool kit made to do this like all other tool kits. I am considering making one funny you ask!!!
[ONE Q&A, Help & Troubleshooting] Ok_Kaleidoscope5109:
When you say brickloop what do you mean? I'm seeing my OPO start up and reboot constantly at the splash screen. The OS never loads. I never even get to the CM boot logo, just the splash screen over and over again. Is that it?
[ONE Q&A, Help & Troubleshooting] Vonnegut:
This flashable script http://www.mediafire.com/download/5r4ljo4vwpt0642/My_backup.zip will backup each and every sector but those with an asterisk on the right ('cause those partitions are already distributed with the official CM .zip). It creates a directory named MyBackup in the internal storage. Just move it to your PC and keep it safe.

This other script http://www.mediafire.com/download/igph50efr3ha9fb/OPO_Backup_EFS_2.0.zip will create a folder named EFS_Backup contaning the dump of only modemst1+modemst2+persist and it also create a flashable .zip for restoring them.

Number Size(Kb) Name Device
1 65536 modem /dev/block/mmcblk0p1 (*) FAT16
2 512 sbl1 /dev/block/mmcblk0p2 (*)
3 32 dbi /dev/block/mmcblk0p3 (*)
4 32 DDR /dev/block/mmcblk0p4
5 1024 aboot /dev/block/mmcblk0p5 (*)
6 500 rpm /dev/block/mmcblk0p6 (*)
7 16384 boot /dev/block/mmcblk0p7 (*)
8 500 tz /dev/block/mmcblk0p8 (*)
9 1024 pad /dev/block/mmcblk0p9
10 1536 modemst1 /dev/block/mmcblk0p10
11 1536 modemst2 /dev/block/mmcblk0p11
12 10240 oppodycnvbk /dev/block/mmcblk0p12
13 10240 oppostanvbk /dev/block/mmcblk0p13
14 1355776 system /dev/block/mmcblk0p14 (*) EXT4
15 32768 persist /dev/block/mmcblk0p15 EXT4
16 524288 cache /dev/block/mmcblk0p16 (*) EXT4
17 16384 recovery /dev/block/mmcblk0p17 (*)
18 1536 fsg /dev/block/mmcblk0p18
19 1 fsc /dev/block/mmcblk0p19
20 8 ssd /dev/block/mmcblk0p20
21 1024 misc /dev/block/mmcblk0p21
22 16384 LOGO /dev/block/mmcblk0p22 (*)
23 32768 DRIVER /dev/block/mmcblk0p23
24 32768 reserve1 /dev/block/mmcblk0p24
25 16384 reserve2 /dev/block/mmcblk0p25
26 8192 reserve3 /dev/block/mmcblk0p26
27 65536 reserve4 /dev/block/mmcblk0p27
28 58510540 userdata /dev/block/mmcblk0p28 (*) EXT4
29 294895 grow /dev/block/mmcblk0p29
[ONE Q&A, Help & Troubleshooting] Negan:
What did you do that caused this?
[ONE Q&A, Help & Troubleshooting] Ok_Kaleidoscope5109:
Nothing!!! I was playing Clash of clans this morning when I woke up and the phone froze. So I did a reboot by long holding the power button.

It got stuck at the CM boot screen for 10+ minutes so I reboot it again, and this time it only made it to the splash screen and kept rebooting.

Things I have done to try to fix it:

Restore an old Nandroid from Oct-1, still bootloops

Tried a wipe of system, cache, dalvik, and data, and flash a new CM nightly, still bootloop

I'm tihnking something in my partitions got messed up? The good news is I definitely backed up my Persist, modemst1, and modemst2 partitions and they're sitting on Google Drive. I can get into Fastboot and Recovery still, but I want to copy my data off of it before I do a full wipe maybe with a factory ROM. I'm just struggling to get the MTP to mount in TWRP though :(

---------- Post added at 01:30 PM ---------- Previous post was at 01:11 PM ----------

@markbencze my main question is what do you mean brickloop. Is my situation a brickloop? I'm trying to understand if I should even try this.
[ONE Q&A, Help & Troubleshooting] ajent:
Do you have a copy of that backup? Unfortunately I never made one, and am experiencing strange issues that persist even after a full /data and /system wipe. Maybe restoring these files will correct it.

thanks
[ONE Q&A, Help & Troubleshooting] Negan:
You are in deed bricklooping. The made up word is somewhat self explanatory. Can you Mount system in twrp and see if your persist and reserve4 are present? I'm just at work right now and will have more time to help in 2 hours. Try to hang tight and not make things worse. We will get you fixed up man
[ONE Q&A, Help & Troubleshooting] Vonnegut:
I won't give you what you're asking for. Most likely you're just experiencing the usual issues caused by the users themselves when they don't have a clue of what they're doing.

Here's a few examples:

A) dirty flashing all the time

B) flashing stuffs without knowing what they really do

C) installing apps or xposed modules without checking for incompatilibities

D) doing all of the above and more

You don't have anything that can't be fixed with a clean flash. Forget about your apps and Titanium backups...start again from scratch.
[ONE Q&A, Help & Troubleshooting] ajent:
I've been flashing roms since windows mobile. (not windowsphone)

Since you're so wise, you can help me fix my issue. I've wiped /data and /system and fastboot flash 11S from scratch plus various other attempts. When trying to install any rom that has been built on CM nightly 9/20 or greater, I see the 1+ logo, strange colors/lines, then reboot. I can install current nightlies, as long as I flash 9/19 or previous boot.img with it.

This wasn't fixed with a clean flash but you said it should be. What next?
[ONE Q&A, Help & Troubleshooting] Ok_Kaleidoscope5109:
Didn't see how mounting system changed anything in TWRP, but I decided hell with it. This is my second OPO. I backed up the modemst1, modemst2, and persist partitions per [MENTION=5427631]Vonnegut[/MENTION] so at least I'm covered right?

I flashed to the factory image 33R and was STILL in a brickloop.

So I decided, screw it. Let's go for the persist flash. I took my backup persist.img and flashed it. Voila. No more brickloop.

I'm kinda peeved how this happened.

The trick was getting the data off earlier which I did. Thank goodness for MTP in TWRP. Now I'll just have to see if I can restore my Nandroid backup to make it easy to get back to where I was.

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

Don't get how my partition was messed up though. I snoozed my alarm a few times today for sure and then woke up to play some Clash of Clans after checking email. Probably rebooting the second time after it was stuck at the CM boot logo screwed things up. Thank goodness for backups?!
[ONE Q&A, Help & Troubleshooting] Negan:
You did confirm for me last night that you're having success with Jedi though and all is still well?
[ONE Q&A, Help & Troubleshooting] Negan:
Glad you got it fixed man.

Try philz moving forward. I've been paying attention and asking you guys questions to gather data and the only common denominator is twrp. No one has reported issues as defined here that is using twrp
[ONE Q&A, Help & Troubleshooting] ajent:
Yeah man Jedi does work fine for me thanks. But I'm still trying to figure out what's going on with the issue on every other rom. When CM11S does their update right around the corner, I feel it will brick my phone if I try to use stock rom, and not sure how long flashing 9/19 boot will get my by, plus I feel like i'm missing out on improved kernels.
[ONE Q&A, Help & Troubleshooting] Vonnegut:
Send me a PM tomorrow (it's 1 AM over here)
[ONE Q&A, Help & Troubleshooting] Ok_Kaleidoscope5109:
Or CWM maybe. I've been a CWM user since my Nexus S. Never had an issue. This is my first phone using TWRP.

But the odd thing is the bork happened without even doing anything in TWRP. The freeze happened in the OS itself, and I rebooted the second time during boot logo.

I'm going to flash the full backup script from [MENTION=5427631]Vonnegut[/MENTION] and save everything to the cloud. I'm getting much too scared.

BTW can [MENTION=5427631]Vonnegut[/MENTION] explain how if your script backs up Persist and you feel it has IMEI/modem information attached to it, does that mean its an individualized file? How does the OP's post work by providing a persist.img for everyone to use?
[ONE Q&A, Help & Troubleshooting] Negan:
Jedi kernel was made sep 24. Its has some nice features and more to come. And be careful flashing kernels. Newer doesn't always mean better

With jedi I should add that our main goal with the project is stability. That is paramount. We have not had one single bug mentioned or any RR or sods. And BTW we're working on version 1.2 as well
[ONE Q&A, Help & Troubleshooting] Vonnegut:
The persist is an EXT4 partition. There's no IMEI inside. It contains the basic setting for many stuffs though: sensors, wi-fi+bluetooth, radio and GPS. The OS itself can add/change some stuff during the use.

The persist.img in the OP is the one coming with an old official ColorOS...don't be afraid of it, it contains just the basic stuffs.

I've been doing some test lately with it and many other persist.img from other OPOs. As for the text files, they are the same.

As for the 2 binaries, they change from perasit to persit. To make it short, you shouldn't be afraid of the persist.img linked in the OP.

As for what happened to you...my guess is that the game (or something else) caused a fatal error and induced a soft reboot. and some driver haven't been correctly reinitialized tho and you were stuck at boot.
[ONE Q&A, Help & Troubleshooting] Weirdy346:
I'm in a bit of trouble with this....

I've been able to erase both files but can't flash either file in the package.

I tried to install the bacon zip and that worked so my adb package seems to be working so now I end up with the Audio fx thing still......

Help ?
[ONE Q&A, Help & Troubleshooting] AddisG:
Hi,

did you follow the instructions in the OP?

If you're able to erase persist.img and reserve4.img then you use the following commands to flash...
[ONE Q&A, Help & Troubleshooting] sgdeux:
Thanks! Your solution worked like magic. I was also using TWRP, but the problem happenned after installing an Xposed module.
[ONE Q&A, Help & Troubleshooting] Negan:
I need you to explain what you mean that you can't flash either file? You're using fastboot to flash right?
[ONE Q&A, Help & Troubleshooting] Weirdy346:
Sorry and thanks anyway......It seems that I didnt have the cmd window and image files in the same directory......?

Exactly as the op but when I "fastboot flash persist persist.IMG" or the other one I get in the cmd window "error: cannot open 'persist.img' "
[ONE Q&A, Help & Troubleshooting] rbrandser:
You should share what error message you got. If adb is installed globally you should be able to flash, provided you send command from folder containing IMG files

Edit: sorry, didn't read the latest posts :)
[ONE Q&A, Help & Troubleshooting] Weirdy346:
That's the strange thing. I thought using the global install, the IMG files would be found in any directory they resided ?
[ONE Q&A, Help & Troubleshooting] rbrandser:
Global install should make adb and fastboot work in all folders
[ONE Q&A, Help & Troubleshooting] Weirdy346:
Not for me for some reason !
[ONE Q&A, Help & Troubleshooting] Negan:
OK so having adb/fastboot system wide will allow it to work anywhere. But you still have to open a cmd window in the directory where you placed the files
[ONE Q&A, Help & Troubleshooting] Weirdy346:
Yep, that's the way it seems!

In my case, cmd opened in c:/Windows/system32 and I cd.. Back to c: then placed all the files there and

?
[ONE Q&A, Help & Troubleshooting] DJMartini:
Thank YOU!

This works! Thank you so much for posting this! What a ridiculous issue. Thank you so much for figuring it out and sharing!
[ONE Q&A, Help & Troubleshooting] Heisenberg:
Added to OnePlus One index thread:

[INDEX] OnePlus One Resources Compilation Roll-Up

Transmitted via Bacon
[G2 Q&A, Help & Troubleshooting] Andereitor:
Hi, so I tried to flash the dorimanx kernel for the phone, and after rebooting, it stucked in fastboot mode. So I tried many ways to get away from this and now I'm in a really bad situation:

-I can't boot into recovery mode, when I try to boot into it, I got a black screen.

-I can't boot into fastboot now, when I power it on, I got the lg logo and I got stuck in it.

-When I try to plug the phone to the pc in download mode, my PC doesn't detect the phone

So as you can see I'm in a really bad situation so please I need some help and quickly!!
[G2 Q&A, Help & Troubleshooting] hi_blues:
hay thre

My friend don't worry i was in same situation once. It is recoverable.

Just tell me where are you stuck now?

Well if you keep pluging in in and pluging out your device from computer sometimes ports stop responding. reboot your PC and try to connect. and give your feedback.
[G2 Q&A, Help & Troubleshooting] Andereitor:
As I said before, when I power normally the phone (only pressing the power button) , it gets stucked on the LG Logo, with the LED changing of colors. When I try to launch the recovery mode (volume down+power, then pressing power 3 times in the menu) I get a black screen..
[G2 Q&A, Help & Troubleshooting] hi_blues:
Hmm

Honestly there are very slim chances that the phone completely goes dead very slim. give your pc a reboot then try to put your phone in fastboot/recovery mode. keep an eye on device manager.

hope this helps.

---------- Post added at 07:42 PM ---------- Previous post was at 07:28 PM ----------

one more thing to go to download mode and use lg flashtool you need turn off phone completely then press and hold volume up button and then plug the usb. dont let the button go untill you download mode is displayed on screen.

Phone will got to download mode. and you can flash any thing from there.

Hope this helps