1. Download our Official Android App: Forums for Android!

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

Discussion in 'Android Devices' started by varun.chitre15, May 12, 2012.

  1. varun.chitre15

    varun.chitre15 Android Expert
    Thread Starter
    Rank:
    None
    Points:
    213
    Posts:
    1,677
    Joined:
    Oct 6, 2011

    Oct 6, 2011
    1,677
    645
    213
    Sangli
    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 ;)
     

    Advertisement

  2. D3odex3DAyusH

    D3odex3DAyusH Well-Known Member
    Rank:
    None
    Points:
    53
    Posts:
    138
    Joined:
    Feb 4, 2012

    Feb 4, 2012
    138
    78
    53
    High-School Student
    Surat
    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: :)
     
  3. anabhi

    anabhi Newbie
    Rank:
    None
    Points:
    16
    Posts:
    21
    Joined:
    Apr 24, 2012

    Apr 24, 2012
    21
    3
    16
    :Dohh good work
     
  4. crazyscorpio79

    Rank:
    None
    Points:
    5
    Posts:
    4
    Joined:
    Apr 21, 2013

    Apr 21, 2013
    4
    0
    5
    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
     
Tags:

Share This Page

Loading...