yashsingh1/xdaforums huggingface dataset:
[Android General] iamjsed:
Hi Guys,

I'm new to porting ROMs I have a few questions I hope you can help me. So I'm porting a ROM from a different brand but same hardware as my phone.

1. As long as I use the boot.img on my ROM I guess it should be fine?

2. Is it possible to port a 4.2.1 ROM over to a 4.2.2 ROM?

That's all for now. Thanks
[Android General] CNexus:
Yes and yes, there were very few changes...

Sent from my S3 on Sense 5 (you jelly?)
[Android General] wahyupct:
i've ported mtk6577 with different resolution screen...now it's stuck in boot animation and won't start to homescreen...:p
[Android General] Quinny899:
Post the logcat then
[Android General] srikanth_gadde:
porting CM10 to htc desire x

can i use sense4+ rom as base and port the CM10

is it possible

because there is no stable (CM or AOSP) JB 4.1.2 rom for my device
[Android General] rirozizo:
no, never do that, because sense is a completely different framework than AOSP

-----------------------------

^this bar means im on phone
[Android General] srikanth_gadde:
Rom porting

then how can i port cm10 to my device .... ?????

which rom should i take as base

my device HTC Desire X
[Android General] rirozizo:
you should take a CM/AOSP JB ROM as base, if the ROM isn't stable enough you should build COM10 from source.

i guess the best thing to do is wait for the source developers to make the base ROM more stable :)

-----------------------------

^this bar means im on phone
[Android General] Quinny899:
http://xdaforums.com/showthread.php?t=2291833

AOKP
[Android General] srikanth_gadde:
cm10

But it is ics rom.......is that ok?

and that rom is not stable...some bugs are there...
[Android General] Quinny899:
You need a JB ROM that isn't sense, or you could port CM9
[Android General] wahyupct:
why if i want to take logcat is always waiting device not showing anything....:laugh:
[Android General] Quinny899:
You've broken the adb connection in porting
[Android General] XGr7078:
CWM Error Staus 7

I am getting set_perm : some changes failed status 7. When trying to install a ported FXP209-CM10.1-XPERIA-V1-Z to my Galaxy tab 2 7.0 MiniCM 10.1 Nightly. What is the fix?:confused:
[Android General] Quinny899:
Pull /tmp/recovery.log and it will tell you which permission it's failing to set
[Android General] XGr7078:
Sorry it didn't help I had to restore the nandroid. It didn't get any log because there's no /tmp

Thanks for the help anyways
[Android General] rirozizo:
retry the process, and when you get the error don't reboot.
[Android General] XGr7078:
what to do

Scenario #1.

I placed the libpn544_fw.so with perm line in updater script

Scenario #2

I deleted the set_perm line from updater script

Got it installed but not booting........Its a dark black screen.....What to do? i am :confused: still now.

Thanx:XGr7078
[Android General] Quinny899:
Post a logcat
[Android General] rirozizo:
senario #2

after flashing, try fixing permissions
[Android General] tOrNadO™:
Hi.. I am trying to port SGS3 Touchwiz ROM to Sony Xperia S.. Is it possible via this tutorial?? Or should both phones, the one from which we are porting and to the one we are porting, should they be like having same h/w???
[Android General] azhar.munshi:
i want to extract folders from .tar.md5 file i had tried winzip but .img file getting extrack

so please help i am working on galaxy r rom
[Android General] Toni5830:
Look for Rom porter by KINGbabasula, in same thread you will find "system extractor" (don't remember the exact name but you'll find it in that thread)

You can also use rom porter tool to make everything easier :p

Inviato con Tapatalk 2 dal telefono di casa
[Android General] azhar.munshi:
i had tried system extractor but it not work on boot & recovery.img

remaining files like hidden,cahce & factoryfs i had exported but i didnt find any system folder for using in dsxdia kitchen

so please revert
[Android General] Toni5830:
In kitchen folder, in /original_update create a folder. Name it WORKING_OLD_ROM (or something else, but don't charge "WORKING_" ) and inside it put:

1)extracted system (name it system)

2)extracted hidden (name it preload [at least in my device it has this name])

