Learn about the technical differences between Gingerbread and ICS [Updated] - Sony Xperia P, U, Sola, Go

Through my experience in this forum i have seen a lot of people getting confused wither to update into ICS or GB. This is a direct copy and paste article from the Official Sony blog where they have actually discussed and really went through some in depth properties of both Firmware. They have also openly discussed about issues such as RAM usage and UI/GPU/CORE VALUES in the topic, which i personally found quite insightful. Hope u read this article and decide for yourself what is best for your beast =)
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.
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.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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!

Related

Benchmarking all current roms [Updated 02/07/09]

So I am new to the PPC world. I just got my Titan a little over a week ago and it's my first one. Since getting it I have flashed it probably 25 times and have completely become obsessed with it. I didn't find any kind of benchmarking on all of the current roms that are out right now, so I decided I would go ahead and do it. There is nothing scientific about this. It's not really fair to compare some of the roms considering one like dcd comes completely stripped down versus Reloaded that has lots of apps, m2d, TouchFLO, etc. For this reason I have a "best" in each category which DCD won almost every time, and then a "best non-dcd". But the data should still help some people decide what rom they might want to use.
I did each one the same way. Flashed the rom, did a hard reset, installed spb benchmark and oxios hibernate if the rom didn’t include it. I then did a soft reset and checked free ram and then ran oxios and logged ram after that. I then ran benchmark and saved the results.
There are only a couple of things worth mentioning and both are about PPCKitchen. I did a basic but not stripped down rom. I included what apps I would typically use. It was a rom very close to Reloaded but with less stuff in it. I know it’s a kitchen so anyone doing this might come up with different results. Secondly is that I was unable to successfully complete the Arkaball test while running the PPCKitchen rom without it freezing, so you will see a 0 as a result in that test.
I performed the following tests in Spb benchmark:
File system tests
Carried out to measure the speed of working with files:
* Read 1 MB file
* Copy 1 MB file
* Read 10KBx100 files
* Copy 10KBx100 files
* Directory list of 2000 files
* Internal database read
Graphics tests
Carried out to measure target Pocket PC's graphics subsystem performance:
* DDB BitBlt
* DIB BitBlt
* GAPI BitBlt
Miscellaneous Tests
* Compress 1 MB file using ZIP
* Decompress 1024x768 JPEG file
* Arkaball frames per second
* CPU test: Whetstones MFLOPS
* CPU test: Whetstones MOPS
* CPU test: Whetstones MWIPS
* Copy 1MB using memcpy
The results were surprising in some ways but obvious in others. In most cases the rom with the most amount of free memory performed the best, but you will see that’s not true in every case. I will start off with free memory for each rom.
Oh and it's important to note that the results are how many ms (milliseconds) it took the test to finish. So a higher bar in the graph is actually worse, except for free memory of course.
This is going to be split across a lot of posts because apparently I can’t link more than 4 images per post.
Edit: Compressed results to fewer graphics, also making it easier to read and compare.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Note: nuerom3-201 in high memory mode actually LOST ram when running Oxios after boot. I tested multiple times. The only theory I have is there is actually so much free memory that you are seeing the memory that Oxios uses. Unfortunately all this free ram was not reflected in the benchmarks as high memory mode actually performed worse than low memory in almost every test.
Note 2: The current results do not show post-Oxios because I am not the only one benchmarking and I don't have Oxios results for all tests.
PPCKitchen Roms Results
As requested, I have tested all 4 current builds that come up in PPCKitchen. I built them all the same way and tested them the same way. I rebuilt and re-tested 20931 despite having tested it right above this one to make sure my results were consistent.
All roms were built using the following options:
sprint carrier, vistahide battery gauge, skip welcome, comm manager 6-button flat, office excel, office powerpoint, office word, adobe reader, total commander file explorer, htc enlarge start menu, htc titan camera, arcsoft mms 5, nueled, nuelight, oxios memory, touchflo 2d dialer, icontact, no sms sent notification, htc touch keyboard, manila 2d, manila 2d customizer, ftouchflo.
These options were chosen for no reason other than it's what I would use to build a rom. Obviously changing these options would result in different benchmarking results, so the results are kind of subjective.
All roms were created in PPCKitchen, flashed, hard reset, install spb benchmark, soft reset, check ram and run oxios, then benchmarked.
Removed unneeded graphics. This post now blank. Saved for future use!
Removed unneeded graphics. This post now blank. Saved for future use!
Removed unneeded graphics. This post now blank. Saved for future use!
Removed unneeded graphics. This post now blank. Saved for future use!
This post saved for future use.
I'll be testing with Spb benchmark as well over the weekend .. will be testing
dcd4.1 / 3.2.6 / R4R / TR1.3.2 and T6.5.. guess I'll post up my results here
as well, also hope they will not be conflicting .. but confirming ..
Thanks and nice job..
Well after a long night / morning of testing .. here are my results ..
Using SPB 1.6 PDA test tool ..
Some Notes:
Because ALL DCD ROMs has an great advantage over other ROMs; being that
All DCD ROMs are bare bone, nothing loaded type of base rom .. I decided
to unselect Touch FLO from the R4R, Titan Reloaded and WM6.5 Roms,
this help to level the play field, however the TouchFLO Roms, still had a few
little apps still running, like battery monitor, active task bar manager,
2d dialers, etc.. all running in the bg..
Test configuration:
* TouchFLO disable or removed..
* Today items are re-enable
* screen capture running (used 195k of ram)
Battery monitor, was running during R4R and TR 1.3.2, also active task bar
manager was running during WM6.5 and TR 1.3.2
All ROMs was tested 3 times each, the best of 3 runs are shown, ALSO
One major thing to note, after loading DCD 4.1.2 and TR 1.3.2 available
RAM memory increased by 350-380 KB (0.35 Mb) because of this DCD 4.1.2
shows even more available than norm ..
Summary;
DCD 4.1.2 had an avg. of 1 Mb Free RAM available over all other ROM,
Keep in mind DCD ROMs has less running processes .. still very impressive
Seeing over 27MB of RAM before I loaded the screen capture software ..
Available RAM = DCD 4.1.2
Best write performance = WM6.5
Best overall write performance = WM6.5
Best read performance = DCD 4.1.2
Best overall read performance = WM6.5
Best read/write (copy) performance = DCD 4.1.2
Best overall read/write (copy) performance = WM6.5
Best CPU performance = WM6.5
Best Overall CPU performance = DCD 4.1.2
Best Graphic performance, DCD 4.1.2, R4R and TR 1.3.2 shown
100% the same performance, WM6.5 and DCD 3.2.6 being slower..
Overall Winner IMO WM6.5 reason being, the additional process running
takes up both memory and CPU, plus the fact its M2D ready!!
Also Note .. R4R and TR 1.3.2 are both base on the DCD 3.2.6 ROM,
DCD 4.1.2 is more on par with WM6.5 ROM.
Final note R4 Reloaded fail the (Arkabal frames per sec. test) feeling is something to
do with direct-draw not working correctly .. so for R4R I had to skip that test..
See attach for my raw test files produce by the SPB testing tool .. anyone good with MS Excel
can make a nice 3D chart of my results .. go for it..
Yea I wanted to get WM 6.5 in the mix but it looks like a CL Kitchen was the only thing available and I haven't had time to sit down and learn how to use it and mess with it.
I was e-mail this link by SPB but it does not work .. can you att. a copy of
the spb soft...
HTML:
http://www.spbsoftwarehouse.com/downloads/benchmark/SpbBenchmark1.6_setup.zip
flipzmode said:
Yea I wanted to get WM 6.5 in the mix but it looks like a CL Kitchen was the only thing available and I haven't had time to sit down and learn how to use it and mess with it.
Click to expand...
Click to collapse
I yeah ya.. I got the pre-release .. still doing more test etc.. beta 4 is still up
but the release will be even better .. your test is very cool tho.. as its all 6.1 base os...
its ok ... found a copy on Rapidshare
http://rs34.rapidshare.com/files/40790431/SpbBenchmark1.6_setup.zip
Sorry that I didn't respond to you sooner. Yea the original email link from spb didn't work for me either. I ended up googling it.
The other thing you will find is that the program has the ability to analyze your benchmarks and compare them to other devices, however none of that actually works anymore. It's all web-based and it appears that they took it down. That's why I did it all manually.
I'm looking forward to your results. I will post my actual numbers soon as opposed to just graphs so we can compare.
Thanks so much for your work. It is very much appreciated.
its all good ..
Check my test
http://forum.xda-developers.com/showpost.php?p=3252419&postcount=11
hey can you make me a chart as well
flipzmode said:
Sorry that I didn't respond to you sooner. Yea the original email link from spb didn't work for me either. I ended up googling it.
The other thing you will find is that the program has the ability to analyze your benchmarks and compare them to other devices, however none of that actually works anymore. It's all web-based and it appears that they took it down. That's why I did it all manually.
I'm looking forward to your results. I will post my actual numbers soon as opposed to just graphs so we can compare.
Click to expand...
Click to collapse
Thank you flipzmode and Mr-free! Way above and beyond.
The new DCD ROM kicks butt, eh? It's odd that 6.5 is worse at graphics right now. Thank you very much for this.
It's obvious that I have a long way to go with my beta ROM, and I'm glad to see that my 1.3.2 is actually outperforming it's predecessors.
Based on the screenshots, it's odd that my 1.3.2's title bar seemed to be different shades of gray between screens, and also it's odd that the icon for the keyboard isn't the one for the new diamond keyboard, did you not install that package? It's a memory hog.

