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

How do I take bits of different roms?

Discussion in 'Android Devices' started by todlerix, Jul 7, 2010.

  1. todlerix

    todlerix Newbie
    Thread Starter
    Rank:
    None
    Points:
    35
    Posts:
    13
    Joined:
    Jun 19, 2010

    Jun 19, 2010
    13
    0
    35
    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 Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,127
    Joined:
    Jan 12, 2010

    Jan 12, 2010
    1,127
    278
    163
    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 Newbie
    Thread Starter
    Rank:
    None
    Points:
    35
    Posts:
    13
    Joined:
    Jun 19, 2010

    Jun 19, 2010
    13
    0
    35
    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 Android Enthusiast
    Rank:
    None
    Points:
    113
    Posts:
    743
    Joined:
    May 13, 2010

    May 13, 2010
    743
    118
    113
    Male
    Group Sales Associate/Front Desk Clerk
    Washington (state)
    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 Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,127
    Joined:
    Jan 12, 2010

    Jan 12, 2010
    1,127
    278
    163
    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 Newbie
    Thread Starter
    Rank:
    None
    Points:
    35
    Posts:
    13
    Joined:
    Jun 19, 2010

    Jun 19, 2010
    13
    0
    35
    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 Android Expert
    Rank:
    None
    Points:
    128
    Posts:
    1,566
    Joined:
    Nov 12, 2009

    Nov 12, 2009
    1,566
    86
    128
    Student/Engineer
    Minnesota
    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 Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,127
    Joined:
    Jan 12, 2010

    Jan 12, 2010
    1,127
    278
    163
    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.
     
Tags:

Share This Page

Loading...