Question How can I extract boot.img - Realme 9i

good friends,
I would like to know how to extract the boot.img directly from my device from the cmd console in windows, can such a thing be done?

Related

Trouble installing new recovery

Im trying to get my new XOOM from unlock to root and having a nightmare!
I have read and followed guides from the forum but still can't get the new recovery on?
I have done fastboot oem unlock and followed the instructions on the tab and at the end it says complete. Next once it reboots enabled usb debugging and rebooted into bootloader, all ok so far but when I try to run the command "fastboot flash recovery recovery-tiamat-r4c-100611-1150-cwm.img" it comes up with "cannot load"? I have tried with and without the. img at the end and also renamed the file "recovery" and "recovery.img" and still the same thing.
Has anyone had this same problem and can get me back on track please.
Sent from my MZ604 using xda premium
(this not applicable for steady hawkins recovery)
if you have adb installed.
copy files from platform tools folder to "tools" folder.
put tiamat recovery image in tools folder.
rename recovery..tiamat as recovery(not recovery.img)
commands:
adb reboot bootloader
fastboot flash recovery recovery.img
Ok, will give it a try when I get to my computer and will report back.
Thank you
Sent from my Desire HD using xda premium
Our Indian cricket team is in your country desperately need a win
rohit3192 said:
(this not applicable for steady hawkins recovery)
if you have adb installed.
copy files from platform tools folder to "tools" folder.
put tiamat recovery image in tools folder.
rename recovery..tiamat as recovery(not recovery.img)
commands:
adb reboot bootloader
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
nope that didnt work, same thing error: cannot load 'recovery.img
ok now im getting someware
still not working but when i do adb devices it says list of devices attached but nothing?
Just a note usb debbuging is on
Sent from my MZ604 using xda premium
rohit3192 said:
(this not applicable for steady hawkins recovery)
if you have adb installed.
copy files from platform tools folder to "tools" folder.
put tiamat recovery image in tools folder.
rename recovery..tiamat as recovery(not recovery.img)
commands:
adb reboot bootloader
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
First of all, it really doesn't matter if all your files that you need are in Tools or Platform tools, as long as they are all in there and your command window is operating out of that folder.
Second, you are making a good point re: the img file extension...in Windows, it sometimes is set to hide file extensions, so it is possible that someone could already have the img file extension there and not see it and add it again, making recovery.img.img which of course wouldn't work.
I don't think this is the OP's problem, but you never know.

[Q] Xperia PLAY custom splash screen

Have anyone tried to create an custom splash screen for the PLAY? ( the boot logo right after power on the phone before the boot animation ) I found a few apps that help to do the job themselves but only work on HTC devices and have no support to Xperia now
it's been tried and done by doomlord. He changed it in his kernels for our play. It's located in the boot.img and can't be flashed as on HTC devices.
Check this thread out for details and I might add that this is no one click solution:
http://forum.xda-developers.com/showthread.php?t=1140406
Also been talk about in this thread where i got the above link:
http://forum.xda-developers.com/showthread.php?t=1064520
Regards Dousan...
Yes, I was trying to follow the instruction but stuck at ramdisk repacking step by using azuzu provided repacking tool since I could not run it on my lappy (whenever I try to run the exe file, the cmd windows just pop up for a second and close itself so that I could not perform any command ). As I am a newbie and not able to post any thread in develpment forum, I have no choice but to ask around. It is much appreciated if you can guide me on this.
You need to open a normal cmd window on your pc/laptop and then 'cd' to the path of the .exe file you're referring to and need to execute the commands from.
It would be something like this when the cmd window is open:
cd \path\of\the\.exe (enter)
Then you will be able to execute your commands from there as postet by doomlord
Hope this makes sense.
Regards Dousan
Yeah, you are seem right. I should not execute the exe file directly but open a new cmd windows and fire the file name manually. But now I am having problem with using the script. azuzu has provided instruction but I just could not get what the actual parameter use to repack my ramdisk. By the way, it would help alot if you know any link to download custom splash screen image for the PLAY.
Sorry for my noob question and thanks a lot for your help.

[Q] boot img help

hi I have a htc one s and im what you call a noob im confused about this boot img and how to install it this is what I know so far....I mage a folder on c drive of pc called android I then put in adb and fastboot with 2 dll files as well into that folder.i downloaded a rom holoblackbean2.2 I put that zip file on the htc internal mem card now this is where I get stuck I can get into bootloader and install the zip file but how to do the boot img where do I put it and how to install it... hoping some one can explain it easily and clearly thanks in advance
ppm48 said:
hi I have a htc one s and im what you call a noob im confused about this boot img and how to install it this is what I know so far....I mage a folder on c drive of pc called android I then put in adb and fastboot with 2 dll files as well into that folder.i downloaded a rom holoblackbean2.2 I put that zip file on the htc internal mem card now this is where I get stuck I can get into bootloader and install the zip file but how to do the boot img where do I put it and how to install it... hoping some one can explain it easily and clearly thanks in advance
Click to expand...
Click to collapse
Read the first post of PACman ROM. It has very detailed instructions.
Put the boot.img in the folder where is adb and fastboot. Boot into bootlader. Plug phone into computer. You should see "fastboot USB" in red.
Open terminal and go to the adb folder. Type fastboot devices. You should see your phone device number. This step is to verify your connection.
Next type: fastboot flash image boot.img. That should flash the boot image. You should be done.
thank you my friend much appreciated

