1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

Themers' NIGHTMARE!

Discussion in 'cvpcs' started by carlz28, Sep 3, 2010.

  1. carlz28
    Offline

    carlz28 Premium Member Theme Developer Premium Member

    Joined:
    Feb 28, 2010
    Messages:
    820
    Likes Received:
    1
    Trophy Points:
    0
    How comes with each release of Sapphire so far, a lot of the Google apps have been renamed?
    I know it's been posted before with other issues. Perfect example is Pure Grid Calendar widget. When I go to set it up, I'm asked which calendar I want to use...I want to use 2.2 Calendar, but it tells me its not installed.
    Why? it's looking for CalendarGoogle.apk....but whats included in the ROM is simply Calendar.apk

    Same thing goes for the music app. It should be GoogleMusic.apk..not Music.apk as included in the ROM!

    This can become a themer's nightmare! Especially when trying to port a theme to different ROMs. You'll be adding apks to the /system folder, when they are already there, but named something different.

    Keyboard? Not only will it add another "Android Keyboard" in settings menu, but it can screw up how any of them work. For instance, suggesting of words has a major conflict.


    This issue was brought up in 1.0 and was supposed to be fixed for 1.1.0
    So uhh.....?


    It's limiting what I can do/create for themes because there's a potential for conflicting apks.

    Any ideas when/if this will be addressed?
  2. bgill55
    Offline

    bgill55 New Member Theme Developer

    Joined:
    Feb 8, 2010
    Messages:
    2,345
    Likes Received:
    8
    Trophy Points:
    0
    +1000000 It makes It so hard!!!


    For me a rule Of thumb always theme the Google aps they load after the Rom update.zip and they tend to be the most recent versions!!!



    But it makes it really frustrating!!
  3. GeLopez
    Offline

    GeLopez New Member

    Joined:
    Nov 29, 2009
    Messages:
    684
    Likes Received:
    8
    Trophy Points:
    0
    Location:
    Dallas TX
    but the question still remains, why is it music and not googlemusic.apk?
  4. DF Smod
    Offline

    DF Smod New Member

    Joined:
    Apr 23, 2010
    Messages:
    11,477
    Likes Received:
    93
    Trophy Points:
    0
    It sounds to me that for whatever reason google apps were left out on the first place is probably the culprit, even after one does install the google apps, the title "Google" is still left out, down to the .apk level

    Even the "gapps" update it isn't called google apps
  5. forkup
    Offline

    forkup New Member

    Joined:
    Oct 31, 2009
    Messages:
    317
    Likes Received:
    0
    Trophy Points:
    0
    Actually if the build process is like for cm the build process names them like that altho it can be changed.
  6. eclsnowman
    Offline

    eclsnowman New Member

    Joined:
    Feb 21, 2010
    Messages:
    226
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Minnesota
    For porting Themes (for personal use, not at your guys level of theming at all), I use Daneshm90's Theme-Porter script, extract the rom I want to theme with a zip client, Move the ROMS apks to be themed into the NEW folder, put the previously themed files into OLD folder, and change the Old apk's names to match the New.

    Aside from the name (basically the wrapper) is there anything else changing. I understand the frustration, but am I missing something... or is it mostly the inconvenience of renaming causing the problem.

    PS love your new take on RedRum, and the LauncherPro bar is killer.
  7. 928Droid
    Offline

    928Droid Premium Member Theme Developer Premium Member

    Joined:
    Nov 24, 2009
    Messages:
    3,753
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Western North Carolina Mountains
    Yes, this has been a major PITA ever since Froyo came out and Google officially changed the names (adding Google to the end of most apps).... But I have learned to adapt and I know now which ones don't name them right and which ones do.

    Now that everyone is on Froyo it would really be wise to get these names correct now and leave the old names in the past.
  8. cvpcs
    Offline

    cvpcs Premium Member Premium Member Developer

    Joined:
    Jun 14, 2010
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    0
    Alright, first of all, there is some argument over which name they "SHOULD" be. Personally, I can tell you that I do not go through my build and rename "GoogleCalendar" to "Calendar" and "GoogleMusic" to "Music" etc, after a compile, just to make it harder on the themers. The fact of the matter is, that AOSP compiles those applications with those names.

    For reasons that are beyond me, the LEAKS included these malformed-named applications, and for some reason, people have taken it upon themselves to declare the information coming from a leak to be more correct than the official Android Open Source Project.

    I know it is annoying but I will not be renaming what I deem to be official titles for the sake of matching the leaks. If these applications were intended to be titled "GoogleMusic.apk" then there would be an git://android.git.kernel.org/platform/packages/apps/GoogleMusic.git repository. Needless to say, there isnt.

    I can understand where it is frustrating and to be honest I wish that the people rolling roms from leaks would try to do a better job of weeding out these duplicates and making them match the official source tree.

    In short, for those applications I will not be renaming them as I feel that since AOSP is the official source tree for android and they name their apps without the "Google" counterpart, that I should be using the names they provide. I have seen no firm evidence stating that these "Google" counterparts are the official names.

    That all being said, BGill did point out that I had originally mentioned that GoogleLatinIme would be renamed to LatinIME in this one, in order to coincide with my philosophy (of pretty much dropping these Google names), and that was my bad. I have recently removed that particular nuisance and it won't be in future releases (I swear).

    Also, in the future I will be pruning my build tree of apps that can be installed from market, such as the new google search, voice search, etc.
  9. nygrik
    Offline

    nygrik New Member

    Joined:
    Aug 24, 2010
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    0
    may seem redundant but i just wanted to say that the titanium method of removing google search and reinstalling fixed my problems...i have not encountered any others as of yet (my gmail was fine) i notived someone said gps wasnt working on ruby ill test on my way to work with sapphire today and see whats up
  10. zerosouls
    Offline

    zerosouls Soulless Droid Premium Member

    Joined:
    May 12, 2010
    Messages:
    1,100
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Menzoberranzan
    ohai nygrik :)

    Edit: Oh by the way, excellent response cvpcs, I always appreciate your no none-sense approach to Android development.
  11. DF Smod
    Offline

    DF Smod New Member

    Joined:
    Apr 23, 2010
    Messages:
    11,477
    Likes Received:
    93
    Trophy Points:
    0
    I agree, and thanks cvpcs for the detailed explanation :)
  12. 928Droid
    Offline

    928Droid Premium Member Theme Developer Premium Member

    Joined:
    Nov 24, 2009
    Messages:
    3,753
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Western North Carolina Mountains
    Very strange that the OFFICIAL OTA updates from Google have the "appxxxGoogle" names. Those aren't considered leaks are they? FWIW, EVERY OFFFICAL Froyo update I have ever seen uses the new "Google" naming. period.

    Just downloaded this FRG22D patch from Google server... attached pic says it all.

    [​IMG]

    Attached Files:

  13. bgill55
    Offline

    bgill55 New Member Theme Developer

    Joined:
    Feb 8, 2010
    Messages:
    2,345
    Likes Received:
    8
    Trophy Points:
    0
    Dave i like your official developer thingy very cool!!!:)
  14. 928Droid
    Offline

    928Droid Premium Member Theme Developer Premium Member

    Joined:
    Nov 24, 2009
    Messages:
    3,753
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Western North Carolina Mountains
    Jim made me the G-pig for those. more are coming... can't wait till he gets the time to change the link on it to go to the right place :)
  15. Phoenixwind
    Offline

    Phoenixwind New Member

    Joined:
    May 29, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    In AOSP it's named as just Calender.apk and such, but when Google/Moto/HTC/whoever decides to go release their OTA, they change it to have Google in the name, nobody has a real answer as to why they do it. Maybe to show that Google made these and wants their name there if anyones looking at it? I'm sure theres some monetary reason for this change, but other than that, if it's in AOSP as Calender.apk, why should he compile it as CalenderGoogle.apk?
  16. jrummy16
    Offline

    jrummy16 Premium Member Theme Developer Premium Member Developer

    Joined:
    Jan 25, 2010
    Messages:
    1,213
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Orange County, CA
    If you are theming a rom you shouldn't be adding apks from a different theme imo (not exactly sure that's what your doing). There are some good theme porter scripts out that get the job done really fast and only port images. xmls should be done anew anyway for each release unless you are positive nothing has been changed.

    It's not too hard to rename a couple apps and then run a theme port. For me the themers biggest nightmare are .9 images and xml's but those aren't too bad either. Just my 2 cents :p
  17. Tanknspank
    Offline

    Tanknspank Beta Team Premium Member

    Joined:
    Jan 13, 2010
    Messages:
    3,506
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    North Carolina
    This.

    Why blow something so simple WAY out of the water?
  18. cvpcs
    Offline

    cvpcs Premium Member Premium Member Developer

    Joined:
    Jun 14, 2010
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    0
    I still need to disagree. First off, the OTAs are downloaded from google, but we need to remember that they themselves are not in fact built by google. They are built by motorola, htc, samsung, etc.

    Most likely, the Music.apk, Calendar.apk, etc, were renamed to their appxxGoogle.apk counterparts by the vendors in order for them to keep track of which apps are from AOSP versus which apps are their custom software (i.e. Blur, Sense, etc). That being said, I still believe that AOSP is the official norm, and that these apps originally started as appxx.apk before the vendors got to them.

    If you want an example, I also have a screenshot from the most recent 3.21.605.1 "official" ota (also downloaded from google's servers) for the HTC Incredible. You can see that the Calendar.apk patch is not named CalendarGoogle.apk.

    [​IMG]

    Long story short, CCRoms is building from AOSP. We will always build from AOSP. I have no intention of ever including Blur or Sense or whathaveyou into any of our ROMs in any way. That being said, I consider AOSP to be more official than anything else as it is source and I consider the source release to take precedence over the binary release. I have no idea why the vendors felt the need to rename these anyway.

    I will always use the naming conventions present in AOSP as they are what Google says the names should be. Considering that Motorola and HTC apparently differ on what they've decided to call these applications, I am considering Google's git repositories to be the true "official", and will be using those naming conventions, as I have in the past.

    I'm sorry if this is frustrating for the themers but it is frustrating for me as well, I have no idea why some vendors (such as motorola) would feel the need to rename those apks.
  19. 928Droid
    Offline

    928Droid Premium Member Theme Developer Premium Member

    Joined:
    Nov 24, 2009
    Messages:
    3,753
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Western North Carolina Mountains
    So that the app names match what Google put on the Phone???

    Uniformity makes a lot of things much simpler and less trouble free.

    Plus, it seems to even confuse the ROM Devs, more often than not I see double apps in the ROMs due to this issue. One recently had 3 Keyboard apps in it, all the same app, just named LatinIME, LatinIme, and LatinImeGoogle.... happens all the time.

    Plus I wish had a dollar for everytime I have seen GoogleQuickSearchBox AND QuickSearchBox in the same ROM..

    Regardless, as was said it is not that big of a deal , but it would be nice if the Developer community would have a unifrom naming, especially for the same phone. It would make a better, simplier experiance for the actual ROM users when they go to update or change something in their ROM to their liking if the naming is uniform.

    Yeah, not a big deal as far as Themers to look at every ROM and see what the naming is (this time, it can change with each new release)...but for the average guy/gal who wants to update to a Multi-Touch keyboard, or new Google Search etc, it can be a nightmare and a lot of hours of frustration...all for nothing but a few name changes on the front end.

    Concerning those "automatic Themers tools", sorry not for me, they are not as perfect as I am, HA ,HA..... plus I have a MUCH better way of doing it..... !!!
  20. wingdo
    Offline

    wingdo New Member

    Joined:
    Feb 17, 2010
    Messages:
    1,035
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Chicago
    Life's no good if you can't blow something way out of proportion.
Similar Threads
  1. supremekizzle
    Replies:
    49
    Views:
    2,986
  2. kjg26
    Replies:
    4
    Views:
    1,666
  3. Bretski169
    Replies:
    2
    Views:
    1,049
  4. grgguy
    Replies:
    8
    Views:
    3,565
  5. MikeDVM
    Replies:
    9
    Views:
    1,721
Loading...