How To Guide Unlocking the bootloader and rooting

Search This thread

PAOLO_1

Member
Jan 23, 2022
6
0
i can't find firmware for my phone SM-A125F/DSN

Unbenannt.PNG
 

PAOLO_1

Member
Jan 23, 2022
6
0
I've tried everything and no success it's just a waste of time


download the mod apps and enjoy it instead of playing around with stuff like that
 

macallik

Senior Member
Jul 20, 2013
251
53
Sorry, rooting guide at point 19 to click direct install in magisk but only has "patch a file" option. Neither appears any popup at the 17 and 18 points.
OP already resolved it but I experienced this issue as well for my s5e.

I realized that I didn't have ramdisk notification in magisk and found this in the manual:
In the case when your device does not have ramdisk in boot images, Magisk has no choice but to hijack the recovery partition. For these devices, you will have to reboot to recovery every time you want Magisk enabled.

When Magisk hijacks the recovery, there is a special mechanism to allow you to actually boot into recovery mode. Each device model has its own key combo to boot into recovery, as an example for Galaxy S10 it is (Power + Bixby + Volume Up). A quick search online should easily get you this info. As soon as you press the key combo and the device vibrates with a splash screen, release all buttons to boot into Magisk. If you decide to boot into the actual recovery mode, long press volume up until you see the recovery screen.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4

    DISCLAIMER: I WAS NEVER, HAVE NEVER BEEN, AND WILL NEVER BE RESPONSIBLE OF ANY DAMAGES AGAINST YOUR DEVICES BY YOUR OWN MIS-OPERATIONS

    Code:
    # knox_bit_warranty:0x1
    #
    # Your warranty is now void
    #
    # You have been warned.
    #
    # I will laught at you if you point the finger at me.


    UNLOCKING BOOTLOADER

    1. Open settings app
    2. Tap on about phone, and then software information
    3. Tap the build number until you see a pop up that says developer options enabled
    4. Go back and tap on developer options
    5. Enable OEM unlocking
    6. Reboot your phone
    7. After reboot power off the phone
    8. Conect the usb cable to your pc and phone, then hold VOL + and VOL - at the same time
    9. There should be two options, you want the unlock mode (VOL UP LONG PRESS)
    10. After holding VOL UP for 10 seconeds you should get in to the screen that will let you unlock the OEM so now just press VOL UP.
    11. Phone will reboot, during setup conect to the internet to avoid perenormal mode
    12. Check in developer options if oem unlocking is grayed out, if it isn't factory reset data and wipe chace partiton will have to be done.

    ROOTING

    1. Download the fimware you are currently running https://samfw.com/
    2. Copy the AP file to your phone
    3. Install magisk canary version, download app-debug.apk and install https://github.com/topjohnwu/magisk_files/tree/canary
    4. Open magisk, check for updates
    5. Tap install and then tap select and patch a file and find the AP file you transferd from your pc
    6. In the download folder of the phone will be a file named magisk_patched-xxxxxxx.tar
    7. Transfer it to your pc
    8. Boot the phone in to download mode, manualy or from adb shell (adb reboot download)
    9. Open odin and go in to options and uncheck auto reboot
    10. Click on AP or PDA and select the patched magisk file and click start
    11. Reboot the phone manualy after odin does it's thing (VOL - and POWER at the same time for 7 seconeds).
    After the phone turns off, amedietly boot in to recovery (Vol + and POWER at the same time)
    12. Make a factory data reset and whipe cache partition
    13. Reboot in to system
    14. Conect to interent during setup
    15. Enable dev options by taping on build number 7 time. OEM UNLOCKING must be grayed out.
    16. Install the same magisk (app-debug.apk)
    17. Ignore the pop up that says magisk needs inital setup and click on update
    18. After updateing, go back in to magisk and if you get the pop up for aditional setup, ignore it and go straight to install
    19. Click on direct install
    20. After flash reboot
    21. Check in developer options if oem unlocking is grayed out, if it isn't the instalation process will have to be followed again


    THIS IS A OLD METHOD OF INSTALLING TWRP
    INSTALLING TWRP, I RECOMEND FOLOWING MY LATEST GUIDE

    INSTALLING TWRP OLD METHOD

    # If you are not on the A125F or A127F you might have to do a crossflashing fimware operation
    1. Make sure you are on android 11 and that you pre rooted your phone already
    2. Download twrp from here https://forum.xda-developers.com/t/aosp-11-unofficial-samsung-sm-a125f-twrp.4317131/
    3. Boot in to download mode
    3. Go in to odin and uncheck auto reboot
    4. Click on AP or PDA and select the twrp file you have downloaded, click start
    5. Manualy reboot (VOL - and POWER for 7 seconeds)
    6. Boot in to twrp before booting in to system (VOL + and power) or this process will have to be repeated
    7. Swipe allow modifications of system and reboot


    Links

    Credits
    @edward0181 twrp
    2
    Code:
    Your warranty is now void
    # I'm not responsible for any damage done to your device
    # If you point the finger at me, I will laught at you
    1
    Code:
    # Your warranty is now void
    # I'm not responsible for any damage done to your device
    # If you point the finger at me, I will laught at you


    UNLOCKING BOOTLOADER
    Code:
    1. Open settings app
    2. Tap on about phone, and then software information
    3. Tap the build number until you see a pop up that says developer options enabled
    4. Go back and tap on developer options
    5. Enable OEM unlocking
    6. Reboot your phone
    7. After reboot power off the phone
    8. Conect the usb cable to your pc and phone, then hold VOL + and VOL - at the same time
    9. There should be two options, you want the unlock mode (VOL UP LONG PRESS)
    10. VOL UP for bootloader unlock
    11. Phone will reboot, during setup conect to the internet to avoid perenormal mode
    ROOTING
    Code:
    1. Download the fimware you are currently running https://samfw.com/
    2. Copy the AP file to your phone
    3. Install magisk canary version, download app-debug.apk and install https://github.com/topjohnwu/magisk_files/tree/canary
    4. Open magisk, check for updates
    5. Tap install and then tap select and patch a file and find the AP file you transferd from your pc
    6. In the download folder of the phone will be a file named magisk_patched-xxxxxxx.tar
    7. Transfer it to your pc
    8. Boot the phone in to download mode, manualy or from adb shell (adb reboot download)
    9. Open odin and go in to options and uncheck auto reboot
    10. Click on AP or PDA and select the patched magisk file and click start
    11. Reboot the phone manualy after odin does it's thing (VOL - and POWER at the same time for 7 seconeds)
    12. After the phone turns of, amedietly boot in to recovery (Vol + and POWER at the same time)
    13. Make a factory data reset and whipe cache partition
    14. Reboot in to system
    15. Conect to interent during setup
    16. Install the same magisk (app-debug.apk)
    17. Ignore the pop up that says magisk needs inital setup and click on update
    18. After updateing go back in to magisk and if you get the pop up for aditional setup, ignore it and go straight to install
    19. Click on direct install
    19. After setup reboot
    INSTALLING TWRP
    Code:
    If you are not on the A125F model you will have to disable MTK Secure Boot and Secure Download and might also downgrade SW REV and then install A125F fimware
    1. Make sure you are on android 11 and that you pre rooted your phone already
    2. Download twrp from here https://forum.xda-developers.com/t/aosp-11-unofficial-samsung-sm-a125f-twrp.4317131/
    3. Boot in to download mode
    3. Go in to odin and uncheck auto reboot
    4. Click on AP or PDA and select the twrp file you have downloaded, click start
    5. Manualy reboot (VOL - and POWER for 7 seconeds)
    6. Boot in to twrp before booting in to system (VOL + and power) or this process will have to be repeated
    7. Swipe allow modifications of system and reboot

    Links

    Credits
    @edward0181 twrp

    Thanks for the wide guide. TWRP build has been updated in my post as well.
    All works as it should.

    May I ask you to post a guide on howto install Lineage GSI with twrp?

    Cheers
    1
    Thanks for the wide guide. TWRP build has been updated in my post as well.
    All works as it should.

    May I ask you to post a guide on howto install Lineage GSI with twrp?

    Cheers
    Ok sure, I will do it when I get time.
    Cheers
    1
    I explained it here, if it still doesn't work then comment again here.