yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Arjav23:
so can i do this

unpack boot.img of port using dsixda

replace zimage over there with mine

repack it with dsixda?

or just do a backup of whole rom in cwm and use that boot.img so formed?
[Android Software Development] CNexus:
Re: [GUIDE] How to port manufacturer ROM (Sense/Touchwizz...)

No, you need the ramdisk from YOUR AOSP boot.img and then you need to add the bootclasspath from the ramdisk of the Sense boot.img

So yes you are unpacking both, but you can't just replace the kernel
[Android Software Development] Arjav23:
and how shall i get that?

i am not porting any sense rom

am porting Touchwizz modified rom from galaxy ace

if u do have a look at my logcat on prev pg, it shows lib errors:rolleyes::rolleyes::rolleyes::eek::eek::eek:
[Android Software Development] Arjav23:
can someone pls explain what to do exactly in STEP 8???

copy but not replace:confused::confused:

So should i merge the folders?

If so when u merge, Windows straightaway gives a msg for replacing files
[Android Software Development] CNexus:
Copy and paste, but when it asks to replace a file with the same name, hit the check box and then choose do not replace
[Android Software Development] Arjav23:
so should i merge???

Also, for porting a stock Touchwizz rom, shall i use AOSP Gb or CM7?
[Android Software Development] cbrown245:
Ok guys I tried to port using this guide for the first time . I ported a HTC ONE sense 5 rom to the HTC DNA , it booted up and started but had a few snags ( Yes I know there is a sense 5 port already , but I gotta start somewhere ) First it didnt do the normal setup process and sign ins , I could not get data , and I was getting a vDM client service not working . So my question is , is anyone willing to lend some expertise and answer alot of noob questions on GTalk and help get me in the right direction ?? Thanks guys
[Android Software Development] xboxfanj:
Either way works. Any aosp base is fine. Just don't use a non aosp base such as sense or tw.
[Android Software Development] Arjav23:
ok i tried with aosp and cm7 without merging files but no success
[Android Software Development] thehacka1:
If it is rebooting at the first screen then that means the rom did not install properly. Check your updater-script.
[Android Software Development] someone755:
I had no errors in recovery, all went well.

I mean, I can see that the kernel from the zip was flashed correctly, so the entire package must have... Right?

My META-INF folder is from my base (10.1) ROM, so there shouldn't be issues with that anyways...
[Android Software Development] vinayakagarwal1996:
the base rom used 3.0 based kernel while port one uses 3.4 linux kenel

will the port work?

here is the logcat anyway

http://pastebin.com/1xDa2Xc5
[Android Software Development] thehacka1:
Use your stock CM10.1 boot.img. It should reach the bootanimation.
[Android Software Development] Ashish_ex:
Help : Network Issue

Hi

I have been successfully Ported Huawei Ascend ics ROM to My Karbonn A15 but some bugs found in this port

Wifi Not Turn On

Bluetooth Not Turning On

Camera & FM Radio Not Working

Main Bug - Network signal not capuring

Please Help ???

i am attaching screen shot & catlog of Radio
[Android Software Development] ChinmayKunkikar:
Umm.. I am actually using the unofficial JB rom ported by munjeni and also using the kernel provided by him.

Yes i unpacked the kernel using 7zip which isnt the correct procedure. And thanks for the link you provided. I will check that out. :)

Edit--

I saw the process, but I dont have any ftf file for the rom which I am currently using. Also, I am porting a JB rom (Of Desire X) which indeed requires a JB kernel (I guess).

.

Umm what if I rename the kernel from 'boot.img' to 'kernel.elf'? And then extract the files? (I have read this somewhere so just confirming)

Thanks! :)
[Android Software Development] ChinmayKunkikar:
-Spam-

Sorry :(
[Android Software Development] someone755:
You don't need the FTF file. You already have the boot image, which is the same as a kernel.elf (all that changes is the name and file extension, the actual file stays the same after renaming. Try making a text file and rename it to text.avi -- you'll still be able to use notepad to open it.).

So yeah, you don't even have to rename the file, just work with the commands to use your boot.img...

Also, thanks all for replying about my issues, but; I tried using my CM10.1 kernel, it's a no go. Same happens as before.

Could I use the 'libaudioflinger.so' from the port ROM? Would that help?
[Android Software Development] qmobilea2:
I think the signal problem is mainly due to modem.img so try replacing port rom's modem.img by ur stock modem.img!

Hope this works :)
[Android Software Development] Ashish_ex:
Where i got this Modem.img

