[GUIDE][A107M] BL Unlock, Twrp, ROMs and Magisk - Samsung Galaxy A10 Guides, News, & Discussion

I am not responsible for any damage to your device, when you root you lose the Warranty
This guide collects A107F development info, but with the files ported to the A107M.
Thanks to the Galaxy A10s Development team for the original files.
You need to be on Android 10, if you are on android 11, there are tutorials to downgrade.
[BootLoader Unlock]
- Backup all your media, this process will delete your internal media including music and photos
- Go to developer settings and enable [OEM Unlock]
- Reboot to download mode (Turn off, press VOL- & VOL+ and connect the USB)
- When prompted, press and hold VOL + to enter bootloader unlock mode
- Press VOL + to confirm you want to unlock bootloader, this will wipe your data
- If you think the bootloader is fully unlocked, it is actually not! Samsung introduced VaultKeeper, meaning the bootloader will still reject any unofficial partitions before VaultKeeper explicitly allows it.
- Go through the initial setup. Skip through all the steps since data will be wiped again later when we flash TWRP and magisk
- Enable developer options, and confirm that the OEM unlocking option exists and is grayed out. This means the VaultKeeper service has unleashed the bootloader. This step is MANDATORY
- Perfect! Your bootloader now accepts unofficial images in download mode.
[Twrp Install]
At this point, you will need to install Odin on your PC.
Bootloader unlocked is OBLIGATORY.
On your MicroSD, put the "A10s-encryption-disabler.zip" file.
Boot to download mode, load "VBMeta" file in AP and "TWRP Ported to A107M" file in BL
- Disable [Auto Reboot] in Odin
- Flash
- Force a reboot by pressing VOL+, VOL - and POWER buttons at the same time
- With the USB connected, and after the screen goes black, IMMEDIATELY let go of all buttons and IMMEDIATELY press and hold VOL+ and POWER button at the same time to boot to TWRP Recovery
NOTE: TWRP on this phone is not perfect, after booting to it, the screen will remain black after the Samsung logo disappears, simply wait 10 seconds and press the power button 2 times to have acces to it.
- After booting to TWRP successfully, go to WIPE in TWRP
- At the bottom, you should see an option to FORMAT DATA. After you select it, you will be asked to type "yes" in your keyboard. If you do not see this, you probably selected the wrong option.
- After formatting data, flash the "A10s-encryption-disabler.zip" with TWRP. This is done to avoid future bootloops.
- Optional, flash "Magisk.zip" if you want to keep on Stock ROM with root.
- After doing this, boot back to system and you are done
- Wait patiently for the device to boot for the first time
[Custom ROMs Install]
Bootloader unlocked and TWRP isntalled are OBLIGATORY.
Most of the GSI ROMs of this forum works fine on this device.
Only download a64 ROMs, do not confuse with ARM64.
On your MicroSD, put the ROM image.
- Boot to TWRP
- Go to Wipe > Advanced
- Wipe ONLY the System partition
- Go to Install
- At the bottom, select option "Install Image"
- Search for your GSI. It should be something that ends in .img. If it ends in .xz instead, you need to extract the image first
- Optional, if you want Root, flash the "Magisk.zip" file
- Go to recovery main menu
- Go to Reboot
- Reboot to Recovery
- After that, go to Wipe and perform a Factory Reset
- Reboot to System and enjoy!
[Downloads]
>Everything you will need<

I had a problem in Odin an "RQT-CLOSE" error occurred

Lukas203 said:
I had a problem in Odin an "RQT-CLOSE" error occurred
Click to expand...
Click to collapse
I GOT THE SAME THING WHATS HAPPENNING?

Worked perfectly on a107m with binary 6

Alexander_SlowD said:
Worked perfectly on a107m with binary 6
Click to expand...
Click to collapse
If it worked for you, what procedure did you follow? What rom did you use for bit 6? what tools did you use?

It worked for me at first time I see TWRP menu but I didnt followed the instructions correctly , I've tried to do it by myself after that , then I got a unnoficial bootloader error and RQT_CLOSE error when trying to do the Odin process again .
Any working solution are welcome and I will be thankfully , please !

Luciannus said:
It worked for me at first time I see TWRP menu but I didnt followed the instructions correctly , I've tried to do it by myself after that , then I got a unnoficial bootloader error and RQT_CLOSE error when trying to do the Odin process again .
Any working solution are welcome and I will be thankfully , please !
Click to expand...
Click to collapse
The TWRP is slready working for me , now I trying the Magisk part , I did this on Android 11 binary 6 trough A107MUBS6CWA3_ZTO firmware ...

Related

[17Jun20][Guide] [P/Q]How to root Note10/Note 10+ & Flash TWRP (Exynos only)

