yashsingh1/xdaforums huggingface dataset:
[Android General] medicjunKie:
Status 7 is prop related.

Copy over the files in Meta inf/google/android from ported to base.

Do like I said above.

Also, if the devices aren't from the same manufacturer you might need to change the BOOTCLASSPATH.

Next time try to get a logcat.

adb logcat -v long
[Android General] enderoid:
sorry for my english.

i'm trying to port rom from galaxy ace(joyos) to my acer liquid mini. but when i reboot, the phone get stuck in advantage kernel (my phone kernel) logo.

this is the logcat

--------- beginning of /dev/log/main
E/ ( 78): SEARCH FOR: /data/sk1
E/ ( 78): SEARCH FOR: /data/sk2
E/ ( 78): SEARCH FOR: /data/sk3
E/ ( 78): SEARCH FOR: /data/sk4
E/ ( 78): [0]GET CURRENT_FILE: 4.
E/ ( 78): GET FREE: 181556 K.
E/logwrapper( 85): executing /system/xbin/busybox failed: No such file or dire
ctory
E/HWID ( 77): FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFfFFFFFFFFFFFFFFF
FFFFFFF
E/HWID ( 77): Got BT_MAC_ADDR from NV 447
E/HWID ( 77): BT_MAC=00:16:D4:6C:1B:7C
E/HWID ( 77): FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFfFFFFFFFFFFFFFFF
FFFFFFF
E/HWID ( 77): Hardware ID = PVT
E/HWID ( 77): Project ID = K4H
E/HWID ( 77): [CCI] set property gsm.version.baseband & ro.baseband = C4-5.
041.00
E/HWID ( 77): This is K4H project
E/HWID ( 77): [CCI] set property ro.product.model = E310
E/HWID ( 77): [CCI] set property ro.build.display.id = ACER_E310_5.041.00_E
MEA_GEN1
E/HWID ( 77): [CCI] set property ro.build.description = E310
E/HWID ( 77): write NV item 905 to 1
E/HWID ( 77): [CCI] property persist.runtime.firstboot len = 1
[Android General] medicjunKie:
Fyi, those are all errors.

And that can't be the whole logcat, it's too short.

But let's start with this, did you edit the build.prop to fit your device?
[Android General] enderoid:
:eek:

i dont know how to get logcat. i just write adb shell logcat when my device start booting.

yes i did.

is that wrong?

and how to get the logcat?

my base rom is 2.3.5 and the ported rom is 2.3.7

so i cant port the rom to my device? :(
[Android General] medicjunKie:
Usually everybody just writes: adb logcat

But adb logcat -v long is much more easier to read and better. ;)

Again, base and port have to be the same android version.
[Android General] enderoid:
okey i'll try another port.

thank you :D
[Android General] darkhokage:
aroma

I am porting a cm9 rom. my base is the usual flash method but my port rom is on aroma. so the updater script is very different. what do i do in the update script? what do i change, add or edit.
[Android General] BladeZero:
How do I get such bianry, I flashed my rom and it boots and everything but it doesn't have super user binary so I can't use root or have fancy kernels like devil

-----

Sent from a I9000 running Avengers ROM

-----

If I helped you hit thanks
[Android General] medicjunKie:
Do you have SU installed?
[Android General] BladeZero:
Yes I got the app, it says failed to find su binary

-----

Sent from a I9000 running Avengers ROM

-----

If I helped you hit thanks
[Android General] BladeZero:
Could it be that it isn't getting made during the flash ie: updater script, I modified the script after compiling the base, if it is the updater script what lines must I add to create it

-----

Sent from a I9000 running Avengers ROM

-----

If I helped you hit thanks
[Android General] medicjunKie:
Idk, that hasn't happened to me.

Maybe Google can help you?
[Android General] BladeZero:
I think it may be my last hope, what should I Google

-----

Sent from a I9000 running Avengers ROM

-----

If I helped you hit thanks
[Android General] medicjunKie:
PM your device and the device your porting from.
[Android General] BladeZero:
U talking to me or the other guy

-----

Sent from a I9000 running Avengers ROM

-----

