yashsingh1/xdaforums huggingface dataset:
[Android General] rirozizo:
i had problems porting CM9 too... there is some partitioning failure...

i got my cache partition corrupted when trying to test my ROM... the phone didn't even boot to recovery anymore :)

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

^ this bar means i'm using my phone :)
[Android General] pratikmore:
so sad,but you can flash by download mode your stock rom.how to solve this low space error??
[Android General] DraXonic:
u said that 51 apps was installed now what is there any progress after deleting apps?
[Android General] pratikmore:
now,there are only 34 apps but same low on space error.almost 30 mb less than previous.
[Android General] bjones8515:
Can u only use the system apks required for boot , and move any to data/app instead? Maybe create a separate a .zip like gapps to flash after rom?
[Android General] voetbalremco:
use the most crucial apps on /system/app

extra apps like widgets, in /system/app can be moved to /data/app , create a new folder; should look like this:

META-INF

boot.img

System folder

Data folder > create a folder app inide it and move apps to it.

in the updaterscript then use

package_extract-data( /data/) (something like this, use /systems values and change to /data
[Android General] pratikmore:
gapps are not included in my cm9.which apps are required to boot the rom? I have apex launcher,apollo,application provider,bluetooth,browser,camera,certInstaller,cm wallpepers,contacts,contact provider,default container,development,drm provider,dsp manager,html viever,key chain,media provider,mms,package installer,phone,pico tts,provision,setting,setting provider,shared storagebackup,sound recorder,superuser,systemui,telephony provider,term,theme chooser,theme manager,user dictionary provider,vpn dialog,wap push manager.apks in system app.
[Android General] DraXonic:
del apollo and browser
[Android General] smokyhill:
Wow!

I need to get into this. Maybe I can make my own ROM :o
[Android General] cyrusalmighty:
Sorry I Cant help with CM porting questions(as I have not gotten that far yet), but Can I ask again, does anyone have knowledge of xperia build.prop's to help me port an xperia arc Rom to xperia play? I think its why I bootlooped so I want to try to fix. Please:(

Edit* My earlier post has build.prop attached.
[Android General] MaartenXDA:
@Peteragent5, great guide, although I didn't manage to get a ROM booting :|

But that's not my problem, I'm planning to build some sort of half-Sense half-AOSP ROM, but I need to port some apps for that.

Do you have any knowledge on how to port apps from CM9 to a Sense based ROM?
[Android General] deiuma:
This is a good tutorial :). Thank you. I will port a ROM for my device.
[Android General] mohamedrashad:
I have a non completed cm10 i will use it as a base and take the galaxy mini cm10 as port
[Android General] Quinny899:
Did you use the correct libandroidruntime.so? Also, we need the bit before the debug, not the debug itself please
[Android General] Darktitor:
Is it possible to port a touchwiz rom with this tuto ??
[Android General] Quinny899:
Try, it might work, but you might need more like the Samsung frameworks being added to the BOOTCLASSPATH and stuff like that
[Android General] Darktitor:
Is there a tuto who explain the steps to port a touchwiz rom??

Envoyé depuis mon Galaxy S SCL i9003 avec CyanTapatalk
[Android General] cyrusalmighty:
I think I did. I will go back & check. Does it matter if I just do Adb logcat or Adb logcat -v long? When I did the -v long method I got a different report, but it seemed less detailed and harder to understand.
[Android General] rirozizo:
this is still great!

i've ported so many ROMs with this guide i lost count :D
[Android General] KainXSS:
does anyone have an idea what I can do if the usb and adb connection don't work, I also have a problem mounting the flash(which I think is the cause of the problems)

I have traced it to the volds and init files, any ideas people.

porting jb to cm10 if that helps
[Android General] meminiau:
Why doesn't someone start up a thread where people can post up their ports?