& If i flash my mobile with my stock baseband to my ported ROM, is it work ???
[Android Software Development] qmobilea2:
Modem.img is located in system/etc/firmware normally

Nd yes u can use ur stock baseband :)

Edit:

One more thing, use ur stock mtkril.so located in system/lib.
[Android Software Development] cakaostojic:
Did anyone secceeded in porting htc sense on nexus 4
[Android Software Development] Ashish_ex:
My phone is based on qualcomm chipset so there is no availablity of mtkril & modem.img which is based on Mediatek chipset

Thanks for your reply
[Android Software Development] qmobilea2:
Oh sorry :D

I guess karbon uses mediatek chipsets in their smartphones !!
[Android Software Development] xboxfanj:
Add all your libril, libq, bin/q, and bin/rild files.
[Android Software Development] someone755:
So, umm, anyone got any clues on my build?

As stated before, for a Xperia S, port is a Sense 5 AT&T HTC One X, Android 4.2.2. CM10.1 for base.

Thing's not booting, just restarts after the kernel logo...
[Android Software Development] clueless_stranger:
So what should I do instead? I don't know much but I know how to learn.
[Android Software Development] tommypacker:
Can anyone help me out? I'm tryin' to port sense 5 from the HD2 to the Nexus One and this is the log I get when it boots up.

http://pastebin.com/XYbjzqjw

Thanks
[Android Software Development] DorkyDev:
How do I do this? I'm completely lost!!!! I copied the contents of "Android-Kitchen-0.224" over to "c:\cygwin64\home\ME" and am in ubuntu, run "menu" from inside there and then am confused and lost.
[Android Software Development] xboxfanj:
Try some of the original audio and wvm files.
[Android Software Development] xboxfanj:
Press zero to go to the advanced menu and even pick something like unpack, repack boot.img.
[Android Software Development] DorkyDev:
Does the boot.img have to be in the base of the same folder?
[Android Software Development] ChinmayKunkikar:
Hey! Is this thing done?

IF yes, please give me the link! :good:
[Android Software Development] someone755:
This already exists, but in another, simpler form.

You can try googling 'ROM porter xda' and similar...
[Android Software Development] xboxfanj:
Not sure what you mean by that.

I'll re-explain what I said:

First, put the boot.img for your device from the AOSP ROM in a zip. Next, move that zip to the original_update folder in the dsixda kitchen dir

Then, open up the kitchen with ./menu and pick option 1: Set up ROM from working folder and confirm all the stuff there.

After that, go to advanced options, pick unpack and repack boot image (or something like that).

First, pick unpack boot.img (Not the one from any folder) and your device's kernel will move to Boot_EXTRACTED (maybe it's a dash not an underscore, but close enough)

Then, pick unpack boot.img from any folder, which will create a folder called BOOTIMG and a date and time, where you need to put the boot.img from the ROM you are porting (not from your device). Confirm that, make all the changes you need to in boot-extracted, then pick b to build the BOOT-EXTRACTED kernel you made. When you do that, the boot.img will generate and be put in the working folder you made in the first step.
[Android Software Development] blogodoblogodo:
HI all,

Is that possible to port something to pair SamSung Wifi-Direct and HTC Wifi-Direct????

I'm SENSATION user and with BlueTooh i can pair with a friend that got a GS3. But can't pair to share big files using wifi-Direct.
[Android Software Development] someone755:
This should go into your device's Q/A forums, not into ROM porting guides. :I
[Android Software Development] blogodoblogodo:
okéy i'll do it
[Android Software Development] artupidah:
Great tuts.

It's look so easy and simple way to port Rom.

Many thanks for your tuts, I'll try its for my phone.:good::good::good:
[Android Software Development] GalaxyUser:
Hi everyone !

Added some files and camera fix.
[Android Software Development] GalaxyUser:
AndroPorter fully automatic enter in test phase.

It's very stable tool !

Github: https://github.com/GalaxyUser/Autoit
[Android Software Development] Kingzak34:
I can traduce in French if you want. Glad to see another usefull tool in there :)
[Android Software Development] GalaxyUser:
I'm French, but thanks you !

It will work on Windows.

I'm working on a Linux version but i never dev in bash. But after some hours of work i'm close to get a linux version fully working !

Edit: See my Github if you want
[Android Software Development] Kingzak34:
J'avais même pas vu :roll:

(Didnt see that :) )

Anyway, I think I'll try it ASAP :) I've some experiment to do with my TF101 and my Galaxy 3

Envoyé depuis mon Transformer TF101 avec Tapatalk 4
[Android Software Development] Explore The Universe:
Numerous tries but not even %1 success without ION kernel for evo 3d. I'm giving up.
[Android Software Development] someone755:
Yes, there are many limitations with this kind of porting, but I fear it is the best kind.