If I helped you hit thanks
[Android General] medicjunKie:
You
[Android General] pratikmore:
Can i port gb roms like lewa os and joyos to my device from other device?
[Android General] Peteragent5:
Yes. Very easily.
[Android General] Peteragent5:
You can't port a kernel, simply by decompiling it. You need to decompile and recompile using linux. It would be harder than porting the Rom itself...
[Android General] Vasishta Reddy:
hey buddy I was porting xperia ARC official ICS for xperia x10 followed by your guide, the rom booted but unfortunately i got stuck at bootanimation.
[Android General] karlo0321:
what rom did you used as based?
[Android General] Vasishta Reddy:
CM9
[Android General] TomPzh:
You did a good job...
[Android General] AndroSung:
well i did i got amend is not supported any more
[Android General] pratikmore:
I want to port joyos from c8650 but its ro.build.description is 2.3.4and my galaxy 3is 2.3.7 then can i use c8650 joyos rom or i have to download its 2.3.7 build?
[Android General] Zolox7:
Great Job bro :)
[Android General] AndroSung:
i manged to almost port it got install but nothing happened ??
[Android General] medicjunKie:
Logcat?
[Android General] Lord Inglip:
Hi! Nice guide! But I have one problem.....I want to port this sense port (http://xdaforums.com/showthread.php?t=1694223) to my Optimus 2x because I thought ''hey it is already ported so it would be easy'' NOPE. After a lot of status zero and status seven errors, it finally flashed. But here is my problem: My phone is stuck on the LG p990 bootscreen. How can I check what the problem is?
[Android General] iok1:
The answer is in the post above you

Sent from my HTC Sensation
[Android General] Peteragent5:
Logcat using ddms. See errors. Fix specifically & mmanually.
[Android General] nashshafrulrezza:
hi, thanks for the guide.

I've successfully flash my port rom but when the phone boot, it stcuk on htc splash screen. anyone can tell me why? and what should i do? below is my logcat.
[Android General] medicjunKie:
There appears to be a problem with your SD card. But I ain't sure.
[Android General] nashshafrulrezza:
I have no SD card actually, i'm using SXL. got anything to be change to make it work?
[Android General] pratikmore:
I have ported lewa,mokee and joy os for galaxy 3 but i am facing call bug issue.when i am calling to other he cant hear my voice.can you help me?
[Android General] karlo0321:
would you mine to share the download link of mokee os?
[Android General] Nbabadjanyan:
ZTE Racer doesn't boot

Hi, i followed your guide, but all I got was the android logo, adb tells only

Netd 1.0 starting

and that continues forever, what can cause this?

BASE - cm7_2.3.7 (for ZTE Racer)

PORTED - cm9_4.0.4 (for ZTE Blade)

---------- Post added at 05:26 PM ---------- Previous post was at 04:58 PM ----------

Status 6 ussually means some syntax error in updater-script, check it, maybe you missed a ; or " somewhere
[Android General] Sobralobo:
Your base and your port must have the same version. ;)
[Android General] pratikmore:
Logcat:- http://min.us/mGENwge5a
[Android General] medicjunKie:
Is it possible to paste on pastebin?

Also, a little tip to y'all, if you run adb logcat -v long you'll notice the log at will be easier to read and understand ;)
[Android General] medicjunKie:
I would check my permissions first..
[Android General] karlo0321:
hey you dont have to quote all of his reply. Im warning you!
[Android General] dc959:
fixed a few things but now the logcat displays this:

--------- beginning of /dev/log/main

[ 06-22 11:38:59.350 106:0x6a I/DEBUG ]

debuggerd: Jun 5 2012 16:32:33

--------- beginning of /dev/log/system

[ 06-22 11:38:59.530 103:0x67 I/Vold ]

Vold 2.1 (the revenge) firing up

[ 06-22 11:38:59.550 103:0x67 D/Vold ]

Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)

[ 06-22 11:38:59.550 103:0x67 D/Vold ]

Volume emmc state changing -1 (Initializing) -> 0 (No-Media)

[ 06-22 11:38:59.570 121:0x79 E/HUAWEI PRC ]

property_get ro.confg.hw_appsbootversion fail len=0

[ 06-22 11:38:59.570 121:0x79 E/HUAWEI PRC ]