3)boot.img

And launch kitchen

Why are we talking about dsixda kitchen here:confused:?

Inviato con Tapatalk 2 dal telefono di casa
[Android General] azhar.munshi:
i had extracted all files

but it not finding in system folder
[Android General] Toni5830:
Who is not finding what? :confused:

Inviato con Tapatalk 2 dal telefono di casa
[Android General] azhar.munshi:
actually i want to extract .tar.md5 file of samsung galaxy r stock rom

i want to extract all files to work in dsxdia android kitchen

but not finding system folder after extracting

1. i had extracted through system extracter

2. then open into disk internal

but not getting system file

Kindly revert what should i do
[Android General] zhljp:
Very good, learned a lot of knowledge

Very good, learned a lot of knowledge
[Android General] Quinny899:
:rolleyes:

Please don't quote the whole first post
[Android General] ^I'm_With_Stupid:
Well I finally got the rom to produce a logcat, but unfortunately the I found what is causing the error. But it's not something I know how to interpret. So I'm gonna post my logcat here, hopefully someone will be able to interpret it better than me

Also thanks to all your guys help from before :)

The problem is I can't get past the boot screen.

Also this appears to be where the error is (the only error I could find), after this it just constantly loops the same code

[ 08-26 21:46:55.671 2761:0xac9 D/AndroidRuntime ]

>>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<

[ 08-26 21:46:55.671 2761:0xac9 D/AndroidRuntime ]
CheckJNI is OFF

[ 08-26 21:46:55.851 2761:0xac9 E/dalvikvm ]
ERROR: couldn't find native method

[ 08-26 21:46:55.851 2761:0xac9 E/dalvikvm ]
Requested: Landroid/net/wifi/WifiNative;.loadHotspotDriver:()Z

[ 08-26 21:46:55.851 2761:0xac9 E/JNIHelp ]
RegisterNatives failed for 'android/net/wifi/WifiNative', aborting

[ 08-26 21:46:55.851 2761:0xac9 F/libc ]
Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)

[ 08-26 21:46:56.361 1727:0x6bf I/DEBUG ]
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

Second problem area I found:

[ 08-26 21:28:03.881 1729:0x727 D/OverlayLIB ]
initoverlay:: opening the device:: /dev/graphics/fb0

[ 08-26 21:28:03.881 1729:0x727 E/OverlayLIB ]
ERROR: MSMFB_MIXER_INFO ioctl failed

[ 08-26 21:28:03.881 1729:0x727 E/msm7x30.hwcomposer ]
overlay::initOverlay() ERROR!!

[ 08-26 21:28:04.091 1740:0x6cc I/ ]
ServiceManager: 0xf958

[ 08-26 21:28:04.111 1740:0x6cc D/AudioHardwareMSM7X30 ]
Could not open libhtc_acoustic.so

[ 08-26 21:28:04.111 1740:0x6cc D/AudioHardwareMSM7X30 ]
msm_mixer_open: Opening the device

