[Q] Always cannot read android-info.txt on AT&T HTC One - One (M7) Q&A, Help & Troubleshooting

The phone is used to reboot every 2 mins. Then I looked the articles here and try to fix it. But right now, I cannot flash the rom.zip to the phone.
Following are the steps I did:
1. s-off on the phone
2. installed ClockworkMod Recovery 6.0.5.1.
3. installed minimal_adb_fastboot
4. download superuser.zip and run CWM to install the file
5. downlaod the ElementX-m7-18.0-Sense.zip for Sense 6 Android 4.4.3 and run CWM to install the file
6. download the RUU_M7_UL_JB_50_Cingular_US_1.26.502.12_Radio_4A.14.3250.13_10.33.1150.01_release_318450_signed_2 rom
7. try to flash the rom after rebootRUU but always tell me cannot read android_info.txt
My current phone info:
ClockworkMod Recovery 6.0.5.1,
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 4T.20.3218.13
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.17.502.3
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: -----------------
(bootloader) imei: ----------------------
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: CWS__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4302mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-2da61e5e88
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Other info:
***TAMPERED***
***UNLOCKED***
M7_UL PVT SHIP S-ON RH
HBOOT-1.55.0000
RADIO-4T.20.3218.13
OpenDSP-v31.120.274.0617
OS-3.17.502.3
eMMC-hoot 2047MB
Sep 10 2013.01:32:23.0
:crying::crying::crying:I don't know where i did wrong. Really need helps on it.:highfive:

Michael Xie said:
The phone is used to reboot every 2 mins. Then I looked the articles here and try to fix it. But right now, I cannot flash the rom.zip to the phone.
Following are the steps I did:
1. s-off on the phone
2. installed ClockworkMod Recovery 6.0.5.1.
3. installed minimal_adb_fastboot
4. download superuser.zip and run CWM to install the file
5. downlaod the ElementX-m7-18.0-Sense.zip for Sense 6 Android 4.4.3 and run CWM to install the file
6. download the RUU_M7_UL_JB_50_Cingular_US_1.26.502.12_Radio_4A.14.3250.13_10.33.1150.01_release_318450_signed_2 rom
7. try to flash the rom after rebootRUU but always tell me cannot read android_info.txt
My current phone info:
ClockworkMod Recovery 6.0.5.1,
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 4T.20.3218.13
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.17.502.3
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: -----------------
(bootloader) imei: ----------------------
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: CWS__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4302mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-2da61e5e88
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Other info:
***TAMPERED***
***UNLOCKED***
M7_UL PVT SHIP S-ON RH
HBOOT-1.55.0000
RADIO-4T.20.3218.13
OpenDSP-v31.120.274.0617
OS-3.17.502.3
eMMC-hoot 2047MB
Sep 10 2013.01:32:23.0
:crying::crying::crying:I don't know where i did wrong. Really need helps on it.:highfive:
Click to expand...
Click to collapse
Well according to your getvar and the info shown in your bootloader your device is not s-off. Your still s-on so that ruu won't work for you anyway.
So what ever method you used to s-off apparently didn't work. And you need s-off to use that RUU.
However this RUU should work for you with s-on but you will need to relock your bootloader. And make sure you check the md5 of your download with this tool from www.winmd5.com
Correct md5 for this ruu is
Code:
5f121d72b8fa3f6f1704588467752605
http://www.htc1guru.com/dld/ruu_m7_...9_10-26-1718-01l_release_356565_signed_2-exe/
Boot your device to the bootloader and connect fastboot usb. In the command window type
Code:
fastboot erase cache
fastboot oem lock
fastboot reboot-bootloader
Make sure fastboot usb is connected then launch the ruu.exe on your pc.

Thanks a lot, I tried but after I launched the ruu.exe. It always display "htc_fastboot.exe is not working".

Michael Xie said:
Thanks a lot, I tried but after I launched the ruu.exe. It always display "htc_fastboot.exe is not working".
Click to expand...
Click to collapse
This is a visual c++ error I believe. Install this on your pc and try the ruu again http://www.microsoft.com/en-gb/download/details.aspx?id=29
---------- Post added at 06:58 AM ---------- Previous post was at 06:49 AM ----------
Alternatively you could use this RUU.zip
http://www.htc1guru.com/dld/ruu-zip-m7_ul_jb43_sense50_mr_cingular_us_3-17-502-3-decrypted-zip/
The procedure for flashing is a little more complex though.
Download the ruu.zip and put it in your fastboot folder and rename it to ruu.zip.
Reboot the phone to the bootloader and Connect fastbootusb. Now open your Fastboot command line and type
Code:
fastboot erase cache
fastboot oem lock
fastboot reboot-bootloader
you can skip this part if your already locked.
Code:
fastboot oem rebootRUU
--- case sensitive ---^^^
The phone will reboot to a black screen with a Silver HTC LOGO. This is RUU mode. Now we're going to flash the ruu.
Code:
fastboot flash zip ruu.zip
The first flash will be short. It's just a preupdate preparing the hboot for the new firmware. So we need to do the same command again.
Code:
fastboot flash zip ruu.zip
The second flash will take a little longer and this time it will flash the full ruu. The progress bar on the phone screen will not reach 100% this is normal as long as the command window has completed its output the flash is done.
Code:
fastboot reboot-bootloader

I just installed and tried again. but it says some problem cause the application is not working correct. the htc_fastboot.exe is still not working. Do i need to reboot my system after installation?
-----------------------------------------------------------
I am trying the zip file. Thank you so much.

Michael Xie said:
I just installed and tried again. but it says some problem cause the application is not working correct. the htc_fastboot.exe is still not working. Do i need to reboot my system after installation?
Click to expand...
Click to collapse
Rebooting wouldn't hurt :good:

