TWRP for custom ROMs based on BTFN or BTH4 - Samsung Galaxy Tab A series Guides, News, & Discus

I noticed that a lot of people are having problems updating to the latest Android 10 custom ROMs. The problem is that the stock base has changed to the BTFN version and TWRP can't flash it. The solution is to flash the TWRP version for BTFN with Odin but how to do that isn't very clear. So I extracted the right recovery.img file and made a tar file that you flash from AP with Odin
vbmeta.tar
https://drive.google.com/file/d/1k7-wkeGTfVEedoLkfdtUleZJUU0MQlZg/view?usp=sharing
Before flashing the TWRP tar, you must first flash the vbmeta.tar and let it reboot. It will take you to the stock recovery where you will need to perform a factory reset and let it reboot. Connect to wifi, skip everything and enable developer mode. Then goto download mode to flash TWRP. Turn off auto reboot before flashing. When its finished, hold vol down and power till the screen turns off. Immediately switch from vol down to vol up to boot to TWRP.
So use it to flash the ROM zip of your choice. Hope it helps.
edit: This is for the T510. I don't know if it will work for the T515

Hi, I have a T515 running on stock, BTH4. Before I try your TWRP and possibly have to reinstall the stock ROM again, where can I learn to make my own TWRP compatible with my ROM?

lewmur said:
I noticed that a lot of people are having problems updating to the latest Android 10 custom ROMs. The problem is that the stock base has changed to the BTFN version and TWRP can't flash it. The solution is to flash the TWRP version for BTFN with Odin but how to do that isn't very clear. So I extracted the right recovery.img file and made a tar file that you flash from AP with Odin
https://drive.google.com/file/d/1k7-wkeGTfVEedoLkfdtUleZJUU0MQlZg/view?usp=sharing
So use it to flash the ROM zip of your choice. Hope it helps.
edit: This is for the T510. I don't know if it will work for the T515
Click to expand...
Click to collapse
From where did you get the "right" recovery.img?

AdelCraftPro said:
From where did you get the "right" recovery.img?
Click to expand...
Click to collapse
From the latest Nexus ROM from Aug 7th.

AdelCraftPro said:
From where did you get the "right" recovery.img?
Click to expand...
Click to collapse
If you'll notice, I changed the OP to add the vbmeta.tar. It needs to be flashed first to allow custom binaries.

bedwere said:
Hi, I have a T515 running on stock, BTH4. Before I try your TWRP and possibly have to reinstall the stock ROM again, where can I learn to make my own TWRP compatible with my ROM?
Click to expand...
Click to collapse
I have no idea how to make a custom TWRP. I just extracted the recovery.img and vbmeta.img files from the custom Nexus ROM.

Related

Stuck with CMW 6.0.3.5 - No TWRP 2.8-20150421-yuga