[ 08-26 21:28:04.121 1740:0x6cc D/AudioHardwareMSM7X30 ]
msm_mixer_count:mixer_cnt =53
[Android General] SpaceCaker:
u wiped dalvik cache . and everything
[Android General] ^I'm_With_Stupid:
Yes, I wiped system, data, cache and dalvik cache :(
[Android General] :
So could i use a stock rom as my base and port over cm?
[Android General] showstopper1:
doubt

Hey guyz having a doubt,

If i try to port a rom of a single camera smartphone to a dual camera phone

what are the changes to be made to the files???

is it relared to modules or kernel changes??

Also tell what are the files needed to be replaced from base to port??

i tried replacing the libs and i personally think some issue with boot.img if so tell me what are the changes to be made to init.rc of the boot.img??

thx in advance !!!
[Android General] Toni5830:
No, you have to build cm from sources.. You can port a stock rom using a stock as base, or a cm based (miui, aokp, pa, even if it won't be simple) using a cm as base

If you use camera app and libs from base you should not have any problem..

You only need to edit init.rc if base rom and rom you want to port are from different manufactures (Samsung and LG for example)

It's all written in the OP.. Read carefully

Sent from my N73 using Tapa
[Android General] :
I am trying to port an aosp based rom here to the HTC DesireHD. Do I use Aosp or cm10 as base?
[Android General] knightzero07:
I wanted to try this but i dont see a similar cm rom with armv7 adreno 203.. would it be possible if I use andreno 200 / 205?
[Android General] Toni5830:
Sure :good:
[Android General] :
so could i port a cm10 rom for the galaxy gio using the htc mytouch 3g slide's cm10 as base?:confused:
[Android General] darkharbinger81:
Aosp base for aosp ROMs cm10 for cm10 aokp for aokp ROMs

---------- Post added at 05:29 AM ---------- Previous post was at 05:28 AM ----------

Yes as long as the phone your porting from is same resolution and armv
[Android General] :
have you tried this guide, any success?
[Android General] darkharbinger81:
I found my own to port but its similar to this my base folder is the ROM I used for my phone and port folder is the ROM I'm porting a few other things I do differently than here but just follow instructions and all should be good
[Android General] JynAlek:
I find this tutorial a bit pointless, you replace all the files in the rom taking app folder and framework intact, if to port a rom I only trade the app folder and framework and ready.
[Android General] ^I'm_With_Stupid:
Hey it's me again :silly:

So anyway it's still stuck at the boot splash, but I've fixed a lot of errors after editing some of the kernel. So now it seems like I have only a couple more bugs to fix.

First set of errors from Logcat:

[ 09-29 19:41:07.313 488:0x1fd I/AudioFlinger ]
AudioFlinger's thread 0x16070 ready to run

[ 09-29 19:41:07.313 488:0x1fd W/AudioFlinger ]
Thread AudioOut_1 cannot connect to the power manager service

[ 09-29 19:41:07.313 488:0x1fd I/AudioHardwareMSM7X30 ]
Routing audio to Speakerphone

[ 09-29 19:41:07.313 488:0x1fd D/AudioHardwareMSM7X30 ]
new_rx = 6

[ 09-29 19:41:07.313 488:0x1fd D/AudioHardwareMSM7X30 ]
new_tx = 12

[ 09-29 19:41:07.313 488:0x1fd E/AudioHardwareMSM7X30 ]
updateDeviceInfo: E rx_device 6 and tx_device 11

[ 09-29 19:41:07.313 488:0x1fd D/AudioHardwareMSM7X30 ]
No active voicecall/playback, disabling cur_rx 65535

[ 09-29 19:41:07.313 488:0x1fd D/AudioHardwareMSM7X30 ]
No active voicecall/recording, disabling cur_tx 65535

[ 09-29 19:41:07.313 488:0x1fd E/AudioHardwareMSM7X30 ]
updateDeviceInfo: X cur_rx 6 cur_tx 11

[ 09-29 19:41:07.313 488:0x1fc D/AudioHardwareMSM7X30 ]
setVoiceVolume(1.000000)

[ 09-29 19:41:07.313 488:0x1fc I/AudioHardwareMSM7X30 ]
Setting in-call volume to 100 (available range is 0 to 100)

[ 09-29 19:41:07.313 488:0x1fc E/AudioHardwareMSM7X30 ]
msm_set_voice_rx_vol(100) failed errno = 1

[ 09-29 19:41:07.313 488:0x1e8 I/AudioPolicyService ]
Loaded audio policy from QCOM Audio Policy HAL (audio_policy)

[ 09-29 19:41:07.313 488:0x1fd D/AudioHardwareMSM7X30 ]
AudioStreamOutMSM72xx::standby()

[ 09-29 19:41:07.323 487:0x1e7 W/dalvikvm ]
Unable to register: not native: Landroid/util/ExtendedPropertiesUtils;.readFile:(Ljava/lang/String;)Ljava/lang/String;

[ 09-29 19:41:07.323 487:0x1e7 E/JNIHelp ]
RegisterNatives failed for 'android/util/ExtendedPropertiesUtils', aborting

[ 09-29 19:41:07.323 487:0x1e7 F/libc ]
Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)

I though maybe replacing the libc with the one from the port rom would fix it, but it just gave out the same errors

The second set of sketchy adb output:

[ 09-29 19:50:44.783 349:0x15d I/ServiceManager ]
service 'media.audio_flinger' died

[ 09-29 19:50:44.783 349:0x15d I/ServiceManager ]
service 'media.player' died

[ 09-29 19:50:44.783 349:0x15d I/ServiceManager ]
service 'media.camera' died

[ 09-29 19:50:44.783 349:0x15d I/ServiceManager ]
service 'media.audio_policy' died

This might not be an error, but it looks suspicious. Also i've already tried switching AndroidRuntime lib and other libs that the OP said to switch.

Thanks in advance for any help :good:
[Android General] rivomanana:
Awesone guide. thx bro.

But, how to port (if possible) stock 2.3.6 to CM7.2 (2.3.7)

Thanks
[Android General] S.M.A.G:
i have a galaxy ace 2...i am trying to port galaxy s2 plus 4.2.2 official rom...i am using cm 10.1 build for my device as base...i have done everything..but when the mobile starts, after showing device name the phone goes black....i can see that the screen is on but nothing happens..just black...any help would be apriciated :)
[Android General] Quinny899:
Logcat please
[Android General] S.M.A.G:
I have seen the tutorial of how to take logcat but did not understand anything....if u know how to take than plz tell me..easy way:p
[Android General] Quinny899:
You probably shouldn't have followed this if you don't know how to take a logcat and don't understand it

