I am attempting to install CM7 on my Nexus S.
I have followed the instructions on the Cyan Wiki and ALLGAMER's guide on XDA. Everything has worked so far, i was able to unlock the boot loader with no problem and i get a result when i use the fastboot devices command, so fastboot is working and the phone is being recognized.
However when i try to flash the CW recovery image i get the same result every time
error: cannot load 'recovery.img'
or
error: cannot load 'recovery-clockwork-3.0.0.5-crespo.img'
I have tried it both ways. I am making sure to put the recovery file in the tools folder in the SDK folder. the same folder that has fastboot.
I have tried rebooting the phone and computer and disconnecting/reconnecting. I have tried downloading different versions of the recovery image from different hosts. I have also tried uninstalling the device drivers and reinstalling them (it shows up correctly in device manager as "Android Bootloader Interface".
what am i missing?
Where did you type the command? You should cd into the "tools" folder -- where the actual .img file is located -- before issuing the command.
what would be the full command from
c:users\name>
Nevermind, i figured out the command. Thanks that was exactly what i needed. waiting on my CM7 to boot now!
smile
Hello all,
I'm trying to install oxygenOS via sideload on my oneplus using TWRP.
My PC cmd only goes to around 20% while sideloading and then my phone starts "extracting the package".
And it all ends with an error around 60%.
Here is exactly what my phone log says:
Starting ADB sideload feature...
Installing '/sideload/package.zip"...
E: unknow command [wipe_data]
format /system...
extract the package...
What am I doing wrong? I think the problem is that the phone immediately starts to extract the flashable zip even before it's fully transferred.
Greetings Rémon
remon1995 said:
Hello all,
I'm trying to install oxygenOS via sideload on my oneplus using TWRP.
My PC cmd only goes to around 20% while sideloading and then my phone starts "extracting the package".
And it all ends with an error around 60%.
Here is exactly what my phone log says:
Starting ADB sideload feature...
Installing '/sideload/package.zip"...
E: unknow command [wipe_data]
format /system...
extract the package...
What am I doing wrong? I think the problem is that the phone immediately starts to extract the flashable zip even before it's fully transferred.
Greetings Rémon
Click to expand...
Click to collapse
Did you extract the original .zip file to get the flashable .zip before sending it to your device?
same problem here
remon1995 said:
Hello all,
I'm trying to install oxygenOS via sideload on my oneplus using TWRP.
My PC cmd only goes to around 20% while sideloading and then my phone starts "extracting the package".
And it all ends with an error around 60%.
Here is exactly what my phone log says:
Starting ADB sideload feature...
Installing '/sideload/package.zip"...
E: unknow command [wipe_data]
format /system...
extract the package...
What am I doing wrong? I think the problem is that the phone immediately starts to extract the flashable zip even before it's fully transferred.
Greetings Rémon
Click to expand...
Click to collapse
Why are you sideloading when you can just copy it across and flash locally?
Transmitted via Bacon
XDA Friends,
WOULD YOU LIKE TO MAKE A LITTLE MONEY TODAY???
I am calling out to you in DIRE need. I have royally screwed up my brand new Razer phone (US) and as far as I can tell there is only one way back and that is to get one of you gracious souls to do me a very big favor. What I need is a SD Card that has been formatted to work on a Razor phone and that contains, an ENTIRE cheryl-global-3005.zip. One that has not only the boot.img but the system.img. The reason I need to get this from one of you is that while I was in TWRP I accidentally flashed boot.img in System instead of Boot. This overwrote System and so now I cannot boot into the main system, it essentially goes into a boot loop. So that means I cannot get adb to work which means I cannot move files onto the SD Card (that is specially formatted for that phone and cannot be used to move files physically). And I failed to get the entire image onto the sd card prior to this happening so I do not have a system.img file on the phone in any capacity with which to flash to at least get back to factory.
So I'm thinking that if I can get someone to send me a formatted sd card that contains the full cheryl zip then I can put that card in my phone flash the system.img file from it that should get me back.
If you are willing to help me out with this I WILL PAY YOU.
PLEASE send me a private message here so we can arrange this as soon as possible. I'm phoneless without this fix.
You forgot to mention where are you from, my friend.
My advice comes free of charge:
Hold the power key until the device shuts off. Then download the system images from https://developer.razerzone.com/razer-phone-dev-tools/factory-images/
Unzip this file and run the flash_all.bat file. (I assume you have fastboot set up already considering you've flashed TWRP). Once this completes you should see it booting up to a stock system.
You also have the option of manually flashing the system.img from this factory image using fastboot. No SD card required
Unfortunately, I cannot get to the download mode anymore in order to use fastboot. The only thing I can get to is TWRP. Any other attempt just sends it into bootloop.
@Kimbaroth I'm from North Carolina, United States.
Unfortunately, I cannot get to the download mode anymore in order to use fastboot. The only thing I can get to is TWRP. Any other attempt just sends it into bootloop.
@Kimbaroth I'm from North Carolina, United States.
OK scratch that I am able to get into download mode now. @Flippy125 thanks for the advice. I'll give that a try.
Ok, I am able to run fastboot devices and I can see that it recognizes the device. However, when i try to run "fastboot flash flash_all.bat" I get the following error message: unknown partition 'flash_all.bat'
error: cannot determine image filename for 'flash_all.bat'
I also tried "fastboot push cheryl-global-3005.zip" and that failed with error: unknown command push
I also tried "fastboot flash system.img" and that failed with error: unknown partition 'system.img'
error: cannot determine image filename for 'system.img'
Not sure what I'm doing wrong here. Any thoughts?
lostnsound said:
Ok, I am able to run fastboot devices and I can see that it recognizes the device. However, when i try to run "fastboot flash flash_all.bat" I get the following error message: unknown partition 'flash_all.bat'
error: cannot determine image filename for 'flash_all.bat'
I also tried "fastboot push cheryl-global-3005.zip" and that failed with error: unknown command push
I also tried "fastboot flash system.img" and that failed with error: unknown partition 'system.img'
error: cannot determine image filename for 'system.img'
Not sure what I'm doing wrong here. Any thoughts?
Click to expand...
Click to collapse
I think you meant "fastboot flash system_a system.img"
And you don't need to do "fastboot flash flash_all.bat", you just double click flash_all.bat that is inside the folder and it should work, as long as you have fastboot correctly installed
EDIT: I'm not sure, but I think "flash_all.bat" would erase all your files. Can anyone confirm this?
lostnsound said:
Ok, I am able to run fastboot devices and I can see that it recognizes the device. However, when i try to run "fastboot flash flash_all.bat" I get the following error message: unknown partition 'flash_all.bat'
error: cannot determine image filename for 'flash_all.bat'
I also tried "fastboot push cheryl-global-3005.zip" and that failed with error: unknown command push
I also tried "fastboot flash system.img" and that failed with error: unknown partition 'system.img'
error: cannot determine image filename for 'system.img'
Not sure what I'm doing wrong here. Any thoughts?
Click to expand...
Click to collapse
fastboot flash system system.img
@el4nimal and @waiflih
What is the difference between system and system_a?
Also, can you explain what slot A and slot B are? I have not run into those terms before when rooting other phones (previous was a Nexus 6p).
Thanks for the help guys! I really appreciate it. I'm at work right now so I will try your suggestions at lunch when I can run home for bit.
lostnsound said:
@el4nimal and @waiflih
What is the difference between system and system_a?
Also, can you explain what slot A and slot B are? I have not run into those terms before when rooting other phones (previous was a Nexus 6p).
Thanks for the help guys! I really appreciate it. I'm at work right now so I will try your suggestions at lunch when I can run home for bit.
Click to expand...
Click to collapse
I'm not sure, but I think those are partitions like C:/ and D:/ on a PC.
"System_a" would flash system.img only on Slot A, "System_b" on Slot B, I don't know what "system" does....i think it flashes both
IT'S ALIVE!
So "fastboot flash system system.img" is what worked. Appears that running that command updated system_a based on what I could see in the cmd prompt logging. But it worked as I am now able to boot into the operating system. THANK YOU GUYS SO MUCH!!! You saved me $700. What can I do to support you?
lostnsound said:
IT'S ALIVE!
So "fastboot flash system system.img" is what worked. Appears that running that command updated system_a based on what I could see in the cmd prompt logging. But it worked as I am now able to boot into the operating system. THANK YOU GUYS SO MUCH!!! You saved me $700. What can I do to support you?
Click to expand...
Click to collapse
I'm glad that it worked. Just enjoy it!
Reading this brought a warm feeling to my heart. Have fun with the phone. It's great!
Glad this got sorted. I think I can speak for all of us tinkerers when I say we've all been in this situation before and called upon the forum for advice. Pay it forward ^_^
Hey, i messed up my phone by installing something via magisk. Now im trying to install a new rom.
When i open the phone (lenovo p2a42), i get encryption error. For able to fix that problem i have to use "fastboot format userdata" command but i get raw file system error. How can i fix this? Disk manager doesn't see the phone.
Code:
adb reboot bootloader
error: no devices/emulators found
fastboot devices
ZY223TNMLC fastboot
fastboot format userdata
(bootloader) has-slot:userdata: not found
fastboot: error: Formatting is not supported for file system with type 'raw'.
edit ok i figure it out. power button, adv setting, recovery than continued to next step, there is no need to format
Jhumsmt said:
continued to next step
Click to expand...
Click to collapse
You mean continue to regular boot or continue to recovery?
i was trying to install a gsi but when i did the command fastboot flash system system.img an error came out: no such a file or directory. i tried to put the file shortcut, error, i tried to put it on the desktop, error.. info: i tried to install it both from the bootloader and from the fastbootD, but both gave me an error