property_get ro.confg.hw_appversion fail len=0

[ 06-22 11:38:59.570 121:0x79 E/HUAWEI PRC ]

property_get ro.confg.hw_appfsversion fail len=0

[ 06-22 11:38:59.570 103:0x8b D/Vold ]

Volume emmc state changing 0 (No-Media) -> 2 (Pending)

[ 06-22 11:38:59.590 103:0x8b D/Vold ]

Volume emmc state changing 2 (Pending) -> 1 (Idle-Unmounted)

[ 06-22 11:38:59.590 103:0x8b W/Vold ]

Duplicate state (1)

[ 06-22 11:38:59.600 103:0x8b W/Vold ]

Duplicate state (1)

[ 06-22 11:38:59.600 103:0x8b W/Vold ]

Duplicate state (1)

[ 06-22 11:38:59.600 103:0x8b W/Vold ]

Duplicate state (1)

[ 06-22 11:38:59.600 103:0x8b W/Vold ]

Duplicate state (1)

[ 06-22 11:38:59.610 103:0x8b W/Vold ]

Duplicate state (1)

[ 06-22 11:38:59.610 103:0x8b W/Vold ]

Duplicate state (1)

[ 06-22 11:38:59.610 103:0x8b W/Vold ]

Duplicate state (1)

[ 06-22 11:38:59.610 103:0x8b W/Vold ]

Duplicate state (1)

[ 06-22 11:38:59.610 103:0x8b D/Vold ]

Volume sdcard state changing 0 (No-Media) -> 2 (Pending)

[ 06-22 11:38:59.610 103:0x8b D/Vold ]

Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)

[ 06-22 11:38:59.770 181:0xb5 I/DMM ]

DMM Disabled. movable_start_bytes not set: 0

[ 06-22 11:38:59.820 184:0xb8 I/DMM ]

Self-Refresh-Only Disabled. low_power_memory_start_bytes not set:0
[Android General] Che4ter:
Great tutorial, thanks
[Android General] xK1LLSW1TCHx127:
First time port- suggestions?

I am using this Brilliant guide to port CM7 from the HTC Evo 4G to the Design 4G for a friend, other than to be careful and read all of the steps, any suggestions?

Wish me luck. If you have a design 4g just laying around and you wouldn't mind testing this for me, or if there is an alternative way for testing that doesn't require a physical device please tell me =):fingers-crossed:
[Android General] dc959:
please disregard all my other posts as i fixed some little mistakes but now i get to the boot animation and it just loops and i cant seem to make anything from the logcat exept that its somthing to do with incompatible framework but if someone doesn't mind taking a look at my logcat and telling me how to fix the problems and i am trying to port a cm9/aokp hybrid using a aosp rom as my base.

http://pastebin.com/WJeZZXfy

Thanks.
[Android General] Peteragent5:
I hate adb logcat. (Hard to understand)

Use ddms instead.

Use it and life will be much easier.

Filter it to, either: warn or error

Replace specific smali from framework.jar
[Android General] a2441918:
i wanna port sense to xperia x10. i would like to take the port rom from nexus one as it has the same cpu and gpu. which rom should i take?? 99% sense has been ported to xperia s.. so can u help me out??
[Android General] darkhokage:
I ported a cm9 rom from the optimus 2x to my ATRIX. The rom works perfectly but I get no network because the ril and baseband don't match. Any idea on how I can incorporate my ATRIX's baseband into the rom to get the network working?
[Android General] circleofomega:
I am on RaZr and looking forward to port the stock Galaxy Nexus ROM... any suggestions and head starts?

I am looking for a very very stock and complete ROM minus any Sense, TouchWiz and MotoBlur...

Currently on AXIOM COMPLX but it is incomplete...

And this is a little confusing: "I will be referring the Rom you're porting as "PORTED"

and your CM7/GB/Stock ROM as "BASE""

The "BASE" is the one I am already running?

"Ported" meaning the one I am Porting right?
[Android General] jalie85:
Hi 1 question here, can i port experia s to sense 4.0.3 rom?
[Android General] Lord Inglip:
Yes
[Android General] circleofomega:
Thanks...but will the ROM b complete?? As in...will everything work?? And will it b a deblurred ROM??

