Need Help Porting a ROM

ilikechicken123

Well-known member
May 4, 2012
420
113
0
I'm porting a ROM that's really cool. I think a lot of people will like it but I'm having problems. The build.prop, updater-script, and kernel are really confusing.
I'm following this guide: CLICK TO SEE THE PORTING GUIDE I'M USING.

It would help me tons if you helped me out. Here are my problems.
1: Where exactly is the kernel? Is it the boot.img at the root of the rom zip (not in a subfolder) because I replaced it on the ported rom with the file used on the base rom.
2: I skipped where it says this:
Take note of the added set_perms & set_perm_recursives that PORTED added. Then replace all set_perm and set_perm_recursive from BASE to PORTED. Put back in the noted set_perms & set_perm_recursive you wrote down, to PORTED's updater-script
Because I have no idea what it's talking about.
3: I'm porting a rom originally made for the Samsung Galaxy Ace. So do I need to do the stuff where it says 'Porting from a different Manufacturer' ? And if I do, How exactly do I do the steps it mentioned?
4: Besides not understanding fully the top steps, I flashed it anyway. It didn't flash. I got this error:
Installing update...
assert failed: getprop("ro.product.device") == "cooper" || getprop("ro.build.product") == "cooper" || getprop("ro.product.board") == "cooper" || getprop("ro.product.device") == "GT-S5830" || getprop("ro.build.product") == "GT-S5830" || getprop("ro.product.board") == "GT-S5830"
E: Error in sdcard/PortedRom.zip (status 7) installation aborted.

Thank you so much guys, I'd really appreciate it.
 
I'm porting a ROM that's really cool. I think a lot of people will like it but I'm having problems. The build.prop, updater-script, and kernel are really confusing.
I'm following this guide: CLICK TO SEE THE PORTING GUIDE I'M USING.

It would help me tons if you helped me out. Here are my problems.
1: Where exactly is the kernel? Is it the boot.img at the root of the rom zip (not in a subfolder) because I replaced it on the ported rom with the file used on the base rom.
2: I skipped where it says this: Because I have no idea what it's talking about.
3: I'm porting a rom originally made for the Samsung Galaxy Ace. So do I need to do the stuff where it says 'Porting from a different Manufacturer' ? And if I do, How exactly do I do the steps it mentioned?
4: Besides not understanding fully the top steps, I flashed it anyway. It didn't flash. I got this error:


Thank you so much guys, I'd really appreciate it.

You get that error because the updater script is telling the recovery that your phone is the "cooper" which I'm guessing is galaxy ace. To get rid of that flashing error, remove everything before the first semi colon (including the semi colon) in META-INF/com/Google/android/updater-script

Sent from my LG-VM670 using Android Central Forums
 
In a rom.zip, you only want to mess with what's in the /system partition. Sometimes Data partition as well depending on what's in there.


What are you porting? Is it based on stock? Or CM?

Sent from my LG-VM670 using Tapatalk 2
 
You get that error because the updater script is telling the recovery that your phone is the "cooper" which I'm guessing is galaxy ace. To get rid of that flashing error, remove everything before the first semi colon (including the semi colon) in META-INF/com/Google/android/updater-script

Sent from my LG-VM670 using Android Central Forums

Thanks. I'll do it after school.
 
In a rom.zip, you only want to mess with what's in the /system partition. Sometimes Data partition as well depending on what's in there.


What are you porting? Is it based on stock? Or CM?

Sent from my LG-VM670 using Tapatalk 2
Really? Ugh. youre telling me i did everything wrong? :(
Its a Galaxy Ace ROM based off CM7
 
Really? Ugh. youre telling me i did everything wrong? :(
Its a Galaxy Ace ROM based off CM7

I had status 7 error too removed to first semi c. And got status 6 anyone wanna help? Link me to rom your porting I can prolly help :D

Sent from my LG-LS670 using Tapatalk 2
 
Replace Apps, Media, and Framework, to get it booted, and if it has tweaks within, you have to get libs. If you get force cloae messages, then libs are missing.


In recovery, do you get a Getprop error? Or Status 7 error?

Sent from my LG-VM670 using Tapatalk 2
 
Replace Apps, Media, and Framework, to get it booted, and if it has tweaks within, you have to get libs. If you get force cloae messages, then libs are missing.


In recovery, do you get a Getprop error? Or Status 7 error?

Sent from my LG-VM670 using Tapatalk 2

Assert get prop is what the op states.

Sent from my LG-VM670 using Android Central Forums
 
replace entire meta folder from base to port... replace build.prop from base to port... (noting differences and adjusting if needed)...
 
Replace Apps, Media, and Framework, to get it booted, and if it has tweaks within, you have to get libs. If you get force cloae messages, then libs are missing.


In recovery, do you get a Getprop error? Or Status 7 error?

Sent from my LG-VM670 using Tapatalk 2
I get both /:
 
Oh, I considered porting that and the AceSII Rom at one point. Good luck with it, It might be tough, expecially since I think it's still Touchwiz based, at least partially.
 
Oh, I considered porting that and the AceSII Rom at one point. Good luck with it, It might be tough, expecially since I think it's still Touchwiz based, at least partially.

SUCCESSFULLY PORTED! Thank you soo much guys. You all are getting thanked in the post. I'm not sure why but not everything is themed like in the original post. Probably because I used mirage as base? I'm not sure. If anyone wants to donate their help, I'll be so appreciative.
 

Trending Posts

Forum statistics

Threads
956,241
Messages
6,967,136
Members
3,163,490
Latest member
Eymar7