Permission from the original dev should of course be sought, but I reckon most would say yes as it would be a great way to encourage others into developing. :)
[Android General] voetbalremco:
dont they do that already, but in specific thread for their device?
[Android General] derealrobert2:
We need an developer to fix camera on lg onet p690 please been long time we wait and there are no solution i guess only few dev. Can try to fix HOPE CAN HELP ONET P690
[Android General] Sage:
this looks interesting. going to try to port SlimBean for Samsung i727 to my Sensation using the SuperXE ROM. (Both 4.2.1 and both running MSM8260 CPU).

Fingers crossed.
[Android General] Sage:
Strike 1:

During loading of the ROM through 4ext i get.

Format and Mount System. Mount Data.

Symlinks & Permissions...

set_perm: some changes failed

E:Error in /sdcard/Ported.zip

(Status 7)

Installation Aborted

Bugger.
[Android General] rishabh.raj37:
The set_perm lines are used for setting appropriate permission for specific files/folders.

There might be some set_perm lines in updater-script which are setting permissions for files which are not present in your zip.

Erase those lines or add those files.:thumbup:
[Android General] totom96:
Hi, I tried to port ParanoidAndroid 3+ for Galaxy Nexus (based on 4.2.1) to a CyanogenROM for my Xperia Arc S (based on 4.1.2). And I got Status 6, installation aborted. This is the 3rd way I try to port this to my phone. Can someone explain me, why it won't work? Because of Android 4.1 and 4.2 or PA and CM? Is there any other way to port it? Thanks in advance.
[Android General] MaartenXDA:
Could you please attach your recovery.log from after installing the ROM and your updater-script?

You can get the recovery.log in advanced options.

I'll look into them if you upload them.

Sent from my awesome fridge
[Android General] totom96:
Ok, I've also tried the script with those asserts:

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

getprop("ro.product.device") == "LT18a" || getprop("ro.build.product") == "LT18a" ||

getprop("ro.product.device") == "LT15i" || getprop("ro.build.product") == "LT15i" ||

getprop("ro.product.device") == "LT15a" || getprop("ro.build.product") == "LT15a" ||

getprop("ro.product.device") == "anzu" || getprop("ro.build.product") == "anzu");

had to put those files in a zip file, because i cant upload .log and update-script files to xda :confused:
[Android General] MaartenXDA:
Okay, so the problem is in updater-script. It's this line:

assert(samsung.fs_size_fix());

I don't know what the Samsung.fs_size_fix is, but if you do, change it to: assert("samsung. fs_size_fix");

If you don't know what it is, just remove the whole line.

Sent from my awesome fridge
[Android General] totom96:
It still don't work, but now i get error status 7 instead of six -.-
[Android General] MaartenXDA:
Please send the same files, but the edited updater-script and the new recovery.log.

Sent from my awesome fridge
[Android General] totom96:
Here, tried it also with the other asserts (postet in the script before), but also dont worked.
[Android General] rishabh.raj37:
Try replacing updatebinary from a working ROM of your mobile..

It should work then.:thumbup:
[Android General] totom96:
I already did so from beginning. It is written in the guide on page 1 ;)

Edit: And I also tried your guide ;) I think it is not possible with those ROMs.
[Android General] MaartenXDA:
Did you change ro.build.product and ro.product.device to maguro in build.prop?

Sent from my awesome fridge
[Android General] rishabh.raj37:
Error in build.prop does not affect installation..
[Android General] MaartenXDA:
Okay sorry, I thought it did, but I really don't know anything about those assets.

Sent from my awesome fridge
[Android General] rishabh.raj37:
Problem in framework.jar

and those are the names of smalis. Decompile framework.jar and find out the problem with these files.

Good Luck:good:

&

This

Due to libc.so
[Android General] Red Devil:
Maybe ths ?
[Android General] hariprasadiit:
Problem with surface flinger

It was problem with mediaplayer class.
[Android General] Quinny899:
It's not loading the libs in /system/lib/hw

