[Help Needed] Re-lock bootloader, unroot and go back to stock rom

  1. cryptozephyr
    Honeycomb Jun 13, 2016

  2. Robson
    KitKat Jun 13, 2016

    Robson , Jun 13, 2016 :
    Fastboot flash OEM lock for bootloader.
    Flash original os.

    Why woyld you want to lock the bootloader btw?

  3. jkb114
    Lollipop Jun 13, 2016

    jkb114 , Jun 13, 2016 :
    Any particular reason to lock the bootloader?

    This might help

  4. Lancelot_69
    Lollipop Jun 13, 2016

  5. wibblemonster
    Gingerbread Jun 13, 2016

    wibblemonster , Jun 13, 2016 :
    Presumably you want to reset the tamper flag as well otherwise the phone would still show his having been unlocked?

    But why, are you selling it as an unlocked phone or a warranty dispute?

  6. cryptozephyr
    Honeycomb Jun 14, 2016

    cryptozephyr , Jun 14, 2016 :
    Unable to use the phone for company emails as its rooted.

  7. cryptozephyr
    Honeycomb Jun 14, 2016

    cryptozephyr , Jun 14, 2016 :
    Correct. Need to reset the tamper flag. I am not selling the phone and warranty dispute is out of question as its already 1.5 years old.

    Need to use it for office communication but rooted phones are not allowed.

  8. jkb114
    Lollipop Jun 14, 2016

    jkb114 , Jun 14, 2016 :
    You don't need to lock the bootloader. Just unroot. a Clean flash should do it

    theshinybeast likes this.
  9. wibblemonster
    Gingerbread Jun 14, 2016

    wibblemonster , Jun 14, 2016 :
    No need to lock the bootloader for that. It can also lead to all manner of woes and bricking. Just unroot and install the full stock rom.

  10. lolrepeatlol
    Jelly Bean Jun 14, 2016

    lolrepeatlol , Jun 14, 2016 :

    Go to cyngn.com/support, find the recovery (i dont think its on the site) and ROM, put on device, flash both:
    Then relock the bootloader: (remember to rename recovery to recovery.img!)
    Windows: (idk about mac) (linux put sudo in front of fastboot)
    Connect your phone.
    adb devices
    Then reboot into fastboot.
    Now type:
    fastboot flash recovery recovery.img
    Reboot into recovery:
    fastboot boot recovery recovery.img
    Unplug your phone from the PC.
    Go into recovery, wipe, reconnect and go to fastboot.
    fastboot oem lock
    Now go into recovery, flsh the ROM, wipe cache, and ur good 2 go

    Víctor_Estévez and Jupeeeeee like this.
  11. Dominique57350
    Ice Cream Sandwich Jun 14, 2016

    Dominique57350 , Jun 14, 2016 :

    I read somewhere there is an app (root needed) that can lock bootloader again.
    Here are the steps: (didnt tried cause i dont wanna lock bootloader) :

    0) read my warning at the end of the post
    1) Use titaniumbackup to save everything (apps && data) and other apps for the rest (SMS, pics(should stay but safety), contacts, etc...)
    2.1(safety) ) use rashr (play store) to backup kernel.
    2.2) use multirom --> recovery modified (install app, flash recovery)
    2.3(safety) ) do a nandroid backup --> recovery backup !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    3) copy primary as secondary
    4) wipe system/data/cache/dalvik (1st/primary ROM)
    5)flash stock ROM (primary slot) (preferably same Android version 5.0.2/5.1.1./6.0.0/6.0.1)
    6) if you forgot something use multirom app to boot the backup ROM you copied(sultans copy) and take what you need
    recover apps, sms contacts with titanium(root needed) && the other apps. Pics should be still there but safety !
    then delete it (delete the second Rom through multirom manager) so you only have stock ROM left.
    7)flash stock recovery (multirom will be erased and you can delete the app)
    8) if there is kernel issue, Use root to restore the backup kernel (rashr)
    9)Lock bootloader
    Here it is:
    (Works with opo, read description)
    Launch, give root access and lock.
    Https://play.google.com/store/apps/details?id=net.segv11.bootunlocker&hl=fr&referrer=utm_source=google&utm_medium=organic&utm_term=application android lock bootloader&pcampaignid=APPU_1_L_1fV42bHMntas-XhWA
    10)open superSU :
    Settings > delete completly root
    If after reboot you still have super su app, uninstall it.

    /!\Should work, post if there is a problem/!\
    /!\ i am not responsable for any issue/!\
    Why use my guide? Exept downloads, you absolutly dont need any PC, everything is done on your phone by your phone
    Last edited: Jun 14, 2016

  12. Dominique57350
    Ice Cream Sandwich Jun 14, 2016

    Dominique57350 , Jun 14, 2016 :
    Multirom tho

  13. Zetsubou
    Cupcake Jun 14, 2016

  14. Shutts318ci
    Froyo Oct 20, 2016

    Shutts318ci , Oct 20, 2016 :
    Hi, I recently reverted back to Stock OxygenOS on my OP3. Unfortunately the Android CTS Profile does not match or something so Android Pay won't work. The only thing I can see different is the bootloader is still unlocked. Do I need to re-lock it? Can this even be done? Many thanks for any help.

  15. jkb114
    Lollipop Oct 20, 2016

    jkb114 , Oct 20, 2016 :
    You can re-lock the bootloader by booting into fastboot and running fastboot oem lock

  16. Shutts318ci
    Froyo Oct 20, 2016

  17. Shutts318ci
    Froyo Oct 20, 2016

    Shutts318ci , Oct 20, 2016 :
    Will it wipe my phone? If so will nandroid backup be best way to backup/restore?

  18. jkb114
    Lollipop Oct 20, 2016

    jkb114 , Oct 20, 2016 :
    It shouldn't. But a backup would be a great idea incase something goes wrong

  19. Shutts318ci
    Froyo Oct 20, 2016

    Shutts318ci , Oct 20, 2016 :
    It says "Locking the bootloader will also delete all personal data from your phone." I assume it deletes a specific path, is that path used by the OP3?

  20. SynergyKim
    Donut Aug 17, 2017

    SynergyKim , Aug 17, 2017 :
    Yeah, it'll wipe if you have a OnePlus 5 and relock the bootloader (just tried it)