• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.
Sign in to follow this  
Followers 0

[GUIDE] How to port a ROM

28 posts in this topic

Posted · Report post

Hi users. Consider this post as my last post. I'm leaving liquid and liquid community...I'm buying a Galaxy Nexus as soon as it comes out. It seems a fantastic device. I also have to keep up my work on Asus Transformer.

So this post is my last present to the community, I really hope someone will keep up the Liquid development.

The question I have most seen in this forum is How can I port a ROM? Well, first of all keep in mind that there isn't a way to port a ROM. I can tell you what you should change, not what you need to change. The following list is the list of the file I changed to get the CM 6.1.1 fully working. Obviously you should take them from a working Acer Liquid's rom (like my CM 6.1.1 v3 or LiquidNext) and then add/replace them in the rom you want to port.

/system/app:

Bluetooth.apk → To fix the bluetooth problem

Phone.apk → To fix the proximity sensor issue

Added liquid settings & GApps

/system/bin:

Since you probably use the old sensor, you need to add all the *_yamaha files.

brcm_patchram_plus → To fix the bluetooth

dhcpcd

netd → To fix the wifi hotspot (you MUST change also /lib/libhardwarelegacy.so too, else you will get a bootloop)

rild → To get the network working

servicemanager → To get the sensors working

vold → To get the vold working

/system/etc:

the entire firmware folder to get wifi and sensors working

the init.d folder to tweak the rom

the permissions folder, added missing xmls

the entire wifi folder to get the wifi working

gps.conf → To improve the GPS

hosts → To fix ads

media_profiles.xml → To fix problems with camera and camcorder

vold.conf and vold.fstab → To fix vold, if you don't change them the rom won't boot.

/system/framework:

Added com.google.android.maps.jar to fix problems with the apps which uses GMaps.

You can find there the files to tweak with smali to get some stuff working. For example, if you want to get the prox. sensor working well, you need to edit the PowerService class in services.jar.

/system/lib:

the entire egl folder

the entire hw folder

the entire modules folder

all the libOmx* .so files → To get the camcorder working

all the libaudio* .so files → To get the audio working (if you don't change them, it won't boot)

libandroid.so

libauth.so

libcamera.so and libcameraservice.so → These depends on the ROM.

libcm, libcommondefs.so, libdiag.so, libdll.so, libdsm.so, libdss.so, libeffects.so, libg*.so

libhardare_legacy.so

libloc*.so

liblog.so

libmedia.so

libmmgsdilib.so, libmmipl, libmmjpeg.so, libnfc_ndef.so, libnv.so

libms3c_yamaha.so → To fix the sensors

liboemcamera.so → To fix the camera & camcorder

liboncrpc.so, libpbmlib.so, libqmi.so, libqueue.so

libril*.so

librtp_jni.so

libsensor*.so

libspeech.so

libsqlite_jni.so

libstagefright_*.so → These are usually not required

libt99.so

libvoicesearch.so

libwebcore.so

libwms.so

libwmsts.so

/system/sd:

The placeholder file. → To get sd working

/system/usr:

the entire 'keychars' and 'keylayout' folders

/system/vendor:

The entire folder.

/system:

Edit build.prop and add/change the following strings:

ro.product.board=salsa

ro.hw_version=4

rild.libpath=/system/lib/libril-acer-1.so

Obviously you also need to change the kernel and, if needed, you must also edit the BOOTCLASSPATH in the init.rc file in the ramdisk. Please refer to other tutorials for this.

Notes:

  1. Pay attention to the updater-script. Sometimes all the problems are due to wrong permissions in it. Give a look to the updater-script of working roms to know more about it.
  2. This is the most important thing: LOGCAT. If you don't use it, you will never port a ROM. You MUST read the logcat to know what's wrong in your ports.

I hope you will find this post usefull and that you will receive the necessary knowledge. But to learn all this thing what you need is to keep trying.

Good bye community smile.gif

0

Share this post


Link to post
Share on other sites

Posted · Report post

thx for ur port guide... it should work with gb too?

0

Share this post


Link to post
Share on other sites

Posted · Report post

thx for ur port guide... it should work with gb too?

It should

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

double post, sorry

Edited by gnufabio
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

wth, triplicated message

