How do I take bits of different roms?


Last Updated:

  1. todlerix

    todlerix Member This Topic's Starter

    Joined:
    Jun 19, 2010
    Messages:
    13
    Likes Received:
    0
    I want to use Fresh 2.3.3s phone and contacts portion and replace the darchdroid 2.7's default phone and contacts.

    How does one do this? Is it simple or buggy and difficult?

    I've made a nandbackup, i'm ready to experiment.
     

    Advertisement
  2. ccapasso

    ccapasso Well-Known Member

    Joined:
    Jan 12, 2010
    Messages:
    1,127
    Likes Received:
    278
    Technically to do this, you would take the Phone and Contacts apk from Fresh2.3.3 and push them to darchdroid 2.7 using adb. Will it work, maybe.
     
  3. todlerix

    todlerix Member This Topic's Starter

    Joined:
    Jun 19, 2010
    Messages:
    13
    Likes Received:
    0
    So I tried this

    (Fresh 2.3.3 installed)

    adb pull /system/app/

    it dumped the entire contents of /system/app/ into my my PC (c:\android-sdk-windows\tools)

    I then wiped (factory reset/dalvik/cache)

    restored my darchroid 2.7

    adb push HtcContacts.apk /system/app/
    adb push Phone.apk /system/app/

    It gave me confirmation and speeds on both items, i rebooted and it all went bad.

    Once it was loaded to lock screen i unlocked it. It was running horribly slow, couldnt get phone service, internet, and the phone app and contact app were still the original darchdroids.

    What to try next?
     
  4. KitsapAndroid

    KitsapAndroid Well-Known Member

    Joined:
    May 13, 2010
    Messages:
    743
    Likes Received:
    118
    Don't quote me, but I think that because Fresh uses the Sense phone and contacts and Darch is AOSP, they will not play nice with each other no matter what. The framework of the ROMS are very different in my understanding.
     
  5. ccapasso

    ccapasso Well-Known Member

    Joined:
    Jan 12, 2010
    Messages:
    1,127
    Likes Received:
    278
    More or less, yes, the frameworks are different. Furthermore, you should not have pulled all of your /system/app from Fresh and pushed the entire thing to Darch. You only needed to pull the specific file. In addition the names of the apks from Fresh to Darch (as far as contacts are concerned) are likely different. In Fresh, it is likely called people and in Darch it is called contacts. I believe the apks might be something like HTCContacts and just contacts.

    Again, you can try and pull/push just what you want, but there is no guarantee it will work correctly.
     
  6. todlerix

    todlerix Member This Topic's Starter

    Joined:
    Jun 19, 2010
    Messages:
    13
    Likes Received:
    0
    As I posted I only pushed the two pieces:
    adb push HtcContacts.apk /system/app/
    adb push Phone.apk /system/app/
     
  7. tatonka_Hero

    tatonka_Hero Well-Known Member

    Joined:
    Nov 12, 2009
    Messages:
    1,566
    Likes Received:
    86
    would it be possible to just open up the .zip files from each ROM and move the files between them?

    Seems like that'd be a far simpler way of doing things (I'm sure it's not that easy lol)
     
  8. ccapasso

    ccapasso Well-Known Member

    Joined:
    Jan 12, 2010
    Messages:
    1,127
    Likes Received:
    278
    My mistake. I read it while at work and must have overlooked that part. Regardless, if it didn't work, then it likely will not.

    For example, I tried to get the AOSP contacts to work on Fresh and it wouldn't. Same thing is likely true the other way around.

    I guess you could, but you would have to re-sign things and possibly a bit more involved. Pushing/pulling really is quite simple. Or, you could just open the zips, take the apks out that you need from Fresh, then push them to Darch. But again, I don't think it will work due to one being based on Sense the other on AOSP.
     

Share This Page

Loading...