[GUIDE] HOW TO PORT Roms

Search This thread

Amr Shams

Senior Member
Jul 28, 2015
206
93
You ported for what?? Grand prime or for J5? And which Android?

Does camera works? Or the camera works and just the video does not works?

camera work but video record not work
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    27.3 KB · Views: 89

Eden532

Senior Member
Jun 30, 2017
122
109
camera work but video record not work

Hey! I will tell stuff i did to get a completely working Camera, have tested it on LP and users said it works on J5 2015 MM (MSM8916) too. So, it will for you too.
Yeah! Do this! And also if you dont find any of the files just skip them. It will work. ;)
Replace each of them from Working Stock to Port.

In system/lib -
libaf_algo_rear.so
libAl***
libaec_algo***
libarccamera.so
libarcsoft***
libawb_algo***
libchromatix***
libmm-omxcore.so
libmmcam***
libomx***
libqjpeg***
libseccamera_jni.so
libseccameracore.so
libsecface.so
libsensorservice.so
In system/lib/hw
Camera***
Lights***
Sensors***
In system/vendor/lib
lib-imscamera.so
libactuator***
libchromatix***
libmm-abl-oem.so
libmm-abl.so
libmm-color-converter.so
libmmcamera***
liboemcamera.so
liboemcrypto.so
libomx***
libqomx***

Report after test! Typing this took a while. :)
Well, you're working on J5 variant?
 
Last edited:
  • Like
Reactions: Amr Shams

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    how to port a rom for qualcom rom from almost same chipset?

    THATS EASY:D

    What Required?
    1 laptot or computer
    2. DEODEX TOOL
    3. UNPACK/REPACK BOOT.IMG TOOL
    4.NOTEPAD+
    5.7Z OR WINRAR
    6. meld compare tool (but no need if you have some xp)
    5. A BRAIN
    IF SO ENOUGH TO PORT A ROM

    LET START

    PORTING TW ROMS FOR ...

    EG ; J5OOF(LL) FOR 530 GRAND PRIME

    STEP 1
    Boot.img edition
    1. Unpack j5 boot.img nd 530f boot.img
    2. REPLACE J5 dt_image nd kernel ( cause i use mkbootimg tool)
    Then go ramdisk folder
    3. COMPARE j5 default.prop with 530
    add lines if missed
    4. COMPARE init.carrier.rc
    add lines if missed
    that will fix multisim
    5. Unpack J5 boot.img
    IN THIS CASE
    SOME TW ROMS NEED TO COMPARE fstb.qcom with your 530.


    IF YOU NEED SWAP

    EDIT fstab.qcom
    add lines
    /dev/block/zram0 none swap defaults zramsize=569547520

    ENDED STEP 1

    STEP2

    build.prop edition

    Change
    ro.sf.lcd_density=320 to 240

    then search oem props
    if present delete this lines

    END STEP 2

    STEP 3

    Replace files from 530 to port J5

    in /system/etc/
    replace folders
    _ firmware
    _blutooth
    _wifi
    Replace files
    init***

    IN /system/lib/
    Replace files
    modules/pronto/pronto_wlan.ko (wifi)

    In /system/vendor/
    replace folder

    /lib/egl (auto rotate)
    /egl/firmware

    Replace&add files
    first add your vendor /lib from your 530 without replacing any files or folder
    Then replace from 530
    libactuator***
    libchromatix***
    libmm***
    libmmcamera2***
    libmmcamera***
    #CAM

    END STEP3

    STEP4

    EDITING updater-script

    search lines started with assert

    if you found delete this lines

    END STEP4:D

    final step
    archive ZIP
    boot
    system
    META-INF

    END:cool:

    NOW ENOUGH TO BOOT UP.

    FLASH VIA CUSTOM RECOVERY

    I WILL WRITE BUG FIXING ND SOC PORTING GUIDE TOMORROW.

    I SKIPPED DEODEX STEP ND SOME STEPs

    I think that this thread will help you.
    2
    2
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone