yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Servine:
try to use AOSP based ROM as BASE, or if it has CyanogenMod then try to use it also. Use ROM from the phone with similar specs as PORT (same CPU, Display res, etc.). Follow the instruction carefully.

---------- Post added at 11:02 PM ---------- Previous post was at 11:00 PM ----------

is the stock moto e ROM based on AOSP? if it is, then you can probably use it.
[Android Software Development] Punka-res.apk:
I tried but Auto reboot in recovery after flash...

Envoyé depuis mon SM-N9005
[Android Software Development] udhayababu:
yes moto e stock rom is pure android only it is not themed like sense , so can we use stock as base ??
[Android Software Development] Servine:
yep, call it AOSP from now on okay? ;)

---------- Post added at 11:28 PM ---------- Previous post was at 11:27 PM ----------

have you unpack/repack the kernel correctly? I suggest using Android Image Kitchen to unpack/repack the kernel
[Android Software Development] Punka-res.apk:
Yes it's done. I've edited default and environ (with android image kitchen)

Envoyé depuis mon SM-N9005
[Android Software Development] Servine:
are you using AOSP/CM's Kernel ?
[Android Software Development] Punka-res.apk:
Yes unofficial cm

Envoyé depuis mon SM-N9005
[Android Software Development] t-shock:
Lg g2 port nexus 5

What base & port rom should I use for porting lg g2 rom to nexus 5???

THANKS
[Android Software Development] Hajime:
base cm11 and port lg g2 stock rom or a deodexed version

---------- Post added at 03:52 PM ---------- Previous post was at 03:41 PM ----------

use cm11 official and cm11 modified kernel
[Android Software Development] t-shock:
I have tried it

The result a google logo
[Android Software Development] ironshadow2:
can this be used to port android l to sony xperia sp?
[Android Software Development] Madexplode:
Nope.
[Android Software Development] ironshadow2:
Can some one explain to me step 14 , I found the files on the website but I don't know how to download it or what to with it.

And I also can't understand step 16, I downloaded the android kitchen but don't know how to use it and what is

What is Reboot to Ubuntu

Is step 16 necessary if I want to use official cm11 4.4.4 as base ROM?

I want to port sense 6 to my xperia sp this one http://xdaforums.com/showthread.php?t=2753784

It is not official , is it possible to port this
[Android Software Development] FarrukhQadri:
hey Brother thanks so so much first time ever my rom worked because of your guide it didnt stuck on boot animatoin but "system ui " stopped working after first boot and "bluetooth share" also please tell me how can i fix them?? to fix them i used "ptivapp" folder from base rom which means there is no benefit of my build when it has all old interface of base rom.

please guide

Thanks
[Android Software Development] micro100:
What should i use as base if i want to port the S5 rom to the galaxy S4?
[Android Software Development] FarrukhQadri:
help

thanks for the guide rom booted but receiving errors because my device is mdpi port rom contains hdpi .

im confused
[Android Software Development] Tarun93:
i just ported VIBE UI 2.0 KK version for my Q700S MT6582M phone the only problem is i cant connect the phone to the computer it dies not show any notification fot usb connected or anything just charges the phone and i can see my internal n sdcard drives in my computer but not mounted i can see just the drives i tried changing the cable changing pc changing OS but the same results pls help guys
[Android Software Development] Servine:
CM 11 or any other AOSP - Based ROM

---------- Post added at 12:52 PM ---------- Previous post was at 12:49 PM ----------

Porting is harder than you think. No ports works out of the box.
[Android Software Development] HatRiGt:
thanks for good tip.....
[Android Software Development] Pankaj Rai:
Thanks this is really helpfull for me ...
[Android Software Development] Gamephantom:
Problem with Booting

Hello,

I want to port the ROM of the Desire X to Samsung Galaxy S3 Mini .

But i have a problem with booting....

The rom is stucking already on the Samsung Bootlogo but gives me a logcat : http://pastebin.com/UUbUxn1s