Plug phone into pc

Open command prompt

Type "adb logcat -d > log.txt"

Upload log.txt
[Android General] ubaid88:
Tried something kind of stupid. Tried to port CM10.1 using this method

And to my surprise it actually booted and got stuck at boot animation and at logcat:

Any suggestions?
[Android General] ^I'm_With_Stupid:
So I got my rom to boot, but it has no launcher and whenever I try to install trebucket or flash a zip file with trebucket in it, it doesn't come up in the app part of settings. I have it in the manifest in the meta inf folder and in the certificates file to. So why won't it install? Also when ever I hit the home button it takes me to a black screen, which I think means I have no launcher but just wanted to tell you guys that :D

Thanks for the all the help so far by the way :o
[Android General] S.M.A.G:
Thanks:)

---------- Post added at 02:27 PM ---------- Previous post was at 02:27 PM ----------

Thanks:)
[Android General] Quinny899:
Tried getting the APK of Nova and installing it via "adb install" for the time being?
[Android General] lozohcum:
May I port AOSP rom using this guide? Will it work?
[Android General] darkharbinger81:
As long as you have an aosp base to use
[Android General] lozohcum:
Porting AOSP using AOSP base, sounds very logic...

I have CM10 only for my device, and stock of course
[Android General] pongnamu:
Should be possible with same android versions but I think building from source is good too :)
[Android General] lozohcum:
yea but I don't know how to convert CM10 Device tree to aosp
[Android General] nom051205:
Ahahahahahahaha.......... now thats funny :D
[Android General] hamsam:
Does rom from Qualcom to mtk can be ported if both have armv7 processor.
[Android General] maestrobarako:
hi..i manage to port a rom to my device, it boot but theres a problem.. it says "Data Service is Blocked" and i cannot see any APN on my settings.. can u suggest any fix to this? Thanx
[Android General] reaperlinkz:
Is it worth porting a cyanogenmod to a device with stock firmware and

What are the pros and cons?
[Android General] Toni5830:
I tried porting a touchwiz rom (4.1) from s2 to my s advance using a 4.1 touchwiz rom as base, but I failed (stuck on "galaxy s advance" bootscreen) :(

The main problem is that adb can't recognise my device..is there any other way to take a log or to know what is going wrong??

Sent from Italy using Tapatalk
[Android General] littlebigpasha:
Hey guys, trying to port rom from Oppo to my Amoi A860W (MT6589), but its stuck on bootlogo.

Logcat says:

[ I/thermal_repeater] Fail to chmod ffffffff

[ I/thermal_repeater] Enter infinite bootlop

what have I done wrong? Logcat dont have any /F errors.
[Android General] bharathbondfire:
This guide is very helpful for porting ROM for xperia u

:good::good::good::good:
[Android General] gragal:
ask

base micromax to port cm 9. blur screen camera, how to fix? Please help. Thanks
[Android General] gragal:
My Logcat
[Android General] psychopac:
1. can I port cm11 to my stock 4.1.2?

2.can I port ROMs from different processors like mediatek to my snapdragon?

3. what if I try to port ROMs from different snapdragon processors like dual cores to my quad core (I know about the ARM stuff)?

just being curious...
[Android General] tosinchib:
hi

i got a question to ask

i got a samsung galaxy gt-s5839i with a GB on, i want to know if its possible to upgrade it ICS OR JB???...

am more particular bout the ICS..
[Android General] darkharbinger81:
1 no cm 11 needs cm11 to port stock and cm will never work,

2 it depends on the fw, if it's stock or from cyanogenmod if you have any cyanogenmod rom like cm10 then other cm10 Roms can pretty much be ported

3 no clue lol sorry

---------- Post added at 06:42 PM ---------- Previous post was at 06:41 PM ----------

Ask in your forum this is about porting Roms not if u can upgrade your phone
[Android General] penglezos:
Just ported a rom by that guide! Thank you sir!
[Android General] ishan bhanot:
Which libs are for touch other than libsurfacefliger.so ???
[Android General] NightRaven49:
how

many

times

Remember, Vivo 3.2 is CM7 based.

As said in OP, and repeated many times since, you can only port a ROM IF AND ONLY IF THE BASES ARE THE SAME.

so

no, you can't.
[Android General] JavierAlonso:
Hey, can I port CyanogenMod 10.1.3 (from a device with the same especifications needed to port) using a modified stock rom (Android 4.2.2) following this guide?
[Android General] AngSanley:
hi! :D this tutorial is very useful, at least for me.

I've ported a ROM from a phone that have the same SoC with Nokia X (msm8225) and I got everything works well, exept Wifi.

What libs should I replace for wifi?
[Android General] darkharbinger81:
No, it has to be either stock or cyanogenmod, to port. I.e cm 9 must be the base and cm 9 must also be the Rom you want to port. Or 2.3.4 stock gingerbread must also be stock 2.3.4 gingerbread to port
[Android General] 1Fake:
Yo, people!

I have ported rom, but it doesn't boot.

Logcat says:

I've already checked port and base roms - no file inside. What i have to do for solving this problem? Thanks =)

P.S.: Sorry for my english
[Android General] IGGYVIP:
same problem here :/

any solutions ?
[Android General] 1Fake:
I've just ignore this error, coz i find the same error in other rom which boot's. So, ignore this error and fix anouther errors. I have a new error... And i don't know how fix it... =(
[Android General] IGGYVIP:
:)

yeah for yours its easy i hope its the only error you get;)

you need to pull file direct from phone

the cm tree has the name wrong so it was not pulled

this and led .so file they both missing

hope that helps

EDIT:

u building for LG L3 II ?
[Android General] 1Fake:
Thx, but not this way... camera msm .so lib is in the rom. Few weeks ago, when i'm looking for a solution i'we replace that lib and put same lib from the stock rom. Untill i did this were few errors with loading this lib and it's accessory libs. This phone have no cm tree and i don't know how to create it. It's a port for ZTE v956.
[Android General] kanteon:
Help

i am getting set_perm error 7 in cwm can any one help me porting s advance into glaxay r
[Android General] jlmancuso:
Check your recovery log. It is trying to set permission for something that is not in the rom.
[Android General] Mrinal Roy:
need help..got no network

here is the logcat

http://www.mediafire.com/view/?9d5q344wvo5sb7t
[Android General] uinod3:
karbonn titanium x

Hi sir i am using "Karbonn Titanium x" mobile..... (Mt6589t chip set)

i have sucessfully flashed a rom by port with my stock rom....

but the problem is with resolution...

the icons and apps are very small in my mobile...and data in each app is very small like keypad, dile pad, messaging every thing was too small......

how to increase the resolution are resize the apps....?

please help me there is no manifacters for this rom so i tried to port rom....

