[TUT] Flash back Stock Recovery when you on TWRP - Redmi Note 2 General

You have installed TWRP recovery and want back to stock Xiaomi Redmi 2 Note Recovery (MI-Recovery 2.0.1) ?
Ok follow this 5 easy steps!
1. Download stock Recovery from here, unzip the file and copy " recovery.img" to the Internal storage of the device.
2. boot into TWRP and tap on Install in the TWRP main screen.
Now, the default mode is to flash zip files, you will need to toggle the mode to images. (To do so, tap on the Images… button on the bottom-right of the screen.)
3. The recovery will now only see the image files, now select the "recovery.img" file.
4. now you will be prompted to select the type of image it is, select Boot or Recovery, you must select Recovery!
5. Finally, swipe the button on the bottom of the screen to start the flashing process. Once complete, you can go to Reboot > System.

reflex9000 said:
You have installed TWRP recovery and want back to stock Xiaomi Redmi 2 Note Recovery?
Ok follow this 5 easy steps!
1. Download stock Recovery from here, unzip the file and copy " recovery.img" to the Internal storage of the device.
2. boot into TWRP and tap on Install in the TWRP main screen.
Now, the default mode is to flash zip files, you will need to toggle the mode to images. (To do so, tap on the Images… button on the bottom-right of the screen.)
3. The recovery will now only see the image files, now select the "recovery.img" file.
4. now you will be prompted to select the type of image it is, select Boot or Recovery, you must select Recovery!
5. Finally, swipe the button on the bottom of the screen to start the flashing process. Once complete, you can go to Reboot > System.
Click to expand...
Click to collapse
Lol, I dirty flashed a whole stock ROM over the top of my current one to achieve the same. Your solution is much better of course

Thank you!

Related

[VIDEO GUIDE]: How to install custom firmware for Meizu MX4

1. Self-installing firmware 4.2.8.2 (A) "ClearData" do more "reset to factory" and get ROOT.
2. Download the required files and any custom firmware in formate.zip on your smartphone.
3. install and open the first application (signedApkIDE_MX4_Unlock_BL), ROOT-provide access to it.
4. In the application click on the "Press to Unlock Bootloader" and forward messages "Unlock Finished" then we turn it.
5. Install and open the second application (Flashify_1.9.1), ROOT-provide access to it, and press the "Accept"
6. In the section, select it and hit on Flash "Recovery image", hereinafter referred to "Choose a file", and select the file previously downloaded TWRP, that you have downloaded to your phone (twrp_2.8.7.0_build2.img), and hit on "Yup" .
7. Click on the "Reboot now", and wait for the phone to boot into TWRP
8. We are in the main menu TWRP. Go to section Wipe / Advanced Wipe / 4 marks the first point at the top and pull Swipe. We are waiting for the inscription Done and return to the TWRP menu.
9. Go to the section Install and select the custom archive ROM.zip, and then click Add More Zip file and choose our GAPPS: HDPI_miniGAPPS-5.1.1 Swipe and drag the slider. We wait....
10. We wait until the appearance of the button "Reboot System" and press it. Done.
EXCELLENT GUIDE... Congratulation
well done man!
signedApkIDE_MX4_Unlock_BL.apk
Can someone, anyone please re-upload the this apk? I've been searching all over for this app and I'm at lost on how to unlock the mx4's bootloader. Please help..

g950f firmware rom where can i get it which can easily be rooted?

