yashsingh1/xdaforums huggingface dataset:
[Android General] kdog1202:
Hey send me a link to download for ur optimus :)
[Android General] Tim1928:
im trying to port cm7 to my exhibit ii can i use a gingerbread based build as base. also just so i am clear if i can the cm7 would be port and the gb build would be base or is it the other way around
[Android General] Rene_ajax:
WARNING

Stop spamming guys, if not booting or bootloop you cant port the ROM or wait someone else do it.. useless to post it here as this is not Q & A... go there maybe u get help
[Android General] projeto56:
Dont be retarted, we are just trying to learn here.
[Android General] rirozizo:
^ this... well at least the second part :D

i'm really sad i couldn't port a rom... i was here for a long time, longer than some successful porters for my device and i can't port a rom :(

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

i didn't mean to mock you or to offend you in any kind of way
[Android General] croatia1:
Tried to Port JB Rom to Galaxy S3 from GNexus! There is no init.d folder in GNex ROM. What should I do?
[Android General] SpaceCaker:
Leave it ?
[Android General] medicjunKie:
The init.d folder is not totally necessary.
[Android General] pratikmore:
I have ported PARANDROID ROM 1.5a for galaxy 3. It shows process s 1$s not responding.

Log : http://pastebin.com/mRhKk2kW

http://pastebin.com/jYuk1SrW

plz help me.can anyone tell me where is the problem?
[Android General] croatia1:
When I try to flash I get

set.perm: some changes failed

(Status 7) or something like that. It won't flash! Has anyone an idea

Pozdrav

Croatia1
[Android General] fabzbear:
I know this might be out there but does anyone know of a way to port a launcher from one rom to another? Any specific that needs to be followed apart from putting in system folder and setting permission.

Any help and information would be great. Please.
[Android General] croatia1:
I don't get the Permission part!

Pozdrav

Croatia1
[Android General] arhant:
hey i ported a rom from ur method its miui 2.4.20 from galaxy mini to galaxy fit..

everything is working but m facing strange issue..ie.

wifi connects to my network but there is no internet access..!!!

can u help.?
[Android General] antonio8297:
Same bugs in my port from mini to gio!

Inviato dal mio GT-Xperia S con Tapatalk 2
[Android General] theprogram1:
Hey I have this strange issue the home and search buttons do not work. They don't function properly. The power and home takes a screenshot but home and search when pressed only vibrates with no reponse. Is there a fix for this?
[Android General] hemo-ali:
I tried to port galaxy nexus rom to lg optimus black(cm9 as ported cm7 as base) followed the guide until the last step where is the kernel??in the cm7 rom??

also after finish editing I will compress the folder again after editing and just flash it??
[Android General] fabzbear:
Does anyone know how to port a launcher to jb or ics?

Any help would be appreciated.
[Android General] nom051205:
Seems like the issues in your updater script. Open your base rom with 7zip delete the system folder then replace with your porting rom system folder. Try to flash again.

---------- Post added at 11:01 AM ---------- Previous post was at 10:56 AM ----------

Did you replace usr folder? use usr folder from your base rom. If still have issue try replace libpower.so

---------- Post added at 11:09 AM ---------- Previous post was at 11:01 AM ----------

I think you should not port cm9 rom with cm7 as base because gb and ics different in many things. At least you have one aosp ics can run on your device and take that as your base.
[Android General] jlmancuso:
if you go into /system/usr/keylayout ????-keypad.kl it list your assigned buttons. best bet is to copy the one from your original (base) rom.
[Android General] rirozizo:
managed to boot the rom, no thanks to the support of this guide

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

pm me if you need any app... ANY app
[Android General] jmz:
Yeah well this isn't a support Site.
[Android General] rirozizo:
yeah, but it's a guide, we read the guide to learn... and if it isn't a support site, every guide should be locked. what's the point of having the ability to post comments in the guide thread? just saying thanks? no! it's getting help too!

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

pm me if you need any app... ANY app
[Android General] jmz:
Do you realize how hard it is to speculate on what you did on your port to help you with your problems. Yes logcat helps but isn't a guarantee anybody can help you. No matter if you said you went step by step 20 times and it still don't work, you might have misread a step and how do we know.
[Android General] rirozizo:
just say ''i can't help you'' don't say ''this isn't a support guide''! and you're not OP, so you don't have to support the thread.

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

pm me if you need any app... ANY app
[Android General] Peteragent5:
Oi oi. Don't start a flameware. If you need help, write down your problems, and someone might help you. (I'm busy)

As for logcatting,

I don't recommend ADB Logcat itself, cause it's hard to read for beginners. Use DDMS.

(Btw, guide is being updated. I promise.)
[Android General] rirozizo:
i'm actually using ddms for this stuff, and i can't really locate what's the problem here. please pm me if you want to help, or need more details, as i don't want to spam this thread.

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

i didn't mean to mock you or to offend you in any kind of way
[Android General] croatia1:
Thanks for updating thread! Hope that I can fix the set.perm fail soon

Pozdrav

Croatia1
[Android General] medicjunKie:
Using

adb logcat -v long

Makes the logcat easier to read.
[Android General] cyrusalmighty:
So if there are errors in the updater-script which give a error(0, 6, or 7 perhaps), will a adb logcat help someone to fix it?
[Android General] iok1:
Go to /cache/recovery/last_log. No logcat needed ;)

Sent from my jelly bean
[Android General] cyrusalmighty:
Thanks I didn't know that, but won't I need to be able to boot up the phone and use root explorer to get to cache/recovery/last_log? I cant boot my Rom due to errors in my updater-script at the moment. Can you do this in adb?
[Android General] iok1:
If there is an error in updater-script, it won't install anything, so you can boot up your rom normally and use root explorer and check the error.

Sent from my jelly bean
[Android General] cyrusalmighty:
So can anyone please explain what this error is exactly? Or point me in the right direction?

<textarea>I:Checking for extendedcommand...

I:Skipping execution of extendedcommand, file not found...

-- Installing: /sdcard/!!ICS-KA12BETA(FLASHABLES)!!/IceBeanXplayv1.zip

Finding update package...

I:Update location: /sdcard/!!ICS-KA12BETA(FLASHABLES)!!/IceBeanXplayv1.zip

Opening update package...

Installing update...

1 parse errors

line 93 col 32: syntax error, unexpected STRING, expecting ',' or ')'

E:Error in /sdcard/!!ICS-KA12BETA(FLASHABLES)!!/IceBeanXplayv1.zip

(Status 6)

Installation aborted.</textarea>

Edit*Code scroll box fail.lol
[Android General] rirozizo:
check your updater-script at line 93

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

i didn't mean to mock you or to offend you in any kind of way
[Android General] cyrusalmighty:
No offense taken:laugh: but i meant did anyone know about the part that says ---syntax error, unexpected STRING, expecting ',' or ')' . Thanks I am checking it out now:)

Edit* It flashed successfully after I fixed that line, but now I pass the splash screen & the bootanimation just plays over & over seamlessly. I must have something not right in my Rom now. Time to go back.
[Android General] mohammedtheking7:
Nice
[Android General] fabzbear:
Could you do a tutorial on how to port of a launcher?
[Android General] Peteragent5:
Ask: CoolCatGetHome
[Android General] iPlasm:
Peteragent5,

Can we do this for Android Jellybean or CyanogenMod10?

And also, Can we use an ARMv7 ROMs to Port ROM for ARMv6 Devices?

Thanks for that simple guide porting. :)
[Android General] Peteragent5:
Yes, the next update will explain how to port JB and CM10 based ROMs

I'm not sure if you can port an ARMv6 ROM to an ARMv7 Device. (You can try, I think it'll work.)
[Android General] iPlasm:
Great.. :D

Liked to be sure about an ARMv7 ROM to ARMv6 ROM Porting..
[Android General] Peteragent5:
Huh?

1. ARMv7 ROM to ARMv6 Device Porting

OR

2. ARMv6 ROM to ARMv7 Device Porting

For #1 - It's possible, but that is something you must P.M big name Devs.... :cool:

For #2 - I think it's possible, try it yourself
[Android General] iPlasm:
Of Course, I meant number 2.

but what do you mean about P.M big Dev? you mean it needs special things? too hard, coding?
[Android General] arhant:
hey...i ported miui2.40 from galaxy mini to galaxy fit....!

and i'v got this strange issue i.e wifi connects but no internet access...!
[Android General] Peteragent5:
Wait wait wait. I messed up. I meant:

1. ARMv7 ROM to ARMv6 Device Porting

OR

2. ARMv6 ROM to ARMv7 Device Porting

For #1 - It's possible, but that is something you must P.M big name Devs.... :cool:

For #2 - I think it's possible, try it yourself

Yup I've had that issue. Took me about 1 month to figure it out (maybe less)

Make sure you have wifi & RIL Values in the build.prop
[Android General] iPlasm:
Now you did opposite, I mean number 1. #1