Can't boot or flash TWRP from MacOS ADB. Can't find file...

Hi,
I successfully unlocked my bootloader and the MacOS ADB can still see my device.
However, I have the TWRP files and Magisk downloaded and ready to go on the Mac (and on my phone) but the ADB commands won't work. Fastboot boot or Fastboot flash...
It's my girlfriends Mac and I'm not familiar with MacOS at all. Am I doing something obvious wrong..??? Any ideas please??
the.Great.Skua said:
Hi,
I successfully unlocked my bootloader and the MacOS ADB can still see my device.
However, I have the TWRP files and Magisk downloaded and ready to go on the Mac (and on my phone) but the ADB commands won't work. Fastboot boot or Fastboot flash...
It's my girlfriends Mac and I'm not familiar with MacOS at all. Am I doing something obvious wrong..??? Any ideas please??
Click to expand...
Click to collapse
cant find file?
Seems like youre in the wrong folder. Try to navigate to your download folder with the command cd
You can also send pictures in here
You have to open a Terminal window in the same folder where you have adb and fastboot.
Also, on OSX, the commands have to be preceded by ./
For example:
./adb devices
./fastboot boot twrp.img
Done it thank you.
I did the 'cd' command.
Then dragged the img. file from Finder to the terminal window. Then put the 'fastboot boot' command in front of that. It worked obviously.
I was unfamiliar with the file location name. This seems an easy way for someone that doesn't have a clue like me. ??

How do i install Pixel driver binaries ?

Driver Binaries for Nexus and Pixel Devices | Google Play services | Google for Developers
developers.google.com
How do I install these ? No documentation is provided ? Please help.
Syntaxerror_s said:
Driver Binaries for Nexus and Pixel Devices | Google Play services | Google for Developers
developers.google.com
How do I install these ? No documentation is provided ? Please help.
Click to expand...
Click to collapse
Install fastboot on your PC, install the Google android device drivers for Pixel devices on your PC.
Place the vendor.img(the binary file that you downloaded) in your fastboot folder on PC(not in another folder inside fastboot folder). Rename the file to "vendor.img", this makes the fastboot command easier.
Enable USB debugging on your device(not absolutely necessary but it makes things easier at some point).
Boot the device into fastboot mode, open a fastboot terminal on your PC, connect your device to PC.
Flash the vendor.img via fastboot using the following fastboot command:
fastboot flash vendor vendor.img
No, that isn't a typo, type it exactly as I typed it above, with both "vendors".
Droidriven said:
Install fastboot on your PC, install the Google android device drivers for Pixel devices on your PC.
Place the vendor.img(the binary file that you downloaded) in your fastboot folder on PC(not in another folder inside fastboot folder). Rename the file to "vendor.img", this makes the fastboot command easier.
Enable USB debugging on your device(not absolutely necessary but it makes things easier at some point).
Boot the device into fastboot mode, open a fastboot terminal on your PC, connect your device to PC.
Flash the vendor.img via fastboot using the following fastboot command:
fastboot flash vendor vendor.img
No, that isn't a typo, type it exactly as I typed it above, with both "vendors".
Click to expand...
Click to collapse
Have you looked at the binary files. I assume not judging by your answer. They are not in * .IMG. Format. Hence why I'm asking. I assume you think I'm talking about a factory image. Which I am not.
Syntaxerror_s said:
Have you looked at the binary files. I assume not judging by your answer. They are not in * .IMG. Format. Hence why I'm asking. I assume you think I'm talking about a factory image. Which I am not.
Click to expand...
Click to collapse
No, I assumed it was a vendor.img because that is what the Google page that you linked labels it as. it isn't a far stretch to think that Google would know what kind of file it is since they are the ones that built it, not to mention that they are the ones that invented android in the first place. Inside the file is a .sh file. Try finding instructions for flashing .sh files via adb/fastboot.
Droidriven said:
No, I assumed it was a vendor.img because that is what the Google page that you linked labels it as. it isn't a far stretch to think that Google would know what kind of file it is since they are the ones that built it, not to mention that they are the ones that invented android in the first place. Inside the file is a .sh file. Try finding instructions for flashing .sh files via adb/fastboo
Click to expand...
Click to collapse
I figured it out thanks for the input,
Basically just have to run the .sh in terminal and creates a make output which auto generates the files.

Categories

Resources