Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

HTC One Format Data

OP karsjee

22nd August 2014, 11:50 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Aug 2014
Hello,

I have a problem . I have a HTC one (m7) and it is rooted.
I format my data with the Team Win Recovery Project.
So I wanted to install a new rom but my pc won't see my it anymore.
I hear a sound when I connect with the PC like a normal USB.

I hope you can help me!
Because now I have a empty phone.

Kind Regards,

Kars
22nd August 2014, 12:37 PM   |  #2  
Junior Member
Flag Trondheim
Thanks Meter: 4
 
17 posts
Join Date:Joined: May 2014
Donate to Me
More
Quote:
Originally Posted by karsjee

Hello,

I have a problem . I have a HTC one (m7) and it is rooted.
I format my data with the Team Win Recovery Project.
So I wanted to install a new rom but my pc won't see my it anymore.
I hear a sound when I connect with the PC like a normal USB.

I hope you can help me!
Because now I have a empty phone.

Kind Regards,

Kars

So, you are trying to connect your HTC internal storage to the pc, so you can move the rom zip from your pc to your phone?

You can try ADB Push sideload, same method as they use in this "How-to". http://forum.xda-developers.com/show....php?t=1667929

The rom will be installed using this method. Did also find this video on youtube for TWRP https://www.youtube.com/watch?v=CivvxcM1PCY
Last edited by thomaslio; 22nd August 2014 at 12:43 PM. Reason: Posted a xda link instead of youtube, added youtube link again..
23rd August 2014, 04:51 PM   |  #3  
alray's Avatar
Senior Member
Flag Montreal, Quebec
Thanks Meter: 1,282
 
3,303 posts
Join Date:Joined: May 2012
Donate to Me
More
Quote:
Originally Posted by karsjee

Hello,

I have a problem . I have a HTC one (m7) and it is rooted.
I format my data with the Team Win Recovery Project.
So I wanted to install a new rom but my pc won't see my it anymore.
I hear a sound when I connect with the PC like a normal USB.

I hope you can help me!
Because now I have a empty phone.

Kind Regards,

Kars

like said above, use the "adb push" method to copy a rom from your computer to your phone. You can follow this guide I have made for the M7:

HTC ONE M7_U/M7_UL - ADB PUSH & FLASH A ROM - DETAILED INSTRUCTIONS


Quote:

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:\adt-bundle-windows-x86_64-20130219\sdk\platform-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.
  • You need TWRP recovery on your device (version 2.6.3.3 for all 4.4+ Sense based rom or 2.7.1.1 for CM11+ roms).
    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:



    If not, follow this guide (thanks to nkk71):
    Quote:

    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



    Open "Device Manager"



    there's the culprit



    right click and Update Driver Software



    select Browse my computer for driver software



    select Let me pick from a list of device drivers on my computer



    select Android USB Devices



    select My HTC ... (if you have more than one version, choose the latest)



    warning, select Yes



    successful installation



    now it looks better


    and can confirm:
    Code:
    C:\ADB3>adb devices
    List of devices attached
    HTxxxxxxxxxx    recovery

Quote:

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
    • 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:
  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 (5-10) 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:

  6. In TWRP main menu, select ''INSTALL''
  7. Browse the installation menu and select your rom zip file inside /sdcard folder:
  8. Swipe to confirm you want to flash the rom
  9. Reboot phone

24th August 2014, 09:50 PM   |  #4  
OP Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Aug 2014
Thumbs up
Yes the first method worked!
Thank you guys.
It take some time because i didn't find a good driver.
I found a nexus driver and it worked!

Thanks a lot!
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes