Recovery create for htc Desire 500 One sim(z4u)

Search This thread

0lvin

Senior Member
Jan 12, 2014
59
84
I have tried to create recovery from scratch by this action sequence in CM11 sources:
  1. make otatools
  2. build/tools/device/mkvendor.sh htc z4u recovery.img
  3. source build/envsetup.sh
  4. lunch cm_z4u-eng
  5. fixes in device/htc/z4u/BoardConfig.mk (define cpu model and change partition sizes)
  6. . build/tools/device/makerecoveries.sh cm_z4u-eng
  7. fastboot recovery out/target/product/z4u/recovery.img

i have tried to use as recovery.img both images: boot.img and recovery.img from [Root]HTC Desire 500.

But without success - resulted recovery not booted and after select recovery in bootmenu - only several seconds showed message "entering recovery" after that turn off screen and several times blinked.

Also i tried to use rebuilt kernel from source (used source from HTCdev site + config from /proc/config.gz) with same result. May be i used wrong config?

Resulted BoardConfig.mk you can check there.

Do you have some suggestion what i do wrong or what instruction have used for create CWMRecovery_D500_Philz.img recovery?

Could you help with such problem?
 
Last edited:

0lvin

Senior Member
Jan 12, 2014
59
84
I have rebuilt recovery from cm 10.1 with config from 10.1 branch in "0lvin/htc_z4u" repository on github.

This build have issues with output: when selected 'odd' row in menu - image on screen moved to several pixels left, but generally recovery looks as usable. :fingers-crossed:
 

0lvin

Senior Member
Jan 12, 2014
59
84
Update for recovery:

* fixed bug with frame buffer(moving left/right on odd row).
* fixed boot for cm 11.0 version - now it is booted without any visible problem to recovery build from 11.0 cyanogenmod branch.
* fixed compilation warnings that block compilation.

For build need make copy of local_manifests/local_manifest.xml to /.repo/local_manifests/local_manifest.xml