Tuesday, October 15, 2013

Stock system dumps (Android 4.3 with HTC Sense 5.5) for HTC One


Very important update is out since yesterday for HTC One user. Android Revolution HD 30.0 - the world first custom ROM based on Android 4.3 & HTC Sense 5.5 for HTC One is available for download on XDA-Developers threadHowever, there is always one problem when it comes to HTC updates - no RUUs (ROM Update Utility) officially available for download for regular users (HTC One Developer Edition and Google Edition seems to be the only exceptions). Why RUU is that important to us? I already made a short explanation here, but let's remind that again.

RUU (.exe) files for MS Windows are installers of complete firmware, including for example system or data partitions. Not having latest RUU means:
  1. users using custom ROMs can't download latest OTA from HTC,
  2. developers have no system dumps they can work with.
Ad. 1) If you want to download and flash latest OTA, your device must have completely stock system partition and recovery. Every OTA update is checking MD5 of each file on system partition to ensure .apk patch can be applied. If even one of 1000 files won't match, OTA update installation will fail. In this case you need to flash the latest official update you can find (even one year old) and later download official OTA updates.

Ad. 2) There are few workarounds, however none of them is as good as having a RUU:
  • adb pull /system in custom recovery mode*
  • cp /system /data/media/dump in custom recovery mode*
  • nandroid backup
  • boot partition can be taken from inside firmware.zip inside OTA .zip package or it can be dumped using dd if=</path/to/boot/partition> of=/data/media/boot.img
adb pull, cp or dd commands must be executed from custom recovery mode, otherwise system dump will be missing few important files or these files will have 0kb size. Also, keep in mind that adb features are heavily limited on stock un-rooted device. In case of dd command, root access (su) is needed to make such operation.

That's why I created my own stock system dumps (as a custom recovery .zip packages) for some HTC devices. I believe this can save a lot of time for many XDA users and developers.


Download links can be found on this blog, under Downloads section - Downloads


Have any questions or comments? Feel free to share! Also, if you like this article, please use media sharing buttons (Twitter, G+, Facebook) below this post!