ARMv7 to ARMv6, so now what do you mean by P.M big Devs? too hard, development coding?
[Android General] gulbir101:
so i could port from a GT540 to a Lg ally? :fingers-crossed:
[Android General] Peteragent5:
It's complicated.. Just P.M big name devs, it'll be alot easier to explain... But the person just won't tell you what to do, you have to know about it first. Then you can P.M the person and ask more questions.

That depends.. Same CPU? Same android version for BASE and PORTED?
[Android General] IRX120:
If you want the port to work make shure the screen resolution CPU and for good measure the ram are Tue same. I have tries porting a lot of roms and sometimes you have to do all the steps and other times you can copy the app media fonts and frameworks folders and everything will work.
[Android General] gulbir101:
Yep, i ported CM6 yesterday from the GT540 to the Ally, first try booted up but no network, so couldnt connect to Google Play store, im assuming this problem is due to the GT540 being GSM and Ally being CDMA .. going to try a port from the Droid Eris.
[Android General] cyrusalmighty:
Still cant boot!?:crying:

Ok, Im still having trouble getting this rom ported so Im 2nd guessing myself a little.lol. I did a logcat via ADB but I do not understand it atm. But can I ask you... When you say ,"Now copy the backed up apps to your BASE in /system/app", Do you mean "copy/Paste" the apps we backed up in step 1 and put them back in the /system/app folder of base??

This was what I mean by Step 1. > First go into /system/app in your BASE and backup:

stk.apk

vpnservices.apk

camera.apk

bluetooth.apk

to whatever directory you like (Maybe to the Desktop)

This is the logcat I got if anyone is familiar with them.> https://www.dropbox.com/s/jqhm2kb5ik33k8b/MyRomERROR%20LOgcat%5B8-20-12%5D.txt
[Android General] Peteragent5:
Ya, I meant copy/paste.

Is all libs for your Device, except libandroid_runtime.so?
[Android General] goalie25560:
Thank you so much for this guide! This guide is what helped me port ParanoidAndroid from the HTC Sensation to the HTC EVO 3D. I really appreciate all your hard work in putting this together! :good:
[Android General] cyrusalmighty:
Ok sorry I thought I might have misunderstood something about that step sorry, .:)

Yes, I think the libs are all for my device except the one you mention(libandroid_runtime.so) I will go back and check if the libs are right.
[Android General] PrakashGD:
If u provide us a video tutorial it will be great
[Android General] IRX120:
Could you port an ics from into a jb rom?
[Android General] Peteragent5:
I've been thinking about that. Don't know when I'll do it... :S

I think it would work. But i think, then your JB port will not be as smooth. Because JB had project butter, it's better to compile JB so you get the project butter's libs.
[Android General] Peteragent5:
Updated the Guide! GO READ! It looks better when I was editing it... :S

LOL :laugh:
[Android General] rirozizo:
now that's a guide, i'll start porting today.

so: i got a working CM7 port for my device thanks to your AWESOME new guide. i'll post the thread's link soon

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

i didn't mean to mock you or to offend you in any kind of way
[Android General] croatia1:
@peteragent5: thats the best tutorial ever :D Now my port will work for sure!!!

Pozdrav

Croatia1
[Android General] Peteragent5:
Added a FAQ section in 2nd post!
[Android General] rirozizo:
You just made my ROM working :D (but some isssues are still there... Minor ones)

Could this guide be used to port sense ROMs too?

EDIT: shouldn't we copy:

CERT.RSA

CERT.SF

MANIFEST.MF

from BASE to PORTED?

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

i didn't mean to mock you or to offend you in any kind of way
[Android General] Peteragent5:
No. Because when you sign your ROM, it outputs those files:

CERT.RSA

CERT.SF

MANIFEST.MF

And you don't want to use PORTED's signed files. Either delete those or sign your ROM so you get a new: CERT.RSA, CERT.SF, MANIFEST.MF
[Android General] Peteragent5:
Sorry everyone! I forgot to mention a very important thing! I've added this to the first post:
[Android General] croatia1:
Hey Peteragent:

My rom won't start! It flashes but when I reboot it hangs on the S3 start screen! What could it be?

Pozdrav

Croatia1
[Android General] Gamer R:
Hey Peteragent5,

Great guide !!

I would like to ask a silly question,

Is it possible to port JellyBean taking CM9 as base ?

Framework, application etc etc are the same ? Isn't it ? Except Project Butter ?
[Android General] IRX120:
I copyed app framework media font from cm10 to cm9 but it wouldn't boot.
[Android General] Peteragent5:
How would I know? LOL Send me logcat or DDMS Screenshot

Yeah it's possible. But it would lack Project Butter

