[MAG/CLK][DEV]Sense 5 on HD2[WIP][SOUND]

What would you like next?


  • Total voters
    134
  • Poll closed .
Search This thread

gilbert32

Senior Member
Apr 4, 2011
1,038
1,438
In the universe
READ CAREFULLY BEFORE POSTING - This Rom is for Developers only - DO NOT flash unless you know what you are doing
As the thread's title says, this thread is for devs who want to try porting/port sense 5.
Maybe devs can all share knowledge/fixes/thoughts on porting a sense 5 rom to the HD2

Now take a moment and Please Read carefully:
  • DO NOT disturb the thread/flame/troll/post unrelated stuff
  • DO NOT ask for a rom/help on flashing a rom if any gets available
  • NO ONE IS RESPONSIBLE if you brick your device in the near future. It's your fault and probably fixable by flashing right stuff

What we need:
JB sense kernel Booting starting from Here
DEVS!
someone with knowledge in modding jar/apk
People to support us in thread and show interest

Links 2nd post, updated (2014)​

Current port from desire 300.
  • Great thanks for marc1706, sportsstar89, dungphp, rick1995, cotulla, kokotas, szezso, securecrt, htc, google, dft, myself, aazzam16661, daekin, tytung and everybody i forgot!
  • Thanks for ckpv5 for parts of rom, deodexed framework and anything else:)
  • Thanks for noobs for cluttering the thread :mad:
  • Thanks for timmymarsh for keeping the thread clean :laugh::good:
Please thank correct people with thanks button and NOT by flooding the thread with Thanks posts. Thanks

Irc Channel: #htc-leo
 
Last edited:

gilbert32

Senior Member
Apr 4, 2011
1,038
1,438
In the universe
Links, stuff

What's not working:
Wifi
Bluetooth
USB mass storage
sd card
Sound
Camera
Camcorder
720p playback
GPS?
many libs
mic


Downloads


Old instructions:
How to install:
  • download base, unzip
  • download updates, unzip
  • copy paste updates to zip, from oldest to newest (unless INSTRUCTED NOT to do so)
  • zip the whole package
  • copy paste to device and flash

We are not responsible if a cat bit you, or if your HD2 killed you

Code:
[U][B]Changelog:[/B][/U]
[B][COLOR="red"]8/27/2013[/COLOR][/B]: Initial release
[B][COLOR="red"]8/27/2013[/COLOR][/B]: Update1: 
fixed gsm
[B][COLOR="Red"]8/28/2013[/COLOR][/B]: Update1.5
Magldr Support
increased ion sf size
data works in magldr
[B][COLOR="Red"]Soon?[/COLOR][/B] [STRIKE]Next update:
New desire 500 base
Sound ? :) (partially working)
wifi?[/STRIKE]
[COLOR="red"][B]1/2/2014 update:[/B][/COLOR]
Desire 300 base
sound working
smoother
sd card fixed
minor stuff solved

 
Last edited:

gilbert32

Senior Member
Apr 4, 2011
1,038
1,438
In the universe
Enjoy while downloading

This is mine..
i can post a screenshot, but it's a black screen :p
EDIT: BOOTANIMATION!

attachment.php
attachment.php
attachment.php


 
Last edited:

aazzam16661

