Port Miui To Htc Desire HD

Discussion in 'Porting Advice/Help' started by Matgarro, Dec 1, 2010.

  1. Matgarro

    MatgarroMembers

    Dec 1, 2010
    9
    0
    11
    Hi. Is there some devolopers that can will work on the port for the HTC Desire HD?
    Thanks!
     
  2. mschmitt01

    mschmitt01Forum donator

    Nov 29, 2010
    119
    0
    26
    Probie, Learn all I can, be used and abused as muc
    New Glarus, Wisconsin, United States
    Currently working on a Hero port. If all goes well Ill start working on the desire HD as well...

    Sent from my Desire CDMA using Tapatalk
     
  3. Matgarro

    MatgarroMembers

    Dec 1, 2010
    9
    0
    11
    Great!

    Great!! I'll attend to you!! Thanks!
     
  4. Matgarro

    MatgarroMembers

    Dec 1, 2010
    9
    0
    11
    How is your work with the

    Hi! How is your work with the Legend? when you plan to start with the desire hd? :D:rolleyes:
     
  5. alain57

    alain57Members

    Dec 9, 2010
    112
    35
    38
    i'm also interested ... more in a porting tutorial, but well, if someone does the porting job i'll be happy too ^^
     
  6. alain57

    alain57Members

    Dec 9, 2010
    112
    35
    38
    I did some further tests (i'm not an expert, and no member give me advice ... so i try things that make sense for me, but i could be totaly wrong)

    I donwloaded the lastest MUI for N1 (because N1 always has last version before others)

    I extract the zip
    I changed the build.prop values
    Code:
    ro.build.tags=test-keys
    ro.product.model=Nexus One
    ro.product.brand=generic
    ro.product.name=libra_passion
    ro.product.device=passion
    ro.product.board=mahimahi
    ro.product.cpu.abi=armeabi-v7a
    ro.product.cpu.abi2=armeabi
    ro.product.manufacturer=HTC
    ro.product.locale.language=zh
    ro.product.locale.region=CN
    ro.wifi.channels=
    ro.board.platform=qsd8k
    # ro.build.product is obsolete; use ro.product.device
    ro.build.product=passion
    into (the one found on CM for DHD)

    Code:
    ro.build.tags=test-keys
    ro.product.model=Desire HD
    ro.product.brand=htc_wwe
    ro.product.name=htc_ace
    ro.product.device=ace
    ro.product.board=ace
    ro.product.cpu.abi=armeabi-v7a
    ro.product.cpu.abi2=armeabi
    ro.product.manufacturer=HTC
    ro.product.locale.language=zh
    ro.product.locale.region=CN
    ro.wifi.channels=
    ro.board.platform=qsd8k
    # ro.build.product is obsolete; use ro.product.device
    ro.build.product=ace

    I removed the asserts checks in the updater-script (so it will not say that i don't have the right phone ^^)
    I replace the boot.img by a CM 6.1 RC2 for DHD boot.img
    I deleted the /system/lib/modules and replaced it by the same directory from CM 6.1 RC2 for DHD

    zip the files, signed the zip file and put it on phone

    it flash ... but after a while, it give me an error 7 on write_raw_image("/tmp/boot.img", "boot") (so the last part of the flash has error :( )

    I tried the same without replacing the kernel and modules, but the same things happens ....

    if someone has ideas, i'll test it (it is almost impossible to brick an android phone ^^)
     
  7. Matgarro

    MatgarroMembers

    Dec 1, 2010
    9
    0
    11
    I don't know!

    I'm sorry but I can not help you. I do not understand anything about programming. we hope that some expert will give us a hand!
     
  8. alain57

    alain57Members

    Dec 9, 2010
    112
    35
    38
    i don't think that porting a rom need a lot of programming skill..., it is more logical skill (disable commands that are not for the device, add drivers or kernel, change the scripts ..) at least for having a beginning.
    I don't expect a first port to have all stuff working ....

    but like i'd say, i never ported a rom...
    android is free and open source, there is a great community, but for firmware stuff it is like you need to offer 500$ to receive help :( ....

    I can understand, than some people don't want to answer every noob question. But is this a reason for not having a tutorial or at least some advices ....
     
  9. C0mpu13rFr34k

    Dec 19, 2010
    11
    0
    11
    The DHD doesn't support that old update-script.

    I also tried porting both from the Desire Z and Evo but without success... All I did was change all the stuff in build.prop and the updater-script and I replaced the kernel + modules but it didn't even get past the HTC scrren :s
     
  10. Matgarro

    MatgarroMembers

    Dec 1, 2010
    9
    0
    11
    but???

    but then you can not 'desire to have miui on htc hd?? : (
     
  11. alain57

    alain57Members

    Dec 9, 2010
    112
    35
    38
    so you succeed in flashing it ? just a freeze on boot ???

    I didn't create an update-script ... i updated the updater-script
     
  12. C0mpu13rFr34k

    Dec 19, 2010
    11
    0
    11
    I had it booting but the build in keys didn't work :s
     
  13. alain57

    alain57Members

    Dec 9, 2010
    112
    35
    38
    from witch device did the port boot up ?
    maybe i did something wrong, or i forgot to check something ...
    you can count on me if you need a tester or help (you already had more luck than I)
     
  14. C0mpu13rFr34k

    Dec 19, 2010
    11
    0
    11
    The Desire Z. I have a lot of work to do ATM so I'm afraid this is going to have to wait but I'll be on it again when I have some time :)
     
  15. Matgarro

    MatgarroMembers

    Dec 1, 2010
    9
    0
    11
    hey!

    Hello guys! I hope you can soon make a version for the HTC HD desire. This rom has a phenomenal graphics! I could give you a hand I would gladly, but I do not understand anything about programming!
     
  16. redox

    redoxMembers

    Dec 25, 2010
    12
    0
    11
    Hi I am interested to help porting MIUI to the DHD ! :)
     
  17. redox

    redoxMembers

    Dec 25, 2010
    12
    0
    11
    So, I got 0.12.18 running.
    I took g4rb4g3 port to Desire Z from xda :
    http://forum.xda-developers.com/showthread.php?t=871344
    I changed the boot.img and the kernel modules from CM6.1-RC2.
    I copied the update-binary from the CM6.1-RC2 and patched updater-script, replacing vision by ace.

    It seems to work fine but... home/menu/back/search buttons are not working... there is haptic feedback when touching them, but no action.

    So, now, I am searching where the actions of these keys are set...
     
  18. redox

    redoxMembers

    Dec 25, 2010
    12
    0
    11
    I have got the built-in keys working, I copied the following files from CM6.1-RC2 to the MIUI filesystem :
    /system/usr/keychars/spade-keypad.kcm.bin
    /system/usr/keylayout/spade-keypad.kl
    /system/usr/keylayout/spade-keypad-v0.kl
     
  19. redox

    redoxMembers

    Dec 25, 2010
    12
    0
    11
    What is working :
    - Wifi
    - 3G
    - SMS

    What is not working :
    - Micro/Speaker (a little bit annoying on a phone :))

    I will post this edited ROM
     
  20. alain57

    alain57Members

    Dec 9, 2010
    112
    35
    38
    great news, thanks for the feedback...
    i never read something about copying the update-binary, but i'm glad you tried it

    did you also copy the /system/lib/modules from cyanogen to miui ?

    di you also try
    bluethooth
    camera
    a game (to be sure 3d is enabled, even if i guess it is... because Z and HD has the same GPU)
    the flash
    the light sensor


    once again thanks for the feedback and the tips i'll try to do same
     
  21. redox

    redoxMembers

    Dec 25, 2010
    12
    0
    11
    In fact, from what I have understood, update-binary is the executable who knows how to access to physical partition, so it may be the reason why it must be copied (not sure).

    Here is a summary of the files I copied :
    Code:
    /META-INF/com/google/android/update-binary
    /boot.img
    /system/lib/modules/*
    /system/usr/keychars/spade-keypad.kcm.bin
    /system/usr/keylayout/spade-keypad.kl
    /system/usr/keylayout/spade-keypad-v0.kl
    
    And I replaced "vision" by "ace" in META-INF/com/google/android/updater-script

    Bluetooth, camera, 3D, flash, proximity and ligne sensors are working for me

    To get sound working, I tried to copy these files from CM6.2-RC2, but did not get any sound :(

    Code:
    /system/lib/libhtc_acoustic.so
    /system/etc/firmware/*
    /system/etc/A1026_CFG.csv
    /system/etc/AudioBTID.csv
    /system/etc/CodecDSPID.txt
    /system/etc/AIC3254_REG_DualMic.csv
    /system/etc/AIC3254_REG.csv
    /system/etc/AdieHWCodec_WA.csv
    /system/etc/AdieHWCodec.csv
    
    I will try again tomorrow to get it working ! I am sure it can !! :)
     
  22. alain57

    alain57Members

    Dec 9, 2010
    112
    35
    38
    i will some time next week, so i'll see if i find a sollution for the sound... you already did the hard part of the work, zith sound and mic the rom will be fully ported ^^
     
  23. redox

    redoxMembers

    Dec 25, 2010
    12
    0
    11
    Good luck Alain ;)

    I am also trying to get the original N1 version of MIUI booting, as I think it would be cleaner to port from an original ROM.
    I have tried to copy all the previously mentioned files from CM but I still get black screen / boot loop after the green HTC :(
    I asked g4rb4g3 if he can provide me some hints !
     
  24. alain57

    alain57Members

    Dec 9, 2010
    112
    35
    38
    I just tried to port the z firmware and indeed there was no sound and Mic.
    but WiFi didn't work too I have error when enabling it
    I also saw that the camera do only 5mpx pics

    Maybe this came because I did not replace the firmware directory

    This Rom is beautiful but a lot iphonish but I love it

    I'll try further things in a couple of hours...
     
  25. redox

    redoxMembers

    Dec 25, 2010
    12
    0
    11
    My camera does also 5mpix, even with the CM firmware directory.
    I tried to copy libhtc_ril.so also, and files from /system/lib/hw, but cannot get the sound working :(
    Next time, I will play with libaudio.so and all audio-related files...
    For the camera, I will try to play with libaudio*.so...
     

Share Our Site