Android Hardware Accelleration explained - by google engineer

Link to Source
......
• Android has always used some hardware accelerated drawing. Since before 1.0 all window compositing to the display has been done with hardware.
• This means that many of the animations you see have always been hardware accelerated: menus being shown, sliding the notification shade, transitions between activities, pop-ups and dialogs showing and hiding, etc.
• Android did historically use software to render the contents of each window. For example in a UI like http://www.simplemobilereview.com/wp-content/uploads/2010/12/2-home-menu.png there are four windows: the status bar, the wallpaper, the launcher on top of the wallpaper, and the menu. If one of the windows updates its contents, such as highlighting a menu item, then (prior to 3.0) software is used to draw the new contents of that window; however none of the other windows are redrawn at all, and the re-composition of the windows is done in hardware. Likewise, any movement of the windows such as the menu going up and down is all hardware rendering.
• "Full" hardware accelerated drawing within a window was added in Android 3.0. The implementation in Android 4.0 is not any more full than in 3.0. Starting with 3.0, if you set the flag in your app saying that hardware accelerated drawing is allowed, then all drawing to the application’s windows will be done with the GPU. The main change in this regard in Android 4.0 is that now apps that are explicitly targeting 4.0 or higher will have acceleration enabled by default rather than having to put android:handwareAccelerated="true" in their manifest. (And the reason this isn’t just turned on for all existing applications is that some types of drawing operations can’t be supported well in hardware and it also impacts the behavior when an application asks to have a part of its UI updated. Forcing hardware accelerated drawing upon existing apps will break a significant number of them, from subtly to significantly.) .....
Click to expand...
Click to collapse
The link above goes covers more bullet points on the issue. If you're interested click it and read
duplicate thread
http://forum.xda-developers.com/showthread.php?t=1377519