Are they chmodded to 644? The directory to 755? Are they from your device?
[Android General] hariprasadiit:
Thanks a lot. that helped me.my fault, i didnt chmod lib folder.

but now i got different problem. please look at below log.

E/dalvikvm( 1741): ERROR: couldn't find native method
E/dalvikvm( 1741): Requested: Lcom/android/server/input/InputManagerService;.nativeResetTouchCalibration:(I)V
E/JNIHelp ( 1741): RegisterNatives failed for 'com/android/server/input/InputManagerService', aborting
F/libc ( 1741): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1741 (system_server)

dalvikvm is looking for InputManagerService , but there is no class folder like that inside framework.jar even in stock and also in CM10. please help me with that.

EDIT : sorry, it was in services.jar.sorry for asking with out searching for it.
[Android General] lozohcum:
I followed strictly and carefully tutorial but system gets reboot when I click any key during SetupWizzard. Does anyone nkow how to make rom working now?
[Android General] bjones8515:
Logcat?
[Android General] KainXSS:
does anyone know what I can do if I cannot get the usb to work and am having problems with the external sd not showing up on on the port.
[Android General] hariprasadiit:
You need to define right mount points in fstab.
[Android General] KainXSS:
the vold.fstab right, when I try to swap the vold or edit it, I get no boot.

it seems the flash is mounted in the spot the sdcard should be so its not being detected

this is the base

this is the port vold

should I edit another file after changing the vold to match?
[Android General] hariprasadiit:
try mounting external sdcard manually and tell me.
[Android General] KainXSS:
how would I go about that?;)
[Android General] KainXSS:
k i made a little progress I fixed the usb connection and can mount but I can only mount sdcard or flash and because both get detected as sdcard for some reason
[Android General] grodstrike:
Hello.

I want to port CM7 or CM10 from Motorola atrix 4g on my phone ZTE v970. They have the same processor NVIDIA Tegra 2 AP20H, but different amounts of RAM. What else you need to do, other than those described in this guide action? Additional changes in the kernel?

Thanks.
[Android General] pokexpert:
Question - does it needs exact right version?

I have 4.0.3 on base rom, can i port cm9 4.0.4?

Thanks

