yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Diablo67:
Awesome guide GF,this seems to be the first guide to work for me.Great share.Love a smart woman.

Hey for you guys that are looking for info on the phones,go here. this site will let you narrow down the search so its easier to find a match.
[Android Software Development] Mizo_elgabry:
Thanks mate! lookin' forward to learn more
[Android Software Development] Ghostfreak NB:
Nice guide!

I'll give it a rip next weekend!

I may not succeed at the first go but still could learn! :p

Ty
[Android Software Development] Shaiaz:
Hei! awesome guide :D Looking foward to try this out myself ^^ One question, if i would like to port a PA JB rom to Xperia play ? Which phone would be good to port it from? I guess you can't port from every single phone to another as they don't have the same procceser :/ Thanks in advance :3
[Android Software Development] Salo-S:
i will try to port cm10.1 from galaxy S2 to my xperia u... is it possible?
[Android Software Development] saywhatt:
you can try to go to PA's website about it ;)
[Android Software Development] Mesaman2012:
Is it possible to port j.b. from the HTC one so with the s4 processor to the HTC amaze.can I use the o.t.a. update to port to the amaze.could you please tell me for a beginner is it along hard job. Thanks in advance for your time.
[Android Software Development] RichyRicho:
Ive ported the Avatar rom to the Xperia S

I am getting boot loops as soon as it reaches the pin entry

Ive tried getting a log cat but it doesnt read the phone till it is in the system already.

What else can i try?
[Android Software Development] pratikmore:
Finally cm9 booted and show android upgrading but low on space and when ALL apps installed it reboots.logcat attached.Plz,tell me where is the problem.logcat:-http://pastebin.com/xAGpvWtC
[Android Software Development] Theawesomeguy4:
No need to SIGN the ROM...???:confused:
[Android Software Development] darkharbinger81:
Cant get baseband to work on a gsm rom I've switched every lib file everything I can think if to get working data no avail tho

Edit: I found a way I can port ics r oms with out the base band issue its worked thus far but I still cannot get ANY gingerbread rooms to port and work
[Android Software Development] camvar97:
can i port a gb rom from galaxy ace to a samsung galaxy discover which stock is ics
[Android Software Development] rishabh.raj37:
No

Both are very different.
[Android Software Development] :
first of all great guide, we need more of that.

1 question: what do i need to do when i wanna port a rom with a different resolution?

is it possible or a waste of time?
[Android Software Development] rishabh.raj37:
Yes. You Can port rom with different resolutions but sometimes you need to resize..
[Android Software Development] :
is it nothing more than resizing the wallpapers?
[Android Software Development] rishabh.raj37:
No

You have to resize pngs of UI,icons,etc.
[Android Software Development] triaqu:
I doubt the step " navigate to /system/app in your extracted Port ROM and copy stk.apk.....", we need delete the Port ROM apps or Base ROM apps???

confused.
[Android Software Development] Sami Kabir:
Hi, I'd like to port JB 4.2 to Galaxy S Advance (running 4.1.2 now).. could anyone tell me how I can do this?

The only way I see is by finding a Custom ROM made for a device running JB 4.2.. so like from which device will it be suitable for me to port its Custom ROM to my S Advance...
[Android Software Development] krew760:
I have a JB Rom running on HTC Evo V 4G that I want to run on HTC Evo Design 4G.. They're both 1.2 GHz dual-core and have very similar specs..

Or could you possibly port a ROM for me??
[Android Software Development] Rittik:
S advanced i guess will be similar to S2 mali...search web ..both the base device and port device MUST have same Board(cpu) and GPU(even same versions)

-Rik[Rittik]
[Android Software Development] erdal67:
Hey could you explain how to put a kernel in the rom?

Verstuurd van mijn HTC Wildfire met Tapatalk
[Android Software Development] Slothboy:
Could I port an Xperia Neo L ROM to the Xperia PLAY?

(Neo L ROM is stock sony based)
[Android Software Development] jmlugo90:
Thanks. Nice tutorial,

I'll try it porting MIUI V5 from Nexus S to CM10 on galaxy S3 to see if it work. XD
[Android Software Development] blackbeard:
HELP !!!!

Hey is it possible that the phone gets hard bricked if there's a problem in the updater script? Please reply...

Thanks in advance
[Android Software Development] blackbeard:
Failed!!

Ran the zip, but instead, got a soft bricked device. Recovered with odin, trying to fix... BTW thank you very much for the thread :good:
[Android Software Development] j.posarekar70:
GOOD JOB

