Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Lost all android files

    Support
    5
    9
    399
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 8
      83jnsn last edited by

      I was running ubports on a oneplus one for about a month...all good. I downloaded some ringtones started glitching. I factory reset,downloaded ubports again, touchscreen was only working on upper half of the screen. I seem to have lost all android files. Maybe at factory reset?? How to I re-install android os?

      Lakotaubp 1 Reply Last reply Reply Quote 0
      • Lakotaubp
        Lakotaubp @83jnsn last edited by

        @83jnsn Run the installer with the wipe option ticked that will give you a clean install of UT. if you need to keep anything on the phone back it up first.

        8 1 Reply Last reply Reply Quote 1
        • U
          UniSuperBox last edited by

          To reinstall Android, you can follow any guide on installing the stock ROM or an alternative ROM on your device.

          1 Reply Last reply Reply Quote 0
          • T
            trainailleur last edited by trainailleur

            On Linux, to reflash a OnePlus One to stock, I unzip the last CyanogenOS update (which I'm pretty sure was "cm-13.1.2-ZNH2KAS3P0-bacon-signed-fastboot.zip" which you can find on various Android file hosts around the net) and then run the following while the phone is in fastboot mode and plugged into the computer:

            fastboot flash modem NON-HLOS.bin
            fastboot flash sbl1 sbl1.mbn
            fastboot flash dbi sdi.mbn
            fastboot flash aboot emmc_appsboot.mbn
            fastboot flash rpm rpm.mbn
            fastboot flash tz tz.mbn
            fastboot flash LOGO logo.bin
            fastboot flash oppostanvbk static_nvbk.bin
            fastboot flash recovery recovery.img
            fastboot flash system system.img
            fastboot flash boot boot.img
            fastboot flash cache cache.img
            fastboot flash userdata userdata_64G.img
            

            If you have the 16 GB version and not the 64 GB, substitute this for the last command instead:

            userdata.img
            

            I presume the commands are similar on Windows and OSX.

            I'm not exactly sure how to get OxygenOS on there instead of CyanogenOS. Never ran it myself.

            8 1 Reply Last reply Reply Quote 2
            • 8
              83jnsn @trainailleur last edited by

              @trainailleur said in Lost all android files:

              On Linux, to reflash a OnePlus One to stock, I unzip the last CyanogenOS update (which I'm pretty sure was "cm-13.1.2-ZNH2KAS3P0-bacon-signed-fastboot.zip" which you can find on various Android file hosts around the net) and then run the following while the phone is in fastboot mode and plugged into the computer:

              fastboot flash modem NON-HLOS.bin
              fastboot flash sbl1 sbl1.mbn
              fastboot flash dbi sdi.mbn
              fastboot flash aboot emmc_appsboot.mbn
              fastboot flash rpm rpm.mbn
              fastboot flash tz tz.mbn
              fastboot flash LOGO logo.bin
              fastboot flash oppostanvbk static_nvbk.bin
              fastboot flash recovery recovery.img
              fastboot flash system system.img
              fastboot flash boot boot.img
              fastboot flash cache cache.img
              fastboot flash userdata userdata_64G.img
              

              If you have the 16 GB version and not the 64 GB, substitute this for the last command instead:

              userdata.img
              

              I presume the commands are similar on Windows and OSX.

              I'm not exactly sure how to get OxygenOS on there instead of CyanogenOS. Never ran it myself.

              thanks for the info, I know it's been awhile. I've unzipped the update, plugged my phone in but not sure where to run these commands, doesn't appear to be in terminal. What to do next?

              advocatux 1 Reply Last reply Reply Quote 0
              • advocatux
                advocatux @83jnsn last edited by

                @83jnsn you need to run those commands in a CLI on your computer 🙂

                T 1 Reply Last reply Reply Quote 1
                • T
                  trainailleur @advocatux last edited by

                  @advocatux said in Lost all android files:

                  @83jnsn you need to run those commands in a CLI on your computer 🙂

                  Yes. In a Linux terminal, or very probably an OSX terminal too. Not sure about Windows.

                  You will need fastboot installed on your computer and 1) available in your path, 2) run from the directory where it's installed, or 3) qualify the path when you call fastboot (e.g., if it's in /home/foo/bin, then call it as /home/foo/bin/fastboot). I always just put it in my path.

                  1 Reply Last reply Reply Quote 1
                  • 8
                    83jnsn @Lakotaubp last edited by

                    @Lakotaubp Thanks I did try that. Touch screen still only works on the top half. I can turn the phone 180 degrees to use touch screen on other half. Still trying to get android back

                    Lakotaubp 1 Reply Last reply Reply Quote 0
                    • Lakotaubp
                      Lakotaubp @83jnsn last edited by

                      @83jnsn If you want to reflash your Oneplus One back to android/cyanogen a quick internet search will solve that. Other than that after reinstalling UT with the wipe option your device will have all the same OS files on it again. So not sure why the screen is not working, unless that is unrelated to the first issue. Sorry if misreading your question.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post