yashsingh1/xdaforums huggingface dataset:
[Android General] medicjunKie:
Google is your friend ;)
[Android General] cyrusalmighty:
Seriously?? U have literally trolled for like 4 pages with useless snarky 5 worded(or less) comments. If you are going to waste thread posts at least direct someone towards answer.lmao. Helpfulness builds friends;)
[Android General] IRX120:
Ivy tried every way to port miui v4 from cm9 base. it won't ever boot and I can't rember but the log at says something about media errors. any idea?
[Android General] Szczepanik:
Logcat

Results from search on the front page of xda-dev for "logcat" -

xda-developers.com/search/logcat

help-your-developers-pull-a-logcat-when-issues-arise

helping-devs-with-logcat-xda-tv

Cheers

Tom
[Android General] dc959:
this will be a better guid for u as miui v4 requires a couple of different steps

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

---------- Post added at 11:58 AM ---------- Previous post was at 11:53 AM ----------

sorry man but with so many errors and no fatel error i cant really help u so u will just have to try porting another rom
[Android General] dc959:
can anyone tell me how i can port the cm9 kernal because i only have a stock ics rom so i need to port it so that i can get the cm9 rom to boot past the bootanimation
[Android General] Nirmanyu:
thanks a million :)
[Android General] Epic.:
Ok Im about to start but just one question. Can I use this guide to port a Sense 4A (ICS 4.0.4) rom from HTC Desire S (Arm v7) to the HTC Incredible S (Arm v7) using a Sense 3.6 Base (4.0.4)
[Android General] NineInchNails:
It is possible to port Sense 4 over a Sense 3.6 base. We've done it on the Evo 3D but no idea if the devs followed this guide or not. But at least take safety in knowing what your trying to port has a good chance.
[Android General] jmz:
Why port a port? Get the stock 4a from the one v
[Android General] NineInchNails:
Ah good point.
[Android General] Rene_ajax:
Hey friends!

I was able to port Xperia arc ROM to my Xperia Pro.

I skipped the updater-script part because the files were COMPLETELY different.

PLZZ can someone change it for me, I ahve named the files so its very easy to work with!

THnxx!!
[Android General] IRX120:
I tried porting a stock rom for my phone into cm7 for a different phone.

I also tried porting cm9 into aokp for my phone.

Neither of them booted and hang in some bootloop. I wonder what I did wrong.

I tried updating the updater scripts but they looked exactly the same.

My log cats on the AOKP port give me the error

Media Player has died

Audio has died

Camera has died

Ect ect

And my cm7 port hangs on the boot screen with the logcat says something about loading bytes and it just hangs there and the boot refuses.
[Android General] medicjunKie:
Post your logcat on pastebin.
[Android General] Koogly:
I dont actaully know if this is relevant but averytime i port using this method,

the new ROM doesn't have signal reception.......

Can anyone please help me out??
[Android General] IRX120:
This is the one for aokp

http://pastebin.com/03TFUdU4
[Android General] medicjunKie:
Your porting from an HTC to what?
[Android General] IRX120:
No? I ported from a nexus s to a galaxy exhibit
[Android General] medicjunKie:
Weird.

Your logcat says

D/AudioHardwareMSM7X30( 1948): Could not open libhtc_acoustic.so
[Android General] IRX120:
Odd. That lib isn't in my base cm9. it must be in the nexus s lib folder.
[Android General] Oogway13:
Can we use this guide for JellyBean ROMs?
[Android General] medicjunKie:
There is a JB porting thread.
[Android General] koko98:
Will this work for porting JB AOKP from Galaxy Nexus to Galaxy S CM10?
[Android General] mistere372002:
Jelly Bean Port

Would you be so kind and post the thread link. I have not seen that.
[Android General] medicjunKie:
http://xdaforums.com/showthread.php?t=1739561
[Android General] antonio8297:
peteragent,please,add the step to porting from ARMv7 on armv6
[Android General] Jwtiyar:
this base and ported used name freaking me outttt .
[Android General] jmz:
That would be nearly impossible. There are many many items that need to be hacked to even make it bootable. That's not even talking making it functional
[Android General] Androguide.fr:
Will this work if BASE and PORTED don't have the same screen size and/or resolution ?
[Android General] medicjunKie:
Both devices must be HDPI/MDPI or else you must resize everything.
[Android General] itzdarockz:
Hey does anyone mind to look at my logcat idk what went wrong. http://dl.dropbox.com/u/71816133/logcat.txt thanks.
[Android General] iok1:
First of all, what IS wrong?