EDIT: i found a 4.0.3 Version. The problem is : in my base rom, i haven't found kernel. The consequence is : The phone don't boot up. No bootanimation, stuck on brand name :(
[Android General] cyrusalmighty:
I am still stuck on boot. I dont fully understand logcat. If I can post screenshot of "Dalvik Debug Monitor Server (DDMS)" as stated in OP, would it be easier to fix bootloop?? I see DDMS shows much information but is it going to show me me causes and errors of bootloops? The rom I am porting is GB stock based Arc Rom to GB Xperia Play device.
[Android General] Sesme:
Very good guide.

I try to port to jb 4.1.2 to jb 4.2.2 ... is dificult?
[Android General] Baskhara:
Nice guide... I am successfully port MIUIv4 to my device.. :D
[Android General] cyrusalmighty:
SUCCESS! Haha! I made a Noob mistake on instruction from OP and now the Rom ported fine! Thank you for Great Guide. Only problem is my phone doesnt have HDMI and 3D Camera so I need to take out of system plus I have FC's on keyboard and black text on black dialer in phone which is strange(but nothing a little theming cant fix). Thanks again, looking forward to my next port!:laugh:
[Android General] Darktitor:
Get status 7 error and don't know how to solve this problem ...

Envoyé depuis mon U8350 avec Tapatalk
[Android General] Toni5830:
R: [GUIDE] How to port Stock/GB/CM7/CM9/ICS/CM10/JB Based ROMs [Update: Sept.25.2012]

The problem is in the updater-script inside meta-inf folder.. check the original and the edited one so you will understand what's wrong..

Inviato dal mio GT-I9070 con Tapatalk 2
[Android General] cryostasis25:
Is it possible to port Stock ICS to JB of another device but with same specs? If so I will dot this guide as I did previously got stuck in Boot logo and sometimes when flashing using cwm shows error status 6
[Android General] Toni5830:
R: [GUIDE] How to port Stock/GB/CM7/CM9/ICS/CM10/JB Based ROMs [Update: Sept.25.2012]

From OP:

Inviato dal mio GT-I9070 con Tapatalk 2
[Android General] Zack208:
HelloI have a Chinese device which is assembled in Pakistan Qmobile Noir A8. Please see the specs of this device below, and tell me which device customized ROM I can port on my device:

Qmobile Noir A8

OS: Android 4.0.4

Dual SIM phone

Dimensions : 130 x 67 x 9.8 mm

Size : 4.3 Inches

CPU : 1 Ghz Dual Core Processor

Thanks
[Android General] voetbalremco:
should be fine
[Android General] pratikmore:
finally cm9 booted and i am facing system ui,com.process.acore fc...any help

logcat attched

http://dl.xda-developers.com/attach...b5ece302b00d0e/512dc4f4/1/7/4/2/3/9/3/log.txt
[Android General] rirozizo:
i ported cm9 from htc desire hd to htc desire z, and the phone didn't boot, it turns out the /cache partition was corrupted and i couldn't even boot to recovery.

i wiped cache using fastboot which made my phone alive again. can you please tell me what did i do wrong?

I'm really used to the guide now, i ported 4 cm7 roms and one sense rom using it.

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

^ this bar means i'm using my phone :)
[Android General] KainXSS:
OK guys I have 2 versions of CM booting on my tablet but

first version has the gsensor orientation off, no other problems

second version has no hwacceleration but no gsensor problems, no other problems

is there anyway I can combine the two to have a fully working rom
[Android General] kamoteprotocol:
nice good work!
[Android General] erdal67:
hey what do i need to do with the kernel please could you explain that? im porting a galaxy mini rom to HTC Wildfire
[Android General] SpaceKiller:
I'm trying to port a cm10 rom but stuck in bootanimation and this issue appears on logcat:

W/dalvikvm( 103): Exception thrown (Ljava/lang/NoSuchFieldError;) while throwing internal exception (Ljava/lang/NoSuchFieldError;)
F/libc ( 103): Fatal signal 11 (SIGSEGV) at 0x0000002c (code=1)

The kernel is 2.6.35.7. Anybody can help me? D:
[Android General] GTM_rhinox:
Thnx!
[Android General] wana7262:
i want to port Touchwiz rom of S3 Mini for Crespo Nexus S... will this method work?
[Android General] erdal67:
hey guys,

im porting a cm7 rom from Galaxy Mini(tass) to HTC Wildfire(buzz) with the same CPU but i did everything and while flashing it says (what i can see on my screen)

.device) == ''tass'' || getprop (''ro
.build.product'') == ''tass'' || getp
rop(''ro.product.board'') == ''tass''
| | getprop(''ro.product/devi
ce'') == ''gt-S5570'' || g
etprop (''ro.product.board'') == ''GT-
s5570''
E: error ing /sdcard/ROM/wp7buzz.zip
(Status 7)
Installation aborted)

I POSTED ALSO ON THE OTHER VERSION

(yes i wrote it myself:mad:)
[Android General] Toni5830:
R: [GUIDE] How to port Stock/GB/CM7/CM9/ICS/CM10/JB Based ROMs [Update: Sept.25.2012]

Delete those lines from updater-script

Inviato dal mio GT-I9070 con Tapatalk 2
[Android General] erdal67:
thanks it worked

BUT IT DOESN'T BOOT!!!!!!!!