Thanx again...

Sent from my RaZr NeXus.
[Android General] circleofomega:
This is extremely confusing.

WHAT is a base ROM??

WHAT is a ported ROM??

Can u explain the difference between ICS" based" ROM & ICS ROM??

I think we need more clarification on the naming of the ROMs...

"Ported" meaning the one we want to port...in my case stock ICS..

and "base" meaning my current ROM ..Axiom COMPLX?? Is that correct??

Sent from my RaZr NeXus.
[Android General] Lord Inglip:
The base rom is the rom you are using now, in your case Axiom COMPLX and the ported rom is in your case stock ICS but you need, correct me if I'm wrong, 2 ICS based roms. ICS based roms and ics roms are the same.

Well don't expect that everything will work the first time, look into some stuff and search for fixes.
[Android General] circleofomega:
2 ICS based ROMs?? Why???

Sent from my RaZr NeXus.
[Android General] roobeyn:
Need help :D

Will this work?

[PORT]

Phone: Xperia Arc (ARMv7)

ROM: 4.0 ICS CM9 --> http://xdaforums.com/showthread.php?t=1356685

[BASE]

Phone: Xperia Sola (ARMv7)

ROM: 2.3.7 GB --> Stock ROM

Both are HDPI (480*854px)

Both have ARMv7 and both are made by SONY but in different yearlines and both got different android updates

BUT my main questions is,

will the camera work

and

will i need a ICS kernel(witch my device doesnt have)

BTW(sorry for many questions) - Do you know a good tutorial for unpacking and packing .img files (ROMs)?

Thanks for answer!! :D
[Android General] medicjunKie:
they have to be the same android version.
[Android General] roobeyn:
Well :( Thanks for answer!! :D
[Android General] Hayden18:
Because Gingerbread and ICS aren't compatible with each other so make sure both roms are the same android version

Sent From My Android 4.0.4 Powered Xperia S
[Android General] Reviewers:
I just finished this progress used the Sense 3.6 as a base and HTC One S ROM as a PORTED (Sense 4.0). I'm about to test so wish me luck.

---------- Post added at 06:53 AM ---------- Previous post was at 06:46 AM ----------

Update:

It flashed with no problem just rebooting..

I'm at the white "HTC" splash screen and it just hangs there.

No boot animation no nothing and I followed the guide 100%....
[Android General] Peteragent5:
How about the BOOTCLASSPATH? ;)

Remember that: Sense and Motorola is the

hardest

to port. You need patience LOL
[Android General] FeralFire:
There is no CM7 for my phone. I want to port it from another phone. Will your guide work for that?
[Android General] Peteragent5:
Yeah, I think it will..

Just try using the files from Stock or GB ;)
[Android General] FeralFire:
I will try stock.

Thanks. :)

Just one last thing. Which do you suggest I should use as PORT, Galaxy S2 CM7 as it is from the same manufacturer or LG O2X as it has the same CPU??
[Android General] Peteragent5:
The PORT and BASE must alway be the same CPU. If not, the port won't work :)
[Android General] Att.Fan1982:
I would like to port a stock ics rom to my LG thrill which is said to have an ARMv7 CPU. Will your guide work for that port? I'm currently running the thrill seeker 2.1 rom after flashing the official at&t gingerbread update.
[Android General] Peteragent5:
Well, the point of this guide is to port Roms, and that you also have that Version of firmware already. If you want to port Ics Rom need to build from source to fix all bugs (but porting can be done as long as u have same CPU. But what will be your Base?). But if you want to port a ICS based Rom, you need an ICS already at the hands of your device. Ported and Base must both be the same CP
[Android General] m3dd0g:
Does this tutorial also works on AOSP based roms ?

Gesendet von meinem GT-N7000 mit Tapatalk
[Android General] Att.Fan1982:
I was looking at two different ics roms to use as a base from the lg gx2 which has the same cpu just a different chipset. One is built from the aosp ics source code: http://xdaforums.com/showthread.php?t=1575199

and the other is a cm9/aokp hybrid beta: http://xdaforums.com/showthread.php?t=1589857

Can either one of these roms work with my intended purpose?
[Android General] andreas0013:
this looks too easy to work, but anyway, can i use this method to port ics from galaxy nexus or cm9 from lg 2x to lg optimus black????