please solve my problem

---------- Post added at 05:38 AM ---------- Previous post was at 05:24 AM ----------

Hi sir i am using "Karbonn Titanium x" mobile..... (Mt6589t chip set)

i have sucessfully flashed a rom by port with my stock rom....

but the problem is with resolution...

the icons and apps are very small in my mobile...and data in each app is very small like keypad, dile pad, messaging every thing was too small......

how to increase the resolution are resize the apps....?

please help me there is no manifacters for this rom so i tried to port rom....

please solve my problem
[Android General] FeralFire:
Try editing the build.prop file and change the DPI to something like 480. You can download DDPI changing app from the play store too.
[Android General] Quinny899:
libdashplayer.so is your best bet from that

I've had ROMs boot and fully work with "netd is starting" over and over in the log
[Android General] uinod3:
port rom

how to port android 4.2.2(stock rom) to android 4.4(kitkat)...?
[Android General] darkharbinger81:
Can't be done both need to be stock 4.2.2 ot 4.4. It can't be 4.2.2 to 4.4 won't work both need to be stock or cm based not one of each
[Android General] darkharbinger81:
Can't be done both need to be stock 4.2.2 ot 4.4. It can't be 4.2.2 to 4.4 won't work both need to be stock or cm based not one of each

EDIT:

it seems I've found out a few things lately on my xperia play.

I have the CDMA version from Verizon but I have found out our 2.3.3 3.0.1.E.0.88 gingerbread runs some apps from the UK firmware 3.0.1.A.0.145 base band and some apps from the 2.3.4 4.0.2.A.0.62 firmware as well verizon used an aosp build but here's pics if what I'm talking about
[Android General] Mohammed Raza:
whats the thing that differentiates two android version? Any file/script........:confused:

cant the version be changed if we replace or edit them (eg: 4.3 and 4.4)
[Android General] darkharbinger81:
No it wont work the phones pull from the framework.jar so theres certain files /folders needed that run a rom it could b one file or folder that is required but I dont know full specifics
[Android General] rcunningham:
To long. I got lost after the 5th sentence.
[Android General] arun483:
can I port rom using stock rom as base????
[Android General] rickyrock:
Can anyone help ? I am getting "rmt_storage client thread waiting" error and the log just stops there. Phone is stuck in the boot. Can anyone tell me what to do ?

I am trying to port cm12 form htc explorer(pico) to htc desire c(golfu). The phone is stuck in bootloop. Please help.
[Android General] haplox:
hello,

I am trying to port Hyperion X for Samsung Galaxy S5360 to my Samsung S5570i. Both phones are very similar, even some ROMs are interchangable with little bugs

http://xdaforums.com/galaxy-y/development/x-marks-spot-hyperion-x-t3060404

I have followed all the steps once a another time and I always stuck on kerrnel logo (not boot logo from the ROM) The ROM is based in Cyanmobile, that does not exist for my phone (5570i) so I am using CM7.2 RC4 (Can this be the problem?)

I have tryied several kernels for 5570i without result. The strange is that if I install original ROM for 5560, the installation goes perfect (I can boot and use the ROM). The problem is that it has some bugs that make it unusable for daily use, so I am tryinf to por it.

Some ideas?

Thank
[Android General] SpaceCaker:
Kernel needs to be modified to run cyanmobile.

Check the ramdisk as there are some changes withing that aswell
[Android General] haplox:
thanks for your answer. Can you be a little more specific? What kind of changes into the kernel?

thanks
[Android General] motoralbi:
Hello. I was following this guide to port Cyanogen Mod 9 to my samsung galaxy trend s7560,using a stock-based ROM as base(so it's based on touchwiz). As a ported tom I am using a cm 9 from Huawei G300,which has the same coy,same screen resolution,but lower ram and other changes hardware-wise.

I arrived at the end of the guide but when flashing it says installation aborted,status 6,with both CWM and TWRP 2.7.0.0.

Twrp gives an error about the updater binary.

How can I solve this?

P.S:I'm sorry if I wrote in an old thread.
[Android General] hamzaeid:
thanks for guide :o