logcat in attachment:laugh:
[Android General] erdal67:
Re: [GUIDE] How to port Stock/GB/CM7/CM9/ICS/CM10/JB Based ROMs [Update: Sept.25.201

Can someone help me please IT DOES NOT BOOT logcat attached in previous post i need help:confused:

Verstuurd van mijn HTC Wildfire met Tapatalk
[Android General] Arjav23:
can i port a stock GB modified rom from a device into my device which has cm7 as base?
[Android General] erdal67:
CAN ANYONE PLEASE HELP ME? DEAD PLACE

:what:

Sent from my beautifull HTC ONE M7 uuuh no just jokin' sent from my HTC Wildfire :-/
[Android General] rirozizo:
if the port is cm7, yes, but stock? you should have stock as base.

caps lock won't help... reput the deleted lines and modify them to suit your buzz devices.

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

^ this bar means i'm using my phone
[Android General] erdal67:
Ok thanks:D

Sent from my beautifull HTC ONE M7 uuuh no just jokin' sent from my HTC Wildfire :-/
[Android General] Baskhara:
Can I port CM7 to my device using stock as base?
[Android General] Quinny899:
If stock is GB, yes
[Android General] Baskhara:
Okay thanks Sir :)
[Android General] erdal67:
Where can i find INIT.RC

Sent from my beautifull HTC ONE M7 oh no my bad sent from my HTC Wildfire :-/
[Android General] Quinny899:
Depending on device setup, it may be in:

ROM zip (in no folder)

ROM zip/system/etc

ROM zip/system/etc/init

Or the boot image.
[Android General] erdal67:
I see only init.local.rc

Sent from my beautifull HTC ONE M7 oh no my bad sent from my HTC Wildfire :-/
[Android General] Quinny899:
In the zip? Check the boot image
[Android General] erdal67:
How?:confused:

Sent from my beautifull HTC ONE M7 oh no my bad sent from my HTC Wildfire :-/
[Android General] Quinny899:
Go look up dsixda's kitchen
[Android General] yogik_log:
[ask]

how to open the file boot.img ?
[Android General] Quinny899:
See my post directly above yours :rolleyes:
[Android General] untz1456:
i need some help my mms is not working i can send messages but i cant receive them also go sms pro wont work it doent receive the message either and i tried moving the mms.apk and still the same problem
[Android General] Arjav23:
Use mms of base
[Android General] untz1456:
I have and nothing
[Android General] Arjav23:
Use mms.apk from base rom
[Android General] untz1456:
Yeah man I done that already and its the same for every ROM I port
[Android General] SpaceCaker:
Decompile framework.jar

And find the mms smalis

Then replace them by base roms mms smalis and try again
[Android General] untz1456:
Alright cool I'm going to try it when I get home from school
[Android General] :
Porting a rom from galaxy y to galaxy ace s5830i

U know what's happening here

Device stuck at Samsung galaxy ace s5830i

Here is the logcat

www.pastebin.com/Uia91s4k
[Android General] :
Edit

I figured it out
[Android General] KainXSS:
I'm still having problems with the mounts Gallery and Apollo can see them correctly but when I go to storage SD0 says its name is Edit and SD1 reports its as Data Usage Warning

any ideas

root explorer and file managers crash on start
[Android General] erdal67:
Which guide is better? This one or http://xdaforums.com/showthread.php?t=1908008

Verstuurd van mijn HTC Wildfire met Tapatalk
[Android General] Peteragent5:
You can't really compare something that talks about the same thing. Even though the style is different, it really comes down to how well the topic is explained. Is it enough? Can you refer to it all the time and commit to it without leaving it for another source.

You may think this Guide is the best for porting, or you may not. It's my knowledge to you and we all know that everyone is learning as time flies. So you can't really say which is the best, but more in term of which you prefer. :)
[Android General] evanlocked:
need help here currently i try to port PA30+ rom for my device samsung galaxy w GT-I8150

I have unoficial released JB 4.2.2 JDQ39

Im using it as base rom for port my ported base are JDQ39 nexus

Here the step i do for porting

Copying paranoid folder to system/etc to base