update - i guess not , since optimus black hasnt ics yet so i cant use it as a base
[Android General] andreas0013:
tell me a gb rom worth porting with armv7
[Android General] Peteragent5:
Yeah. If you want to use those as Base to Port another Rom that runs ICS, you can do so :)
[Android General] Att.Fan1982:
LOL so I guess I won't be getting ics on my device at this time.
[Android General] andreas0013:
i dont know how to unpack the kernel, that means i cant port any rom thats a different brand from mine?
[Android General] Att.Fan1982:
Pretty much

Edit: but I'm sure that information is out there somewhere on the world wide web
[Android General] Peteragent5:
Well to me, I haven't unpacked any kernel in all my ports. I just used the BASE's Kernel.
[Android General] andreas0013:
and did they boot succesfully?
[Android General] re4lsk:
When you say base kernel you mean base boot.img?

Trolling in the deep
[Android General] goutamniwas:
Plzzzz help

I WANT TO PORT CM9 FOR GALAXY MINI TO GALAXY ACE, SO WHICH IS BASE AND WHICH IS PORTED AND ALSO

"Now go into etc folder (/system/etc) in BASE and open init.d folder

Copy everything there and paste it into PORTED's /system/etc/init.d

Now in BASE, delete the init.d folder

And now in PORTED, copy the init.d folder to BASE's /system/etc"

i didnt understand this , can you please explain me elaborately
[Android General] circleofomega:
Yup...the Stock ICS will obviously be 4.0.4 and my current ROM is also 4.0.3 or .4...either of it...so marching onwards!!

Thanx a lot..again...

Sent from my RaZr NeXus.
[Android General] a2441918:
I have an xperia x10 2.3.3. Can i take nexus one 2.3.7 or desire 2.3.4 for porting sense??
[Android General] circleofomega:
What do to about the folders missing in either of the ROMs..like my base, the official ROM doesnt have System/etc/init.d folder... can they just be created if they arent there...
[Android General] bharaththeunique:
hey....instructions are great....gonna try this in a while.....

my plan....i have a moto defy plus....running cm9 presently.....i want to port aokp from nexus s......d devices are almost identical....arm v7, cortex a8, almost same gpu {PowerVR SGX540 for nexus s and 530 for defy}.....i can go ahead rt????

ps. my big doubt......d bl of moto is not unlocked....so cm9 runs on a gb 2.6.32 kernel....dat wont pose any major problems rt...????

thnx in advance
[Android General] medicjunKie:
Then your base rom doesn't have init.d support. There should be no problem there. I think.

Go ahead and try it.
[Android General] vermilion871:
Porting hdpi to mdpi roms

what if i want to port hdpi rom to mdpi .... plzz help
[Android General] circleofomega:
Thanx for ur reply..but what about the missing files in some of the folders..many folders are missing and so are some files...I can write it in detail of it helps... :)

Sent from my RaZr NeXus.
[Android General] medicjunKie:
won't work
[Android General] medicjunKie:
thw folders named in the OP are missing?
[Android General] circleofomega:
There u are..all that is missing I have screen captured...
[Android General] medicjunKie:
The build.prop MUST be in the rom.

To change the bootclasspath you must unpack the kernel.

Either your on windows, linux, or mac: Google how to do it ;)
[Android General] bharaththeunique:
Ok...but since manufacturers are different....I see I have to repair kernel.....which I don't think is possible due to llocked bl...any ideas????...

I will ask in defy forum too...thnx..
[Android General] Dhiraj:
I tried this method and get success to boot ported rom . But one problem I faced in my two diff rom porting cases that is I could not able to catch signal . In case of miui4 signal appear but it drops randomly when I tried to connect data or internet. Any suggestion?
[Android General] circleofomega:
Is taking help from a Android kitchen advisable? cause i dont see this going anywhere...I will check the method to unpack kernel..

something like this:

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

nope...no build.prop anywhere...what to do?? The "official " stock ICS ROMs for razr dont have it..Can I just use the build.prop from AXIOM COMPLX...??

EDIT: Ok found out...

the files are in

Root of the file and then in:

