[Q] Accidentally erased System ROM in Oneplus - ONE Q&A, Help & Troubleshooting

I wanted to go back to stock CM. So I went to TWRP and erased everything. Next thing it said was that I don't have any OS in the phone.
Now I want to sideload the stock CM into to the phone.
Please tell me step by step solution as I am a nooby.
Please help.
Thanks in advance

Of course you don't have an OS if you wiped system. Did you not put stock CM onto your device before wiping everything? Google search 'how to adb sideload' and you'll did plenty of guides. Maybe hold up on doing anything else to your device until you have a better understanding of what you're doing.
Transmitted via Bacon

samdubai said:
I wanted to go back to stock CM. So I went to TWRP and erased everything. Next thing it said was that I don't have any OS in the phone.
Now I want to sideload the stock CM into to the phone.
Please tell me step by step solution as I am a nooby.
Please help.
Thanks in advance
Click to expand...
Click to collapse
If you lost the recovery aswell:
- fastboot mode
- download twrp recovery to your fastboot file and rename it to "recovery"
- (pc) open comand window and type "adb flash recovery recovery.img"
- open recovery
- advanced
- adb sideload
- download stock rom
- (pc) adb sideload (rom name).zip
I find it hard to believe that people who own a "hackers phone" don't save a nandroid on their pc. Still, you got your solution there.

Please help
badjoras said:
If you lost the recovery aswell:
- fastboot mode
- download twrp recovery to your fastboot file and rename it to "recovery"
- (pc) open comand window and type "adb flash recovery recovery.img"
- open recovery
- advanced
- adb sideload
- download stock rom
- (pc) adb sideload (rom name).zip
I find it hard to believe that people who own a "hackers phone" don't save a nandroid on their pc. Still, you got your solution there.
Click to expand...
Click to collapse
I am now in stock rom. I downloaded it from Cynogenmod website. I have done it through fastboot adb sideload.
I saved nandroid but can't transfer that zip file to my phone. How can I side load it through fastboot?
Please help

samdubai said:
I am now in stock rom. I downloaded it from Cynogenmod website. I have done it through fastboot adb sideload.
I saved nandroid but can't transfer that zip file to my phone. How can I side load it through fastboot?
Please help
Click to expand...
Click to collapse
take a look in the backup. Are there image files in it?
You can flash image files with fastboot.
But why does USB not work in stock-rom?

Lei M said:
take a look in the backup. Are there image files in it?
You can flash image files with fastboot.
But why does USB not work in stock-rom?
Click to expand...
Click to collapse
I don't know the reason. I could not upload zip file into my phone through TWRP recovery.
So eventually I sideloaded stock rom through fastboot.
Which effectively means that I am back to unrooted and no TWRP.
Also, 33R seams to be buggy. Battery performance is still jittery and it can't detect wifi automatically. I need to switch it off and on to make it work again.
So, I want to go back to my earlier backup which was 25R. I need a fool proof process to do so.
Would really appreciate all your help

Related

[Q] help please! stuck on google logo