Many of us have given up on this, realizing that.
[Android Software Development] lallolu:
deleted
[Android Software Development] GalaxyUser:
Don't forget that logcat, xda and google are useful in porting
[Android Software Development] Explore The Universe:
It's bootlooping so fast that you can't even take logcat. (First HTC logo)
[Android Software Development] thehacka1:
That means your Rom is either too big or you messed up a mount or wipe command in the updater-script.
[Android Software Development] :
no audio after porting

hey guys,

i almost perfectly ported crDroid nexus 4 to nexus 3 maguro except 1 thing: i dont have media audio

no sound on calls also, when i change to speaker it's ok, ringtone and notifications also works, can you help me?

i made a logcat when starting apollo
[Android Software Development] xboxfanj:
When the ROM is open source, it's a lot easier to just build from source. Automated builds are much easier and includes all your hardware specific changes.
[Android Software Development] :
also when i start ''active display'' systemUI crashes, logcat provided
[Android Software Development] GalaxyUser:
It's the best answer

int android::load_audio_interface(const char*, audio_hw_device_t**) couldn't load audio hw module audio.r_submix (No such file or directory)

Process: com.android.systemui, PID: 669

java.lang.SecurityException: Disallowed call for uid 10008
[Android Software Development] :
Thanks guys, i'll turn my interest in compiling roms
[Android Software Development] Maurice5813:
this works for sense 5 or 5.5?
[Android Software Development] Ghaster:
Hello!

I am trying to port sense 4 to the galaxy s+, The device i am porting from is the HTC One V.

So far the port boots however, the touchscreen is really broken. when i try to unlock the phone the unlock circle is just stuck, like it thinks my finger is still there.

I have no idea what it's broken, i can't see any errors about the touchscreen in a logcat and a dmesg

So i could use some help here.

Logcat: http://tny.cz/fdc24d19

Dmesg: http://tny.cz/bb126aad
[Android Software Development] Omar1c:
Can anyone help us , trying to port touchwiz to the galaxy nexus using the premier as base

it doesnt start the boot animation but it lets me mess with the ui for a little while then it freezes to the point where you have to reboot

heres a log
[Android Software Development] aazzam16661:
Sense 5 HD2

Hey guys, need some help here.

I have ported Sense 5 Desire 300 To HD2

And I don't have phone speaker and mic to work.

When I answer a call, the audio route to the back speaker and then mute

Any idea on how to fix it

---------- Post added at 11:05 PM ---------- Previous post was at 10:54 PM ----------

Have you added the Touchscreen files from your base?
[Android Software Development] Xintorrim:
Problems

I'm trying to port a 4.3 rom from Galaxy S3 to Nexus 4, but when I finally try to flash the rom I'm given the error Status 7 (symlink):

symlink: some symlinks failed

E:Error in /data/media/0/port.zip

(Status 7)

Instalation aborted.

I took the error log from CWM and here is what is said:

minzip: Process function elected to fail (in inflate)

minzip: Error extracting "/system/lib/libSpenSkia.so"

failed to mkdir /system/etc/firmware/wcd9310: No space left on device

symlink: failed to symlink /system/etc/firmware/wcd9310 to /data/misc/audio/mbhc.bin : making parents failed

symlink: failed to symlink /system/etc/firmware/wcd9310 to /data/misc/audio/mbhc.bin : No such file or directory

script aborted: symlink: some symlinks failed

symlink: some symlinks failed

E:Error in data/media/0/port.zip (that's my rom's name)

(Status 7)

Instalation aborted

I:using /data/media for /sdcard/0/clockworkmod/ .recovery_version

What should I do?
[Android Software Development] aazzam16661:
Like the error said. NO SPACE LEFT

So, increase the system Partition or delete some APK in the rom
[Android Software Development] Xintorrim:
But what about the other issues? It seems to me that theres something else besides storage. And how do I change system partition?
[Android Software Development] -SmOgER:
Actually Kitchen is not necessary for this...

VTS will work too. ;)
[Android Software Development] someone755:
Wat http://en.wikipedia.org/wiki/Vessel_traffic_service xD

On a more serious note, I'm way more comfortable doing the destruction of my kernel's ramdisk. The kitchen isn't really useful for most newer phones (2012 are rare already).
[Android Software Development] ChadMan097:
Here's the problem I am running into...

