HTC One – No OS. Fail to install ROM from TWRP

Discussion in 'Android Tech Support' started by 2ma2, Jun 22, 2016.

  1. 2ma2

    2ma2 New Member

    Joined:
    Jun 22, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Current Phone Model:
    Htc One M7
    Hi

    Anyone knows how to move forward from here. I don’t know if this is a TWRP or Cyanogen issue.

    My HTC One M7 failed to update HTC Sense, and went into boot loop.
    So I decided to use TWRP to wipe, and install this custom ROM:
    cm-12.1-20151007-SNAPSHOT-YOG4PAO334-m7.zip But it fails ..

    I managed to use ADB to download latest Cyanogen mod, to /sdcard/ on the device.
    But installing fails with error. This a paste from log: I think this is the essential part. The rest is uploaded:
    ..
    Zip contains SELinux file_contexts file in its root. Extracting to /file_contextsminzip: Extracted 3 file(s)

    could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/system, assuming ext4

    mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at /system: No such file or directory

    about to run program [/tmp/install/bin/backuptool.sh] with 2 args

    grep: /system/build.prop: No such file or directory

    Not backing up files from incompatible version: 12.1

    run_program: child exited with status 127

    about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args

    unmount of /system failed;

    ..
     

    Attached Files:

  2. 2ma2

    2ma2 New Member

    Joined:
    Jun 22, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Current Phone Model:
    Htc One M7
    Just found a solution:
    Flashed TWRP
    C:\Privat\adb>fastboot flash recovery twrp-2.8.4.0-m7.img
    target reported max download size of 1514139648 bytes
    sending 'recovery' (11994 KB)...
    OKAY [ 1.591s]
    writing 'recovery'...
    OKAY [ 0.844s]
    finished. total time: 2.446s
    Then installed CM12 again.
    That seemed to work ok. UnfortunatelyCM12 kept rebooting after 1 minute again and again.
    Then a Factory reset in TWRP
    After install of CM 12 again everything seems stable now.
     
Search tags for this page

htc one m7 no os

,

twrp failed to mount system no os installed