Nice guide... :good: :highfive:

easy way to understand

How To Port ROM
[Android Software Development] lolerpro8:
sadsasda
[Android Software Development] dafikjunior:
great tutor

but i got like something error when installing the rom (aborted)

i was porting LG L7 CM10 rom to Sony Ericsson Live with Walman with based cm10

i wasn't sign the .zip, just compress it

do i must sign the .zip (with SignApk or something like that) ?
[Android Software Development] Misterjunky:
re: ported rom - kernel

I just read your guide on porting roms and it looks very interesting.

The only thing which I have not found in your guide is how to replace the kernel.

It does say to replace it, but what I really would like to know is how to do it.

I have already tried to delete the boot.img from the ported rom and replace the

boot.img (kernel) with the boot.img from the working rom but it had no effect

on the wifi at all. It still did not work even though the rom flashed error free.

What happens is, I can flash any of the i9505 cwm/twrp zip file roms and they all

work fine except for the wifi, that's why I would like to know how to replace the

kernel (boot.img) in the ported rom.

Every time I flash any of these i9505 roms I need to reboot the phone after the

flashing is completed and flash a different kernel zip file in cwm/twrp recovery.

After flashing a different kernel zip file the wifi works perfectly...

But what I am trying to do is to include the kernel (the one which works properly) into

the ported rom zip file so there will be no need to flash a separate kernel zip file.

I have a M919 Tmobile S4 phone and trying to see if any of these stock rooted cwm/twrp

flashable roms can be ported over to the Tmobile M919 forum.

Thanks in advance........
[Android Software Development] FahmiFitu:
Does it work if i tried to port a custom rom from htc one s to sensation ?
[Android Software Development] Ainz_Ooal_Gown:
im trying to port a t959 Vibrant ROM [ROM][4.2.2]SlimBean -T959- [Build 8] to a t959v Galaxy S 4G using base of

[ROM]SlimBean-4.2.2-build 4.2 v2[TFQ}...flashes perfectly with slim gapps but when booting it goes past the SGS4G initial boot screen then past tfq boot screen but then stays in black no boot animation no sign of anything else working but recovery....any help?
[Android Software Development] iDynamics:
Every rom I have ported has worked so far but in every port I get a android.media.process has stopped working error.

Steps I have taken but hasn't worked:

1. Factory reset / cleared dalvik

2. Fix permissions in CWM

3. Cleared cache of downloads, download manager, google play services, media storage, and google services framework.

This is incredible frustrating to me. Any help will be appreciated.
[Android Software Development] Slimegod:
Trying to port a Verizon miui rom to my sprint s3. Not able to download miui themes. Also the nav bar still says Verizon instead of sprint. Heres my logcat. Would appreciate if someone can take a look at it for me, thanks.
[Android Software Development] Bluezzy:
Trying to port miui v5 on my ot995 but stuck with status 6 in cwm. Help?
[Android Software Development] Olivier:
No, we can't help you. If you have a problem, you have to give us an output. E.g. if your ROM doesn't boot up, you must attach a logcat. If an error occurs when you attempt to flash a ROM, do the same with the updater-script of your ROM (which can be found in META-INF/google/android). :)

Gesendet von meinem Xperia S mit Tapatalk 4
[Android Software Development] mustufa_kheroda:
Help

Altough you mentioned this but can i port ROMS from other Resolution devices like say-

Xperia arc s(hdpi) to xperia live with walkman(mdpi) ;)

Can i..???:confused:
[Android Software Development] Olivier:
Of course you can, but you'll have to resize some stuff.

Gesendet von meinem Xperia S mit Tapatalk 4
[Android Software Development] gypsy214:
I seen a lot of threads of how to port roms with CM rom.. And that is good.. But i have seen some roms that are based on for example [samsung base] [htc base] I been looking on how to port roms like that but no luck.. I wonder if it's the same process as doing it with a CM rom..
[Android Software Development] wawan999:
[Q] [PORT] Force Closed: "proses android.process.media stopped"

Hi DEV....

I'm trying to Port Rom Samsung galaxy Ace duos (S6802) to Samsung galaxy y duos(S6102).

And this is my result:

1. Wifi, Data, Bluetooth, GPS, and other is OK.

2. All aplication is running OK.

But I have problem with this:

1. Media scanner (SDcard) running very fast.

2. Force Closed: "proses android.process.media stopped"

3. My SDcard Unavailable. but at USB storage.

4. Galery and Musik, no image and no musik.

5. No widget available

Please, help me, how to fix that?

