[SOLVED] Back to stock!

Search This thread

ArmyMan007

Senior Member
Jan 20, 2013
105
2
crc32: 1398a3c4
md5: 8e3ea22b68498b6510d4ca855cea6d09
sha-1: 33cc2bfeebdce7337256aa20368f65461091c7c4

Holy smokes!!! Great find! How did you manage to get this file? Do you have the site or repository where I can download the reset missing APKs?

Now I'm miussing HtcRingtoneTrimmer.apk... you can always check the OTA file I posted in the 6th page since it's in my dropbox :D
 

nkk71

Inactive Recognized Developer / Contributor
May 26, 2010
8,741
7,571
53
Beirut
Holy smokes!!! Great find! How did you manage to get this file? Do you have the site or repository where I can download the reset missing APKs?

Now I'm miussing HtcRingtoneTrimmer.apk... you can always check the OTA file I posted in the 6th page since it's in my dropbox :D
I'll try to make a flashable zip for you later
 
  • Like
Reactions: ArmyMan007

ArmyMan007

Senior Member
Jan 20, 2013
105
2
I'll try to make a flashable zip for you later

If you think that's best, although I don't really need a flashable zip. All I need are the missing files. Then again, it could be useful for A LOT of people who have HTC one with same CID (HTC_332) and MID (PNO711000) that I got...
 

nkk71

Inactive Recognized Developer / Contributor
May 26, 2010
8,741
7,571
53
Beirut
If you think that's best, although I don't really need a flashable zip. All I need are the missing files. Then again, it could be useful for A LOT of people who have HTC one with same CID (HTC_332) and MID (PNO711000) that I got...

Here you go:

HtcRingtoneTrimmer.apk
CRC32: AF938B78
MD5: 9C663CA1BFA9C13C149861FAED5D411A
SHA-1: 8A7899FC3128C78FA9653A3718A651AF96CCF25B

You'll also need the TuneIn.apk, though the update will actually remove it :p
 

Attachments

  • HtcRingtoneTrimmer.apk
    890.1 KB · Views: 45
  • TuneIn.apk
    9 MB · Views: 31
  • Like
Reactions: ArmyMan007

ArmyMan007

Senior Member
Jan 20, 2013
105
2
Here you go:

HtcRingtoneTrimmer.apk
CRC32: AF938B78
MD5: 9C663CA1BFA9C13C149861FAED5D411A
SHA-1: 8A7899FC3128C78FA9653A3718A651AF96CCF25B

You'll also need the TuneIn.apk, though the update will actually remove it :p

IT WORKED!!! I got the OTA up and running and I'm a VERY happy HTC One (M7) 4.4.2 Sense 6 Owner!!! :D:D:D

So... what was your source?! :laugh:

HOWEVER, I still need to work out the hboot 1.56 s-off thingy... I'll just have to wait until someone will work a solution for it...
 
Last edited:

ArmyMan007

Senior Member
Jan 20, 2013
105
2
As far as I'm concrned, this thread can be tagged "SOLVED". Just want to know where did nkk71 got his files from :)

Thanks a bunch for everyone for helping out! :D
 

nkk71

Inactive Recognized Developer / Contributor
May 26, 2010
8,741
7,571
53
Beirut
As far as I'm concrned, this thread can be tagged "SOLVED". Just want to know where did nkk71 got his files from :)

Thanks a bunch for everyone for helping out! :D

to mark the thread as solved, you need to edit main thread title to include [SOLVED],
edit the first post -> at the bottom of the edit window, click Go Advanced, and then you can edit main title.

As to where I got the files from, it's a secret :p

I looked at the updater-script of the OTA, found those relating to the /data/preload files:
Code:
apply_patch_check("/data/preload/HtcRingtoneTrimmer.apk", "d4ef040a3d1bffb78fca0c0a2576eef9c25340ac", "8a7899fc3128c78fa9653a3718a651af96ccf25b") || abort("\"/data/preload/HtcRingtoneTrimmer.apk\" has unexpected contents.");

apply_patch_check("/data/preload/HtcSoundRecorder.apk", "33cc2bfeebdce7337256aa20368f65461091c7c4", "91cc5d7b1e679b473a3e6166ad472f83589fcc80") || abort("\"/data/preload/HtcSoundRecorder.apk\" has unexpected contents.");

fileexist("/data/preload/TuneIn.apk");
The first hash is the updated version of the apk, the second is the original version your ROM should come with, but the OTA will function with either one -> ie, if it finds the original version it will patch it, or if it finds the already patched (updated) version it will just skip updating it (since it's already updated).


Now those are just standard apks, nothing really related to carrier, modelid, etc. so where better to look than a stock ROM :eek: :D

So I checked the "One_4.19.401.11_odexed.zip" ROM, and got the correct hash for HtcRingtoneTrimmer.apk (the one your ROM should have), but not the HtcSoundRecorder.apk, and since I wasn't about to start looking for, and downloading 4.2x ROMs, I checked the 5.11.401.10 stock ROM, and found the updated version of HtcSoundRecorder.apk (this would have probably crashed on your 4.22 ROM, but for the OTA to go through it would be fine).

Tada :p


PS: you're on hboot 1.57 now
 

nkk71

Inactive Recognized Developer / Contributor
May 26, 2010
8,741
7,571
53
Beirut
Yeah... tell me about it :crying: Although the update worked great, I discovered another problem which also includes hboot 1.57... I'll open a new thread for my problem, since my question was already resolved :)
Only way to s off 1.56 and 1.57 is using firewater at the moment, if you get "whelp, etc. Firewater cannot work for your device..." then you cannot s off
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Well, I tried to do it the way you showed me. Unfortunately, halfway through the update I get is this exclamation mark, seen here:
    7203945_f260.jpg


    Interesting enough, the system update deletes itself, so I have to re-download the system update all over again...

    What should I do? :crying:

    does the update actually fail halfway through, or at the beginning, when you get that red triangle, if your press volume up and power button it will go to another screen and tell you why it failed, that volume up / power button thing isn't very effective and you will have to mess about with it a couple of times to get the other menu.
    1
    I did so. It just booted up my phone and didn't show anything... :(

    that's recovery rebooting your phone, like I said you have to mess about with it, have a look on your internal storage and see if there is an update log or recovery log on your phone, usually the OTA will only delete itself if the update was successful
    1
    Found it!!!

    So... where do I find this APK file and how should I install it again (I have enabled installation from unknown sources)?

    yup, knew it, same problem as a lot of other users, data/preload is missing, im just downloading your previous OTA from HTC, finished in about 15mins, I will pull the files you need out of it and upload them, you can then download it and stick them on your phone.
    1
    ohhhhhh..... okay! So I'll go to the /data and create a folder, give it permissions by rwxrwx--x and then add files with permissions rw-r--r--

    I'll just do this and try to update every single time. That way I'll see what I'll have to put on /data/preload.


    Yup you can try that, its a long way to go about things, but yes that would work.
    1
    missing HtcSoundRecorder for my phone. Please help! :crying:

    Here's an apk