I have copied all the files and followed the guide completely, but I am having an issue where it still will not Flash properly. I keep getting the error of couldn't flash (Rom location here). I have no idea what is causing it or how to fix it. I am trying to take a Sense 5 ROM for the HTC One X to the HTC One XL they are the same except the processors the HOX is Tegra 3 and the HOXL is Snapdragon S4. Is there something I am missing or need to do? My base is a current Sense 5 ROM for the HOXL and my Port is a Sense 5 for HOX. My base rom IS missing some of the files and folders that the other one has, should I get another base with all of them? Any other suggestions?
[Android Software Development] someone755:
Started porting an Xperia ROM to an Xperia device.

Get this, over and over again (the E and W lines).

Sorry for being short, in a hurry right now. Any help appreciated.
[Android Software Development] Mustafa Mubashir:
simple guide...

hey,would this work on sense 4+ 4.1.1 jb or not?

i tried this to port sense 5 but failed,due to kernel issue....(but later i came to know that it wont work on sense 5...)

any way +1 thanks...:good:
[Android Software Development] Nasheich Xfiles:
[MENTION=2623456]GalaxyUser[/MENTION]

hai sir, I've succeeded ported Motorola's Rom to My LG, but i got force close on system ui and keyboard, any solution?
[Android Software Development] GalaxyUser:
Hi,

Which rom ? any logcat ?
[Android Software Development] Nasheich Xfiles:
I ported this rom

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

to my LG L9 P765,

i don't have logcat, i'll create later
[Android Software Development] GalaxyUser:
Hi,

Don't port it with this guide.

You need to compile your own rom from MokeeOs Github; https://github.com/MoKee/android
[Android Software Development] Nasheich Xfiles:
exactly, i didn't ported with this guide, but with other guide, that is looks like your guide,

i don't understand about compiling the rom, is it harder than porting the rom ?
[Android Software Development] pandasa123:
Porting and compiling both have its pressure points.

With porting, you can have a test build faster

With compiling, you build it from open source code (github). You need to compile with aosp because how minimal the changes are in ROMs

In manufacturer roms, porting is the way to go because they don't put on git.

Lol I was telling a friend of mine earlier: "Haha picture this. You've spent an hour putting together your repo and waited 2 hours for sync and get ready to compile and boom. 31 seconds in and it breaks. Thats building from source"
[Android Software Development] Nasheich Xfiles:
Thanks, for the explanation, but still doesn't understand it

haha :D
[Android Software Development] GalaxyUser:
So... Just open a thread in Moto G general section :)

You can try to follow this guide: http://bbs.mfunz.com/thread-653126-1-1.html
[Android Software Development] tOrNadO™:
Hi.. I am trying to port Touchwiz 4.1.2 from Samsung Galaxy S3 to Sony Xperia S.. Both are of same resolution.. And i managed to do exactly as in OP.. But its not installing.. It gives me following error.. I saw this error in 15th page i think..

I tried removing those scripts that symlink errors produce in updater-script and everytime i do that, when i flash again, new ones pop-up.. What should i do? Keep removing these symlink scripts which show up in CWM log when i try to install? And i also noticed, none of those files are in xbin directory.. I know there is another set of symlink scripts which link to "bin".. But its always these.. Can anybody help? :confused::confused::confused:
[Android Software Development] Kingzak34:
Install the zip, then when you got this error try to read /tmp/recovery.log you'll see what's exactly is going wrong.

You can surely pull it with adb or copy somewhere on your SD if you have TWRP
[Android Software Development] tOrNadO™:
I think i already explained what the log says.. New symlink errors pop up.. I asked should i keep continuing the same process or removing those symlink scripts which cause these errors and keep trying until they stop..??
[Android Software Development] someone755:
You explained what the recovery log said.

The log Kingzak wanted would tell us exactly what happened -- which symlinks failed and why that would be.

There is a difference between the logs.

I must ask, though, did you unzip the ROM in the process and then just zip it back when porting?

I experienced the same (and more!) errors when trying Sense ports to the Xperia S, because my zip wasn't signed. I fixed it by just dragging my files into an official, signed zip (from whatever you're using, just put your ported files into the CM10 zip).

Also, CWM on the Nozomi is weird. Get TWRP, handling is much easier (and safer, since it's new-er-ish).
[Android Software Development] jester12345:
Anyone see a lg g2 touch wiz port anywhere. I've searched and can't find one
[Android Software Development] someone755:
Either look again and do it better or make your own one. There's not much to think about that...
[Android Software Development] Performance68:
Hello

with this guide can we port a touchwizz 4.2.2 rom to a base rom with touchwizz 4.1.2 ? Thanks :)
[Android Software Development] someone755:
Touchwiz*
[Android Software Development] Performance68:
The problem is that Samsung Galaxy Core doesnt have a CM or AOSP rom developed because there is no developer in its forum
[Android Software Development] someone755:
... Make one...?