Thanks.
[Android Software Development] Evilmonstertruck:
This guide looks sweet. So people have had good success with this? I have a G2 and im trying to port a Xperia Z1 ultra rom to it.
[Android Software Development] princemouli:
needed help..

i have tried to port the lewa rom ( LeWa_AMOI_N821_ROM_12.11.23_6096d ) to my celkon A97i which is MT6575

the rom installed successfully

when i on the phone i also saw the lewa name

but after the boot animation my phone is not going futher what to do .............

please help me to port the rom successfully............ thanks in advance........
[Android Software Development] Skywalker.00:
Looks as though this thread is no longer being maintained... For shame on the OP.
[Android Software Development] kangerX:
That's a bit harsh.

sent from state where marijuana is NOT illegal ! now Free
[Android Software Development] CallMeAldy:
Can someone help me to Port LewaOS to the Nexus4?
[Android Software Development] wawan999:
U can try this http://xdaforums.com/showthread.php?t=2468029
[Android Software Development] TitanTaber:
I get "set_perm: some changes failed (status 7)
[Android Software Development] lallolu:
This is what I get also. I have used different methods to port the ROMs. I have even used the tool but none has worked so far; I get this same error.
[Android Software Development] t1gartist:
Status 7 look at your updater script

Go through your permissions and find which ones your not using anymore from ported rom

Sent from my kitkat powered dlx
[Android Software Development] t1gartist:
Also if u pull a recovery.log it will tell you what needs modding to get it to work
[Android Software Development] rojov123:
Okay. After reading this, I have a couple of questions.

1. Will this work if I try to port a i9305 rom to a Shv-E210L?

The both have the same CPUs. Quad Exynos 4412 at 1400Mhz

2. In my base Rom, there is no stk.apk or vpnservices.apk .

What should I do?

I am sick of having extremely limited options for my Shv-E210L which is almost the same as the i9305. The only available roms for me right no are in chinese language without too many features.. Please help..
[Android Software Development] koolkunz:
What do you mean by same CPU type?? Is it like s2 has dual core 1.2 ghz and s advance has 1 ghz dual core?? Will they work?
[Android Software Development] dayrew:
Tried porting a ROM but I'm getting an error on executing update-binary. Anyone have any ideas?
[Android Software Development] :
By now you have probably figured out how, but I wanted to clarify this matter for others who still may not know. To switch the kernel will require unpacking both boot.img's from the base and the port. At this point you should see your ramdisk image and kernel image. Swap out the kernel image and then repack the boot.img. For clarification, depending upon what you actually ported, you may also need to edit the init.rc file found inside of the ramdisk image. There you will need to edit the BOOTCLASSPATH from one ramdisk image to the other and then repack the ramdisk, thus following after will you repack the ramdisk and kernel which shall create your modded boot.img. Seems complicated, but it is rather simple when you actually do it.
[Android Software Development] AiZ_04:
On our vivid fourms, there are TWO Sense 4.1 ICS roms.

One is totally stock look and is ported by SunDream from a Chinese HTC One S

and 2nd one is similar but is ported from VilleC2 and has more features. I just like that better.

The main thing is, Vivid has a bug with Sense 4.1 and other AOSP roms too, that the IN CALL volume is super low!

Now SunDream fixed it in his rom, but is unwilling to share the fix. And is not developing the rom any further, so I took it upon myself to remedy it.

I read somewhere that system/lib folder had something to do with it, so I replace the lib folder from the 2nd rom with the SunDream's rom.

The thing is CALL Audio works. But video playback, image loading, gallery crashing and some other bugs arise.

I just wanted to know, where is the IN CALL AUDIO lib file located, or what it's called for HTC Vivid.

Also, i just ported a Viper Sensation ICS Sense 4.1 rom, gonna try it right now, thanks to your guide.

ALL for personal use only. Not to disregard other developers. Im just trying to learn. :)

Will be glad if anyone would like to point me the right direction.
[Android Software Development] Metalhead081:
First, :good:Thank you for the How to port ROM Guide:good:, its very help full.:):) [MENTION=4599745]saywhatt[/MENTION]

-->My base ROM - CM11,

-->Port ROM - AOKP.

CM11(Base ROM has inbuilt kernel), I want same kernel to be ported into AOKP (Base ROM), is it possible.

Please help me. :confused::confused:

---------- Post added at 02:25 AM ---------- Previous post was at 01:43 AM ----------

Even I have the same question..

If you tried..?, Did it worked..????