Patch/system

and not directly in system/

So the build.prop is in

patch/system/build.prop.p

now can someone explain why this is so? and what the hell is ".p"
[Android General] pratikmore:
http://pastebin.com/srVsmifs

Plz help me,when i am calling;other person cant hear my voice.
[Android General] martin.petrov:
im sorry for asking, but will it be possible to use this method to port a jellybean rom? I have an HTC sensation, and should I to use the galaxy nexus prime as a port? and also what should I use as a base?thanks for the help?
[Android General] Peteragent5:
Using this method and another method that involves smalis, then, yes. Yes you can port jellybean...
[Android General] martin.petrov:
what should i use as base and port tho. should I use an htc sensation cm9 ics rom as base and the ota jb nexus prime update? thanks forthe fast reply:good:
[Android General] Peteragent5:
Ya. Use your CM9 as Base and use JellyBean as Port.
[Android General] itzdarockz:
Are we able to post logcats if we cant figure out whats wrong? Also, my PORT has these files bml_over_mtd, bml_over_mtd.sh, erase_image, flash_image, make_ext4fs, recovery.bin, and updater.sh do I use these files. They are from the cm7 rom i am trying to port, also they are not in any folder.
[Android General] hell_lock:
I hav a workin cm7 port but the graphics are showing wrong colors.. Pls help
[Android General] nvedamuthu:
So I followed the instructions, and I get this error in recovery:

assert failed: getprop("ro.product.device")="pyramid"

FYI I am trying to port cm9 for the sensation to the Evo 4g.

Base is AOKP Milestone 5
[Android General] :
Can this be applied to Jelly Bean?
[Android General] nvedamuthu:
If you find a guide that uses smali and use it in conjunction with this one, yes.

OP said this in the first few pages of the thread.
[Android General] stewiemakkn:
You have to download notepad ++ and edit the build prop

CONQUERING THE CONQUER 1 ROM AT A TIME
[Android General] nvedamuthu:
I've followed your instruction word for word, but I got errors during the install. So I edited the build.prop and updater script by changing the assert names to my device rather than the ones copied from the port and the ro.device values to my "supersonic". The install seemed to work, but when the phone booted up, it when into fastboot. What is wrong?

FYI: Base- AOKP Milestone 5 (4.0.4)

Port- CM9 Nightly for HTC Sensation (4.0.4)

Device: HTC Evo 4G
[Android General] fnd66:
thanks :good: great job
[Android General] voetbalremco:
open updater-script with notepad ++

this is so other devices can't install this rom, so it won't brick if you flash the wrong rom..

remove lines that look like this:

assert(getprop("ro.product.device") == "pyramid" || getprop("ro.build.product") == "pyramid" || getprop("ro.product.board") == "pyramid" ||

and anything below it that looks like getprop(.ro.product.device) == modelnumber

---------- Post added at 11:45 AM ---------- Previous post was at 11:44 AM ----------

maybe if you use cm9 as base...

but kernel needs to be modified, and arm v7 to arm v7..
[Android General] cyko_gamer:
Plz help... it showing installation aborted
[Android General] c2t2l4n:
i can;t find init.rc where is ? and can;t unpack boot.img!
[Android General] ansonchan:
can port stock rom to stock rom?

i mean i port galaxy s3 stock rom to galaxy s3 stock rom as a base
[Android General] dc959:
i have fixed some smali files in the framework.jar but i cant fix this one i have tried replacing it with the one from the base framework.jar but i get the same error how do i fix it?

p.s I am porting an aokp based rom from the ideos x6 to my ideos x5 using a 4.0.4 rom as base.

Logcat:

http://pastebin.com/h3BJZqM
[Android General] medicjunKie:
Your pastebin ID isn't right.
[Android General] dc959:
i copied the link again so here this one i checked and it links to it

http://pastebin.com/h3BJZqMg
[Android General] appmalva:
bookmarked
[Android General] kribojing:
hey what this code mean set_perm_recursive(0, 0, 0755, 0644, "/system");

give an example

sorry my bad english:)
[Android General] cyko_gamer:
Hy plz help.... after porting when I install it showing installation aborted... plz help
[Android General] iok1:
You need to edit your updater-script