Hi guys!
I've a problem with the flash of the zip or img file from the terminal on my Mac Osx 10.6.8!
When I try to flash with this command: "fastboot-mac flash boot boot.img" it write "Cannot load "boot.img".
The devices is online with fastboot usb.
The image below rappresent my problem!
Someone can help me please?
You should have the boot.img within the fastboot folder. (In the same folder as the fastboot files)
Are you root? On linux at least you need root to use fastboot.
Sent from my HTC One X using xda app-developers app
Yes the image file or the zip that i would to flash is always in the fastboot folder. I've also tried to flash with the root users but nothing. (image)
Related
hey guys anone knows how to flash a boot.img using a mac
im currently on ARHD by mike
i know i have to be in fastboot mode but what do i do next
Flash the boot image?
./fastboot-mac flash boot (name of boot image / e.g. boot_1.2.3.img)
thanks for the reply but when i type it it says (no such file or directory)
any ideas?
you have the image.img and fasthboot in same folder?
Be sure that you are typing the image name right.
Hi can anyone help me pls and tell me how exactly and what exactly does: Extract boot.img from ROM zip and flash it using ‘fastboot flash boot boot.img’.
Use 'fastboot erase cache' to avoid boot issues.
I mean what do i have to do I know that these are commands in cmd but what do I have to have on my computer .I`m sorry if this question is answered somewhere but i looked for it for 2 hours and did not find it.
Thx in advance for your help
Once you download the VenomRom.zip file.. you need to open it with winrar/winzip/7zip and extract the boot.img file from it...
Extract the boot.img file in your fastboot folder... Now boot your phone into fastboot mode and connect it to your PC.
Open the fastboot folder where you had extracted the boot.img file and right click anywhere in the window along with pressing the shift key... in the menu, click on "Open Command Window Here"
Now run the following code:
Code:
fastboot erase cache
fastboot flash boot boot.img
fastboot erase cache
You can download the fastboot folder from here : http://www.mediafire.com/?cm2famr3xd2cnom
vin4yak said:
Once you download the VenomRom.zip file.. you need to open it with winrar/winzip/7zip and extract the boot.img file from it...
Extract the boot.img file in your fastboot folder... Now boot your phone into fastboot mode and connect it to your PC.
Open the fastboot folder where you had extracted the boot.img file and right click anywhere in the window along with pressing the shift key... in the menu, click on "Open Command Window Here"
Now run the following code:
Code:
fastboot erase cache
fastboot flash boot boot.img
fastboot erase cache
You can download the fastboot folder from here : http://www.mediafire.com/?cm2famr3xd2cnom
Click to expand...
Click to collapse
And what do I have to have in the fastboot folder apart from the zip and the boot.img?Thx for the previous answer
Saw it thx
You don't need the zip file in your fastboot folder... You only need the boot.img file so that you can flash it using the above command!
Copy the zip file on to your phone... you flash that in recovery...
fastboot folder has has 4 files... fastboot.exe, adb.exe and couple of dll files...
vin4yak said:
You don't need the zip file in your fastboot folder... You only need the boot.img file so that you can flash it using the above command!
Copy the zip file on to your phone... you flash that in recovery...
fastboot folder has has 4 files... fastboot.exe, adb.exe and couple of dll files...
Click to expand...
Click to collapse
Thx alot for ur help.One more question though,If i want to flash another kernel how do I do it?
and sorry for beeing ssuch a noob
You flash the boot.img from the downloaded kernel.zip and then install the .zip file in the recovery like a rom. Wipe the dalvik cache and the cache from the partition (all in the recovery) and reboot
In the case of Venom.. you don't need to repack the kernel...
so...
1. Flash the boot.img (of the kernel)
2. Go into recovery and delete cache/dalvic
3. flash the modules.zip file in recovery...
4. Reboot
Is there a way to flash a recovery with access to only the bootloader/fastboot?
fokum8 said:
Is there a way to flash a recovery with access to only the bootloader/fastboot?
Click to expand...
Click to collapse
if your recovery is a zip file, unzip it and it will contain a img file (maybe recovery.img). You can flash that using
Code:
fastboot flash recovery recovery.img
alresave said:
if your recovery is a zip file, unzip it and it will contain a img file (maybe recovery.img). You can flash that using
Code:
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Remember the img must be in the directory with the fastboot.exe and that the correct drivers are installed for it to work. Also it may not be called recovery.img so use the name of the file depending on what it was, then you can use fastboot reboot to reboot afterwards.
Fastboot boot recovery.img is a temp recovery flash I think?
Is your Pixel C stuck in a never-ending bootloop after flashing TWRP? Meaning, you're in TWRP, you choose Reboot ===> System and instead of booting into Android, it just keeps booting back into TWRP?
Please reference the following thread/post:
https://forum.xda-developers.com/showpost.php?p=78028560&postcount=27
Hope this helps someone.
BJ
I am very beginner in these tweakings. Incidently I have also asked a question with similar problem. With my Google Pixel C only booting into twrp. I think I need to install stock rom/ factory image from https://developers.google.com/android/images according to method provided there. Is it okay to flasing "flash-all.bat" with twrp already installed? Because now my concern is avoiding a 'hard bricked' device.
I ended my boot looping by installing stock rom (ryu-opm8.190605.005-factory-25b457f3) downloaded from google website. For me flash-all.bat or flash-all.sh were not working and throwing multiple kind of errors. I did two things. First I used this guide from xda to set PATH variable "How to Use ADB or Fastboot From Any Directory on your Windows/Linux PC". Then I copied the .zip ROM file into "platform-tools" folder. Importantly I also extracted the .zip file within the .zip to same platform-tool folder. I manually installed each .img file one by one:
sudo fastboot flash bootloader bootloader_dragon-google-smug.img
sudo fastboot reboot bootloder
sudo fastboot devices
sudo fastboot flash boot boot.img
sudo fastboot flash cache cache.img
sudo fastboot flash recovery recovery.img
sudo fastboot flash system system.img
sudo fastboot flash vendor vendor.img
System now working fine with stock ROM and recovery.
Could someone please help me with the proper commands to flash these 3 files in Fastboot mode with ADB
ADB FASTBOOT commands to flash
boot.img
recovery.img
recovery2.img
https://openkirin.net/user_guide/how-to-flash-extracted-partition-images/
MadGoogler78 said:
Could someone please help me with the proper commands to flash these 3 files in Fastboot mode with ADB
ADB FASTBOOT commands to flash
boot.img
recovery.img
recovery2.img
Click to expand...
Click to collapse
This must be nougat.
Let's say the images are in same folder you are running the cmd window from. If they are not then you need to adjust the command to include the full path to them.
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash recovery2 recovery2.img
Now of you are getting error messages , like , partition length over, or , partition does not exist, then you must not have nougat rom on device.
In that case you will need different commands, and different files. Lol