[DEV][SENSE] Porting sense to other sense devices.

Search This thread

samuel2706

Inactive Recognized Developer
Jan 1, 2011
2,348
1,694
North Yorkshire
Hello and welcome to my porting guide, it works 9/10, the 1/10 it doesn't use mans best friend

ADB LOGCAT

it works wonders you know ;) PM me with any questions or helpful tips


Disclaimer: I am not responsible for bricking or blowing you up or causing your balls to shrink or you to see ghosts or anything, i am not responsible, your an adult act like one. you choose to do this on your own values, please dont expect me to buy you a new device, you broke it. i am not saying these work 100% of the time so don't blame me if it doesn't.



HERE IS WHAT YOU NEED TO DO FOR HTC ROMS

SYSTEM/ETC

Delete the PPP,WIFI, SOUNDIMAGE and FIRMWARE FOLDERS

Replace with folders from target device


REPLACE ALL .CSV FILES
REPLACE ALL CODEC.TXT FILES
REPLACE VOLD.FSTAB

ALL FROM THE TARGET DEVICE

SOME TIMES YOU MIGHT NEED TO DO THE FOLLOWING FOR CAMERA TO WORK

voVidDec.dat
media_profiles.xml



etcc.png




SYSTEM/BIN

Replace the following with the target device versions

VOLD

AKMD

SND3254

SH

RMT_STORAGE

SH0

WPA_SUPPLICANT