i need to reinstall the original firmware for g950f but i cant find it anywhere
i want to root my device ... the file i did find doesnt seemt to load up custom roms
https://forum.xda-developers.com/ga...pment/recovery-twrp-galaxy-s8-exynos-t3595102
Guides:
Notice: It may wipe all your data including those in internal storage.
Part 1 - HOW-TO FLASH TWRP:
1. In your ROM, go to Settings -> About device. Tap 7 times on Build number to enable Developer options.
2. Go to Settings -> Developer options and enable OEM Unlock option.
3. Download and Install Samsung Mobile Phones Drivers.
- Option 1: Download and Install Smart Switch for PC.
- Option 2: Download and Install standalone driver package.
4. Download and extract Odin (Samsung's Flash Tool) to your computer.
5. Download a .tar image of TWRP.
6. Reboot your device to download mode.
- Hold [VOLUME DOWN] + [BIXBY] + [POWER] for approx. 15 seconds.
- Read the warning carefully.
- If you agree, press [VOLUME UP] to get into Download mode. If you don't agree, STOP.
7. Open Odin and place that TWRP tar file in the [AP] slot.
8. Connect your phone.
9. Hold [VOLUME UP] + [BIXBY] + [POWER] on your phone and then press start on Odin.
10. Wait for the phone to reboot. DO NOT release [VOLUME UP] + [BIXBY] + [POWER] or you may not reboot into TWRP.
Part 2 - HOW-TO INITIALIZE TWRP: (for new phones)
1. If you completed Part 1 successfully, you should be in TWRP now. At this point, you will reach the screen asking you if you want to allow system modifications.
2. Select "Keep /system RO". (Don't swipe right or you may not be able to boot into system if you failed to complete next steps. However, you can swipe right to allow modifications if you are confident that you can complete next steps.)
3. Go to "Wipe" menu of TWRP and you will find "Format Data". Press "Format Data" and type "yes" to continue.
4. Go to "Reboot" menu and Press "Recovery" to reboot TWRP.
5. Download the latest dm-verity and force encryption disabler zip on your computer.
6. Transfer the zip to your phone.
- Option 1: MTP: Connect your phone with computer and just copy the zip to internal storage. (similar to how you transfer files when in system.)
- Option 2: ADB: Connect your phone with computer and run command "adb push /path/to/zip /sdcard/".
- Option 3: External SD: Copy the zip to an external SD and then insert the card to your phone.
7. Go to "Install" menu of TWRP and flash the zip.
TWRP is initialized and fully functional at this stage. Now you can either reboot into system or root, flash custom ROMs via TWRP.
Part 3 - HOW-TO ROOT:
1. Download the flashable zip.
- Option 1: Magisk
- Option 2: SuperSU (untested)
2. Transfer the zip to your phone.
3. Go to "Install" menu of TWRP and flash the zip.
Part 3a - HOW-TO FLASH CUSTOM ROMS:
1. Download the flashable zip.
2. Transfer the zip to your phone.
3. Go to "Install" menu of TWRP and flash the zip.
Simple.
where can i find firmware original
Sammobile
wakkaday said:
where can i find firmware original
Click to expand...
Click to collapse
Samfirm tool or updato.com. No download speed limits
wakkaday said:
where can i find firmware original
Click to expand...
Click to collapse
http://updato.com/firmware-archive-select-model?exact=1&q=SM-G950F
click on your Country and load the firmware.
free and high speed (maybe use download manager)

TWRP does not ask for pin

TWRP does not ask for pin, and therefore does not decrypt my storage.
How can I fix this?
Twrp has no security, it can't read anything encrypted, if you just installed it you have to wipe storage and start fresh, its in the twrp thread.
Looks like the Galaxy S8 TWRP is not fully functional yet. It asked me too for a PIN on my previous phone (Xiaomi MI5) and I could work with my encrypted /data partition in TWRP.
twrp is fully functioning you need to flash the dm-verity and force encryption disabler zip after instaling twrp and wiping data . follow the instructions found in the twrp thread
https://forum.xda-developers.com/ga...pment/recovery-twrp-galaxy-s8-exynos-t3595102
1. Download and Install Samsung Mobile Phones Drivers.
- Option 1: Download and Install Smart Switch for PC.
- Option 2: Download and Install standalone driver package.
2. Download and extract Odin (Samsung's Flash Tool) to your computer.
3. Download a .tar image of TWRP.
4. Reboot your device to download mode.
- Hold [VOLUME DOWN] + [BIXBY] + [POWER] for approx. 15 seconds.
- Read the warning carefully.
- If you agree, press [VOLUME UP] to get into Download mode. If you don't agree, STOP.
5. Open Odin and place that TWRP tar file in the [AP] slot.
6. Connect your phone.
7. Hold [VOLUME UP] + [BIXBY] + [POWER] on your phone and then press start on Odin.
8. Wait for the phone to reboot. DO NOT release [VOLUME UP] + [BIXBY] + [POWER] or you may not reboot into TWRP.
Part 2 - HOW-TO INITIALIZE TWRP: (for new phones)
1. If you completed Part 1 successfully, you should be in TWRP now. At this point, you will reach the screen asking you if you want to allow system modifications.
2. Select "Keep /system RO". (Don't swipe right or you may not be able to boot into system if you failed to complete next steps. However, you can swipe right to allow modifications if you are confident that you can complete next steps.)
3. Go to "Wipe" menu of TWRP and you will find "Format Data". Press "Format Data" and type "yes" to continue.
4. Go to "Reboot" menu and Press "Recovery" to reboot TWRP.
AT THIS STEP YOU CAN DIRECTLY GO TO PART 3 OF THIS GUIDE IF YOU WANT TO ROOT.
5. Download the latest dm-verity and force encryption disabler zip on your computer.
6. Transfer the zip to your phone.
- Option 1: MTP: Connect your phone with computer and just copy the zip to internal storage. (similar to how you transfer files when in system.)
- Option 2: ADB: Connect your phone with computer and run command "adb push /path/to/zip /sdcard/".
- Option 3: External SD: Copy the zip to an external SD and then insert the card to your phone.
7. Go to "Install" menu of TWRP and flash the zip.
TWRP is initialized and fully functional at this stage. Now you can either reboot into system or root, flash custom ROMs, Kernels via TWRP
Just rooted my Note 8 and Twrp says my Storage is 0MB
Unable to flash anything using TWRP and Magisk root is unstable too, did you manage to fix this, mine is 0MB with a swipe lockscreen and a pin too.

Google Pixel - Android 9 - Lineage 16.0 - Gapps Nano Install

Pixel 32GB AND Pixel 128GB - I have loaded and tested these instructions at least ten successful times on each of these phones. If at any time you get a failure or the phone does a long buzz/vibrate START OVER!. I started over & went back to default Factory Settings at least a dozen times on each phone without any issues.
Prerequisites:
• Google Pixel (sailfish) with Android 9.0
• Phone unlocked
• ADB installed and working on your PC
• Download to PC: latest Lineage Nightly 16.0 zip, Nano GAPPS zip, and TWRP-3.3.1-0 image (not zip)
The Pixel Phone has two partitions, called Slot A and Slot B. There are many links out on the web talking about partitions and slots. It is very confusing, but once you get this phone up and working it is designed to do updates automatically. If a problem occurs with a new update the phone will revert back to the working slot/partition. Due to this dual partition architecture there is currently no a way to install TWRP to the phone so each time you need it you have to boot the image from bootloader. I have tried a hundred ways to make it work, but this seems to be the new norm for dual partition phones.
Turn phone off.
Load boot loader – Hold Pwr Button + VolumeDown at same time until you see the bootloader Start Menu
Select “Recovery Mode” (this will bring you to the Default Lineage Recovery Screen, NOT TWRP!!!!)
Select “Factory Reset”
Select “Wipe system” and click yes to continue
Select “Wipe data / factory reset” and click yes to continue
Go back to main Recovery Screen and select “Advanced” then “Power Off”
Load boot loader – Hold Pwr Button + VolumeDown at same time until you see the bootloader Start Menu
Loading TWRP – From PC at adb prompt type: fastboot boot <twrpfilename>.img ----NOTE: Only tested TWRP Version 3.3.1-0. Currently I believe this is the first version that handles dual partitions correctly.
Phone will load to the TWRP main menu.
From the Reboot Button ensure slot b is active: “Current: Slot b” If not change!
Go back to Advanced tab and click “ADB Side load”
From PC at adb prompt type: adb sideload <lineagenightlyfilename>.zip (this will take about 5 minutes)
Go back and click “Reboot”. Set slot A active: “Current: Slot a”
Go back and click “Reboot” and select “Recovery” NOTE: leave TWRP check boxes as is!
Select “Apply update”
Select “Apply from ADB”
From PC at adb prompt type: adb sideload <gappsfilename>.zip (my preference is nano gapps & the only one I tested) . NOTE: most likely you will get a warning the file is not signed – just click “Yes”
From main default Recovery Screen click “Reboot”
After a few minutes your phone should be booted to the “Hi” screen. Continue and click on “Start”.
For now skip connecting WiFi
Leave Google Services as Default (you can change all this later if you want)
Skip Fingerprint (can add it later)
Skip Pin (can add it later)
Lineage OS Features – Leave Stock/Default and click Next
Click Start
Enable one WiFi connection (add other WiFi connections later)
Enable Development Mode: Setting -> About Phone -> tap “Build Number” about seven times until it says enabled.
Enable USB Debugging: Setting -> System -> Advanced -> Developer Options -> click “Android Debugging” on.
Add Google Account in Settings -> Accounts -> add your google account
Go to Play Store and add any apps you want.
NOTE: if you get/see “Data Transfer Tool Keeps Stopping” message pop up DO NOT close the window, rather click on “App Info” and click “Uninstall”. Everything should load fine from this point.
*** SUCCESS – WORKING PHONE! ***
A lot of steps here, but I have tried many, many configurations/attempts with “slot a” and “slot b” and the directions above are the only ones I can consistently repeat.
I've installed twrp to the phone several times. On the download page there are images and zips. Once booted into twrp, you can flash the zip and it will patch twrp into both boot slots. If you install a rom, it will overwrite the recovery so always reflash the zip. You can also install the image from a booted twrp. Install > select image, flash the image to recovery. On mine it boot loops, there's an option somewhere to fix a boot loop. If you fastboot flash twrp, it will overwrite the whole partition, leaving you with twrp but no kernel, it will always boot into twrp.
130rne, if you follow the directions exactly as listed your phone (only tested with Pixel) will work perfectly. Flashing TWRP into both slots will certainly cause you a bootloop. The directions say to flash the TWRP Image (NOT ZIP). Go back and follow the directions step by step WITHOUT ANY DEVIATION.
The instructions on the lineage site have been updated. They work if you follow them step by step. Ends up with the same result as yours. This is the most confusing device I've ever owned lol. But yeah, you can install twrp, I just tried it. Once I set everything up, I made sure I could access lineage recovery. I made sure I was on the correct slot to boot the system. Then I fastboot booted twrp 3.3.0.0, installed the twrp zip, and rebooted system. It will reboot into recovery, I made sure it said 3.3.0.0. Then I went Advanced > Fix recovery bootloop > reboot system. I'm at the lineage boot screen with twrp installed. I tried 3.2.1.0 and it didn't have the fix for a bootloop, so recent twrp versions only. Works fine, and I can backup my data. Not sure about decryption, you should be able to remove lockscreen security and decrypt data before booting into twrp. I'll test it right quick and find out.
Edit- decryption doesn't work on 3.3.0.0. Make sure to remove the lockscreen security first. I rebooted into twrp and data, system, vendor can all be mounted and files show up correctly in file manager. Good deal, I can make backups now.
Why go through all of this when you can flash the latest official 10 firmware with a double click and a 5 minute wait lol

At my wits end

So I'm trying to get Magisk installed on my bootloader/OEM Unlocked S10+ (SM-G975F beyond2lte) device.
I can do that fine by downloading the latest official firmware for my device, installing that (BL/AP/CP/CSC) through Odin v3.14.
That installs fine.
Then I sideload Magisk v23.0, and the AP file I just flashed via Odin over adb via push.
I install Magisk, recovery-patch the AP file, usd adb to pull the file back over onto my desktop. I restart the phone in download mode and once again populate Odin with the BL/AP/CP/CSC files, but this time the AP file is the one I got from Magisk.
Start that, let Odin restart my phone whilst I'm holding Bixby/Power-Up/Power, I release those three once the bootloader warning message comes up.
I set the phone up like normal, but there's the issue - my 128GB device only reads as having 32GB - I can setup Magisk fine, it asks me to download an extra bit, then auto-restarts the phone after 5 seconds.
Yay, I have root! Boo, I'm missing 96GB of free space...
I've read that installing TWRP can help fix this, fair enough, I try to install TWRP (I've tried through both the "dd" method via adb shell, and patching the twrp 3.5.2_9-3 via Magisk, and installing with vbmeta over Odin), but that then eliminates Magisk.
I've been trying this now for days, literally days, reading through different forum posts, detailing my steps to myself in notepad++ step-by-step so I can see what it is I'm doing.
I'm left with zero clue what to do now except reach out and hope for some help from this forum.
Should have known... Now that I've posted on XDA it's fixed... In-case anybody else is having trouble here are the steps I've written down for myself.
Phone is S10+ SM-G975F (beyond2lte) - Bootloader / OEM Unlock is already unlocked.
******************************************************************
FLASHING STOCK ROM (ALWAYS GOOD PLACE TO START):
******************************************************************
1. Phone into Download mode (Vol Down + Bixby button, insert USB (Don't use power button))
2. Odin, AP in AP, BL in BL, CP in CP, CSC in CSC (NOT the HOME one). USERDATA stays EMPTY!
3. Phone may restart/erase several times, in the end inbuilt recovery will turn up. Use this to factory reset.
4. Wait for it to continue like normal after factory reset.
5. Setup INCLUDING with WiFi. WiFi REQUIRED. No need to add your account
6. Make sure OEM Unlock is still checked.
*************************************************************************************************
ROOT INSTRUCTIONS: https://www.thecustomdroid.com/samsung-galaxy-s10-root-guide/
*************************************************************************************************
1. Use adb push to shunt over Magisk Manager (download latest one), and the "AP" file
2. Install Magisk Manager
3. Open, select install, make sure "Recovery" is ticked, next, select "Select and Patch a File"
4. Select the AP file, then click "Let's Go"
5. Use adb pull, as the MTP file transfer ****s up the large patched files Thanks Microsoft!
6. (adb reboot bootloader) Restart phone in Download mode
7. Open Odin, & flash the patched Magisk AP file in AP, BL in BL, CP in CP, CSC (NOT the HOME one) in CSC.
8. Let device reboot while holding POWER, BIXBY, and VOL UP, and release all 3 buttons on bootloader warning screen.
a. NOTE: If you end up with a bootloop, hold POWER, BIXBY, VOL UP until you enter the built-in recovery menu, and do a factory reset.​
9. Set device up like normal, remember to enable the WiFi
a. Check device internal storage, should be XXX out of 128GB (Or whatever you have)​
10. Search installed apps for the Magisk one, it won't have a proper icon to begin with
11. Open it, and continue the setup as it instructs. It’ll reboot the phone.
12. Device is now rooted.
********************************************************************************************
TWRP INSTRUCTIONS: https://www.thecustomdroid.com/samsung-galaxy-s10-twrp-magisk-root-guide/
********************************************************************************************
Phone must be rooted for this to work!
1. Copy the un-magisked file "twrp-3.5.2_9-3-beyond2lte.img" onto phone
2. Open Magisk, select install, make sure "Recovery" is ticked, next, select "Select and Patch a File"
3. Patch the "twrp-3.5.2_9-3-beyond2lte.img" file
4. Copy that patched file onto your PC, and rename it magisk_patched.img
5. Open powershell in same folder, and type
a. mv magisk_patched.img recovery.img​b. tar cf twrp-beyond2lte.img.tar recovery.img​
6. Enter into Bootloader mode
7. Load up Odin, untick auto-reboot, and put the magisk-patched TWRP.tar file in AP
8. Press PWR and VOL-DOWN to exit Download Mode, as soon as screen goes black, switch to PWR, BXBE, VOL-UP, release PWR & BXBE when you see bootloader warning, keep VOL UP
9. In TWRP, swipe to allow modifications
10. Flash multidisabler-samsung.zip
11. Go to wipe - format data - yes, after go back to TWRP home screen
12. Click Reboot > Recovery (NOT SYSTEM), you now have a TWRP enabled device.
13. Reinstall Magisk, and check root status, it should ask you to do the whole re-download/5 second reboot thing because you did the wipe > yes thing in TWRP.
UPDATE: After restarting my phone I lost root (Magisk was still installed, but it didn't have an "installed" version listed). To get past this I...
*************************************************************************************************************************
Magisk reinstallation via TWRP:
[ROM][Signature Spoofing]LineageOS 18.1 for S10E/S10/S10+ Exynos
oHello my friends, please someone could make a video to activate root? I can't even do it with the key combinations... Please help me I can't get into the bank apps :(
forum.xda-developers.com
*************************************************************************************************************************
1. Copy the "beyond2lte-boot-magisk.img" onto phone (see URL above)
2. Run Magisk, patch the "beyond2lte-boot-magisk.img" file, then copy it over onto your MicroSD (I just find it easier)
3. Boot into TWRP > Install > Install Image button (Bottom Right)
a. If TWRP has vanished, follow steps above to get it back​
4. Flash the patched file to "Boot"
5. Go to TWRP Home screen > Reboot into Recovery (not into System)
6. Check Magisk Manager should have Root again (Don't update Magisk via app though, or you’ll bollocks the whole thing up, and have to start all over from the start.)

Categories

Resources