It's not that easy. If course it wouldn't boot, becfause of the way you did it! Follow the Guide!
[Android General] IRX120:
I tried porting cm10 from nexus s 4G to the Galaxy Exhibit CM9 ROM

It boots but gives me a media process error and an error about libhtc_acoustic.so unable to start
[Android General] Haano:
How do we update the ported roms?
[Android General] Peteragent5:
Is there a libhtc_acoustic.so in your final port?

If there is: Delete it

If there isn't: Find the file and copy it to your Final Port

As for the media process, try logging...

I have to rebuild my port everytime there is an update. (Every single thing)

If you found a better way to update the port let me know ;)
[Android General] IRX120:
That's the thing I'm porting from cm10 nightlies from Nexus S 4G in the lib folder theirs no libhtc anything.

I can't submit a log as the computer I have adb logcat on has no internet access and I don't have time to use my other computer
[Android General] Haano:
Help with Updater_Script

Hi im really confused with the updater_script part

My ported didnt add anything??

I have attached my updater scripts in a 7zip

The base is from Base CM10 I9300

and the port is from AOKP Galaxy Nexus

Can someone please help me edit it, this is the part i really dont want to mess up, so far everything else has been fine.

Thanks in advance

Edit: I have used a text compare website and compared the two set_perm and Set_Perm_recursives and i have attached it

Does your guide mean to combine the two set_prm and set_Perm_recursives together? So its the best of both worlds?
[Android General] AmalD:
@all

can anyone help me with this logcat : http://pastebin.com/2JtZ95n1

i was trying to port a GB 2.3.6 based custom rom from Galaxy ACE to Galaxy Y :)

but stuck at samsung logo :(

please help
[Android General] Peteragent5:
Yes. So it's the best of both worlds
[Android General] Haano:
ok thansk.

For ICS and newer it says use entire meta-inf folder ???

Does that mean copy base's meta-INF over Ported Meta inf?

But what about the modded updater-scripts???

Edit: zipped rom, trying to flash but get error Status 6

Attached updater script? Anyone help please?

Edit2: Ive checked the file, the lines, its in UNIX mode, countless times but i still get the error, i zipped the ported rom with 7zip aand Its sIgned?
[Android General] Krishnadusad:
Hey great guide. Could i ask about the progress you've made on the sense 4 port ? Thanks :)

Device : GT-I9100

Kernel : DORIMANX 5.69

Primary Rom : RR 2.6.1

Secondary Rom : RR 3.0.1
[Android General] Sir Otto:
Trying to port CyanogenMod 7.2 from Galaxy S to Galaxy Tab.

It boots, but then application BrcmBluetoothServices (process com.broadcom.bt.app.system) force closes.

Logcat says this:

D/BtFramework( 1008): ****Constructor called*************
D/BtFramework( 1008): Loading BrcmBluetoothServices package....
D/AndroidRuntime( 1008): Shutting down VM
W/dalvikvm( 1008): threadid=1: thread exiting with uncaught exception (group=0x40015560)
E/AndroidRuntime( 1008): FATAL EXCEPTION: main
E/AndroidRuntime( 1008): java.lang.NoClassDefFoundError: com.broadcom.bt.service.framework.BluetoothServiceConfig
E/AndroidRuntime( 1008):	at com.broadcom.bt.app.system.BtFramework.onCreate(BtFramework.java:50)
E/AndroidRuntime( 1008):	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:969)
E/AndroidRuntime( 1008):	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3424)
E/AndroidRuntime( 1008):	at android.app.ActivityThread.access$2200(ActivityThread.java:123)
E/AndroidRuntime( 1008):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:977)
E/AndroidRuntime( 1008):	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1008):	at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 1008):	at android.app.ActivityThread.main(ActivityThread.java:3835)
E/AndroidRuntime( 1008):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1008):	at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 1008):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
E/AndroidRuntime( 1008):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
E/AndroidRuntime( 1008):	at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 161): Process com.broadcom.bt.app.system has crashed too many times: killing!
[Android General] Peteragent5:
I've modified the Guide. Adding the possibility if it was modded or not.

On line 161 of your updater-script, are you sure assert(samsung.fs_size_fix()); is right? I don't think it's complete :|

I'm still slimming down the Sense 4 Port to work on my Device (Galaxy Gio)

Sense 4 is too big... -_-

Try using your Device's bluetooth apps
[Android General] Haano:
I now get error 7 and it says there's an error with my set_perm I am not sue why? Abyss help please
[Android General] IRX120:
Try using the base meta-inf

Or make shire all your lib files have the correct permissions.

