ICSvsGB-1

Learn about the technical differences between Gingerbread and ICS [Updated]

Ever thought about how Gingerbread (GB) and Ice Cream Sandwich (ICS) platforms differ on a technical level? In this blog post, we’ll describe some of the technical differences between GB and ICS, and what the differences in the user experience might be. This way you can decide if ICS is right for you, or if you prefer to stay on Gingerbread. Maybe you will prefer the new UI in ICS, or do you give a higher priority to the extreme stability of the Gingerbread platform? Read more after the jump!

Now as you might have seen, we’ve continuously kept you updated on our work with the ICS upgrade, and we started by telling you about what we do to get the latest software release from Google working on our Xperia™ smartphones in the article Ice Cream Sandwich – from source code release to software upgrade. Then we released ICS alpha and ICS beta versions of the coming software upgrade.

However, although ICS is new and compelling in many ways, we would like all of our users to make an informed decision when selecting what Android™ software to use. We are actually proud to say that our Gingerbread software is very stable and has great performance, so it’s not a bad idea to stay on this release. Ice Cream Sandwich is more intensive, for example in terms of resource usage. As smartphones become more capable, our own applications, as well as the Google Mobile Services (GMS) applications, are becoming more advanced, which means that they require more CPU power, run more network activities and use more RAM. On the other hand, ICS brings a refined UI and some nice new features as described below.

Comparison of the look and feel in Gingerbread (left) and Ice Cream Sandwich (right).

New features in ICS
From a UI perspective, ICS is based on a new look and feel, the Holo theme. In order to accommodate the new look of Android, we decided to do an extensive touch up of our own assets, since the graphical assets of the Holo theme cannot be changed in any way as stated in the Android Compatibility Definition Document (CDD). New looks have been added in the platform layer as well as in the application layer. All in all, well over a thousand icons have been modified. In addition, we have deployed new wallpapers and application backgrounds, which harmonise more with the flatter graphical structures of ICS.

In ICS, the activity manager has a completely new UI, where all running apps are shown as thumbnails in a list. To close an activity, you can simply swipe it out of the list. ICS also introduces a face recognition app as a way to unlock the phone, called Face Unlock. Face Unlock uses the front-facing camera and advanced object recognition algorithms. It is included in our ICS upgrade for all phones that have a front-facing camera.

The contact list will show more information about the contacts, including updates from social networks. In the calendar, colour coding has been added and it is now possible to zoom. There is also support for a new type of voicemail that is more visual, offering transcriptions of voice messages.

When it comes to ICS, it’s a major upgrade of Android™, and there are a lot of things that have changed compared to the Gingerbread release. Some of these changes affect the performance and stability of the system, for example by using more CPU power and RAM. ICS was developed with Galaxy Nexus in mind, which is based on a TI platform with dual-core processor and 1GB RAM. We are now adapting ICS to run on our 2011 Xperia™ smartphones, which are all built on a Qualcomm platform with single core and 512 MB RAM. This means that in some cases, the resource usage in ICS is heavier on the system compared to Gingerbread. The following sections identify some key areas where there is a  difference between ICS and Gingerbread.

Increased RAM usage
In general, it can be said that the RAM is the working memory in the phone, used by running processes in contrast to the flash memory, which is mainly used to store things. As you might understand, this is a simplified explanation and might not be entirely true in all cases. However, it can serve as a help to understand the difference between the RAM and the flash memory of the phone. To see how much RAM is currently used, go to Applications in the Settings app of your Xperia™ phone.

Now, let’s look at how the RAM is used. Out of our 512MB RAM, about a third is used for functions that require a dedicated memory slot to operate fast enough. For example, this is the case for certain multimedia functions. The remaining space, which is at least 340MB, is reserved for the Linux user space, as required in the Android Compatibility Definition Document (CDD). Within the Linux user space, functions like the activity manager and Home screen app are running.

Another interesting thing is that many apps use slightly more RAM in ICS. For example, the web browser is quite intensive, and our measurements indicate that it uses 20-30MB more in ICS compared to Gingerbread. All in all, there are a lot of changes that together result in greater RAM requirement.

Illustration of the RAM usage.

When running low on RAM, typically with less than approximately 40MB left, the activity manager will start to close processes according to priority. At first, idle background activities are killed. The last thing to be closed down is the foreground activity. We have described this briefly in the table below. For more information, check out Android developers. (Please note that all figures mentioned about RAM usage are approximations and will differ depending on phone model and use case.)

Table showing different types of processes. When running out of RAM, the activity manager starts shutting down processes from the bottom and up, so that the last things to close are foreground and persistent activities.