***
ANYTHING WITH CAMERA INSIDE IT AWB_CAMERA (IF CAMERA DOESN'T WORK)


SOUND8660 *Might be SOUND7X30* (||Replace it with your board number||found in the build.prop||)

binh.png




SYSTEM/LIB


Delete EGL FOLDER
Replace it with EGL from target Device

Delete HW FOLDER
Replace it with HW from target device



REPLACE ALL THESE LIBS WITH TARGET DEVICE LIBS

libEGL.so
libGLESv1_CM.so
libGLESv2.so
libsurfaceflinger.so
libsurfaceflinger_client.so
liboverlay.so
libmm-omxcore.so
libOmxVenc.so
libOmxVdec.so
libOmxCore.so
libgsl.so
libaudio.so
libhtc_acoustic.so
libmmjpeg.so
liboemcamera.so
libsrsprocessing.so
libvomemedia.so
libhtc_ril.so
libril.so
libreference-ril.so
libui.so
libmmjpeg2.so (if it has multiple cameras)
***
IF YOU EVER REPLACE MODE10 FILES REPLACE FUSION.FX.JAR IN SYSTEM/FRAMEWORK AS WELL! NEVER MIX THESE FILES!
NEVER MIX GRAPHIC LIBS AND NEVER MIX HW LIBS!
NEVER HAVE TWO OF THE SAME LIB, FOR EXAMPLE spade.gps and shooter.gps THEY WONT WORK


Delete the modules folder

replace with modules folder from target device

libs.png



BOOT IMAGE


Delete boot.img

Replace with the one from the target device


SYSTEM/USR

DELETE KEYCHARS AND KEYLAYOUT FOLDER

REPLACE WITH FOLDERS FROM TARGET DEVICE

bootxl.png



BUILD.PROP


Change the following lines to your target devices corresponding lines

ro.product.model=
ro.product.brand=
ro.product.name=
ro.product.device=
ro.product.board=
ro.product.cpu.abi=
ro.product.cpu.abi2=
ro.product.manufacturer=
ro.product.locale.language=
wifi.interface=
debug.sf.hw=1 (ALWAYS =1)
windowsmgr.max_events_per_sec=60

buildprop.png


DON'T TOUCH ANYTHING ELSE UNLESS YOUR EXPIERENCED IN PORTING.
 
Last edited:

pwnyourace

Senior Member
Mar 13, 2011
641
517
thanks

thanks for this, its like u read my mind ive been trying the last few days to port a rom and i didnt do alot of the things listed and couldnt get it to boot
but also theres something u should add to the post, u have to change the mount points in the updater script to your devices (only have xp with evo and evo shift but i think its different alot of phones, can the points in an updater script in a zip for your device)
also ive been told the system/etc/firmware is something that should be added too, sorry not trying to criticize im just trying to get all the info i can and put it all together to hopefully get a working rom and thought id share
 
Last edited:
  • Like
Reactions: esk02k

samuel2706

Inactive Recognized Developer
Jan 1, 2011
2,348
1,694
North Yorkshire
thanks for this, its like u read my mind ive been trying the last few days to port a rom and i didnt do alot of the things listed and couldnt get it to boot
but also theres something u should add to the post, u have to change the mount points in the updater script to your devices (only have xp with evo and evo shift but i think its different alot of phones, can the points in an updater script in a zip for your device)
also ive been told the system/etc/firmware is something that should be added too, sorry not trying to criticize im just trying to get all the info i can and put it all together to hopefully get a working rom and thought id share

I completely forgot that, thanks mate :cool:
 

con247

Retired Recognized Developer
Sep 1, 2010
3,154
3,108
Ann Arbor
I will attempt this tutorial soon, but nobody has had luck porting Sense 2.x and much less sense 3.x to the CDMA Desire. Would anybody be willing to help? We don't have 2.2 Kernel source so we are stuck booting off a froyo kernel.
 

sageDieu

Senior Member
Oct 18, 2010
2,149
421
Is this likely to work on a Samsung galaxy s mesmerize? I'd like to try it... we have gingerbread, cm7, etc ..

Sent from my MIUI SCH-i500
 

rafiqzadah

Senior Member
Jun 8, 2010
716
261
Pennsylvania
I did your porting steps, didn't test yet cuz of no phone. but lets say everything went fine, after How would I be able to tweak the new rom(which I created, Thnx to you) for more stability, smoothness, and performance, aside from the graphic glitches.

I have A Hd2, and I ported from Sergio76 CoreDroid V1.6 the files you have in the Tutorial to His work on the Sensation V2.0.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 132
    Hello and welcome to my porting guide, it works 9/10, the 1/10 it doesn't use mans best friend

    ADB LOGCAT

    it works wonders you know ;) PM me with any questions or helpful tips


    Disclaimer: I am not responsible for bricking or blowing you up or causing your balls to shrink or you to see ghosts or anything, i am not responsible, your an adult act like one. you choose to do this on your own values, please dont expect me to buy you a new device, you broke it. i am not saying these work 100% of the time so don't blame me if it doesn't.



    HERE IS WHAT YOU NEED TO DO FOR HTC ROMS

    SYSTEM/ETC

    Delete the PPP,WIFI, SOUNDIMAGE and FIRMWARE FOLDERS

    Replace with folders from target device


    REPLACE ALL .CSV FILES
    REPLACE ALL CODEC.TXT FILES
    REPLACE VOLD.FSTAB

    ALL FROM THE TARGET DEVICE

    SOME TIMES YOU MIGHT NEED TO DO THE FOLLOWING FOR CAMERA TO WORK

    voVidDec.dat
    media_profiles.xml



    etcc.png




    SYSTEM/BIN

    Replace the following with the target device versions

    VOLD

    AKMD

    SND3254

    SH

    RMT_STORAGE

    SH0

    WPA_SUPPLICANT


    ***
    ANYTHING WITH CAMERA INSIDE IT AWB_CAMERA (IF CAMERA DOESN'T WORK)


    SOUND8660 *Might be SOUND7X30* (||Replace it with your board number||found in the build.prop||)

    binh.png




    SYSTEM/LIB


    Delete EGL FOLDER
    Replace it with EGL from target Device

    Delete HW FOLDER
    Replace it with HW from target device



    REPLACE ALL THESE LIBS WITH TARGET DEVICE LIBS

    libEGL.so
    libGLESv1_CM.so
    libGLESv2.so
    libsurfaceflinger.so
    libsurfaceflinger_client.so
    liboverlay.so
    libmm-omxcore.so
    libOmxVenc.so
    libOmxVdec.so
    libOmxCore.so
    libgsl.so
    libaudio.so
    libhtc_acoustic.so
    libmmjpeg.so
    liboemcamera.so
    libsrsprocessing.so
    libvomemedia.so
    libhtc_ril.so
    libril.so
    libreference-ril.so
    libui.so
    libmmjpeg2.so (if it has multiple cameras)
    ***
    IF YOU EVER REPLACE MODE10 FILES REPLACE FUSION.FX.JAR IN SYSTEM/FRAMEWORK AS WELL! NEVER MIX THESE FILES!
    NEVER MIX GRAPHIC LIBS AND NEVER MIX HW LIBS!
    NEVER HAVE TWO OF THE SAME LIB, FOR EXAMPLE spade.gps and shooter.gps THEY WONT WORK


    Delete the modules folder

    replace with modules folder from target device

    libs.png



    BOOT IMAGE


    Delete boot.img

    Replace with the one from the target device


    SYSTEM/USR

    DELETE KEYCHARS AND KEYLAYOUT FOLDER

    REPLACE WITH FOLDERS FROM TARGET DEVICE

    bootxl.png



    BUILD.PROP


    Change the following lines to your target devices corresponding lines

    ro.product.model=
    ro.product.brand=
    ro.product.name=
    ro.product.device=
    ro.product.board=
    ro.product.cpu.abi=
    ro.product.cpu.abi2=
    ro.product.manufacturer=
    ro.product.locale.language=
    wifi.interface=
    debug.sf.hw=1 (ALWAYS =1)
    windowsmgr.max_events_per_sec=60

    buildprop.png


    DON'T TOUCH ANYTHING ELSE UNLESS YOUR EXPIERENCED IN PORTING.
    11
    Updated and added more libs.
    5
    Haven't been on here in a long time and things may have changed so over the next few days i'm creating a new version and see if i can get a few other devs to chip in with their tips.

    Also a HUGE thank you to everyone who has helped each other since this thread was made, I have had at least 3 people a week contacting me asking me if i can help, due to work and such i haven't had time however I have two weeks off and plan to update it, so stay tuned!

    Oh and once again, a huge thanks to all the Developers and Contributors who have helped Members on their way to creating their first port!

    :good:
    3
    Congratulations mate! :) I'm sure a lot of devs will find it very useful!
    2

    Logcat. That is a very generic description, which you would need a log to figure out what's happening.

    Sent from my Optimus G using xda app-developers app