Daydream Elements: Free VR Development Guidebook App

Daydream Elements by Google is a new, free app that serves as a guidebook, covering VR development basics. While those familiar with VR development would probably be disinterested in this new app, as it is so basic, it’s a great starting point for those unfamiliar with VR. The app showcases six examples of tips and tricks for VR development, complete with the pros and cons for their use.
According to Upload VR, “three of these [examples] are concerned with locomotion. One details teleportation, another showcases smooth movement with restricted peripheral vision, and another shows third-person gameplay. Interestingly examples of all three of these types of experiences have hit Daydream in the past few months. Teleportation can be seen in the VR port of Layers of Fear, while the excellent Eclipse uses smooth movement. Meanwhile both Lola and the Giant and Along Together both used a third-person camera that followed a main character.”
Google’s developer page outlines the following examples below:
Locomotion: techniques for enabling navigating a VR environment
Three ways to achieve locomotion:
Teleportation is locomotion technique for apps using first-person perspective that allows the user to near-instaneously move to a target location. This technique reduces the simulator sickness that many users feel when the virtual camera moves.
Tunneling is a technique used with first-person locomotion (such as walking
) where, during movement, the camera is cropped and a high-constract stable grid is displayed in the user’s peripheral vision. This is analogous to a user watching first-person locomotion on a television set.
Chase Camera is a technique used with third- person locomotion, where the user is controlling a character. Standard third-person camera implementations are problematic in VR and contribute to simular sickness. Chase Camera offers predictable motion – camera rotation only occurs under user direction, and small character movements don’t move the camera at all.
Menus and Virtual Controls: The Daydream controller only exposes two buttons to developers: the clickable touchpad, and the app button. For many developers, two discrete controls does not provide a rich enough set of commands for the games and applications that they would like to create. One solution is to present the user with virtual controls for the app’s command scheme.
Click Menu provides the user with a radial menu of commands emanating from the cursor when the menu is invoked. Because users must click directly on options, this menu design trades the speed of a more gestural approach with the control of discrete clicks and scales well with complex command hierarchies.
Swipe Menu leverages the Daydream controller touchpad to allow the user to quickly select between a small set of commands. This menu trades efficiency for accuracy and does not scale well to large number of commands.
Rendering and Lighting: Performance is critical to VR apps but can be especially challenging on mobile GPUs. Many commonly available mobile shaders and per-pixel lighting solutions provide high quality results but perform poorly on mobile VR systems due to extremely high resolutions, rendering multiple views, distortion and general mobile performance issues.
The Rendering & Lighting demo uses Daydream Renderer to showcase rendering effects that are typically difficult to achieve on mobile hardware. This scene demonstrates Daydream Renderer features like per-pixel lighting, tangent-space normal maps, dynamic shadows, realtime specular highlights, and reflections.
Daydream Rendering and Lighting Demo included as part of Elements as a demonstration of the Daydream Renderer’s capabilities.
The app also spells out all known issues, which you can find here.
This app is definitely for newcomers to VR, however since many people are not yet familiar with the space, it seems like a user-friendly platform that encourages people to try their hand at developing.
Source: appdevelopermagazine