Processes that are closed will obviously have to be restarted when the user enters the app again, which takes time and slows the system down. For example, when running a heavy game that uses all available RAM, the activity manager will be forced to kill all processes running in the background. This might include vital functions like the dialler and even the Home screen application. When you exit your game, there is a risk that the phone is perceived as slow, since the Home screen app will have to be restarted, just like every other activity you access afterwards.

Slower interaction with the SQL database
Another change in ICS compared to Gingerbread is that Google has moved a lot of the SQL handling from the native to the Java layer. In our internal studies, we have seen that read and write operations to the SQL database takes longer time, which slows down the apps. Many applications perform a lot of SQL operations when started, which greatly impacts the start-up time.

According to good practice, database operations or http requests should not be performed in the main thread. However, we know that there are quite a few applications that perform these kinds of operations directly in the main thread, which might cause them to hold up other operations. Also, when reading feedback on ICS software out on the market now, we’ve seen comments about people having problems with some applications and games.

If an operation takes too long, there is a risk of getting an Application Not Responding (ANR) as a result. An ANR occurs when an application doesn’t answer an intent, or responds to an input event, within a certain time limit. In case of intent, the time out is set to five seconds. For the input event, such as screen touch or button click, it’s ten seconds.

This can result in a user experience that is perceived as slower and less stable, due to longer response times and increased ANRs.

Introducing full hardware acceleration
Yet another change in ICS, is that the graphics hardware acceleration is on by default for all apps from API level 14. For apps at lower API levels, it can be turned on in the manifest with the attribute android:hardwareAccelerated=”true”. Hardware acceleration means that the GPU is used to render graphics, which enables a smooth user interface. However, it also results in at need to load additional graphic libraries for certain apps, which makes them use even more RAM.

When we performed internal tests on our applications, we saw that the Settings app consumed 1-2MB more RAM, and actually took longer time to start with HW acceleration, compared to without. Once the app is running, the UI is HW accelerated, but unless the app performs advanced graphics, the user will not see the difference.

Another effect of the hardware acceleration is that it can make the battery drain faster in some cases. An example of this is video playback, where the hardware acceleration requires every video frame to be run through the GPU, thus making the system use more power than it would have without HW acceleration.

As a developer, you should therefore evaluate if HW acceleration is required or not, as it comes with a cost in terms of RAM usage, start-up time and possibly even battery duration which can have negative effects on the user experience. You can read more about hardware acceleration in Ice Cream Sandwich on the Android Developers blog.

So, what will be your platform of choice? We hope this article clarifies some of the aspects to consider when making the decision. As always, we are eager to hear your opinion, so drop us a comment below and let us know! For more details on timing and practicalities on the ICS upgrade, check out this latest post on the Sony Xperia™ Product Blog.

Updated – comment from the Developer World team:

We we would like to clarify that above mentioned “challenges” have already been addressed by our SW engineering teams. For instance, we have not only optimised the RAM management by making the RAM usage for internal apps as good as possible, but we will also introduce a Performance assistant at start up when running ICS. In this Performance assistant, you can enable and disable certain services that you might not want to run on your phone, in order to optimise the performance of your phone.

We have also worked with quite a few partners in regards to architecture optimisations for SQL handling. In addition, we have also optimised the hardware usage. And as a result of this article, a number of app developers have notified us that they are evaluating if HW optimisation will be needed or not for their apps.

The aim of this article was to share our knowledge regarding the different characteristics for ICS and Gingerbread in an open way, as we strive to have an open communication with the developer community. All in all, we would like to point out that it’s our clear aim to deliver an as good ICS update as ever possible. As you might have seen on the Sony Xperia Product Blog, we’re not far from releasing it now. Thanks for all the feedback!

More information

Comments 467