Guys i rooted the build GRH78C so i know how to root
i put the new build GRI40 that removes the root access by restoring it from rom manager.
but i was so stupid thinking that superboot for the build GRH78C can also root the new build GRI40. I did then it rebooted but stuck on google logo.
is there any solution?
if i tried the superboot for the new build when it comes out will it work?
does that mean my nexus s will not work forever?
please help
boot into recovery mode
then load another ROM
as a last resort you can use the Odin method, if you are unable to use fastboot methods
after flashing GRI40 by restoring from rom manager i got stuck 2.3.3 unrooted!
if i boot into recovery mode it only recognizes update.zip and passing.zip
i thought of moving update.zip into the internal memory so recovery can recognize it but i cant the phone doesn't have a sd card.
please help
I manage to try this and have the same fate.
To fixit ,is easy. Follow the following.
Fastboot write the original boot.img from GRH78C to the phone,
Boot into recovery, re-apply update.zip
Once done, you are back in business.
SWEETTOOTH said:
after flashing GRI40 by restoring from rom manager i got stuck 2.3.3 unrooted!
if i boot into recovery mode it only recognizes update.zip and passing.zip
i thought of moving update.zip into the internal memory so recovery can recognize it but i cant the phone doesn't have a sd card.
please help
Click to expand...
Click to collapse
qwerp_ said:
I manage to try this and have the same fate.
To fixit ,is easy. Follow the following.
Fastboot write the original boot.img from GRH78C to the phone,
Boot into recovery, re-apply update.zip
Once done, you are back in business.
Click to expand...
Click to collapse
Alternatively you can do the following:
1) Download the newest version of CWM from here (Google Nexus S, near the bottom of the list)
2) Boot your phone to the bootloader
3) Type
Code:
fastboot boot recovery-clockwork-3.0.0.5-crespo.img
4) Go to mounts and storage and mount USB storage
5) Download a different ROM like CM and place it on the root of your SDcard
6) Flash it
7) Golden!
kenvan19 said:
Alternatively you can do the following:
1) Download the newest version of CWM from here (Google Nexus S, near the bottom of the list)
2) Boot your phone to the bootloader
3) Type
Code:
fastboot boot recovery-clockwork-3.0.0.5-crespo.img
4) Go to mounts and storage and mount USB storage
5) Download a different ROM like CM and place it on the root of your SDcard
6) Flash it
7) Golden!
Click to expand...
Click to collapse
thanks i tried it but it says Permission denied
what i do
first i write cd the drag the tool floder to the terminal
hit enter
drag the recovery image into terminal (space) then paste fastboot boot recovery-clockwork-3.0.0.5-crespo.img
hit enter
it says
Permission denied
by the way
i have above only fastboot mode . there is no fastboot mode usb
in the bottom standard_set_configuration
does the fastboot sees my device?
is that right?
qwerp_ said:
I manage to try this and have the same fate.
To fixit ,is easy. Follow the following.
Fastboot write the original boot.img from GRH78C to the phone,
Boot into recovery, re-apply update.zip
Once done, you are back in business.
Click to expand...
Click to collapse
please do you have the file of the original boot.img?
then how to push update.zip with terminal?
Odin is GOD..
SWEETTOOTH said:
Guys i rooted the build GRH78C so i know how to root
i put the new build GRI40 that removes the root access by restoring it from rom manager.
but i was so stupid thinking that superboot for the build GRH78C can also root the new build GRI40. I did then it rebooted but stuck on google logo.
is there any solution?
if i tried the superboot for the new build when it comes out will it work?
does that mean my nexus s will not work forever?
please help
Click to expand...
Click to collapse
Hi SWEETTOOTH, if your still stuck on the Google screen can I suggest Odin as a way forward (http://forum.xda-developers.com/showthread.php?t=947950) , it wll flash you back to stock 2.3.1, but it will you keep the latest baseband that ships with 2.3.3 (I9020XXKB1). I have used it twice with no problems.
You can then re root and proceed down another path?
guys please help i bought it last week now it doesnt work at all.
how to push update.zip with adb?
how to solve Permission denied problem?
help
SWEETTOOTH said:
thanks i tried it but it says Permission denied
what i do
first i write cd the drag the tool floder to the terminal
hit enter
drag the recovery image into terminal (space) then paste fastboot boot recovery-clockwork-3.0.0.5-crespo.img
hit enter
it says
Permission denied
by the way
i have above only fastboot mode . there is no fastboot mode usb
in the bottom standard_set_configuration
does the fastboot sees my device?
is that right?
Click to expand...
Click to collapse
Okay, if you want to test to see if fastboot sees your device do this:
Code:
fastboot devices
If you get an output on that, it sees your phone. Now assuming that works and assuming I understand what is happening to you correctly do exactly as I say:
1) Download and unzip this file and place on your desktop and place the recovery image into that folder.
2) Boot your phone into the bootloader
3) Type or copy the following into your terminal exactly
Code:
~/Desktop/adb-fastboot/fastboot boot recovery-clockwork-3.0.0.5-crespo.img
that *should* work to get you into the custom recovery. From there do this:
1) Go to mounts and storage and chose mount USB storage.
2) Go to this thread and download either of them (one of them is rooted one of them is not. If you want to be rooted, download the rooted one if not download the unrooted).
3) Unzip the file to the root of your SDcard (it should be a folder called clockworkmod).
4) Eject the drive from your computer and select unmount on your phone.
5) Go to backup and restore and select restore and select the one named GRI40-2.3.3 or something like that (can't remember exactly what its named).
6) Reboot your phone. Follow the other instructions about how to prevent the stock recovery from overwriting CWM and how to flash CWM etc.
Did it work?
it says
/Desktop/adb-fastboot/fastboot boot recovery-clockwork-3.0.0.5-crespo.img
cannot load 'recovery-clockwork-3.0.0.5-crespo.img'
i feel like giving up all i need is to install the recovery but there's something wrong
fastboot cant see my device
Did you install the Android ask and the Nexis s drivers?
Sent from my MattedBlues CM7 Google Nexus S!
yes i have the sdk , and i have mac do i need drivers to install?
SWEETTOOTH said:
yes i have the sdk , and i have mac do i need drivers to install?
Click to expand...
Click to collapse
No, no need to install drivers on a mac...Man I'm baffled...I'll send distortedloop a PM and ask him to check this out because I'm out of ideas...sorry man!
Thanks man for all the initiatives
SWEETTOOTH said:
Thanks man for all the initiatives
Click to expand...
Click to collapse
Its no problem man, everyone should be able to use their phones however they like and rooting isn't easy. Sometimes people need a little help I know I did at first! hehe
Sweet, I have one last idea actually... try this:
Download this SDK http://www.box.net/shared/ljhg8t5sjh it should have everything including an older version of CWM which should still work (again unzip it to your desktop) and try using this command:
Code:
~/Desktop/androidsdk/tools/fastboot flash recovery ~/Desktop/androidsdk/tools/recovery-clockwork-3.0.0.0-crespo.img
If it works you can flash the newest version of CWM through rom manager later.
Sweettooth, is your bootloader unlocked? Do you gave the unlocked padlock icon on the bottom of the screen when you first turn on phone and have Google logo?
If your bootloader got updated to gri40 you can't fastboot boot or fastboot flash if youre locked.
Try the fastboot oem unlock command from Mac Terminal, you can always say no to the warning that pops up if you dont want to go further. Be aware that oem unlock will wipe all data off the phone including sdcard photos and stuff.
SWEETTOOTH said:
fastboot cant see my device
Click to expand...
Click to collapse
Sorry if you answered this already, but when you type in fastboot devices on the Mac Terminal what is the response you get?

