How to flash a stock image using TWRP only, not a PC - Android Q&A, Help & Troubleshooting

I have a Nexus 6P that has some weird issue where it is not being recognized by any PC or any USB port as a USB device. So I can't get it to work with fastboot as an adb device. It has stock android 6.0.1 on it and TWRP. This is how I got it. I think there is something wrong with the software not allowing the USB mode to work properly so I wanted to flash to another stock image. I've already downloaded the stock anglr image and uses Google Drive to transfer the files over, both the complete image and also the independent IMG files. Is it possible to use TWRP to flash the phone back to stock?

Two questions before I venture an answer -
a. When you mean flash back to stock, I am assuming you mean your TWRP stays and all you want is to flash stock android. Right?
b. Your custom recovery is TWRP right?

tropicanapure said:
Two questions before I venture an answer -
a. When you mean flash back to stock, I am assuming you mean your TWRP stays and all you want is to flash stock android. Right?
b. Your custom recovery is TWRP right?
Click to expand...
Click to collapse
a: Yes, unrooted and a different stock image to see if maybe this version on the phone is buggy with the USB connection not working.
b: Yes, TWRP 2.8.7.2

Great. Then the simple answer is yes. Subject to the fact that whatever you trying to flash is "flashable" (i.e. usable by TWRP). To be honest I have been flashing using TWRP for last 3 years and never once have I used a PC.
Slightly longer answer. To do this
a. (ALWAYS) Backup original Android install using TWRP
b. Factory reset (NOT wipe - unless you know what you are doing!)
c. Look for the Flashable ZIP containing your stock image - and flash.
and voila! You are back to stock!
Good luck!
tmar89 said:
a: Yes, unrooted and a different stock image to see if maybe this version on the phone is buggy with the USB connection not working.
b: Yes, TWRP 2.8.7.2
Click to expand...
Click to collapse

tropicanapure said:
Two questions before I venture an answer -
a. When you mean flash back to stock, I am assuming you mean your TWRP stays and all you want is to flash stock android. Right?
b. Your custom recovery is TWRP right?
Click to expand...
Click to collapse
tropicanapure said:
Great. Then the simple answer is yes. Subject to the fact that whatever you trying to flash is "flashable" (i.e. usable by TWRP). To be honest I have been flashing using TWRP for last 3 years and never once have I used a PC.
Slightly longer answer. To do this
a. (ALWAYS) Backup original Android install using TWRP
b. Factory reset (NOT wipe - unless you know what you are doing!)
c. Look for the Flashable ZIP containing your stock image - and flash.
and voila! You are back to stock!
Good luck!
Click to expand...
Click to collapse
Thanks. So if I download the stock android image from google developers page, I can copy that over to the device and use TWRP to flash it?

Actually, I've been reading that I cannot flash a factory image with recovery, only fastboot. But fastboot doesn't work for me because device won't recognize when connected with USB (trust me, I tried everything with drivers and cables, computers, etc). I think I need to find a flashable stock image for my device.

tmar89 said:
Thanks. So if I download the stock android image from google developers page, I can copy that over to the device and use TWRP to flash it?
Click to expand...
Click to collapse
No. Which is why I said - "flashable". I dont have a Nexus 6p so I dont know where you can find a TWRP flashable stock image for that device. But a quick search of your device specific sub-forum on XDA yielded this link.
The link in the first para should help you find a "flashable factory/ stock image". I would suggest you follow instructions on that post and ask further questions there as the folks in there will have the same device as you and provide better help.
Again, good luck!

Thanks, I appreciate this advice as it helps.

tmar89 said:
Thanks, I appreciate this advice as it helps.
Click to expand...
Click to collapse
No worries. Pass it on
PS: Here's another XDA thread that has a flashable version of the STOCK rom.
PPS: Found via Google search terms nexus 6p stock rom flashable

Related

accessing bootloader

