How To Port Any ROM To Sensation XL?

Search This thread

pranavaryans

Senior Member
Dec 1, 2013
1,315
2,864
37
Rajkot
pranavaryans.blogspot.in
know there are many Guides out there but most of them don't work for Runnymede!

so i decided to make one myself...

Things you will need installed on your PC
Notepad++
Winzip/Winrar

Q) What device should i port from?

A)These Devices are the Best!
Xperia S
HTC Sensation
HTC Desire
HTC Desire HD
Feel Free to try other devices

Base ROM and PORT ROM

Base ROM is what is Developed For XL

Port ROM is what ROM you want to port for XL

Note: If you are porting a CM(PORT) which is ICS the BASE should Be cm9... same for JB

Now Let's start Porting!
Extract the BASE ROM to a Folder named Base
Extract the PORT ROM to a Folder named Port
Open Base ROM and go to system folder
DELETE "app,fonts,framework,media"
Open Port ROM and go to system folder
COPY "app,fonts,framework,media"
and paste it in System folder of the Base ROM
Open Port ROM and go to etc folder
Open Permissions Folder copy everything EXCEPT handheld_core_hardware.xml and platform
and paste it in the etc folder of the BASE ROM
Open Base ROM and go to system/etc/init.d folder
DELETE all files except 00banner
Open Port ROM and go to system/etc/init.d Folder
COPY everything Except 00banner
and paste it in the init.d folder of the BASE ROM

Now open build.prop And edit


ro.build.display.id=add what you want here
ro.modversion=add what you want here

Now open build.prop of PORT ROM and find

ro.config.ringtone=
ro.config.notification_sound=
ro.config.alarm_alert=

COPY there 3 lines and replace them in the BASE ROM's build.prop

Now Open updater-script

scroll down and find the lines starting with set_perm (there will be lots of them!)

Copy only those lines From PORT ROM's updater-script to BASE ROM's updater-script

If You find any extra file or folder in system folder of PORT rom than copy them to your base rom system folder.

Open updater-script from PORT ROM and copy all the set_perm lines and replace them with the lines in BASE ROM

To prevent bootloop copy

libandroid_runtime.so
libandroid_servers.so
libmedia_jni.so

from system/lib in PORT ROM and REPLACE it with the files in system/lib of BASE ROM

Now ZIP the ROM and flash it

THIS WILL WORK. MAY BE******
 
Last edited:

cimihendriks

Senior Member
Oct 1, 2013
128
32
Aydin
Nice thread, keep on going :)

i will try an experimental one. i will post the results.

---------- Post added at 05:25 PM ---------- Previous post was at 05:22 PM ----------

i have two questions, i would be grateful if you answer,

1-) Does it reboots oftenly?
2-) how is it's battery usage i mean is it nice for daily uses?
3-) Can i change density?

made 3 sorry :D
 

pranavaryans

Senior Member
Dec 1, 2013
1,315
2,864
37
Rajkot
pranavaryans.blogspot.in
Problems

I Have PORTED 2 4 Kitkat ROM's From Sensation To Sensation XL.

In 1st ROM problem is : statusbar has some design issues.
in 2nd which is CARBON ROM : issue is cannot contact to Camera and Web Browser is black:confused:
 

-SmOgER

Senior Member
Haven't read the whole thread but this catched my eye:

A)These Devices are the Best!
Xperia S
HTC Sensation
HTC Desire
HTC Desire HD

Well only if the name of device is similiar it doesn't mean that it's a good device to port from...

Sensation is qHD device (960x540), while Sensation XL is WVGA (800x480),
Even the hardware on them is entirely different, Sensation being the more powerful next generation device...