Cannot boot the phone i9020 ICS

Hi guys, i tried to install that ROM
( http://forum.xda-developers.com/showthread.php?t=1396224 )
on my Nexus S i9020 with cwm.
Now when i try to turn on the phone i can only see the starting animation in loop, or, if i turn on my device in fastboot mode, i can't access the recovery mode, 'cause when i click it i can see the green droid for about 1 sec, but after that only a black screen XD
Before trying to install ICS i had Cyanogen mod 7, then i flashed the stock rom, and then i tried to install ICS
Does anyone know how can i go back to my previous ROM? thanks
Did you try flash this by installing the zip file or did you extract it to your sd card and use backup and restore?
Hmm, it says in the thread title that the nandroid backup is from I9023, not I9020.
If you can still access the fastboot mode then it's supposed to be easy. Just flash CWM recovery again and then use it to flash any custom ROM you want. Also wipe cache and dalvik-cache just in case.
Bryo92 said:
Hi guys, i tried to install that ROM
( http://forum.xda-developers.com/showthread.php?t=1396224 )
on my Nexus S i9020 with cwm.
Now when i try to turn on the phone i can only see the starting animation in loop, or, if i turn on my device in fastboot mode, i can't access the recovery mode, 'cause when i click it i can see the green droid for about 1 sec, but after that only a black screen XD
Before trying to install ICS i had Cyanogen mod 7, then i flashed the stock rom, and then i tried to install ICS
Does anyone know how can i go back to my previous ROM? thanks
Click to expand...
Click to collapse
you need to reflash your recovery(cwm or twrp) via fastboot then restore the nandroid backup that you made(you made a nandroid backup, right?) if no nandroid backup was made, flash a rom that you know will boot. you did realize that you restored a nandroid backup from a 9023 when you have a 9020? and it said tested on a 9023. anyways, you shouldnt restore other peoples nandroid backups, you should flash your roms. by restoring other peoples roms, you pickup other peoples issues as well.
Hi guys, I'm facing the same problem as the thread starter here. Using I9023. I still can load the fastboot mode but how do I reflash CWM in fastboot mode?
Sorry if this seems like a noob question. Thanks a lot!
thanks everyone, i solved it downloading the cwm img from the cwm's site, flashing it with fastboot and then restoring my backup
Hi Bryo92, may I know how you flash it using fastboot?
aaron.ng91 said:
Hi Bryo92, may I know how you flash it using fastboot?
Click to expand...
Click to collapse
fastboot flash recovery your-recovery-file.img
Hi suksit, I have installed the SDK, and placed the CWM recovery file image in the same folder as the fastboot executable. i tried the below command line on terminal but it says no such command is found.
i didn't placed the CWM recovery file image in the same directory as the fastboot.exe; i placed it in my desktop and then i wrote in the command prompt
"cd C:\path\to\fastboot.exe\"
and then
" fastboot flash recovery C:\path\to\desktop\recovery.img "
aaron.ng91 said:
Hi suksit, I have installed the SDK, and placed the CWM recovery file image in the same folder as the fastboot executable. i tried the below command line on terminal but it says no such command is found.
Click to expand...
Click to collapse
You're in the wrong directory.
If you're using Windows 7, press Shift + Right click on the folder which contains fastboot.exe and CWM recovery image, select "Open command window here", then type the command.
Or you could do what Bryo92 suggested, use the command cd directory-that-contains-fastboot first, then type the command.

[Q] urgent help needed with stock rom!!

I flash paranoid android to my moto but after a while I decided to restore the stock version. So I downloaded Repack_4.4.2_MotoG.zip and tried to flash it but it always aborts installations. I want the original stock rom so how can I do it? Whats more I cant reach my phone the computer and it does not boot neither after restoring previous backup nor after factory reset!
There you go.
http://forum.xda-developers.com/showthread.php?t=2542219
adi6262 said:
There you go.
http://forum.xda-developers.com/showthread.php?t=2542219
Click to expand...
Click to collapse
The problem is that I cant reac my phone from computer!
Can you enter fastboot ?!
danis2142 said:
The problem is that I cant reac my phone from computer!
Click to expand...
Click to collapse
if you can enter recovery you can do adb to send the zip file to sdcard
command
adb push filename.zip /sdcard/

Can't Update to 11.0-XNPH38r Incremental (Chinese OPO)

So I bought a Chinese OnePlus One, and it came pre-installed with CM 11 version 11.0-XNPH33r.
Connected to wifi, and got the system update for 11.0-XNPH38r Incremental, so I click download and install.
It reboots phone, then it loads ColorOS recovery looking screen with Chinese written on it and a green loading bar, then The CM splash icons comes back and loads. (alien looking guy with an arrow circling around his head)
After all that, I go to check the version and I'm still stuck at 11.0-XNPH33r!
I tried manually doing it from ColorOS recovery with 11.0-XNPH38r Incremental zip file, it installs about 3/4 of the way and then fails.
My Kernel Version is : 3.4.0-cyanogenmod-g0ad30e5
My ColorOS Recovery Version is : 1.2 (Rooted)
I've been looking around the forums, and I see people manually updating using TWRP which I don't have.
Can someone please help me, and if you have a solution can you please give me a step by step direction since I'm new to flashing/rooting and this phone.
I have a guide thread here:
http://forum.xda-developers.com/showthread.php?t=2839471
It contains instructions on how to unlock your bootloader and install TWRP recovery (sections 1 and 2). Before doing anything though you should check the status of your bootloader because it might already be unlocked. You'll need to follow the instructions at the top of the guide to install your phone drivers and also adb/fastboot via the Android SDK. Once you have done that you can boot your phone into fastboot mode (hold power + volume up), connect your phone to your PC via usb cable, open a command prompt from your fastboot folder (shift + right click anywhere within the foler, then select open command prompt here), and issue this command:
Code:
fastboot oem device-info
Please post the results here.
Thanks man, I'll try that out.
timmaaa said:
I have a guide thread here:
http://forum.xda-developers.com/showthread.php?t=2839471
It contains instructions on how to unlock your bootloader and install TWRP recovery (sections 1 and 2). Before doing anything though you should check the status of your bootloader because it might already be unlocked. You'll need to follow the instructions at the top of the guide to install your phone drivers and also adb/fastboot via the Android SDK. Once you have done that you can boot your phone into fastboot mode (hold power + volume up), connect your phone to your PC via usb cable, open a command prompt from your fastboot folder (shift + right click anywhere within the foler, then select open command prompt here), and issue this command:
Code:
fastboot oem device-info
Please post the results here.
Click to expand...
Click to collapse
TY for you help. I manage to get a custom recovery (TWRP), but I still can't update past 33R, when I update I get "E:Error executing updater binary in zip '/cache/cm-bacon-3628510d76-to-ac1ccf7921-signed.zip
I also have this phone SuperSU fully rooted I think
TheOneinNeed said:
TY for you help. I manage to get a custom recovery (TWRP), but I still can't update past 33R, when I update I get "E:Error executing updater binary in zip '/cache/cm-bacon-3628510d76-to-ac1ccf7921-signed.zip
I also have this phone SuperSU fully rooted I think
Click to expand...
Click to collapse
Go to section 8 of my guide and flash the stock images. Make sure you remove the -w of the last command though or it'll wipe all your user data.
Transmitted via Bacon
timmaaa said:
Go to section 8 of my guide and flash the stock images. Make sure you remove the -w of the last command though or it'll wipe all your user data.
Transmitted via Bacon
Click to expand...
Click to collapse
Thanks man. I actually tried the flashing of 44s on the guide you sent me and it worked. Sorry for my last reply. You've been a great help and my phone is up to date.
Two last question if you don't mind. When the new update comes, can I install through Settings> About Phones> System Updates
or do I have to do something similar to the flashing I just did
after flashing my custom recovery is gone (TWRP) and the Cyanogen Mod Recovery took its place. Should I leave it like that or get TWRP and if TWRP is the answer, do I use the same method I did installing the custom recovery?
You should now have no problems receiving automatic updates through the settings menu. You can leave the stock recovery if you want to, or you can flash TWRP again. If you don't intend on flashing any custom ROMs or mods then the stock recovery should suit you just fine. Flashing a recovery is done via fastboot.
Code:
fastboot flash recovery twrp-2.8.4.1.img
(where the recovery filename is twrp-2.8.4.1.img)
timmaaa said:
You should now have no problems receiving automatic updates through the settings menu. You can leave the stock recovery if you want to, or you can flash TWRP again. If you don't intend on flashing any custom ROMs or mods then the stock recovery should suit you just fine. Flashing a recovery is done via fastboot.
Code:
fastboot flash recovery twrp-2.8.4.1.img
(where the recovery filename is twrp-2.8.4.1.img)
Click to expand...
Click to collapse
Thank you for your time and effort to help.
I appreciate it a lot. Thanks again!

Can I still install any recovery(CWM or TWRP) after I have forgotten my password?

My question is: Is there any way that i can install any custom recovery now, when I am locked out of my phone, so I can try Method 7 from this post . I have enabled USB debugging, but for some reason, my device is unauthorized from executing adb commands.
I have Xiaomi Redmi Note 3, and have forgotten its password. I have tried Method 2, 5 and 6 from this post, but to no avail.
I tried method 2 and 5 which requires ADB to be installed, but I was not able to access my phone. I have USB debugging enabled and my phone is not rooted. When I tried to run the following code:
Code:
adb devices
adb shell
it showed that my phone is unauthorized and error: device unauthorized This adb server's $ADB_VENDOR_KEYS is not set
Here's the screenshot:
When trying method 6, I had to change the path of ADB driver because the file I downloaded from the post, had its own ADB driver which clashed with my already installed ADB driver, but even after that, it again showed the above error. Here' the screenshot:
Finally I want to try method 7 from the above post, which requires custom recovery to be installed on the phone, is there any way now?
Though it seems now that the I have only one option left and that is to factory reset my phone, but if , there is any other way by which I can bypass my lock screen, please please please inform me.
Of course you can. Just boot your phone into fastboot and do "fastboot flash recovery <recovery image name>.IMG" and you'll flash it. And you can't access the adb because your screen is locked... This is how companies prevent phone hacking
So flash custom recovery, backup the /data , factory reset and after resetting restore the /data backup. And you're good to go. I suggest you using TWRP, because I use it and it never left me hanging Keep me updated.
Sent from Lenovo a6000 1GB version.
Install TWRP or CWM with fastboot and then flash the Unlock me! zip that I've created and you won't lose your data.
Sent by my iPad using Tapatalk
joe2k01 said:
Install TWRP or CWM with fastboot and then flash the Unlock me! zip that I've created and you won't lose your data.
Sent by my iPad using Tapatalk
Click to expand...
Click to collapse
Didn't know that such package existed... I'd still do it my way if your phone was laggy/corrupted,... Else do the package flash. Keep me updated!
Sent from Lenovo a6000 1GB version.
Thanks! a lot, could you please guide me a little bit, how should I proceed?
MGlolenstine said:
Of course you can. Just boot your phone into fastboot and do "fastboot flash recovery <recovery image name>.IMG" and you'll flash it. And you can't access the adb because your screen is locked... This is how companies prevent phone hacking
So flash custom recovery, backup the /data , factory reset and after resetting restore the /data backup. And you're good to go. I suggest you using TWRP, because I use it and it never left me hanging Keep me updated.
Sent from Lenovo a6000 1GB version.
Click to expand...
Click to collapse
Thanks! a lot for reply, As I am still a newbie and trying to learn few things. Could you please guide me how should I proceed?
Like What files I need to download and from where? Also how should I use these files to install recovery?
dost25 said:
Thanks! a lot for reply, As I am still a newbie and trying to learn few things. Could you please guide me how should I proceed?
Like What files I need to download and from where? Also how should I use these files to install recovery?
Click to expand...
Click to collapse
OK... So first boot into fastboot. When you've done that, connect It to your pc with usb, download fastboot package from somewhere on xda(you'll find it).
Open command prompt "CD" to the directory where your fastboot is located in, put recovery image in the folder where fastboot.exe is and type "fastboot flash recovery <recovery file name>.IMG". I'm gonna update this answer in 2 days, when I get to my pc, so try to do it by these instructions, if something isn't working, comment and we'll resolve the problem. If something isn't clear, just ask. Keep me updated.
Sent from Lenovo a6000 1GB version.
Ok i will try
MGlolenstine said:
OK... So first boot into fastboot. When you've done that, connect It to your pc with usb, download fastboot package from somewhere on xda(you'll find it).
Open command prompt "CD" to the directory where your fastboot is located in, put recovery image in the folder where fastboot.exe is and type "fastboot flash recovery <recovery file name>.IMG". I'm gonna update this answer in 2 days, when I get to my pc, so try to do it by these instructions, if something isn't working, comment and we'll resolve the problem. If something isn't clear, just ask. Keep me updated.
Sent from Lenovo a6000 1GB version.
Click to expand...
Click to collapse
Can unlocking my bootloader somehow brick my phone?
Everything can brick your phone. Updating my lenovo phone with official update hardbricked mine... But yeah, it can.

Categories

Resources