THINGS TO NOTE:
1. YOU MUST UNLOCK BOOTLOADER FIRST, THEN FOLLOW THESE INSTRUCTIONS
2. AFTER YOU FOLLOW THESE INSTRUCTIONS YOU STILL NEED TO GET ROOT, YOU ARE NOT ROOTED, YOU JUST HAVE A CUSTOM RECOVERY
3.BEFORE YOU DO ANYTHING DO THIS ON YOUR PHONE
1. Go to Settings --> Applications --> Development --> Check Dubugging
2. Take out the battery from the back of your phone and insert it back in
3. hold down volume down and power button. wait until you see a screen with options
4. Use the volume buttons to go up and down...go down and select fastboot, and press power button to select it.
5. plug in your usb to your phone.
how to use command prompt:
-windows 7: start button > type in "cmd" without quotes
-windows vista and xp: start button > Run type in "cmd" without quotes
You need to be familiar with windows file system. There are directories and files
now you can go to any directory you want. Let say you want to go to your android directory that's in c:\user\seansk\android\
type: cd c:\user\seansk\android\
if you want to go back to c:\ directory
type: cd c:\
How to get custom recovery using command prompt:
download the attached .zip file provided by Binary I have also attached it here
PUT ALL THE FILES INSIDE THE ZIP FILE INTO C:\Android
to do this: click start click on "computer" or "my computer" depending on your windows version.
Then click on the main drive usually it is c:
right click in an empty area and create a new folder and call it android
now take all the files inside the zip file i have attatched and put them in the android folder
go to command prompt like showed you above: go to c:\android directory like I showed you above: if you forgot here's how AGAIN
type cd c:\android
now type this: fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img
your command prompt should now look like this:
c:\Android>fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img
PRESS ENTER, your phone will install the custom recovery
once it is done
type: fastboot reboot
Done.
seansk said:
how to use command prompt:
-windows 7: start button > type in "cmd" without quotes
-windows vista and xp: start button > Run type in "cmd" without quotes
You need to be familiar with windows file system. There are directories and files
now you can go to any directory you want. Let say you want to go to your android directory that's in c:\user\seansk\android\
type: cd c:\user\seansk\android\
if you want to go back to c:\ directory
type: cd c:\
How to get custom recovery using command prompt:
download the attached .zip file provided by Binary I have also attached it here
PUT ALL THOSE FILES INSIDE THE ZIP FILE INTO C:\Android
to do this: click start click on "computer" or "my computer" depending on your windows version.
Then click on the main drive usually it is c:
right click in an empty area and create a new folder and call it android
now take all the files inside the zip file i have attatched and put them in the android folder
go to command prompt like showed you above: go to c:\android directory like I showed you above: if you forgot here's how AGAIN
type cd c:\android
now type this: fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img
your command prompt should now look like this:
c:\Android>fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img
PRESS ENTER, your phone will install the custom recovery
once it is done
type: fastboot reboot
Done.
Click to expand...
Click to collapse
Nice but I can't find the seansk directory. What am I doing wrong?
Binary100100 said:
Nice but I can't find the seansk directory. What am I doing wrong?
Click to expand...
Click to collapse
You should try to find it by looking around your bedroom...maybe you'l find a folder named seansk on it!!! feel free to add it to your how to pages!!!
seansk said:
You should try to find it by looking around your bedroom...maybe you'l find a folder named seansk on it!!! feel free to add it to your how to pages!!!
Click to expand...
Click to collapse
Nevermind. I found it. It was the one with your mothers pictures in it.
Yeah I went there. LOL!
Binary100100 said:
Nevermind. I found it. It was the one with your mothers pictures in it.
Yeah I went there. LOL!
Click to expand...
Click to collapse
you have the wrong folder start over you need to unlock the drawer[bootloader] first
seansk said:
you have the wrong folder start over you need to unlock the drawer[bootloader] first
Click to expand...
Click to collapse
Oh no I don't. This works just fine.
Binary100100 said:
Oh no I don't. This works just fine.
Click to expand...
Click to collapse
crap I forgot to add they should start fastboot...time to edit again
I have a new Samsung Galaxy S4 . I need to use a program called Foldx for work. I downloaded it from their website, unzipped the contents of the download, and put it in a file named Foldx which has been placed in /storage/emulated/0/Foldx. The executable file is named FoldX.linux.32
When I click touch the executable file, it says "Unable to find application to perform this action"
Then, I downloaded the Terminal Emulator app to try and open it from a terminal program. I don't know how to load my program
from that file location. Ther Terminal Emulator seems to be having trouble finding /storage/emulated/0/Foldx/FoldX.linux32
Any help loading this linux program would be appreciated!
Thanks
I just bought a refurbished N9 and while installing android 7.0 it gave an error screen (with android laying on it's back)
After a bit of research it seems like a known issue. What is my best course of action in this situation?
@jagruk Download the factory image from google here Find the latest volantis (or volantisg if you have cellular data). Hold down the down volume and power button on your device to boot to bootloader. Select fastboot. Extract the file in a directory somewhere on your computer. Navigate in a command line or terminal to the directory you extracted to. Then run the flash all script (I think it's flash-all.sh for osx/linux and flash-all.bat for windows, double check yourself).
Edit: If I remember right the file comes in .tgz form. To extract on mac/Linux tar -zxvf filename
I have no clue how to extract on windows
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
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?