help with recovery - Atrix 4G Q&A, Help & Troubleshooting

an anyone tell me what im doing wrong
I download the zip file and unzipped it to the C drive
The image files name is recovery-en-goapk
I have placed it inside C\android-sdk-windows\tools
then i type the following code
C:\Users\Mike>cd C:\android-sdk-windows\tools
then
C:\android-sdk-windows\tools>fastboot flash recovery C:\recovery-en-go-apk
then i get: error cannot load 'C:\recovery-en-goapk

http://forum.xda-developers.com/showthread.php?t=1138541
Make sure the recovery file is in the same directory as your fastboot.exe if using windows. The same goes for the moto-fastboot if using that one.

jra89027 said:
an anyone tell me what im doing wrong
I download the zip file and unzipped it to the C drive
The image files name is recovery-en-goapk
I have placed it inside C\android-sdk-windows\tools
then i type the following code
C:\Users\Mike>cd C:\android-sdk-windows\tools
then
C:\android-sdk-windows\tools>fastboot flash recovery C:\recovery-en-go-apk
then i get: error cannot load 'C:\recovery-en-goapk
Click to expand...
Click to collapse
SGTShark said:
http://forum.xda-developers.com/showthread.php?t=1138541
Make sure the recovery file is in the same directory as your fastboot.exe if using windows. The same goes for the moto-fastboot if using that one.
Click to expand...
Click to collapse
if you placed the recovery-en-go-apk file INSIDE the tools directory why would you be trying to point it to the root of C:\ ????
lets make a small attempt at logic. i damn sure would not be doing this to my device if i wasnt sure of the path of the file......

Related

How do you push a Kernel through Fastboot via PC?

OK so I put the BAMF Cubed Kernel on my phone and now I can't flash other kernels.
Many of us are having this problem, and I am having trouble installing new kernels when I try new ROMs.
Would someone please tell me step by step how to do this?
My understanding is that the boot.img file should be placed in the same folder on my PC as adb.exe, Fastboot, etc...
Is this correct? If so, what is the command line I should use to push the kernel to the phone?
Example: I want to try the new RezROM ICS from lllboredlll.
I downloaded the ROM, and have the zip on my phone's SD card. I also have it on my PC.
When I open it, I see a folder called Kernel. In that folder, there is a boot image. Also in that folder is a PH98IMG file containing a second boot image.
Which one is the correct kernel file to push via PC?
The way I understand it and have been doing it. Open up the zipped rom and you will see a boot image , extract or copy it to the folder that you have fastboot in . Then in Hboot..pull up a CMD box.. and either change location or if you have abd in your path.. the instructions are fastboot flash boot boot.img
then that should flash the kernel .. then boot to recovery ..wipe data/factory reset and then flash the rom .
BBEgo said:
OK so I put the BAMF Cubed Kernel on my phone and now I can't flash other kernels.
Many of us are having this problem, and I am having trouble installing new kernels when I try new ROMs.
Would someone please tell me step by step how to do this?
My understanding is that the boot.img file should be placed in the same folder on my PC as adb.exe, Fastboot, etc...
Is this correct? If so, what is the command line I should use to push the kernel to the phone?
Click to expand...
Click to collapse
Boot the phone into fastboot. Plug in the USB cable, open a CMD window on your computer. Set the current directory to the folder with adb.exe, fastboot.exe, and your new boot.img file.
enter the command:
fastboot flash boot boot.img
How come no one sets up their path to include the android-SDK folder with adv, fastboot...etc? I did and makes life so much easier since you never have to cd to anything to run those commands.
Sent from my ADR6425LVW using Tapatalk

[Q] File not found

I have downloaded a fastboot file and copy & paste it from download to a folter but after pasting my device & laptop are unable to found that file. What would be error. Pls help if anyone knows the solution.
Your post is very vague. What phone? What fastboot file? Are you trying to use fastboot commands to flash something to your phone? Did you change the folder in the command prompt to the folder you moved everything to? Do you have the fastboot.exe file in that folder? Do you have the correct fastboot drivers? In the bootloader menu of your phone? Good cable plugged into a known good USB port on the PC?
I am on Mi-3. I downloaded developer rom & pasted it to download_rom folder via file explorer. But after pasting i m anable to find this file. I already have an update.zip on that folder & it is showing properly
psuedodevil said:
I am on Mi-3. I downloaded developer rom & pasted it to download_rom folder via file explorer. But after pasting i m anable to find this file. I already have an update.zip on that folder & it is showing properly
Click to expand...
Click to collapse
maybe it is a corrupted download. try to download again and see if it matches to the file size you download

How to unpack recovery.img?

How can I unpack recovery.img? I am running linux on my PC.
Well I found a way, so thought that I should share it with all.
You need dsixda's Android Kitchen and recovery.img of any phone you want to unpack.
I am running a linux pc.
You can look for installation steps in following thread:
https://forum.xda-developers.com/showthread.php?t=633246
Open a terminal.
Type the following command to go into the directory of android kitchen
For example, I have to go in this path using terminal
/home/augustoandro/Android/android-kitchen , then I type
cd /home/augustoandro/Android/android-kitchen
Click to expand...
Click to collapse
After that
./menu
Click to expand...
Click to collapse
Now choose ADVANCED OPTIONS by entering the no. in front of the option.
Now, select "unpack/repack boot.img" option in the same way.
Now, enter "a".
A folder would be created in the android kitchen folder. In my case, /home/augustoandro/Android/android-kitchen/boot-img-64647470
Copy and paste the recovery.img file in the new folder.
Go back to the terminal and press enter.
The recovery.img file would be unpacked in the same folder.
You can look for it using the file explorer.
Hit thanks button if found useful