That's the list I would recommend porting from:

  • Desire S
  • Desire HD
  • Desire X (for SenseJB you obviously need ION kernel)
  • Incredible S
  • Desire Z
  • One V
  • One SV (*might* be abit more difficult, but it's still WVGA device)
  • myTouch 4G
    <...>

In these devices forum you should find variety of ported ROMS from other manufacturers as well.
Make sure system folder is no bigger than system partition btw. And if you want to be able to flash a kernel or some mods on top of it, leave some 10MB of free space as well.

EDIT: is it just me or haven't OP mentioned anything about kernel...?
The boot.img from other device will NOT work,
you need to replace it with the one from corresponding ROM of your device

i.e. If you are porting Sense ICS
you take boot.img from Sense ICS ROM specificaly made for your device
 
Last edited:

pranavaryans

Senior Member
Dec 1, 2013
1,315
2,864
37
Rajkot
pranavaryans.blogspot.in
Hi

Haven't read the whole thread but this catched my eye:



Well only if the name of device is similiar it doesn't mean that it's a good device to port from...

Sensation is qHD device (960x540), while Sensation XL is WVGA (800x480),
Even the hardware on them is entirely different, Sensation being the more powerful next generation device...

That's the list I would recommend porting from:

  • Desire S
  • Desire HD
  • Desire X (for SenseJB you obviously need ION kernel)
  • Incredible S
  • Desire Z
  • One V
  • One SV (*might* be abit more difficult, but it's still WVGA device)
  • myTouch 4G
    <...>

In these devices forum you should find variety of ported ROMS from other manufacturers as well.
Make sure system folder is no bigger than system partition btw. And if you want to be able to flash a kernel or some mods on top of it, leave some 10MB of free space as well.

EDIT: is it just me or haven't OP mentioned anything about kernel...?
The boot.img from other device will NOT work,
you need to replace it with the one from corresponding ROM of your device

i.e. If you are porting Sense ICS
you take boot.img from Sense ICS ROM specificaly made for your device

Hello,
Thanks for replying.

I am really looking forward to PORT JBSense for our SXL. Will you guide me for that?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    know there are many Guides out there but most of them don't work for Runnymede!

    so i decided to make one myself...

    Things you will need installed on your PC
    Notepad++
    Winzip/Winrar

    Q) What device should i port from?

    A)These Devices are the Best!
    Xperia S
    HTC Sensation
    HTC Desire
    HTC Desire HD
    Feel Free to try other devices

    Base ROM and PORT ROM

    Base ROM is what is Developed For XL

    Port ROM is what ROM you want to port for XL

    Note: If you are porting a CM(PORT) which is ICS the BASE should Be cm9... same for JB

    Now Let's start Porting!
    Extract the BASE ROM to a Folder named Base
    Extract the PORT ROM to a Folder named Port
    Open Base ROM and go to system folder
    DELETE "app,fonts,framework,media"
    Open Port ROM and go to system folder
    COPY "app,fonts,framework,media"
    and paste it in System folder of the Base ROM
    Open Port ROM and go to etc folder
    Open Permissions Folder copy everything EXCEPT handheld_core_hardware.xml and platform
    and paste it in the etc folder of the BASE ROM
    Open Base ROM and go to system/etc/init.d folder
    DELETE all files except 00banner
    Open Port ROM and go to system/etc/init.d Folder
    COPY everything Except 00banner
    and paste it in the init.d folder of the BASE ROM

    Now open build.prop And edit


    ro.build.display.id=add what you want here
    ro.modversion=add what you want here

    Now open build.prop of PORT ROM and find

    ro.config.ringtone=
    ro.config.notification_sound=
    ro.config.alarm_alert=

    COPY there 3 lines and replace them in the BASE ROM's build.prop

    Now Open updater-script

    scroll down and find the lines starting with set_perm (there will be lots of them!)

    Copy only those lines From PORT ROM's updater-script to BASE ROM's updater-script

    If You find any extra file or folder in system folder of PORT rom than copy them to your base rom system folder.

    Open updater-script from PORT ROM and copy all the set_perm lines and replace them with the lines in BASE ROM

    To prevent bootloop copy

    libandroid_runtime.so
    libandroid_servers.so
    libmedia_jni.so

    from system/lib in PORT ROM and REPLACE it with the files in system/lib of BASE ROM

    Now ZIP the ROM and flash it

    THIS WILL WORK. MAY BE******
    2
    Haven't read the whole thread but this catched my eye:

    A)These Devices are the Best!
    Xperia S
    HTC Sensation
    HTC Desire
    HTC Desire HD

    Well only if the name of device is similiar it doesn't mean that it's a good device to port from...

    Sensation is qHD device (960x540), while Sensation XL is WVGA (800x480),
    Even the hardware on them is entirely different, Sensation being the more powerful next generation device...

    That's the list I would recommend porting from:

    • Desire S
    • Desire HD
    • Desire X (for SenseJB you obviously need ION kernel)
    • Incredible S
    • Desire Z
    • One V
    • One SV (*might* be abit more difficult, but it's still WVGA device)
    • myTouch 4G
      <...>

    In these devices forum you should find variety of ported ROMS from other manufacturers as well.
    Make sure system folder is no bigger than system partition btw. And if you want to be able to flash a kernel or some mods on top of it, leave some 10MB of free space as well.

    EDIT: is it just me or haven't OP mentioned anything about kernel...?
    The boot.img from other device will NOT work,
    you need to replace it with the one from corresponding ROM of your device

    i.e. If you are porting Sense ICS
    you take boot.img from Sense ICS ROM specificaly made for your device
    1
    A)These Devices are the Best!
    Xperia S
    HTC Sensation
    HTC Desire
    HTC Desire HD
    Feel Free to try other devices

    Why are those devices the best?
    1
    Need to make AN ION KERNAL, okay it is hard work

    Sent from my Sensation XL using Tapatalk

    No ION Kernels Available for SXL?
    1
    Take any of SXL ROM As Base, and for PORT take any other device ROM.

    For Example : RUNNY KITKAT is "BASE" and KITKAT of another Device is "PORT"..

    Haha not even close. If anyone wants to port a ROM to Runnymede (sensation xl) go search a bit, there is so many porting threads that are way better than this one. For best luck when porting, use a ROM that are having the same hw specs. At least SoC.

    Sent from my N1 using xda premium