How to Root Samsung Galaxy Note 10+ & Flash TWRP (Exynos Only)
NOTICE :
Before you move further, make clear that rooting device -
- Your warranty will be void
- Some of functions may not work on rooted device, some function may get back with un rooting, some may never.
- All your data on device will be lost
- Flashing custom binaries may brick (Usually soft but can be hard brick too) your device, so follow it on your own risk!
If you are ready with condition, move further -
Click to expand...
Click to collapse
Important : Since android Q, there is changes in rooting process, specially if you needs root with TWRP, So here I am dividing this guide in two parts.
1.Root with self preparing files (No TWRP) - Here you needs to patch stock files yourself. No TWRP installed.
2.Root with TWRP - You needs to just flash pre-patched files, Here you needs to have ROM installed same base as per files available. Though mostly latest verson will be available.
PART 1 : (Root Pie/Q base with magisk with patching files yourself, No TWRP)
Before moving to root device, must read every single instruction given below as any small mistake can lead to fail to achieve root or may brick the device.
A.Preparing Root files
You need to patch file to flash using Odin to root device.
1. Download stock firmware for your device (google search will give you many sites to download it) some common are e.g. Sammobile, Samfirmware tool)
you need to download file according your region and model (Dial *#1234# will give you details of existing firmware, download accordingly)
2. Once you finish download, extract files and keep all files on PC. From extracted files a file with name AP_[device_model_sw_ver].tar.md5 copy to your device.
3.Download Latest Magisk Manager and Install to your device
4.Open Magisk Manager - Magisk (first one) - Install - select to "Select and Patch file" - Navigate file you have copied to device (AP_[device_model_sw_ver].tar.md5)
5.Magisk Manager will patch the whole firmware file and store the output to [Internal Storage]/Download/magisk_patched.tar
6.Copy patched file magisk_patched.tar to Your PC
7.Download latest Odin (one is attached to end of this post) and extract to a folder on PC (I recommend on desktop)
Now next step is to modification on device
B. Unlocking Bootloader
This is a basic step to root device. Go to settings - about phone - Software Information - tap multiple times on "Build number" - This will open developer option.
Now in settings at the end, you will have new option "Developer options" - look for OEM unlocking - Enable it.
(PS : If you don't see this option then you may need to wait up to 7 days or more to appear or may be on some operator you will get it never. Without this option you can not root your device, sorry!)
Once you have enable OEM unlock option, switch off your device and reboot to download mode.
To put device in download mode - Press Volume Up & then Press Volume Down (Keep holding both) and connect device to PC with USB cable
When device start to download mode,long press volume up to unlock the bootloader. This will wipe your data and automatically reboot
Now let finish setup and again enable developer options (as said above), and confirm that the OEM unlocking option exists and grayed out!
If it is not then you can not root device!
Once you see this option and greyed out, you are ready to flash custom binary and root your device
C.Installation (Flashing) custom binaries
1. Switch off the device and reboot to download mode (As said earlier) and select volume up to continue
2. Open Odin (downloaded from above instruction) as administrator
Select magisk_patched.tar file you have patched (as above instruction copied to PC) for AP tab of Odin
Select BL,CP and CSC file (Extract from stock firmware you have downloaded) with according respective tab of Odin (This is important, DON'T flash only magisk_patched.tar )
3.From Odin option - uncheck Auto Reboot option
4.Now start flashing and wait till it finish. When you see a PASS sign on Odin, disconnect device.
Now magisk is successfully finished but yet you need to follow instructions below.
D. Factory reset & Boot with magisk
After disconnecting device, keep holding Vol down + Side key to exit from download mode.
Here is very important - when you see device reboot As soon as the screen turns off, immediately press Volume Up + Side Key to boot to recovery partition. continue pressing the volume up button until you see the stock recovery screen.
In the stock recovery menu, use volume buttons to navigate through menus, and the power button to select the option. Select Wipe data/factory reset to wipe the data of the device.
Select Reboot system now, and immediately press Volume Up + Side Key. After seeing the bootloader warning screen, release all buttons so it can boot to the system.
The device will automatically reboot for the first time it boots. This is completely normal and done by design.After the device is booted up, do the usual initial setup. You shall see Magisk Manager in your app drawer; if not, manually install the APK you downloaded and continue to the next step. The app would be a stub and it shall automatically upgrade to the full Magisk Manager when you open it.
Magisk Manager will ask to do additional setups. Let it do its job and the app will automatically reboot your device.
Voila! Enjoy Magisk
PART 2 : (Root Q base with TWRP)
This requires to have your device on same base as per base of pre-patch files. I am giving link below of my ROM
http://www.mediafire.com/folder/d4ugie4yadxu6/N975F - Click link - First select your device (N970/N975/N976) - download file Instructions_Root_TWRP_BootloopFix.pdf
This file have complete details about how to root with stock recovery/TWRP. Also all required patched files will be available in "Q" folder of your device section,
Also "Q" folder have file BASE_N97*.txt - Name of this file indicates Model and base used for patched files, you should have same base installed.
Important :
Due to the fact that some devices no longer uses ramdisk in boot images, Magisk has no choice but to be installed in the recovery partition. For these devices, you will have to boot to recovery every time if you want Magisk. Since both Magisk and recovery lives in the same partition, what you actually end up getting when you choose to boot to recovery will be determined by how long you press volume up.
(Powering up normally) → (System with NO Magisk)
(OEM Recovery Key Combo) → (Splash screen) → (Release all buttons) → (System with Magisk)
(OEM Recovery Key Combo) → (Splash screen) → (Keep pressing volume up) → (Actual recovery)
For more details read Installation guide by @topjohnwu from Here
All credit and thanks go to
@topjohnwu for magisk & Guide.
geiti94 for TWRP Here OP & Source
ianmacd for latest TWRP - Here OP & Source
Happy rooting!
Xposed
Just tried and eDxposed working fine.
- Install EdXposed installer
- from magisk download install Ritu-core module
- from magisk download install Ritu - EDxposed (yahfa)
Done.
We strongly recommend to make EFS backup as soon as you root device and store it to safer place
Don't you lose some Samsung function when you root and even relock the bootloader?
MrPhilo said:
Don't you lose some Samsung function when you root and even relock the bootloader?
Click to expand...
Click to collapse
Who cares?
Development can't go without this.
We developer need to risk it. No way.
Nice, already patched the rom to flash with odin. What is the button combination for recovery ?
Did that for a friend of mine on the S10e, guess the steps are all the same ??
Nice, so you will start to make roms ?
Keep it coming :laugh:
optx said:
Nice, already patched the rom to flash with odin. What is the button combination for recovery ?
Did that for a friend of mine on the S10e, guess the steps are all the same ??
Click to expand...
Click to collapse
OP updated for combo key
dr.ketan said:
OP updated for combo key
Click to expand...
Click to collapse
Many thanks, now i just have to wait for the Note 10+ to arrive in a few hours :highfive:
dr.ketan said:
Who cares?
Development can't go without this.
We developer need to risk it. No way.
Click to expand...
Click to collapse
Waiting for your guide, twrp, magisk and so on...
I am not developer, just tester, but still need root...
Dr Ketan. Most Welcome My Bro. Follow you since Note 9. U rock my bro :good:
namfat said:
Waiting for your guide, twrp, magisk and so on...
I am not developer, just tester, but still need root...
Click to expand...
Click to collapse
Twrp not available and possible only after samsung release kernel source code. Great news is @ianmacd getting N10 who known for twrp development. :good:
dr.ketan said:
Twrp not available and possible only after samsung release kernel source code. Great news is @ianmacd getting N10 who known for twrp development. :good:
Click to expand...
Click to collapse
That's really good to hear.
With you and the guy you've mentioned we have everything we need.
Cheers!
Did you have the OEM unlock right away in Developer options ? Cant see it on mine...
First Phone ever that has no OEM unlock right away ...
dr.ketan said:
Twrp not available and possible only after samsung release kernel source code. Great news is @ianmacd getting N10 who known for twrp development. :good:
Click to expand...
Click to collapse
OK then, please share root instruction first.
I dont know if N10 have the same problem but it happened with latest base on S10 5G that only using stock recovery if need rooted.
optx said:
Did you have the OEM unlock right away in Developer options ? Cant see it on mine...
First Phone ever that has no OEM unlock right away ...
Click to expand...
Click to collapse
My device have OEM unlock option available. If you dont have, maybe you need to wait for 7 days.
OP Updated with full instruction about how to root.
Kindly go through detail before proceed.
I'm assuming this is for Exynos version ONLY?
No where do I see this prerequisite posted anywhere but has always been in the past.
cpufrost said:
I'm assuming this is for Exynos version ONLY?
No where do I see this prerequisite posted anywhere but has always been in the past.
Click to expand...
Click to collapse
I have added to title but prerequisite is having OEM unlock enable which I believe not having on snapdragon isn't?
dr.ketan said:
I have added to title but prerequisite is having OEM unlock enable which I believe not having on snapdragon isn't?
Click to expand...
Click to collapse
So far with the SD when you go into developer mode there is no OEM unlock and I doubt it will show up later.
Don't know what is wrong. I have OEM turned on, Downloaded latest magisk manager, flashed all 4 parts. It did not work. If I flash stock, all is fine. Any clues ?
Pinu'u said:
Don't know what is wrong. I have OEM turned on, Downloaded latest magisk manager, flashed all 4 parts. It did not work. If I flash stock, all is fine. Any clues ?
Click to expand...
Click to collapse
OEM lock should be turned off AFAIK
Thx, will give it a try after flashing back stock.Irritating that OP says turn on ...

MediaPad M5 Lite (BAH2-W19) is not booting after flashing custom rom

Hi there.
I screwed up my MediaPad M5 Lite (Wifi edition: BAH2-W19, EMUI 8 installed. It's a treble compatible device) yesterday and need help.
I did the following steps before it all went down the gutter:
1. I successfully unlocked the bootloader using the DC Unlocker method
2. I downloaded the latest a-only AOSP release of "phhusson AOSP 9.0 v119": system-arm64-aonly-vanilla-nosu.img.xz (https://github.com/phhusson/treble_experimentations/releases)
3. I rebooted into bootloader and flashed the unzipped .img file to the device. The flash was successful as all 4 steps of copieing stuff tot he system partition said "OKAY"
4. now I used "fastboot reboot" and the trouble started. The tablet froze in fastboot mode. It just didn't restart.
5. I turned it of using a long push on the power button. Then it restarted and got stuck at the start screen. I'll attach a screenshot so you know what I am seeing.
6. From now on I was only able to boot into fastboot mode and into the stock recovery. There I did factory reset and cache formatting several times but with no effect.
7. Only thing that still worked was the eRecovery function in the EMUI stock recovery. With this I was able to download some official firmware from Huawei automatically and the tablet was back to stock
8. This night the OS did an auto update to v215.
9. So this morning I repeated the step 2. from above but with a different a-only custom rom and again it didn't work out
10. I tried to use the eRecovery function to get back to stock, but now the recovery is broken and throws an error "Getting package info failed".
I also tried to download older firmware from https://androidhost.ru/ and flash it with the dload method. Without success of course. While doing it I receive an error "Software install failed!". I will attach a screenshot.
Can anybody give me a hint what I could do next to approach the problem?
Best
rob
Well, you didn't had TWRP as recovery, so no nandroid backup available. From one of my experiences with flashing a stock rom for acer, I had to delete some lines of code from the meta inf folder relating the version of the phone, in order to successfully flash it. Maybe the stock ROM you are trying has some lines of code detecting if bootloader unlocked.
Im also having trouble getting a good tutorial for getting rid of the os or just to have magisk on the tablet
You dowoad latest rom and flash stock via hru and. Twrp search xda
unbrick Huawei MediaPad M5 Lite
r0b said:
Hi there.
I screwed up my MediaPad M5 Lite (Wifi edition: BAH2-W19, EMUI 8 installed. It's a treble compatible device) yesterday and need help.
I did the following steps before it all went down the gutter:
1. I successfully unlocked the bootloader using the DC Unlocker method
2. I downloaded the latest a-only AOSP release of "phhusson AOSP 9.0 v119": system-arm64-aonly-vanilla-nosu.img.xz (https://github.com/phhusson/treble_experimentations/releases)
3. I rebooted into bootloader and flashed the unzipped .img file to the device. The flash was successful as all 4 steps of copieing stuff tot he system partition said "OKAY"
4. now I used "fastboot reboot" and the trouble started. The tablet froze in fastboot mode. It just didn't restart.
5. I turned it of using a long push on the power button. Then it restarted and got stuck at the start screen. I'll attach a screenshot so you know what I am seeing.
6. From now on I was only able to boot into fastboot mode and into the stock recovery. There I did factory reset and cache formatting several times but with no effect.
7. Only thing that still worked was the eRecovery function in the EMUI stock recovery. With this I was able to download some official firmware from Huawei automatically and the tablet was back to stock
8. This night the OS did an auto update to v215.
9. So this morning I repeated the step 2. from above but with a different a-only custom rom and again it didn't work out
10. I tried to use the eRecovery function to get back to stock, but now the recovery is broken and throws an error "Getting package info failed".
I also tried to download older firmware from https://androidhost.ru/ and flash it with the dload method. Without success of course. While doing it I receive an error "Software install failed!". I will attach a screenshot.
Can anybody give me a hint what I could do next to approach the problem?
Best
rob
Click to expand...
Click to collapse
Unbrick using Huawei Multi tool .
---------- Post added at 03:14 PM ---------- Previous post was at 03:10 PM ----------
r0b said:
Hi there.
I screwed up my MediaPad M5 Lite (Wifi edition: BAH2-W19, EMUI 8 installed. It's a treble compatible device) yesterday and need help.
I did the following steps before it all went down the gutter:
1. I successfully unlocked the bootloader using the DC Unlocker method
2. I downloaded the latest a-only AOSP release of "phhusson AOSP 9.0 v119": system-arm64-aonly-vanilla-nosu.img.xz (https://github.com/phhusson/treble_experimentations/releases)
3. I rebooted into bootloader and flashed the unzipped .img file to the device. The flash was successful as all 4 steps of copieing stuff tot he system partition said "OKAY"
4. now I used "fastboot reboot" and the trouble started. The tablet froze in fastboot mode. It just didn't restart.
5. I turned it of using a long push on the power button. Then it restarted and got stuck at the start screen. I'll attach a screenshot so you know what I am seeing.
6. From now on I was only able to boot into fastboot mode and into the stock recovery. There I did factory reset and cache formatting several times but with no effect.
7. Only thing that still worked was the eRecovery function in the EMUI stock recovery. With this I was able to download some official firmware from Huawei automatically and the tablet was back to stock
8. This night the OS did an auto update to v215.
9. So this morning I repeated the step 2. from above but with a different a-only custom rom and again it didn't work out
10. I tried to use the eRecovery function to get back to stock, but now the recovery is broken and throws an error "Getting package info failed".
I also tried to download older firmware from https://androidhost.ru/ and flash it with the dload method. Without success of course. While doing it I receive an error "Software install failed!". I will attach a screenshot.
Can anybody give me a hint what could do next to approach the problem?
dnrob
Click to expand...
Click to collapse
You can install these roms only if you can downgrade to update v177 and lower
Like me you need to Unbrick your mediapad m5 lite
First place need to go back in Fastboot mode.
So UNPLUG , turn off , wait a second and turn on with volume Down , when screen blink release power button and keep volume down pressed a second until Fastboot mode
Or, try to boot in Fastboot with volume down + power AND USB plugged in goes into fastboot, or TWRP if you flashed TWRP to RECOVERY2 instead to RECOVERY.
If doesnt work try the same plug or unplug cuz we have Recovery_ramdisk , eRecovery and eRecovery2
WHEN its okay and you can turn on fastboot mode
Second prepair the img's for unbricking
The LEGIT methods its come back stock rom , then you'll be able to do what you want.
Download Huawei Multi-Tools , Huawei Update Extractor and update.zip of your stock ROM and update_data_full
Then use Huawei Update Extractor to extract
system.img ramdisk.img recovery_ramdisk.img From update.app\update.zip and
Cust.img from update.app\update_full_public.zip.
If you have backup of your userdata.img its the time to put all together in the same directory before go futher.
If all its good , you just need to click unbrick.
Maybe i'll soon do a guide for unbrick and prevent brick , and how install twrp without losing data or encryption data
helmuth said:
And just for the complete list:
Volume up + power AND USB plugged in goes into eRecovery (or TWRP, if you flashed TWRP to RECOVERY2 instead to RECOVERY)
Volume up and down + power and USB plugged in forces update via USB (indicated by a little USB-like icon in the recovery circle. The progess bar goes to 5% and waits for input from your PC)
Click to expand...
Click to collapse
RAMDISK238.img, Disable_Dm-Verity_ForceEncrypt_12.21.2019.zip and twrp8.img you will find at
android-hilfe.de->forum huawei-mediapad-m5-lite -> custom-roms-mediapad page-5
Theese custom roms should work:
Andy Yan's LineageOS 17 (Android 10) -> lineage-17.0-20191231-UNOFFICIAL-treble_arm_avN.img.xz
Pierre-Hugues Husson AOSP 10.0 v209 -> system-quack-arm64-aonly-vanilla.img.xz
Following this guide you will loose all your data so be sure to have a backup
This should work for a Mediapad M5 lite BAH2-W19OCEC432-238
Precondition: Unlocked Bootloader / OEM Unlocked / USB Debugging active
1. if you brick your device don`t blame me
2. check, if the version B238 is installed
3. back up your data
4. copy Disable_Dm-Verity_ForceEncrypt_12.21.2019.zip on SD card
Fastboot:
5. boot into Fastboot Mode.
6. flash TWRP -> fastboot flash recovery_ramdisk twrp8.img
7. fastboot reboot recovery (the first time booting should show up the twrp menu)
if the boot message "2. Press Volume up for 3 seconds" appears must do a Factory Reset in the Stock Recovery. After a reboot the TWRP menu shows up. In lineageos you can activate advanced reboot in developer settings to boot in TWRP menu by pressing recovery mode
TWRP:
8. Wipe -> Advanced Wipe -> select data + cache + dalvik-cache -> Swipe to wipe -> back to start menu
9. Install -> Select Storage -> select Mircro SD card -> OK -> select Disable_Dm-Verity_ForceEncrypt_12.21.2019.zip -> Swipe to confirm Flash
10. Reboot -> Bootloader (not System!!!)
Fastboot:
11. fastboot flash ramdisk RAMDISK238.img
12. fastboot flash system lineage-17.0-20191231-UNOFFICIAL-treble_arm64_avN.img
(or AOSP 10.0 v209)
13. fastboot reboot
LineageOS should start.
other custom roms could work as well.......
Edit:
There´s a new version of LineageOS available:
https:######sourceforge.net###projects###andyyan-gsi###files###lineage-17.x###lineage-17.1-20200111-UNOFFICIAL-treble_arm64_avN.img.xz###download
replace ### with /
It works well on my m5lite
It did not work on B239
I am trying now to get back to the stock rom.
I think the problem is with RAMDISK238.img :/
Do you know how to get one for 239?
Thanks !
BesterTrainer said:
RAMDISK238.img, Disable_Dm-Verity_ForceEncrypt_12.21.2019.zip and twrp8.img you will find at
android-hilfe.de->forum huawei-mediapad-m5-lite -> custom-roms-mediapad page-5
Theese custom roms should work:
Andy Yan's LineageOS 17 (Android 10) -> lineage-17.0-20191231-UNOFFICIAL-treble_arm_avN.img.xz
Pierre-Hugues Husson AOSP 10.0 v209 -> system-quack-arm64-aonly-vanilla.img.xz
Following this guide you will loose all your data so be sure to have a backup
This should work for a Mediapad M5 lite BAH2-W19OCEC432-238
Precondition: Unlocked Bootloader / OEM Unlocked / USB Debugging active
1. if you brick your device don`t blame me
2. check, if the version B238 is installed
3. back up your data
4. copy Disable_Dm-Verity_ForceEncrypt_12.21.2019.zip on SD card
Fastboot:
5. boot into Fastboot Mode.
6. flash TWRP -> fastboot flash recovery_ramdisk twrp8.img
7. fastboot reboot recovery (the first time booting should show up the twrp menu)
if the boot message "2. Press Volume up for 3 seconds" appears must do a Factory Reset in the Stock Recovery. After a reboot the TWRP menu shows up. In lineageos you can activate advanced reboot in developer settings to boot in TWRP menu by pressing recovery mode
TWRP:
8. Wipe -> Advanced Wipe -> select data + cache + dalvik-cache -> Swipe to wipe -> back to start menu
9. Install -> Select Storage -> select Mircro SD card -> OK -> select Disable_Dm-Verity_ForceEncrypt_12.21.2019.zip -> Swipe to confirm Flash
10. Reboot -> Bootloader (not System!!!)
Fastboot:
11. fastboot flash ramdisk RAMDISK238.img
12. fastboot flash system lineage-17.0-20191231-UNOFFICIAL-treble_arm64_avN.img
(or AOSP 10.0 v209)
13. fastboot reboot
LineageOS should start.
other custom roms could work as well.......
Edit:
There´s a new version of LineageOS available:
https:######sourceforge.net###projects###andyyan-gsi###files###lineage-17.x###lineage-17.1-20200111-UNOFFICIAL-treble_arm64_avN.img.xz###download
replace ### with /
It works well on my m5lite
Click to expand...
Click to collapse
sasuke988 said:
It did not work on B239
I am trying now to get back to the stock rom.
I think the problem is with RAMDISK238.img :/
Do you know how to get one for 239?
Thanks !
Click to expand...
Click to collapse
https://
pro-teammt.ru/
en/
online-firmware-database/
?firmware_model=BAH2-W19&firmware_page=0
Check out your model (C432C431/...)
Use the huawei extractor to extract the images
Can someone check if this is legit? https://romprovider.com/2019/09/9-1-0-151-b151-firmware-jordan2-l09b/amp/
Raresh T said:
Can someone check if this is legit? https://romprovider.com/2019/09/9-1-0-151-b151-firmware-jordan2-l09b/amp/
Click to expand...
Click to collapse
It's for the 8" screen variant. It won't work on our 10.1"
is there any current custom house for this model because no links work. And on the stock, I have a problem with 5ghz Wi-Fi
You'd better install TWRP,flash FBE-disabler and format data partition
Anyway,firmware can be found at professorjtj.github.io and I recommend you rebrand and update it to EMUI9 to get better treble compatibility
SkipM4 said:
You'd better install TWRP,flash FBE-disabler and format data partition
Anyway,firmware can be found at professorjtj.github.io and I recommend you rebrand and update it to EMUI9 to get better treble compatibility
Click to expand...
Click to collapse
thats an interesting suggestion. could you post some guides on how could someone rebrand their device ?

[Guide] Root Galaxy A10 Magisk prenormal rmm/kg state (October Patch- later)

Hi All this is just a quick tutorial to help you all root your devices, on later firmwares
This 100% works ive done it over and over without any problems. I am currently on october patch latest firmware for my A105FN. As you may know Samsung have now added extra security meaning even if you have already unlocked your bootloader after you patch the firmware with magisk, flash patched firmware and reboot you will be greeted with that dreadfull message, Only official binaries allowed and your device will be locked and wont boot untill you reflash stock firmware again. The below will help get you out of the prenormal kg state, and save's you a 7 days waiting period as we dont have any TWRP available for our device at this time. Also note due to the extra security magisk cant be flashed with the whole firmware no more, as each time you flash the firmware your back at square 1.
Note: You will need 7-zip - google is your freind
1. Download odin: https://odindownloader.com/download/odin3-v3-13-3.
2. download the latest stock firmware for your device via SamMobile
3. Download latest Magisk Manager - https://www.google.co.uk/amp/s/forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445/amp/
4. Flash latest firmware via odin and let device boot up and finish setting up.
5. Grab Your Firmware AP_A105FXXXX.tar.md5 remove the md5 so its a tar file makes it easier to work with. Copy it to your device storage.
6. Install latest magisk manager, and open check advanced settings to make sure recovery is checked, select install image / patch image and select the AP file you put on your device, magisk will patch and save as magisk_patched on your internal storage. Copy this back to your pc and extract it.
7. Download this https://forum.xda-developers.com/attachment.php?attachmentid=4818715&d=1568308074 thanks to @droidzer1 and extract the vbmeta.img.
8. Make a new folder on you pc it's temporary so you know where your files are. From the Ap magisk_patch.tar you extracted, copy the boot.img, recovery.img, and the downloaded vbmeta.img from step 7. And place them in the new folder you created, using your mouse select all 3 and right click select 7-zip add to archive, select tar format and name it magisk.tar.
9. Now we have all the files ready back to your device, if your bootloader is already unlocked skip this step and move to the next. For those that havent unlocked there bootloader go to settings - about phone - Software Information - tap multiple times on "Build number" - This will open developer option.
Now in settings at the end, you will have new option "Developer options" - look for OEM unlocking - Enable it, if the OEM switch is not there proceed to step 10. If it is and you enabled it it might ask you to factory reset if not it will be this way to complete the unlock bootloader.......
switch off your device and reboot to download mode.
To put device in download mode - Press Volume Up & then Press Volume Down (Keep holding both) and connect device to PC with USB cable
When device start to download mode, long press volume up to unlock the bootloader. This will wipe your data and automatically reboot.
10. Remove any account you have on your device go to settings, look for time and date automatic time zones, turn it off and set date back 8 days from now (example 30th today change date to 22nd) restart device. Now go straight back into automatic time zones settings and turn it back on. Again reboot device, when device reboots turn it off. You can now enter download mode and it should say checking instead of prenormal that means you good to go. Those of you that had no OEM switch in developer mode please now check.... if it's there enable it and go back to step 10 unlocking bootloader then proceed to step 11.
11. Open odin and select in the ap tab the magisk.tar you created earlier. Plug in your usb whilst holding vol-up and vol-down together to boot into download, press vol-up to proceed. Press start on odin and soon as it finishes and device reboots and you see the bootloader message hold power and vol-up until into stock recovery, select wipe factory reset then select reboot device, this the same as soon as you see bootloader unlocked message hold power and the vol-up together this time count to 7.... and release. Phone wont boot it will go blackscreen and reboot, dont worry this is normal, again do the exact same at bootloader unlocked msg screen hold power and vol-up count to 7... release, now phone will boot and you can set it up.
Note: you will need to reinstall magisk manager and on 1st open it will ask do to additional setup, let it do its thing, then device will reboot,
Remeber every time your device reboots you will have to do the power and vol-up to boot system with root.
I hope this guide help you and a big thank you to @afaneh92 for his original guide
thnaks man
how do i install twrp?
if it is possible, can i flash GSI?
tttt7hhhhjjjk said:
thnaks man
how do i install twrp?
if it is possible, can i flash GSI?
Click to expand...
Click to collapse
No the twrp that was made for our device, wont work with new versions of magisk, or any newer firmware we are going to have to wait until the the new kernel source is released by samsung unfortunatly, its impossible to say when or if they do.... so its just root for now.
mikeyb123 said:
No the twrp that was made for our device, wont work with new versions of magisk, or any newer firmware we are going to have to wait until the the new kernel source is released by samsung unfortunatly, its impossible to say when or if they do.... so its just root for now.
Click to expand...
Click to collapse
thanks for the fast reply man :good:
I gave up rooting this phone, ended up bootloop 3 times and always has to flash it to get the phone working again
timba123 said:
Any chimeratool tricks for no oem unlocking in developer options? On a102u1
Click to expand...
Click to collapse
no.. chimera tool cant unlock the bl on usa variants
hello Thanks for this method but not working after install again magisk manager , say app magisk is not installed and not root
When I was creating the magisk_patch file with magisk manager go to advanced settings and check recovery mode
is it correct?

2nd attempt to root (after hard brick)

Hello everyone,
After my first attempt to root my RN8P and a hard brick (after installing TWRP) I would obviously like to avoid a second disaster.
Let me give you a bit of an overview first though:
MIUI version: Global 11.0.6.0 (PGGMIXM)
Android version: 9 PPR1.180610.011
Security Patch Level: 2019-12-01
Bootloader: Unlocked
I am not a complete noob as I have already rooted and flashed CFWs on 2 Xiaomi phones (Redmi 3 and Redmi Note 4x) without any problems but I have to admit that I do not really understand all the details so consider me a "copy and paste" user which is why I post this here. After having the hard brick experience and dishing out 30 USD for my stupidity to have someone flash a stock ROM again I would like to make sure that I am NOT following a guide which will lead me down the same alley again.
Goal: Plan is to install TWRP and Magisk (want to continue using banking on my device) and flash the Lineage ROM. I also use Macrodroid to automate a lot of things hence the need for root.
Is there anyone here who could point me to the correct procedures for my ROM version/setup to help me succeed on my 2nd try?
I would love to learn all of this in detail before I attempt it again but unfortunately I am a busy dad with 2 young kids and simply don't have the time to really do
All help is much appreciated!
Cheers!
How to flash TWRP (LR.TEAM) and root RN8pro:
1. Download recovery file from this message
2. Open CMD from the dir where you store twrp.img (it's important because you don't need to type whole path of the twrp.img
3. Turn off the device, hold Power button & Vol- to enter fast boot and connect device to USB
4. In CMD type first fastboot devices to ensure that device is in fastboot, this is not important but recommended. Output should be something like this 4l6lsctgskpj4swc fastboot
5. Then it's time to flash recovery file. Type fastboot flash recovery twrp.img
6. This is the most important step now, on the device screen it should write USB Transmission ok if that is there you are ready to go. Remove device from the USB and hold Power button & Vol+, When the device turn off the screen keep holding Vol+ it'll keep screen off for about 5-10 seconds, then it'll show a recovery, still holding vol+ because it will get restarted again, and again still holding vol+ and recovery will show up. Simple words (Keep holding vol+ till recovery not appear for second time)
7. If it asks for a password, it's a password you use on the device it self(one for unlocking the screen or unlock the device after reboot), enter password and wait for Data decrypt.
At the moment there is no root and recovery will be replaced after you try to boot next time. To prevent it from replacing recovery do next (my opinion is skipping step 8. and 9. and having stock recovery because of MIUI updates):
8. Go to mount and tick the /system
9. Go back, tap on advanced, then to File Manager search for system_root dir open it, then find system and on the bottom is file called recovery-from-boot.p Remove that file and recovery wont be replaced
Now how we root it:
10. Go to advanced and tap on Close AVB2.0 and swipe to confirm
11. Go back and tap to Install ROOT, swipe to install and Reboot system
This will install Magisk v19.4, after boot you can update it from the Magisk Manager, my suggestion is to first update the manager then Magisk binary.
I have done this on ROM: MIUI Global 11.0.2 and 11.0.3 | Stable 11.0.2.0(PGGEUXM), Android 9 PPR1.180610.011
Guide by: @Paget96
Credit : Telegram group
AD FOX said:
How to flash TWRP (LR.TEAM) and root RN8pro:
1. Download recovery file from this message
2. Open CMD from the dir where you store twrp.img (it's important because you don't need to type whole path of the twrp.img
3. Turn off the device, hold Power button & Vol- to enter fast boot and connect device to USB
4. In CMD type first fastboot devices to ensure that device is in fastboot, this is not important but recommended. Output should be something like this 4l6lsctgskpj4swc fastboot
5. Then it's time to flash recovery file. Type fastboot flash recovery twrp.img
6. This is the most important step now, on the device screen it should write USB Transmission ok if that is there you are ready to go. Remove device from the USB and hold Power button & Vol+, When the device turn off the screen keep holding Vol+ it'll keep screen off for about 5-10 seconds, then it'll show a recovery, still holding vol+ because it will get restarted again, and again still holding vol+ and recovery will show up. Simple words (Keep holding vol+ till recovery not appear for second time)
7. If it asks for a password, it's a password you use on the device it self(one for unlocking the screen or unlock the device after reboot), enter password and wait for Data decrypt.
At the moment there is no root and recovery will be replaced after you try to boot next time. To prevent it from replacing recovery do next (my opinion is skipping step 8. and 9. and having stock recovery because of MIUI updates):
8. Go to mount and tick the /system
9. Go back, tap on advanced, then to File Manager search for system_root dir open it, then find system and on the bottom is file called recovery-from-boot.p Remove that file and recovery wont be replaced
Now how we root it:
10. Go to advanced and tap on Close AVB2.0 and swipe to confirm
11. Go back and tap to Install ROOT, swipe to install and Reboot system
This will install Magisk v19.4, after boot you can update it from the Magisk Manager, my suggestion is to first update the manager then Magisk binary.
I have done this on ROM: MIUI Global 11.0.2 and 11.0.3 | Stable 11.0.2.0(PGGEUXM), Android 9 PPR1.180610.011
Guide by: @Paget96
Credit : Telegram group
Click to expand...
Click to collapse
Thanks a lot for your reply!! I will try this process. The only thing I was unable to find is the files you are mentioning. Can you please point me to those?
Much appreciated!

TWRP & Root Samsung Galaxy A51 SM-A515F One UI 2.5 CTJ1 Android 10

Assalom-o-Alaikum!
How to Root and Flash TWRP on Samsung Galaxy A51 One UI 2.5 Android 10 CTJ1 Build number- Android security patch level: 1 October 2020. It may be work for SM-A515F, SM-A515F/DSN, SM-A515F/DS, SM-A515F/DST, SM-A515F/DSM, SM-A515F/N, SM-A515U, SM-A515U1, SM-A515W, PLEASE LET ME KNOW IF IT WORKED. This TWRP version is 3.5.0_10-1 developed and brought to you by [email protected] senior developer. You need installed TWRP for rooting or installing custom rom. Use it at your own risk! Follow the instructions carefully and Make sure to backup all your important data!
Downloads
Enable Developer Options: go to Settings -> About device. Tap 7 times on Build number to enable Developer options.
Enable OEM unlock and USB debugging options ( Settings -> Developer options )
Make sure the bootloader are unlocked.
Download and Extract ODIN v3.13.1 from https://odindownload.com/SamsungOdin/
Download and Install Samsung Mobile Phone Drivers
Download Latest Magisk and Magisk Manager
Download twrp-a51-3.5.0_10-1_ianmacd.tar
Download Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip
Flashing TWRP on Galaxy A51 CTJ1 firmware Android 10 Q :
Make sure the bootloader are unlocked, OEM unlock option is grey out
Enter Download Mode : Turn Power Off. Press and hold Volume Up + Volume Down key together, while pressing these keys, connect the phone to computer, then press volume up once.
Open ODIN, IMPORTANT!: Uncheck “Auto Reboot” in Options!
Flashing twrp-a51-3.5.0_10-1_ianmacd.tar as AP in ODIN, then click start.
Magisk is now successfully flashed to your device! Several steps before you can properly use the device.
DO NOT SKIP THIS STEP! Press and hold Volume Down + Power Key, when the screen blank quickly press and hold Volume Up + Power key, when Samsung Logo appears release Power key only, keep pressing Volume Up key until TWRP Recovery Mode Appears.
Select Install – select Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip Swipe to confirm Flash
Select Reboot to Recovery
Select Wipe -> Format data, type ‘yes’ and confirm
Select Reboot to System
Setup the phone, Done!
Rooting Instructions
Enter TWRP recovery : Turn Power Off. Press and hold Volume Up key + Power Key, When SAMSUNG logo appears release Power Key only, keep pressing Volume Up key until TWRP recovery appears.
Install Magisk Magisk-v21.2.zip or latest
Select Reboot to System
Connect the Phone to Internet
Open Magisk Manager ( If you can not see it, just wait for a moment)
Done! You can use Root Checker to check it, Enjoy!
If something goes wrong and you want to unroot it, just flash the ROM to make it works again.
Notes / Warning!
Use at your own risk, I’m not responsible for bricking your device.
Using the incorrect file may brick your device.
If your target device has a custom firmware flash counter, Rooting will trigger it. If you’re lucky, Triangle Away has support for your device and can be used to reset the counter.
If you have a KNOX-enabled device, Rooting will trip the KNOX WARRANTY VOID status !
If your device storage is encrypted, Rooting will wipe your data !
If you have locked bootloaders, flashing one of these will probably brick your device – with the exception of Nexus devices, which will usually automatically “OEM unlock” and wipe your data !
Make sure to backup your important data before root it.
Video Link:
Credit:
1. @ianmacd
2. @redymedan
Mohd Masab said:
Assalom-o-Alaikum!
How to Root and Flash TWRP on Samsung Galaxy A51 One UI 2.5 Android 10 CTJ1 Build number- Android security patch level: 1 October 2020. It may be work for SM-A515F, SM-A515F/DSN, SM-A515F/DS, SM-A515F/DST, SM-A515F/DSM, SM-A515F/N, SM-A515U, SM-A515U1, SM-A515W, PLEASE LET ME KNOW IF IT WORKED. This TWRP version is 3.5.0_10-1 developed and brought to you by [email protected] senior developer. You need installed TWRP for rooting or installing custom rom. Use it at your own risk! Follow the instructions carefully and Make sure to backup all your important data!
Downloads
Enable Developer Options: go to Settings -> About device. Tap 7 times on Build number to enable Developer options.
Enable OEM unlock and USB debugging options ( Settings -> Developer options )
Make sure the bootloader are unlocked.
Download and Extract ODIN v3.13.1 from https://odindownload.com/SamsungOdin/
Download and Install Samsung Mobile Phone Drivers
Download Latest Magisk and Magisk Manager
Download twrp-a51-3.5.0_10-1_ianmacd.tar
Download Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip
Flashing TWRP on Galaxy A51 CTJ1 firmware Android 10 Q :
Make sure the bootloader are unlocked, OEM unlock option is grey out
Enter Download Mode : Turn Power Off. Press and hold Volume Up + Volume Down key together, while pressing these keys, connect the phone to computer, then press volume up once.
Open ODIN, IMPORTANT!: Uncheck “Auto Reboot” in Options!
Flashing twrp-a51-3.5.0_10-1_ianmacd.tar as AP in ODIN, then click start.
Magisk is now successfully flashed to your device! Several steps before you can properly use the device.
DO NOT SKIP THIS STEP! Press and hold Volume Down + Power Key, when the screen blank quickly press and hold Volume Up + Power key, when Samsung Logo appears release Power key only, keep pressing Volume Up key until TWRP Recovery Mode Appears.
Select Install – select Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip Swipe to confirm Flash
Select Reboot to Recovery
Select Wipe -> Format data, type ‘yes’ and confirm
Select Reboot to System
Setup the phone, Done!
Rooting Instructions
Enter TWRP recovery : Turn Power Off. Press and hold Volume Up key + Power Key, When SAMSUNG logo appears release Power Key only, keep pressing Volume Up key until TWRP recovery appears.
Install Magisk Magisk-v21.2.zip or latest
Select Reboot to System
Connect the Phone to Internet
Open Magisk Manager ( If you can not see it, just wait for a moment)
Done! You can use Root Checker to check it, Enjoy!
If something goes wrong and you want to unroot it, just flash the ROM to make it works again.
Notes / Warning!
Use at your own risk, I’m not responsible for bricking your device.
Using the incorrect file may brick your device.
If your target device has a custom firmware flash counter, Rooting will trigger it. If you’re lucky, Triangle Away has support for your device and can be used to reset the counter.
If you have a KNOX-enabled device, Rooting will trip the KNOX WARRANTY VOID status !
If your device storage is encrypted, Rooting will wipe your data !
If you have locked bootloaders, flashing one of these will probably brick your device – with the exception of Nexus devices, which will usually automatically “OEM unlock” and wipe your data !
Make sure to backup your important data before root it.
Credit:
1. [email protected]
2. Recovery-Mode
Click to expand...
Click to collapse
Keep up to making the next tutorial on Galaxy A51
Hello
Mohd Masab
It's my first Samsung .I had 4-5 Sony ,easy to root ,a Doogee S90 (NEVER BUY THAT !).
Is your method safe ,have U seen bad effects ,what fonctions did U lost ?
Bye .
Fred
Okay, so I completed the whole process, here are my observations:
The method provided above almost works. The problem is, that everytime you reboot to system when you are not rooted, TWRP will encrypt your files. So the solution is, that you have to format data and then install dm_verity and Magisk after each other, without a reboot! After that, you can boot to your system and set up your phone.
hargitomi said:
Okay, so I completed the whole process, here are my observations:
The method provided above almost works. The problem is, that everytime you reboot to system when you are not rooted, TWRP will encrypt your files. So the solution is, that you have to format data and then install dm_verity and Magisk after each other, without a reboot! After that, you can boot to your system and set up your phone.
Click to expand...
Click to collapse
I did what you said but still encrypts after reboot. Latest Magisk.
Hi, I am having problems with internal storage, I can not create folders and there are applications that I can not download, any solution?
Could someone tell me if it is compatible with the November update CTK1?
I have managed to root the phone, you can install everything and configure it, but after turning off the phone, I can't start it does bootloop, and it returns to the prompt "The phone is not running Smasung official software ..." never finishes starting? What do you recommend me to do?
020221
I reloaded the original rom and did the procedure again, taking into account the clarification of installing install dm_verity and Magisk after each other, without a reboot, and everything went well!
Hello abraxasboot !
So,for you ,the only problem was that U had to flash the files one after the other without rebooting ?
No other problem since that ?
Is the phone reacting well ?
Where did U find the official rom ?
Thanks and have a good day !
It worked for me but i can't access themes and other system apps
Is there any solution to access themes on rooted a51
Everything working well for me, thanks !
For ameer419 ,maybe try to flash Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip after EACH other thing U flash in TWRP ...
Good luck !
Hello everybody !
Bootloop til this morning ,maybe my fault :I erased system apps such as Facebook ,Youtube ...nothing very important .
I tried to start the procedure at the begining ,it doesn't work ...
Any idea from anyone ?
Thanks .
fleafred said:
Hello abraxasboot !
So,for you ,the only problem was that U had to flash the files one after the other without rebooting ?
No other problem since that ?
Is the phone reacting well ?
Where did U find the official rom ?
Thanks and have a good day !
Click to expand...
Click to collapse
How are you fleafred, https://samfrew.com/es/model/SM-A515F/ here you will find the original rom. I did the procedure again and had no more problems.
Cool ,I couldn't find it!
Just have to wait for 9h now ...
Thanks a lot ,abraxasboot ,I'll tell u.
Have a nice day .
It worked !
Ouf !Thanks a lot ...
I could re-install Magisk ,Xposed ...
I'd have like to know what I desinstalled to do that ...
Have a nice day .
Thank you very much, brother. You did the perfect way
== important ==
I was unable to flash and reboot into TWRP recovery after applying the official Samsung update from March, which updates Android from 10 to 11. Reboot into recovery would not work and I would always end in a boot loop.
I had to downgrade to Samsung's official Android 10 and used the binaries from January for that: https://samfrew.com/es/model/SM-A515F
After that, flashed TWRP again and was able to boot into recovery right away as it should be
If I follow the steps and flash twrp-a51-3.5.0_10-1_ianmacd.tar file using Odin I get an message:
'Only official release binaries are allowed to be flashed (RECOVERY)
The phone was recently purchased from Samsung official store, and has android 10 official firmware from feb 1st installed
Any clue please?
hey guys i used a lyf wind 1 to flash lineage os using twrp ..... so i wiped the previous os and unknowingly flashed another unsupported version of twrp ...when entering to recovery menu its all blank .... now i have no os and recovery ...... i couldnt flash stock rom because my device is not recognised as qualcomm port .............
pls any help ????
I have a working 11R twrp and all the DRM passers mejestics etc. to run.. you can boot the os after that that is the standard Samsung OS. np u can install LINAGE os 18.1 Andys march release, the Mejestics meaning u can patch root without Needing to part the orignal Firm and copy boot.img over. etc
Here is Link With GSI as Well and 2.5 GUI Twrp working and UI3.0
Google Drive: Sign-in
antuanix46 said:
If I follow the steps and flash twrp-a51-3.5.0_10-1_ianmacd.tar file using Odin I get an message:
'Only official release binaries are allowed to be flashed (RECOVERY)
The phone was recently purchased from Samsung official store, and has android 10 official firmware from feb 1st installed
Any clue please?
Click to expand...
Click to collapse
All good in the end, I needed to install samsung's firmware in odin first
Thank you for the good work

Categories

Resources