Development Paranoid Android Topaz Release 1 - ASUS Zenfone 9

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
We are very excited to announce the release of Paranoid Android Topaz, based on Android 13.
On the first launch, you’ll notice a clean setup with beautiful wallpapers from Hampus Olsson, who teamed up with us again to create several beautiful pieces of artwork. Hampus is a multi-disciplinary artist whose design stands for itself and we’re glad to have him onboard. We also added further UI touches that we believe enhance the overall user experience. You can find all of the Paranoid Android wallpapers and many more in the Abstruct app from the PlayStore.
Our builds are based on the Code Linaro Organization Android base, which is optimized for Qualcomm platforms and has a higher degree of performance, battery life, and functionality compared to the Android Open Source Project platform. The Paranoid Android team and contributors are focusing on squashing existing bugs, and implementing and improving features, performance, and stability. We are dedicated to providing a user experience with the stability that you can expect from stock ROMs with best-in-class performance and features to help you get the most out of your device.
Notice
We kindly ask all of you that are in a position to donate anything, to help and support us so we can provide better and faster build releases, as well as increase the download speed of our servers, all looking for your enjoyment.
You can donate on the link below:
Donate
Device-specific issues
* No issues were found upon testing, feel free to report if you encounter any.
Requirements
Make sure you've latest platform tools for Android.
Download
You can always get our builds from our website Paranoid Android website
GCam that I found was great: Link
Note: Custom kernels are NOT supported the kernel says it supports PA and GMS is included!
Changelogs
Keep an eye on our Twitter account, @paranoidaospa, as we will be posting about new features getting included in the release builds, as well as links to betas for those devices that will get them. For more detailed information please have a look at the second post of this thread of each build changelog on the website.
Instructions
Make sure your data is backed up (via Google or other services)
Unlock your bootloader, and in fastbootd mode follow the next command
fastboot -w (Wipes the entire device as well as userdata)
Extract recovery from the downloaded aospa-topaz-alpha-*-image.zip
fastboot flash recovery recovery.img
fastboot reboot fastboot
fastboot update aospa-topaz-alpha-*-image.zip
Reboot and you should set!
Important / Useful links
Paranoid Android Twitter
Paranoid Android Channel (Telegram)
Paranoid Android Download Channel (Telegram)
Paranoid Android Community (Telegram)
Source code
Kernel
Also, thanks to:
@ggpew2
@xboxfanj
Cheers and #StayParanoid!
Reserved
Noiceee
Let the party begin
Ohhh finally!
Though considering I have Japan model, I guess I will lose the access to felica. But I can cope with that I guess. Thanks!
Are special functions like "zentouch" working on this rom?
unable to install this on my Zf9. Bootloader is unlocked. I can get into Fastbootd, but the device itself isnt recognized unless i update the drivers in device manager. I have to update it EVERY time the phone goes into fastbootd. Just backing out and back in again makes it unrecognizable by the PC.
Updating it allows "Fastboot devices" to see it. However typing Fastboot -w just gives me "Erase successful, but not automatically formatting. Cant determine partition type" and then also "FAILED (remote:Invalid partition)" for both userdata and cache. Flashing the recovery after this just gives me:
"Writing "recovery""
"FAILED (remote: no such file or directory)"
What the hell is going on? Tried on 2 different PCs and still the same.
A first right there! The first ever custom ROM running on the 8+ Gen 1!
DankDeuxez said:
What the hell is going on? Tried on 2 different PCs and still the same.
Click to expand...
Click to collapse
Do you use a USB-C to USB-C cable? If yes, try USB-A to USB-C
Anyone tried this? Wondering if Google Wallet works as I had issues with root.
I have it installed, though the ROM seems to have difficulties connecting to Google services. At the moment, I still have no connection.
Really smooth, though! Loving how fluid it all is.
Has anyone tried using a Bluetooth LE Audio device with this ROM? I hear on Reddit that the Zenfone 9 does not support LC3 on its stock ROM, and that concerns me.
If that's the case, does Aptx Adaptive (not to be confused with Aptx or Aptx HD) work on this ROM?
https://www.reddit.com/r/zenfone/comments/10guooa
UPDATE: While I was not able to get the Setup to connect to Google services, I was able to connect to Google services after the fact and download apps. A minor inconvenience for me, but I think it's worth addressing for others.
First big thanks to @Androbots and the whole team
Tested it for a couple of days now, rom really has daily driver potential, when the devs keep working on it.
Pros:
- Super smooth
- feels pretty pixel like
- colors in camera look better (especially night mode feels better to me)
- Bluetooth works with all my devices
- no crashes or other big issues so far
Cons/issues:
- (most annoying) when selecting text, the copy, search,... Menu doesn't always (actually basically never) appear
- after being in landscape (game), after turning screen off/on touch controls seem to be in portrait (90 degree flipped)
- couldn't find double tab 2 wake (maybe I missed it?)
- runs into thermal throttling way earlier then stock, even with performance mode enabled
- sound is a bit worth, but that was to be expected
- no slow motion in camera, no idea about the other modi, I rarely use the cam
timo_capa said:
Do you use a USB-C to USB-C cable? If yes, try USB-A to USB-C
Click to expand...
Click to collapse
My pc nor laptop doesnt have any type C ports. Been using a usb A to C cable. I know it works because ADB finds my phone AND fastboot if i install the fastboot drivers.
Veiranx said:
UPDATE: While I was not able to get the Setup to connect to Google services, I was able to connect to Google services after the fact and download apps. A minor inconvenience for me, but I think it's worth addressing for others.
Click to expand...
Click to collapse
UPDATE2: After having it installed for around five days, the active usage of the phone seems to have improved versus the stock OS (according to Accubattery): Screen on Rate is 9-10% per hour vs >10% per hour on stock. However, during sleep mode there seems to be something draining it; Screen off rate is 1-2% per hour. This is much higher than it is for stock, which is routinely at the 0.6-1% range.
While it may depend on what apps are installed, services active, etc., I'm comparing most of the same apps between stock and Topaz Alpha 1. Topaz, due to having to manually install everything, has fewer apps due to me just not having gotten around to getting them all yet.
1. Always show time and info seems not working
2. No tap2wake
3. Built-in Chrome browser crash (fix after update)
4. Cannot install 32-bit only APPs (I know but still have to use some)
5. Cannot remove Google account after login (shows not allowed by admin)
6. Built-in camera APP too minimal (I know there is no GCam for it yet, so I suggest switching to Asus stock camera APP)
7. The vibrations feel awful, it has a Linear Resonant Actuator, but now feels like a Rotating Mass.
8. Wrong device requirement when flashing (require taro)
9. Flashing fastboot option failed (can't switch to slot B, odm_b partition not exist, etc.)
10. Battery drained 1.3% per hour when screen off (I personally think this is much)
Are there any build instructions?
Darkmasterhk said:
First big thanks to @Androbots and the whole team
Tested it for a couple of days now, rom really has daily driver potential, when the devs keep working on it.
Pros:
- Super smooth
- feels pretty pixel like
- colors in camera look better (especially night mode feels better to me)
- Bluetooth works with all my devices
- no crashes or other big issues so far
Cons/issues:
- (most annoying) when selecting text, the copy, search,... Menu doesn't always (actually basically never) appear
- after being in landscape (game), after turning screen off/on touch controls seem to be in portrait (90 degree flipped)
- couldn't find double tab 2 wake (maybe I missed it?)
- runs into thermal throttling way earlier then stock, even with performance mode enabled
- sound is a bit worth, but that was to be expected
- no slow motion in camera, no idea about the other modi, I rarely use the cam
Click to expand...
Click to collapse
Thank you for the feedback. Coming to your issues:
- Haven't faced this one
- Intended AOSP behavior
- Yet to be implemented
- That's due to the differences between thermal implementations in stock vs. pa
- Speakers same as above ^
- GCam Go is supposed to be minimal, I'll pin the GCam I use in OP
Veiranx said:
UPDATE2: After having it installed for around five days, the active usage of the phone seems to have improved versus the stock OS (according to Accubattery): Screen on Rate is 9-10% per hour vs >10% per hour on stock. However, during sleep mode there seems to be something draining it; Screen off rate is 1-2% per hour. This is much higher than it is for stock, which is routinely at the 0.6-1% range.
While it may depend on what apps are installed, services active, etc., I'm comparing most of the same apps between stock and Topaz Alpha 1. Topaz, due to having to manually install everything, has fewer apps due to me just not having gotten around to getting them all yet.
Click to expand...
Click to collapse
I am still trying to figure out what's causing the idle drain. Better active drain should be expected since the kernel is free of thousands of lines/second worth of debug prints that were enabled for some reason on stock and is also mostly free of debug drivers that tend to regress both performance and battery life.
New update will be seeded once qpr2 (March Feature Drop) is merged into source.
I have a build ready with April patches and lots of updates! Anyone willing to test? I can DM them a build, although more than likely you will have to clean flash it. Thanks!

Themes / Apps / Mods [ROOT] Thermal engine mod ver 1.1

If you are annoyed by your device switching refresh rate to 60FPS or that you are unable to record a video for more than 2 minutes say no more! According to my findings
Sony maxed out all the frequencies without any throttling during camera usage and applied kill switch at 55C.
As for any other use case scenarios, there is an aggressive throttling and forcing screen back to 60FPS, with an exception of using Xperia Stream or Endurance modes. As you may have guessed that these limitation are not to protect the device, but avoid any law suits from people who burned their hands.
Behold!
I present you thermal config mod that will make your device usable and keep your hands warm.
Of course at your own risk, I do not take any responsibility for broken devices, burned hands, radiation sickness or any other catastrophic events.
Description:
During your normal usage (not gaming or camera) the throttling will remain the same, BUT your screen won't switch back to 60FPS.
If you add your game/app to the game enhancer and select "performance profile" it will throttle way less aggressively. Max temperature is changed from 56C to 61C, screen refresh rate will only drop if the display itself will reach 45C.
In "balanced" profile the temperature limit is set to 58C, frequencies are limited to 1574Mhz (Little)+1651Mhz (Big)+2054Mhz(Prime)+545Mhz(GPU).
"Battery mode preferred" is set to 57C with the following limits: 1267Mhz+1325Mhz+1728Mhz+492Mhz.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Camera related profiles are set to 63C.
Video recording profile is set to endurance mode (66C temp limit) with a little bit of throttling to cool device down
During recording device will show warning, but won't disable camera functionality. However if the camera module itself will reach the limit temperature (untouched by me), the recording will stop. Additionally modem might be temporary switched off to cool device down.
Is this safe?
As safe as using endurance mode.
I took thermal profile for Xperia Stream dock thermal limits from endurance mode, so it is relatively safe for the device, but may not be as safe for you, if you have sensitive skin.
I strongly recommend using stick/stand when recording high quality videos for a longer periods of time.
Instructions:
You need root and magisk.
Install this module
GitHub - HuskyDG/magic_overlayfs: Make system partition become read-write (it is also possible without Magisk)
Make system partition become read-write (it is also possible without Magisk) - GitHub - HuskyDG/magic_overlayfs: Make system partition become read-write (it is also possible without Magisk)
github.com
After rebooting go to oem/etc with any root file manager, enable R/W and replace the thermal-engine.conf and change.cfg for newer versions.
Make sure to set the same permissions and backup original files.
In the end you may want to go to /data/adb/modules/magisk_overlayfs and modify mode.sh to lock partition again (mode 2), this is done to avoid some apps detecting traces of modified system with Momo app.
Additionally I recommend undervolting GPU.
Thanks to @ragu24 for pointing at the right direction.
To do so:
Install konabess and select your GPU (should be in the middle).
Backup old image.
Then go to import/export.
Export your config (backup).
Import config txt that I shared.
Save GPU freq table.
And then repack and flash image.
After rebooting check the frequency table if the UV applied correctly.
Have fun!
Changelog
0.1 initial release:
Kill switch disabled
Applied Xperia Stream profile to Game Performance and camera
0.2 version:
Slightly raised screen temperature limit (it was lower in gaming mode)
Modified general camera profile (non stock app?)
0.3 version:
Disabled screen fps drop for other game profiles (unless screen itself is hot)
Returned kill switch (previous version will not stop unless other sensors show high temp)
Raised temperature till 64C for camera and game performance profile
0.4 version:
Less aggressive throttling for best performance (Game performance and camera profiles)
Raised temp to 66C for video recording and game performance profiles (endurance mode)
For other camera related profiles I limited temp to 63C
Switched modem to endurance mode on a game performance profile, however during long video recording modem may be temporary disabled to reduce device temperature
1.0 version:
Introducing modified "battery life preferred" and "balanced" profiles for Game Enhancer (Also thermal limit in custom settings should do the trick)
"Battery life preferred" temp limit: 57C, Max frequencies: 1267Mhz(Little)+1325Mhz (Big)+1728 (Prime)+492Mhz (GPU)
"Balanced" temp limit: 59.5C, Max frequencies: 1574Mhz+1651Mhz+2054Mhz+545Mhz
1.1 version:
Reworked game enhancer profiles to have dynamic frequency adjustment instead of aggressive throttling
Restricted limit for performance profile to 61C
Restricted limit for balanced profile to 58C
Disabled modem endurance mode for performance profile, since device doesn't heat that much anymore (back to stock change.cfg)
Made sure that underclocking kicks in instantly on balanced and battery safe profiles
Minor bug fixes
Also for xperia 1 iii with A13 ?
Pandemic said:
Also for xperia 1 iii with A13 ?
Click to expand...
Click to collapse
You have different frequencies and no Xperia Stream support, but we can use profile for endurance mode.
Share your config I will take a look.
V 0.2 Update
Slightly raised screen temperature limit (it was lower in gaming mode) and modified general camera profile (non stock app?)
0.3 Update
Disabled screen fps drop for other game profiles (unless screen itself is hot)
Returned kill switch (previous version will not stop unless other sensors show high temp)
Raised temperature till 64C for camera and game performance profile (same as endurance mode)
P.S.
Seems like Sony maxed out all the frequencies without any throttling and then just shut it it off after it reaches 55C during video recording. No wonder why it overheats lol
Thank you! just installed v0.3, you actually made me root my phone AGAIN just to enjoy this. wow.
i was wondering if i should keep stock and buy a stick for endurance mode or just root for free, and i chose the free and comfortable option.
ps. i also tried seeing what will happen if i flash different region firmware (54 on 72) - it seemed to work, and i could scan barcodes for e-sim cards, but unfortunately reception wasn't working with the different region firmware. now when i am rooted, i will see if it is possible to flash different MBN files to get VOWIFI working (LET+5G works)
Orof said:
Thank you! just installed v0.3, you actually made me root my phone AGAIN just to enjoy this. wow.
i was wondering if i should keep stock and buy a stick for endurance mode or just root for free, and i chose the free and comfortable option.
ps. i also tried seeing what will happen if i flash different region firmware (54 on 72) - it seemed to work, and i could scan barcodes for e-sim cards, but unfortunately reception wasn't working with the different region firmware. now when i am rooted, i will see if it is possible to flash different MBN files to get VOWIFI working (LET+5G works)
Click to expand...
Click to collapse
Haha, I rooted just to see if it will be possible to implement this mod and pure black background in apps.
Unfortunately you can't just buy any stick and enable endurance mode, device needs to be connected to some external device via usb/hdmi. It almost seems like a way to encourage people to buy compatible accessories.
As for different regions I don't think you can enable e-sim on the device that doesn't has the module. Also if you flash Japanese firmware you will have voice recording for calls, but nfc module will break, because they use different technology.
As for enabling VOWIFI it might be possible. You newer know if the difference is in hardware or just limited by software. For example I converted my XZ premium to dual sim by flashing firmware and replacing sim tray.
You can either experiment with newsflasher or manually.
With overlayFS you can "write" to system partitions(unless it's root folder like system or oem), I think I saw something related to connectivity in /product partition.
Just use unsin tool to unpack part of firmware in open it with 7zip.
In case a failure it's nice to have a bootploop protector module, or you can boot in safe mode to disable magisk and start over. However my mod will need reinstallation too.
Suggestion - a couple of changes to the throttle behavior.
this is how phone throttles after 20 mins of CPU test with a fan on the case. as you can see - no dips, very high performance.
however, this is how the phone behaves when there is no fan attached to the phone (and the phone is without a case):
this suggest that some throttling adjustment is in order, as playing games with this amount of throttle will surely be noticeable.
for reference, this is how the phone throttles on stock profile:
if we can make the temp more consistent and less frame drops - it will be great (not needing to use a fan as well)
EDIT - Throttling behavior from stock is from the original firmware. it should be possible to extract the thermal engine from the initial catches of the Xperia 1 IV and apply them to the current software (currently the phone throttles more than it did in the past, to around 170k points)
app is CPU Throttling Test
@Orof , thank you for your tests! Frame drops are unavoidable, that's the "kill-switch". Without it temperature will keep rising and rising, CPU needs to cool down somehow.
How many threads do you use in CPU Throttling test? I don't think default is enough, as with Burnout Benchmark I was able to trigger modem overheat warning when I disabled kill-switch.
I am working on the new version based on endurance mode with throttling at 57C and kill switch at 66C( max for endurance). It may restrict modem when the temperature will be high enough (Happened during 30 minutes recording [email protected]). Gonna do couple of tests and upload it.
New version is up!
There are two files inside archive now, same logic applies with replacing and setting permissions.
Annnd still hitting the kill switch for some reason (using the new files)
I wonder why. I wish the throttling was more aggressive so that the kill switch wouldn't be met, while still gaining more performance than stock (215,000 according to gsmarena)
*EDIT -changed the threads amount from the default value (20) to 60, still the same.
Orof said:
Annnd still hitting the kill switch for some reason
View attachment 5916741
I wonder why. I wish the throttling was more aggressive so that the kill switch wouldn't be met, while still gaining more performance than stock (215,000 according to gsmarena)
*EDIT -remembered yo change the threads amount.was testing the default value (20). How many did you test?
Click to expand...
Click to collapse
I used 20 threads.
Maybe you have higher ambient temp?
Also it seems that every device is different for some reason. Some people can film for 15 minutes 4k120fps, others see the thermal warning while just taking photos.
Did you try limiting frequencies with FKM?
Doom Slayer said:
I used 20 threads.
Maybe you have higher ambient temp?
Also it seems that every device is different for some reason. Some people can film for 15 minutes 4k120fps, others see the thermal warning while just taking photos.
Did you try limiting frequencies with FKM?
Click to expand...
Click to collapse
I reckon that the higher ambient temp is the issue here, though it doesn't mean that it throttling cannot be initiated sooner or harder to avoid the kill switch, for those who live in a higher temp locations
Will try limiting via FKM. Can already confirm that via the default perf setting (without the mod), score stabilize at around 170-180k with no sudden jumps, so it is something we should be able to do with a bit more tinkering.
Thanks for all the work! I really appreciate it.
Orof said:
I reckon that the higher ambient temp is the issue here, though it doesn't mean that it throttling cannot be initiated sooner or harder to avoid the kill switch, for those who live in a higher temp locations
Will try limiting via FKM. Can already confirm that via the default perf setting (without the mod), score stabilize at around 170-180k with no sudden jumps, so it is something we should be able to do with a bit more tinkering.
Thanks for all the work! I really appreciate it.
Click to expand...
Click to collapse
With aggressive throttling it will be very similar to kill switch. It will lower frequencies until device will slightly cool down and will do it again after it will heat. On stock it just happens very soon a major performance cuts that's why it's stable on the benchmark. Same can be achieved by locking frequencies with FKM for a specific app/game.
Doom Slayer said:
With aggressive throttling it will be very similar to kill switch. It will lower frequencies until device will slightly cool down and will do it again after it will heat. On stock it just happens very soon a major performance cuts that's why it's stable on the benchmark. Same can be achieved by locking frequencies with FKM for a specific app/game.
Click to expand...
Click to collapse
Thanks for the explanation, I understand now why it behaves this way on stock
I wonder if I can fine-tune the frequencies by editing the thermal-engine.conf (and maybe the change file as well) without needing to use FKM. already tried to make some changes to version 0.3 with no meaningful success. will have to dig deeper
Cheers!
Orof said:
Thanks for the explanation, I understand now why it behaves this way on stock
I wonder if I can fine-tune the frequencies by editing the thermal-engine.conf (and maybe the change file as well) without needing to use FKM. already tried to make some changes to version 0.3 with no meaningful success. will have to dig deeper
Cheers!
Click to expand...
Click to collapse
Try the uperf mod in combination with the modified thermal config file!
It's dynamically able to adjust the frequencies on the fly - just like FKM but dynamic! Combined with the higher thermal limits it should allow for a smoother experience
ragu24 said:
Try the uperf mod in combination with the modified thermal config file!
It's dynamically able to adjust the frequencies on the fly - just like FKM but dynamic! Combined with the higher thermal limits it should allow for a smoother experience
Click to expand...
Click to collapse
Thanks for the suggestion, but when trying to install it on the Xperia using Magisk, installation failed because "Taro is not supported". will try different versions of it ans report back
Orof said:
Thanks for the explanation, I understand now why it behaves this way on stock
I wonder if I can fine-tune the frequencies by editing the thermal-engine.conf (and maybe the change file as well) without needing to use FKM. already tried to make some changes to version 0.3 with no meaningful success. will have to dig deeper
Cheers!
Click to expand...
Click to collapse
You can try, just make sure to reuse the frequencies from the config like from game save profile.
Basically we have a choice either to have a higher performance with a little bit of drops or lower performance, but more stable.
On default profiles CPU just cust performance in half when it reaches 53C. Which happens like after 1 minute of CPU Throttling Test.
Anything below that reduction will not prevent CPU from building up the heat, but will slow it down. Without external cooling best you can do is to prolong that performance drop moment or castrate your CPU and "enjoy" stability.
Drops are necessary to keep device from going above maximum temperature (when I completely disabled thermal engine it easily went above 70C) because device sucks at getting rid of heat passively.
Main motivation to create this mod was to prolong video recording time, get rid of annoying screen refresh rate switch, as it causing flickering and squeeze a bit more fps out of emulators with prolonging the moment when the CPU gets castrated.
These synthetic tests do not reflect normal usage. If any game or app behaving like that it means poor optimization with an exception of emulators. It's up to users to configure each game to find a balance between stability and better graphics/more fps.
I'am planning to eventually edit balanced and battery safe profiles inside game enhancer, but don't expect miracles.
Meanwhile if anyone wanna contribute, you may lock frequencies with FKM and run the thermal throttling test on each, to find the one which is more stable, so I can use this data in modified balanced game profile.
Orof said:
Thanks for the suggestion, but when trying to install it on the Xperia using Magisk, installation failed because "Taro is not supported". will try different versions of it ans report back
Click to expand...
Click to collapse
I use this one - one of the latest
New version is up!
Basically it eliminates the need to have FKM, as balanced and battery life profiles in game enhancer will castrate frequencies as soon as possible , which will slow down heating (what the point of having maximum performance for a minute anyways? ) and result more stability.
Frame drops may appear sooner or later, depending on your ambient temperature, if you are using my undervolting profile, phone case (all my tests run in aramid carbon fiber case) and in general it seems that it's random for each device.
Battery safe profile
Balanced profile

Categories

Resources