[WIP][DEV]Trib's Sense 4.1 for HD2[ICS 4.0.4][Apr.28th.2013]

Search This thread

Tribulattifather

Inactive Recognized Developer
Apr 23, 2009
2,941
1,823
39
╠▒╣New╬York╠▒╣
The Why:

Well, someone asked for it in the HD2 General boards.

I'm gonna need your guys help with this one.

And maybe, this could be a community project.



Help and Q & A Section:

http://xdaforums.com/showthread.php?t=2260070



Flash.cfg | Installation:

10/405/7 - Tmo
10/260/7 - EU

v0.9c may need you to use the recovery-raw img below to install the Rom as it has a choice of EU and TmoUS.

But Since it does not have clK support several Devs have collaberated in hopes to create a nice Aroma Interface.
It is not yet installed on the current build of 0.9c. Thank you.

Recommended to use this recovery until I get an aroma installer going that'll work for everyone:

http://xdaforums.com/attachment.php?attachmentid=1925031&d=1367338890



Download:

Version 0.9c is current beta.

https://drive.google.com/folderview?id=0B_INq6-kUQ8VTnFXcVJ3ZUg5TTQ&usp=sharing



Working:

Data (Set apn with apk aleady in Rom)
MMS
SMS
Cell Service
WiFi
Camera
Touch
Audio
Root
USB Mass Storage via UMS
Extended Menu
Native Screenshot via Ext. Menu



Not Working:

Bluetooth
Weather
Video Recording



What I'd like to work on:

Bluetooth
Graphics



Thanks:

Big thanks to Greeneyes2910, croniccorey, Amarullz, ph03n!x, Ljjehl, the (Legendary) Daekin, PixelFreak and of course all who help in the future.



ScreenShots:
 

Attachments

  • Screenshot_2013-04-28-15-51-23.jpg
    Screenshot_2013-04-28-15-51-23.jpg
    28.5 KB · Views: 4,764
  • Screenshot_2013-04-28-15-51-43.jpg
    Screenshot_2013-04-28-15-51-43.jpg
    29.8 KB · Views: 5,149
  • Screenshot_2013-04-28-15-52-15.jpg
    Screenshot_2013-04-28-15-52-15.jpg
    19.1 KB · Views: 4,968
  • Screenshot_2013-04-28-15-50-57.jpg
    Screenshot_2013-04-28-15-50-57.jpg
    27.5 KB · Views: 5,013
Last edited:

xzakly

Senior Member
Dec 3, 2007
81
26
for wifi have you tried gilbert solution?

F*** YEAH!!!!
if it doesn't work, try this in adb shell:
chmod 644 /system/lib/modules/bcm4329.ko
chmod 644 /system/etc/firmware/fw_bcm4329.bin
reboot

if it still doesn't work, this should start wifi:
insmod /system/lib/modules/bcm4329.ko iface_name=wlan0 firmware_path=/system/etc/firmware/fw_bcm4329.bin nvram_path=/proc/calibration

-pixelfreak-: sorry, i got wifi covered before you :D
 

xzakly

Senior Member
Dec 3, 2007
81
26
Nice find. Thanks. I'll try right now.

Can you link me to where that is from?

and for symlinking

have you tried something like:

package_extract_dir("data/weather", "/sd-ext/sys-parts/weather");
set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/sys-parts/weather");
symlink("/sd-ext/sys-parts/weather", "/system/media/weather");

?

and this build is only compatible with magldr?
 
Last edited:
  • Like
Reactions: hamzazxplorer

Tribulattifather

Inactive Recognized Developer
Apr 23, 2009
2,941
1,823
39
╠▒╣New╬York╠▒╣
Right now I have:

Code:
ui_print("..Extracting new User Data..");
package_extract_dir("data", "/data");
set_perm(2000, 2000, 0771, "/data/local");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
package_extract_dir("system", "/system");
symlink("/data/system.app", "/system/app");
set_perm_recursive(0, 0, 0755, 0644, "/data/system.app");
symlink("/data/system.usr", "/system/usr");
set_perm_recursive(0, 0, 0755, 0644, "/data/system.usr");
symlink("/data/system.fonts", "/system/fonts");
set_perm_recursive(0, 0, 0755, 0644, "/data/system.fonts");
symlink("/data/system.media", "/system/media");
set_perm_recursive(0, 0, 0755, 0644, "/data/system.media");
ui_print("");

