[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
Can someone help me?

Can someone help me make a Updater Script (DataOnExt) of my latest build?

If someone would help please post or PM, i would upload my latest build and post link here.

What's working: :D
Wifi (shows MAC address in logcat) :victory:
Bluetooth (show MAC address in logcat) :laugh:
SD Mount ( Cuz i install in DataOnExt, of course its working) :D

Not working: :crying:
Not reaching boot animation
Boot.
Else

Its not booting cuz of messed up updater script, sometime not loading libs or framework properly if i edit the script a little bit. :crying:
Hoping u guys gonna help :fingers-crossed:

credit:
Chrissy Costanza (Your songs make me relax when porting) (Google her)
Her band: Against The Current http://www.youtube.com/user/againstthecurrentNY
 
Last edited:

TheRinseM

Senior Member
Jan 31, 2013
899
1,349
You know that youll haveto resize the bootanimation before it will even load?

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

aazzam16661

Senior Member
Aug 22, 2012
442
593
24
Gombak, Selangor
So i'm gonna upload it anyway, but without updater script.

Went you guys gonna make the updater script add this
ui_print("-- Creating toolbox symlinks");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("debuggerd", "/system/bin/csview");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
show_progress(0.2, 0);
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
#symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
show_progress(0.2, 10);
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");

ui_print("-- Creating additional symlinks");
show_progress(0.2, 50);
symlink("/system/bin/mksh", "/system/bin/sh");
symlink("/data/system.fonts/Roboto-Regular.ttf","/system/fonts/DroidSans.ttf");
symlink("/data/system.fonts/Roboto-Bold.ttf","/system/fonts/DroidSans-Bold.ttf");
symlink("/system/lib/modules/moc_crypto.ko.3.4.10","/system/lib/modules/moc_crypto.ko");
symlink("/system/lib/modules/moc_platform_mod.ko.3.4.10","/system/lib/modules/moc_platform_mod.ko");

ui_print("-- Setting permissions");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm(1000, 1000, 0771, "/data");
set_perm(1000, 1000, 0755, "/system/bin/sysro");
set_perm(1000, 1000, 0755, "/system/bin/sysrw");
set_perm(0, 3003, 0755, "/system/bin/ip");
set_perm(0, 3003, 0755, "/system/bin/ipd");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06755, "/system/bin/reboot");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 0, 0755, "/system/etc/be_photo");
set_perm(0, 0, 0755, "/system/etc/be_movie");
set_perm(0, 0, 04755, "/system/etc/ppp/ip-up-vpn");
set_perm(0, 0, 04755, "/system/bin/bash");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/pre-init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
symlink("fw_bcmdhd.bin", "/system/etc/firmware/fw_bcm4330_b2.bin");
symlink("fw_bcmdhd_apsta.bin", "/system/etc/firmware/fw_bcm4330_apsta_b2.bin");
set_perm(0, 0, 04755, "/system/etc/ppp/ip-up-vpn");
set_perm(0, 2000, 0755, "/system/xbin/sqlite3");
set_perm(0, 0, 0777, "/system/bin/s5port");
set_perm(0, 0, 0777, "/system/bin/zip");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
show_progress(0.3, 0);
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");

Then test, if you guys have any problem PM me
Also if you guys finish make one, Upload and Pm me the link. ( the Updater script of course)
 

fengsam

Senior Member
Jan 22, 2013
94
65
Can someone help me make a Updater Script (DataOnExt) of my latest build?

If someone would help please post or PM, i would upload my latest build and post link here.

What's working: :D
Wifi (shows MAC address in logcat) :victory:
Bluetooth (show MAC address in logcat) :laugh:
SD Mount ( Cuz i install in DataOnExt, of course its working) :D

Not working: :crying:
Not reaching boot animation
Boot.
Else

Its not booting cuz of messed up updater script, sometime not loading libs or framework properly if i edit the script a little bit. :crying:
Hoping u guys gonna help :fingers-crossed:

credit:
Chrissy Costanza (Your songs make me relax when porting) (Google her)
Her band: Against The Current http://www.youtube.com/user/againstthecurrentNY

hey man,I think the difference among DataOnExt,NSD and Nand is just different mount point.If you want to make DataOnExt,just change mount point in the initrd.gz and use the same update-script as Nand's
 

aazzam16661

Senior Member
Aug 22, 2012
442
593
24
Gombak, Selangor
hey man,I think the difference among DataOnExt,NSD and Nand is just different mount point.If you want to make DataOnExt,just change mount point in the initrd.gz and use the same update-script as Nand's

The initrd.gz is one thing, but updater script is a little bit different.

Link if anybody wanna help me :https://rapidshare.com/#!download|9...|0|1|referer-F5E5D7BC0CE973868870D1877A217E86

---------- Post added at 04:17 PM ---------- Previous post was at 03:56 PM ----------

Also for you guys who download, add a boot animation(480x800) at /system/customize/resource

This may or may not boot, so if you have edit something that make it boots, please PM me.
And the boot.img is for dataonext and the ini.rc in it has been edit for it to boot correctly
 
Last edited:

aazzam16661

Senior Member
Aug 22, 2012
442
593
24
Gombak, Selangor
Got e-mail from dropbox saying that the link have been temporarily suspended for generating excessive traffic.

If you guys still wanna download, please post and i'm gonna find a new place to upload.
 

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)