Hi using the guide i've tried on both PC and terminal emulator and also flashing the zip in cmw but it still keeps booting to CMW 6.0.3.5
Any help?
thanks
Jamie
cramhead said:
Hi using the guide i've tried on both PC and terminal emulator and also flashing the zip in cmw but it still keeps booting to CMW 6.0.3.5
Any help?
thanks
Jamie
Click to expand...
Click to collapse
try flashtool > fastboot mode > flash recovery via select kernel to hot boot
edit:flash .img file
yeah i forgot to mentipon i also tried that.
fastboot flash recovery recovery.img
didnt work
oops my bad
the install recovery + option is gray on my flashtool. I cant see that option
mostafaz said:
try flashtool > fastboot mode > flash recovery via select kernel to hot boot
edit:flash .img file
Click to expand...
Click to collapse
cramhead said:
oops my bad
the install recovery + option is gray on my flashtool. I cant see that option
Click to expand...
Click to collapse
sorry for late responce
i did try some method and this one is good
try this hack and by flash via recovery and then flash your own recovery
latest recovery is here
installed both .............Nothing happened
I'll try an old TWRP
Which rom are you on?
try flashing TWRP 2.8.5 the official version and you should be able to boot to TWRP Recover.
http://forum.xda-developers.com/showpost.php?p=57718351&postcount=2
check the link, thats what Oliver has to say about the ROM, boot.img file
I tried flashing version TWRP 2.5 and that still did nothing. I'm using ANDROID 5.1. XPERIA Z(YUGA)
:crying:
cramhead said:
I tried flashing version TWRP 2.5 and that still did nothing. I'm using ANDROID 5.1. XPERIA Z(YUGA)
:crying:
Click to expand...
Click to collapse
Sorry only last question, who's ROM are you using and build date.
Hey, I believe it's the 5.1 version for this
build says full_c6603-userdebug 5.1 LMY47D eng.adrian.20150312.205659 test-keys
cramhead said:
Hey, I believe it's the 5.1 version for this
build says full_c6603-userdebug 5.1 LMY47D eng.adrian.20150312.205659 test-keys
Click to expand...
Click to collapse
Ok, so the ROM by pabx, This rom does not have in built arrangement for TWRP, you will have to compile it on your own.
You will find the steps here http://forum.xda-developers.com/xperia-z/general/turorial-add-twrp-to-boot-img-t2951658
and then flash TWRP to Fotakernel first and then flash boot.img
learn something new everyday
could I flash a philz recovery?
I can't find a .zip and can't do "fastboot recovery.img "the philz.img
thanks
I have not tried Philz, so i cannot give you an answer.
you may want to head over to this link http://forum.xda-developers.com/xperia-z/general/z-xzdualrecovery-qa-t2477769
Had the same problem.
TWRP Recovery wasn`t available after I flashed yuga.
Used "TWRP Manager" (only with root) which worked for me even when the app said that the installation failed.After rebooting I was able to enter TWRP again.
SO I installed This and I now have TWRP 2.8.
0! My rom won't boot any more, but who cares I can now install CM!..............I hope
have you tries the hack that oliver has on his thread http://forum.xda-developers.com/showpost.php?p=57718351&postcount=2
flash Olivers TWRP to FotaKernal and then from cm recovery flash the hack, reboot and enter recovery and check
I have not personally check but give it a try if you like.

Which version of TWRP?

So, just got the OTA update to Android Pie for my Mi 8 Global, and want to try flashing TWRP again. Every single version of TWRP I have flashed before has always either fail to boot, or always reboots into recovery and the ROM never loads. Anyone can suggest a real working TWRP file to flash? Do I need to wipe data? Etc. Since TWRP hasn't worked for me at all, I have to root with a roundabout way. Install Magisk Manager, extract and recompile boot.img into patched_boot.img and flash that in fastboot. This gives me roo but no TWRP so I can't flash any custom kernels or ROMs.
Rommco05 said:
Hi, I can't help you with twrp because I still waiting for countdown for unlocked it. From your post I understand u have a stock recovery.img, where u find stock recovery?
Click to expand...
Click to collapse
I just flash the stock boot.img and it reverts everything
Rommco05 said:
Where I can find stock .imgs?
Click to expand...
Click to collapse
Download a stock ROM and grab the boot.img from inside it.

How can I get my xiaomi mi a2 back to normal?

I rooted my phone but didn't really like it while having my banking apps on it. So I tried to get back to normal but ended up wiping everything, even the OS, off of my phone. I am trying to get it back to normal. I followed one guide on here which gave me an android 10 ROM but I was unable to update it to the latest version. The link for that guide is: https://forum.xda-developers.com/mi-a2/how-to/guide-official-stock-android-10-t4033835. I didn't install the force encrypt or the magisk because I don't wanna root it. I just want it back to how it was before the root. So I am wondering if there is a way that I can get back to normal now. Thanks in advance for any advice.
Tyche303 said:
I rooted my phone but didn't really like it while having my banking apps on it. So I tried to get back to normal but ended up wiping everything, even the OS, off of my phone. I am trying to get it back to normal. I followed one guide on here which gave me an android 10 ROM but I was unable to update it to the latest version. The link for that guide is: https://forum.xda-developers.com/mi-a2/how-to/guide-official-stock-android-10-t4033835. I didn't install the force encrypt or the magisk because I don't wanna root it. I just want it back to how it was before the root. So I am wondering if there is a way that I can get back to normal now. Thanks in advance for any advice.
Click to expand...
Click to collapse
well what is the problem ? if it booted and you didn't flash magisk you are on stock. ...what exactly do you want ? to lock the bootloader or remove twrp custom recovery too ?
KevMetal said:
well what is the problem ? if it booted and you didn't flash magisk you are on stock. ...what exactly do you want ? to lock the bootloader or remove twrp custom recovery too ?
Click to expand...
Click to collapse
The ROM was an earlier version of android 10. But I am unable to install the latest updates for android 10 OTA. It's working but I would like to be able to receive updates again. If there is another ROM that would give me those results I would be fine with flashing that too.
Tyche303 said:
The ROM was an earlier version of android 10. But I am unable to install the latest updates for android 10 OTA. It's working but I would like to be able to receive updates again. If there is another ROM that would give me those results I would be fine with flashing that too.
Click to expand...
Click to collapse
the most likely issue is your recovery ... take the stock recovery from a fastboot stock rom and flash that with fastboot
also make sure to flash stock rom in both slot A & B then updates will work
go to this website
https://www.getdroidtips.com/xiaomi-mi-a2-stock-firmware/
download a PIE stock rom that is a FASTBOOT version ... download miflash ...follow instructions to flash it using miflash in fastboot mode
then boot & set it up ...it will start offering updates by itself
your problem right now is that you flashed stock rom in only one slot and you have a custom recovery so that is why it can't update
KevMetal said:
the most likely issue is your recovery ... take the stock recovery from a fastboot stock rom and flash that with fastboot
also make sure to flash stock rom in both slot A & B then updates will work
go to this website
https://www.getdroidtips.com/xiaomi-mi-a2-stock-firmware/
download a PIE stock rom that is a FASTBOOT version ... download miflash ...follow instructions to flash it using miflash in fastboot mode
then boot & set it up ...it will start offering updates by itself
your problem right now is that you flashed stock rom in only one slot and you have a custom recovery so that is why it can't update
Click to expand...
Click to collapse
Awesome, thanks! I will try that later tonight or tomorrow.
KevMetal said:
the most likely issue is your recovery ... take the stock recovery from a fastboot stock rom and flash that with fastboot
also make sure to flash stock rom in both slot A & B then updates will work
go to this website
https://www.getdroidtips.com/xiaomi-mi-a2-stock-firmware/
download a PIE stock rom that is a FASTBOOT version ... download miflash ...follow instructions to flash it using miflash in fastboot mode
then boot & set it up ...it will start offering updates by itself
your problem right now is that you flashed stock rom in only one slot and you have a custom recovery so that is why it can't update
Click to expand...
Click to collapse
So I downloaded a fastboot file from here :https://forum.xda-developers.com/mi-a2/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824849
The miui flash program wouldn't work for me. On the website you linked me there was a method that used twrp to flash it. But when use twrp I can't see any of the zip files in twrp. I've tried three different ones from the link I just shared here. Not sure what the problem is.
KevMetal said:
the most likely issue is your recovery ... take the stock recovery from a fastboot stock rom and flash that with fastboot
also make sure to flash stock rom in both slot A & B then updates will work
go to this website
https://www.getdroidtips.com/xiaomi-mi-a2-stock-firmware/
download a PIE stock rom that is a FASTBOOT version ... download miflash ...follow instructions to flash it using miflash in fastboot mode
then boot & set it up ...it will start offering updates by itself
your problem right now is that you flashed stock rom in only one slot and you have a custom recovery so that is why it can't update
Click to expand...
Click to collapse
nevermind, I have gotten it to work. Thank you for your help
Tyche303 said:
nevermind, I have gotten it to work. Thank you for your help
Click to expand...
Click to collapse
okay glad you came right
half the fun is figuring this stuff out

Flashing Dirty Unicorns ROM 14.4

Hello. I want to flash Dirty Unicorns ROM 14.4 on my 4 xl but they don't have installation instructions posted anywhere on their website. (Has to be commen knowledge and I just don't know how to do it yet.) Anyways, is the installation process the same as other ROM's for the 4 xl? DU ROM have the radio IMG, boot IMG, and the ROM zip. From what I've read on other ROM's, it's BL first, factory reset in recovery, then flash ROM zip from stock recovery, would that work for DU ROM? Where would the radio IMG fit in terms of what's flashed first second etc? Do I have to switch boot slots? If so, do I have to do it manually? Is it necessary to flash the radio if I'm already on June update? Is this stuff common knowledge and I'm a dingaling.? Thank you in advance to anyone who can answer any and all of my questions! Still kinda new to having an unlocked BL and flashing custom ROM's etc. Thank you!!!
Pixel 4 XL flashing instructions
If this is your first time flashing DU on your Pixel
1. Download boot.img and ROM zip from DU server
2. Reboot into bootloader and flash the boot.img
fastboot flash --slot all boot boot.img
3. Reboot to recovery
4. Go to recovery select factory reset
5. Select Apply update from ADB to flash the zip
adb sideload nameofbuild.zip
6. Reboot and enjoy
Updating DU for your Pixel
1. Download ROM zip from DU server
2. Reboot into recovery and select Apply update from ADB to flash the zip
3. Reboot system now and enjoy
asif4self said:
Pixel 4 XL flashing instructions
If this is your first time flashing DU on your Pixel
1. Download boot.img and ROM zip from DU server
2. Reboot into bootloader and flash the boot.img
fastboot flash --slot all boot boot.img
3. Reboot to recovery
4. Go to recovery select factory reset
5. Select Apply update from ADB to flash the zip
adb sideload nameofbuild.zip
6. Reboot and enjoy
Updating DU for your Pixel
1. Download ROM zip from DU server
2. Reboot into recovery and select Apply update from ADB to flash the zip
3. Reboot system now and enjoy
Click to expand...
Click to collapse
NVM!!!
A few ??s
bradical711 said:
NVM!!!
Click to expand...
Click to collapse
a few ??s.. is it rooted? and also does everything work like face unlock and google pay? and does it cause any issues when flashing this if you want to return to stock or is it just as simple as flashing back to stock as you normally would flash a stock image to update or whatever? Thank you
bradical711 said:
NVM!!!
Click to expand...
Click to collapse
Did you ever get it up and running? Looking at the second part of your photo, you were flashing the wrong thing, but as for the first part, seems that it's not detecting your device, or maybe you have to update your fastboot/ADB tools. Could even be your wire. It's best to flash the stock rom first, then go on about the settings. Don't even have to setup stock, just flash, boot once, and right back into the bootloader to flash DU.
mrindependent said:
a few ??s.. is it rooted? and also does everything work like face unlock and google pay? and does it cause any issues when flashing this if you want to return to stock or is it just as simple as flashing back to stock as you normally would flash a stock image to update or whatever? Thank you
Click to expand...
Click to collapse
DU has to be pretty much the most rock solid custom ROM for the P4XL. You'll rarely find a bug or something not working. Everything works like a charm, and over on Telegram, the guys are on top of everything.
There was a little update a little while ago, DU is coming back to XDA soon, so you could also wait for the new thread to be up before flashing.
How can I root?
mrindependent said:
How can I root?
Click to expand...
Click to collapse
Read
mrindependent said:
How can I root?
Click to expand...
Click to collapse
https://forum.xda-developers.com/pixel-4-xl/how-to/guide-pixel-4-xl-android-10-q-root-t3996969
Sent from my Pixel 4 XL using XDA Labs
Going to try now wish me luck
Curiousn00b said:
Did you ever get it up and running? Looking at the second part of your photo, you were flashing the wrong thing, but as for the first part, seems that it's not detecting your device, or maybe you have to update your fastboot/ADB tools. Could even be your wire. It's best to flash the stock rom first, then go on about the settings. Don't even have to setup stock, just flash, boot once, and right back into the bootloader to flash DU.
Click to expand...
Click to collapse
I got it up and running fine. Amazing ROM. And NVM the photo lol. Adb was working fine and it wasn't the cable. I was also able to flash stock multiple times. It was something really dumb but it's okay now. I was removing the quotations after pasting the location of the file into cmd prompt and trying to flash. Therefore nothing was being flashed to my device because a computer reads things differently and I thought removing the quotations was necessary. Definitely not and I was an idiot lol.
Sent from my Pixel 4 XL using XDA Labs
bradical711 said:
I got it up and running fine. Amazing ROM. And NVM the photo lol. Adb was working fine and it wasn't the cable. I was also able to flash stock multiple times. It was something really dumb but it's okay now. I was removing the quotations after pasting the location of the file into cmd prompt and trying to flash. Therefore nothing was being flashed to my device because a computer reads things differently and I thought removing the quotations was necessary. Definitely not and I was an idiot lol.
Click to expand...
Click to collapse
Don't know if you saw it but DU 14.6 was released.

Question Magisk ROOT MIUI 14

I would like to know if someone has managed to root with magisk from CMD without twrp?
You can root with magisk on any miui 14 without using twrp.Just get the boot image from the rom,install magisk apk and patch the boot.img, reboot to fastboot mode ,open cmd and write "fastboot flash boot_ab boot.img" just replace boot.img with the name of your generated magisk boot. The boot image is located in different location according to the rom you are using .Normal miui recovery rom contain file that called payload.bin.You need to download this tool https://github.com/tobyxdd/android-ota-payload-extractor. Follow the instructions in the link and you will get the boot.img .If you using miui.eu rom ,you just need to extract the zip and you will see the boot.img. Also if you want to use Miui 14 global or EEA, you can use the fastboot rom that I created and the zip file contain the boot.img .You can get download link on this thread link https://forum.xda-developers.com/t/fastboot-version-of-miui-14-eea-global-and-older-miui-13.4381953/ .
or965 said:
You can root with magisk on any miui 14 without using twrp.Just get the boot image from the rom,install magisk apk and patch the boot.img, reboot to fastboot mode ,open cmd and write "fastboot flash boot_ab boot.img" just replace boot.img with the name of your generated magisk boot. The boot image is located in different location according to the rom you are using .Normal miui recovery rom contain file that called payload.bin.You need to download this tool https://github.com/tobyxdd/android-ota-payload-extractor. Follow the instructions in the link and you will get the boot.img .If you using miui.eu rom ,you just need to extract the zip and you will see the boot.img. Also if you want to use Miui 14 global or EEA, you can use the fastboot rom that I created and the zip file contain the boot.img .You can get download link on this thread link https://forum.xda-developers.com/t/fastboot-version-of-miui-14-eea-global-and-older-miui-13.4381953/ .
Click to expand...
Click to collapse
ive use your method but my phone still gone to bootloop. im using eu rom currently.
martin132014 said:
ive use your method but my phone still gone to bootloop. im using eu rom currently.
Click to expand...
Click to collapse
What did you do? I wrote several options.
Hey Guys!!!
4 Android 13 we not use Magisk!!! We use Lygisk its a Version direct 4 Android 13 and works great!!!
you can choose witch File you would Patch Boot.img/Recovery.img!! So you can Boot with boot.img normaly into Rooted System!!! And when you Patch the Recovery.img and Flash this, you must start with the Button-Combo that starts Recovery-Mode, so its start the Rooted System, when you start it normaly not over Recovery-Mode the System is Not Rooted!!! Thats the Difference between the 2 Methods,and a Patched Recovery dont set you in Bootloop!!!
Lygisk APK ZIP
System23 said:
Hey Guys!!!
4 Android 13 we not use Magisk!!! We use Lygisk its a Version direct 4 Android 13 and works great!!!
you can choose witch File you would Patch Boot.img/Recovery.img!! So you can Boot with boot.img normaly into Rooted System!!! And when you Patch the Recovery.img and Flash this, you must start with the Button-Combo that starts Recovery-Mode, so its start the Rooted System, when you start it normaly not over Recovery-Mode the System is Not Rooted!!! Thats the Difference between the 2 Methods,and a Patched Recovery dont set you in Bootloop!!!
Lygisk APK ZIP
Click to expand...
Click to collapse
Hi, sorry, but i bit confused about the method here. You mean to just patch either or both. This method is for fastboot or twrp. Sorry if im asking noob question.
or965 said:
What did you do? I wrote several options.
Click to expand...
Click to collapse
I use the method for eu that you posted. First i install magisk 25.2 and then i patch the rom boot.img. I boot to fastboot and flash the patch boot.img using the command. It flash successful then i reboot. But it still bootloop.
And for context, im using Eu weekly rom, not stable and twrp-3.7.0_12-v7.2_A13-venus-skkk.img for recovery. The recovery im using in eu rom forum method for installation.
martin132014 said:
Hi, sorry, but i bit confused about the method here. You mean to just patch either or both. This method is for fastboot or twrp. Sorry if im asking noob question.
Click to expand...
Click to collapse
All good say what you think!! not booth one of them boot.img or recovery.img!! you can flash zip via TWRP than you dont need other steps!!! you can install the Apk and Patch the Boot.img or recovery.img!!! than you can flash it in fastboot, twrp Image or twrp terminal!! choose your method
martin132014 said:
And for context, im using Eu weekly rom, not stable and twrp-3.7.0_12-v7.2_A13-venus-skkk.img for recovery. The recovery im using in eu rom forum method for installation.
Click to expand...
Click to collapse
and what your experience with that!!! Tell me why you like this!!!
System23 said:
All good say what you think!! not booth one of them boot.img or recovery.img!! you can flash zip via TWRP than you dont need other steps!!! you can install the Apk and Patch the Boot.img or recovery.img!!! than you can flash it in fastboot, twrp Image or twrp terminal!! choose your method
Click to expand...
Click to collapse
I guess i should post how I'm doing with the root situation. I guess i miss the part that you need to format the rom after installing new rom. And then do flash the boot.img steps. Now magisk is installed and no bootloop.
I on the other hand do format and flash rom. And continue the boot.img process. I guess that's why it doesn't work.
I'm in the process on restoring my data.
martin132014 said:
I guess i should post how I'm doing with the root situation. I guess i miss the part that you need to format the rom after installing new rom. And then do flash the boot.img steps. Now magisk is installed and no bootloop.
I on the other hand do format and flash rom. And continue the boot.img process. I guess that's why it doesn't work.
I'm in the process on restoring my data.
Click to expand...
Click to collapse
ok a Tip to you!!! when you only Backup Data Partition you can restore it and all Contacts,SMS,Accounts,Apps are availibile again on new ROM!!!
Why you dont use the Magisk.zip and flash it via TWRP after Flash ROM!!! you can rename Magisk.apk to Magisk.zip and flash it!! than you dont need other steps to Root!!! when it dosnt work use the recovery.img to Patch it and try this Method for Rooting, but dont forgett when ya do so you need to try the Buttons-Combo to start in Recovery to boot the System in Root and you have no Recovery-Mode at this Method!!! Also to use Recovery again you must Flash it again via Fastboot!!
And in TWRP use the WIPE Option to make a Factory Reset or WIPE a Single Partition, after some Flashing CROMS its needed to be WIPE the Data Partition!!!
martin132014 said:
I guess i should post how I'm doing with the root situation. I guess i miss the part that you need to format the rom after installing new rom. And then do flash the boot.img steps. Now magisk is installed and no bootloop.
I on the other hand do format and flash rom. And continue the boot.img process. I guess that's why it doesn't work.
I'm in the process on restoring my data.
Click to expand...
Click to collapse
you can ask me what you would i share my Informations with ya!!! when iam not knowing iam googleing it out to find a solution!! the talk we have start are hope helpfully!! when ya have intresst we can stay in kontakt and make what we can, even its public 4 all or PM!!! PS i must not hide my Knowledge, but PM its OK too!!!

Categories

Resources