Hello,
I have been updating my cyanogenmod 12s using the nightlies for a while now.
While I was updating with the update on the 18th, my phone got stuck at the 'upgrading apps' step and keeps repeating the upgrade for hours.
I accidentally then wiped the phone completely in TWRP while trying to restore the phone.
I lost the backups and OS. The warning saying 'No OS installed' shows up when I try rebooting.
My PC does not show the phone when I connect it via USB. I have nothing on TWRP to install either.
Can anyone please suggest how I should proceed?
Thank you,
Abhi2488
1. If you can boot into fastboot, just download stock CM11S fastboot package (you wont have trouble find it, just search forum) and simply flash it with fastboot, one by one partition.
I will just qoute some instructions from oneplus forum:
"Once you're on ColorOS and want to go to Cyanogenmod 11S, you have a few options. The easiest way if to use a toolkit from http://forum.xda-developers.com/onep...9-gui-t2807418, or you can download an image manually from: http://forum.xda-developers.com/onep...stock-t2826541 and run the following commands in fastboot mode:
fastboot flash boot boot.img
fastboot flash userdata userdata.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
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
Make sure you have the proper image. I accidentally installed the 16GB version on my 64GB OPO first time and obviously didn't get 64GB of space.
That's about it. I think if people are still having problems then it's likely due to drivers, or Windows 7/8 issue. If you're still getting stuck, let me know, I'll see if I can help."
2. If you allready have custom recovery installed, you can try to flash any custom rom from OTG USB disc (you need OTG cable or OTG adapter and USB fat32 formatted disc where you will copy some custom firmware).
Related
It's fair to say I'm an idiot. I couldn't update my OPO to XNPH30O, so I thought it was a good idea to reboot the recovery (TWRP) and reset my device. I clicked on advance and checked all the boxes, including system... So as dumb as I was I didn't know what it meant, so accidentally I erased my operating system. Now I don't know what to do. Could somebody please help me. I already tried this, but I received an error: http://forum.xda-developers.com/oneplus-one/general/guide-return-opo-to-100-stock-t2826541
pronkjuweel said:
It's fair to say I'm an idiot. I couldn't update my OPO to XNPH30O, so I thought it was a good idea to reboot the recovery (TWRP) and reset my device. I clicked on advance and checked all the boxes, including system... So as dumb as I was I didn't know what it meant, so accidentally I erased my operating system. Now I don't know what to do. Could somebody please help me. I already tried this, but I received an error: http://forum.xda-developers.com/oneplus-one/general/guide-return-opo-to-100-stock-t2826541
Click to expand...
Click to collapse
Goto android development and download any rom mahdi or calkulins and perform full wipe from twrp and flash it...if that didnt bootnurbdevice foral a reason or other u have to flash stock using fastboot,
Try and lets see
Nickthegr8 said:
Goto android development and download any rom mahdi or calkulins and perform full wipe from twrp and flash it...if that didnt bootnurbdevice foral a reason or other u have to flash stock using fastboot,
Try and lets see
Click to expand...
Click to collapse
That's exactly what I did: [GUIDE] Return your OPO to 100% Stock (Current Build - XNPH30O) , but it failed as I showed above.
What is the step that you want to achieve? Stock ROM? Custom ROM?
If you're able to get into fastboot and recovery mode, your device is not bricked
If you have fastboot or can access your recovery your fine. You have wiped your complete phone so you will need to sideload an appropriate ROM or put it onto a USB stick and use USB to loaf ROM from twrp
zephiK said:
What is the step that you want to achieve? Stock ROM? Custom ROM?
If you're able to get into fastboot and recovery mode, your device is not bricked
Click to expand...
Click to collapse
I want stock ROM.
nathlynn22 said:
If you have fastboot or can access your recovery your fine. You have wiped your complete phone so you will need to sideload an appropriate ROM or put it onto a USB stick and use USB to loaf ROM from twrp
Click to expand...
Click to collapse
I can access my fastboot and my recovery (TWRP). How do you sideload an appropriate ROM or put it onto a USB stick and use USB to load ROM from twrp?
Thank you both for your help
pronkjuweel said:
I want stock ROM.
I can access my fastboot and my recovery (TWRP). How do you sideload an appropriate ROM or put it onto a USB stick and use USB to load ROM from twrp?
Thank you both for your help
Click to expand...
Click to collapse
Just browsing the forums don't have a OPO but its all the same with twrp if you have a USB otg cable put the stock ROM you want which you will find in development put that onto the USB stick then connect USB stick to otg cable then install through twrp. Or of you can't do that search on google how to sideload an app using twrp and you will find your answer and flash it that way
nathlynn22 said:
Just browsing the forums don't have a OPO but its all the same with twrp if you have a USB otg cable put the stock ROM you want which you will find in development put that onto the USB stick then connect USB stick to otg cable then install through twrp. Or of you can't do that search on google how to sideload an app using twrp and you will find your answer and flash it that way
Click to expand...
Click to collapse
Do you know which one of these two version I need to download?
cm-11.0-XNPH30O-bacon-signed-fastboot.zip
or
cm-11.0-XNPH30O-bacon-boot-debuggable.img
pronkjuweel said:
Do you know which one of these two version I need to download?
cm-11.0-XNPH30O-bacon-signed-fastboot.zip
or
cm-11.0-XNPH30O-bacon-boot-debuggable.img
Click to expand...
Click to collapse
Your best bet is asking @zephiK that as I'm pretty sure he has the phone so he could help better there.
pronkjuweel said:
Do you know which one of these two version I need to download?
cm-11.0-XNPH30O-bacon-signed-fastboot.zip
or
cm-11.0-XNPH30O-bacon-boot-debuggable.img
Click to expand...
Click to collapse
fastboot.zip
zephiK said:
fastboot.zip
Click to expand...
Click to collapse
I downloaded the file, how do I put in on my phone?
pronkjuweel said:
I downloaded the file, how do I put in on my phone?
Click to expand...
Click to collapse
http://forum.xda-developers.com/oneplus-one/orig-development/discussion-cyanogenmod-11s-t2840305
Follow the instructions under "Instructions." You'll need fastboot environment set up.. http://forum.xda-developers.com/showthread.php?t=2788632
zephiK said:
http://forum.xda-developers.com/oneplus-one/orig-development/discussion-cyanogenmod-11s-t2840305
Follow the instructions under "Instructions." You'll need fastboot environment set up.. http://forum.xda-developers.com/showthread.php?t=2788632
Click to expand...
Click to collapse
I downloaded the file from the site and followed the instructions, all the steps worked, expect the last one:
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 update -w cm-11.0-XNPH30O-bacon-signed-fastboot.zip
There isn't such an file when I unpack the zip.And if you checked out the attachment on my original post you see that I got an error with this method? Any idea how to fix that? thanks alot.
Had the same weird boot.sig error when following the CM11s guide too. It seems the last command didn't want to work for me either. Here's how to fix it:
Get the CM11s zip and extract the contents. Stick the OPO into fast boot mode and open your command line.
Then do each command manually (copy/paste):
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
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 reboot
Source: http://forum.xda-developers.com/showthread.php?t=2770535
That should get you back up and running.
kinghu said:
Had the same weird boot.sig error when following the CM11s guide too. It seems the last command didn't want to work for me either. Here's how to fix it:
Get the CM11s zip and extract the contents. Stick the OPO into fast boot mode and open your command line.
Then do each command manually (copy/paste):
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
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 reboot
Source: http://forum.xda-developers.com/showthread.php?t=2770535
That should get you back up and running.
Click to expand...
Click to collapse
Thank you man! It worked. The rest of you who helped my out also thanks.
Now that's what I like seeing. People helping others. Great job guys
Hi I've owned my one for a few months now and have flashed numerous ROMs since plus I've owned every nexus and have flashed countless roms on them. Yesterday I flashed Aicp on a clean wipe and all of a sudden my phone would get to the setup and reboot. I tried restoring 3 different nandroids and they would boot into the os but I had no access to data or WiFi and my hardware keys wouldn't work except the back key. I managed to get into settings and I'm missing my baseband. So I tried to fastboot the cm11s factory image and all I get is audiofx fc every second. I then did a bit of research and here on xda there were a few others with this issue and read that side loading the color os would bring back the files I lost. I'm now writing this from color os and I do indeed have data back but WiFi does not work and its showing my 64 GB one as a 16gb one. I'm lost what to do from here, will flashing stock cm11s work? I tried flashing liquid and same thing happened again. I'm getting extremely frustrated and do not want to send this in to oppo if I can help it. Any help would be so greatly appreciated.
Sent from my A0001 using XDA Premium HD app
1)Reboot into bootloader
2)reinstall cm11s using fastboot
http://dist01.slc.cyngn.com/factory/bacon/cm-11.0-XNPH33R-bacon-signed-fastboot.zip
fastboot flash boot boot.img
fastboot flash userdata userdata_64g.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
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 reboot
3)flash twrp recovery using fastboot
you can download here
http://techerrata.com/file/twrp2/bacon/openrecovery-twrp-2.8.0.1-bacon.img
rename it "recovery.img"
fastboot flash recovery recovery.img
4)boot into recovery
factory reset,advanced wipe-->dalvik,cache,system,data
and flash cm11 rom zip
https://download.cyanogenmod.org/get/jenkins/84302/cm-11-20140921-NIGHTLY-bacon.zip
kenzolo said:
1)Reboot into bootloader
2)reinstall cm11s using fastboot
http://dist01.slc.cyngn.com/factory/bacon/cm-11.0-XNPH33R-bacon-signed-fastboot.zip
fastboot flash boot boot.img
fastboot flash userdata userdata_64g.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
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 reboot
3)flash twrp recovery using fastboot
you can download here
http://techerrata.com/file/twrp2/bacon/openrecovery-twrp-2.8.0.1-bacon.img
rename it "recovery.img"
fastboot flash recovery recovery.img
4)boot into recovery
factory reset,advanced wipe-->dalvik,cache,system,data
and flash cm11 rom zip
https://download.cyanogenmod.org/get/jenkins/84302/cm-11-20140921-NIGHTLY-bacon.zip
Click to expand...
Click to collapse
I think its file system problem,because it shows 16gb instead 64gb.Pls also check your imei,probably its 0.
k3mik4l said:
Hi I've owned my one for a few months now and have flashed numerous ROMs since plus I've owned every nexus and have flashed countless roms on them. Yesterday I flashed Aicp on a clean wipe and all of a sudden my phone would get to the setup and reboot. I tried restoring 3 different nandroids and they would boot into the os but I had no access to data or WiFi and my hardware keys wouldn't work except the back key. I managed to get into settings and I'm missing my baseband. So I tried to fastboot the cm11s factory image and all I get is audiofx fc every second. I then did a bit of research and here on xda there were a few others with this issue and read that side loading the color os would bring back the files I lost. I'm now writing this from color os and I do indeed have data back but WiFi does not work and its showing my 64 GB one as a 16gb one. I'm lost what to do from here, will flashing stock cm11s work? I tried flashing liquid and same thing happened again. I'm getting extremely frustrated and do not want to send this in to oppo if I can help it. Any help would be so greatly appreciated.
Sent from my A0001 using XDA Premium HD app
Click to expand...
Click to collapse
Your issue clearly describes what's in this thread here. Have you tried it? What recovery are you using?
Hello.
I have a somewhat unique situation.
I have more than one unit of identical, generic (not a standard brand) tablets. They are all rooted, so I do have root access. However, they don't have a custom recovery - there isn't one readily available (I have looked far and wide).
One of the tablets has the OS (with all the Google -and other- apps) I want to replicate on to the others (this is admittedly an oldish Kitkat OS, but while I have one of them running Lollipop successfully, I am unable to get Gapps to run with Lollipop, hence the reversion to Kitkat). I only want to replicate the OS, there are no other complications such as IMEI, etc that I need to replicate.
What do I need to accomplish this? I am comfortable flashing, rooting, etc, but I am by no stretch of imagination an Android developer, so creating a custom recovery is beyond me.
What I have tried so far:
0. The tablets are already rooted. Used Kingo to ensure root access to apps if/when necessary.
1. ADB/Fastboot flashes. This is by far most successful, although I don't have a system.img/recovery.img of the 'good' tablet. The others (including Jellybean, Kitkat and Lollipop) that I do have don't have Gapps on the OS and I am unable to install them through ADB (or native tablet-based installation) with the apks. (Google play services error).
2. dd-ing the images from the 'good' tablet to the bad ones (soft bricked, had to reflash with working images in 1. to get it back up again). (dd if=<> of=<>)
3. Taking Online-Nandroid backups, but unable to flash this image through the Nandroid Manager (and can't do it through recovery since lacking a custom recovery). I can't flash this through ADB since it isn't an system.img/recovery.img type backup.
Given this background, what I need to do is create boot.img, system.img, recovery.img, cache.img, persist.img, userdata.img from the 'good' tablet and flash these to the 'bad' ones. I have searched and searched - both on XDA and over Google at large. But I haven't found an answer to this specific issue of replicating a tablet entirely through ADB. The ones I have found (dd-method) didn't work.
Here's the Flashing batch file I've been using, that I know brings up one of these tablets. I assume I can continue to use the 'modem and bootloaders' that I currently have, although I would prefer to extract them from the 'good' tablet just to be sure.
Any help greatly appreciated.
Code:
adb root
adb wait-for-device reboot bootloader
sleep 5
:: erase all the partitions
fastboot erase modem
fastboot erase boot
fastboot erase system
fastboot -w
:: flash the modem and bootloaders
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash aboot emmc_appsboot.mbn
echo Flashed the bootloaders!
:: reboot the target
fastboot reboot
sleep 1
:: flash the linux images
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash persist persist.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
echo Done flashing the images, rebooting the target!
fastboot reboot
Hello everybody,
I did a mistake :crying:
On my Mi4 was installed a CyanogenMod 13 ROM. To do this, I resize the phone partitions in the past.
Now I want to update to LineageOS 14.1 but at the installation I got the error: "assert failed cancro.verify baseband mpss.di.4.0 == 1".
At the Lineage Community I found the solution, to install first a newer Stock OS and then the Lineage Rom.
But to install the Stock OS I had to resize the system partitions to the original size.
This article was helping me:
http://en.miui.com/thread-93248-1-1.html
After the successfully resizing, I wanted to flash the cancro_global_images_V8.1.6.0.MXDMIDI_20161230.0000.00_6.0_global
with the FLASHING FASTBOOT MiUI ROMS Guide from xda:
https://forum.xda-developers.com/xiaomi-mi-3/general/guide-flashing-fastboot-miui-roms-t2938279
To flash following parts was successfully:
fastboot flash tz tz.mbn
fastboot flash dbi sdi.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot erase boot
fastboot flash misc misc.img
fastboot flash modem NON-HLOS.bin
The error was displayed by the "fastboot flash system system.img" command:
I think the resizing zip was wrong.
Now my Phone doesn't display anything. Not fastboot with power+volume down or cwm with power+volume up.
Only my PC is showing me a lot of partitions and two images folders:
Please help me!
everything ok
I found a possibility, to restore the phone
with the old MiFlash Tool. The newer one does not work.
I'm not able to post the link.
It's the link inside this thread:
https://forum.xda-developers.com/mi-4/help/hard-bricked-mi-4s-black-screen-t3512501
Almost everything possible with the tools provided at MIUI forums. Let us know if your device booted up. Good luck!
I was running LineageOS 16, the unit went into a bootloop while I was restoring the call and sms history to update it from my main phone. It is something I have been doing weekly for a year now.
I can boot into 'fastboot mode' but not 'recovery mode'.
In fastboot it is recognised by the comand
Code:
fastboot devices -l
. Typing
Code:
fastboot boot /<path_to_file>/twrp-3.3.1-0-bacon.img
puts it back into the bootloop, as does the command
Code:
fastboot reboot-bootloader
.
What can I try next to recover the unit?
Are you hesitant in flashing TWRP instead? Also, use the K-releases of TWRP (see the guide in my signature). They work better opposed to the official releases.
Wrapped with delicious Fajita [emoji896]
I was hoping to recover the unit rather than avoiding re-flashing it.
Is the operating system and all the data lost?
If that is what has happened then I will rebuild, trying the version of TWRP you suggested.
Regards.
alistairrc said:
I was hoping to recover the unit rather than avoiding re-flashing it.
Is the operating system and all the data lost?
If that is what has happened then I will rebuild, trying the version of TWRP you suggested.
Regards.
Click to expand...
Click to collapse
Perhaps the NAND memory sector was damaged, which was very important to boot. It is possible because the memory is overwritten all the time.
Read the entire story of another user who had a similar system loss problem.
The best TWTP was made by The Muppets
twrp-3.2.3-20190125-bacon.img
It is based on a toybox, and not like other TWRP in which there is a busybox. Toybox contains more repair tools and is therefore better than busybox.
have tried to recover using "cm-13.1.2-ZNH2KAS3P0-bacon-signed-fastboot"
but I get an error when I try the command:
Code:
fastboot flash modem NON-HLOS.bin
error: cannot load 'NON-HLOS.bin'
I am now struggling to find any guides that can help me.
(Most of the guides I have read state "connect phone and boot into fastboot mode" but my unit will not boot to fastboot mode when it is connected.)
I have tried to restore the unit twice using
cm-13.1.2-ZNH2KAS3P0-bacon-signed-fastboot.zip
First using the all in one tool on a windows 8.1 box, then using these commands on a linux box:
Code:
fastboot oem unlock
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
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash userdata userdata_64G.img
The phone is still stuck either in a bootloop, or in fastboot mode.
What can I try now?