Sent from my sensational phone.
[Android General] itzdarockz:
It gets stuck at my bootsplash screen.
[Android General] IRX120:
Mine does that to. I ported to cm7 and it tries to load the binaries and it loads like 512 bytes then fails

(Can't rember what my logcat said thou)
[Android General] itzdarockz:
Nope and it won't go to boot animation is waited for about 10 minutes
[Android General] iok1:
I can't understand the log cat so well, but it says something about USB and sdcard.

Sent from my Sensational phone
[Android General] medicjunKie:
That's too short for it to be a boot up logcat.

You can't really say what's wrong from it, did you cut it short?
[Android General] dc959:
this really needs to be added to the main part of the thread but before you try replacing the libandroid_runtime.so file the lib folder try booting the rom and if you get stuck at the splash screen then and only then try replacing the libandroid_runtime.so file and in your case if you have put the original back and you will at least get to the bootanimation
[Android General] itzdarockz:
I tried that. It still is stuck at splash screen. :(
[Android General] theROMinator:
A bit lost here. MIUI v4 from HTC One XL - PORTED, cm9 nightly for SGH-I747 (same SOC) BASE.

http://pastebin.com/q27utdNx
[Android General] noodle0620:
this tutorial is very useful,thank you so much:o
[Android General] addak:
i think in lib only
[Android General] IRX120:
Miui 4 requires some special steps.

Someone put up a link a few posts back.

however I can never get a miui rom that boots. It seems something to do with the cm9 for my phone
[Android General] skyrmion:
Hey irx, fancy seeing you here! There was a member, kemikalelite, who was porting a miui from for our phone several months ago. If I remember right there were display issues but it booted. Kem's a good guy, look for him here on XDA, he might have some insight.
[Android General] IRX120:
Yes. Sadly the cm9 source codes broke the port and I tried a new one bit it refused to work.

I uave tried compiling a new AOKP as well but it seems to refuse to boot as well.
[Android General] SGTABHI:
I want to port resurrection rom from the s2 to samsung galaxy tab p1000 gsm....shall i do it?

what should i take as base:....AOKP ROM Build 40 as a base will do or not?
[Android General] xK1LLSW1TCHx127:
I'm quite a bit confused when it says "In PORTED, edit the build.prop to match with your device", does that mean you copy and paste one over to the other, or simply replace the model number with the correct one? Thanks in advance guys, great guide =) I'm just not quite sure how I am supposed to read that part of the guide:good:
[Android General] xK1LLSW1TCHx127:
Think I figured the build.prop out, but when I saved and opened it just to see if my changes had stayed I noticed that the the values changed back to i9000 (I changed them to i897) and the description and fingerprint were back to what they were before. Call me crazy but I'm pretty sure that's not supposed to happen, Help? and also, editing the updater scripts, it says to change permissions, ui prints, asserts, run programs and installing the kernel, would that be the "set_perm" files? (i have a hunch I shouldn't be touching any of those, but then again I'm just a 17 year old kid) There are no kernel files, assets, ui prints and such in the CM9 build I'm using, should I just copy and paste lines from my ported ROM into the BASE ROM that the base doesn't have? Thanks guys, sorry I have so many questions, I'm a bit OCD and these kinds of things drive me insane, and also I have been trying to teach myself programming languages and I was hoping to pick up some patterns here =) Thanks, I really appreciate anyone even glancing at my posts haha, seriously, I don't joke around :silly:
[Android General] MacZzang:
Hi everyone,

Quick noob question :) my device is a galaxy tab 7 plus p6200. And I'm trying to port AOKP to it. I'm using the galaxy s2 AOKP rom as my PORT and I'm using a CM9 rom that works perfectly on my device as the BASE. will that work? I checked the hardware and its the most similar device to mine. The chipsets are the same and the CPUs are the same even the GPUs as well. I know I can't get a sure answer but I mean in theory should the roms I'm using work?
[Android General] iok1:
You can try and find out. A bootloop doesn't hurt if you fail :)

Sent from my Sensational phone
[Android General] pratikmore:
07-30 20:19:52.617 E/RILC ( 2264): handle_svnet_event

07-30 20:20:05.035 E/RILC ( 2264): error on reading multi client command socket errno:104

07-30 20:36:27.175 E/RILJ ( 2915): Exception processing unsol response: 11003Exception:java.lang.RuntimeException: Unrecognized unsol response: 11003

07-30 20:36:35.917 E/RILJ ( 2915): Exception processing unsol response: 11003Exception:java.lang.RuntimeException: Unrecognized unsol response: 11003

07-30 20:37:12.304 E/RILJ ( 2915): Exception processing unsol response: 11003Exception:java.lang.RuntimeException: Unrecognized unsol response: 11003

07-30 20:37:28.070 E/RILJ ( 2915): Exception processing unsol response: 11001Exception:java.lang.RuntimeException: Unrecognized unsol response: 11001

07-30 20:38:19.323 E/RILJ ( 2915): Exception processing unsol response: 11003Exception:java.lang.RuntimeException: Unrecognized unsol response: 11003

07-30 20:38:49.054 E/RILJ ( 2915): Exception processing unsol response: 11003Exception:java.lang.RuntimeException: Unrecognized unsol response: 11003

07-30 20:39:01.941 E/RILJ ( 2915): Exception processing unsol response: 11001Exception:java.lang.RuntimeException: Unrecognized unsol response: 11001

Can anyone tell where is the problem? Plz help me.
[Android General] MacZzang:
It got to the AOKP boot screen and then it hung :( so what should i do now?
[Android General] medicjunKie:
Logcat.
[Android General] MacZzang:
I'm sorry how do I logcat? i know i know google is my friend but you have to understand I really don't know how to perform a logcat? I know what it is but that's about it :( please just a little help here :)
[Android General] IRX120:
On Linux navigate to your platform tools in the sdk folder and do

./adb logcat

On windows you must have the Android sdk downloaded as well go to the tools folder and run ddms.exe or monitor.exe
[Android General] Aquethys:
Install the android sdk and then turn off your phone if you want to start a log over again, or just plug your phone into computer, type adb logcat > log.txt and voila log.txt will be in your sdk dir
[Android General] Oogway13:
ADB:

1. Connect device via USB.

2. Make sure Debugging is ON.

3. Open CMD Prompt and Type:

adb logcat -v long

DDMS:

1. Connect device via USB.

2. Make sure Debugging is ON.

3. Open CMD Prompt and Type:

ddms

DDMS window will open.

4. Select your device on the top left panel.

5. You can see all messages now being logged. For any problems, where it says 'verbose' choose 'Error' on the dropdown box You can also use 'warn'.
[Android General] projeto56:
Guys, i've never done this, and this will be my first port.

I need some help to get this ROM on my n7000 galaxy note.

The base rom will be that one, and the ported rom will be any cm9 rom for n7000?

I'm a little confused :s
[Android General] AlwaysDroid:
Do have to replace the /system/font folder or can I leave it as is?
[Android General] projeto56:
Ok.

Managed to get to the bootanimation. But then i got stuck in there.

Can you guys clarify a little better the last part, where i modify the updater-script?

Thanks a lot!
[Android General] pampaygm:
Great guide!
[Android General] Klyupp:
Thank you really musch for making this tutorial. I'm wondering now, there is no CM7 or AOSP Gingerbread for the galaxy note. So does that mean I can't port CM7 from the S2 to my galaxy note?

edit: Or can I use a stock samsung firmware (android 2.3.6) for the note as a base and port CM7 based on 2.3.6?
[Android General] dodgedroid:
can i port stock framework to cm7?

And how can I unpack kernel( kernel is included in boot.img no?) is a script for that..? or what?:D
[Android General] Peteragent5:
You can try using Stock as a base :) But I don't guarantee it'll work

Ummm I'm not sure if you can port Stock Framework to CM7. CM7 should be a pure CM7. But if you want to try you can :)

Here's a Too to unpack boot.imgl:

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

But you will need Windows and Cygwin

You also need to find the base and pagesize and command line (If there is) for your device

Here's a Guide for the Above:

http://www.freeyourandroid.com/guide/extract-edit-repack-boot-img-windows
[Android General] Peteragent5:
Oops sorry guys. Maybe I should reword the title to:

[GUIDE] How to port GB/CM7/Stock/ Based Roms to your Device

And an update to this Guide might come, making it more Eye candy, easier to read and more chances of successful porting :D
[Android General] :
this is the most flawless guide i have ever read .
[Android General] dodgedroid:
thx bro..it worked out!:D
[Android General] Shane:
i will try it
[Android General] MrAwesomePT:
I've got an HTC Explorer and want to port CM7 to it, but I'm a huge noob on this stuff as this is my first Android and my old Nokia didn't need this much messing around. I could just get a CM7 rom from ANY ARMv7 android and replace the stuff you talked in the post from my current rom and it will work? Or will the sense mess it all up? Doesn't the phone where I'm getting the CM7 Rom needs to have similar specs? like display resolution and whatnot?

I'm wan't to try it, but the idea of getting a brick scares the crap out of me xD
[Android General] lpjunior999:
I was going to try this, but none of this makes any sense. The rom I'm porting is my BASE and the stock device rom I'm editing is PORTED? I was going to follow this to port CM7 to my Droid Charge from the Fascinate, but am I supposed to change all the instances of SCH-150 to Fascinate in the build.prop?

You gotta either do a video or rewrite this because as-is this is obtuse. Has anybody successfully ported anything with this?
[Android General] Peteragent5:
Well the screen resolution does matter a bit. Just change the LCD density in the build.prop to your Device's LCD density. For the best port result, your Ported and Base should be the same MDPI, HDPI, or LDPI

Ok, so if your Ported is CM7, what will your base be? You could try using a stock Rom as your base :)
[Android General] Peteragent5:
Lol yeah I'll do an update. But meanwhile, try to understand and reread again :)
[Android General] andreas0013:
May I ask what roms sid you use?
[Android General] dodgedroid:
I use like base CM7 and like ported cm7 from htc desire hd because cm7 from desire hd had fm.apk and my cm7 not!:D:D
[Android General] MrAwesomePT:
I've tried to port CM7, but it failed... But during the process there where a few steps that I wasn't sure about...

