Boot secure - Samsung Galaxy S9 Questions & Answers

Hey; since I root my S9 with magisk. The secure startup option (a code is requested at startup to decrypt the device.) Out of this flash this option has disappeared Maybe because of dm-verity? I would like to find this option ..

Biometrics/Security. In there should be the option to encrypt the phone.
Pie, Settings > Biometrics & Security > Encrypt Device

Related

Rebrand Honor 7X (BND-AL10) to (BND-L21C432)

Hi, first I am newbie but have some experiences. I bought phone Honor 7X (BND-AL10) from chinese eshop. I want rebrand phone to (BND-L21C432) and have working Stock OTA updates for Europe. I read some stuff here and around on net, and if I understand correctly I need:
- working adb (done) - https://developer.android.com/studio/releases/platform-tools
- unlocked bootloader (done) - https://www.dc-unlocker.com/ for buying credits (4€) and https://hcu-client.com/ for get bootloader code from phone
- unlocked FRP (done) - Settings -> System -> Developer Options -> Oem Unlock On
- Flashed TWRP (done) - unofficial TWRP 3.1.1-0 OpenKirin Edition(https://androidfilehost.com/?fid=962021903579497006)
- root (done) - Magisk 16.7 - https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589
- change text in file root > data > product.bin to "BND-L21C" (done) - with root explorer app
- change text in file root > data > custom.bin to "hw/eu" (done) - with root explorer app
- overwrite "oeminfo" file in folder "/dev/block/platform/hi_mci.0/by-name/" with new "oeminfo" shared with other user who has orginal (done) - https://forum.xda-developers.com/honor-7x/how-to/share-custom-bin-oem-info-t3723605, overwrited by root explorer app
After this I restart phone and get bootloop to Huawei eRecovery, I tryed factory reset and clear cache from there without success. On sdcard I have folder "dload" and there I have "UPDATE.APP" extracted from update.zip, from firmware BND-L21C432CUSTC432D2B331. I tryed flash this firmware with "volume up + volume down but" combo but get error on 5% (Software install failed). When after go to bootloader, my phone is Locked and if I want boot again properly, I must unlock bootloader through "fastboot oem unlock code".
What I doing wrong and how I can recognize if my phone is successfully rebranded ? Thank you.
Stopka Peter said:
Hi, first I am newbie but have some experiences. I bought phone Honor 7X (BND-AL10) from chinese eshop. I want rebrand phone to (BND-L21C432) and have working Stock OTA updates for Europe. I read some stuff here and around on net, and if I understand correctly I need:
- working adb (done) - https://developer.android.com/studio/releases/platform-tools
- unlocked bootloader (done) - https://www.dc-unlocker.com/ for buying credits (4€) and https://hcu-client.com/ for get bootloader code from phone
- unlocked FRP (done) - Settings -> System -> Developer Options -> Oem Unlock On
- Flashed TWRP (done) - unofficial TWRP 3.1.1-0 OpenKirin Edition(https://androidfilehost.com/?fid=962021903579497006)
- root (done) - Magisk 16.7 - https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589
- change text in file root > data > product.bin to "BND-L21C" (done) - with root explorer app
- change text in file root > data > custom.bin to "hw/eu" (done) - with root explorer app
- overwrite "oeminfo" file in folder "/dev/block/platform/hi_mci.0/by-name/" with new "oeminfo" shared with other user who has orginal (done) - https://forum.xda-developers.com/honor-7x/how-to/share-custom-bin-oem-info-t3723605, overwrited by root explorer app
After this I restart phone and get bootloop to Huawei eRecovery, I tryed factory reset and clear cache from there without success. On sdcard I have folder "dload" and there I have "UPDATE.APP" extracted from update.zip, from firmware BND-L21C432CUSTC432D2B331. I tryed flash this firmware with "volume up + volume down but" combo but get error on 5% (Software install failed). When after go to bootloader, my phone is Locked and if I want boot again properly, I must unlock bootloader through "fastboot oem unlock code".
What I doing wrong and how I can recognize if my phone is successfully rebranded ? Thank you.
Click to expand...
Click to collapse
I have not rebrand, but have looked at the process extensively in the hwota tool. The bootloader locking when replacing oeminfo file is expected. And in hwota the way they do this is to flash twrp to the e-recovery. So after replace oeminfo and reboot the bootloader, oem unlock bootloader. Then reboot will take you to twrp, not erecovery.
From your position, I hope flashing service rom will get you booted again. Then you can see what model is displayed

Patch kernel to encrypt with FBE on first boot.

For some reason I prefer FBE rather than FDE. I used it on custom roms that "don't support it", actually they do, it's TWRP that can't convert FDE to FBE - it just display given commands and reboot (obviously). There was a script that patched boot.img to use FBE by default, but I can't find it. I bet it was somewhere on this sub-forum... Does anyone have this script, or know how to patch it manually?
I'm asking because I can't permanently unlock bootloader, so even if I convert it I wont be able to put TWRP back without unlocking bootloader and that will remove encryption.

OP3T : Why boot twice each startup ?

Hi,
I have a friend who buy a oneplus 3T (second hand), and I have a oneplus 5.
I noticed a strange difference between these both devices. Indeed, when oneplus 5 is booting, there is the oneplus logo, then the oxygenos logo, then the lockscreen (normal).
But when the oneplus 3t is booting, there is the oneplus logo, then the oos logo, then we need to enter password, then there is oxygenos logo again, and finally there is the lockscreen and we need to re-enter the password (pin).
Futhermore when open twrp on the OP3T, we need the password, then we can read "fail to mount storare" and twrp boot up and works fine after that.
Both of them are secure with pin and sim card pin are disabled.
OP 3T : oos 5.0.7, magisk 18.0, encrypted
OP5 : OB22, magisk 18.0, encrypted
So I dont understand what goes wrong on the 3T, is it normal or do I need a factory on something else?
Sorry for my bad English,
Thanks
Androrax said:
So I dont understand what goes wrong on the 3T, is it normal or do I need a factory on something else?
Thanks
Click to expand...
Click to collapse
Perfectly normal.
OP3/T uses Full Disk Encryption (FDE). OP5 uses File Based Encryption (FBE). The latter is also known as Direct Boot, and for good reason. As the name implies Direct Boot allows you to get straight to the Lockscreen before having to enter any security. That's because with FBE the files needed to Boot the phone don't need Decrypting. As you can see, it's more convenient that way and the startup procedure is less janky.
With FDE on the OP3 you can't do anything until security is entered so you get the Boot prompt to Decrypt and then a Fingerprint on the Lockscreen to unlock the device. (You'll notice on the OP5 you always have to enter a PIN/Password on the Lockscreen after a reboot. That step is on Boot with the OP3).
For Encryption to be secure with the OP3, you have to have your security, whether a PIN or Password, set to prompt you at Boot. This is an option during the Initial Setup of the device when you set your security stuff. It always prompts you to add that security at Boot. Same too if you now remove your PIN in settings and set a new one. You obviously said yes to this prompt as you have on-boot security.
If you had said 'No' you would Boot straight to the Lockscreen, same as the OP5, and would have to enter PIN/Password instead of just Fingerprint on the Lockscreen. It's a big security hole that way though as someone could remove your Lockscreen security from TWRP and gain full access to your phone. This is why you need on-boot security with FDE.
With TWRP:
OP5 - You should get prompted for security by TWRP when you try to load it. If not, something is wrong.
OP3 - With on-boot security:
You will have already entered your security so you are decrypted and TWRP will then load without additional prompt.
OP3 - Without on-boot security:
TWRP will use default_password to decrypt and load automatically. This is a problem as anyone with physical access to your device can use TWRP to remove your Lockscreen security and boot into your phone.
TL;DR:
1) On-boot security is essential when using FDE, even if the bootup sequence is horrible.
2) FBE is superior in that you can boot straight to Lockscreen and TWRP is protected if someone boots to Recovery.
Wow, thank you very much for this very comprehensive answer.
I am reassured now

