So I am an idiot, and tried to tidy up my phones storage and moved all of my folders onto my desktop including backups and zips of other roms, and then like an idiot did a full wipe so now I have no OS. I can still get into recovery, is there a way to move my backups onto my phone without adb? adb has never played well on my computer so I have no idea what to do.
Flash stock with fastboot
Sent from my Oneplus One
You're gonna have to get adb working at some point mate, it's an absolute must. Why not mount an sd card via an OTG cable with TWRP and then you can flash from that.
Transmitted via Bacon
Makrilli said:
Flash stock with fastboot
Sent from my Oneplus One
Click to expand...
Click to collapse
Yeah just get this: <http>://dist01.slc.cyngn.com/factory/bacon/cm-11.0-XNPH33R-bacon-signed-fastboot.zip and unpack it to <directory>
Boot the phone with power+VolumeUP
cd with your terminal to <directory> and ensure, that fastboot is in your PATH environment and run:
Code:
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
OR, just follow the guide in my signature as I've scripted it all so you don't have to type everything in
Related
Hello everyone,
I was attempting to downgrade to 25R from the latest update. I was rooted and and TWPR and was following the guide from this link: http://forum.xda-developers.com/oneplus-one/orig-development/discussion-cyanogenmod-11s-t2840305
I had backups but everything got erased and I have nothing to flash from internal storage. I no longer have a custom recovery or a root or an OS on the phone and thats why its stuck at the android screen.
Can anyone help me with this? I would like to put the phone back to 25R.
UPDATE: I was able to install custom recovery. I don't know what to do from this point. I have a 25R zip file but when I try to flash that, it fails.
Thanks,
Sal
I take it you can get to fastboot (bootloader) mode? If so, it'll be straight-forward doing it that way.
Get the CM11S zip you want and extract the contents. Put 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
Worked for me and others when I was flashing in and out of ROMs.
Quick background: I had a battery status software issue. Opo tech support gave me a fix for it. The fix wiped the phone and removed root access. I knew it would wipe the phone but they told me that it would not remove root access, and nothing they said after that point was helpful. I am able to get root access again, but am fairly certain the wipe involved in unlocking the bootloader removed the fix they gave me. What I would like to know is how to apply the fix while maintaining root access. Or to root after applying it without removing it.
I am on the latest ota update, 11.0-XNPH05Q and only have the fix applied currently.
If anyone has a good idea of what I need to alter to get this working I would greatly appreciate the input.
It isn't as simple as removing the "oem lock" command is it?
The fix consisted of 2 batch files:
Batch file 1:
MENTION=279333]ECHO[/MENTION] off
fastboot oem unlock
fastboot reboot-bootloader
sleep 5
Batch file 2:
MENTION=279333]ECHO[/MENTION] off
echo ######### This patch is Created by ONEPLUS Technical Support. #######
echo ###### This patch should only be used for ONEPLUS ONE 64GB Global Version. ######
@ECHO off
fastboot erase persist
fastboot flash persist persist.img
fastboot erase reserve4
fastboot flash reserve4 reserve4.img
fastboot erase oppostanvbk
fastboot flash oppostanvbk static_nvbk.bin
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 oem lock
fastboot reboot
echo It is done Now
pause
The fix hasn't actually done anything apart from a simple erase and reflash of the partitions on your phone. Unlocking the bootloader again won't remove the fix. The wipe that occurs during the bootloader unlock performs a factory reset, which basically just erases any user data, not system data or any other partition on the device. So go ahead and unlock again, but, you will lose your user data in the process obviously.
Wonderful, thanks for the help!
So Lollipop (12.0-YNG1TAS17L) isn't cutting it for me and I'm going to downgrade to 11S (cm-11.0-XNPH05Q) now I know that I have to use the zip on this site (and BTW what is the boot-debuggable.img one for, tho'?) and use one the following commands:
First set
Code:
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
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot-bootloader
fastboot flash userdata userdata_64G.img
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
Or Do I use these ones?
Second set
Code:
fastboot.exe 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
fastboot.exe oem lock
fastboot reboot
NOTICE THE ORDER.
On the first we have (between system reboots):
fastboot flash system system.img
fastboot flash userdata userdata_64G.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
And on the second we have:
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
TL;dr:
1 - On cyanogen site what is the boot-debuggable.img for?
2 - Do the flash commands have any order in particular?
3 - Which of those sets (1-2) of commands are correct?
And before anyone asks; YES I want to do this by hand.
PS:
I've seen in other batch scrips these two files being evoked (reserve4.img and persist.img).
- First what are they for?
- Second do I really need them?
- Third where do I get them?
I want to go to version (cm-11.0-XNPH05Q official) so I need the official ones and not those mirrored ones where I don't have any way to validate their authenticity nor what version are they made for.
http://webtrickz.com/how-to-flash-cm12-lollipop-factory-image-on-oneplus-one-using-fastboot/
Just replace 12 with 11.
Can anyone plz help me?
Searched all over the web
Can't find any solution
Recently I mistakenly flashed d802 ROM on my d800
Now I'm stuck at fastboot
And when I try to flash boot.IMG or laf.IMG
Fastboot sends the IMG and says OKAY
But writing process never ends :\
What shud I do?
sayedmurteza.muttahary said:
Can anyone plz help me?
Searched all over the web
Can't find any solution
Recently I mistakenly flashed d802 ROM on my d800
Now I'm stuck at fastboot
And when I try to flash boot.IMG or laf.IMG
Fastboot sends the IMG and says OKAY
But writing process never ends :\
What shud I do?
Click to expand...
Click to collapse
First try
fastboot devices
it shoul give you
? fastboot
thenk try fastboot reboot
If phone reboots you are good to go.
then type
Code:
fastboot erase recovery
then flash your factory images(the D800 firmware you have installed when your phone is working condition) one by one.
download these files here
aboot
boot
dbi
laf
rpm
sbl1
tz
rename them as friendly name
like
11-laf.img to laf.img
4-aboot.img to aboot.img
and so on
use commands like this on by one
Code:
fastboot erase aboot
fastboot flash aboot aboot.img
fastboot erase boot
fastboot flash boot boot.img
fastboot erase dbi
fastboot flash dbi dbi.img
fastboot erase laf
fastboot flash laf laf.img
fastboot erase rpm
fastboot flash rpm rpm.img
fastboot erase sbl1
fastboot flash sbl1 sbl1.img
fastboot erase tz
fastboot flash tz tz.img
then
fastboot reboot
hold power button and completely turn off your device.
then pres Volume up and insert the usb cable
your phone should boot up in download mode.
then
Follow this guide
go with kitkat one
Let me know what you get
hack_er4 said:
First try
fastboot devices
it shoul give you
? fastboot
thenk try fastboot reboot
If phone reboots you are good to go.
then type
Code:
fastboot erase recovery
then flash your factory images(the D800 firmware you have installed when your phone is working condition) one by one.
download these files here
aboot
boot
dbi
laf
rpm
sbl1
tz
rename them as friendly name
like
11-laf.img to laf.img
4-aboot.img to aboot.img
and so on
use commands like this on by one
Code:
fastboot erase aboot
fastboot flash aboot aboot.img
fastboot erase boot
fastboot flash boot boot.img
fastboot erase dbi
fastboot flash dbi dbi.img
fastboot erase laf
fastboot flash laf laf.img
fastboot erase rpm
fastboot flash rpm rpm.img
fastboot erase sbl1
fastboot flash sbl1 sbl1.img
fastboot erase tz
fastboot flash tz tz.img
then
fastboot reboot
hold power button and completely turn off your device.
then pres Volume up and insert the usb cable
your phone should boot up in download mode.
then
Follow this guide
go with kitkat one
Let me know what you get
Click to expand...
Click to collapse
First thanks for replying
I tried fastboot devices and it gave me ? fastboot and it's good
but when i try fastboot reboot it says rebooting... and device doesn't reboot :\
Any Idea?
sayedmurteza.muttahary said:
First thanks for replying
I tried fastboot devices and it gave me ? fastboot and it's good
but when i try fastboot reboot it says rebooting... and device doesn't reboot :\
Any Idea?
Click to expand...
Click to collapse
this mean fastboot is not working for you.
please check drivers and check device manger
check for your device what does it say?
Hey, after update to cm 13 no sim card detected, imei unknown same as the baseband version.. Even after restore to an older version the problem still appears, I solved the problem just after fastboot to stock and then restore the older version from twrp again. But always when I'm trying to upgrade to Android 6.0 the problem appear again!! I will appreciate any kind of help!!
Thanks from advance.
zivlass said:
Hey, after update to cm 13 no sim card detected, imei unknown same as the baseband version.. Even after restore to an older version the problem still appears, I solved the problem just after fastboot to stock and then restore the older version from twrp again. But always when I'm trying to upgrade to Android 6.0 the problem appear again!! I will appreciate any kind of help!!
Thanks from advance.
Click to expand...
Click to collapse
Which twrp are you using? You need 2.8.6.0 so the baseband also gets flashed.
I got my fixed by installing modem via Fastboot.
Follow these steps:
- Boot to fastboot and run command : fastboot flash modemst1 modemst.bin
- Once done, install Cyanogen OS 12.1 via fastboot and reboot.
Above steps got my phone fixed, it was not showing imei no, unknown baseband previously and everything is fixed now. :highfive:
Rajneeshgadge17 said:
- Boot to fastboot and run command : fastboot flash modemst1 modemst1.bin
Click to expand...
Click to collapse
error: cannot open 'modemst1.bin'
what's wrong?
I hope you are already aware how to flash files using fastboot and already extracted .bin file out of the attched .zip file.
Rajneeshgadge17 said:
I hope you are already aware how to flash files using fastboot and already extracted .bin file out of the attched .zip file.
Click to expand...
Click to collapse
Yes
I have modemst.bin in my ADB folder
I flashed TWRP before this, and it worked
So its fixed, right ?
No, unfortunately.....
gersa said:
No, unfortunately.....
Click to expand...
Click to collapse
Please use command:
fastboot flash modemst1 modemst.bin
I have corrected the post; the file name that we had downloaded was modemst.bin so flash using this name.
Hope this fixes the issue.
Rajneeshgadge17 said:
Please use command:
fastboot flash modemst1 modemst.bin
I have corrected the post; the file name that we had downloaded was modemst.bin so flash using this name.
Hope this fixes the issue.
Click to expand...
Click to collapse
Great, it works......
Thanks
I'm glad. Hail XDA!!
Rajneeshgadge17 said:
- Once done, install Cyanogen OS 12.1 via fastboot and reboot.
Click to expand...
Click to collapse
Next question - Is this correct for flashing ROM from your link?
fastboot flash modem NON-HLOS.bin
fastboot flash recovery recovery.img
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.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 system system.img or userdata_64G.img
gersa said:
Next question - Is this correct for flashing ROM from your link?
fastboot flash modem NON-HLOS.bin
fastboot flash recovery recovery.img
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.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 system system.img or userdata_64G.img
Click to expand...
Click to collapse
Yeap its the latest Cyanogen OS, you can download from this page:
https://cyngn.com/support
Downlaod the fastboot version.
Commands:
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 recovery recovery.img
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash userdata userdata_64G.img (or userdata.img if you have a 16GB model)
fastboot reboot
http://forum.xda-developers.com/oneplus-one/general/guide-return-opo-to-100-stock-t2826541