Hiya
I've desided to change my rom on my G925F and I have it rooted however I am unable to reboot into the bootloader I can't find any way to unlock it.
Any thoughts, hints, ideas that would help me in my quest to rid my phone of bloatware would be greatly appreciated
You won't need to unlock your bootloader if you have a 925F - do you mean you can't boot into recovery mode? What exactly are you trying yo achieve? Do you want to flash another firnware, or just de-bloat your current firmware?
Hi
I guess I should have been a bit clearer, my plan/goal is to flash another firmware onto my phone
Maybe I should say why I want to get into the bootloader:
I want to install fastboot and I can't cause I can't get into bootloader
Menoto said:
Hi
I guess I should have been a bit clearer, my plan/goal is to flash another firmware onto my phone
Maybe I should say why I want to get into the bootloader:
I want to install fastboot and I can't cause I can't get into bootloader
Click to expand...
Click to collapse
So if I understand your request, you'll first need to flash a custom recovery like CWM or TWRP, which you do via Odin. Once you have that, you can flash a new custom firmware as an unsigned .zip file. Follow the instructions here - this is what I used on my 925F.
nofam said:
So if I understand your request, you'll first need to flash a custom recovery like CWM or TWRP, which you do via Odin. Once you have that, you can flash a new custom firmware as an unsigned .zip file. Follow the instructions here - this is what I used on my 925F.
Click to expand...
Click to collapse
Hi
I have installed TWRP recovery (and it's working just fine)
I've installed both the BL and the CP from this one
and I now have the baseband as stated in this (still unable to reach the bootloader)
the reason I wanna reach this magical place is so that I can install fastboot
Menoto said:
Hi
I have installed TWRP recovery (and it's working just fine)
I've installed both the BL and the CP from this one
and I now have the baseband as stated in this (still unable to reach the bootloader)
the reason I wanna reach this magical place is so that I can install fastboot
Click to expand...
Click to collapse
Sorry, I'm still not sure what you're trying to achieve - you're obviously able to boot into Download Mode if you're now using TWRP (assuming you flash it via Odin). What are you trying to do via Fastboot that can't be done via TWRP?
nofam said:
So if I understand your request, you'll first need to flash a custom recovery like CWM or TWRP, which you do via Odin. Once you have that, you can flash a new custom firmware as an unsigned .zip file. Follow the instructions here - this is what I used on my 925F.
Click to expand...
Click to collapse
nofam said:
Sorry, I'm still not sure what you're trying to achieve - you're obviously able to boot into Download Mode if you're now using TWRP (assuming you flash it via Odin). What are you trying to do via Fastboot that can't be done via TWRP?
Click to expand...
Click to collapse
Hi
I'm currently trying to install ubuntu touch on my phone as I'm using ubuntu on my pc and the only place I've found that helps with this that isn't over 2 years old is this one and doing the terminal commands requires the phone to be in bootloader mode or else it will not get recognized by the pc
Menoto said:
Hi
I'm currently trying to install ubuntu touch on my phone as I'm using ubuntu on my pc and the only place I've found that helps with this that isn't over 2 years old is this one and doing the terminal commands requires the phone to be in bootloader mode or else it will not get recognized by the pc
Click to expand...
Click to collapse
Umm. . . According to that link you've posted, the Galaxy S6 isn't even supported. I suspected as much, as Fastboot is usually something you only see on pure Android devices (Nexus phones/tablets).
I'd strongly suggest you do some more reading on this before proceeding, as you'll almost certainly end up with an expensive paperweight otherwise!!
nofam said:
Umm. . . According to that link you've posted, the Galaxy S6 isn't even supported. I suspected as much, as Fastboot is usually something you only see on pure Android devices (Nexus phones/tablets).
I'd strongly suggest you do some more reading on this before proceeding, as you'll almost certainly end up with an expensive paperweight otherwise!!
Click to expand...
Click to collapse
Thanks a lot for the help I will do this
Sent from my Nexus 4 using XDA Free mobile app

TWRP 3.0 is up!

https://dl.twrp.me/angler/
So flash, much excite, such new. Wow.
Edit - I know I sound weird but I don't like dirty flashes. I always reboot into bootloader, fastboot erase recovery and then fastboot flash recovery twrp.img ( I rename it twrp.img for short) then boot into it. I have done this for years on BL unlocked devices and never had a problem flashing twrp. It's just ME, but I think it is fun typing the stuff, and it assures me that I have a clean state and am not dirty flashing anything! Also, on others phones I use RASHR instead of flashify. Once again, personal preference but have had better luck.
XDA Thread updated
And backs up with finger print
^ That's great news.
I tried flashed this but after trying to reboot into recovery got the broken android icon. Reflashed back to older version and it worked. Not sure if I had a corrupt come. Do you have to reboot the bootloader after flashing from fastboot for it to take? I just rebooted to system after flashing.
synnyster said:
I tried flashed this but after trying to reboot into recovery got the broken android icon. Reflashed back to older version and it worked. Not sure if I had a corrupt come. Do you have to reboot the bootloader after flashing from fastboot for it to take? I just rebooted to system after flashing.
Click to expand...
Click to collapse
Just out of curiosity, did you use flashify? I know two other people that it borked the flash also. I recommend rashr. But I also flash via otg cable and usb drive. I'd say you most likely had a bork download. Delete the img, run trimmer, redownload it. And flash via rashr and reboot and respond if it fixed it. Good luck!
Gytole said:
Just out of curiosity, did you use flashify? I know two other people that it borked the flash also. I recommend rashr. But I also flash via otg cable and usb drive. I'd say you most likely had a bork download. Delete the img, run trimmer, redownload it. And flash via rashr and reboot and respond if it fixed it. Good luck!
Click to expand...
Click to collapse
I flashed via fastboot after I updated to the newest android February security patch.
synnyster said:
I flashed via fastboot after I updated to the newest android February security patch.
Click to expand...
Click to collapse
Okay you're on stock?
Gytole said:
Just out of curiosity, did you use flashify? I know two other people that it borked the flash also. I recommend rashr. But I also flash via otg cable and usb drive. I'd say you most likely had a bork download. Delete the img, run trimmer, redownload it. And flash via rashr and reboot and respond if it fixed it. Good luck!
Click to expand...
Click to collapse
Gytole said:
Okay you're on stock?
Click to expand...
Click to collapse
Stock systemless root. Used Heisenberg's guide step 10 to update. Saw TWRP 3.0 so decided to try that.
synnyster said:
Stock systemless root. Used Heisenberg's guide step 10 to update. Saw TWRP 3.0 so decided to try that.
Click to expand...
Click to collapse
Fastboot erase recovery, then reflash twrp recovery, boot into recovery and reflash systemless root.
No problem dirty flashing here, but the process is a little different than it was on my previous phone where you would just flash it like a ROM...
You gotta:
"Download the latest TWRP image file (.img) from the download link and boot TWRP. Go to install and find and select the Images... button. Browse to the image that you downloaded and select it. Choose recovery and swipe to flash."
OP's method seems like the best bet though...
Sent from my Nexus 6P using Tapatalk
"No problem dirty flashing here, but the process is a little different than it was on my previous phone where you would just flash it like a ROM..."
That's cause you're use to flashing zips people make flashable, i'm old school and use img's hahaha "LET'S MAKE FLASHING FUN!" Shutup Gytole...
Just out of curiosity has anyone tried flashing twrp as boot? I also have a thread in the tmobile G3 section and I almost wonder if thats why they bork their phone...lol
Just did it on my girlfriends G3 through twrp and was like, "they totally flashed it as boot...."
Used twrp manager from Google store was simple and easy
ROADKING17 said:
Used twrp manager from Google store was simple and easy
Click to expand...
Click to collapse
Way to deviate from the norm! Haha
Gytole said:
Way to deviate from the norm! Haha
Click to expand...
Click to collapse
Takes all kinds...
Sent from my Nexus 6P using Tapatalk
No need for this thread, as there is a TWRP thread in the development forum.
Thread closed.

Le Eco Pro 3 X727 Twrp Backup : Clean Full Stock X727 recovery EUI 5.8.21s

Return to Un-modded Stock:
Bootloader unlocked and TWRP and Root included
The file is 4gb compressed to 2gb. Depending on your connection it will probably take 20 to 45 minutes to download.
Be Advised
Do your research before flashing anything, I am not responsible for any damage caused to your device, due to impatience and missed steps. However, rest assured this recovery is solid and will absolutely return your X720 or X727 to stock 5.8.21s (with the bootloader already unlocked, TWRP installed and rooted)
I was asked by several people if I would be willing to share a link to my Stock X727 recovery, I created this thread to provide the 5.8.21s recovery for anyone who is experiencing dire issues or is simply wanting to restore the last official x727 recovery, as a daily driver or as a means to troubleshoot their issues by returning to the fully stock rom, stock partitions and ready to start over.
Attached is my full stock TWRP Recovery for my Le Eco Pro 3, version: 5.8.21s (X727)
It is a clean TWRP backup recovery that I did not mod in any way other than unlocking the bootloader.
The link is to my Google Drive account. https://drive.google.com/open?id=19dtLHmE5bsx5mdtEXOns4Z5drpeY79Em
The file is compressed
Ensure that you perform a full wipe before applying this recovery, and that you know what you are doing before attempting to install.
Please note that any changes that you make to your device is done at your own risk.
Please use caution and make sure that you have TWRP recovery installed.
Be in the habit of booting back to recovery before booting to system....This is a good practice for ensuring TWRP stays installed
You must unpack the downloaded 7zip file, before it will be useable.
As long as you can boot into TWRP and have root access you will have the full permissions needed to install anything , and reverse any actions that do not workout as planned.
Personally, I make a backup of my existing installation prior to making any changes. I recommend that you do the same. If you buy an OTG adapter and a USB 3.0 drive it takes 5 minutes.
The steps provided on the following link can be used to install my recovery file. https://forum.xda-developers.com/le-pro3/how-to/guide-return-to-stock-lock-bootloader-t3539513
When clicking the link, Google will attempt to scan. Click download to see the file, and then choose download if wanted.
Flash the appropriate files below for which ever device you own. ( X727 - Not needed, I provided the files anyway just in case.)
Firmware - X720
https://mega.nz/#F!kDgFQJ6R!MDhxCFw5KjfB0CfxAWwr9w
Firmware - X727
https://drive.google.com/open?id=136-4UpUUsj3exNsTc3d5n2iQuYUxr00H
Modems
X720: https://mega.nz/#F!pZ4WGARZ
Key : !2oG3Z2LS_wP8BzcWUQjfHg
X727: https://mega.nz/#F!NJ5VHS7Z
Key : !p0iO7bDiZ4kXny03EiAlWw
Build Prop Fix Device ID Tool ( Credit to @Ascertion )
https://mega.nz/#F!oAZ3yC4b
Key: !MDwbHXNTRdrpgMvQ42yviw
EFS:
Warning : Use this only if you have unrepairable IMEI Issues! Otherwise its not needed, and you could forever lose your original IMEI info.
https://drive.google.com/open?id=10n2VjwBYHmrq_PllcWmTaGUtMIeYynZ7
[B ]Just for Fun[/B] - Boot Screens and Boot Animations -
https://mega.nz/#F!JB51zbwR
Key: !sG_wXTPqyKpugg5QIZFo9w
These splash-screens and animations came from various sources. If you created them contact me so i can give you credit.
The Red Splash came from the Couco modified EUI : version 5.9.028s VR4
Other Helpful Hints and Tips More to Come!
Unlock Bootloader and Flash Roms, Gapps and Magisk https://forum.xda-developers.com/showpost.php?p=75009966&postcount=692 ( If using original Stock
Viper Settings : https://forum.xda-developers.com/showpost.php?p=75449097
Installing Viper and Dolby: https://forum.xda-developers.com/showpost.php?p=76362493&postcount=19
Edit
October 8, 2018:
I uploaded the Leeco Full Stock Rom 5.8.26s to my MegaDrive.
If you are selling your phone and want it to have stock without TWRP and without root , just flash this Rom and your stock radio driver "firmware" for your device
Link for EUI 21S : https://mega.nz/#!FRhh1ArL
Key: V5ua3oj91kFtgvLYBhl1X6Oq3bsScyDFruN3UptkWN0
A late reply to my issue but I just got around to restoring my Pro3. This worked while the last backup did not! Thanks!
Soul0Reaper said:
A late reply to my issue but I just got around to restoring my Pro3. This worked while the last backup did not! Thanks!
Click to expand...
Click to collapse
Thats Awesome! I am glad that it helped you.
Great work just what I needed only one problem for me after I flash rom reboot system and then go back into TWRP there seems to be encryption on it and I can't install or backup or do much. Is there a password or way around this TWRP encryption?
dunas2331 said:
Great work just what I needed only one problem for me after I flash rom reboot system and then go back into TWRP there seems to be encryption on it and I can't install or backup or do much. Is there a password or way around this TWRP encryption?
Click to expand...
Click to collapse
Sorry, I didn't get a notification for your message. The encryption is your storage.
Follow the instructions here to resolve: https://www.google.com/amp/s/forum....return-to-stock-lock-bootloader-t3539513/amp/
The link has instructions for getting past and removing encryption.
tsongming said:
Sorry, I didn't get a notification for your message. The encryption is your storage.
Follow the instructions here to resolve: https://www.google.com/amp/s/forum....return-to-stock-lock-bootloader-t3539513/amp/
The link has instructions for getting past and removing encryption.
Click to expand...
Click to collapse
Can you elaborate on what to do here I keep getting encryption password too and can't do anything in twrp
Hi tsongming, you know if can work on a x720?
thanks
Toni Moon said:
Hi tsongming, you know if can work on a x720?
thanks
Click to expand...
Click to collapse
Yes x720 and x727 are practically identical phones.
Sent from my LEX720 using XDA Labs
Scruffdog1978 said:
Can you elaborate on what to do here I keep getting encryption password too and can't do anything in twrp
Click to expand...
Click to collapse
I don't have time at the moment to provide lengthy instructions. With respect, I am providing a working, clean unlocked recovery file and pointing the way to instructions already that exist all throughout the LeEco forums.
But here's a quick answer
First use TWRP to reset your phone with a clean wipe, like you would for any ROM. Set developer options to the standard settings.
Next, your storage is encrypted. So it needs to be formatted. Use TWRP format the storage only. Then reboot to recovery.
****Important****
Don't ever format the storage without ensuring that you have a TWRP recovery. Always check the boxes to check if TWRP is installed before swiping. If you don't have a recovery you have a soft brick.
For you information, TWRP recovery is installed on it's on it very own partition. Formatting the storage does not affect the TWRP partition. Nonetheless, if you see the check box option, make sure they are checked.
I would suggest that you install the all in one tool : https://www.google.com/amp/s/forum....pment/tool-tool-one-mauronofrio-t3580611/amp/
This tool helps a lot and makes this stuff easier if are new to flashing custom Roms.. The all in one tool will update the Google driver and ADB installation on your computer.
After you format your drive you will have to flash the recovery from the PC. The links provided show all of the steps, or you can use the all for one tool. When your storage is encrypted you have no choice but to format.
If you use the all in one tool , see their page for instructions.
Read the instructions, then read them again. when learning something new it's a good idea to take notes.
Do not deviate from those steps or you could brick your phone.
There have been many people that have messaged me by PM who successfully returned to stock using my recovery, so it will work as long as you are careful and follow the instructions verbatim and you will be fine. Plus, It's a great idea to create your own working recovery before you begin.
Reminder, you are restoring to stock under you own discretion, I am not responsible if you miss a key step, have a power outage, use faulty cables or brick your device.
One final suggestion, when you install the recovery make sure your phone is fully charged. Unplug all unneeded external peripherals from your desktop computer.
Temporarily, disable antivirus, insert USB cable into the back of your desktop PC. Those outlets provide more power.
Please look past any typos, I typed this on little keys.
One last suggestion
Read this
http://www.androidtipsz.com/top-5-things-to-do-before-installing-a-custom-rom-on-your-android-device
Sent from my LEX720 using XDA Labs
Will I keep twrp after restore? Thanks
---------- Post added at 03:29 PM ---------- Previous post was at 02:53 PM ----------
meh4life321 said:
Will I keep twrp after restore? Thanks
Click to expand...
Click to collapse
Also, could I just restore the system?
Could I just flash this in TWRP and keep twrp as my recovery?
meh4life321 said:
Will I keep twrp after restore? Thanks
---------- Post added at 03:29 PM ---------- Previous post was at 02:53 PM ----------
Also, could I just restore the system?
Click to expand...
Click to collapse
No it will not keep twrp. follow the instructions in the link I provided above, there was no reason to duplicate the instructions on my post.
The difference is that my backup will restore your phone to Eui 5.8.21s with bootloader unlocked. You will need to reflash Twrp and root the phone with Magisk if you want to keep Twrp recovery ( that is what I would do) You will not be able to get OTA updates. But that doesn't matter because there probably not be any more OTA updates for the x727
Thank you, sir! This is great work. I was able to restore back to stock.
On the strange side of thing, my TWRP was saved. Previously, I was running AICP, but having multiple sound issues with it.
Here are the steps I followed to restore:
1) Move the file to OTG flash drive
2) Restore through TWRP via Restore
For my 727, it just reboot on logo, and doesn't go past it.
rob_z11 said:
For my 727, it just reboot on logo, and doesn't go past it.
Click to expand...
Click to collapse
It takes a while.
For me, I had the quickest experience by flashing Magisk afterwards. The stock Rom , Rooted, and with Xposed is actually pretty sweet.
tsongming said:
It takes a while.
For me, I had the quickest experience by flashing Magisk afterwards. The stock Rom , Rooted, and with Xposed is actually pretty sweet.
Click to expand...
Click to collapse
Will try again. How long is while? ?
rob_z11 said:
Will try again. How long is while?
Click to expand...
Click to collapse
It should not take more than 10 minutes, and will usually startup in 5. I just now restored one of my X727's with this recovery, using the OTG method that the last person used and viola in worked so there's no doubt. I have always used ADB until now.
However, unlike the other poster, I did lose Twrp and had to reinstall it.
Always, Always Ensure Twrp is permanently installed
Make sure that you are on the latest version of Twrp : https://twrp.me/leeco/leecolepro3.html
Run Magisk, install Rom, Install Magisk again
Personally, I use the latest version of Magisk : https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589
You want a fully clean install before you flash.
Instructions are redundant of XDA: if you want something other than what you have read already: Click on my account history to find detailed instructions, ( I type too much, too often) Under most thanked, you can quickly find detailed instructions for installing , Roms, Rooting, Installing Twrp, How to wipe to avoid any issues.
Finally, if for some reason it still doesn't work, the file may have been corrupted.
Worst Case scenario : there are other recoveries available on XDA. Beware of the edited versions, they do not work as well as an unadulterated recovery.
tsongming said:
It should not take more than 10 minutes, and will usually startup in 5. I just now restored one of my X727's with this recovery, using the OTG method that the last person used and viola in worked so there's no doubt. I have always used ADB until now.
However, unlike the other poster, I did lose Twrp and had to reinstall it.
Always, Always Ensure Twrp is permanently installed
Make sure that you are on the latest version of Twrp : https://twrp.me/leeco/leecolepro3.html
Run Magisk, install Rom, Install Magisk again
Personally, I use the latest version of Magisk : https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589
You want a fully clean install before you flash.
Instructions are redundant of XDA: if you want something other than what you have read already: Click on my account history to find detailed instructions, ( I type too much, too often) Under most thanked, you can quickly find detailed instructions for installing , Roms, Rooting, Installing Twrp, How to wipe to avoid any issues.
Finally, if for some reason it still doesn't work, the file may have been corrupted.
Worst Case scenario : there are other recoveries available on XDA. Beware of the edited versions, they do not work as well as an unadulterated recovery.
Click to expand...
Click to collapse
It actually worked for second time without any issues. Just can't get the root, but will follow your instructions.
Hi just wondering does this rom pass safetynet out of the box?
what is the date of the security patch of this rom?
thanks
blanktape said:
Hi just wondering does this rom pass safetynet out of the box?
what is the date of the security patch of this rom?
thanks
Click to expand...
Click to collapse
This recovery is stock EUI 5.8.21s. The exception is that the bootloader is unlocked, and it has TWRP Recovery instead of EUI Recovery. I do not remember which version of Magisk I Installed. I would advise that you flash the newest version of Magisk and you will not have any safety net issues.
If you are wanting a complete return to stock, you should instead reflash the stock Full Rom, which will reinstall EUI recovery and lockdown the bootloader.