Edited by gnufabio
0

Share this post


Link to post
Share on other sites

Posted · Report post

its sad to see another one leave the Liquid, but i know its an old phone, soon we will have to stop waiting for software updates and requesting new features or just get a new phone sad.gif

and yeah the Galaxy Nexus is a great phone but as a user i would go for the HTC Sensation, but i will wait for next gen phones with ICS out of the box rolleyes.gif

but good luck with the Asus Transformer and the Galaxy Nexus smile.gif

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

i've tried to port the oxigeN1mod with the gnufabio's guide: http://www.multiupload.com/C7UGP92DZJ

i've not tried it because i need my phone for some important call and messages, if anyone want's to try it tell me if boots and what works.

Edited by zorginho
0

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks for everything you've done for the Liquid.

See you soon in the Galaxy Nexus section :))

0

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks for everything you've done for the Liquid.

See you soon in the Galaxy Nexus section :))

Are you going to buy a Galaxy Nexus too? Damn, I can't wait tongue.gif

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Are you going to buy a Galaxy Nexus too? Damn, I can't wait tongue.gif

you bet! :)

but i think i'll still be playing around with ICS ports on my liquid.

Edited by Andy__P
0

Share this post


Link to post
Share on other sites

Posted · Report post

good guide, moderators should pinned him on top !

0

Share this post


Link to post
Share on other sites

Posted · Report post

It's really sad to see one more dev leaving Liquid Section~~~

Hope to see you at Galaxy Nexus section Gnufabio! (I've already bought it~~~hehe)

0

Share this post


Link to post
Share on other sites

Posted · Report post

goodbye dario, thank's for all your hard work.

0

Share this post


Link to post
Share on other sites

Posted · Report post

goodbye dario, thank's for all your hard work.

Dario? tongue.gif

0

Share this post


Link to post
Share on other sites

Posted · Report post

Dario? tongue.gif

Nah, maybe he/she recognized the wrong person

Fabio can you teach me how to change the animations of ROMs like MIUI?

0

Share this post


Link to post
Share on other sites

Posted · Report post

Nah, maybe he/she recognized the wrong person

Fabio can you teach me how to change the animations of ROMs like MIUI?

Which animations?

0

Share this post


Link to post
Share on other sites

Posted · Report post

Which animations?

When opening Apps/windows

0

Share this post


Link to post
Share on other sites

Posted · Report post

When opening Apps/windows

I think it's n framework-res.apk

0

Share this post


Link to post
Share on other sites

Posted · Report post

We're losing another great dev, thanks for all your efforts and have fun with your new phone. ;)

0

Share this post


Link to post
Share on other sites

Posted · Report post

Dario? tongue.gif

Ehhmmm I don't know why I wrote Dario, goodbye Fabio..

0

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks man for all your help & input to the community... your Liquid_Settings app was/is legend!

Cheers

0

Share this post


Link to post
Share on other sites

Posted · Report post

Good day and Happy new Year people

I have a porting question

I am working on a acer stream s110

in my backup of the rom/system, there is no folder located at system/lib/modules

no modules folder at all

any idea why this rom doesn't have that folder

the phone is stuck at android 2.2

take care all and thank u

l8r

0

Share this post


Link to post
Share on other sites

Posted · Report post

Good day and Happy new Year people

I have a porting question

I am working on a acer stream s110

in my backup of the rom/system, there is no folder located at system/lib/modules

no modules folder at all

any idea why this rom doesn't have that folder

the phone is stuck at android 2.2

take care all and thank u

l8r

Is there any *.ko files in other folders?

0

Share this post


Link to post
Share on other sites

Posted · Report post

Good day and Happy new Year people

I have a porting question

I am working on a acer stream s110

in my backup of the rom/system, there is no folder located at system/lib/modules

no modules folder at all

any idea why this rom doesn't have that folder

the phone is stuck at android 2.2

take care all and thank u

l8r

/system/lib/modules is arbitrary, Acer probably put the modules in /system/lib/. Seek the .ko files in all the system folder.

0

Share this post


Link to post
Share on other sites

Posted · Report post

/system/lib/modules is arbitrary, Acer probably put the modules in /system/lib/. Seek the .ko files in all the system folder.

I made this thread "sticky" :)

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.