2
Read this before flashing h2os [Prerequisites and precautions to be on safer side]

  1. bala
    Gingerbread Nov 26, 2016

    bala , Nov 26, 2016 :
    As you know there are many issues regarding efs and modem not supported by oos etc if you are downgrading and stuff ..here is a guide to back up both modems : modemst1 and modemst2 and if you face problem after jumping to new rom from h2os you can solve the sim card not connecting issues by simply restoring them.

    Steps
    1. Download material terminal from play store, open and give it root rights by executing
    su

    2. Give these two commands, one after the other:

    dd if=/dev/block/mmcblk0p17 of=/sdcard/modemst1.bin bs=512
    dd if=/dev/block/mmcblk0p18 of=/sdcard/modemst2.bin bs=512

    - That will backup modemst1 and modemst2 to your internal storage. Keep them safe and if you need to restore them, fastboot flash both the files.
    Commands:

    fastboot flash modemst1 modemst1.bin
    fastboot flash modemst2 modemst2.bin

    Now also you can backup your radios via efs back in latest official twrp ! keep the modem backup safe in pc :)

    credits - telegram group for op2 !
    1480149710888.jpg
     

    #1
    hemanthmps and Alentejan0 like this.
  2. Deactivated User
    Nov 26, 2016


    #2
  3. bala
    Gingerbread Nov 26, 2016

    bala , Nov 26, 2016 :
    Reflash h2OS and it will fix it and now take a back up of the modem using above method and flash your new rom and then using cmd restore it and don't delete the modem before taking back up ! And you cannot use other person's back up
     

    #3
    nghoratkar likes this.
  4. Deactivated User
    Nov 26, 2016


    #4
  5. 17-10-99
    Cupcake Nov 26, 2016


    #5
  6. chris_wds
    Honeycomb Nov 26, 2016

    chris_wds , Nov 26, 2016 :
    So if i understood we just have to make a backup of EFS on TWRP before flashing H2OS 2.5 on any ROM then we can flash H2OS(without Gapps? I heard that we shouldn't flash Gapps on H2OS at least with the latest version of H2OS and use Google installer)
    And if I want to come back to another rom I full wipe then flash old EFS partition then flash any ROM(OxygenOS 3.X.X CM14.X...)
    Tell me if i wrong
     

    #6
  7. Murman
    Jelly Bean Nov 26, 2016

    Murman , Nov 26, 2016 :
    Screenshot_2016-11-26-13-24-46.png
    You could make a full nandroid of your existing rom. EFS partition is one of 5 or 6 things saved in a full backup.

    Edit: OK it's 6 things. I make sure they are all checked whenever I make a backup. Which i do every time I flash something on my phone. Then my backups are saved to a USB drive and my computer.
     
    Last edited: Nov 26, 2016

    #7
  8. cypher
    Honeycomb Nov 26, 2016

    cypher , Nov 26, 2016 :
    done all partitions backup via TWRP of my OO3 3.1.0 before flashing H2OS 2.5 [including EFS partition].
    whenever I try to restore my backup, system boots up in OOS but no wifi signal or SIM data.

    is there any way to extract modems from TWRP backup and push them via terminal to the phone?
     

    #8
  9. chris_wds
    Honeycomb Nov 26, 2016

    chris_wds , Nov 26, 2016 :
    Do you mean to push the EFS folder in your computer?
     

    #9
  10. cypher
    Honeycomb Nov 26, 2016

    cypher , Nov 26, 2016 :
    nope.
    I already have my TWRP backup on my PC.
    see here:

    [​IMG]

    this is the whole OOS3 backup I made via TWRP.
    if restoration gives a partially working OS [it boots, but without connectivity] I was wondering if there's a way to adb/fastboot push the EFS partition from my PC to my phone.

    EDIT:
    the EFS backup should be oem_stanvbk.emmc.win
     

    #10
  11. Murman
    Jelly Bean Nov 26, 2016

    Murman , Nov 26, 2016 :
    Extract the OOS zip, you'll find the modem there
     
    Last edited: Nov 26, 2016

    #11
  12. cypher
    Honeycomb Nov 26, 2016

    cypher , Nov 26, 2016 :
    it's in /RADIO/static_nvbk.bin

    but then?
    how to flash it into my phone?
     

    #12
  13. Murman
    Jelly Bean Nov 26, 2016

    Murman , Nov 26, 2016 :
    I'm thinking fastboot flash.
    Yesterday I was told NON-HLOS.bin was significant
    Edit: the person who told me that is sleeping for the next 4 to 5 hours so I can't ask him why
     

    #13
  14. cypher
    Honeycomb Nov 26, 2016

    cypher , Nov 26, 2016 :
    ok.
    I will wait for your sure answer whenever you want, before doing any thing I'm not aware of..
    thanks a lot!
     

    #14
  15. pryggi
    Ice Cream Sandwich Nov 27, 2016

    pryggi , Nov 27, 2016 :
    @duvelyonker
    Sorry to bring bad news, but the twrp efs backup option backs up only half of the stuff needed. It is no good to you. (check the op2 imei2 threads)

    You should have taken manually the /dev/block/mmcblk0p17 and /dev/block/mmcblk0p18 partition backups prior to flashing h2os.
    Instructions for backup are in point 5 and for restore in 7:
    https://forums.oneplus.net/threads/...wrp-root-nandroid-efs-backup-and-more.345478/

    If you have not yet used the fastboot erase commands to detroy your imei2, you should be able to flash back h2os and wait until compatible oos is released.
     

    #15
    Spannaa, duvelyonker and bala like this.
  16. bala
    Gingerbread Nov 27, 2016

    bala , Nov 27, 2016 :
    I don't think we can switch and restore like that ! You can make your modem work by flashing h2os then backup the modem and restore in your new ROM !
     

    #16
  17. bala
    Gingerbread Nov 27, 2016

    bala , Nov 27, 2016 :
    Yup correct you need to restore modem only if you are coming to oos as it doesn't yet support the new modem ! For most of n based volte compatible Roms you won't have problem if you have problem you got the backup to restore :)
     

    #17
  18. bala
    Gingerbread Nov 27, 2016

    bala , Nov 27, 2016 :
    Exactly guys as @pryggi said efs does only back up radios but in order to backup the modems you need to follow the above method I told ! Back up both efs using twrp and modems using terminal as above !
     

    #18