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

What would you like next?


  • Total voters
    134
  • Poll closed .
Search This thread

aazzam16661

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

gilbert32

Senior Member
Apr 4, 2011
1,038
1,438
In the universe
well as the op says, the rom being developped is NOT working atm. and with any progress, the op will be updated. just after we reach the lockscreen, because even if bootanimation works that doesn't mean the rom works. i tried a bunch of times and i got bootanimation working, but there are serious errors.
mostly framework related errors, or lib errors.
unfortunately i have no knowledge in framework modding/hacking or lib so i will have to keep trying some stuff.
 

aazzam16661

Senior Member
Aug 22, 2012
442
593
24
Gombak, Selangor
well as the op says, the rom being developped is NOT working atm. and with any progress, the op will be updated. just after we reach the lockscreen, because even if bootanimation works that doesn't mean the rom works. i tried a bunch of times and i got bootanimation working, but there are serious errors.
mostly framework related errors, or lib errors.
unfortunately i have no knowledge in framework modding/hacking or lib so i will have to keep trying some stuff.

We need real DEV Big time.

---------- Post added at 10:28 PM ---------- Previous post was at 09:57 PM ----------

And i reminder for people who download my port, try to use 3.0 kernel by marc, and in initrd.gz, decompile, and in init.rc, change bootclasspath to
/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/com.htc.android.bluetooth.jar:/system/framework/HTCDev.jar:/system/framework/HTCCommonctrl.jar:/system/framework/HTCExtension.jar:/system/framework/wimax.jar:/system/framework/com.orange.authentication.simcard.jar:/system/framework/usbnet.jar

i already did it in the upload but, just a reminder.
 

TheRinseM

Senior Member
Jan 31, 2013
899
1,349
data on ext is not so hard?

Code:
run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext");
package_extract_dir("data_s", "/sd-ext");
symlink("/sd-ext/data_s","/data");
set_perm_recursive(0, 0, 0755, 0644, "/sd-ext/data_s");
 
  • Like
Reactions: nqkoidrug

aazzam16661

Senior Member
Aug 22, 2012
442
593
24
Gombak, Selangor
data on ext is not so hard?

Code:
run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext");
package_extract_dir("data_s", "/sd-ext");
symlink("/sd-ext/data_s","/data");
set_perm_recursive(0, 0, 0755, 0644, "/sd-ext/data_s");

Yeah, got that script problem fix :p

And IF SOMEONE HERE JUST READING THIS POST AND KNOW HOW TO MOD/HACK JAR/APK OR KNOW'S SOMEONE WHO KNOW'S HOW TO DO THIS PLEASE TELL THEM OR HELP US OUT ON THIS SENSE 5 PORT.
 

TheRinseM

Senior Member
Jan 31, 2013
899
1,349
Yeah, got that script problem fix :p

And IF SOMEONE HERE JUST READING THIS POST AND KNOW HOW TO MOD/HACK JAR/APK OR KNOW'S SOMEONE WHO KNOW'S HOW TO DO THIS PLEASE TELL THEM OR HELP US OUT ON THIS SENSE 5 PORT.

You need to resize all the. apps an frameworks

Sent from my HTC Desire HD using xda app-developers app
 
  • Like
Reactions: nqkoidrug

szezso

Inactive Recognized Developer
May 1, 2012
2,101
12,804
Budakalász
Hi guys!
I know, I'm not an HD2 DEV (I'm working for hTC Incredible S), but I'm also trying to port Sense JB for my device. I just want to help a bit. To get the Sense JB (4+ or 5) working, you'll need to get working a kernel with ION support, not with PMEM. The ION is an other memory-allocator, and Sense JB uses that. (I added ION into my kernel, and I almost reach the UI, so I'm close) Also, you'll need to use many libs from CM10, such as the hwcomposer, and other files inside of lib/hw. For ION, here is an example: https://github.com/Andromadus/htc7x30-3.0/commits/andromadus-ion The last 4 commits, without the patching up. There is the possibility, that the Sense JB only works with 3.0 kernel, I have that, so I can test it.

At last, the DEVs got the Sense JB workig on Sensation: http://xdaforums.com/showthread.php?t=2216858 So, it's more than possible, if the Sense 4+ works, the Sense 5 will as well. :)

Good luck!
 

TheRinseM

Senior Member
Jan 31, 2013
899
1,349
Hi guys!
I know, I'm not an HD2 DEV (I'm working for hTC Incredible S), but I'm also trying to port Sense JB for my device. I just want to help a bit. To get the Sense JB (4+ or 5) working, you'll need to get working a kernel with ION support, not with PMEM. The ION is an other memory-allocator, and Sense JB uses that. (I added ION into my kernel, and I almost reach the UI, so I'm close) Also, you'll need to use many libs from CM10, such as the hwcomposer, and other files inside of lib/hw. For ION, here is an example: https://github.com/Andromadus/htc7x30-3.0/commits/andromadus-ion The last 4 commits, without the patching up. There is the possibility, that the Sense JB only works with 3.0 kernel, I have that, so I can test it.

At last, the DEVs got the Sense JB workig on Sensation: http://xdaforums.com/showthread.php?t=2216858 So, it's more than possible, if the Sense 4+ works, the Sense 5 will as well. :)

Good luck!

I already knew that :) working on ION :) could you pm me?

Sent from my Desire HD using xda app-developers app
 
  • Like
Reactions: nqkoidrug

smokin901

Senior Member
You need to resize all the. apps an frameworks

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

Worry about resizing later first priority is to get it booting and atleast get network and wifi working. I have tried sense 5 port on sensation only thing I could get to work is WiFi and BT

Sent from my HTC One X using xda app-developers app
 

aazzam16661

Senior Member
Aug 22, 2012
442
593
24
Gombak, Selangor
I wanna make things clear HERE

Ok, i just restarted my sense 5 project (Stop cuz no PC to work with) and also i just wanna tell you guys that THIS PORT WILL NOT WORK IF ION IS NOT AVAILABLE IN THE 3.0 KERNEL. There will be no Sense 4+ and above working until we got ION to work on the 3.0 kernel (Marc1706)
 

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)