Sort by: Newest | Oldest | Most popular

  1. Pingback #1

    [...] The latest version of Android 4.0 is a very powerful OS, brimming with new features and functionality, but it also requires more resource from your smartphone and this may impact performance in some user scenarios. To ensure it’s suitable, and performs for your individual needs, our friends at Developer World have taken a closer-look at how Ice Cream Sandwich will change your 2011 Xperia smartphone – check it out here. [...]

  2. By Bin Zhou

    #2

    This post tells us:
    1. Excuses for delay ics update;
    2. Ics runs really bad on 2011 xperia, but works well on other brands phone;
    3. No more further update for 2011 xperia(same excuse: 2011 xperia have no enough memory.);
    4. DO NOT buy 2012 xperia especially U and Sola(same reason: even 2012 xperia have no enought memory).
    5. They will lose more market share and fire more people(wonder why? Our phone have no enough memory!).
    X10 and Arc S owner :P

  3. By Erkan Erkan

    #3

    I just bought an Xperia Kyno V (Neo V) because Sony said that ICS will available soon. Maybe 512MB of RAM is enough if we didn’t have a lot of pre-installed applications running on memory? Presently on GB we have too many pre-installed applications: Video unlimited (4MB), Timescape (2MB)…and we can’t stop it or uninstall it! For the moment I used 201MB of memory and 89MB are free. And what about Cyanogenmod 9? maybe their work on some optimizations of ICS?

    • By Erkan Erkan

      #4

      One more thing: please don’t provide an ICS upgrade if this upgrade are slow, unstable and battery consuming. I bought 270€ – 50€ this Xperia Neo/Kyno V because it’s was more stable that my old Samsung Gio, so I don’t want to change my smartphone again… If stable ICS upgrade is too complicated, also provide an improvement of the GB ROM (for user who want stability) by removing some pre-installed apps for example.

      Thanks Sony for listening Xperia users! :)

      • By Karl-Johan Dahlström

        #5

        Thanks for your comment, see for release details. One part of the post explains how the update will roll out: “we’ll only be making it available for download via PC Companion and Bridge for Mac (i.e. not over the air via 3G or WiFi), and you also won’t receive any update requests or notifications.”

    • By Erkan Erkan

      #6

      And please why did you modify the UI of ICS and spent time for this? (battery bar, icon, …) Personnaly I prefer the original theme of ICS.

      “[...]From a UI perspective, ICS is based on a new look and feel, the Holo theme. In order to accommodate the new look of Android, we decided to do an extensive touch up of our own assets[...]“

    • By Grzwierz Grzwegorz

      #7

      My thoughts exacly. Now, I understand that newer OS will use more resources. Its natural. So if Sony Developers learned that 512MB RAM might be not enough for ICS they should work to make it lighter. Just dont put in cr@pware like facebook, timescape etc. or at least allow users to uninstall it.

      • By Karl-Johan Dahlström

        #8

        See update of post above, we have optimised a lot when it comes to RAM usage. Also added a Performance assistant at start up so users can choose to enable/disable certain services.

  4. Pingback #9

    [...] has posted the technical differences between Gingerbread and ICS. Do have a look here http://developer.sonymobile.com/wp/2012/03/30/learn-about-the-technical-differences-between-gingerbr… Rate this: Like this:LikeBe the first to like this [...]

  5. Pingback #10

    [...] [...]

  6. By Mark hm

    #12

    You are going to release new phones with 512 MB of ram with information “soon update to ICS”, and now inform everybody that update to ICS is not good idea, cause we get less than we loose :/ So why you didnt put 768MB of ram in phones for example like HTC did.

    Nexus S works very well on ICS, and have also 1 core CPU and 512RAM.

    No comment, ICS bad, stay on GB, forever 2.6.32 kernel, is it SONY motto!!

    sad owner of Xperia Neo :(

    • By Роман Волощенко

      #13

      + 1 Sad owner of Xperia Arc S.
      And I think this would be the last: K700 – k800 – P1 – X10 – Arc S. RIP. Maybe I will switch to HTC

  7. By Soham Biswas

    #14

    I was under an impression that ICS brought new features for us along with more stability, fast, less power consuming. Now after reading this articles, I think I shouldn’t have brought Sony phones of 512mb ram. Instead I supposed to buy another phone with 1gb ram and more powerful processor. The main reason I brought this phone was Sony’s earlier blog post where had written about ICS was coming to all 2011 Xperia devices, it’s fast, more features, more stable bla bla bla ! Now what I knew, ICS is slow, unstable etc. I am really disappointed this time. I think same thing gonna happened. After ICS no update will be available for 2011 Xperia mobile devices. Same I already faced with x10 mini pro !

    Nothing I could blame Sony as they have briefed very technical way (I should knew before purchasing the 2011 phones ) but I do not buy any more Sony mobile phones.

  8. By Grant Lee

    #15

    Great! But a few problems expected though. ICS will make apps take up alot more RAM than GB (Gingerbread) does. And with 512 MB (or rather, 380 MB Linus user memory available), less programs will be able to run simultaneously. This beats the purpose of multitasking, a whole new idea in ICS. What is the use of multitasking when you can multitask only a few apps, until your RAM is used up?

    Hopefully Sony Mobile will research into ways into compressing RAM taken up by apps and increase the efficiency of RAM usage of applications. Especially the Xperia Play, with so many games, so much RAM will be taken up! How will 2011 Xperia phones survive with 512 MB RAM?

    Come on Sony, take my suggestion seriously, we Sony (Ericsson) users are worried!

    • By Karl-Johan Dahlström

      #16

      Thanks for all comments, appreciate keeping an open dialogue.
      To iterate the update of the article, we have addressed the challenges mentioned, please see above for details. Also see the for timing of the ICS release.

    • By Роман Волощенко

      #17

      But 2012 models U & P also have 512 RAM onboard!

  9. By Роман Волощенко

    #18

    This is ridiculous! I have no polite words! Insted of getting better RAM usage and increased battery life we have the opposite and hidden propaganda against upgrade! I’ve bought this phone from Sony cause there was a stick “Android 4 Upgradeable” and now the say that it has not enough RAM. Great.

    • By Wayne Riordan

      #19

      There not saying it hasn’t got enough ram their saying that it only has half the ram of the target device Google had in mind when they developed ICS so its not going to be as fast and responsive as gingerbread is on or device or as stable.
      I think you should give us the option to downgrade back to Gingerbread That way we can try it and decide if the new features are worth the performance hit. As everyone will have a different opinion on whether its worth it or not.

      • By Karl-Johan Dahlström

        #20

        Thanks for your comment, please see reply above.

        • By Jozef Es

          #21

          If ICS is not feasible for 2011 Xperia phones and you think that you do have a stable GB, then why not release a GB 2.3.7 update just exactly the same UI, features, and etc (except hardware related features [nfc]) of Xperia S?

          • By ASHUTOSH PATRA

            #22

            after upgrading my XPERIA RAY to ICS,i lost the screen capture option.please fix the bug.andd the notification tray that was shown in the beta verion video..isnt that similar.and that was good.

            Thumb up 1 Thumb down 0
      • By Wellen Lee KL

        #23

        if the update will cause the lag, i will not go to update (unless there got a choise to let user downgradeable the firmware) (i wonder why you can call Xperia Play has a good experience for gaming, Xperia Play is not use for AngryBird only, ok !!)

        i choose to use the Xperia phone because Sony has the unique sense of design which like Apple if compare to others company.
        who knows, Google messup their android, swt…. Update firmware just because the new UI instead of improve the performance? load more RAM & Cpu usage ? oh~ good move, Android.
        you should announce that Xperia 2011 is not going to update to ICS at 1st when you are know ICS need more highest requirement. THIS IS A SUISIDE MOVE !!

        Please Sony, Please !! i’m begging to you !! don’t destroy your own products. I’m looking to Xperia P, but now, swt…..

        (Wish this is an AprilFool Event..)

        • By Festa Walmsley

          #24

          Basically this is the same as the x10 when gingerbread was coming to it
          People like and devs on xda will have this ics so smooth on our 2011 devices
          Sony is supposed to be working with the community like they have been listening about feedback but we use tweaks and things why not listen to us about that and actually try them and do tests u will see it’s the best way to get your phone running super smooth
          Also delete stupid apps like let’s golf and things like that. That way u will have more ram to use on the things that is needed. Hope u listen to this message
          Rant over

          • By Karl-Johan Dahlström

            #25

            Thanks for your comments, just iterating on a comment I replied to earlier, please note the difference of RAM and flash memory, “it can be said that the RAM is the working memory in the phone, used by running processes in contrast to the flash memory, which is mainly used to store things.” Also we do listen to the community, we have released both alpha and beta releases of ICS to get feedback. Lastly see updates of the article and also the for release details of the ICS upgrade.

            Thumb up 1 Thumb down 0
        • By Lily Li

          #26

          I really wish it’s only an April’s Fool….
          Because I own a Ray, and I didn’t even receive my update to 2.3.4…. I didn’t saw my SI number anywhere…
          I should’ve complained way earlier… I didn’t do anything because I was waiting for ICS and thinking that I could just skip an update… Definitely disappointed…

  10. By Joe Naji

    #27

    I am so confused by now since I was waiting eagerly for ics ,,, but I still want to try ics once it come out ,,, THANK YOU Sony I love you so much :)

    • By Karl-Johan Dahlström

      #28

      Thanks, please see for release details.

  11. By Barjesh Jain

    #29

    You mean to say we shouldn’t buy new Xperia series phones (U and Solo)…. As they Have only 512 Ram.. ?

  12. Pingback #30

    [...] technischer Natur das Update auf ICS gegenüber Gingerbread mit sich bringt, hat man in einen eigenen Beitrag im Developer Blog erläutert.Das Update wird lediglich über die Companion Software für Windows oder Bridge für [...]

  13. By Nimish Bhatt

    #31

    You were not forced by anyone to update 2011 Xperia phones to ICS. You should have done your research before announcing the update for 2011 Xperia phones.
    I was waiting for phones with and bought this phone after the ICS update was announced.
    This is a very incompetent and disappointing blog post!!

  14. By Joe Kunnummyalil

    #32

    This happens when you just spit promises out without analysis. First of all, now its delayed.

Show more comments

1-32 of 467 comments. Show all comments