Can somebody help me? I already tried to replace the libs in the logcat but it doesn't work
[Android Software Development] tryman87:
Thanks for the tip. I followed this guide in porting the FlymeOS 3.8R from Nexus 5 to my LG G2 but sadly after rebooting from TWRP when i flashed the rom i was automatically sent to Fastboot mode. What could be the problem? By the way my base rom is CM11.
[Android Software Development] startracker:
Say reboot to bootloader
[Android Software Development] soulaiman:
Thanks for the tutorial !

Just wanted to point something out...

When you are using CM11 as a base, well in case of the sirius (xperia z2) the bootclasspath is in init.environ.rc
[Android Software Development] startracker:
nope ur wrong !

its in all kk roms:)
[Android Software Development] :
Your indeed correct. also it's in dev l prev .
[Android Software Development] Dragonkind:
Hey, bro, could I port the HTC Sense 6.0 rom (Android 4.4.2) from HTC One mini (M4),

to Xperia SP (CM11, Android 4.4.4) with this guide?

Both of them are dual-core and HD density, is it possible to get a successful port?
[Android Software Development] startracker:
check chipset that's main:beer:
[Android Software Development] Dragonkind:
HTC One mini (M4): 1.4GHz, Dual-core, MSM8930AA, Adreno 305.

SONY Xperia SP (Huashan): 1.7GHz, Dual-core, MSM8960T, Adreno 320.

Got it, they were similar, but not completely the same...
[Android Software Development] startracker:
no it will not boot ! sorry check msm ,that's important .

well u can give it a try:thumbup:
[Android Software Development] Dragonkind:
Hey, I have just given it a try...

The updater-script is fully-working now.

But I can not get into the second bootanimation, I get a black screen now.

How can I start debugging?

ps. Though M4 is with MSM8930AA, it is described as MSM8960 for its platform in build.prop.
[Android Software Development] osas514:
Can i port galaxy core 2 duos Kitkat rom to grand duos using cm11 as a base?
[Android Software Development] sun_dream:
Only describes the basic structure of the file, the most junior, will not bring much change for your success （In particular, 4.4.4 Sense6 eye）
[Android Software Development] GoPogoOreo!:
Want to try port Sense 6 ROM to a:

Qualcomm Snapdragon MSM8228

Quad-core 1.6 GHz Cortex-A7

Adreno 305

4.7 inch screen

What HTC device is the best choice to port?
[Android Software Development] bevinabraham:
valid for 5.0

Dear Galaxy User,

Please reply to my message.. Is this guide suitable if I have to port Touchwiz 5.0.0 to CM 5.0.2 ?

Just the minor version is different.

Is the procedure pretty much the same ?

Kind regards,

Bevin
[Android Software Development] Xdevillived666:
Can I use this to port a ROM from one m8 to my desire eye?
[Android Software Development] d3mondroid:
Maybe, as longs as both devices have matching specs.. Like chipset, etc.
[Android Software Development] WaseemAlkurdi:
I tried porting Sense 6 from the HTC Desire 816 to the Galaxy Grand 2. Both are on Qualcomm chips.

I am now such at the initial Galaxy Grand 2 logo (the one before the boot animation). Can't take a logcat as the ADB Daemon seems not to have loaded.

Please help [MENTION=2623456]GalaxyUser[/MENTION]!
[Android Software Development] DigiGoon:
adb remount

hello there, try adb remount in terminal and run the logcat again.
[Android Software Development] Rmdatsikk:
moto x or droid turbo port to nexus 6

When the moto x or droid turbo get lollipop would it be possible to port the roms to the nexus 6? It would be cool to use the features Motorola put in.
[Android Software Development] :
Will this guide work to port s3 I9300 rom to s3 att I747?
[Android Software Development] marctrad1:
does lollipop work ?

Sorry for bothering,