[Mi A2][Unlock Bootloader][TWRP][ROM] Ressurection Remix v8.6.5 | Xiaomi Mi A2 (jasmine_sprout)

Greetings Readers,
Today you will learn how to unlock bootloader of your Mi A2 device along with flashing latest(as per now) TWRP(v3.5.0) subsequently flashing the latest(as per now) Resurrection remix OS(v8.6.5).
Your Phone's warranty would void. So you might wanna think again before going forward.
All of your device data would be wiped so create a backup beforehand.
Your device might get stuck in bootloop.
Your device might get damaged.
I won't be responsible for any ruckus you create.​
Pre-requisites:
- Your phone's battery must be charged at least to 70%.​- Keep your PC plugged into power as well.​- Be confident.​Lets Begin​
Things Needed:
- Xiaomi Mi A2​- PC(Windows recommended)​- Data Cable​​Files Needed​
File NameDownload LinkInstructionsRROS-Q-Final v8.6.5Resurrection Remix Downloads- Scroll down until you see a file: RROS-Q-Final-8.6.5-20201215-jasmine_sprout-Official-gapps.zip
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- Now click on this file name to start the download.
*Gapps included in this ROM file​twrp v3.5.0Download twrp-3.5.0_9-0-jasmine_sprout.img-Click on the blue colored text: Download twrp-3.5.0_9-0-jasmine_sprout.img
twrp-installer v3.5.0Download twrp-installer-3.5.0_9-0-jasmine_sprout.zip- Click on the blue colored text: Download twrp-installer-3.5.0_9-0-jasmine_sprout.zip
platform-tools v31.0.0SDK Platform Tools release notes | Android Developers- Scroll down a bit and under Downloads section click on blue colored text: Download SDK Platform-tools for windows
- Now click on checkbox and then click on the download button to start the download:
Mi Unlock Tool v4.5.813.51miflash_unlock-en-4.5.813.51.zip-​Dm Verity Force Encrypt Disabler v11.02.2020Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip-​
*all the above given download links are from the respective official websites. So, download them all on your PC.
Preparing Mi A2​
Enabling OEM Unlock and USB Debugging:
- Navigate to Settings > About phone.​~ Tap on Build number 7 times.​- Navigate to Settings > System > Developer options.​~ Enable the 'OEM unlocking' and 'USB debugging' switch.​- Switch off your phone.​- Press the Power button and Volume Down button simultaneously, until you see the fastboot screen.​- Connect the phone to your PC using USB data cable.​
Working on PC​
Installing drivers:
- Extract the 'miflash_unlock-en-4.5.813.51.zip' file.​- Inside this file double click on 'miflash_unlock.exe' file.​*we are not installing this tool. We are just using it for installing our device drivers.​​
​- On the top right corner click on the settings gear icon.​​
​- Now click on 'Check' button.​​
​*it will ask for Administration Access twice.​- Click on 'Yes' both the times.​*a new dialogue box appears asking you to connect your device again.​- Unplug your device and connect it again and the drivers will get installed.​​Unlocking Bootloader:
- Extract the 'platform-tools_r31.0.0-windows.zip' file.​- Inside this file will be a folder platform-tools. Open it.​- Now in the address bar type 'cmd' and hit enter.​​
​​*we did this in order to open cmd to this location. So that our future commands are accessible.​- In the cmd window type the command:​
Code:
fastboot devices
​*it will display our device, something like this:​​
​​/* In case your device is not displayed.​Try installing drivers again. */​- Enter the command:​
Code:
fastboot oem unlock
​*this unlocks the bootloader temporarily​/* A screen pops up on our phone.​Navigate using volume buttons and select using power button.​Our phone reboots.​Set up everything haphazardly.​Navigate to Settings and enable Developer options.​Enable USB debugging in Developer options.​Switch off your phone and boot into fastboot mode again. ​Enter the command fastboot devices in order to check if our device is successfully connected. */​- Enter the command:​
Code:
fastboot oem unlock_critical
​*this will unlock our bootloader permanently​/* Once again a screen pops up on our phone asking for a confirmation.​Confirm it and phone reboots.​Once again set it up haphazardly.​Enable Developer options and USB debugging subsequently.​Boot into fastboot mode again. */​- Enter the command:​
Code:
fastboot oem device-info
*this command will confirm if our device' bootloader has been unlocked or not​​
Installing twrp:
-Enter command:​
Code:
fastboot format userdata
*this command wipes Internal Storage of our phone​-Enter command:​
Code:
fastboot format cache
*this command wipes cache of our phone​-Now enter the command fastboot boot and drag and drop the 'twrp-3.5.0_9-0-jasmine_sprout.img' file into cmd and hit enter.​*we did this so that command file will know the location of our twrp img file and hence execute the command​​/* Our phone will boot into recovery mode.​Transfer 'twrp-3.5.0_9-0-jasmine_sprout.img', 'twrp-installer-3.5.0_9-0-jasmine_sprout.zip', 'RROS-Q-Final-8.6.5-20201215-jasmine_sprout-Official-gapps.zip' to Mi A2's Internal storage. */​
Working on Phone​​- Tap on Install > Install Image(bottom right corner) button.​- Select 'twrp-3.5.0_9-0-jasmine_sprout.img' file.​- Now in 'Select Partition to Flash Image:' scroll down and select the 'Install Recovery Ramdisk' option.​- Swipe right to flash.​- Press back once flashing is complete.​*temporary installed twrp in Slot B​​- Go to Home > Wipe > Advanced Wipe.​- Tap on every checkbox except the 'Internal Storage'.​- Swipe right to wipe.​*we wiped the stock rom from Slot B​​- Go to Home > Reboot > Slot A.​- Go to Home > Install.​- Select the file 'twrp-installer-3.5.0_9-0-jasmine_sprout.zip' and swipe right to flash.​*we temporary installed twrp in Slot A​​- Go to Home > Reboot > Recovery.​- Tap on Wipe > Advanced Wipe.​- Tap on every checkbox except the 'Internal Storage'.​*we wiped stock rom from Slot A​​- Go to Home > Install.​- Select the 'RROS-Q-Final-8.6.5-20201215-jasmine_sprout-Official-gapps.zip' ROM file and swipe right to flash.​*this might take some time​- When flashing is finished tap on 'Wipe Cache/Dalvik' button.​*we flashed RROS rom in Slot A​​- Go to Home > Install.​- Select the 'twrp-installer-3.5.0_9-0-jasmine_sprout.zip' and swipe right to flash it again.​*we installed twrp in Slot A again as it got wiped when we flashed our rom​​- Go to Home > Reboot > Slot B.​- Go to Home > Install.​- Select the 'twrp-installer-3.5.0_9-0-jasmine_sprout.zip' file and swipe right to flash.​- Head back to Home > Wipe > Format Data.​- Type 'yes' and tap on the Tick button.​- Go to Home > Reboot > Recovery.​- Go to Mount and tap on 'Enable MTP' button in the lower right corner (Do not press it if it's showing 'Disable MTP').​- Now transfer the 'Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip' file into your phone's internal storage using your PC.​- Go to Install and select the file 'Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip' and swipe right to flash.​*we installed twrp permanently in slot B​- Select the 'twrp-installer-3.5.0_9-0-jasmine_sprout.zip' and swipe right to flash it again.​- Head to Home > Reboot > System.​​​Congratulations we have successfully installed RROS on our Mi A2​
How to boot into recovery:
Method 1: using Software
- Navigate to Settings > Resurrection tools > System > Power dialog.​- Scroll down and under the 'BUTTONS' section, enable the 'Enable advanced restart' switch.​-Now long press the power button and then select Advanced from the menu to see all the options.​Method 2: using Hardware
- Switch off the phone.​- Press Power button and Volume Up button simultaneously.​- Just as you see Android Boot Splash Screen, press the Volume Up button twice.​​Bugs & Fixes​
BugsFixesCamera isn't recording videos.- Head to Camera Settings.
- In 'Video quality' select 'FHD 1080p, 30fps' option.Phone stuck on boot splash screen when battery drains completely.
*this might occur for the very first time only​- Boot into recovery using Power + Volume Up buttons.
- On twrp home screen, go to Reboot > Power Off.
- Switch On your phone by long pressing power button.Sometimes excessive tweaking delays device wake up.- Reboot SystemUI.
- Let the phone sit for a minute.Camera sounds not turning off.- Root your device using latest Magisk app.
- Now, install the module 'Disable screenshot and camera sounds'.
- Reboot your device.​
Special Thanks to:
RROS Team for providing such a wonderful ROM.
TeamWin - TWRP for providing the twrp files.
@Zackptg5 for the Disable Dm-Verity file.
And to every person who made this possible.
Thankyou for Reading​
You can turn on developer option turn on oem unlock. You can register on miui. Provide your mobile details they will give you unlock code. You can say you are developer and you want to unlock it.
Unlock code for android smartphone simcard
How to unlock android smartphone, what is mobile locking & how to check smartphone is locked or not. How to get sim network unlock code for mobile, different kind of cellphone carrier unlock codes. Requirement of generating sim unlock code from imei.
mobile-cellphones.blogspot.com
YOU TOMUCH WRITE, HUHH....
MY DEVICE XIAOMI MI A2 RAM 6 gb ROM 128 GB, THIS MONT I DOWNLOAD AND INSTAL ALL KIND JANK AND FINALLY I WIPE ALL THEN YESTERDAY HERE I DOUNLOAD RROS 8.6.7 OFFICIAL VANILLA,
HOW I INSTALL IT ON WIPED MI A2?
I USE APP RUBBIT XIAOMI ADB/FastbootTools.exe ONLY,
I INSTALL IMAGES OF OFICIAL FIRMWARE Q AND PBRP recovery NOT TO boot BUT TO Recovery, UNBELIVABLE BUT IT HAPPEN. AFTER FEW TIMES I ACCESS TO SDcard OF MI A2 FROM MY TOSHIBA FAKE NOTEBOOK OF YEAR 2008 WITH FAKE WINDOWS7 AND I COPY FILE RROS 8.6.7 FIRMWARE TO TWRP FOLDER CREATED WITH PBRP, ALSO FOLDER Tools FROM PBRP recovery.img
I INSTALL RROS TO a AND TO b, ALSO INSTALL Magisk, Supersu, AND NOT ONES, I DID it UNTILL SUCCESS.
I WANT TO TELL THAT IS AMAZING ROM NO GAPS I LOVE IT, BUT IT CHEAT ME WITH UPDATE TO LATEST RROS 8.6.9 YOU SEE 69 POSE WITH GAPPS, HUHH..
I AGAIN DELETE WIPE ALL RROS AND REINSTALL RROS 8.6.7 VANILLA NO WITH GOOGLE 69.
PLESE SEND TO VANILLA UPDATES WITH VANILLA AND TO RROS WITH GAPPS SEND UPDATES RROS GAPPS, IT NOT THE SAME.
AND PLEASE GIVE FILE boot.img FOR RROS 8.6.7 or 8.6.0 or 8.6.5 BECOUSE MAGISK NEED FILE boot.img AND I DO NOT KNOW WHY YOU SMART DEVELOPERS NEVER SHARE FILE boot.img WITH PRASED ROMS, THANK YOU.
NOW AFTER INSTALLING YOUR TWRP CAN NOT START IT STACK ON LOGO, NOT GOOD YOUR TWRP,
NEED boot_patched.img OF THIS RROS.
OK, I TRY AGAIN INSTALL TWRP 3.5.2 TO Recovery AND AGAIN INSTALL TWRP 3.5.2 TO boot AND INSTALL MAISK AND MagiskManagerRecovery TO ANABLE ROOT AND REBOOT AND IT STILL RUN RR LOGO
* * * * *
RROS 8.6.7 THE BEST ROM IT HAVE ANYTHING WE NEED EVEN BUTTON REMAPER IN THE SETTING, ALL MY BELOVED GAMES CAN RUN WITH THIS RROS ANDROID 10, EVEN J2MeRunner AND IT GAME LIKE Heroes Lore Wind of Soltia AND SuperWaterBomber, ALSO J2MeLoader WORKING AND CAN RUN ALL Java Jar Games, RROS THE BEST BUT I NEED ROOT FOR MY FRIEND LuckyPatcher
* * * * *
SO MANY TALKING ABOUT TOOLS AND adb TO UNLOCK BOOTLOADER,
I AM SORRY I AM SMARTER OR ALL AROUND MAD, JUST GO DEVELOPER OPTION AND TURN ON UNLOCK BOOTLOADER.
AND IN Xiaomi ADB/FastbootTools CLICK UNLOCK AND IT SAY ALREADY UNLOCKED THEN FLASH ANYTHING. I DID IT USING GARBAGE JUNK NOTEBOOK TOSHIBA J70 CHINES CLONE AND THERE SMARTERS PEOPLE USING LATEST WINDOWS AND PC ADVICE TO US adb MANY JUNK ZIP FILES I USE APP SIZE 2.9 MB AND NOTHING ELSE.
* * * * *
GOOD/ GOOD TWRP 5.3.2 AND PATCH ALSO GOOD BUT I MISTAKE AND INSTALL TWRP TO a AND TO b NOW I HAVE TWRP IN a AND b,
PHONE BOOTLOOP WHEN START a, AND WORKING OK WHEN START b, I NO UNDERSTAND WHY NOT YET I GET ROOT, SUPERSU NO WORKING, MAGISK EVERY 3 OPTIONS YES BUT INSTALLED SHOW N/A, I INSTALL MAGISK FROM TWRP HUNDRED TIMES AND NOT YET ROOT, IT ASKED ME FOR boot.img
MAYBE NEED PATCH TWRP.. AND INSTAL IT IN 101 TIME..
eleven.co said:
Greetings Readers,
Today you will learn how to unlock bootloader of your Mi A2 device along with flashing latest(as per now) TWRP(v3.5.0) subsequently flashing the latest(as per now) Resurrection remix OS(v8.6.5).
Your Phone's warranty would void. So you might wanna think again before going forward.
All of your device data would be wiped so create a backup beforehand.
Your device might get stuck in bootloop.
Your device might get damaged.
I won't be responsible for any ruckus you create.​
Pre-requisites:
- Your phone's battery must be charged at least to 70%.​- Keep your PC plugged into power as well.​- Be confident.​Lets Begin​
Things Needed:
- Xiaomi Mi A2​- PC(Windows recommended)​- Data Cable​​Files Needed​
File NameDownload LinkInstructionsRROS-Q-Final v8.6.5Resurrection Remix Downloads- Scroll down until you see a file: RROS-Q-Final-8.6.5-20201215-jasmine_sprout-Official-gapps.zip
View attachment 5226269
- Now click on this file name to start the download.
*Gapps included in this ROM file​twrp v3.5.0Download twrp-3.5.0_9-0-jasmine_sprout.img-Click on the blue colored text: Download twrp-3.5.0_9-0-jasmine_sprout.imgView attachment 5226271twrp-installer v3.5.0Download twrp-installer-3.5.0_9-0-jasmine_sprout.zip- Click on the blue colored text: Download twrp-installer-3.5.0_9-0-jasmine_sprout.zipView attachment 5226273platform-tools v31.0.0SDK Platform Tools release notes | Android Developers- Scroll down a bit and under Downloads section click on blue colored text: Download SDK Platform-tools for windows
View attachment 5226281
- Now click on checkbox and then click on the download button to start the download:
View attachment 5226285Mi Unlock Tool v4.5.813.51miflash_unlock-en-4.5.813.51.zip-​Dm Verity Force Encrypt Disabler v11.02.2020Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip-​
*all the above given download links are from the respective official websites. So, download them all on your PC.
Preparing Mi A2​
Enabling OEM Unlock and USB Debugging:
- Navigate to Settings > About phone.​~ Tap on Build number 7 times.​- Navigate to Settings > System > Developer options.​~ Enable the 'OEM unlocking' and 'USB debugging' switch.​- Switch off your phone.​- Press the Power button and Volume Down button simultaneously, until you see the fastboot screen.​- Connect the phone to your PC using USB data cable.​
Working on PC​
Installing drivers:
- Extract the 'miflash_unlock-en-4.5.813.51.zip' file.​- Inside this file double click on 'miflash_unlock.exe' file.​*we are not installing this tool. We are just using it for installing our device drivers.​​View attachment 5226331​​- On the top right corner click on the settings gear icon.​​View attachment 5226333​​- Now click on 'Check' button.​​View attachment 5226335​​*it will ask for Administration Access twice.​- Click on 'Yes' both the times.​*a new dialogue box appears asking you to connect your device again.​- Unplug your device and connect it again and the drivers will get installed.​​Unlocking Bootloader:
- Extract the 'platform-tools_r31.0.0-windows.zip' file.​- Inside this file will be a folder platform-tools. Open it.​- Now in the address bar type 'cmd' and hit enter.​​View attachment 5226371​​*we did this in order to open cmd to this location. So that our future commands are accessible.​- In the cmd window type the command:​
Code:
fastboot devices
​*it will display our device, something like this:​​View attachment 5226381​​/* In case your device is not displayed.​Try installing drivers again. */​- Enter the command:​
Code:
fastboot oem unlock
​*this unlocks the bootloader temporarily​/* A screen pops up on our phone.​Navigate using volume buttons and select using power button.​Our phone reboots.​Set up everything haphazardly.​Navigate to Settings and enable Developer options.​Enable USB debugging in Developer options.​Switch off your phone and boot into fastboot mode again. ​Enter the command fastboot devices in order to check if our device is successfully connected. */​- Enter the command:​
Code:
fastboot oem unlock_critical
​*this will unlock our bootloader permanently​/* Once again a screen pops up on our phone asking for a confirmation.​Confirm it and phone reboots.​Once again set it up haphazardly.​Enable Developer options and USB debugging subsequently.​Boot into fastboot mode again. */​- Enter the command:​
Code:
fastboot oem device-info
*this command will confirm if our device' bootloader has been unlocked or not​​View attachment 5226413​
Installing twrp:
-Enter command:​
Code:
fastboot format userdata
*this command wipes Internal Storage of our phone​-Enter command:​
Code:
fastboot format cache
*this command wipes cache of our phone​-Now enter the command fastboot boot and drag and drop the 'twrp-3.5.0_9-0-jasmine_sprout.img' file into cmd and hit enter.​*we did this so that command file will know the location of our twrp img file and hence execute the command​​/* Our phone will boot into recovery mode.​Transfer 'twrp-3.5.0_9-0-jasmine_sprout.img', 'twrp-installer-3.5.0_9-0-jasmine_sprout.zip', 'RROS-Q-Final-8.6.5-20201215-jasmine_sprout-Official-gapps.zip' to Mi A2's Internal storage. */​
Working on Phone​​- Tap on Install > Install Image(bottom right corner) button.​- Select 'twrp-3.5.0_9-0-jasmine_sprout.img' file.​- Now in 'Select Partition to Flash Image:' scroll down and select the 'Install Recovery Ramdisk' option.​- Swipe right to flash.​- Press back once flashing is complete.​*temporary installed twrp in Slot B​​- Go to Home > Wipe > Advanced Wipe.​- Tap on every checkbox except the 'Internal Storage'.​- Swipe right to wipe.​*we wiped the stock rom from Slot B​​- Go to Home > Reboot > Slot A.​- Go to Home > Install.​- Select the file 'twrp-installer-3.5.0_9-0-jasmine_sprout.zip' and swipe right to flash.​*we temporary installed twrp in Slot A​​- Go to Home > Reboot > Recovery.​- Tap on Wipe > Advanced Wipe.​- Tap on every checkbox except the 'Internal Storage'.​*we wiped stock rom from Slot A​​- Go to Home > Install.​- Select the 'RROS-Q-Final-8.6.5-20201215-jasmine_sprout-Official-gapps.zip' ROM file and swipe right to flash.​*this might take some time​- When flashing is finished tap on 'Wipe Cache/Dalvik' button.​*we flashed RROS rom in Slot A​​- Go to Home > Install.​- Select the 'twrp-installer-3.5.0_9-0-jasmine_sprout.zip' and swipe right to flash it again.​*we installed twrp in Slot A again as it got wiped when we flashed our rom​​- Go to Home > Reboot > Slot B.​- Go to Home > Install.​- Select the 'twrp-installer-3.5.0_9-0-jasmine_sprout.zip' file and swipe right to flash.​- Head back to Home > Wipe > Format Data.​- Type 'yes' and tap on the Tick button.​- Go to Home > Reboot > Recovery.​- Go to Mount and tap on 'Enable MTP' button in the lower right corner (Do not press it if it's showing 'Disable MTP').​- Now transfer the 'Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip' file into your phone's internal storage using your PC.​- Go to Install and select the file 'Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip' and swipe right to flash.​*we installed twrp permanently in slot B​- Head to Home > Reboot > System.​​​Congratulations we have successfully installed RROS on our Mi A2​
How to boot into recovery:
Method 1: using Software
- Navigate to Settings > Resurrection tools > System > Power dialog.​- Scroll down and under the 'BUTTONS' section, enable the 'Enable advanced restart' switch.​-Now long press the power button and then select Advanced from the menu to see all the options.​Method 2: using Hardware
- Switch off the phone.​- Press Power button and Volume Up button simultaneously.​- Just as you see Android Boot Splash Screen, press the Volume Up button twice.​​Bugs & Fixes​
BugsFixesCamera isn't recording videos.- Head to Camera Settings.
- In 'Video quality' select 'FHD 1080p, 30fps' option.Phone stuck on boot splash screen when battery drains completely.
*this might occur for the very first time only​- Boot into recovery using Power + Volume Up buttons.
- On twrp home screen, go to Reboot > Power Off.
- Switch On your phone by long pressing power button.Sometimes excessive tweaking delays device wake up.- Reboot SystemUI.
- Let the phone sit for a minute.Camera sounds not turning off.- Root your device using latest Magisk app.
- Now, install the module 'Disable screenshot and camera sounds'.
- Reboot your device.​
Special Thanks to:
RROS Team for providing such a wonderful ROM.
TeamWin - TWRP for providing the twrp files.
@Zackptg5 for the Disable Dm-Verity file.
And to every person who made this possible.
Thankyou for Reading​
Click to expand...
Click to collapse
THE BEST ROM THANK YOU.
ALWAYS PROBLEM UNABLE CREATE CACH OR SYSTEM SOLVED BY WIPING ALL EXEPT ENTERNAL AND INSTALLING TO RAM DISC NOT TWRP 3.5.0_9 BUT TWRP 3.2.3 AND IT FLASHING CLEARLY TO CURRENT SLOT FROM a TO a, FROM b TO b WITHOUT RED LETTERS ABOUT ERROR, SO IN ORDER to FLASH RROS AND PATCH AND MAGISK NEED TWRP 3.2.3 jasmine sprout.img
И НИКАКИХ ТАНЦЕВ С БУБНОМ,
НУЖЕН ЗАЯЦ В УШАНКЕ 2.9 mb.exe И TWRP 3.2.3, ПРОШИВКА СУПЕР
LUCY YISRAEL said:
ALWAYS PROBLEM UNABLE CREATE CACH OR SYSTEM SOLVED BY WIPING ALL EXEPT ENTERNAL AND INSTALLING TO RAM DISC NOT TWRP 3.5.0_9 BUT TWRP 3.2.3 AND IT FLASHING CLEARLY TO CURRENT SLOT FROM a TO a, FROM b TO b WITHOUT RED LETTERS ABOUT ERROR, SO IN ORDER to FLASH RROS AND PATCH AND MAGISK NEED TWRP 3.2.3 jasmine sprout.img
И НИКАКИХ ТАНЦЕВ С БУБНОМ,
НУЖЕН ЗАЯЦ В УШАНКЕ 2.9 mb.exe И TWRP 3.2.3, ПРОШИВКА СУПЕР
Click to expand...
Click to collapse
Thankyou for your suggestions and corrections. I'm glad that you did it.

[GUIDE][ROOT][UNROOT] Rooting/UnRooting A505FN

In this post I'll describe my experience with Root and Unroot of Samsung Galaxy A505FN/DS (DualSim)
I wrote threads on XDA and called for help but I didn't always get it, so I had to look for solutions myself, which I'll share now.
[Root]​
[READ BEFORE START]​Bricking Samsung devices is reallyyyy hard - but If you mess something up - I'm not responsible for it.
Root, although it gives you new features, also takes away old ones
- Your Knox will be broken - there is no option to skip it, apps like Samsung Pass will never work again (even after unroot).
- Some applications will not be available in Google Play (e.g. Netflix), you can use another store such as Aurora Store, but it does not give a 100% guarantee that you will install the application you need.
- You won't pass SafetyNet attestation - you can use Magisk (Zygisk to be exact) + denylist modules for this, but it also doesn't always work (in my example it didn't work on Stock ROM).
- Unstable system... Almost, because as long as you root your phone, nothing should happen - however, I've already more than once downloaded a module for Magisk and after installing it the phone wouldn't reboot or the phone reset itself at least once in a few days, then you have to disable the module or do a Factory Reset, and doing a backup every time you install a module is not convenient.
- Banking apps - in my case, I wasn't able to add my card to Google Pay or use autocomplete in Google Chrome when I wanted to enter my credit card information. I was also unable to pay via NFC.
[START]​1. Make a backup - Rooting will earse all data that you have collected on your phone! You can make backup in your phone settings.
[Samsung Cloud] Settings -> Accounts & Backup -> Data with backup (Under Samsung Cloud Tab) -> Select Apps to backup | Then backup files & photos on Dropbox, Onedrive, Google Drive
[Google] Settings -> Accounts & Backup -> Data with backup (Under Google Drive Tab) -> Click "Make Backup now"
2. Enable Developer Options - Settings -> Phone - Information -> Software information -> Click about 10 times on "Version number" until you see the text "Developer mode has been activated" or until you have to enter the lock code
3. Unlock OEM in Developer Options - Settings -> Developer Options (on far bottom) -> Check "Unlock OEM"
4. Turn on USB Debugging - Developer Options -> Check "USB Debugging"
5. Download & install Samsung Drivers
6. Download ODIN
7. Download Platform Tools
8. Download OrangeFox (only for full root) (Credits to @Enzoaquino)
9. Download MultiDisabler
10. Turn off the phone, when it is turned off press Volume UP and Volume DOWN simultaneously and connect the phone to the computer using the USB cable and wait to screen turn on
11. You can see instructions on screen -> Long Press Volume UP, on next screen confirm unlocking bootloader by clicking Volume UP (All Your data will be earsed now!).
12. Your phone will be restarted two times, wait, after that, disconnect your phone from PC and configure your phone (you need connect to the internet) and do one more time step 2., 3. and 4., but after doing step 4. connect your phone to PC and wait to dialog box pop in -> hit "Always Allow from this PC", and then hit "Allow"
13. Open folder with platform tools (you need to see adb.exe file) and type "CMD" into directory path box and hit enter
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
13. You should see a command line window now - type "adb devices" and hit enter, this should print your android device connected to Your PC
14. If You see Your device, type "adb reboot download" and wait for Your phone to restart
15. When Your phone showing a "blue" screen with text "Downloading...", open ODIN on Your PC
Similar to this
16. In ODIN, Click AP button and pick OrangeFox file that you downloaded earlier
17. Go into "Options" tab and uncheck "Auto Reboot"
18. Click "Start"
19. After ODIN finish flashing, let a phone be still connected to Your PC, press Volume DOWN + Power button for 7 seconds and after Your screen goes black, fast press Volume UP + Power until You see OrangeFox Logo (on Orange Background)
20. Format Data by clicking Bin icon o bottom of Your screen, then click "Format Data" tab and type "yes" to confirm.
21. After that, copy MultiDisabler (multidisabler-samsung-3.1.zip) from Your PC to Your Phone and click this file on your phone in OrangeFox
22. Swipe to install this file
23. Do not click on "Reboot System"! You need to click "Back" then click last icon on bottom of your screen (3 - dash), then click "Reboot" and then select "Recovery". Your phone will reset and You can see that its stuck on Samsung logo -> wait a while and press Volume DOWN + Power for 7 seconds, Your phone will reset and turn on properly.
24. Configure, Connect to internet and open Magisk App (with default icon), It will say that "Magisk needs to download additional files and complete the installation" -> allow
25. After that, turn on Magisk App one more time, it will say the same message that on step previous -> allow
26. Open Magisk App, click "Update" button under "Magisk" panel (not on Magisk App panel) and under "Options" tab check "Recovery Mode" and click "Next" - wait until You will see "Reboot Device" button on bottom right of Your screen- click this button and after reset open Magisk App and check if Magisk App is updated too - if not, click update. (Thanks to @gosc747 for reminding me about this)
27. Your Phone should restart and... You have root on Your Phone, congrats!
[UnRoot]​
[READ BEFORE START]​- This will do Factory Reset
- You need to find a ROM that fits Your phone -> Here is the site that I recommend to download ROM for Samsung A505FN (A lot of ROMs, Full speed download and.. FREE).
What If I pick wrong ROM?
- It will not install but Your phone will still work,
- Some functions can stop working (example: Your screen will not autorotate)
[START]​So, after You pick a Samsung A505FN on that site, You need to know CSC Code for Your phone... But where You can find it?
If You still have original ROM:
1. (On Your phone) Go into settings -> Phone - Informations (on far bottom) -> software information -> Provider software version
2. here you will have your code
3. Type first part of that into Search Box on site that i provided
4. Download Selected ROM, repack this in folder of Your choose
5. Connect Your phone to Your PC
6. open Command Line (like in step 13. in rooting) and type "adb reboot download"
7. After reset, open ODIN, and place all files from Your ROM here
8. Click Start
9. Your Phone will reset automatically, after it's boots up, disconnect phone from pc and turn Your phone off
10. Press Volume UP + Volume DOWN and plug-in Your usb cable connected to Your PC
11. You will see "blue" screen, long press Volume UP and confirm Locking Bootloader by clicking Volume UP (this will earse all Your data).
12. And.. done!
Ask Something If You Want​I try to help​
Hmmmm why not use a modified kernel instead of patch recovery? When using patched recovery, you need to figure out the right button combinations to boot to system or recovery,whereas when you use patched kernel you can just simpky boot without button combinations.
JuanTamqd21 said:
Hmmmm why not use a modified kernel instead of patch recovery? When using patched recovery, you need to figure out the right button combinations to boot to system or recovery,whereas when you use patched kernel you can just simpky boot without button combinations.
Click to expand...
Click to collapse
I mean yee, if u wanna stay with original ROM but just have Magisk installed, then patching custom kernel is good idea - but if u want install custom ROM or something, its good to have custom recovery (besides the fact that you can patch custom kernel via custom recovery)
@TheWolf_Prod
I tried your guide on my Samsung Galaxy A50 (SM-A50FN / DS), I confirm it works
After entering Magisk, I choose to run in Recovery, it starts, but it does not go into Recovery, but normally on the phone
Tell me, do you know how to do this, how do I update to Magisk v24.3 via "Select and patch file"?
Because I downloaded from another TWRP and ROOT guide and I also have a problem with it
And I do on your tutorial as I did on my previous TWRP tutorial:
I choose the method "Select and patch a file" creates the AP magisk _patched for me, I transfer it to my laptop, turn off the phone and enter Download mode, run Odin (I deselect auto start), add files BL, AP (magisk_patched), CS, CSC, gives me start, loaded, exiting, from Download mode, starting Recovery mode, giving, restarting and bootloop is on
~ "I choose to run in Recovery, it starts, but it does not go into Recovery, but normally on the phone"
I guess this is Samsung's "unique feature" - the only option to enter OrangeFox/TWRP is turn phone off -> press Volume UP + Power and when phone vibrates, plug USB cable connected under PC to phone.
~ "After entering Magisk, I choose to run in Recovery, it starts, but it does not go into Recovery, but normally on the phone"
So - on my phone I noticed this problem:
Sometimes when I reset my phone (Either manually or through a dead battery) then after restarting - I lost ROOT privileges. Therefore, if for some reason you need to reset your phone - do it preferably through Magisk (main page -> click the "refresh" icon -> Reboot Recovery) then you can be sure that your phone will boot with ROOT privileges
If your phone has reset itself or you forgot to do it via Magisk - turn phone off -> press Volume UP + Power and when phone vibrates, plug USB cable connected under PC (or any device where you can copy files from it) to phone - then in OrangeFox/TWRP menu You need to click "Reset Recovery" and unplug USB Cable.
~ "Tell me, do you know how to do this, how do I update to Magisk v24.3 via "Select and patch file"?"
So, I don't use TWRP - if You have OrangeFox all You need to update Magisk is just click "Update" in Magisk App.
I read this on this website:
Choose “Select and Patch a File” in method, and select the AP tar file (from Your ROM)
Start the installation, and copy the patched tar file to your PC using ADB:
adb pull /sdcard/Download/magisk_patched_[random_strings].tar
DO NOT USE MTP as it is known to corrupt large files.
Reboot to download mode. Open Odin on your PC, and flash magisk_patched.tar as AP, together with BL, CP, and CSC (NOT HOME_CSC because we want to wipe data) from the original firmware.
If it still doesn't work then try to install Ypur ROM without the Magisk patch - maybe you downloaded the wrong ROM?
TheWolf_Prod said:
So - on my phone I noticed this problem:
Sometimes when I reset my phone (Either manually or through a dead battery) then after restarting - I lost ROOT privileges. Therefore, if for some reason you need to reset your phone - do it preferably through Magisk (main page -> click the "refresh" icon -> Reboot Recovery) then you can be sure that your phone will boot with ROOT privileges
If your phone has reset itself or you forgot to do it via Magisk - turn phone off -> press Volume UP + Power and when phone vibrates, plug USB cable connected under PC (or any device where you can copy files from it) to phone - then in OrangeFox/TWRP menu You need to click "Reset Recovery" and unplug USB Cable.
Click to expand...
Click to collapse
I wonder where the problem
TheWolf_Prod said:
So, I don't use TWRP - if You have OrangeFox all You need to update Magisk is just click "Update" in Magisk App.
I read this on this website:
Choose “Select and Patch a File” in method, and select the AP tar file (from Your ROM)
Start the installation, and copy the patched tar file to your PC using ADB:
adb pull /sdcard/Download/magisk_patched_[random_strings].tar
DO NOT USE MTP as it is known to corrupt large files.
Reboot to download mode. Open Odin on your PC, and flash magisk_patched.tar as AP, together with BL, CP, and CSC (NOT HOME_CSC because we want to wipe data) from the original firmware.
If it still doesn't work then try to install Ypur ROM without the Magisk patch - maybe you downloaded the wrong ROM?
Click to expand...
Click to collapse
I have OrangeFox at the moment, I've seen this link before and read it, unfortunately, it doesn't work, bootloop pops up and OrangeFox recovery is missing.
I have an official ROM:
Version Android: 11
Changelist: 22264509
Build Date Mon, 14 Mar 2022 03:20:54 +0000
Security Patch Level: 2022-03-01
Product code: XEO
PDA: A505FNXXS9CVC2
CSC: A505FNOXM9CVB1
When my phone has reset itself or I do it via Magisk, my device is stuck on the lock screen. Whenever I unlock my device, the screen turns black, not responding, or auto restart.
I tried to solve the issue by booting into Fox recovery, then turning on/off Magisk core, or using the Fox Reboot function to reboot into System or Recovery but it is impossible to solve the problem.
bellial7 said:
When my phone has reset itself or I do it via Magisk, my device is stuck on the lock screen. Whenever I unlock my device, the screen turns black, not responding, or auto restart.
I tried to solve the issue by booting into Fox recovery, then turning on/off Magisk core, or using the Fox Reboot function to reboot into System or Recovery but it is impossible to solve the problem.
Click to expand...
Click to collapse
flash pass reset zip
Hey would unrooting the device enable banking apps again?

Categories

Resources