[Q] No OS on my HTC One :x

Search This thread

alray

Inactive Recognized Contributor
May 22, 2012
8,932
3,593
the rom i installed before i upgrade TWRP doesnt work. and now i cant flash it via sideload

what cIsA want to know is if the rom is still on your phone storage?

---------- Post added at 07:52 PM ---------- Previous post was at 07:52 PM ----------

if yes just install it, it should work now with twrp 2.6.3.4
 
  • Like
Reactions: geefommit

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    which commands was it? :x

    htc one m7_u/m7_ul - adb push & flash a rom - detailed instructions


    prerequisites:
    • you need adb and fastboot on your computer, either by installing the android sdk or minimal adb and fastboot
    • you need to know how to start a fastboot/adb command prompt:
      to open a command window prompt, in windows go to start menu --> ''run'' then type cmd. Change the directory to the adb folder on your machine:
      • if using the default install location for the sdk:
        Code:
        cd c:\android-sdk-windows\tools
      • if using the default install location of minimal adb and fastboot:
        Code:
        cd c:\program files (x86)\minimal adb and fastboot
      • or hold left shift + right click a blank space inside the folder where adb and fastboot are located and select ''open command window here'' from the contextual menu.
        open%20command%20window.png
    • you need twrp recovery (2.6.3.3 or higher) on your device.

      1. unlock bootloader if not already unlocked:

        thanks to electroz for the video tutorial
      2. flash twrp recovery:
        1. make sure the recovery.img file is in the same folder where adb and fastboot are located
        2. reboot phone in bootloader mode
        3. flash the recovery:
          Code:
          fastboot flash recovery name_of_recovery.img
          fastboot erase cache
          fastboot reboot-bootloader

    • you need your htc drivers correctly installed on your pc:

      device%20manager.png


      if not, follow this guide (thanks to nkk71):
      originally from @nkk71: [guide] [02-mar-2014] nkk71's superguide to returning 100% back to stock

      follow the below instructions to fix

      open "device manager" -> select the unknown "one" -> right-click -> "update driver software ..." -> "browse my computer" -> "let me pick" -> "android usb devices" -> select "my htc ..." -> install that
      just in case, htc drivers can be found here: [drivers] htc drivers for windows - several versions (credits to @mdmower)
      though you should already have them since you have been using your phone anyways


      for those who like a visual guide:

      okay so i did a fastboot boot command, and as you can see it didnt install correct driver
      28ioxf6.jpg



      open "device manager"
      2ywxpp3.jpg



      there's the culprit
      312v6me.jpg



      right click and update driver software
      2ivmu5k.jpg



      select browse my computer for driver software
      357qek7.jpg



      select let me pick from a list of device drivers on my computer
      2582flf.jpg



      select android usb devices
      143jar8.jpg



      select my htc ... (if you have more than one version, choose the latest)
      axea9h.jpg



      warning, select yes
      14lhelv.jpg



      successful installation
      21btc3d.jpg



      now it looks better :)
      zwx53s.jpg


      and can confirm:
      Code:
      c:\adb3>[b]adb devices[/b]
      list of devices attached
      htxxxxxxxxxx    recovery
    procedure:
    1. make sure the rom you want to flash is in the same folder where adb and fastboot are.
    2. connect your phone to computer using usb cable
    3. reboot phone in recovery mode (twrp):
      • if phone is booted in os:
        Code:
        adb reboot recovery
        adb%20reboot%20recovery.png
      • if not booted or bootlooping, hold power button + volume down until phone boot in bootloader mode
        then select bootloader then recovery using volume up/down to navigate and power button to select.
    4. make sure your phone is booted in twrp main menu:
      main%20menu.png
    5. transfer the rom to your /sdcard folder:
      Code:
      adb push name_of_rom.zip /sdcard/

      wait for the zip file to transfer, this can take several minutes and there is no progress bar. When the command prompt give you back the hand and display how much bytes transferred in x seconds, the transfer is completed:
      adb%20push.png

    6. in twrp main menu, select ''install''
    7. browse the installation menu and select your rom zip file inside /sdcard folder:
      install.png
    8. swipe to confirm you want to flash the rom
      swipe.gif
    9. reboot phone
    2
    i dont know why but TWRP downgrad to v2.6.0.1 -.-

    sounds like your using an old rom toolkit and not using fastboot on your own
    1
    the rom i installed before i upgrade TWRP doesnt work. and now i cant flash it via sideload

    what cIsA want to know is if the rom is still on your phone storage?

    ---------- Post added at 07:52 PM ---------- Previous post was at 07:52 PM ----------

    if yes just install it, it should work now with twrp 2.6.3.4
    1
    guys. thank you very much!!!! :)