[DEV][SENSE] Porting sense to other sense devices - #android

Hello and welcome to my porting guide, it works 9/10, the 1/10 it doesn't use mans best friend

ADB LOGCAT

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







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||)





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


***
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




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




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



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

Credit : samuel2706
Donate : Donate

Comments

Popular Posts