I have tried this (but didn't work for me):

Code:
ui_print("..Extracting new User Data..");
package_extract_dir("data", "/data");
set_perm(2000, 2000, 0771, "/data/local");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
package_extract_dir("system", "/system");
run_program("/sbin/mkdir", "/sd-ext");
run_program("/sbin/mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext");
run_program("/sbin/mkdir", "/sd-ext/sys-parts/app");
run_program("/sbin/mkdir", "/sd-ext/sys-parts/usr");
run_program("/sbin/mkdir", "/sd-ext/sys-parts/fonts");
run_program("/sbin/mkdir", "/sd-ext/sys-parts/media");
package_extract_dir("data/system.app", "/sd-ext/sys-parts/app");
package_extract_dir("data/system.usr", "/sd-ext/sys-parts/usr");
package_extract_dir("data/system.fonts", "/sd-ext/sys-parts/fonts");
package_extract_dir("data/system.media", "/sd-ext/sys-parts/media");
symlink("/sd-ext/sys-parts/app", "/system/app");
set_perm_recursive(0, 0, 0755, 0644, "/sd-ext/sys-parts/app");
symlink("/sd-ext/sys-parts/usr", "/system/usr");
set_perm_recursive(0, 0, 0755, 0644, "/sd-ext/sys-parts/usr");
symlink("/sd-ext/sys-parts/fonts", "/system/fonts");
set_perm_recursive(0, 0, 0755, 0644, "/sd-ext/sys-parts/fonts");
symlink("/sd-ext/sys-parts/media", "/system/media");
set_perm_recursive(0, 0, 0755, 0644, "/sd-ext/sys-parts/media");
ui_print("");

Did I not symlink correctly?

And yeah, for now, it's for Mgldr..
 
  • Like
Reactions: symbuzzer

xzakly

Senior Member
Dec 3, 2007
81
26
Right now I have:

Code:
ui_print("..Extracting new User Data..");
package_extract_dir("data", "/data");
set_perm(2000, 2000, 0771, "/data/local");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
package_extract_dir("system", "/system");
symlink("/data/system.app", "/system/app");
set_perm_recursive(0, 0, 0755, 0644, "/data/system.app");
symlink("/data/system.usr", "/system/usr");
set_perm_recursive(0, 0, 0755, 0644, "/data/system.usr");
symlink("/data/system.fonts", "/system/fonts");
set_perm_recursive(0, 0, 0755, 0644, "/data/system.fonts");
symlink("/data/system.media", "/system/media");
set_perm_recursive(0, 0, 0755, 0644, "/data/system.media");
ui_print("");

I have tried this (but didn't work for me):

Code:
ui_print("..Extracting new User Data..");
package_extract_dir("data", "/data");
set_perm(2000, 2000, 0771, "/data/local");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
package_extract_dir("system", "/system");
run_program("/sbin/mkdir", "/sd-ext");
run_program("/sbin/mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext");
run_program("/sbin/mkdir", "/sd-ext/sys-parts/app");
run_program("/sbin/mkdir", "/sd-ext/sys-parts/usr");
run_program("/sbin/mkdir", "/sd-ext/sys-parts/fonts");
run_program("/sbin/mkdir", "/sd-ext/sys-parts/media");
package_extract_dir("data/system.app", "/sd-ext/sys-parts/app");
package_extract_dir("data/system.usr", "/sd-ext/sys-parts/usr");
package_extract_dir("data/system.fonts", "/sd-ext/sys-parts/fonts");
package_extract_dir("data/system.media", "/sd-ext/sys-parts/media");
symlink("/sd-ext/sys-parts/app", "/system/app");
set_perm_recursive(0, 0, 0755, 0644, "/sd-ext/sys-parts/app");
symlink("/sd-ext/sys-parts/usr", "/system/usr");
set_perm_recursive(0, 0, 0755, 0644, "/sd-ext/sys-parts/usr");
symlink("/sd-ext/sys-parts/fonts", "/system/fonts");
set_perm_recursive(0, 0, 0755, 0644, "/sd-ext/sys-parts/fonts");
symlink("/sd-ext/sys-parts/media", "/system/media");
set_perm_recursive(0, 0, 0755, 0644, "/sd-ext/sys-parts/media");
ui_print("");

Did I not symlink correctly?

And yeah, for now, it's for Mgldr..

i think they are but the ext partition is mounting on system boot up?

" package_extract_dir("data", "/data"); "

you need to change that line to

" package_extract_dir("data/local", "/data"); "
 
Last edited:
  • Like
Reactions: hamzazxplorer

Tribulattifather

Inactive Recognized Developer
Apr 23, 2009
2,941
1,823
39
╠▒╣New╬York╠▒╣
i think they are but the ext partition is mounting on system boot up?

" package_extract_dir("data", "/data"); "

you need to delete this line or else you'll be extracting all the files you want to move to ext into data

Oh duh, hahaha. Thank you.

Also, my dropbox just got randomly suspended.. What other hosts can I use that allow me a folder view?
 
  • Like
Reactions: symbuzzer

Tribulattifather

Inactive Recognized Developer
Apr 23, 2009
2,941
1,823
39
╠▒╣New╬York╠▒╣
That's probably due to many downloads..

i don't know but http://d-h.st/ is a good host at least for speed
you can also try google drive

by the way i edited my last comment

I actually use dev-host and goo.im for my other devices as to not overload servers etc. I'll try google drive. Ty again.

Plus, i've read all 29 pages of that thread you linked me and gave me some ideas. So gonna try some tests.
 
  • Like
Reactions: symbuzzer

xzakly

Senior Member
Dec 3, 2007
81
26
Right now I have:

Code:
ui_print("..Extracting new User Data..");
package_extract_dir("data", "/data");
set_perm(2000, 2000, 0771, "/data/local");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
package_extract_dir("system", "/system");
symlink("/data/system.app", "/system/app");
set_perm_recursive(0, 0, 0755, 0644, "/data/system.app");
symlink("/data/system.usr", "/system/usr");
set_perm_recursive(0, 0, 0755, 0644, "/data/system.usr");
symlink("/data/system.fonts", "/system/fonts");
set_perm_recursive(0, 0, 0755, 0644, "/data/system.fonts");
symlink("/data/system.media", "/system/media");
set_perm_recursive(0, 0, 0755, 0644, "/data/system.media");
ui_print("");

with this code you don't have any package_extract for the ext partition
 

fengsam

Senior Member
Jan 22, 2013
94
65
The Why:

Well, someone asked for it in the HD2 General boards.

I'm gonna need your guys help with this one.

And maybe, this could be a community project.



Download:

https://www.dropbox.com/sh/x2kpjbmwtns1gca/7i74QaCD3A

Flash configurations in link.



Working:

Camera
Touch
Audio
Root
USB Mass Storage via UMS
Extended Menu
Native Screenshot via Ext. Menu



Not Working:

Wifi
Bluetooth
Data
Dialer
EGL glitches



What I'd like to work on:

Symlinking to Sd-ext
Wifi



Thanks:

Big thanks to Greeneyes2910, Ljjehl and all who help in the future.



ScreenShots:

Great thanks.Maybe you could chat with zexmunze http://xdaforums.com/showthread.php?p=40803744
sent from my HTC HD2 using xda premium
 

quantan

Senior Member
Jan 26, 2011
341
162
Will try your rom :good:

I'm porting viper rom sense 4.1 but get stuck with permission error :(. Hope sense 4.1 comes to HD2 soon :)
 
  • Like
Reactions: jskenderi

Top Liked Posts

  • There are no posts matching your filters.
  • 57
    The Why:

    Well, someone asked for it in the HD2 General boards.

    I'm gonna need your guys help with this one.

    And maybe, this could be a community project.



    Help and Q & A Section:

    http://xdaforums.com/showthread.php?t=2260070



    Flash.cfg | Installation:

    10/405/7 - Tmo
    10/260/7 - EU

    v0.9c may need you to use the recovery-raw img below to install the Rom as it has a choice of EU and TmoUS.

    But Since it does not have clK support several Devs have collaberated in hopes to create a nice Aroma Interface.
    It is not yet installed on the current build of 0.9c. Thank you.

    Recommended to use this recovery until I get an aroma installer going that'll work for everyone:

    http://xdaforums.com/attachment.php?attachmentid=1925031&d=1367338890



    Download:

    Version 0.9c is current beta.

    https://drive.google.com/folderview?id=0B_INq6-kUQ8VTnFXcVJ3ZUg5TTQ&usp=sharing



    Working:

    Data (Set apn with apk aleady in Rom)
    MMS
    SMS
    Cell Service
    WiFi
    Camera
    Touch
    Audio
    Root
    USB Mass Storage via UMS
    Extended Menu
    Native Screenshot via Ext. Menu



    Not Working:

    Bluetooth
    Weather
    Video Recording



    What I'd like to work on:

    Bluetooth
    Graphics



    Thanks:

    Big thanks to Greeneyes2910, croniccorey, Amarullz, ph03n!x, Ljjehl, the (Legendary) Daekin, PixelFreak and of course all who help in the future.



    ScreenShots:
    20

    Thank you very much. I will repay in as many thanks as I can for the next week lol.
    There all yours.

    OP has requested all conversation to stay on topic.

    Either do as asked or your post's will be removed.

    Thank you

    Thanks. For all non dev related please post here:
    http://xdaforums.com/showthread.php?t=2260070

    Man, I miss modding this board; we're a motley crew aren't we lol. :cool:

    Back on topic:
    Thanks to Poy, which everyone please thank him for, I now will continue development on this Rom.

    My next goals are:

    Get the video playback to work
    Fix Bluetooth
    Fix EGL/Graphics glitches
    Get weather video to work
    Stop locations from Force Closing

    I'll resume tonight in about four or five hours from now after my daughter is asleep.

    See you guys tonight ;)
    15
    dalvik on Nand please:)

    http://depositfiles.com/files/znehzne48
    included my Aroma installer
    - nand
    - dataonext
    - dataonext with dalvik on nand
    - NativeSD
    15
    I just sold my HD2, so any work that I have in my HD2 working folder anyone is welcome to it to continue development for this rom or for whatever use you guys have in mind, must a friendly reminder for accreditation.

    Thank you guys for having fun with me developing this rom.
    15
    Link to Common Sense 4.1 alpha 1 is ready!


    Hi Guys and Gals,

    First, I need to apologize to those to whom I talked ~2 weeks ago and promised to upload a working Sense 4.1 with BT. I'm really sorry that I kept you guys waiting, and it's not entirely my fault.
    I've been working on this ROM for several weeks now, and stumbled upon many serious problems that stopped me from uploading it immediately.

    Well, now it seems that I finally have a stable ROM. You will find the link at the bottom of this post.

    It has BT working, as well as several other enhancements (such as HW composing) that the other ROMs lack.
    I still don't have microphone and camcorder issues solved, I'm working on it. Nevertheless, my ROM seems like a good everyday driver.

    I will upload it to this thread first, because it's based off Trib's port and because I need you guys to test it before it deserves a thread of its own

    Once I get positive feedback from you, I will open a new thread and post the ROM there for everyone's use

    Please note that I hereby officially grant the permission to anyone to take any files from my ROM and use them anywhere. Just please give credits.

    Pavel




    The official part
    THIS IS AN ALPHA VERSION! It is still not qualified for everyday use! Use with caution!

    This ROM is based on several other ROMs, as follows:

    Sense files, widgets and other APKs were taken mostly from Trib's port. Rosie was taken from QsenSe ROM that I found on a russian forum 4PDA (here) and was heavily modified by me. I have a strong feeling that this Rosie originally came from Viper ROM, however there are no credits in the original thread. In any event, I modified it so much that it doesn't really matter anymore.

    Framework was taken fro QsenSe ROM (here). Please give proper credits if you use framework files. However, some framework files were modified by me.

    System files came from many ROMs, it's really hard to tell now where each file came from. Some of them were taken from the (banned) port of Viper Sense for HD2.

    There are many original tweaks that were made by me. These includes Project Butter for ICS, animations (try rotation, hehe), general smoothness tweaks, adreno tweaks etc. Feel free to use all of these, just please give credits.

    Kernel is Mark's ICS non-sense kernel (please thank him for the great job!)

    Configuration is Data on Ext, DB on NAND (my own config, please give credits)



    Link to Common Sense 4.1 alpha 1
    http://d-h.st/VWr

    ---------- Post added at 12:43 PM ---------- Previous post was at 12:23 PM ----------

    EDIT: it seems that I didn't upload the latest framework.res, and the rotation animation (that I like the most) got screwed :)
    don't try rotation, LOL

    I will upload the framework in a minute

    ---------- Post added at 01:13 PM ---------- Previous post was at 12:43 PM ----------

    ok, there you go.
    http://d-h.st/Rf7

    just do the following before flashing the ROM:
    open the ROM zip on your computer
    go to \sys-parts\framework
    paste the file there.
    and THEN flash the ROM

    now you can try rotation ))))))))