1. Are you ready for the Galaxy S20? Here is everything we know so far!

Galaxy M31 Help with applying a rom

Discussion in 'Android Devices' started by einekratzekatze, Aug 2, 2021.

  1. einekratzekatze

    Thread Starter

    I wanted to root (and apply a rom on) my Galaxy M31 but either the few tutorials out there confused me or I coudnt find anyone to help with my questions. So I hope i can find some answers here.
    Its a phone from the eu and i can unlock the bootloader in the dev settings
    1. I heared I should apply a rom first and after that root my phone. Is that correct? (cause i think so ill skip questions for rooting)
    2. There is only a LineageOS version for Android 10 is that a problem? (or is there maybe another OS that has Android 11 Support for my device)
    3. How do I backup my device and what can not be.
    4. And how do I apply the rom and root it?
     



    1. Download the Forums for Android™ app!


      Download

       
  2. ocnbrze

    ocnbrze DON'T PANIC!!!!!!!!!

    1. nope you need to flash recovery first, root, make a nandroid backup(twrp), wipe, and then flash a custom rom
    2. are you looking for android 11? you can flash anything does not matter what android os the rom is based off as long as it was made specifically for your phone.
    3. you will need twrp recovery to make nandroid backups. we will talk about that once you have it installed.
    4. here is the guide to get you twrp and root the phone:
    https://forum.xda-developers.com/t/...l-samsung-m31-flash-twrp-permanently.4187991/
     
    einekratzekatze and Dannydet like this.
  3. einekratzekatze

    Thread Starter

    TYVM
    2. I want a privacy focused rom with as much features as possible. But I couldn't find LineageOS 18 for my phone (just 17).
    Is there any rom that is better than LineageOS 17 for my phone?
    Ill follow the guide for now
     
  4. einekratzekatze

    Thread Starter

    And sadly the 2 files linked on the guide do not exist. how do i get them?
    Found this comment can I use these files? https://forum.xda-developers.com/t/...-flash-twrp-permanently.4187991/post-84151199
    I just realiesed i didnt unlock my bootloader. but ive read it deletes all files. so I need to backup my data but to do that i need to root my device but i have to unlock bootloader to flash twrp which will delete all my files so i need to backup my data...
    Do i miss something?
     
    #4 einekratzekatze, Aug 2, 2021
    Last edited: Aug 2, 2021
  5. einekratzekatze

    Thread Starter

    Do I have to reply directly so you get a notification or were you just offline?
     
  6. ocnbrze

    ocnbrze DON'T PANIC!!!!!!!!!

    sorry i was in and out of the office so i did not have access to a computer until i got home. you have to read the thread. the answers to your question is in the thread. but i have the answers for you as far as the files go:

    vbmeta:https://forum.xda-developers.com/t/...twrp-permanently.4187991/page-2#post-84151199
    twrp:https://gofile.io/d/sf8xuv

    flashing twrp will not delete data. you can backup most of your app data thru smart switch so do not worry about data to much. also keep in mind that smart switch will not backup text. look up samsung smart switch to see what is backed up.

    also unlocking the bootloader will not erase data. all you are doing is going into dev mode and enabling oem bootloader unlock. flashing twrp will not delete data.
     
  7. einekratzekatze

    Thread Starter

    I get this when I try to flash the vbmeta from the link
    upload_2021-8-3_14-23-7.png
    My Phone tells me it got blocked by oem lock or just reboots into "stock"
     
    #7 einekratzekatze, Aug 3, 2021
    Last edited: Aug 3, 2021
  8. ocnbrze

    ocnbrze DON'T PANIC!!!!!!!!!

    did you go into developers mode and enable oem unlock?
     
  9. einekratzekatze

    Thread Starter

    [​IMG]
    Looks fine right?
     
  10. einekratzekatze

    Thread Starter

    from what i have heared you need to unlock the bootloader not just allow it in the dev settings?
    but that would wipe my data. so i would need to back it up and then unlock it.
    Backing up now with smart switch, could unlock it now
     
    #10 einekratzekatze, Aug 3, 2021
    Last edited: Aug 3, 2021
    ocnbrze likes this.
  11. ocnbrze

    ocnbrze DON'T PANIC!!!!!!!!!

    yes you are right......adb fastboot oem unlock bootloader does wipe data.....forgot about that.
     
  12. einekratzekatze

    Thread Starter

    I found someone on Discord who guided me trough it. Can I close the thread somehow?
     
    ocnbrze likes this.
  13. ocnbrze

    ocnbrze DON'T PANIC!!!!!!!!!

    nice!!!!!!!!

    care to share the info?

    only mods can lock up a thread....but i say leave it open in case someone else stumbles upon this thread. plus i really would like to know what you did.
     

SM-M315F Forum

Features and specs are not yet known.

unknown
Release Date
0
Reviews
Loading...
Similar Threads - Galaxy M31 Help
  1. Janeire
    Replies:
    11
    Views:
    332
  2. OnGoGS7A
    Replies:
    5
    Views:
    321
  3. RogerTri
    Replies:
    2
    Views:
    236
  4. Duke1042000
    Replies:
    3
    Views:
    490
  5. kumaranil13k
    Replies:
    9
    Views:
    484
  6. AchnatonSVK
    Replies:
    15
    Views:
    622
  7. gabrieltito234
    Replies:
    14
    Views:
    500
  8. mysorian
    Replies:
    3
    Views:
    308
  9. Karen Colasinski
    Replies:
    10
    Views:
    460
  10. ChaunceyK
    Replies:
    0
    Views:
    353

Share This Page

Loading...