Delete and move app and framework from ported to base

Copying bootanimation.zip to system/media

Adding someline on the build.prop

But its always hang on bootanimation:'( i want it badly if anyone know perfect guide for porting plz let me know

Any helps and suggestion are wellcome

Thanks

Regards

Evanlocked

Sent from my GT-I8150 using Xparent Skyblue Tapatalk 2
[Android General] o0ojake13o0o:
sir i followed your instructions but i am not able to port rom sir. Here is a logcat of mine.

By the way i am trying to port karbonn a5 rom, my device was cherry mobile w100. It is a local brand from philippines.

I think it is both gingerbread and a armv7 processor, but with difference proc model i think. TIA

View attachment jake-logcat.txt
[Android General] GEKTHEBOSS:
R: [GUIDE] How to port Stock/GB/CM7/CM9/ICS/CM10/JB Based ROMs [Update: Sept.25.2012]

Post adb locgat or gtfo!
[Android General] janesz1981:
thx. nice guide :victory:
[Android General] showstopper1:
Tried porting cm9 to my micromax a100..stuck at cm9 bootscreen....please some one help !!!

it shows couldn't find native method !!!

attached my logcat file !!

thanx in advance really appreciate your help :)
[Android General] KainXSS:
anyone know what I can try if apollo and google music don't play music but poweramp and everything else works

I think the port rom uses alsa audio and the base rom uses generic in their boardconfigs
[Android General] Quinny899:
That's not your issue, your issue is your bootclasspath
[Android General] DraXonic:
Will u mind explaning that part in details the only thing that is much hard to understant

Sent from my Nexus⁴
[Android General] Peteragent5:
The bootclasspath is a line of code inside the init.rc when you unpack your boot.img

Your bootclasspath has some references to some jars that doesn't exist. Remove those strings of text. Then repack your boot.img
[Android General] DraXonic:
Ya I guess I have to copy line of bootclasspath from ported kernel to base kernel then to move base kernel to ported folder right??

Sent from my Nexus⁴
[Android General] CNexus:
Never POST a logcat and never QUOTE a logcat. Cmon guys.

---------- Post added at 11:04 PM ---------- Previous post was at 11:01 PM ----------

No...what you wanna do is split the boot.img, then go to "init.DEVICE_NAME.rc" and remove the references to the files that your logcat said don't exist. If they do exist at those locations, then something else is wrong. Also, you need to be on a linux machine to split the boot.img, unless you install a Perl compiler on your windows machine. Heck, you could even split it on your phone with a perl binary and terminal emulator.
[Android General] KainXSS:
I have audio working but whenever I try to play music play music and apollo fail for some reason, any ideas people

my logcat is attatched

there are tons of

Failed to open libwvm.so
[Android General] DAXYSRB:
Is it posible to port MIUIv4 on CM7. - CM7 as BASE and MIUIv4 as PORT.

If it is, can you give me link for tutorial or it's the same as every port?(I know how to port ICS to ICS rom).

Or if i you can, just post how to do it... :)

Thank you :)

EDIT: Or CM9 or AOKP or AOSP instead of MIUIv4(Not important, just needs to be 4.0.x).

So is it posible to port ICS on GB as base?
[Android General] Quinny899:
Not without massive effort. You'd be better building from source
[Android General] DAXYSRB:
Hmm, We have CM9 and AOKP, but camera doesnt work so I wanted to port it from CM7...

I don't know to "build it from source" so I can't do that. Thank you for answer, if there is anything that i should know, just tell me :)

TNX ^.^
[Android General] Quinny899:
You can't port the camera from CM7. If it was that simple it would have worked already
[Android General] DAXYSRB:
Wasn't it easier to say :

Highlight from: ro.build.tags=

To: the end of the file

Copy & Replace that highlighted part to: PORTED's build.prop's highlighted part

I think... If it's not like that, tell me how it is..