Senior Member
Aug 22, 2012
442
593
24
Gombak, Selangor
ok. from the logcat you attached, libcamera.so and media files are missing. add them
Diag_LSM_Init: Failed to open handle to diag driver, error = 2
error 2 is file not found. i think this is kernel related (source http://www.virtsync.com/c-error-codes-include-errno)

regarding other error, maybe there are libs missing for the hd2? and maybe build.prop is not correctly configured for hd2.

i have add them now.
What is a diag driver?
I will look into build.prop
 

quantan

Senior Member
Jan 26, 2011
341
162
Hi gilbert32,

I have 2 questions:
1. Which rom do you use to port? I saw there are some Sense 5 roms in XDA, but they are not for armv7. I wonder if it is possible to port them to HD2 :p
2. Do you think Sense 5 can run on HD2 with low spec? :D

And thanks for your hard work :good:
 

aazzam16661

Senior Member
Aug 22, 2012
442
593
24
Gombak, Selangor
Hi gilbert32,

I have 2 questions:
1. Which rom do you use to port? I saw there are some Sense 5 roms in XDA, but they are not for armv7. I wonder if it is possible to port them to HD2 :p
2. Do you think Sense 5 can run on HD2 with low spec? :D

And thanks for your hard work :good:

I'm porting trickdroid from a HTC One . HTC One snapdragon 600 is a armv7 too, so maybe.

http://en.wikipedia.org/wiki/Snapdragon_(system_on_chip)#Snapdragon_600

edit, change from HTC One to the Evo 4G LTE
 
Last edited:

aazzam16661

Senior Member
Aug 22, 2012
442
593
24
Gombak, Selangor
./system
./system/bin
./system/bin/qcks
./system/bin/sec-ril
./system/bin/qmuxd
./system/bin/efsks
./system/bin/diag_uart_log
./system/bin/netmgrd
./system/bin/gsiff_daemon
./system/bin/ks
./system/bin/rild
./system/bin/qmiproxy
./system/bin/secstarter
./system/etc
./system/etc/gps.conf
./system/lib
./system/lib/hw
./system/lib/hw/audio.primary.smdk4x12.so
./system/lib/hw/gps.default.so
./system/lib/hw/audio_policy.smdk4x12.so
./system/lib/libril-qc-qmi-1.so
./system/lib/libnetmgr.so
./system/lib/libaudio-ril.so
./system/lib/libloc_api_v02.so
./system/lib/libril-qcril-hook-oem.so
./system/lib/libqdp.so
./system/lib/libdsutils.so
./system/lib/libqmiservices.so
./system/lib/libqmi_client_qmux.so
./system/lib/libloc_adapter.so
./system/lib/libqmi_common_so.so
./system/lib/libqdi.so
./system/lib/libqmi.so
./system/lib/libcsd-client.so
./system/lib/libloc_eng.so
./system/lib/libqmi_encdec.so
./system/lib/libqcci_legacy.so
./system/lib/libqmi_cci.so
./system/lib/libssaudio-client.so
./system/lib/libidl.so
./system/lib/libril.so
./system/lib/libqmi_csi.so
./system/lib/libdiag.so
./system/lib/libdsi_netctrl.so
./system/lib/libgps.utils.so
./system/lib/libgps.so

Some of bin and lib in the above is missing in HD2, those anybody know a replacement.
 

TheRinseM

Senior Member
Jan 31, 2013
899
1,349
Jup thats right, fixing little bugs now.

Sent from my HTC Desire HD using xda app-developers app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 129
    READ CAREFULLY BEFORE POSTING - This Rom is for Developers only - DO NOT flash unless you know what you are doing
    As the thread's title says, this thread is for devs who want to try porting/port sense 5.
    Maybe devs can all share knowledge/fixes/thoughts on porting a sense 5 rom to the HD2

    Now take a moment and Please Read carefully:
    • DO NOT disturb the thread/flame/troll/post unrelated stuff
    • DO NOT ask for a rom/help on flashing a rom if any gets available
    • NO ONE IS RESPONSIBLE if you brick your device in the near future. It's your fault and probably fixable by flashing right stuff

    What we need:
    JB sense kernel Booting starting from Here
    DEVS!
    someone with knowledge in modding jar/apk
    People to support us in thread and show interest

    Links 2nd post, updated (2014)​

    Current port from desire 300.
    • Great thanks for marc1706, sportsstar89, dungphp, rick1995, cotulla, kokotas, szezso, securecrt, htc, google, dft, myself, aazzam16661, daekin, tytung and everybody i forgot!
    • Thanks for ckpv5 for parts of rom, deodexed framework and anything else:)
    • Thanks for noobs for cluttering the thread :mad:
    • Thanks for timmymarsh for keeping the thread clean :laugh::good:
    Please thank correct people with thanks button and NOT by flooding the thread with Thanks posts. Thanks

    Irc Channel: #htc-leo
    47
    Enjoy while downloading

    This is mine..
    i can post a screenshot, but it's a black screen :p
    EDIT: BOOTANIMATION!

    attachment.php
    attachment.php
    attachment.php


    42
    Links, stuff

    What's not working:
    Wifi
    Bluetooth
    USB mass storage
    sd card
    Sound
    Camera
    Camcorder
    720p playback
    GPS?
    many libs
    mic


    Downloads


    Old instructions:
    How to install:
    • download base, unzip
    • download updates, unzip
    • copy paste updates to zip, from oldest to newest (unless INSTRUCTED NOT to do so)
    • zip the whole package
    • copy paste to device and flash

    We are not responsible if a cat bit you, or if your HD2 killed you

    Code:
    [U][B]Changelog:[/B][/U]
    [B][COLOR="red"]8/27/2013[/COLOR][/B]: Initial release
    [B][COLOR="red"]8/27/2013[/COLOR][/B]: Update1: 
    fixed gsm
    [B][COLOR="Red"]8/28/2013[/COLOR][/B]: Update1.5
    Magldr Support
    increased ion sf size
    data works in magldr
    [B][COLOR="Red"]Soon?[/COLOR][/B] [STRIKE]Next update:
    New desire 500 base
    Sound ? :) (partially working)
    wifi?[/STRIKE]
    [COLOR="red"][B]1/2/2014 update:[/B][/COLOR]
    Desire 300 base
    sound working
    smoother
    sd card fixed
    minor stuff solved

    35
    Nokia X rom :p

    and i quote from my post at http://xdaforums.com/showthread.php?p=50790260

    and it's booting on HD2 XD
    sure, everything not working, including suspending device, but it's a booting port :p

    Working: graphics + boot sound only. not working: everything else (yes, ril, wifi, bt, storage, mediaserver, system even fc too much)
    port, because of original rom, uses ION and parts of sense 5.
    Thanks for azzam for the broken port, and myself for framework powermanager stuff bypassing to boot and missing stuff aka usr/* (thanks @aazzam16661 for the extra work i had to put :p)

    IMAGES:
    attachment.php
    attachment.php
    attachment.php
    attachment.php
    attachment.php
    attachment.php
    attachment.php
    32
    Fixed ramdisk

    I have managed to fix automatic SD card mount on boot - df command now outputs:
    Code:
    Filesystem             Size   Used   Free   Blksize
    /dev                   236M   140K   236M   4096
    /mnt/asec              236M     0K   236M   4096
    /mnt/obb               236M     0K   236M   4096
    /cache                  24M     1M    22M   4096
    /NativeSD             1922M   818M  1103M   4096
    /system               1922M   818M  1103M   4096
    /data                 1922M   818M  1103M   4096
    /storage/sdcard0      1975M  1537M   438M   4096

    I have also changed cache location - now uses mtd@cache so make sure you use 44MB cache partition.
    (I may change it in the future to use data partition as before but after some tests are done)

    Another cool thing is that ramdisk support dynamic ROM name setting so it is not required to modify it to mount different NativeSD ROMs.
    Requirements are that installation will place file named rom.prop inside /NativeSD folder (on SD-EXT).
    Example updater-script:
    Code:
    package_extract_file("kernel/rom.prop", "/NativeSD/rom.prop");
    Contents of the file should be for now:
    Code:
    rom.name=ROMNAME

    Download link: http://d-h.st/XRI

    init.d scripts should work (thay were enabled already)

    EDIT: now I need to collect logcat of the whole booting process to find if there are any errors in ramdisk. if all is corrected, I will move on to kernel/modules/firmware.
    EDIT2: still need to fix usb mount (for use with USB host feature)