I got this message three times during the flash:
target reported max download size of 1526722560 bytes
sending 'zip' (1158208 KB)...
OKAY [ 37.747s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 161.040s
Have to go sleep. Thanks

Michael Xie said:
I got this message three times during the flash:
target reported max download size of 1526722560 bytes
sending 'zip' (1158208 KB)...
OKAY [ 37.747s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 161.040s
Have to go sleep. Thanks
Click to expand...
Click to collapse
use the .exe ruu that danny linked above (post #2), you can't use the decrypted ruu.zip (from post #4) with s-on.
Decrypted ruu = not signed by htc private key
s-on = must check htc signature before flashing
s-on + decrypted ruu = signature verification fail.
so with s-on you can only use signed ruu same or higher version
s-off: you can use signed and decrypted ruu, same, higher or lower version.

Michael Xie said:
Thanks a lot, I tried but after I launched the ruu.exe. It always display "htc_fastboot.exe is not working".
Click to expand...
Click to collapse
What version of Windows are you running on your pc?
Do you have HTC sync installed?
Is your SDK adb/fastboot up to date?
You can also try this ruu.exe http://www.htc1guru.com/dld/ruu_m7_...3_10-38j-1157-04_release_334235_signed_2-exe/ , I'm not sure it will help with the fastboot error since I think that problem is pc side. But try it maybe the older installer will work with the c++ you installed previously. :good:

Michael Xie said:
Thanks a lot, I tried but after I launched the ruu.exe. It always display "htc_fastboot.exe is not working".
Click to expand...
Click to collapse
if you have htc sync installed, uninstall it (but don't uninstall the drivers)

The one Danny201281 gives to me works!!!!!
However, the phone goes back to keep rebooting after I installed the rom.
Need big help here.

Michael Xie said:
The one Danny201281 gives to me works!!!!!
However, the phone goes back to keep rebooting after I installed the rom.
Need big help here.
Click to expand...
Click to collapse
do a factory reset from stock recovery
when you get in recovery from the bootloader push volume up and tap power to see the menu

After I entered the "recovery", I saw following:
Android system recovery <3e>
Volume up/down to move highlight:
Enter button to select:
reboot system now
apply from sd card
apply from phone storage
apply from cache
wipe data/factory reset
wipe cache partition
I didn't see the mean you give to me....
HTC One 32 GB AT&T
Rolled Back to Android 4.3 Sense 5.5 / ARHD 53
Is there anyway for me to install brand everything if I unlock with s-on? Or is there anyway for me to change from s-on to s-off? I used the htcdev to unlock but it doesn't change the "s-on" to "s-off"..

I did "adb devices", it shows:
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
This is correct or not?

Michael Xie said:
Just tried, still don't work. the phone is rebooting during the green "htc" screen.
Is there anyway for me to install brand everything if I unlock with s-on? Or is there anyway for me to change from s-on to s-off? I used the htcdev to unlock but it doesn't change the "s-on" to "s-off"..
Click to expand...
Click to collapse
You need the phone to boot to a Rom to gain s-off.
If these reboots continue after flashing the ruu was successful there's a good chance your problem is hardware related.
Best option now it to unlock the bootloader and flash a Custom Recovery and Rom. I would also recommend doing a data format before flashing the new Rom to ensure your partitions are free from corruption.

So I just wipe cache partition or wipe data/factory reset?

Michael Xie said:
I did "adb devices", it shows:
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
This is correct or not?
Click to expand...
Click to collapse
You should see your phone serial number here. But this will only work if booted into a custom recovery like TWRP.
Michael Xie said:
So I just wipe cache partition or wipe data/factory reset?
Click to expand...
Click to collapse
If you have Stock recovery it would be best to factory reset with that first if you haven't already. Other wise just flash a Custom recovery

I did "fastboot -w" and got following message:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot -w
Creating filesystem with parameters:
Size: 27917287424
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 6815744
Block groups: 208
Reserved block group size: 1024
Created filesystem with 11/1703936 inodes and 150980/6815744 blocks
target reported max download size of 1526722560 bytes
Creating filesystem with parameters:
Size: 671084544
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 2559
Label:
Blocks: 163839
Block groups: 5
Reserved block group size: 39
Created filesystem with 11/40960 inodes and 5255/163839 blocks
erasing 'userdata'...
FAILED (remote: not allowed)
finished. total time: 0.003s
Is there something wrong here...

Related

[Q] Problems downgrading roms / installing recovery etc.

First time I post on this messageboard. I have issues with my Incredible S and because I have tried everything available on the internet and here, I decided to make a thread. I'm thankful for any response I get.
Technical Background:
S-ON
Unlocked with HTCDEV key
HBoot 2.00.0000
ClockWorkMod Recovery
(Currently no rom installed, had CM7)
Background for not working:
I decided to wipe Dalvik cache and cache on the phone, and CM7 ended up being in a bootloop. ClockWorkMod Recovery complains about:
Code:
E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
... etc.
I've tried to install RUU, but it hangs during the process of "restarting into bootloader"
I've tried to install stock rom through SDCard, but it complains about zip-file integrity. (even though I've checked MD5 checksums etc.)
According to "adb shell dmesg" everything seems to be fine in regards of the chip, except from this:
Code:
[11.368560] EXT4-fs (mmcblk0p27): VFS: Can't find ext4 filesystem.
Assume this is part of the /cache partition?
---
So, to start somewhere, I need help to figure out why the phone get's unresponsive when I issue commands from fastboot, like the following:
Code:
fastboot oem rebootRUU
fastboot flash recovery cwm-4.0.1.4-vivo.img
I have to take the battery out to make the phone responsive again.
Another thing, when I press "reboot bootloader" inside HBOOT(on the phone) it also hangs.
What can I do to make my phone operative again?
dabih said:
First time I post on this messageboard. I have issues with my Incredible S and because I have tried everything available on the internet and here, I decided to make a thread. I'm thankful for any response I get.
Technical Background:
S-ON
Unlocked with HTCDEV key
HBoot 2.00.0000
ClockWorkMod Recovery
(Currently no rom installed, had CM7)
Background for not working:
I decided to wipe Dalvik cache and cache on the phone, and CM7 ended up being in a bootloop. ClockWorkMod Recovery complains about:
A
Code:
E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
... etc.
I've tried to install RUU, but it hangs during the process of "restarting into bootloader"
I've tried to install stock rom through SDCard, but it complains about zip-file integrity. (even though I've checked MD5 checksums etc.)
According to "adb shell dmesg" everything seems to be fine in regards of the chip, except from this:
Code:
[11.368560] EXT4-fs (mmcblk0p27): VFS: Can't find ext4 filesystem.
Assume this is part of the /cache partition?
---
So, to start somewhere, I need help to figure out why the phone get's unresponsive when I issue commands from fastboot, like the following:
Code:
fastboot oem rebootRUU
fastboot flash recovery cwm-4.0.1.4-vivo.img
I have to take the battery out to make the phone responsive again.
Another thing, when I press "reboot bootloader" inside HBOOT(on the phone) it also hangs.
What can I do to make my phone operative again?
Click to expand...
Click to collapse
A couple of comments I noticed.
1. To reflash a RUU you need to have the bootloader relocked.
2. You don't have the latest version of CWM installed. Current version is 5.0.2.0
3. Do you have a file named PG32IMG.zip on the phone? If you do, that would hamper you getting into FASTBOOT USB mode.
4. Does the command: fastboot devices
Return the device serial number or does it hang too?
5. When you flashed CM7 did you manually flash the boot.img in Fastboot mode? This is required when you have an unlocked bootloader.
Try to relock the bootloader and unlock again. Then flash a newer version of the recovery. The latest of cwm is now 5.0.2.0
Sent from my HTC One X using XDA
Same thing happened to me when i flashed arhd 2.3.0....it went into a boot loop!
now incs does this..
what i did was flash the boot.img of the kernel again.
HBOOT 1.16 does some weird stuff and tends to cause issues; I think it interferes with the installation of the boot.img that ordinarily would be flashed with the ROM. Anyhow, grab the ROM that you downloaded earlier (CyanogenMod, in my example), and on your PC, unzip the file somewhere. Once unzipped, inside you'll see a file called "boot.img". Put this in the same folder as your other Android tools that you used earlier. Power your phone on, hold volume down, and instead of loading recovery by choosing "recovery", choose "usb fastboot".
Open up your command prompt again (Start > Run > "cmd"), and type (using the "android" folder for this example):
fastboot flash boot boot.img
hope it helps,
Thank you for replying, all of you.
If I could just reflash recovery. The phone get's stuck whenever fastboot/hboot tries to write the recovery image or the boot images. I'm stuck in the middle until I find out what this is caused by.
tpbklake said:
A couple of comments I noticed.
1. To reflash a RUU you need to have the bootloader relocked.
2. You don't have the latest version of CWM installed. Current version is 5.0.2.0
3. Do you have a file named PG32IMG.zip on the phone? If you do, that would hamper you getting into FASTBOOT USB mode.
4. Does the command: fastboot devices
Return the device serial number or does it hang too?
5. When you flashed CM7 did you manually flash the boot.img in Fastboot mode? This is required when you have an unlocked bootloader.
Click to expand...
Click to collapse
1. I've run "fastboot oem lock" to lock before RUU.
2. I can't update the recovery. When I try to update CWM (either through SDcard or fastboot) it fails during "writing". In HBOOT the phone locks, telling me not to power off the phone while "update" is being applied. Same goes for the fastboot method. The phone get's unresponsive.
3. I have the PG32IMG.zip only when I want to boot the update/image.
4. It returns the device. I can also do whatever I want on the phone shell. (create folders/run compiled C/delete files/chmod/format/mke2fs et. al). I can "push" files to the phone just fine too.
5. When I manually flash the boot.img in Fastboot it hangs like the scenarios mentioned above when it starts "writing"
Code:
C:\android>fastboot.exe flash recovery recovery.img
sending 'recovery' (5386 KB)...
OKAY [ 1.676s]
writing 'recovery'...
Code:
C:\android>fastboot.exe flash boot "IceColdSandwich-7.2-vivo (1)\boot.img"
sending 'boot' (2164 KB)...
OKAY [ 0.788s]
writing 'boot'...
^C
Code:
C:\android>fastboot.exe getvar mainver
mainver: 3.08.405.3
finished. total time: 0.003s
Code:
C:\android>fastboot.exe getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 2.00.0000
(bootloader) version-baseband: 3822.10.08.28_M
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.08.405.3
(bootloader) serialno: HT18xxxxxxxxx
(bootloader) imei: 35xxxxxxxxxxxx
(bootloader) product: vivo
(bootloader) platform: HBOOT-7630
(bootloader) modelid: PG3213000
(bootloader) cidnum: HTC__Y13
(bootloader) battery-status: good
(bootloader) battery-voltage: 3959mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-af9874be
(bootloader) hbootpreupdate: 12
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.025s
dabih said:
Thank you for replying, all of you.
If I could just reflash recovery. The phone get's stuck whenever fastboot/hboot tries to write the recovery image or the boot images. I'm stuck in the middle until I find out what this is caused by.
1. I've run "fastboot oem lock" to lock before RUU.
2. I can't update the recovery. When I try to update CWM (either through SDcard or fastboot) it fails during "writing". In HBOOT the phone locks, telling me not to power off the phone while "update" is being applied. Same goes for the fastboot method. The phone get's unresponsive.
3. I have the PG32IMG.zip only when I want to boot the update/image.
4. It returns the device. I can also do whatever I want on the phone shell. (create folders/run compiled C/delete files/chmod/format/mke2fs et. al). I can "push" files to the phone just fine too.
5. When I manually flash the boot.img in Fastboot it hangs like the scenarios mentioned above when it starts "writing"
Code:
C:\android>fastboot.exe flash recovery recovery.img
sending 'recovery' (5386 KB)...
OKAY [ 1.676s]
writing 'recovery'...
Code:
C:\android>fastboot.exe flash boot "IceColdSandwich-7.2-vivo (1)\boot.img"
sending 'boot' (2164 KB)...
OKAY [ 0.788s]
writing 'boot'...
^C
Code:
C:\android>fastboot.exe getvar mainver
mainver: 3.08.405.3
finished. total time: 0.003s
Code:
C:\android>fastboot.exe getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 2.00.0000
(bootloader) version-baseband: 3822.10.08.28_M
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.08.405.3
(bootloader) serialno: HT18xxxxxxxxx
(bootloader) imei: 35xxxxxxxxxxxx
(bootloader) product: vivo
(bootloader) platform: HBOOT-7630
(bootloader) modelid: PG3213000
(bootloader) cidnum: HTC__Y13
(bootloader) battery-status: good
(bootloader) battery-voltage: 3959mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-af9874be
(bootloader) hbootpreupdate: 12
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.025s
Click to expand...
Click to collapse
Ok so you did relock before running he RUU. Did you manually run they RUU or did you extract the ROM.zip and copy it to your SD card as PG32IMG.zip?
After that failed, did you then unlock again before trying to update the recovery or flash the boot.img?
tpbklake said:
Ok so you did relock before running he RUU. Did you manually run they RUU or did you extract the ROM.zip and copy it to your SD card as PG32IMG.zip?
After that failed, did you then unlock again before trying to update the recovery or flash the boot.img?
Click to expand...
Click to collapse
Actually I tried to do both, because this is actually my first time fiddling with the phone at this level. (I'm a programmer, but not a phone expert).
1a. I ran RUU both when phone was unlocked (not locked or relocked) and locked (oem lock)
1b. I've done both ROM.zip (sdcard method, PG32IMG.zip) and the PC version (*.exe)
In total 4 different combinations instead of 2 due to my lack of knowledge/understanding of lock/unlocked state of the bootloader.
Though all combinations fail at some point.
2a. PC Version RUU fails at "rebooting to bootloader". (Can wait up to 60 min, nothing happens even though it says wait 10 minutes. It is just stuck, as with the phone. Have to take the battery out.)
2b. Bootloader approach loads the Image just fine, (the blue progressbar up in the right corner) but gives me an error about ZIP file being corrupted or something. It's hard to see what it actually says because the screen returns to the bootloader menu very fast.
So. What I want at this point, would be RUU the phone, then revert back to my custom ROM. So maybe we can figure out how we can have the RUU work sucessfully.
I'm using this RUU:
Code:
RUU_VIVO_SENSE30_S_HTC_WWE_3.08.405.3_Radio_20.4802.30.0822U_3822.10.08.28_M_release_227170_sig.exe
It has the SAME radio that was on the phone before I installed CM7 a few months ago. It's the same android/sense version also. (My GF has the same phone)
I've also tried with this RUU:
Code:
RUU_VIVO_SENSE30_S_HTC_WWE_3.11.405.2_Radio_20.4805.30.0822U_3822.01.08.14_M_release_252414_signed.exe
Here are some more details on the filesystem etc.
Code:
~ # ls
boot init sys
cache init.rc system
data proc tmp
datadata res ueventd.goldfish.rc
default.prop root ueventd.rc
dev sbin ueventd.vivo.rc
emmc sd-ext
etc sdcard
~ # ls -la /etc
drwxr-xr-x 2 root root 0 Jan 1 1970 .
drwxr-xr-x 18 root root 0 Jan 8 02:16 ..
-rw-r--r-- 1 root root 333 Jan 1 1970 recovery.fstab
~ # cat /etc/recovery.fstab
# mount point fstype device [device2] fstype2
/recovery emmc /dev/block/mmcblk0p21
/boot emmc /dev/block/mmcblk0p22
/cache ext4 /dev/block/mmcblk0p27 NULL ext3
/data ext4 /dev/block/mmcblk0p26 NULL ext3
/sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
/system ext4 /dev/block/mmcblk0p25 NULL ext3
eMMC chip model:
Code:
~ # cat /sys/devices/platform/msm_sdcc.2/mmc_host/mmc0/mmc0:0001/name
M4G2DE
Will update with dmesg/ksmg info later because the phone is charging and is spamming recharge data in the kmsg/dmsg output.
You cannot flash a custom recovery on a locked bootloader. I suggest you go through the unlock process, flash the latest clockworkmod or 4ext recovery then do a clean install of cm7.
After you flash cm7, wipe the cache partition then manually flash the boot.img from the cm7 zip file
Code:
fastboot flash boot boot.img
Nonverbose said:
You cannot flash a custom recovery on a locked bootloader. I suggest you go through the unlock process, flash the latest clockworkmod or 4ext recovery then do a clean install of cm7.
After you flash cm7, wipe the cache partition then manually flash the boot.img from the cm7 zip file
Code:
fastboot flash boot boot.img
Click to expand...
Click to collapse
I've gone through the process of unlocking with fastboot and the "Unlock_code.bin" file I received from HTCDEV. Still not able to do anything.
My wish is to use a RUU, but I need to downgrade my "version_main" first, which is not possible with "misc_version" for me. (It tells me it updated the "partition" etc. but version is still the same).
dabih said:
I've gone through the process of unlocking with fastboot and the "Unlock_code.bin" file I received from HTCDEV. Still not able to do anything.
My wish is to use a RUU, but I need to downgrade my "version_main" first, which is not possible with "misc_version" for me. (It tells me it updated the "partition" etc. but version is still the same).
Click to expand...
Click to collapse
Get a rom working first

[Q] M7 full wipe no system 6.12.161.8 M7_UL Vodafone

hi my problem is with my htc I wipe it full and I have no software on it , it is vodafone has HBOOT 1.57.0000 and firmware 6.12.161.8 they can help me back up to play a firmware ?:crying:
C:\Users\-\Desktop\ADB>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.28.3218.04
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.12.161.8
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: VODAP102
(bootloader) battery-status: good
(bootloader) battery-voltage: 4280mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
XFX-Gaming said:
hi my problem is with my htc I wipe it full and I have no software on it , it is vodafone has HBOOT 1.57.0000 and firmware 6.12.161.8 they can help me back up to play a firmware ?:crying:
C:\Users\-\Desktop\ADB>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.28.3218.04
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.12.161.8
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: VODAP102
(bootloader) battery-status: good
(bootloader) battery-voltage: 4280mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
Click to expand...
Click to collapse
Remove your IMEI and SERIALNO from your getvar all.
I can't find any files useful to reset your phone back to stock 6.12.161.8 version. You should flash a custom recovery + a custom rom.
alray said:
Remove your IMEI and SERIALNO from your getvar all.
I can't find any files useful to reset your phone back to stock 6.12.161.8 version. You should flash a custom recovery + a custom rom.
Click to expand...
Click to collapse
how can I do that they can give me a manual or via teamviewer help me would be very grateful
XFX-Gaming said:
how can I do that they can give me a manual or via teamviewer help me would be very grateful
Click to expand...
Click to collapse
Follow this guide
Originally posted by @alrayHTC 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:\adt-bundle-windows-x86_64-<DATE>\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.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You need TWRP recovery on your device.
We still recommend to use version 2.6.3.3 for all roms
except if another version is specified in the rom OP.
Use 2.7.1.1+ for roms that require "block:by-name" support (CM11)
Unlock bootloader if not already unlocked:
Thanks to Electroz for the video tutorial
Flash TWRP Recovery:
Make sure the recovery.img file is in the same folder where adb and fastboot are located
(C:\adt-bundle-windows-x86_64-<DATE>\sdk\platform-tools or C:\Program Files (x86)\Minimal ADB and Fastboot)
reboot phone in bootloader mode
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):
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>[B]adb devices[/B]
List of devices attached
HTxxxxxxxxxx recovery
Click to expand...
Click to collapse
​
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Procedure:
Make sure the ROM you want to flash is in the same folder where ADB and FASTBOOT are.
(C:\adt-bundle-windows-x86_64-<DATE>\sdk\platform-tools or C:\Program Files (x86)\Minimal ADB and Fastboot)
Here is a list of the HTC M7 roms. Some other roms can be found here.
Connect your phone to computer using usb cable
(if not using the official HTC USB calble, make sure
you are using a USB data cable and not only a charging
cable. Data cables have 4 contacts: 5V, GND, DATA+, DATA-.
Charging cable only have 5V and GND contact and will not work)
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.
Make sure your phone is booted in TWRP main menu:
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-15) and there is no progress bar, the command prompt will be unresponsive for that duration. When the command prompt is responsive again and display how much bytes transferred in X seconds, the transfer is completed:
In TWRP main menu, select ''INSTALL''
Browse the installation menu and select your rom zip file inside /sdcard folder:
Swipe to confirm you want to flash the rom
Reboot phone
Click to expand...
Click to collapse
Click to expand...
Click to collapse
alray said:
Follow this guide
​
Click to expand...
Click to collapse
my htc is relocked
XFX-Gaming said:
my htc is relocked
Click to expand...
Click to collapse
same thing apply, follow the guide. (see 3rd prerequisite)
alray said:
same thing apply, follow the guide. (see 3rd prerequisite)
Click to expand...
Click to collapse
i have an error
C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot recovery
adb server is out of date. killing...
* daemon started successfully *
error: device not found
XFX-Gaming said:
i have an error
C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot recovery
adb server is out of date. killing...
* daemon started successfully *
error: device not found
Click to expand...
Click to collapse
Might be because your driver isn't installed (should not be the case if you have followed the guide)
or maybe because you haven't enabled USB debugging
Hoewever, just do it manually by holding power and volume down until your phone reboot in bootloader then select "recovery"
alray said:
Might be because your driver isn't installed (should not be the case if you have followed the guide)
or maybe because you haven't enable USB debugging
Hoewever, just do it manually by holding power and volume down until your phone reboot in bootloader then select "recovery"
Click to expand...
Click to collapse
and i have this problem
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery openrec
very-twrp-2.6.3.3-m7.img
target reported max download size of 1509875712 bytes
sending 'recovery' (9184 KB)...
OKAY [ 1.152s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.056s
XFX-Gaming said:
and i have this problem
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery openrec
very-twrp-2.6.3.3-m7.img
target reported max download size of 1509875712 bytes
sending 'recovery' (9184 KB)...
OKAY [ 1.152s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.056s
Click to expand...
Click to collapse
You are not following the guide! Make sure you have all prerequisites before starting and then proceed step by step.
You are having this error because your bootloader is locked/relocked (see 3rd prerequisite, click "show content" and see step 1)
alray said:
You are not following the guide! Make sure you have all prerequisites before starting and then proceed step by step.
You are having this error because your bootloader is locked/relocked (see 3rd prerequisite, click "show content" and see step 1)
Click to expand...
Click to collapse
yes my bootloader is relocked
So I helped him ( @XFX-Gaming ) via team viewer. Bootloader is S-ON and Re-Locked. We got a fresh Unlock_code.bin from HTCDev.com. The unlock code flash fine and the bootloader unlock screen shows up. When selecting "yes" to unlock, phone attemps to boot in recovery and hangs at the "entering recovery" white screen. When force reboot to the bootloader, still re-locked.
Any idea @nkk71 @clsA @Danny201281 ?
I think we should reflash the firmware in RUU mode but can't find any useful files for his version (6.12.161.8)
So we need the 6.12.161.8 firmware or the 6.12.161.8 ota zip file
alray said:
So I helped him ( @XFX-Gaming ) via team viewer. Bootloader is S-ON and Re-Locked. We got a fresh Unlock_code.bin from HTCDev.com. The unlock code flash fine and the bootloader unlock screen shows up. When selecting "yes" to unlock, phone attemps to boot in recovery and hangs at the "entering recovery" white screen. When force reboot to the bootloader, still re-locked.
Any idea @nkk71 @clsA @Danny201281 ?
I think we should reflash the firmware in RUU mode but can't find any useful files for his version (6.12.161.8)
So we need the 6.12.161.8 firmware or the 6.12.161.8 ota zip file
Click to expand...
Click to collapse
Yeah your dead right. Fixed this same issue in the Unbrick Thread just the other day.
Flashing the firmware and getting a new Unlock_code.bin fixed it.
alray said:
So I helped him ( @XFX-Gaming ) via team viewer. Bootloader is S-ON and Re-Locked. We got a fresh Unlock_code.bin from HTCDev.com. The unlock code flash fine and the bootloader unlock screen shows up. When selecting "yes" to unlock, phone attemps to boot in recovery and hangs at the "entering recovery" white screen. When force reboot to the bootloader, still re-locked.
Any idea @nkk71 @clsA @Danny201281 ?
I think we should reflash the firmware in RUU mode but can't find any useful files for his version (6.12.161.8)
So we need the 6.12.161.8 firmware or the 6.12.161.8 ota zip file
Click to expand...
Click to collapse
My German is not so great but look here >> http://www.handy-faq.de/forum/htc_o...c_one_firmwaresammlung_ruus_otas_backups.html
Here you go
zHi5k0 said:
My stautus is relocked. This is the problem. When I'm trying to unlock it with HTCDev method it 's trying to get to recovery but there's no recovery.
Click to expand...
Click to collapse
Danny201281 said:
Ok that makes some sense, you probably have a minor firmware incompatiblity that's causing this problem.
Download this firmware zip and put it in your fastboot folder. Rename it "firmware.zip"
http://xda7.androidrevolution.org/db_mirror/Firmware/HTC/HTC_One/401/6.09.401.11.zip
Reboot the phone into the bootloader and connect fastbootusb.
In the fastboot command line type.
Code:
fastboot erase cache
fastboot oem rebootRUU
**---case sensitive ---^^^
Your phone will reboot to a black screen with silver HTC logo. This is ruu mode we can now flash the firmware.
Code:
fastboot flash zip firmware.zip
The first flash is just a pre-update. The screen will go off and then return to ruu mode. Flash the zip again immediately.
Code:
fastboot flash zip firmware.zip
The second flash will flash the firmware, the progress bar on the screen will not reach 100% this is normal as long as the command line has finished it's output it's done.
Code:
fastboot reboot-bootloader
When that's done go to htcdev.com and go through the entire unlock my bootloader to get a new Unlock_code.bin then use it to Unlock your bootloader. :good:
The firmware will also restore your Stock Recovery, so after the unlock you will need to flash a new custom recovery.
Click to expand...
Click to collapse
zHi5k0 said:
I have an unlocked phone now. Thank you very much. I have no words about the help you did to me. Please tell me what should I do for getting the phone back to stock without bricking it again.
Click to expand...
Click to collapse
Danny201281 said:
Yeah your dead right. Fixed this same issue in the Unbrick Thread just the other day.
Flashing the firmware and getting a new Unlock_code.bin fixed it.
Click to expand...
Click to collapse
Thanks for the info
clsA said:
My German is not so great but look here >> http://www.handy-faq.de/forum/htc_o...c_one_firmwaresammlung_ruus_otas_backups.html
Click to expand...
Click to collapse
Nice collection, everything about x.xx.161.x can be found there... except the 6.12.161.8 firmware or ota we need
Btw the OP also have a thread about his issue on that forum here
and it looks like even them don't have the 6.12.161.8 firmware
will ask in the update thread just in case someone have it.
Mike1986 has 6.12.161.5 in his repository but thats the closest i can find
@alray, i'm capturing 6.12.161.9 OTA (didnt get the .8 one, got straight to .9).... i'll post firmware once i have it
@alray here is the signed firmware from 6.12.161.9
https://www.dropbox.com/s/ov1x96x8c5qhyb6/signed_ota_firmware_6.12.161.9.zip?dl=0
Code:
modelid: PN0710000
cidnum: VODAP001
cidnum: VODAP102
cidnum: VODAPE17
cidnum: VODAP405
cidnum: VODAP304
cidnum: VODAPD18
cidnum: VODAP120
cidnum: VODAP110
mainver: 6.12.161.9
btype:1
aareport:1
hbootpreupdate:3
as this is only an OTA update it only contains:
Code:
android-info.txt
boot.img
hboot_signedbyaa.img
rcdata.img
recovery.img
splash1.nb0
I was able to capture (even while on SuperCID )
OTA_M7_UL_K443_SENSE60_MR_Vodafone_UK_6.12.161.5-5.16.161.2_release_387413_VodaIT.zip (608 MB)
then
OTA_M7_UL_K443_SENSE60_MR_Vodafone_UK_6.12.161.9-6.12.161.5_release_401650aawyk6dy4kqo5flm.zip (250 MB)
don't know why no 6.12.161.8.... i'll try again in a bit (using different CID), so if you wanna wait to see if i can get the .8 version i'll let you know shortly....
@alray EDIT: just changed cid to VODAP102 and got the 6.12.161.8 update info..... downloading... (i've removed the other one from my dropbox)
nkk71 said:
@alray here is the signed firmware from 6.12.161.9
https://www.dropbox.com/s/ov1x96x8c5qhyb6/signed_ota_firmware_6.12.161.9.zip?dl=0
Code:
modelid: PN0710000
cidnum: VODAP001
cidnum: VODAP102
cidnum: VODAPE17
cidnum: VODAP405
cidnum: VODAP304
cidnum: VODAPD18
cidnum: VODAP120
cidnum: VODAP110
mainver: 6.12.161.9
btype:1
aareport:1
hbootpreupdate:3
as this is only an OTA update it only contains:
Code:
android-info.txt
boot.img
hboot_signedbyaa.img
rcdata.img
recovery.img
splash1.nb0
I was able to capture (even while on SuperCID )
OTA_M7_UL_K443_SENSE60_MR_Vodafone_UK_6.12.161.5-5.16.161.2_release_387413_VodaIT.zip (608 MB)
then
OTA_M7_UL_K443_SENSE60_MR_Vodafone_UK_6.12.161.9-6.12.161.5_release_401650aawyk6dy4kqo5flm.zip (250 MB)
don't know why no 6.12.161.8.... i'll try again in a bit (using different CID), so if you wanna wait to see if i can get the .8 version i'll let you know shortly....
@alray EDIT: just changed cid to VODAP102 and got the 6.12.161.8 update info..... downloading... (i've removed the other one from my dropbox)
Click to expand...
Click to collapse
Thanks so much!
 @XFX-Gaming New hope :good:

Need help to get HTC ONE M7 back to stock for selling

Hi,
I have to excuse in advance. I guess this questions is asked every day but I've now spent 2 days trying so I'm now open for help
I've got an HTC ONE M7 approx. 2 years ago and directly installed cyanogenmod without making a backup before. Now I want to sell it so I need to get back to stock.
I'm on Mac but I could also access a Windows PC if needed.
I have adb and fastbook working.
I've already replaced TWRP (hopefully with the correct recovery.img from stock).
I'm stuck in finding the correct files I need for my phone. Here are my details:
Code:
$ fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.29.3218.08
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.09.401.5
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: FA399W909059
(bootloader) imei: 357864054972268
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__102
(bootloader) battery-status: good
(bootloader) battery-voltage: 4285mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: RUU
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
Code:
$ fastboot getvar cid
cid: HTC__102
I've read that I first have to get S-OFF before I can do anything stock. I've understand that I therefore have to flash a ruu.zip (or run a corresponding.exe fiel in Windows). I've downloaded this file:
RUU Zip M7_UL_JB_50_HTC_Europe_1.28.401.7_Radio_4A.13.3231.27_10.31.1131.05_release_310878_signed.zip
Problem is that I always get this error in fastboot:
Code:
$ fastboot flash zip ruu.zip
target reported max download size of 1514139648 bytes
sending 'zip' (1009792 KB)...
OKAY [ 45.252s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) Read zipped android_info fail
FAILED (remote: 99 unknown fail)
What am I missing here?
...ah and the phone in bootloader says I've got HBOOT 1.57. As I understand that's a problem I've need to get down to 1.44 or something like that.
Even though I'm a programmer I'm really confused now
KonstantinJ said:
Hi,
I have to excuse in advance. I guess this questions is asked every day but I've now spent 2 days trying so I'm now open for help
I've got an HTC ONE M7 approx. 2 years ago and directly installed cyanogenmod without making a backup before. Now I want to sell it so I need to get back to stock.
I'm on Mac but I could also access a Windows PC if needed.
I have adb and fastbook working.
I've already replaced TWRP (hopefully with the correct recovery.img from stock).
I'm stuck in finding the correct files I need for my phone. Here are my details:
Code:
$ fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.29.3218.08
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.09.401.5
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno:
(bootloader) imei:
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__102
(bootloader) battery-status: good
(bootloader) battery-voltage: 4285mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: RUU
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
Code:
$ fastboot getvar cid
cid: HTC__102
I've read that I first have to get S-OFF before I can do anything stock. I've understand that I therefore have to flash a ruu.zip (or run a corresponding.exe fiel in Windows). I've downloaded this file:
RUU Zip M7_UL_JB_50_HTC_Europe_1.28.401.7_Radio_4A.13.3231.27_10.31.1131.05_release_310878_signed.zip
Problem is that I always get this error in fastboot:
Code:
$ fastboot flash zip ruu.zip
target reported max download size of 1514139648 bytes
sending 'zip' (1009792 KB)...
OKAY [ 45.252s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) Read zipped android_info fail
FAILED (remote: 99 unknown fail)
What am I missing here?
...ah and the phone in bootloader says I've got HBOOT 1.57. As I understand that's a problem I've need to get down to 1.44 or something like that.
Even though I'm a programmer I'm really confused now
Click to expand...
Click to collapse
If your just selling the device then s-off really is at your discretion.
Basically it's like this if you want the device 100% stock (Normally only for warranty purposes) then you require s-off.
With s-off you can set the bootloader status to ***LOCKED*** and remove Tampered flag. You can restore a stock RUU, Also reset device to s-on.
With s-on you can only set bootloader to ***RELOCKED*** and flash a stock RUU. The device will be full stock but have signed it was tampered with in the past. This would be adequate if your just selling the device on.
Because the device is s-on you must relocked the bootloader before flashing the ruu to avoid signature errors. Also you can only use an ruu that updates your firmware. Since your on kitkat firmware you'll need a lollipop ruu. You can find it here http://forum.xda-developers.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944
You will want one of the M7_UL .401 ruu's i.e 7.19.401.2. There are some special conditions for flashing these ruu's full instructions are in the first post. Make sure you pay special attention to the bit about htc_fastboot :good:
Sent from my HTC One M9 using Tapatalk
Hi, thanks for reply.
I need it 100% stock since I'm selling it to an agency which won't accept it otherwise.
I've already downloaded PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.2_Radio_4T.35.3218.16_10.33Q.1718.01L_release_421790_signed.zip before. I tried to flash it with fastboot flash zip, but that didn't work. It said something like wrong zip header. Or do I have to install that in a different way?
Or do I first have to make it S-OFF? I've found rumrunner for HBOOT => 1.5x. I'm just preparing an Ubuntu usb stick to work with since this tool seems to not work on osx.
KonstantinJ said:
Hi, thanks for reply.
I need it 100% stock since I'm selling it to an agency which won't accept it otherwise.
I've already downloaded PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.2_Radio_4T.35.3218.16_10.33Q.1718.01L_release_421790_signed.zip before. I tried to flash it with fastboot flash zip, but that didn't work. It said something like wrong zip header. Or do I have to install that in a different way?
Or do I first have to make it S-OFF? I've found rumrunner for HBOOT => 1.5x. I'm just preparing an Ubuntu usb stick to work with since this tool seems to not work on osx.
Click to expand...
Click to collapse
Well if you need 100% stock then you need s-off. Don't bother with rum runner it won't work with your hboot. Only works up-to 1.55.
You'll need to use Sunshine to get s-off bit it costs $25.Unless you know someone with an XTC clip who can s-off for you.
Once you've got s-off look here for a guide to return to 100% stock. http://forum.xda-developers.com/showthread.php?t=2541082
Sent from my HTC One M9 using Tapatalk
I guess then I will do it "almost" stock since I don't want to spent money when I want to sell this thing afterwards.
But while I'm on S-ON, am I'm able to install PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.2 _Radio_4T.35.3218.16_10.33Q.1718.01L_release_42179 0_signed.zip? fastboot flash zip still doesn't work. Also I tried installing it with TWRP recovery but then it's just restarting every time I try to install the zip.
KonstantinJ said:
I guess then I will do it "almost" stock since I don't want to spent money when I want to sell this thing afterwards.
But while I'm on S-ON, am I'm able to install PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.2 _Radio_4T.35.3218.16_10.33Q.1718.01L_release_42179 0_signed.zip? fastboot flash zip still doesn't work. Also I tried installing it with TWRP recovery but then it's just restarting every time I try to install the zip.
Click to expand...
Click to collapse
So did you relock the bootloader? And did you use htc_fastboot?
Sent from my HTC One M9 using Tapatalk
Yes, it's relocked now. This is what I get:
Code:
$ fastboot flash zip PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.2_Radio_4T.35.3218.16_10.33Q.1718.01L_release_421790_signed.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 162706427 is not a multiple of the block size 4096
sending sparse 'zip' (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 162706427 is not a multiple of the block size 4096
What is htc_fastboot? I'm using the fastboot which comes from the osx android sdk. Has htc created their own tool?
KonstantinJ said:
Yes, it's relocked now. This is what I get:
Code:
$ fastboot flash zip PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.2_Radio_4T.35.3218.16_10.33Q.1718.01L_release_421790_signed.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 162706427 is not a multiple of the block size 4096
sending sparse 'zip' (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 162706427 is not a multiple of the block size 4096
What is htc_fastboot? I'm using the fastboot which comes from the osx android sdk. Has htc created their own tool?
Click to expand...
Click to collapse
Yeah HTC has there own fastboot. Google's generic fastboot can't handle zips larger than 1.5gb. Since HTC lollipop ruu's are 2gb or more you need HTC fastboot.
I'll edit with a link shortly :good: @KonstantinJ
https://www.htcdev.com/process/legal_fastboot_mac
Replace your existing fastboot with the one from htcdev.com
Sent from my HTC One M9 using Tapatalk
Code:
$ ./fastboot-mac flash zip "PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.2_Radio_4T.35.3218.16_10.33Q.1718.01L_release_421790_signed.zip"
sending 'zip' (1637616 KB)... FAILED (remote: 02 data length is too large)
I guess this message does not mean what it actually says. According to google it's still the wrong version. Although it worked to send the zip of "RUU Zip M7_UL_JB_50_HTC_Europe_1.28.401.7_Radio_4A.13.3231.27_10.31.1131.05_release_310878_signed" since it's less than 1GB but then the signature check fails.
Hm.
KonstantinJ said:
Code:
$ ./fastboot-mac flash zip "PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.2_Radio_4T.35.3218.16_10.33Q.1718.01L_release_421790_signed.zip"
sending 'zip' (1637616 KB)... FAILED (remote: 02 data length is too large)
[emoji14]
I guess this message does not mean what it actually says. According to google it's still the wrong version. Although it worked to send the zip of "RUU Zip M7_UL_JB_50_HTC_Europe_1.28.401.7_Radio_4A.13.3231.27_10.31.1131.05_release_310878_signed" since it's less than 1GB but then the signature check fails.
Hm.
Click to expand...
Click to collapse
Do you have access to a windows machine at all?
I don't know for sure that fastboot-mac is designed to work with larger zips. It came from HTC so how would think so but 02 data length too large is basically the same problem. The file is to big for fastboot.
htc_fastboot.exe works fine but only on windows
Sent from my HTC One M9 using Tapatalk
Mh maybe that's the problem. Will try it on Windows then later. Do you know if I need to install special htc drivers there? And do I need the android sdk platform tools when I use the htc_fastboot or are the libraries bundled with the exe file?
KonstantinJ said:
Mh maybe that's the problem. Will try it on Windows then later. Do you know if I need to install special htc drivers there? And do I need the android sdk platform tools when I use the htc_fastboot or are the libraries bundled with the exe file?
Click to expand...
Click to collapse
Download the android sdk tools for windows and put the htc_fastboot.exe file in the same folder where the standard fastboot is (C:\Programs\Android SDK Tools\platform-tools), htc_fastboot need the same .dll files as the standard fastboot to work. You'll also need to instal HTC drivers on the computer and make sure you do not have HTC Sync installed, it will cause problems when using fastboot.

802w bricked, "decrypt storage"

Hi there.
Well, my 802w (M7Cdug) is bricked. First it used to have this cycle of "turn on - work for a couple of minutes - restart - work for a couple of minutes", when I woke up next day after leaving it on cable I got this message of "decrypt storage, to start Android enter your password", of course whatever password I write it ends up with "pasword is correct, but data is corrupt", then it suggests to hard reset the phone. Doing that ends up with opening the Android system recovery with the following info in the log:
Code:
E:failed to mount /data (Invalid argument).. try emmc mount handle_cota_install: Can't mount /data/data/cwtemp/cwpkg.zi, 508056 times
Wiping cache partition (which is completed) and wiping data (which ends up with the same info and information on completion) does nothing.
Getting to the bootloader it says it's locked.
What else have I tried (I'm a real newbie in this topic so I might have done something absolutely stupid which couldn't have worked, but if you have any solution, please tell me):
* Unlocking: using the command "fastboot flash unlocktoken Unlock_code.bin" makes the phone show the "Unlock bootloader?" screen, choosing yes restarts it and makes it go back to the recovery screen, going back to the bootloader it's still locked.
* Moonshine S-OFF: ends up with "ERROR: run distiller again and READ"
* Minimal ADB and Fastboot & TWRP: the device is connected, doing the "fastboot flash recovery" ends up with "(bootloader) signature checking... FAILED (remote: signature verify fail)" and the "fastboot oem unlock" with "Command error".
* Minimal ADB and Fastboot & RUU: running "rebootRUU" ends up with phone again at the decrypt screen, getting it back there and running flash zip RUU.zip ends up with: signature checking / rom parsing start / rom parsing finish / FAILnot allowed / FAIL (remote: not allowed)"
I'm out of ideas - maybe I'm doing something wrong? If you guys have any idea what can help or if you'd like to help eg. via a TeamViewer I would be really thankful - having a $200 brick is not really satysfying, as well as having to use a shabby Xperia J with a broken screen as I can't afford anything new
If you need some info on what files should be used here's some stuff I got from fastboot getvar all:
Code:
(bootloader) version: 0.5
(bootloader) version-bootloader: 2.49.0000
(bootloader) version-baseband: U3.19.3509.04
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 7.17.402.55
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: ...
(bootloader) imei: ...
(bootloader) meid: 00000000000000
(bootloader) product: m7cdug
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0771000
(bootloader) cidnum: HTC__032
(bootloader) battery-status: good
(bootloader) battery-voltage: 4281mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-d0e3b226
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Bump?
Like... seriously? Nothing can be done?
YacoobPL said:
Wiping cache partition (which is completed) and wiping data (which ends up with the same info and information on completion) does nothing.
Click to expand...
Click to collapse
* Unlocking: using the command "fastboot flash unlocktoken Unlock_code.bin" makes the phone show the "Unlock bootloader?" screen, choosing yes restarts it and makes it go back to the recovery screen, going back to the bootloader it's still locked.
Click to expand...
Click to collapse
* Minimal ADB and Fastboot & RUU: running "rebootRUU" ends up with phone again at the decrypt screen
Click to expand...
Click to collapse
These 3 symptoms make it sounds like your Emmc might be faulty
* Minimal ADB and Fastboot & TWRP: the device is connected, doing the "fastboot flash recovery" ends up with "(bootloader) signature checking... FAILED
Click to expand...
Click to collapse
You must have an unlocked bootloader to flash the recovery partition, it can't be unlocked so trying to flash recovery is useless, will not work.
"fastboot oem unlock" with "Command error".
Click to expand...
Click to collapse
fastboot oem unlock isn't a supported command on your model, on the GPE variant can be unlocked this way.
,
* Minimal ADB and Fastboot & RUU: running "rebootRUU" ends up with phone again at the decrypt screen getting it back there and running flash zip RUU.zip ends up with: signature checking / rom parsing start / rom parsing finish / FAILnot allowed / FAIL (remote: not allowed)"
Click to expand...
Click to collapse
Getting it back where? In bootloader? RUU can only be flashed when booted in RUU mode (black screen with silver HTC logo). If you're not booted at this screen, trying to flash RUU is useless, will not work.
If you guys have any idea what can help
Click to expand...
Click to collapse
The dual sim variant can be flashed using the external sd card. Rename the RUU file to "PN071IMG.zip" (watch out for souble file extension when renaming). Move the file at the root of your external sd card (must be formatted using FAT32), reboot in bootloader mode and you should be asked if you want to update. Btw what RUU were you using? With S-On you can only use the same (or newer) RUU than your version-main number (you're already on the newest version so only the 7.17.402.55 should work, hope you already have it cause I cant find this version).
Also the ouput of "fastboot oem dmesg" and "fastboot oem last_dmesg" might help determine any hardware failure.

New to forum - Help Required

I got a HTC phone from a friend and I do not know how to find out the model. Also it does not have an OS on it and I am looking to find out how to install one. I read a few of the threads and could not figure out what the terms meant. Such as OTG, RUU,ADB, TWRP, ETC. So I am not able to follow. Please assist me if you can.
You say it doesn't have an OS on it, so it's basically a blank device that you need to install an OS on.
Th easiest way for us to identify it would be for you to take a photo of it and post it here for us to look at. Once we know what model of HTC you have, we can easily help you get Android back on there.
Or if you can find it on the HTC website, that would help. Or even Google somewhere.
the_scotsman said:
You say it doesn't have an OS on it, so it's basically a blank device that you need to install an OS on.
Th easiest way for us to identify it would be for you to take a photo of it and post it here for us to look at. Once we know what model of HTC you have, we can easily help you get Android back on there.
Or if you can find it on the HTC website, that would help. Or even Google somewhere.
Click to expand...
Click to collapse
I found that it is an HTC One M7.
Ah in that case, take a look in our HTC One M7 forums: https://forum.xda-developers.com/htc-one
In "HTC language", an RUU is a ROM, which is what you need in order to flash the OS back onto your device.
I haven't owned an HTC for a number of years now, so I can't recall the place place to find stock firmware (RUU) files.
I will move this thread to the M7 Q&A forum for you, so that hopefully someone else can assist you further.
It will probably help if you can let us know which region you are from, as firmware is often region specific. Which country?
the_scotsman said:
Ah in that case, take a look in our HTC One M7 forums: https://forum.xda-developers.com/htc-one
In "HTC language", an RUU is a ROM, which is what you need in order to flash the OS back onto your device.
I haven't owned an HTC for a number of years now, so I can't recall the place place to find stock firmware (RUU) files.
I will move this thread to the M7 Q&A forum for you, so that hopefully someone else can assist you further.
It will probably help if you can let us know which region you are from, as firmware is often region specific. Which country?
Click to expand...
Click to collapse
I am located in the United States. Montana.
Prayerwimp said:
I am located in the United States. Montana.
Click to expand...
Click to collapse
We"ll need a bit more info to indentify your phone. If you dont already have adb and fastboot installed on your computer, Google search for "minimal adb and fastboot". You should find an xda thread explaining how to set up adb and fastboot. Once done youll also need to install HTC drivers. It can be done by installing HTC Sync manager from htc's website. Then connect your phone using the usb calbe, boot in bootloader mode (power + volume down). Start the minimal adb and fastboot terminal window and type "fastboot getvar all" (without the quotes. Post the output of that command in this thread (take care to remove the imei and serialno lines before posting).
alray said:
We"ll need a bit more info to indentify your phone. If you dont already have adb and fastboot installed on your computer, Google search for "minimal adb and fastboot". You should find an xda thread explaining how to set up adb and fastboot. Once done youll also need to install HTC drivers. It can be done by installing HTC Sync manager from htc's website. Then connect your phone using the usb calbe, boot in bootloader mode (power + volume down). Start the minimal adb and fastboot terminal window and type "fastboot getvar all" (without the quotes. Post the output of that command in this thread (take care to remove the imei and serialno lines before posting).
Click to expand...
Click to collapse
I have installed the "minimal adb and fastboot" and HTC Sync manager.
This is what I came up with:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.56.0000
(bootloader) version-baseband: 4T.24.3218.09
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.20.502.1
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0713000
(bootloader) cidnum: T-MOB010
(bootloader) battery-status: good
(bootloader) battery-voltage: 3774mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-c6bbb6d4
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Thank you for your time and assistance. Next step please.
Prayerwimp said:
I have installed the "minimal adb and fastboot" and HTC Sync manager.
This is what I came up with:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.56.0000
(bootloader) version-baseband: 4T.24.3218.09
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.20.502.1
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0713000
(bootloader) cidnum: T-MOB010
(bootloader) battery-status: good
(bootloader) battery-voltage: 3774mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-c6bbb6d4
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Thank you for your time and assistance. Next step please.
Click to expand...
Click to collapse
There is a mismatch between your version-main and your cid/mid. The version-main (firmware version) is an old at&t version but your cid/mid are set to accept t-mobile firmware. That will be easy to fix but first what OS do you want on your phone? The latest official Sense rom (lollipop 5.0.2), latest GPE rom (lollipop 5.1) or latest custom rom (Nougat 7.1)?
alray said:
There is a mismatch between your version-main and your cid/mid. The version-main (firmware version) is an old at&t version but your cid/mid are set to accept t-mobile firmware. That will be easy to fix but first what OS do you want on your phone? The latest official Sense rom (lollipop 5.0.2), latest GPE rom (lollipop 5.1) or latest custom rom (Nougat 7.1)?
Click to expand...
Click to collapse
From what I understand it originally was an AT&T phone that was switched to T-Mobile. As for which OS. I am not picky so whichever is easiest and then I guess the newest.
Thanks again.
Prayerwimp said:
From what I understand it originally was an AT&T phone that was switched to T-Mobile. As for which OS. I am not picky so whichever is easiest and then I guess the newest.
Thanks again.
Click to expand...
Click to collapse
Is there a custom recovery installed on your phone, like TWRP or CWM?
Boot your phone in bootloader mode then select "recovery" and hit the power button. If you don't see "recovery'' that's because you"re booted in "fastboot" menu, in this case select "bootloader" and you should see the "recovery" option.
Your phone will reboot in recovery mode, just need to know what recovery is installed for now. If your phone is running stock recovery you will see an exclamation mark in a red triangle, otherwise you'll see TWRP splash screen or CWM menu. If booting to TWRP or CWM please report back what version number it is.
alray said:
Is there a custom recovery installed on your phone, like TWRP or CWM?
Boot your phone in bootloader mode then select "recovery" and hit the power button. If you don't see "recovery'' that's because you"re booted in "fastboot" menu, in this case select "bootloader" and you should see the "recovery" option.
Your phone will reboot in recovery mode, just need to know what recovery is installed for now. If your phone is running stock recovery you will see an exclamation mark in a red triangle, otherwise you'll see TWRP splash screen or CWM menu. If booting to TWRP or CWM please report back what version number it is.
Click to expand...
Click to collapse
Chose recovery from boot screen. ClockworkMod Recovery v6.0.4.3 is at top of screen with a list of options:
- Reboot system now
- Install zip
- Wipe data/factory reset
- Wipe cache partition
- Backup and restore
- Mounts and storage
- Advanced
Thanks.
Prayerwimp said:
Chose recovery from boot screen. ClockworkMod Recovery v6.0.4.3 is at top of screen with a list of options:
- Reboot system now
- Install zip
- Wipe data/factory reset
- Wipe cache partition
- Backup and restore
- Mounts and storage
- Advanced
Thanks.
Click to expand...
Click to collapse
Good, we can fix your CID and MID first. You can use this guide to write supercid to your phone. WIth your phone in bootloader mode (in the fastboot menu) Start the minimal adb and fastboot terminal then follow the guide from step 9 - 12.
Then to change your MID reboot in recovery and type:
Code:
adb shell
and
Code:
echo -ne '\x50\x00\x4e\x00\x30\x00\x37\x00\x31\x00\x30\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p6 bs=1 seek=16384
Better to copy/paste that one...
Then reboot in bootloader mode again and confirm your mid is now PN0710000 (your can use the "fastboot getvar all" command)
Download this firmware and save it in the same location where minimal adb and fastboot.exe is installed on your computer
WIth your phone in bootloader mode (fastboot menu) type (the command is case sensitive btw):
Code:
fastboot oem rebootRUU
Your phone will reboot in RUU mode, you should see a black screen with a silver HTC logo
type:
Code:
fastboot flash zip M7_UL_Firmware_7.19.401.2.zip
Should take a few seconds before saying : FAILED (remote: 90 hboot pre-update! please flush image again immediately).
So do the same command again:
Code:
fastboot flash zip M7_UL_Firmware_7.19.401.2.zip
The second time, it should take a few minutes and you'll see "okay" at the end, then proceed with
Code:
fastboot reboot-bootloader
Back in bootloader mode again, confirm your version-main is now 7.19.401.2 (use "fastboot getvar all")
If everything went fine you can proceed to the final steps:
Download this RUU and this version of htc_fastboot.exe and save both files in the same folder where you already have minimal adb and fastboot.exe.
reboot again in ruu mode:
Code:
fastboot oem rebootRUU
and once there type:
Code:
htc_fastboot flash zip RUU_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_signed.exe
The flash should take a while and your phone will reboot once during the process. Once 100% done you can reboot the phone and it will boot in the OS (android 5.0.2 with HTC Sense)
alray said:
Good, we can fix your CID and MID first. You can use this guide to write supercid to your phone. WIth your phone in bootloader mode (in the fastboot menu) Start the minimal adb and fastboot terminal then follow the guide from step 9 - 12.
Then to change your MID reboot in recovery and type:
Code:
adb shell
and
Code:
echo -ne '\x50\x00\x4e\x00\x30\x00\x37\x00\x31\x00\x30\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p6 bs=1 seek=16384
Better to copy/paste that one...
Then reboot in bootloader mode again and confirm your mid is now PN0710000 (your can use the "fastboot getvar all" command)
Download this firmware and save it in the same location where minimal adb and fastboot.exe is installed on your computer
WIth your phone in bootloader mode (fastboot menu) type (the command is case sensitive btw):
Code:
fastboot oem rebootRUU
Your phone will reboot in RUU mode, you should see a black screen with a silver HTC logo
type:
Code:
fastboot flash zip M7_UL_Firmware_7.19.401.2.zip
Should take a few seconds before saying : FAILED (remote: 90 hboot pre-update! please flush image again immediately).
So do the same command again:
Code:
fastboot flash zip M7_UL_Firmware_7.19.401.2.zip
The second time, it should take a few minutes and you'll see "okay" at the end, then proceed with
Code:
fastboot reboot-bootloader
Back in bootloader mode again, confirm your version-main is now 7.19.401.2 (use "fastboot getvar all")
If everything went fine you can proceed to the final steps:
Download this RUU and this version of htc_fastboot.exe and save both files in the same folder where you already have minimal adb and fastboot.exe.
reboot again in ruu mode:
Code:
fastboot oem rebootRUU
and once there type:
Code:
htc_fastboot flash zip RUU_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_signed.exe
The flash should take a while and your phone will reboot once during the process. Once 100% done you can reboot the phone and it will boot in the OS (android 5.0.2 with HTC Sense)
Click to expand...
Click to collapse
The first step changing the CID worked. But when I tried to change the MID I had a problem. When you say boot into recovery do you mean go into recovery from the hdboot screen? The only way adb can find the phone is from the fastboot screen. here is what I get when in recovery :
adb shell
adb server is out of date. killing...
ADB server didn't ACK
* failed to start daemon *
And when in Fastboot:
adb shell
adb server is out of date. killing...
* daemon started successfully *
error: device '(null)' not found
Also, When I boot into fastboot the phone is identified as Android in devices and the HTC Sync Manager finds it. In hdboot or recovery it is identified as "one" and HTC Sync Manager cannot find it.
Sorry for all the difficulties.
Thank you.
Prayerwimp said:
The first step changing the CID worked. But when I tried to change the MID I had a problem. When you say boot into recovery do you mean go into recovery from the hdboot screen? The only way adb can find the phone is from the fastboot screen. here is what I get when in recovery :
adb shell
adb server is out of date. killing...
ADB server didn't ACK
* failed to start daemon *
And when in Fastboot:
adb shell
adb server is out of date. killing...
* daemon started successfully *
error: device '(null)' not found
Also, When I boot into fastboot the phone is identified as Android in devices and the HTC Sync Manager finds it. In hdboot or recovery it is identified as "one" and HTC Sync Manager cannot find it.
Sorry for all the difficulties.
Thank you.
Click to expand...
Click to collapse
try with twrp recovery instead, you can download it from here and as usual, save it in the same folder where you have your minimal adb/fastboot.exe installed
to flash twrp, boot in bootloader mode (fastboot menu)
Code:
fastboot flash recovery twrp-3.2.1-0-m7.img
fastboot erase cache
fastboot reboot-bootloader
then select "recovery" and wait for twrp to boot (you'll see a twrp splash screen, then the twrp main menu. With your phone in twrp main menu, you should be able to use the adb commands.
I cannot figure out where ADB is located. The program I have installed allows me to use it from anywhere. Here is what shows up when I open the powershell. Isn't there a way to open the shell in any folder?
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\WINDOWS\system32>
Thank you.
alray said:
try with twrp recovery instead, you can download it from here and as usual, save it in the same folder where you have your minimal adb/fastboot.exe installed
to flash twrp, boot in bootloader mode (fastboot menu)
Code:
fastboot flash recovery twrp-3.2.1-0-m7.img
fastboot erase cache
fastboot reboot-bootloader
then select "recovery" and wait for twrp to boot (you'll see a twrp splash screen, then the twrp main menu. With your phone in twrp main menu, you should be able to use the adb commands.
Click to expand...
Click to collapse
I figured out how to start shell in a folder and was able to get TWRP to install. This is what I got.
target reported max download size of 1514139648 bytes
sending 'recovery' (12756 KB)...
OKAY [ 1.526s]
writing 'recovery'...
OKAY [ 0.870s]
finished. total time: 2.400s
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.059s]
finished. total time: 0.061s
rebooting into bootloader...
OKAY [ 0.039s]
finished. total time: 0.039s
Now with TWRP loaded I get a message about a partition. DoI want to have a parition??
Unmodified system partition
Keep system read only?
TWRP can leave your system partition unmodified to make it easier for you to take official updates. TWRP will be unable to prevent the stock ROM from replacing TWRP and will not offer to root you device.
installing zips or performing adb operations may still modify the system partition.
Now when I run code: "adb shell" this is what shows:
adb server is out of date. killing...
* daemon started successfully *
~ # 
And it just stays there.
Prayerwimp said:
I figured out how to start shell in a folder and was able to get TWRP to install. This is what I got.
target reported max download size of 1514139648 bytes
sending 'recovery' (12756 KB)...
OKAY [ 1.526s]
writing 'recovery'...
OKAY [ 0.870s]
finished. total time: 2.400s
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.059s]
finished. total time: 0.061s
rebooting into bootloader...
OKAY [ 0.039s]
finished. total time: 0.039s
Now with TWRP loaded I get a message about a partition. DoI want to have a parition??
Unmodified system partition
Keep system read only?
TWRP can leave your system partition unmodified to make it easier for you to take official updates. TWRP will be unable to prevent the stock ROM from replacing TWRP and will not offer to root you device.
installing zips or performing adb operations may still modify the system partition.
Click to expand...
Click to collapse
You can swipe the slider to "allow system modification"
Now when I run code: "adb shell" this is what shows:
adb server is out of date. killing...
* daemon started successfully *
~ # 
And it just stays there.
Click to expand...
Click to collapse
That is exactly what you want, you can now type your commands.
~ #  is the prompt telling you that you are root user from adb shell.
Is this correct?
PS C:\Users\praye\Desktop\HTC One M7> .\fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.61.0000
(bootloader) version-baseband: 4T.35.3218.16
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: HT36YW903409
(bootloader) imei: 354439050980004
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4129mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-0e2a13e5
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.105s
You can swipe the slider to "allow system modification"
I skipped this because I was not sure. Is there a way to go back and do this???
So I made it all the way to the last step and this is what I get:
PS C:\Users\praye\Desktop\HTC One M7> htc_fastboot flash zip RUU_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_signed.exe
htc_fastboot : The term 'htc_fastboot' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ htc_fastboot flash zip RUU_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.5 ...
+ ~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (htc_fastboot:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: The command htc_fastboot was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\htc_fastboot". See "get-help about_Command_Precedence" for more details.
I followed the suggestion and this is the result:
PS C:\Users\praye\Desktop\HTC One M7> .\htc_fastboot flash zip RUU_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.40
1.51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_signed.exe
htc_fastboot v3.0.9.2 (2015-05-29)
error: cannot load 'RUU_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_signed.exe'
htc_fastboot finished. total time: 0.355s
The phone has been powered down over the weekend.
Thanks for all the help.
Prayerwimp said:
Is this correct?
PS C:\Users\praye\Desktop\HTC One M7> .\fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.61.0000
(bootloader) version-baseband: 4T.35.3218.16
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: HT36YW903409
(bootloader) imei: 354439050980004
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4129mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-0e2a13e5
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.105s
You can swipe the slider to "allow system modification"
I skipped this because I was not sure. Is there a way to go back and do this???
So I made it all the way to the last step and this is what I get:
PS C:\Users\praye\Desktop\HTC One M7> htc_fastboot flash zip RUU_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_signed.exe
htc_fastboot : The term 'htc_fastboot' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ htc_fastboot flash zip RUU_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.5 ...
+ ~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (htc_fastboot:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: The command htc_fastboot was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\htc_fastboot". See "get-help about_Command_Precedence" for more details.
I followed the suggestion and this is the result:
PS C:\Users\praye\Desktop\HTC One M7> .\htc_fastboot flash zip RUU_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.40
1.51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_signed.exe
htc_fastboot v3.0.9.2 (2015-05-29)
error: cannot load 'RUU_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_signed.exe'
htc_fastboot finished. total time: 0.355s
The phone has been powered down over the weekend.
Thanks for all the help.
Click to expand...
Click to collapse
Will be easier to use the old terminal window (cmd.exe) instead of the powershell. You can call cmd.exe directly from the powershell by typing cmd.exe
alray said:
Will be easier to use the old terminal window (cmd.exe) instead of the powershell. You can call cmd.exe directly from the powershell by typing cmd.exe
Click to expand...
Click to collapse
PS C:\Users\praye\Desktop\HTC One M7> CMD.exe
Microsoft Windows [Version 10.0.16299.192]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Users\praye\Desktop\HTC One M7>fastboot oem rebootRUU
< waiting for device >
...
(bootloader) Start Verify: 0
OKAY [ 0.094s]
finished. total time: 0.095s
C:\Users\praye\Desktop\HTC One M7>htc_fastboot flash zip RUU_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_signed.exe
htc_fastboot v3.0.9.2 (2015-05-29)
error: cannot load 'RUU_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.51_Radio_4T.35.3218.16_10.33Q.1718.01L_release_458803_signed.exe'
htc_fastboot finished. total time: 0.302s
Here is the result. Not sure what I am doing wrong.
Thank you.

Categories

Resources