[TWRP][Magisk][Snapdragon SM-G9730]How to get Stock ROM with TWRP and Root

Hi Everyone,
With all of the hype around the Exynos phone its finally time for the TGY/CHC Snapdragon variants to get some attention.
No this won't work with US variants, please don't ask. This is tested on my normal s10 (SM-G9730). I'm not sure if the s10+ would work.
I've worked with a few key people to get this working. So credit goes to Flatty, Ianmacd and the creators of tomatolei rom.
This setup will let the user do the following:
-Boot/Restart phone without holding any odd button combos to boot into rooted rom.
-Hold the recovery buttons to get into TWRP.
-Not having to worry about losing root when restarting if you forget to hold your buttons, you don't need to hold anything once properly setup.
The following steps below will help you achieve a stock rom with TWRP:
1. You must be on stock rom, ideally non rooted. If you are rooted, flash your stock rom (The rom version is important, this was completed using the ASH2 version of the TGY firmware.) using ODIN (CSC HOME).
2. Once flashed boot into android and ensure OEM unlocking is enabled in developer settings.
3. Boot to download mode by turning the phone off, then press and hold the volume down button along with the Bixby key just beneath it, then press and hold the power button.
4. Flash attached TWRP from download mode. (This led my phone to boot looping). https://www.mediafire.com/file/cg8bcrf78v66v8j/LatestTomato.tar/file
5. Flash the second attached TWRP (you may have to restart and re-enter download mode again). (I believe the above flash is required too, as it likely contains vendor info). https://www.mediafire.com/file/21akg54uxqk3eix/G9730_TWRP_3.3.1-1_tomatolei-0831-v4.0.tar/file
6. Reboot phone to recovery mode (Volume up, bixby and power upon restart) which will now boot you to TWRP.
7. Flash Snapdragon muti disabler from TWRP. https://www.mediafire.com/file/opbsc7wrcr69b2v/multidisabler-samsung-1.6.zip/file *Per @FlatOutRU After flashing multidisabler you must Wipe Data (if you didn't do that before with twrp - Thanks for the clarification.
8. Boot to your rom and ensure all is well.
9. Feel free to download the latest Magisk zip and flash root from TWRP by using the recovery mode button sequence upon restart.
Sidenote: The G9730_TWRP_3.3.1-1_tomatolei-0831-v4.0.tar and tomatolei ROM also let me install PHH AOSP and PHH LineageOS
PHH AOSP microG: https://forum.xda-developers.com/pr...arm64aosp-9-0-0r21-microg-ufofficial-t3878115
PHH LineageOS: https://forum.xda-developers.com/pr...i-lineageos-16-0-gsi-arm64-ab-how-to-t3908029
Hopefully this gets a few nice Stock ROMs being produced.
Download links are added.
Fznwolf: congrat for this thread, well explained.
some question:
1) what's bring latestomato.tar ? , because no need this for me
2)magisk work for you even if you don't flash magisk_patched.tar?
3)are you able to make backup into twrp because for me it's failed. i think it work if use tomato rom but i prefer stay to tgy rom
pixiebob said:
Fznwolf: congrat for this thread, well explained.
some question:
1) what's bring latestomato.tar ? , because no need this for me
2)magisk work for you even if you don't flash magisk_patched.tar?
3)are you able to make backup into twrp because for me it's failed. i think it work if use tomato rom but i prefer stay to tgy rom
Click to expand...
Click to collapse
Thanks for the compliment @pixiebob
1) I believe the latestomato.tar has some pieces of tomato rom that allow for booting.
2) Yes, i didnt use magisk_patched.tar. I used the official magisk zip after all of my original steps as the last step.
3) I have several backups, I'm on TGY. Try start from scratch and follow my above steps using a TGY rom. Sounds like you may need to wipe and start over using the original steps provided, make sure to use the multidisabler originally attached.
Fznwolf said:
Thanks for the compliment @pixiebob
1) I believe the latestomato.tar has some pieces of tomato rom that allow for booting.
2) Yes, i didnt use magisk_patched.tar. I used the official magisk zip after all of my original steps as the last step.
3) I have several backups, I'm on TGY. Try start from scratch and follow my above steps using a TGY rom. Sounds like you may need to wipe and start over using the original steps provided, make sure to use the multidisabler originally attached.
Click to expand...
Click to collapse
you are right once multidisabler attached to your first post is installed i'm able in Twrp to backup ending without error, fantastic
pixiebob said:
you are right once multidisabler attached to your first post is installed i'm able in Twrp to backup ending without error, fantastic
Click to expand...
Click to collapse
Great to hear it's working out.
Once we root and install twrp, how we can update the phone ?
Otherwise, thanks for your work !
Yay dude thanks for using my instruction and my modified zips without asking me first
You've got an attempt before - trying to post my 9730 overlay for AOSP
Fznwolf said:
I've worked with a few key people to get this working. So credit goes to Flatty, Ianmacd and the creators of tomatolei rom.
Click to expand...
Click to collapse
No, you didn't work with other people. You just spammed me ,my pm here and in telegram to get explanation and posted it here without permission
You've also forgot one important step. After flashing multidisabler you must Wipe Data (if didn't do that before with twrp)
Multidisabler - i've just changed a few lines in @ianmacd code to get it working on our Snapdragon variant.
Twrp.tar - extracted boot.img and recovery.img from @tomatolei ROM for S10+ 9750
Thanks again @FlatOutRU I've updated the initial description to include the wipe after the muti-disabler flash as per your comments.
Hopefully this allows more work to be done on the Snap s10s!
FlatOutRU said:
Yay dude thanks for using my instruction and my modified zips without asking me first
You've got an attempt before - trying to post my 9730 overlay for AOSP
No, you didn't work with other people. You just spammed me ,my pm here and in telegram to get explanation and posted it here without permission
You've also forgot one important step. After flashing multidisabler you must Wipe Data (if didn't do that before with twrp)
Multidisabler - i've just changed a few lines in @ianmacd code to get it working on our Snapdragon variant.
Twrp.tar - extracted boot.img and recovery.img from @tomatolei ROM for S10+ 9750
Click to expand...
Click to collapse
Thank you, it works perfectly.
what Magisk version do you use ?
Is it working with magisk v20 ?
Vuska said:
what Magisk version do you use ?
Is it working with magisk v20 ?
Click to expand...
Click to collapse
I'm on 19.3, I don't see why 20 wouldn't work.
Fznwolf said:
I'm on 19.3, I don't see why 20 wouldn't work.
Click to expand...
Click to collapse
Not work in G9750 ... dont know why...
Sent from my SM-G9750 using Tapatalk
When you say flash (with only stock recovery installed) do you mean with Odin? Which boxes in odin would this tar files go to (e.g. AP, boot?). My phone is s10+ 9750. has it been tested on that? thanks a lot.
Any chance for 9700 (s10E) support?
NisseGurra said:
Any chance for 9700 (s10E) support?
Click to expand...
Click to collapse
Lets consider my method superseded by https://forum.xda-developers.com/s1...p-3-3-1-v3-t3980463/post80569455#post80569455
Thank you @Mentalmuso
heavenly86 said:
When you say flash (with only stock recovery installed) do you mean with Odin? Which boxes in odin would this tar files go to (e.g. AP, boot?). My phone is s10+ 9750. has it been tested on that? thanks a lot.
Click to expand...
Click to collapse
This would be AP, please use https://forum.xda-developers.com/s1...p-3-3-1-v3-t3980463/post80569455#post80569455
Vuska said:
Not work in G9750 ... dont know why...
Sent from my SM-G9750 using Tapatalk
Click to expand...
Click to collapse
https://forum.xda-developers.com/s1...p-3-3-1-v3-t3980463/post80569455#post80569455 will work.
Fznwolf said:
I'm on 19.3, I don't see why 20 wouldn't work.
Click to expand...
Click to collapse
Please do not use 20, it is not found to be working. Stick with 19.3.
Any luck on the 975U. I have e an unlocked VZW 975U running Android Q
Blackweiser35 said:
Any luck on the 975U. I have e an unlocked VZW 975U running Android Q
Click to expand...
Click to collapse
I see no one's responded to you in the last few days, probably because the OP says to not bother asking if it works with US variants. No there's no known way to get root on one of the 97_U variants. The bootloader is locked, and it would take a miracle to bypass that.
Cannot use Dex for PC function.
Could you upload tomatolei's twrp v6, which updated the kernel to support the Dex funtion? Many thanks!