First of all, I'm using a HTC Explorer (ARMv7) and using JaggyRom as my BASE.

I went to CM page and downloaded a HTC Desire S (ARMv7) ROM to use as PORTED.

I didn't had any camera.apk in my BASE (I guess the camera will not work properly xD).

When I had to edit the build.prop and the updater-script files, there were a lot of command lines in BASE that didn't had a matching line in PORTED (ex: I had some ro.htc... lines in build.prop BASE and there where no ro.htc... lines in build.prop PORTED).

Should I had to PORTED the lines that are missing? Or just update the ones that exist to the right values?

In the updater-script file from BASE there were a lot more "symlinks" lines too... These 2 steps are confusing as hell =\

Thank you for reading :D
[Android General] Peteragent5:
^ Yup I sent you a PM
[Android General] MrAwesomePT:
Yea I'll keep trying. If i can't do it I'll try another Base because this isn't even the stock rom... It already had Apps2SD and other stuff that require the SD card to have a partition and whatnot... So when I get a stock Rom I'll keep trying it :D
[Android General] Klyupp:
Peteragent5, great your helping everyone so much. I've tried porting CM7 to my galaxy Note but also wasn't able to fully understand your guide, would be great if a couple of things are going to explained a bit more in depth. Also, this all is not possible with ICS roms?
[Android General] w0lf215:
First of all THANKS for the guide! Have been unable to find one this detailed. I still can't get this to work though.. Is this the same process used for ICS based ROMS? I keep getting animation bootloops.. boots to the animation fine but just chills here infinitely.

