[GUIDE] How to Unlock the Samsung Galaxy A70 Bootloader - Samsung Galaxy A70 Guides, News, & Discussion

Hello fellas;
In this topic, I'd like to show you how to customize this device, from unlocking the whole bootloader into flashing a proper AOSP port.
Setting Up Environments for Windows Users​
Microsoft Windows.
Samsung USB drivers, click here to download and install them.
Odn Flash Tool, download it from the attach files.
Spoiler: How to Flash VBMETA Using Odin Flash Tool
Download the vbmeta.tar.gz (if you didn't done it yet).
Reboot the device into downloading mode (Vol Up + Vol Down + Power + connected USB).
Open Odin Flash Tool and inset the vbmeta.tar.gz into AP field.
Once you're ready, click on Start to flash it, the whole device will starts automatically once you see "PASS" on Odin screen.
Spoiler: How to Flash Recovery Using Odin Flash Tool
Download the recovery.tar.img (if you didn't done it yet).
Reboot the device into downloading mode (Vol Up + Vol Down + Power + connected USB).
Open Odin Flash Tool and inset the recovery.tar.img into AP field.
Once you're ready, click on Start to flash it, the whole device will starts automatically once you see "PASS" on Odin screen.
{
"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"
}
How to Customize Your Samsung Galaxy A70​
Spoiler: How to Unlock the Whole Bootloader
Go to Settings.
Tab on Connections.
Select your WiFi connection, then insert the password (otherwise OEM unlocking option won't appear).
Tab to About phone.
Then tab on Software information.
Tab many times on Build number, untill you see “Developer mode has been enabled“ appears on your screen.
Now back to the main Settings page, then click on Developer options.
You should able to see the OEM unlocking option, if it is gray enable it.
Reboot the device into downloading mode by Volume Up + Volume Down + Power + connect the device into the USB port.
Choose Volume up long press: Device unlock mode.
Press on Volume up Unlock bootloaedr (may avoid warranty) option.
Reboot the device, and check the OEM unlocking option again .
Congrats, your bootloader has been unlocked.
Spoiler: How to Reboot Into Recovery on OneUI 3.x Firmware
Samsung has changed the kaylayout maps by OneUI 3.0, so to boot into recovery just do this;
Press on Volume Up + Power buttons + the device must be connected into USB port, release the buttons once Samsung bootlogo appers during boot.
Congrats, you're in recovery.
Spoiler: How to Flash AOSP Port Using LineageOS Recovery
Reboot by pressing on Volume Up + Power buttons + the device must be connected into USB port, release the buttons once Samsung bootlogo appers during boot.
Tab on Apply Update > Apply from ADB.
Do the same for GAPPS.
Now do a rest by Facotory reset > Format data/facotry rest.
Reboot, enjoy the fun.
Spoiler: How to Flash AOSP Port Using TWRP Recovery
Go to Wipe > Advanced Wipes.
Select the following partitions: Dalvik / ART Cache, Cache, System, Vendor and Data.
The confirm by Swipe to Wipe.
Back to the main page, then click on Advaced > ADB Sideload.
Check on Wipe Dalvik Cache and Wipe Cache, then Swipe to Start.
From PC, open a terminal application and do this;
adb sideload drag_the_rom.zip
Press enter to start flashing.
Do the same with the GAPPS, reboot and enjoy the fun.
It's recommened to go to Wipes > Format Data > YES (do this only if you came from stock rom, otherwise it will not boot).
Spoiler: How to Flash Magisk
Use LineageOS recovery for this operation, it's more efficient.
Download the latest Magisk from this link.
Reboot into recovery.
Tab on Apply Update > Apply from ADB.
adb sideload drag_the_Magisk-v25.2.apk
Press Enter to start flashing, wait a few seconds untill process done.
Reboot into the whole rom.
Download the latest Magisk application manager via Internet.
Install the proper modules to pass the CTS, benefits from the ramdisk.

reserved
Don't quote, I'm reviewing the guide.

Related

Note 8 on Android Pie: A Working Root?

So I found this website that has a procedure for Rooting the Note 8 running Android Pie.
It does not list what variant of the Note 8 this will work with (EDIT: this root is for the 950F, and the relevant file has been taken down)
Has anyone tried this process?
Original Article Link: https://techbeasts.com/root-galaxy-note-8-android-pie-install-twrp/
Relevant Text from the page:
"Preparations to Root Galaxy Note 8 and install TWRP
This guide is only for Galaxy Note 8 running Android Pie. Check your phone’s details under Settings > About phone section.
You need an External MicroSD card to root the phone.
Charge your phone’s battery up to 50% to avoid power loss.
Back up all of your messages, call logs, and contacts. This process may wipe your phone.
Enable OEM Unlocking and USB Debugging Mode from Developer Options.
Use the original data cable to connect Note 8 to the computer.
Follow the remaining steps with full attention.
Required Downloads
TWRP Recovery for Galaxy Note 8: twrp-3.2.3-0-greatlte.img.tar
Magisk + OEM Issue Fix File for Note 8: Magisk +N950F_PIE_DS_N_PIE_Root_for_OEM_issue_devices_V5.zip
Copy the Magisk OEM issue.zip file to your External SD Card.
Odin 3.13.1 to Root Note 8: Download Odin 3.13.1
Extract to get Odin3.exe file.
How to Root Galaxy Note 8 on Android Pie and Install TWRP
Open Odin3.exe and add the TWRP Recovery.img.tar file. First of all, open Odin.exe on your computer. In Odin, click on the AP tab and select the TWRP.img.tar file. Now go to Options tab in Odin. Make sure that the only option checked is “F.Reset.Time”. All other options should be UNCHECKED.
Boot your Galaxy Note 8 in Download Mode. Power down your Galaxy Note 8. Now press and hold Volume Down + Home + Bixby buttons simultaneously to boot up. As your phone shows a warning, press Volume Up to continue.
Connect Note 8 to the computer and flash TWRP. Now connect your phone to the computer. As Odin shows a Blue light in the ID:COM box and “Added” in the log box, click Start. This will flash TWRP. After TWPR flashing ends, DO NOT REBOOT your phone. Disconnect it.
Reboot your Galaxy Note 8 into the TWRP Recovery to format it. After disconnecting your phone, press and hold Volume Up + Bixby + Power button for a while to boot into the TWRP Recovery. TWRP will now ask if you want to allow modifications. Swipe the screen and go ahead. Now in TWRP, click on Wipe > Format Data. This will wipe the data from your phone.
Reboot into Recovery again, flash Magisk. Now go back to main menu in TWRP. Click on Reboot > Recovery. As your Note 8 reboots into the recovery, click on Install > Install Zip > Choose the OEM Fix Magisk.zip file from the external SD card. flash the file.
All done. Reboot into the System now. After flashing the file, go back to the main menu again and tap Reboot > System. This will reboot your phone into the system now. You will have the Note 8 rooted with TWRP installed. That’s all. Enjoy!
{
"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"
}
This is how the TWRP looks like. Don’t have an SD card? Here’s what to do
In case you do not own an SD card, you can skip copying files to the external sd card. Follow all the steps from Step 1 to Step 4. After step 4 when your phone is in the TWRP recovery, connect it to the computer. As the mount is working now, you can copy the OEM Issue Fix file directly to your Note 8. Just copy the file, disconnect the phone and follow step 5 and 6.
Wrap Up
Thanks to our friend Dr.Ketan for developing the OEM Fix + Magisk file."
Dr. Ketan's original XDA thread:
https://forum.xda-developers.com/galaxy-note-8/how-to/guide-how-to-root-note8-efs-backup-t3677038
Dr. Ketan's rom in the link is for a Samsung Exynos 8895 Note 8 and therefore wouldn't be compatible with U.S. Note 8 Qualcomm Snapdragon 835 chipset. Seems that America "the land of the free" has become the land of the locked bootloader. As for rooting the Sprint Note 8 on Pie, to my knowledge a successful root method has not been achieved. Perhaps VMOS and /or VirtualXposed are alternatives that might provide some root capabilities on a non-rooted devices. If someone find this to be helpfull, you can hit me up with a like. Thanks
https://www.google.com/amp/s/www.xd...irtual-android-environment-on-your-phone/amp/
https://www.google.com/amp/s/forum....irtualxposed-xposed-root-unlock-t3760313/amp/

Need help flasing Paranoid Android - All TWRP'd up

Hi all! This is my first attempt to flash a custom rom and I'm stumbling. Summary below:
DEVICE AND SYSTEM:
Xiaomi Mi 6X
Running MIUI 11.0.6.0(PDCCNXM) (based on Android 9)
Device bought in China in 2018, not used until now, only updated through Xiaomi OTA.
Mi Unlock status - Unlocked
Developer options unlocked
USB debugging - activated
Phone not rooted.
Phone has no lock screen password set.
FILES TO FLASH:
1. dm-verity anti-rollback flash:
no-verity-opt-encrypt-6.0.zip
2. Paranoid Android custom ROM:
pa-quartz-5-wayne-20200924.zip
METHOD
I'm using Google pltaform-tools (https://developer.android.com/studio/releases/platform-tools) + TWRP files (https://twrp.me/xiaomi/xiaomimi6x.html) and command prompts in adb and fastboot.
WHAT HAS WORKED SO FAR
adb devices OK - cmd shows hexa key
adb reboot bootloader OK - phone enters fastboot
fastboot flash recovery twrp.img OK - cmd shows Finished. Total time: 1.504s
fastboot reboot (holding recovery key combo to avoid entering automatic MIUI recovery) OK - TWRP loads
Then the problems start. TWRP shows:
Mount
Decrypt Data
Enter Password
and no password in the realms of man or heaven works. by clicking cancel as a workaround several mounting problems appear:
THE ISSUE
Since TWRP can't decrypt internal storage, I can't find the zip files I copied to the phone's memory.
Googling around I found the OTG option and tried it. But as it turns out it's also impossible to mount OTG (on Mount, the option for OTG appears but clicking it does nothing)
Googling more I found out about abd sideload, but TWRP fails to start the feature (on Advanced -> ADB sideload -> select Wipe Dalvik Cache + Wipe Cache)
Also googling intensely I found that by wiping the memory (on Wipe - Format Data - write "yes") then reentering recovery it was possible for TWRP to enter a decrypted mode. after doing this no password is required but both OTG and ADB show the same problems as before (and of course the internal memory files are no longer there).
As a summary of my woes, this is what I've tested so far and the results:
{
"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"
}
Assorted tests with older versions of TWRP have exactly the same results.
After every wipe I have to set up MIUI11 again, open developer optios, allow USB debugging etc. My fingers hurt. Morale is low. My soul is leaking. Any ideas on where to go next? Is this some unfixable incompatibility between TWRP and MI? I think I've exhausted the paths I can find by just googling around like a progressively more hairless maniac noob.
TWRP sucks for mi 6X. Download this one (OrangeFox Recovery) and everything works fine.To install it extract the zip and flash the recovery.img that is there. After that reboot to recovery and if it still asks for password just ignore, go to menu, manage partitions, clik on data, click on the button that will show, then format data and type yes. This will clean every partitions (It's the only way i found to fix encryption since our device doesn't support sd cards)Then download the Rom you want to your pc and then copy to your phone storage and install it. Good Luck.

Development ***CLOSED***[RECOVERY] [A11-A12] [UNOFFICIAL] TWRP 3.6.11 RECOVERY M32 4G (SM-M325F/FV)

***Mod Announcement: Thread has been locked and download links removed due to XDA GPL violations.***
{
"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"
}
I would like to thank TeamWin for their amazing work!
I saw that the newer Samsung MediaTek phones were not getting any sort of love, so I bought one myself to kick start the development.
TWRP is the obvious choice as it is reliable and trustworthy with frequent updates and patches.
INSTALLATION:
Odin Method (Windows):
Step 0: Unlock Device Bootloader by toggling the OEM Unlock option in Developer Options. Device will reboot to Odin mode and will prompt you to long press volume up, device will then unlock bootloader and perform a complete factory reset so make sure to backup any data.
Step 1: Download the unofficial TWRP image from the link attached below.
Step 2: Put the device in Odin download mode by holding VolumeUp+VolumeDown and inserting USB cable after the device is completely shut down.
Step 3: Select the downloaded recovery.tar in AP slot and vbmeta_disabled_R.tar in USERDATA slot, connect the device to PC, go to options and untick "Auto-Reboot"
Step 4: Click START and the Device will get flashed, Odin will say SUCESS!.
Step 5. Exit Download mode by holding VolumeDown+PowerButton and then immediately boot
into Recovery mode by pressing VolumeUp+PowerButton.
Step 6: Congratulations, you have installed TWRP latest for your M32 4G, to access the system now, you need to perform some additional steps.
Step 7: Open up TWRP terminal and then type in "multidisabler" and then perform a full factory reset again by going into "Wipe" -> Format Data -> type "yes"
Step 8: Now stock ROM should work fine with TWRP!
Heimdall Method (Linux):
Step 1: Install heimdall tool on linux , google it.
Step 2: Put the device in Odin download mode by holding VolumeUp+VolumeDown and inserting USB cable after the device is completely shut down.
Step 3: Open up terminal in the downloaded TWRP directory, extract twrp image from recovery.tar
Step 4: Enter the command "heimdall flash --RECOVERY recovery.img --no-reboot" where twrp.img is name of the downloaded image
Step 5. Exit Download mode by holding VolumeDown+PowerButton and then immediately boot
into Recovery mode by pressing VolumeUp+PowerButton.
Step 6: Congratulations, you have installed TWRP latest for your M32 4G, to access the system now, you need to perform some additional steps.
Step 7: Open up TWRP terminal and then type in "multidisabler" and then perform a full factory reset again by going into "Wipe" -> Format Data -> type "yes"
Step 8: Now stock ROM should work fine with TWRP!
COMPATIBILITY:
TWRP Recovery is compatible with latest Android 11-12 firmware
tested on:
M325FXXU3AUK1, M325FXXU4AVB1 ,M325FXXU4BVI2 as well
First time you boot into TWRP, don't forget to backup your EFS, Secondary EFS and NVRAM! Go into Backup and select "EFS,", "Secondary EFS" and "NVRAM" and backup to preferably MicroSDcard and copy it to your PC in case you need it if IMEI corrupts.
DON'T IGNORE THIS STEP!
DOWNLOADS:
VBMETA DISABLED FOR R: ***Link Removed***
TWRP TAR: ***Link Removed***
by [email protected] #PruhBootlooper
@cha0scl0wn

Root Nokia 1 (TA-1066) (MT6737M) (Android 9 - Pie)

So, after trying more than a few methods I finally gained root on my TA-1066.
If you also wanna root, here is how:
To Root Nokia 1 (TA-1066) (Pie - Android 9) (Dual SIM)​
What you're gonna need:​
Working PC,
Some Packet Data,
Some knowledge of ADB & Fastboot commands,
Some storage space for storing Back Up of your phone,
and a Working Brain
WARNING!! ☠​I am not responsible for anything goes wrong to your phone by following the steps mentioned in this method. So, please do anything with care and if you don't know what is this, simply Stay away! ​
Make a Backup Of your phone's Data:​
Please make a Back Up of your data stored in your phone tp a safe place in your PC or somewhere in a disk. So, if anything goes wrong you can retrive it back from there.
Now Follow these steps:-​
Download attached ⬇ boot.img & keep it in your phone, we'll use it later.
Root boot.img using Magisk:
Download Magisk v25.2 from here.
Install Magisk app and open it.
Tap Install.
click Next.
click Select and Patch a File.
Select boot.img that you downloaded.
click Let's Go. (let the process complete)
Now rooted boot image will be stored in Download folder of your phone, move it your PC.
Install adb and fastboot into your PC​
Download the setup file from here.
Unzip and Run it as Admin.
Tap Next until it installs.
Enable developer options and turn on USB Debugging​
Goto Settings > System > Advance > About phone > Tap on Build number 7-8 times.
Go back and Tap Developer options > (scroll down) Turn On USB debugging.
Now connect your phone to your PC using USB Data Cable.
A prompt will appear asking permission, Tick Always allow from this computer and Tap OK.
{
"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"
}
Let the USB Data Cable connected and follow below steps.
In your PC open CMD and start typing these commands:​
Confirm that your device is connected:
adb devices
get your serial number by entring this command:
adb shell getprop ro.serialno
calculate md5 of the serial number using this site: https://passwordsgenerator.net/md5-hash-generator/
it'll look something like this D4423199AC65U1237C86D0E6BBF65243M
Reboot to bootloader:
adb reboot bootloader
Unlock using key (md5code=md5 of your serial number):
fastboot oem key md5code
Reboot and Turn on OEM Unlocking:
Settings > System > Advance > Developer options > Turn on OEM Unlocking
Reboot to bootloader:
adb reboot bootloader
Open Device Manager in your PC and follow this video below:
after doing as in video open CMD and type:
fastboot flashing unlock
Quickly press Volume Up button of your phone to unlock flashing.
Flash patched/rooted boot image. (boot.img = patched boot.img path in your PC)
fastboot flash boot boot.img
Reboot your phone to system.
fastboot reboot
Congratulations your Nokia 1 is now ROOTED!! Enjoy!!​Hit thanks button if you liked the process.
Feel free to ask any query.
​CREDITS​Method taken from this thread by @androidlover5842 , some changes made by me.​Thanks @Snoop05 for ADB and Fastboot.​Thanks @savadam for video tutorial.
and Me ​

[RECOVERY][OFFICIAL] TWRP 3.7.0 for Galaxy S5 Mini Qualcomm

{
"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"
}
This Recovery is for the Qualcomm 3G variant of the Galaxy S5 Mini (SM-G800H).
Flashing it on the Exynos variants (SM-G800F/M/Y) will result in a soft-brick!
The US Qualcomm variant (SM-G800R4) isn't supported.
Flashing custom binaries like TWRP will trip your Knox Warranty Bit permanently!​
Disclaimer​
Code:
Neither me nor Team Win will take responsibility for any damage that may occur from installing or using TWRP.
Features​
Everything you expecting from TWRP (backups, restore, installation, etc.)
Encryption of backups (/data/data)
Decryption of encrypted data (AOSP only)
ADB/MTP
F2FS filesystem
USB OTG supported
Built with android-8.1 branch
Installation methods​1. From existing TWRP​
Spoiler
Download the twrp-3.X.X_9-0-kmini3g.img file and push it to your internal storage
Boot into TWRP (volume up + power button)
Locate to Install > Install image > Select the previously downloaded .img file > Select "Recovery" partition > Swipe to confirm Flash
Reboot into Recovery to check if the installation was successful
2. Odin (Windows)​
Spoiler
Download Odin from here (or from any other trustworthy source)
Download the twrp-3.X.X_9-0-kmini3g.img.tar file to your PC
Open Odin (as administator if needed)
Power off your S5 Mini
Boot into Download Mode (volume down + power button)
Connect your device with an USB cable to your PC
If your PC did detect your device you should see a blue box with a centered text (e.g. 0:[COM10]) showing up in Odin and "Added!!" in Log
In Odin tap on AP (or PDA) > find and select the previously downloaded .img.tar file
Click on "Start"
If the installation was successful, you should see a green box showing PASS!
3. Heimdall​
Spoiler
The installation of Heimdall may differs from Distro to Distro so research first how to install in on your machine
Download the twrp-3.X.X_9-0-kmini3g.img file to your PC
Power off your S5 Mini
Boot into Download Mode (volume down + power button)
Connect your device with an USB cable to your PC
Open your terminal and cd to the downloaded .img file
Type the following command in your terminal:
Bash:
heimdall detect
If your PC did detect your device you should see the following output:
Bash:
Device detected
Flash the recovery using the following command (replace the "X" with the version numbers of the the previously downloaded img file):
Bash:
heimdall flash --RECOVERY twrp-3.X.X_9-0-kmini3g.img
Boot into recovery using volume up + power button combination to check if the installation was successful
4. Root​
Spoiler
Download the twrp-3.X.X_9-0-kmini3g.img file and push it to your internal storage
Open your local terminal app
Type the following commands to flash the image (replace the "X" with the version numbers of the the previously downloaded img file):
Bash:
su
dd if=/sdcard/twrp-3.X.X_9-0-kmini3g.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
Download​https://twrp.me/samsung/samsunggalaxys5miniqcom.html
Credits​
Team Win for their awesome recovery!
@bigbiff for his great assistance to bring up official TWRP support!
@Simon1511 for some help with general TWRP stuff and device tree
@haggertk and @Alastor89 for their uncountable kernel patches for msm8974/msm8x26
Sources​Device Tree: https://github.com/TeamWin/android_device_samsung_kmini3g
Kernel: https://github.com/prototype74/android_kernel_samsung_msm8226/tree/twrp-7.1
TWRP: https://github.com/TeamWin/android_bootable_recovery
TWRP is now official available for our SM-G800H!
Notes
Nano, Bash and Python are not included to allow the images to fit in our S5 Mini's recovery partition
Official TWRP images are built with android-8.1 (unofficial builds with android-7.1)
Happy flashing!

Categories

Resources