I need help

Hello XDA developers, I'm in urgent and I have a really big problem. It sounds funny but, I deleted my realme ui recovery ,_,
I was trying to install PPUI 4.1 on my Realme 7 but I saw a tutorial that you have to erase the recovery to install TWRP. Please, I need a solution of how can I get it back. I also tried flashing a lot of recoveries and their vbmeta but nothing works. Sadly.
Edit: I'm on RMX2151_11_C.17 | Realme UI 2.0 Latest version
Here is the stock recovery
Chenes said:
Here is the stock recovery
Click to expand...
Click to collapse
You sure? I'm on RMUI2.0 and how do I flash it? Can I type 'fastboot boot recovery.img'? Are my data will be wiped?
Sorry for a lot of questions, haha
iOussamato_ said:
You sure? I'm on RMUI2.0 and how do I flash it? Can I type 'fastboot boot recovery.img'? Are my data will be wiped?
Click to expand...
Click to collapse
From what I read before, fastboot boot will only boot to that recovery file temporarily but I haven't tried it myself. It should be
Code:
fastboot flash recovery recovery.img
I'm not 100% sure it will work without problems, but if it did, your data will not be wiped.
I suggest you wait for someone else to answer coz I'm not expert. I only learned from guides in the telegram group.
Chenes said:
From what I read before, fastboot boot will only boot to that recovery file temporarily but I haven't tried it myself. It should be
Code:
fastboot flash recovery recovery.img
I'm not 100% sure it will work without problems, but if it did, you're data will not be wiped.
I suggest you wait for someone else to answer coz I'm not expert. I only learned from guides in the telegram group.
Click to expand...
Click to collapse
Can I have that Telegram group invite?
iOussamato_ said:
Can I have that Telegram group invite?
Click to expand...
Click to collapse
Realme 7 • Narzo 20 Pro • Global
Welcome To Realme 7 | Narzo 20 Pro Group • RM6785_updates(official-A12/A13)- @RM6785 / https://t.me/realme7updater • RM6785_Gaming- @RM6785Gaming • Realme 7 Cloud: @realme_7_cloud
t.me
iOussamato_ said:
You sure? I'm on RMUI2.0 and how do I flash it? Can I type 'fastboot boot recovery.img'? Are my data will be wiped?
Sorry for a lot of questions, haha
Click to expand...
Click to collapse
You can try, first, if fastboot works in your device, type adb reboot fastboot, once the script ends, quickly disconnect device from your PC and again reconnect it, you will be redirected to fastboot, if the bootloader is unlocked, you could flash it using fastboot commands.
If you can´t get it to work then you can flash it using SPFT https://spflashtool.com/, put the recovery, in the same folder, with the attached files. All the sources to can use the tool, here https://www.getdroidtips.com/bypass-mediateks-sp-flash-tool-authentication-protection/
SubwayChamp said:
You can try, first, if fastboot works in your device, type adb reboot fastboot, once the script ends, quickly disconnect device from your PC and again reconnect it, you will be redirected to fastboot, if the bootloader is unlocked, you could flash it using fastboot commands.
If you can´t get it to work then you can flash it using SPFT https://spflashtool.com/, put the recovery, in the same folder, with the attached files. All the sources to can use the tool, here https://www.getdroidtips.com/bypass-mediateks-sp-flash-tool-authentication-protection/
Click to expand...
Click to collapse
I have never used SPFlashTool before honestly, I'm just scared to break my phone or lost my data in it. I just wish to install a custom ROM
iOussamato_ said:
I have never used SPFlashTool before honestly, I'm just scared to break my phone or lost my data in it. I just wish to install a custom ROM
Click to expand...
Click to collapse
Most of the custom roms I've seen requires formatting data. Just to be sure have you unlocked bootloader already? That requires wiping data iirc.
If not then nothing will really work with what you're doing.
iOussamato_ said:
I have never used SPFlashTool before honestly, I'm just scared to break my phone or lost my data in it. I just wish to install a custom ROM
Click to expand...
Click to collapse
What you are saying now is totally different from what you firstly posted.
Installing a custom ROM doesn't require a stock recovery (just in case you are confusing), and obviously, to can switch from a stock ROM to a custom ROM, that has a total different basement, it's mandatory to format data, anyway, you should back up your data previously to do so.
SubwayChamp said:
What you are saying now is totally different from what you firstly posted.
Installing a custom ROM doesn't require a stock recovery (just in case you are confusing), and obviously, to can switch from a stock ROM to a custom ROM, that has a total different basement, it's mandatory to format data, anyway, you should back up your data previously to do so.
Click to expand...
Click to collapse
I meant, I wish to install a custom ROM but I cannot install a working recovery and wanted the stock one. Sorry
Chenes said:
Most of the custom roms I've seen requires formatting data. Just to be sure have you unlocked bootloader already? That requires wiping data iirc.
If not then nothing will really work with what you're doing.
Click to expand...
Click to collapse
Yes my bootloader is already unlocked
iOussamato_ said:
Yes my bootloader is already unlocked
Click to expand...
Click to collapse
Then you can root your phone 1st then backup your files to a computer and use migrate backup to backup app data. Note that migrate backup is limited to 4gb. Then do the fastboot flash i mentioned before
iOussamato_ said:
I meant, I wish to install a custom ROM but I cannot install a working recovery and wanted the stock one. Sorry
Click to expand...
Click to collapse
Why you are saying that you cannot install a working recovery, I don't know of any attempt you did to achieve it.
A stock recovery is not needed to install a custom ROM, and even you can't install a custom ROM using a stock recovery.
If you want to join, flashing your device and stuff like this, better learn how to use SPFT, also you have this tool https://github.com/bkerler/mtkclient, this can save your device, if something in the process goes wrong.
SubwayChamp said:
Why you are saying that you cannot install a working recovery, I don't know of any attempt you did to achieve it.
A stock recovery is not needed to install a custom ROM, and even you can't install a custom ROM using a stock recovery.
If you want to join, flashing your device and stuff like this, better learn how to use SPFT, also you have this tool https://github.com/bkerler/mtkclient, this can save your device, if something in the process goes wrong.
Click to expand...
Click to collapse
I wanted to flash stock rom to downgrade into Realme UI 1.0 then flash the custom recovery so I can flash a custom rom
iOussamato_ said:
I wanted to flash stock rom to downgrade into Realme UI 1.0 then flash the custom recovery so I can flash a custom rom
Click to expand...
Click to collapse
OK, then what you are trying to install is an "old" Android 10 based ROM, if this is the case, then just download a stock Android 10 ROM, flash it through SPFT, then use SPFT to flash the custom recovery, transfer the custom ROM to your external SD Card (preferably) or sideload it, through recovery, and flash it. In the process you need to unlock bootloader, and immediately to flash the custom recovery, boot to it, using hardware buttons.
SubwayChamp said:
OK, then what you are trying to install is an "old" Android 10 based ROM, if this is the case, then just download a stock Android 10 ROM, flash it through SPFT, then use SPFT to flash the custom recovery, transfer the custom ROM to your external SD Card (preferably) or sideload it, through recovery, and flash it. In the process you need to unlock bootloader, and immediately to flash the custom recovery, boot to it, using hardware buttons.
Click to expand...
Click to collapse
Do you know a tutorial of how to use SPFlashTool?
iOussamato_ said:
Do you know a tutorial of how to use SPFlashTool?
Click to expand...
Click to collapse
How to use SP Flash Tool
This is a step-by-step tutorial on how to flash stock rom to a Mediatek device using Smart Phone Flash tool. SP Flash tool is one application you could find very useful in fixing extreme cases of a br
www.hovatek.com
Alright so, it might sound funny but I think I fixed it. I was playing with my downloaded recoveries until I downloaded the stock recovery, it is compatible but when I do fastboot reboot recovery I get stuck at Orange State for like 30min and it boots me into the recovery so does anyone know a solution for this? And thank you for everything and sorry for wasting y'all's time. Sincereley.
iOussamato_ said:
Alright so, it might sound funny but I think I fixed it. I was playing with my downloaded recoveries until I downloaded the stock recovery, it is compatible but when I do fastboot reboot recovery I get stuck at Orange State for like 30min and it boots me into the recovery so does anyone know a solution for this? And thank you for everything and sorry for wasting y'all's time. Sincereley.
Click to expand...
Click to collapse
You have to boot to recovery using hardware buttons (PWR + vol. down), in regard to orange state, this is absolutely normal when bootloader was unlocked, it's not an issue but a cosmetic thing.

Categories

Resources