I wanted to ask if i can use this guid to port a lollipop from the htc one m7 to the htc one max . They both have the same hardware specs however the one max has a bigger screen .
[Android Software Development] AndroSteel:
Porting is difficult sometimes and easy other times. Although screen resolution will not affect the system, in this manner you can port it, but I guess you will need more knowledge and to modify the files by yourself. Assuming they are similar devices, the drivers would be the same so try using [MENTION=673068]dsixda[/MENTION] kitchen. Best luck!
[Android Software Development] marctrad1:
Thank you very much , will try soon and then come back with the results .
[Android Software Development] AndroSteel:
You are welcome! :)
[Android Software Development] I Dragon:
Bootloop

E HAL : load: module=/system/lib/hw/hwcomposer.msm8226.so: /system/bin/surfaceflinger

E HAL : dlopen failed: cannot locate symbol "_ZN8SkBitmap9setConfigENS_6ConfigEiij11SkAlphaType" referenced by "hwcomposer.msm8226.so"...: /system/bin/surfaceflinger

E SurfaceFlinger: hwcomposer module not found: /system/bin/surfaceflinger

E SurfaceFlinger: ERROR: failed to open framebuffer (Operation not permitted), aborting: /system/bin/surfaceflinger

I'm having this problem. How to fix. Please help
[Android Software Development] ajay131:
Lockscreen Bug

Hello,

Successfully ported rom using your guide. Thanx for the guide.

But need help. I have ported Emotion UI 2.0. The problem is

1.---- when the screen locks, it doesnt wake up after pressing power key or even if i get a call. Do u know any solution?

2. --- Most of the system app force closes. Many of them are fixed. Can I simply delete those apps & insert other apps? Will this give me FCs?? (Sorry if this is a noobe que...)
[Android Software Development] WaseemAlkurdi:
Help!

Dear [MENTION=2623456]GalaxyUser[/MENTION] and all,

My HTC porting effort was a total failure.

The chips turned out to be a little different.

Not a noob, but not a super-dev either, I want your help, please.

From the MSM8226 Snapdragon 400 Xperia E3, to the MSM8226 Snapdragon 400 Galaxy Grand 2, I decided to port Xperia.

I did, and all went good, thanks to your explanation, but stuck here:

- Kernel (CyanogenMod 11 modified) boots and gives a logcat.

- Used the logcat to replace some stuff.

Result:

As all Galaxy series devices, the Grand 2 has two boot screens.

One is Samsung GALAXY GRAND 2 SM-G7102 (by the bootloader)

And the other is whatever boot animation is in the ROM.

At the first one, the bootloader one, the screen slowly dims to minimum brightness, stays so for a few seconds, and reboots.

Please help!

Logcat: http://www.mediafire.com/view/?s7vj805liuan1kw

I could not see the problem in this.

I hope that someone with more experience than myself does.

And for the previous adb logcat problems, turned out to be a bad mkbootfs.
[Android Software Development] mirrr46:
Hi, i have flash via CWM CUSTOM ROM SAMSUNG S5

Everyfing works great but when my phone will go to sleep and won't wake up again through touch or buttons.

Only way to get it going again is through removing my case, taking the back panel off, removing and reinstalling the battery.

Can you help me?
[Android Software Development] :
do you have surfaceflinger in bin?

it can't find it since it look like it isn't there
[Android Software Development] andeld:
Delete
[Android Software Development] MatheusAlves:
I did not find the files to replace in "boot.img". I just replaced and the rom reboots before the bootanimation and starts on reconvery mode.

Same CM10.1 base, same ldpi screen, same android version and same armv7. Please help me :crying:
[Android Software Development] azher98:
how to Decompile both boot.img/kernel ?
[Android Software Development] -m3tac0rt3x-:
See if this Tool developed by [MENTION=4544860]osm0sis[/MENTION] can help.

[DEV][TOOL] Android Image Kitchen - Unpack/Repack Kernel Ramdisk [Win/Android/Linux]
[Android Software Development] Lovenish Singh Panwar:
Can i port mokee open source project for moto g to xperia m2 dual (d2302)..??
[Android Software Development] veer.killerboy:
Hey there , please help me I want to port SENSE6 ROM (4.4.2) and there were no cm/aosp Rom of that android version for my device , right now I am on SENSE5 ROM(4.2.2) . So, my question is

1. Can I seriously port it?