Or if you're desperate and very lucky, a stock deodexed ROM should work as well...
[Android Software Development] jester12345:
U think touchwiz on lg g2 is possible?
[Android Software Development] xboxfanj:
I'm sure it is, but LG's UI is ugly enough to look like TouchWiz.
[Android Software Development] jester12345:
hi i am sorry. i am having trouble decompiling try using cygwin but no luck. im on last step and hope someone may be able to help me out. any suggestions?

---------- Post added at 12:03 AM ---------- Previous post was at 12:02 AM ----------

lol ya but touchwiz looks a little better then the lg. but the lg is a sweet phone:)
[Android Software Development] Omar1c:
Hello quick question do you think when the lg f70 system dump is out I'll be able to port lg ui to the moto G they have the same processor,same camera mp and same display size but the pixels are different lg f70(400x800) moto g(1280x720). Will it be possible? Thanks in advance.

Sent From My Muthaf***** Moto G
[Android Software Development] GalaxyUser:
Yes. But it's Qualcomm and so it may be difficult

"Envoyé depuis mon Nokia_X avec Tapatalk"
[Android Software Development] Omar1c:
Awesome good to know thanks

Now I play the waiting game

Sent From My Muthaf***** Moto G
[Android Software Development] 9282gkg:
How to decompile n recompile the boot.img am not able to recompile the boot.img by dsixda kitchen
[Android Software Development] pandasa123:
It's in "Advanced Options" I believe
[Android Software Development] 9282gkg:
Bro but there is no option for recompile, there is option for unpack not for pack
[Android Software Development] Vivek_Neel:
Yes.

Unpack and do whatever u want

Then repack it
[Android Software Development] 9282gkg:
Bro there is no option to repack
[Android Software Development] someone755:
The option appears when you've unpacked it, I believe.
[Android Software Development] 9282gkg:
Problem solved thanks
[Android Software Development] tOrNadO™:
I managed to get rid of Symlink errors, but the ROM doesn't boot.. Infact, the phone doesnt even turn on after i select reboot from CWM/TWRP.. I replaced boot.img from CM10 itself and phone boots and gets stuck at SONY logo.. So is there any modifications to be made in Kernel or ramdisk?? The phone didn't turn on when i changed bootclasspath from Sammy's Touchwiz.. :confused::confused:
[Android Software Development] someone755:
Try getting logcats.

Or kernel dmesgs.

Logs = friends. Friends = help. Help = what you need. What you want = working ROM. How to get what you want = what you need.
[Android Software Development] tOrNadO™:
I'll try to get kernel dmesgs.. I couldn't get logcat coz it didnt get into bootanimation stage.. :/
[Android Software Development] blttalas:
Is it possible to port Snapdragon Galaxy S4 rom to Nexus 4?
[Android Software Development] someone755:
Everything is possible. Albeit some things are very close to impossible, everything is.
[Android Software Development] lols21.10:
[MENTION=2623456]GalaxyUser[/MENTION] I have grand quattro, which does no have any cm/aosp for it till now(well there is a cm11 but its has lots of bugs plus the developer left the project).So using this guide can i port sense/tw to grand quattro stock roms
[Android Software Development] GalaxyUser:
You will get same bugs (and even more) on your sense port

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Android Software Development] lols21.10:
Thanks for the reply but ,what i wanted to is that in your thread you have mentioned cm/aosp as base , but i am asking if this guide will work for stock rom as base :confused::confused:
[Android Software Development] lols21.10:
[MENTION=2623456]GalaxyUser[/MENTION]

My phone is Samsung grand quattro I8552 Here:

http://www.gsmarena.com/samsung_galaxy_win_i8550-5392.php

Which does not have any custom roms just stock roms Its android version is 4.1.2

Then there is another phone same as us its just a china version of grand quattro. Here :

http://www.5ashua.com/rom/detail/124.html

It has android version 4.2.2

So, is it possible to port the stock rom of this phone to our phone using both stock roms of these two phones
[Android Software Development] Black_Eyes:
[MENTION=2623456]GalaxyUser[/MENTION] where is BOOTCLASSPATH in Android 4.4 :( ?
[Android Software Development] CNexus:
It's defined in the init.rc file inside the boot.img ramdisk
[Android Software Development] GalaxyUser:
In init.common.rc

It's in init.common.rc in Android 4.4 :)

Envoyé de mon Nexus 5 en utilisant Tapatalk