I want to unlock the bootloader but I'm afraid.

Discussion in 'Android' started by NST_Adventure, May 15, 2020.

  1. NST_Adventure

    NST_Adventure MDL Addicted

    Jun 1, 2019
    912
    208
    30
    hello everyone
    as you already know...
    new smart phones like realme and his friend's can only be rooted using magisk which means that inevitably has to unlock the bootloader
    the problem is some say ubl (unlock bootloader) can make the hardware damaged even to the hard Brick
    Now Question Is:
    Based on information that i found
    how to
    1.Avoid Bootloop Or Hardware DMG?
    2.Avoid Lost Signal After Ubl

    Note:
    1.Im Ok With Void Warranty
    2.I Know And Accept By Ubl Or RBL i will lost all my data this will include all photo etc etc in my storage
    3.ubl=Unlock Bootloader
    rbl=Relock Bootloader
    4.Yes I Completely New To This Thing
    (With Google Translate)
    Thank You!

    Best Regards
    NST_Adventure
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,977
    340
    #2 Yen, May 22, 2020
    Last edited: May 22, 2020
    UBL does not damage anything.

    But you need to know what consequences there are.
    Firstly the question: "Why do you want to UBL / root and what is your device?"

    -When you unlock the BL your phone gets completely wiped. You lose any personal data.
    -You get a boot message at any reboot: "Your device has been unlocked and can't be trusted ".
    -You cannot pass safetynet anymore. Except you root it by magisk and magisk still can hide the unlocked bootloader. Safetynet has been tightened at March. Not sure if magisk still can hide it. Depends on brand of device.
    -You lose widevine L1 certification. You'll get L3.

    That's all. IF you don't know what it means google safetynet and widevine.

    When you now go on rooting with magisk and you do something wrong you can get
    -boot-loop
    -signal lost
    -other software issues
    -brick
    -you also could get boot-loop when applying an incompatible magisk module.

    But you don't get any hardware damage. You can render your phone to an useless state, though. And first time doing it is very exciting!
    Signal lost and the like mostly happens when people use a wrong boot.img to be patched by magisk, so they flash a different rooted version on the phone.

    When you root you should know:

    -How to escape from boot loop
    -How to flash completely from fastboot
    -How to recover from brick without fastboot (For instance snapdragon EBL mode). Depends on phone.

    Usually you don't lose the fastboot ability.

    Before you do anything:

    Watch YouTube videos for your particular phone how to unlock and how to magisk.
    Make sure you know how to use ADB / fastboot. And make sure ADB / fasboot works and your device gets recognized (adb devices / fasboot devices works)
    Make sure you know what you have to do when you encounter boot-loop / soft-brick. Download anything you need in ADVANCE. Make sure you download stuff for the EXACTLY same device and OS version / compatible version.

    Try it only if you really know what to do!

    @NST_Adventure

    What device do you want to UBL / root? Many things depend on brand of the device.
    (For instance is there a working TWRP?)

    - OnePlus devices have good support, you even can get the EBL tool on XDA.
    - Samsung devices get IRREVERSIBLY KNOX tripped when flashing the first time.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. NST_Adventure

    NST_Adventure MDL Addicted

    Jun 1, 2019
    912
    208
    30
    @Yen well my phone realme 5i is rooted with magisk now
    I just wondering why if i instal zip file from TRWP 3.3.1.0 always return with error 1??? What Happen?

    Best Regards
    NST_Adventure
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,977
    340
    What zip file do you want to flash?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. NST_Adventure

    NST_Adventure MDL Addicted

    Jun 1, 2019
    912
    208
    30
    #5 NST_Adventure, May 22, 2020
    Last edited: May 22, 2020
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,977
    340
    #6 Yen, May 22, 2020
    Last edited: May 22, 2020
    Oh well, I need more infos.

    How did you root?
    Have you patched the boot.img first (via magisk manager) and fastboot flashed it later? And then flashed TWRP via fastboot?

    Or did you root via TWRP?

    What are the magisk manager settings at
    [ ] Keep force encryption
    [ ] Keep AVB 2.0 / dm-verity
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. NST_Adventure

    NST_Adventure MDL Addicted

    Jun 1, 2019
    912
    208
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. NST_Adventure

    NST_Adventure MDL Addicted

    Jun 1, 2019
    912
    208
    30
    @Yen i not flash img via magisk manager somehow magisk manager Does not want to patch the boot img

    So i decided to instal via trwp

    Best Regards
    NST_Adventure
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,977
    340
    Maybe the version is too old for recent magisk.
    I'll have a look..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,977
    340
    #10 Yen, May 22, 2020
    Last edited: May 22, 2020
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,977
    340
    I'll be away...
    If you have further questions. I come back here later this weekend.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. NST_Adventure

    NST_Adventure MDL Addicted

    Jun 1, 2019
    912
    208
    30
    WOAH! :worthy:
    THANK YOU FOR YOUR HELP! :worthy:

    Best Regards
    NST_Adventure
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. NST_Adventure

    NST_Adventure MDL Addicted

    Jun 1, 2019
    912
    208
    30
    Hah where?I did not even see it?

    Best Regards
    NST_Adventure
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,977
    340
    Exact path: /data/adb/modules (check the link from post #10)

    You can see folders for all the modules you have installed. If you want to remove a module delete its folder completely, then reboot your system.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. NST_Adventure

    NST_Adventure MDL Addicted

    Jun 1, 2019
    912
    208
    30
    Data location are in system right?

    Best Regards
    NST_Adventure
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. NST_Adventure

    NST_Adventure MDL Addicted

    Jun 1, 2019
    912
    208
    30
    #16 NST_Adventure, May 25, 2020
    Last edited: May 25, 2020
    (OP)
    @Yen
    Welp?
    How To Backup Pre-Loader Of Every Rom from Our Phone?
    Difficulty Of Fixing Hardbrick Caused Me Afraid :-(

    So I Want To Backup Pre Loader To Avoid HardBrick So If Its Happened:
    (Can i fix it by restore pre-loader???)


    Best Regards
    NST_Adventure
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,977
    340
    #17 Yen, May 31, 2020
    Last edited: May 31, 2020
    Each brand has an own way to recover from a hard brick.
    It depends if the tools to restore are publicly available or not.

    If not they are reserved to 'approved' sellers / repair shops to make money.

    To play with anything that is 'in front of' the ordinary bootloader can be dangerous. You can break the integrity of the bootchain and / or lose certificates or IMEI.


    Usually you do not lose the ability to access fastboot (no hard brick).
    From fastboot you can recover by flashing fastboot ROMs
    It's also mostly possible to recover by TWRP or stock recovery (that's the purpose of a recovery.)

    The different 'levels' of a brick.

    -recoverable by recovery, fastbboot, EDL
    -recoverable by fastboot and EDL
    -only recoverable by EDL (emergency download mode) This is 'hard brick'.
    EDL is a feature of snapdragon SoCs. Others have another way to recover from a hard brick. (Ways to get access if fastboot does not work anymore).

    BTW fastboot mode is sometimes called download mode (Samsung devices).
    At some brands you need special hardware to access 'emergency' modes in order to recover from a hard brick.



    Are there people who have got a hard brick at realme 5i already?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. NST_Adventure

    NST_Adventure MDL Addicted

    Jun 1, 2019
    912
    208
    30
    Currently?nope :)

    Just in case bro

    Best Regards
    NST_Adventure
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. NST_Adventure

    NST_Adventure MDL Addicted

    Jun 1, 2019
    912
    208
    30
    Closed

    I No Longer Playing With Bootloader And Rooting

    Best Regards
    NST_Adventure
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...