2. If yes, so I have to take sense5 kernal and do edit? That means I have to make custom kernel?
[Android Software Development] TechnoTrons:
[MENTION=2623456]GalaxyUser[/MENTION]

Is it possible to port 64-bit HTC sense rom using 64-bit cm12 using this guide ??????
[Android Software Development] uzairabdulmajeed:
can i port android 5.0.2 ROM from snapdragon variant of note 3 to exynos variant?
[Android Software Development] vjtigas:
Could someone do this for me? I don't have a PC, so I can't.

I have a Lenovo Tab A7-30 A3300-HV with MT8382 processor, that means the firmware consists of img files.

I want to port TouchWiz of Samsung Galaxy Tab 3 7.0 (even 4, if possible).

Thanks!
[Android Software Development] jazzespresso:
[MENTION=2623456]GalaxyUser[/MENTION],

This is quite useful post...I like to thank for putting this together.

I know that almost everyone says porting similar devices and similar hardware is easy, which is true.

I always run into a lot of challenges, issues when I tried to port a ROM from snapdragon variant of exynos variant or vise versa.
[Android Software Development] ivan290:
Update for lollipop?
[Android Software Development] jats007:
Can anyone help me?? i want to port s4 rom to s5 both having same cpu .. PLz Help!!!!!!
[Android Software Development] Aamirx27:
Will this guide work on Lolipop, tried Porting HTC M8 for Note 3 N9005 but it gets stuck at Kernel Logo.

When trying to use logcat i get this error

- exec '/system/bin/sh' failed: No such file or directory (2) -

However the file is there
[Android Software Development] pradeepsmehra:
(i am Noob in Qualcomm & a Porter in MTK).. Buddy i was trying to Port VIBE ROM for One Plus One Port ROM taken from Lenovo K920 (4.4.2) & Base ROM is Stock CM11 (4.4.2)

after the copy paste stuff & boot.img recompiling i got symlink error in flashing ZIP (TWRP 2.8.7).

want your help ..
[Android Software Development] Mustafa Jafri:
Can I port 4.4.4 to base 4.4.2
[Android Software Development] jhr5474:
I have read and I have read this thread for hours now

I am a G900V user which is the S5 Verizon variant. I want to port a rom from s5 international forum. In the beginning of the OP it clearly states to use stock rom for file stuff to replace in rom that I am porting . After reading a lot i realize i need a cm rom as a base. OUR bootloader is locked and there is AOSP for one of the models of S5 with same hardware. Can I try to use the AOSP as a base to port from? Or will I brick?

---------- Post added at 01:43 AM ---------- Previous post was at 01:34 AM ----------

"Do not use this guide to port rom based on CM / AOSP roms. Please use this guide to port Sense / TouchWizz / Motoblur etc ... If you want to port based on AOSP roms there are others guide on XDA."

If I am porting from a device with the same hardware and everything is the same they are both stock. They are both S5 stock roms. Why would I not use the files from the stock rom that I know work?

Not downing your OP at all!!!! your a bad ass clearly. I am just wondering if someone could explain why?
[Android Software Development] ChristianFerrer:
Source: http://xdaforums.com/showpost.php?p=41294434&postcount=23

15. Now open build.prop of PORT rom and replace these lines with BASE build.prop :

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.wifi.channels=
ro.board.platform=
ro.build.product=
ro.build.characteristics=
rild.libpath=
rild.libargs=
wifi.interface=

16. Reboot to Ubuntu.

Steps for android 4.3 and older

Open dsixda's Android Kitchen

Decompile both boot.img/kernel

Open both init.rc files

In CM/AOSP kernel replace BOOTCLASSPATH by the one from PORT boot.img ROM

Save and recompile kernel

Use CM/AOSP modified kernel in your rom.

Steps for android 4.4 and newer

Open dsixda's Android Kitchen

Decompile both boot.img/kernel

Open both init.environ.rc files

In CM/AOSP kernel replace BOOTCLASSPATH by the one from PORT boot.img ROM

In CM/AOSP kernel do these changes:

--> ro.secure=1 to ro.secure=0

--> ro.debuggable=0 to ro.debuggable=1

--> persist.sys.usb.config=mtp to persist.sys.usb.config=mtp,adb

--> ro.adb.secure=1 to ro.adb.secure=0

Save and recompile kernel

Use CM/AOSP modified kernel in your rom.

17. Now ZIP your PORT rom folder and flash it.

​

Please don't forget to use LOGCAT to debug the rom..... And to thanks or/and donate to me .....

Thanks !

​

GalaxyUser[/QUOTE]

How to reboot to Ubuntu? Sorry, I'm a beginner.
[Android Software Development] Monkey D.Luffy007:
Can I port Note 4 stock deodexed, zipaligned rom to galaxy s4 i9500 by using s4 stock as base? Both devices have same cpu architecture.

:fingers-crossed:
[Android Software Development] kishan12345:
Can I use this to port lollipop roms? And is there any device similar to oneplus two?
[Android Software Development] :
Hey man. Can I port a Note5 rom to Note 4 using this tutorial??
[Android Software Development] GalaxyUser:
Note5 is 64 bit, Note 4 is 32bit. You can try to port but i cannot garanty that it will boot
[Android Software Development] :
No there are note 5 ported roms I just wanna port marshmallow
[Android Software Development] jnvdh06:
[MENTION=2623456]GalaxyUser[/MENTION] Can I use this guide to port Touchwiz to Touchwiz. What I mean by this is, I have a Samsung A5, lollipop 5.0.2 (2015 model), but I want to port the Samsung A5 (2016 model), lollipop 5.1.1, Touchwiz to it.
[Android Software Development] jnvdh06:
Must the base rom be AOSP/CM or can it be a Touchwiz rom?
[Android Software Development] neonkat:
you can take touchwiz also but it will be quite difficult as they are heavily themed and boot.img is also modified.
[Android Software Development] 9282gkg:
Will this guide work for lollipop touchwiz roms?
[Android Software Development] jnvdh06:
Wil try both
[Android Software Development] anonymous8:
Appreciate

Very easy

Dope
[Android Software Development] MrHellRider:
I have downloaded a galaxy a8's stock ROM lp5.1.1 as my port ROM n cm12.1 as my base ROM can I take cm12.1 as my base will it cause any problem is ,there anything extra I need to put beyond the steps mentioned to port this ROM if I successfully booted so will the ROM will be knoxed and what if I brick my phone there's also one problem I can't go to download mode because my volume down button is not working so if I brick my phone can I can I be able to go to recovery mode
[Android Software Development] Gayos24:
Whith twrp you can reboot in download mod. Or with adb you can do the same

---------- Post added at 01:21 PM ---------- Previous post was at 01:19 PM ----------

touchwizz is better
[Android Software Development] LegendSmoker:
hey I'm looking for a way to port

Note Pro 12.2 Verizon P905V 5.1.1 to Note Pro 12.2 Intr. P905 5.0.2

these are the same devices except Verizons locked bootloader.

Should i follow your guide?
[Android Software Development] rcrajarshi12:
Thank You Very Very Very much, I was trying to port a rom to my device Gionee Pioneer P4. After many days, I am going to give up. You helped me a lot thanx
[Android Software Development] shivbagdi:
Plz u can update this for lollipop ROM and for mi or oneplus devices
[Android Software Development] neonkat:
same guide will work.only you have to extract/repack .dat files.
[Android Software Development] Abu7med:
Port GT-I9500

Can i port Galaxy S4 GT-I9500 5.0.1 Touchwiz stock rom to my GT-I9300 S3 and i have CM12 which is Android 5.0.1

There's many tutorials didn't work for me. But i will try this one.
[Android Software Development] shivbagdi:
rom stuck on bootloop

i tried port s5 custom rom to oneplus x

but the rom is stuck on bootloop :confused:

plz help to solve this problem :crying:

i don't no how to get logcat on bootloop
[Android Software Development] neonkat:
http://xdaforums.com/showthread.php?p=47172724
[Android Software Development] shivbagdi:
i tried your link but android devices monitor show my phone as a unknown devices and its can't taking the logcat of my phone

if you have and video on this porting guide so plz upload this its very use full for me and newbie no xda who trying to port Touchwiz and Sense rom

and sorry for my bad English
[Android Software Development] Alukrad:
Which files needs to go where? What do we used to decompile? I'm working on a MM port right now. Would love all the help to make this successful so I can share :)
[Android Software Development] neonkat:
check this.

there are guides for porting lollipop and marshmallow roms,you can check those too.

this one

---------- Post added at 01:58 PM ---------- Previous post was at 01:43 PM ----------

did you tried with adb? it might work.
[Android Software Development] yyh991013:
Great
[Android Software Development] Alukrad:
Thanks! Gonna follow the rabbit hole and see how deep it goes :D
[Android Software Development] shivbagdi:
yes i tried with adb its show 'waiting for devices'

plz you can upload video for this guied. i tried 9 to 10 time this guied but some of the file you mentioned there are not exist in the rom

if you upload the video its very help for newbi on xda

sorry for my bad english.
[Android Software Development] shivbagdi:
U have another way to get logcat in bootloop
[Android Software Development] Qiangong2:
From what I can tell, this guide does not work porting YunOS to other phones.
[Android Software Development] Fágner Wolf:
someone help me, I carry the Android 6.0.1 S5 to note 3 ... so it does not recognize the carrier signal and no wi-fi, can anyone tell me how concert?
[Android Software Development] Ouweshs28:
Tried to port sdk touchwiz

Base touchwiz

Port touchwiz

No boot animation

But led get on..

Any help?
[Android Software Development] Awesomeslayerg:
Wanna port Touchwiz to Moto X pure. Is that possible?
[Android Software Development] sameer 100:
Source: http://xdaforums.com/showpost.php?p=41294434&postcount=23

15. Now open build.prop of PORT rom and replace these lines with BASE build.prop :

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.wifi.channels=
ro.board.platform=
ro.build.product=
ro.build.characteristics=
rild.libpath=
rild.libargs=
wifi.interface=

16. Reboot to Ubuntu.

Steps for android 4.3 and older

Open dsixda's Android Kitchen

Decompile both boot.img/kernel

Open both init.rc files

In CM/AOSP kernel replace BOOTCLASSPATH by the one from PORT boot.img ROM

Save and recompile kernel

Use CM/AOSP modified kernel in your rom.

Steps for android 4.4 and newer

Open dsixda's Android Kitchen

Decompile both boot.img/kernel

Open both init.environ.rc files

In CM/AOSP kernel replace BOOTCLASSPATH by the one from PORT boot.img ROM

In CM/AOSP kernel do these changes:

--> ro.secure=1 to ro.secure=0

--> ro.debuggable=0 to ro.debuggable=1

--> persist.sys.usb.config=mtp to persist.sys.usb.config=mtp,adb

--> ro.adb.secure=1 to ro.adb.secure=0

Save and recompile kernel

Use CM/AOSP modified kernel in your rom.

17. Now ZIP your PORT rom folder and flash it.

​

Please don't forget to use LOGCAT to debug the rom..... And to thanks or/and donate to me .....

Thanks !

​

GalaxyUser[/QUOTE]

Hello

Can i port toucheiz for MI 3 easily or i have to something differt to port rom to my MI3 and i dont have Ubunto, so is there is a way to port it from windows??

Is it easy to port from souce kernal and how to do it in windows??

Plz reply

Thankx
[Android Software Development] HASH:
Pls help

i want to port arom for galaxy core prime (sm g360h)

but it doesnot have any custom rom only a deodexed one

can i use that as the base for porting

pls reply
[Android Software Development] wzedlare:
Can I port Xperia Z1 5.0 to my LG G2 stock based 5.0.2 using this guide?
[Android Software Development] Ahmad Moemen:
7. Now in PORT folder open lib folder and delete these folders :

modules

hw

egl

​

I don't have modules folder in the port rom:(