:confused::confused::confused::confused:
[Android Software Development] :
Depends on how the device is ported. If missing just the right stuff from the port you will get a lot of errors and will most likely have to restore your device. I personally was able to port and use a 4.2.2 GSM kernel from a K2_UL on my 4.1.2 CDMA K2_CL. There were lots of bugs in the beginning and at first it wouldn't even boot at all. After messing with it over time I got it to work. So, yes, it can be done, just won't be easy. In other cases, probably won't be possible.
[Android Software Development] Krait-Haywire:
Can I port a ROM from Explorer for One V ?
[Android Software Development] Metalhead081:
When I tied that procedure.. The installation has been aborted..

:eek:
[Android Software Development] :
I got that a lot in the beginning also. Just have to keep at it and fix the bugs.
[Android Software Development] Metalhead081:
"In Notepad++, open \META-INF\com\google\android\updater-script from both your base and port ROMs. Edit the Port’s script to be like the Base’s updater-script: specifically, change, edit, or add the sections for permissions, ui_prints, asserts, run_programs, and installing the kernel. Don’t change any of the symlinks. In the Port script, make sure that the ‘format’ values are appropriate for your device (compare them to the Base script)."

I am unable to understand this step in the whole procedure..

:confused::confused:
[Android Software Development] :
I will make this easier for you ;)

If you are using dsixda kitchen, then go ahead and delete the meta-inf folder from the Rom you plan to have working on your device after it is built.

Now move that working folder over to the original_update folder.

Now get the kitchen up and running.

Select 1 to set up your working folder from your Rom.

It will show a list to choose from. Choose the working folder that you had just moved over to the original_update folder.

It will copy all the content over in to the new working folder. It will detect that there is no update-binary and updater-script. At this point it will build one for you based on the Rom.

All you need to do now is open up the updater-script once it is built to your Rom and:

1 -delete format()

2 - look for mount() and add underneath that line, delete_recursive("/system");

3 - review mount () and insure that its arguments are appropriate to your device. For my device it would be as followed:

mount("ext4", "EMMC", "/dev/block/mmcblk0p35", "/system");

Note: ext4 is the type of format for the system partition, EMMC should be self explanatory lol, the third arguement is where your system partition is properly located at for your specific device and the fourth argument is obviously the system, so self explanatory.

You have to change this to match your device.

Now scroll to the bottom. You will see where it goes to install the boot.img. Delete ALL of it.

Replace it with package_extract_file()

For me it would be as followed:

package_extract_file("boot.img", "/dev/block/mmcblk0p20");

Note: boot.img is the file currently located in your Rom.zip, and the second argument is the proper partition for your boot.img (your boot partition).

You will need to know the location of your boot partition and replace mine with yours...

After that, just build your Rom and flash, and be ready for logcats lol.
[Android Software Development] Metalhead081:
Thank you very much mate..:good::good:

I will try this..

:victory::victory:
[Android Software Development] karan luniyal:
thanks..
[Android Software Development] Mrinal Roy:
:)

from which phone i can port roms for my karbonn a9?
[Android Software Development] octantcomp:
Hi.. I'm sorry I want to ask about change wifi driver. I just want to modify 1 ROM with wifi eth0 with wifi wlan0 (because the device works with wlan0, but the ROM have eth0 wifi so the wifi not working). I have changed wpa_suppliant.conf and build prop related to wifi (change eth0 to wlan0), paste libwpa_client.so from the original device ROM, but the wifi still not working.. What other files that I need to mod/change?? Please help.. Thank you..
[Android Software Development] t1gartist:
Have u tried modifying your Touter settings since 10.1 wep is a security issue so I would suggest adding Mac address to router and chasing over to wpa2 and seeing if that helps. Also keep in mind Mac addresses vary from ROM to ROM
[Android Software Development] octantcomp:
I dont think its router problem because my samsung epic & my tablet connect with no problem. the router already set mac clone address..

(sorry for my bad english). I have to find out what files have to modded in that ROM.
[Android Software Development] t1gartist:
what device are you porting to? and what are you porting just curious as its possible you could need to hack your kernel source for wifi to work.
[Android Software Development] octantcomp:
I have an old Huawei C8150 (CDMA version of U8150). Since it is not used anymore, i think i will use it for BBM at home with wifi. Now the specific ROM for it just Gingerbread, but ROM for U8150 has ICS & Jellybean. Since they're similar, i flash it and the network of course not working but it's not a problem, the problem is the wifi is eth0 but mine is wlan0. The ROM is (update-cm-9-20120523-SNAPSHOT-u8150-ColdFusionX-tilal6991-signed) - by tilal6991. It is in U8150 forum. I guess since i'm using it for my self, it's ok if I modify it a little (thank you tilal6991).