I don't have a lot of info of your problem so that's my best guess
[Android General] karlo0321:
what value should i change in dpi from 160? im using xperia x8
[Android General] almania6:
Hey so I zipped and signed a rom. That I tried porting from the Motorola razr to my moto x2. And I keep getting a (status 0) installation aborted error. Any idea what I'm doing wrong? I used the com in META INF from the razr rom should I use it from the x2 rom?
[Android General] Peteragent5:
Are you using your Device's update-binary? It could be because of that...

the value from PORTED (Only if your changing it to a dpi lower than your current dpi)

Try to flash it again, and again. If it continusly gives you status 0, then change the META-INF folder with x2 rom
[Android General] karlo0321:
try to unzip the rom and rezip it again.
[Android General] almania6:
Try to flash it again, and again. If it continusly gives you status 0, then change the META-INF folder with x2 rom[/QUOTE]

Alright I'll try both of these methods
[Android General] karlo0321:
okay try to change the updater-script. if doesnt work, i dont have any idea how to fixed that.
[Android General] almania6:
OK so I did both. And now I get an error that seas. Assert faild: run_program("/temp/check_kernel") ==O then all that stuff about it aborting and a lovely (status 7) any ideas now?
[Android General] karlo0321:
i think its on custom kernel, flash custom kernel before flashing your rom. make it sure that your based rom is fit in what kernel you have used.
[Android General] jalie85:
To - peteragent5

Whatabout if i port Semc debrand arc s cm7.2 and base with mine cm7.1 since htc sensation dont hav cm7.2 could it possible?or port from experia ics 404 AND use cm9 as a base?:confused:
[Android General] almania6:
The Droid x2 doesn't have a unlocked boot loader so we cant install a custom kernel.
[Android General] Haano:
How to add recovery to a rom?

How do we add a recovery to the Rom?
[Android General] Peteragent5:
Your port should work if you use CyanogenMod as BASE. Since CyanogenMod is based on GB/ICS/JB, it should work ;)
[Android General] Thatgrass:
How about porting sense?

what have to he changed extra?
[Android General] Peteragent5:
Like I told you in the Guide.. Under "Porting from a different Manufacturer" you'll see your answer...
[Android General] Haano:
Flashed my ported rom! From using this guide but it stays in an AOKP Bootloop :/

I'm trying ti port AOKP from the galaxy nexus to the galaxy s3 using CM10 for the S3 as the base
[Android General] Thatgrass:
Lol, i feel really stupid now.. :p im sorry :)
[Android General] IRX120:
Do they have the same screen resolutions? I think you have to decompule framework jars and change the dpi/and screen resolution to get a boot. PS. Also look at your logcat and post it
[Android General] itzdarockz:
Im getting a dnsproxylistener error. Does anyone know how to fix this?
[Android General] Peteragent5:
.... Should I close this thread?... I mean... You should already know what you're doing, and it's definitely not for noobies...

Actually... Why would devs need this if they already know? Like me, I already knew how to do this cause I had my porting experience from Learning Android and Linux...

You're supposed to Learn Linux & Android, so you understand what you're touching and doing...

The Arch Linux wiki clearly explains this also..

Like, really.. If you learn about the Android OS and whats inside system, data, or it's STL & BML, and what's its functions, you can really do the porting yourself, and it'll be way better than this Guide.

I mean, I can make something easy to understand and made for newbies, but eventually you'll want to learn why this is happening (bugs), or what happens if.. And from there you'll want to learn about the "thing" that the Guide is refering to: Porting.

From there you learn Android. And this is where you can debug, yourself, and have a 100% completely fine, and booting port.

Soooo... Should I rewrite the entire guide to say that you should learn Android & Linux? Like I said before, it's definitely not for noobs, and, why would devs need this anyways?

Why hasn't anyone made this Guide in the past years, before I joined XDA? This is because of my reasoning above...
[Android General] AlwaysDroid:
PLEASE don't change the OP. Or close it. Just let it be. If users really want to fix bugs and such, they will look deeper in other places. It is really for us to learn and get a feel for all this and try things out without going all the way.

Oh and at least pm me the contents of this guide first before it gets obliterated. ;).
[Android General] sunny2303:
+1
[Android General] rirozizo:
NO! don't close it! i've made two working ROMs with this, this actually IS for noobs... like me.

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

i didn't mean to mock you or to offend you in any kind of way
[Android General] Haano:
Nope please don't rewrite the guide puts fine. This is just a stepping stone so us inexperienced can have a feel on what actually goes on.

Solving bugs and other issues will be things we have to deeply look in too.

Please keep it open. If you decide to close it than please pm me a copy of the guide.