Ive tried porting 2 different ROMS(many times each..) and get the same issue each time. Im trying to port to a Motorola Photon, an ARM-7 device and tried Roms from different devices(both ARM-7) but can't get it to work. Is there anything differently I need to do for ICS ports? Using CM9 as a base and trying to port other ICS based ROM. And do you have a tool to pull apart kernels with Windows 7(don't have linux at the time being) Ive followed several tutorials and they all lead me back to bootloops.. and idk how to logcat it or diagnose what im missing here..
[Android General] PipelinerArd:
+1 I also tried porting cm9 from desire s to my inspire and I get stuck at splash screen..:(
[Android General] SpaceCaker:
Make a adb logcat

unwritten sentance
[Android General] IRX120:
Basically merge the two updater scripts. Ie

If there's a lib that needs permission in the port then you must give the base permission as well.

Same goes for all files. Just don't mess with top part
[Android General] MacZzang:
Ok, after some time trying to figure out how to logcat I finally got it down! and I submitted it here

http://pastebin.com/10X2MWNw

Ok I know I'm not that much of a dev but i have really been trying to loo into these errors but I just can't seem to understand :( I also tried googling them and looking for answers but I'm just not quite there. Any help would be greatly appreciated thanks!
[Android General] Oogway13:
Peteragent5, are you planning to update this guide for JB/CM10?
[Android General] Peteragent5:
Yeah I'm still working on it. Remember that title says based
[Android General] projeto56:
So, after a ****load of tests, mine is stuck on samsung logo.

Logcat is atached.

Pleeaaassee help me out guys.
[Android General] IRX120:
Apparently it needs a service that you haven't provided try checking into whatever that service thing was
[Android General] projeto56:
What do you mean? I didn't included some file on the merging process?
[Android General] MacZzang:
Hey guys I really need your help :( can someone please take a look at my logcat? I'm stuck and I don't know what to do...

http://pastebin.com/10X2MWNw
[Android General] croatia1:
Will it be possible to port Galaxy Nexus Roms to Galaxy S3? Both have armv7!

Pozdrav

Croatia1
[Android General] IRX120:
From the log at I would say either that or something is refusing to start up and you either need to use a different base rom or retry this guide again
[Android General] Oogway13:
Seems to be a framework jar issue:

E/JNIHelp ( 3712): RegisterNatives failed for 'com/android/server/PowerManagerSe

rvice', aborting

F/libc ( 3712): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)
[Android General] MacZzang:
Thank you so much for taking the time to look at my logcat man :)

I'm sorry but how do u know how i can go about fixing this? so the problem is with the power manager service? maybe i used the wrong file? or dose the problem go deeper than that?
[Android General] jalie85:
hi i hav sensation and love experia too....can i port experia s rom 2.3.7 to base cm7 2.3.7?izit possible ?sorry my bad english
[Android General] sombionix:
Great guide OP. Good starting point for anyone interested in porting roms. Keep in mind everyone, these instructions only detail the basic first steps to porting. You may be able to get your device booting, but additional work will probably be required to make a daily driver. Do a little research, the answers are out there. Some of the issues you guys are experiencing are kernel related, so additional work may be needed there. You may want to try using the kernel from the device you are porting. You can unpack the boot.img, extract the ramdisk and kernel binary, and modify the ramdisk files to make it specific to your device. Then take a zImage created for your 'base' device and repack it with the 'ported' devices kernel binary and the ramdisk you modified. Doing it this way will allow you to have a repacked boot.img that will communicate better with your base device hardware and your ported files (libs, etc.) This requires linux and a little know how, and unfortunately I'm not going to get into detail about this. If you aren't already somewhat familiar with what I just said, then it will probably be a little over your head. Like I said, do some research, the answers are out there.
[Android General] rirozizo:
i'm kinda confused here...

i want to port a CM7 rom from phone X to phone Y.

so phone X's ROM is BASE... what's PORTED then?

———————————————————

pm me if you need any app... ANY app
[Android General] sombionix:
Base rom would be a rom already supported by your device. You would be taking the ported rom files and transferring to your base. Keep in mind, though. You cannot port CM7 from another device to your base device if it's running a stock or modified stock rom and kernel. You're base rom that you will be transferring the ported files to would have to be based on some kind of AOSP (compiled from source like CM/AOKP). At the very least, you need to have access to a kernel compiled for your device and made for a source based rom like CM7 or AOKP.
[Android General] rirozizo:
ok, so take a stable CM7 build for my device and take a random CM7 ROM from another (same CPU) device... BASE is my stable CM7 build, PORTED is the random one... and follow the guide... am i right?

———————————————————

pm me if you need any app... ANY app
[Android General] sombionix:
Yes about the CM7 build for your device, yes the same CPU (for example, if you have a galaxy s2 which has a ARMv7, your port must also be an ARMv7). Yes base is CM7 for your device, ported is random. Also, the build you use as base for your device doesn't necessarily HAVE to be stable, but just know, whatever issues your base rom has, your port will more than likely end up having the same issues.
[Android General] shankesh:
Can help me how to get logcat file
[Android General] NineInchNails:
Back one page theres about 3 different posts on how to get one.
[Android General] CoffeeCone:
So after a whole overnight, I finally got CWM to accept my ported AOKP onto my ST17i. Now however, I'm stuck at the SONY logo after I installed it. What could be causing this?
[Android General] rirozizo:
ok followed every step in this guide, and my ROM isn't booting (stuck at boot image). details:

porting a CM7 ROM from Desire HD to Desire Z.

using the stable build of CM7 as PORTED.

ro.build.description=

and

ro.build.fingerprint=

are the same

Didn't change any symlinks.

should i copy boot.img from PORTED to BASE?
[Android General] shankesh:
HELP ME

Guys Im porting samsung s plus rom to LG Optimus sol. They same 1 GHz cpu and adreno 205...i swapped all files as mentioned above..but i have boot loop...in boot image....im using the boot from galaxy plus swapping only ZImage file from base and renamed the "init.devicename.rc" and "unvented.device.rc" to my device name as "init.victor.rc" and "unvented.victor.rc"...both kernel has same init.rc....i also tried of using my base rom also but it has bootloop......some times it bootup showing as "Android is upgrading" and Starting Applications" and start loops.....dono wat to do...plzzz help me out guys...im very close to finish my porting....ill be very thankful to u for helping my first port....