Thank you for any help.
[Android Software Development] t1gartist:
Two things you can trying brigding wired with WiFi via bonding module which I'm not sure how as its hard in Linux but possible. Now if you can port a Linux bonding module to your kernel now there a feat accomplished and you are the man. Did you try using a the WiFi module that came with you kernel source. Have you tried setting up a NAT connection and use a dchp server to host connectio n
[Android Software Development] octantcomp:
Thank you very much.. but I didn't understand anything that you mentioned.. :(

I think I should give up now because when I try to install BBM.apk the app keep force close.. Maybe not compatible.. So its useless even if my wifi has working.. But thank you really.. and i'm sorry..
[Android Software Development] t1gartist:
Never give up collect a logcat of the error and see why is doing that also is in Linux u can install color coded error messages for logcats via terminal
[Android Software Development] omnis:
Hrm..

Hello there and thank you for posting this lovely tutorial I can't wait to get started. I have a phone that is a clone of the Note II with these specs:

Hardware : MT6572

Model : F7102

Build number : ALPS.JB3.MP.V1.6

Build date UTC : 20131204-082305

Android v : 4.2.2

Baseband v: MOLY.WR8.W1315.MD.WG.MP.V4.P3, 2013/08/05 17:01

Kernel v : 3.4.5 (ser4@ser4-System-Product-Name) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 SMP Wed Dec 4 16:20:10 CST 2013

Uboot build v : -----

LCD Driver IC : 1-d16_f01_changxingda_rm68180

and would like to port a ROM to it because there are none yet however I am not sure how I can extract the existing system to have a base stock ROM. I have created a nandroid backup, but I'm not sure if there's more to it (which I'm sure there is) than that. Any help is appreciated thanks!
[Android Software Development] DG|Buu:
What About Mtk chipset?

I own a MTK6589 Chipset....This Guide is Suitable????:D:D:D:D:D:rolleyes:
[Android Software Development] wire55:
Ok, I have a Kindle Fire HD 7" 2012(tate), I want to port a rom for the Nexus 7 2013(flo). How do I go about doing this?
[Android Software Development] wire55:
Any help?

Sent from my Kindle Fire HD 7 running PAC-man
[Android Software Development] Crysis2:
I just know that both of them have to have the same cpu and pixel density.
[Android Software Development] wire55:
How do I know what CPU my tablet has?

Sent from my Kindle Fire HD 7 running PAC-man

---------- Post added at 10:00 PM ---------- Previous post was at 09:59 PM ----------

Nvm.

Sent from my Kindle Fire HD 7 running PAC-man

---------- Post added at 10:01 PM ---------- Previous post was at 10:00 PM ----------

The 2012 nexus 7 has a Cortex-A9 which is what is in the device I have.

Sent from my Kindle Fire HD 7 running PAC-man
[Android Software Development] Crysis2:
hmmmm so in theory you can port that Rom for your device.

Give it a try.

Will be happy to help.
[Android Software Development] wire55:
I attempted to port purity ROM, but got in a bootloop. :(

Sent from my Kindle Fire HD 7 running PAC-man

---------- Post added at 11:48 PM ---------- Previous post was at 11:46 PM ----------

http://xdaforums.com/showthread.php?t=2562263

There is the link to it.

Sent from my Kindle Fire HD 7 running PAC-man
[Android Software Development] Crysis2:
What have you done so far.

For your device you need to a new boot file.

Ask one of pro developers to create a kernel for your device maybe the bootloop slaved.

I don't have the kindle fire hd7 and not even nexus 7 so I have no idea about bootloop.
[Android Software Development] wire55:
I may have fixed it, i am about to flash a more edited version that should work.
[Android Software Development] Crysis2:
Wish good Luck for you.
[Android Software Development] wire55:
Thank you, I am signing it now and all that other stuff, then flashing. Hoping for the best!

---------- Post added at 12:38 AM ---------- Previous post was at 12:35 AM ----------

I flashed it, but for some reason it was stock and Idk why, rebooting and going back to previous rom while I work on the purity one.

---------- Post added at 01:09 AM ---------- Previous post was at 12:38 AM ----------

It didn't work, so I am going to stick with the old ROM I have til I get someone who has ported a ROM in the past(already talking to him) to help me get it ported. Purity ROM from what I heard is alot smoother than CM11, so I want that ROM.