Help! Need to go back to stock!

Please Help!
I did something very stupid today.
Unlocked my RMX2170, got into fastboot.
Tried to flash PBRP as recovery, and some vbmeta.img image as vbmeta of my phone.
Disaster! My phone got stuck in a bootloop of just repeatedly booting into fastboot.
No recovery, nothing.
From there, I installed SHRP using the fasboot flash recovery command, and now I have SHRP.
SHRP, however, cannot flash ANYTHING as a result of an error that it "failed to mount /system_root and /vendor"
The phone can effectively boot into Qualcomm EDL and fastboot.
I've tried countless tools and software to get back to stock. Nothing works. MSM requires a login to function, so it won't work.
Anyone at all, please, can you tell me how to get back to FULL stock?
Through sheer trial and error,
Procedure:
1. Downloaded A37 ofp file from www.gsmmafia.com/realme-7-pro-rmx2170-flash-file/ (or mediafire download)
2. Extracted it using bkerler/oppo_decrypt's ofp_qc_extract.py into a folder:
Code:
py -3 -m pip install -r requirements.txt
py -3 ofp_qc_extract.py a37_ofp_file.ofp .\extracted
3. Rebooted the phone into fastboot, ready for flashing (Power + Volume Down for me)
5. Ran:
Code:
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash vbmeta_vendor vbmeta_vendor.img
fastboot flash super super.img
fastboot flash boot boot.img
(keep in mind these .img files came from the extracted ofp's folder!)
6. Rebooted into system using the fastboot menu (START)
7. I'm pretty sure my phone ran A41 before today... so I gave the phone an update from inside Android, that seemed to work fine.
As a bonus, my bootloader seems to have remained unlocked? Nice!
Also interesting: holding volume up does not boot into recovery. This is an issue for another day lads.
Can you explain me step 2? I have bootloped phone and I don't understand how to use oppo decrypt
Domac5 said:
Can you explain me step 2? I have bootloped phone and I don't understand how to use oppo decrypt
Click to expand...
Click to collapse
1. Download and install Python on your computer.
2. Press Windows + R, then type cmd, hit enter to access a terminal.
3. Make sure Python works by trying py -3 in the terminal. (Type exit() to exit the Python shell)
4. Download oppo_decrypt's repository zip and extract it in a folder anywhere.
5. Use cd in the terminal to navigate to the extracted folder.
6. Run this command to install the dependencies of oppo_decrypt:
Bash:
py -3 -m pip install -r requirements.txt
7. You should have already downloaded the ofp file for the phone. If not, get it from here.
8. You need to run the Python script in order to extract the images you need, so, you should copy it to the folder where your ofp file is.
Bash:
cp ofp_qc_decrypt.py /where/the/ofp/file/is/ofp_qc_decrypt.py
9. Go into the directory with the script and ofp file, and extract it.
Bash:
py -3 ofp_qc_extract.py the_ofp_file.ofp .\extracted
The extracted images you need, if you were on Android 10, should be in the extracted folder in the terminal's working directory.
Best of luck, although I can't really help you step-by-step for everything, so I suggest you visit r/realme's Discord.
Go to the Discord for more help!
Codian said:
1. Download and install Python on your computer.
2. Press Windows + R, then type cmd, hit enter to access a terminal.
3. Make sure Python works by trying py -3 in the terminal. (Type exit() to exit the Python shell)
4. Download oppo_decrypt's repository zip and extract it in a folder anywhere.
5. Use cd in the terminal to navigate to the extracted folder.
6. Run this command to install the dependencies of oppo_decrypt:
Bash:
py -3 -m pip install -r requirements.txt
7. You should have already downloaded the ofp file for the phone. If not, get it from here.
8. You need to run the Python script in order to extract the images you need, so, you should copy it to the folder where your ofp file is.
Bash:
cp ofp_qc_decrypt.py /where/the/ofp/file/is/ofp_qc_decrypt.py
9. Go into the directory with the script and ofp file, and extract it.
Bash:
py -3 ofp_qc_extract.py the_ofp_file.ofp .\extracted
The extracted images you need, if you were on Android 10, should be in the extracted folder in the terminal's working directory.
Best of luck, although I can't really help you step-by-step for everything, so I suggest you visit r/realme's Discord.
Go to the Discord for more help!
Click to expand...
Click to collapse
Step 8 not working for me
Do you have original recovery.img file,please send me? I just can't extract it from ofp file, 2 days trying and just can't
Domac5 said:
Step 8 not working for me
Click to expand...
Click to collapse
Sorry, instead of "cp" the command is "copy", my mistake.
Domac5 said:
Do you have original recovery.img file,please send me? I just can't extract it from ofp file, 2 days trying and just can't
Click to expand...
Click to collapse
You can't flash recovery.img. It won't work, I tried. You need to re-flash all of the system partitions like in my post.
I don't have the files anymore, as I did this a while ago. Sorry.
Codian said:
Sorry, instead of "cp" the command is "copy", my mistake.
Click to expand...
Click to collapse
Still doesnt work
I did it, problem was in python3 comand, that one should be typed without number 3 because that doesn't work in windows. Now it's extracting
did you had these problem?

Question What if I directly flash the zip file "DN2101_A15"?

So, I tried flashing it through Partition backer but it always should some error, I also placed it in the same folder as the platform-tools and extract zip of file but it does not work. I was thinking what would if I flashed it directly using ADB Sideload? What could go wrong?

Categories

Resources