• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [HOW-TO] Add 3rd party apps in custom ROMs without force close

varun.chitre15

Android Expert
Ayush asked me how I added terminal emulator, various keyboards in my ROMs and how they didn't force close
Well here is the trick for that
We know that there are many apps out there which contain libraries on which their work ability depends and when they are included in ROMs then they force close because they extract required libs to their appropriate location only when REAL TIME installation.
So many of you must have tried to put their libraries in data/data/appname/lib folder but failed that's because data is wiped by the ROM again on first boot.
So what should be done is open apk with winrar and move into lib/armaebi folder inside apj where you will find the library.
Just take it out and copy it to system/lib of your ROM
Note: Don't remove the lib from the apk, only copy it to ROM in system/lib and publish your ROM ;)
You wont get any force close any more ;)

Good luck ;)
 
Ahh!! Thanks for this bro!;) it was simple!!! We'll include those apps' libs just like system libs! Good idea!!:)
Thanks!:)

EDIT:- Do include in the OP that giving those apps's libs separately after 1st boot doesn't work even, the libs automatically get corrupted on reboot !!:eek: :)
 
This worked for some apps but not all. Some apps i had to make an odex file for to get to work still.

For this i used an app called SystemCleanup "black tote with files and a pencil icon"

this worked on my nexus s factory upgrade rom

Had to odex the new launcher and terminal emulator to make them work.


Still struggling with my galaxy centura because of SU issues
 
Back
Top Bottom