UPDATE: Take a look at this Xposed Module by @itandy, it'll give you the same results of this modded APK and it's easier to install (since you need only Xposed Installer). Also, it'll work in any Android version available for Xperia M, while this modded APK will work only in stock 4.2.2 ROM
As you guys may already know, Stamina Mode is a power management state included with many Xperia phones that improves battery life up to 4 times by disabling background apps/processes when the screen is locked and automatically enabling them again when screen is unlocked. However, when Stamina mode is enabled, the LED notifications are completely disabled or replaced with a generic three-time white LED notification, depending of the Android version running in your Xperia.
Third-party apps (like Light Flow) are completely disabled in Stamina Mode, even if you whitelist it. So, based on the info posted by @quisvir I managed to mod SuperStamina.apk from Xperia M dual. The APK used on Android 4.2 based ROMs seems to be different, so, the enableLeds() call isn't present in the decompiled smali. Using the modded version quisvir made for Xperia SP causes boot loops on Xperia M dual (C2004/C2005), so I researched a little and after some tests, I got the changes working...
The only file that was modified in this mod is smali/com/sonymobile/superstamina/xssm/Xssm.smali, where I removed these lines from the method setPowerStateLocked:
Code:
iget-object v0, p0, Lcom/sonymobile/superstamina/xssm/Xssm;->mService:Lcom/sonymobile/superstamina/XperiaPowerService;
invoke-virtual {v0, v13}, Lcom/sonymobile/superstamina/XperiaPowerService;->enableLedsOverride(Z)V
I tested the modded APK in Xperia M dual (C2004/C2005) running 4.2.2 and it works flawlessly, even with third-party apps, but it should work with any Xperia running stock ROM based on Android 4.2. It won't work in Xperia M (C1904/C1905) unless you have crossflashed it with 4.2.2 firmware from Xperia M dual. It'll also won't work in 4.3 firmware. If you have Xperia M running 4.1 and don't want to crossflash, the Xperia SP version from quisvir may work.
To install the mod, you'll need root access and a file manager (like Root Explorer or ES File Manager) to replace the original APK in /system/app. Also, make sure to set permissions to 0644. After that, reboot your phone and your LED notifications should work even with Stamina Mode on.
mbc07 said:
As you guys may already know, Stamina Mode is a power management state included with many Xperia phones that improves battery life up to 4 times by disabling background apps/processes when the screen is locked and automatically enabling them again when screen is unlocked. However, when Stamina mode is enabled, the LED notifications are completely disabled or replaced with a generic three-time white LED notification, depending of the Android version running in your Xperia.
Third-party apps (like Light Flow) are completely disabled in Stamina Mode, even if you whitelist it. So, based on the info posted by quisvir I managed to mod SuperStamina.apk from Xperia M dual. The APK used on Android 4.2 based ROMs seems to be different, so, the enableLeds() call isn't present in the decompiled smali. Using the modded version quisvir made for Xperia SP causes boot loops on Xperia M dual (C2004/C2005), so I researched a little and after some tests, I got the changes working...
The only file that was modified in this mod is smali/com/sonymobile/superstamina/xssm/Xssm.smali, where I removed these lines from the method setPowerStateLocked:
Code:
iget-object v0, p0, Lcom/sonymobile/superstamina/xssm/Xssm;->mService:Lcom/sonymobile/superstamina/XperiaPowerService;
invoke-virtual {v0, v13}, Lcom/sonymobile/superstamina/XperiaPowerService;->enableLedsOverride(Z)V
I tested the modded APK in Xperia M dual (C2004/C2005) and it works flawlessly, even with third-party apps (don't forget to whitelist them), but it should work with any Xperia running stock ROM based on Android 4.2. It won't work on Xperia M (C1904/C1905) unless you have crossflashed it with Xperia M dual firmware. This is because Xperia M runs Android 4.1, while Xperia M dual is on 4.2. If you have Xperia M and don't want to crossflash, the Xperia SP version from quisvir may work.
To install the mod, you'll need root access and a file manager (like Root Explorer or ES File Manager) to replace the original APK in /system/app. Also, make sure to set permissions to 0644. After that, reboot your phone and your LED notifications should work even with Stamina Mode on, but don't forget to whitelist your third-party app.
Click to expand...
Click to collapse
good app thnks
thanks man :laugh::laugh:
...
thanks man :good:
Thanks bro
Sent from my C1904 using XDA Premium 4 mobile app
No need to post guys, just hit the thanks button...
Related
I would like to ask the developers to make our Xperia dark mod system applications and adding the imported interface of the newer Xperia on stock 4.3, because for all Xperia models are and our no, (please, on behalf of others, and its someone has created such a thing.
Black Conversations & Dialpad + Phonebook
Konrad69 said:
I would like to ask the developers to make our Xperia dark mod system applications and adding the imported interface of the newer Xperia on stock 4.3, because for all Xperia models are and our no, (please, on behalf of others, and its someone has created such a thing.
Click to expand...
Click to collapse
This is not my work,but I found those mods somewhere here ,on xda.Just copy them with a root explorer, in write mode, in app folder and set proper permissions .Reboot phone.Cheers !
These fashion do not work on 4.3 are likely to be on 4.1.2 .. I would like someone to do for the Xperia M pack system applications from 4.3 with the black edition like on the Xperia Ltd. or Z, Zl, T, etc, do not know where I could be with the go.
i am using xperia m dual ,i want to add extra toggles i have used several xposed modules but none of them worked in my device and few of them made my phone to cause bootloop pls help me
my device xperia m dual JB(4.3) Rooted and have odex rom
i need toggles like image shown below
Modules won't help you. It would require a different SystemUI to obtain that. In order to have it, head over here. Search for ported SystemUIs from Xperia devices like from Xperia M2.
i have used m2 system UI it was not working in my mobile showing error as "Unfortunately system UI is Stopped" this error is showed continuously as i mentioned above i have an ODEX rom so these ports are not working in my mobile pls give me any other idea
Yes, it will if you're going to delete the SystemUI.odex. Try it.
I use the xperia z2 systemui. It gives me a lot of toggles as you can see below. You can find it in the themes and apps section.
He has XMD. Might be better if he use T2's or M2's.
Hello world..
We all know that our device T2 ultra will not receive Android 6 update, as said by sony.. till today at-least..
& Android 5.x.x on our devices dont support xposed..
As rovo89 stated that these files boot.oat &/or services.odex of our device has some issues with xposed..
That is why xposed bootloops on our device(s) with android 5.x.x, as sony mobile gave us corrupt rom / files maybe.
So, I was thinking if we all T2 Ultra users unite & open topic in sony forum for requesting them to fix boot.oat & services.odex file or corrupt ROM... So, they will notice us & if they fix the problem.. atleast we can have xposed working properly on our T2 ultra with android 5.x.x
what do you guys say? hope i wrote everything properly..
If someone here has old active account in sony forum please start the topic & post link here so we all can join..
sorry for my bad English
So port another rom over this is how we have had to get round the same problem on m2 5.1. Z1 framework has been ported into deodexed a rom we now have Working xposed (not my work)
Check this thread http://forum.xda-developers.com/showthread.php?p=63718822
Don't hold your breath for Sony or anybody else fixing it anytime soon as the apparent problem is unfixable.
Also had anyone noticed how the only devices running screwed up lollipop are the ones that were never meant to get it in the first place is like a hidden f**k you from Sony
D2303 5.1 customised NCB LB t2u nut dual recovery rooted de-bloated bravia engine 2+x-reality
Nice work man. But what about your phone's performance? I don't know how this port acctually work.
Deleted
[email protected] said:
So port another rom over this is how we have had to get round the same problem on m2 5.1. Z1 framework has been ported into deodexed a rom we now have Working xposed (not my work)
Check this thread http://forum.xda-developers.com/showthread.php?p=63718822
Don't hold your breath for Sony or anybody else fixing it anytime soon as the apparent problem is unfixable.
Also had anyone noticed how the only devices running screwed up lollipop are the ones that were never meant to get it in the first place is like a hidden f**k you from Sony
D2303 5.1 customised NCB LB t2u nut dual recovery rooted de-bloated bravia engine 2+x-reality
Click to expand...
Click to collapse
Thnx for this information.. I'll check and try it.. As soon as possible
Hope to see Marshmallow on T2 ultra D5322.. like this atleast
[email protected] said:
So port another rom over this is how we have had to get round the same problem on m2 5.1. Z1 framework has been ported into deodexed a rom we now have Working xposed (not my work)
Check this thread http://forum.xda-developers.com/showthread.php?p=63718822
Don't hold your breath for Sony or anybody else fixing it anytime soon as the apparent problem is unfixable.
Also had anyone noticed how the only devices running screwed up lollipop are the ones that were never meant to get it in the first place is like a hidden f**k you from Sony
D2303 5.1 customised NCB LB t2u nut dual recovery rooted de-bloated bravia engine 2+x-reality
Click to expand...
Click to collapse
I didn't find any rom can be ported to xperia t2 ultra
mahmoudsaad1 said:
I didn't find any rom can be ported to xperia t2 ultra
Click to expand...
Click to collapse
Use any Xperia I think, is not like Z1,Z1c is a close match to the m2 specs wise you only need system app, system priv app and system framework I think.
D2303 5.1 customised NCB LB rooted Nuts t2u dual recovery bravia engine+x-reality debloated
rrd84 said:
Thnx for this information.. I'll check and try it.. As soon as possible
Hope to see Marshmallow on T2 ultra D5322.. like this atleast
Click to expand...
Click to collapse
You need to change some files otherwise it will not work
[email protected] said:
Use any Xperia I think, is not like Z1,Z1c is a close match to the m2 specs wise you only need system app, system priv app and system framework I think.
D2303 5.1 customised NCB LB rooted Nuts t2u dual recovery bravia engine+x-reality debloated
Click to expand...
Click to collapse
Only App,priv-app and framework will not work.
Some changes are required
It would be great if yu help us..
[email protected] said:
Use any Xperia I think, is not like Z1,Z1c is a close match to the m2 specs wise you only need system app, system priv app and system framework I think.
D2303 5.1 customised NCB LB rooted Nuts t2u dual recovery bravia engine+x-reality debloated
Click to expand...
Click to collapse
Gaurav007 said:
You need to change some files otherwise it will not work
Only App,priv-app and framework will not work.
Some changes are required
Click to expand...
Click to collapse
pvnsai73 said:
It would be great if yu help us..
Click to expand...
Click to collapse
thank you for replying
I never tried ROM porting, I have read [STOCK][5.1.1] Xperia M2 Deodex Patch - Ported from Z1 Compact I just want to make sure with you guy's that calling & wifi will work normally? as this is my primary phone, thats why i want to be sure it is working
Also if you guy's know few other better ROM's for D5322, please suggest :good:
thank you
[email protected] said:
Use any Xperia I think, is not like Z1,Z1c is a close match to the m2 specs wise you only need system app, system priv app and system framework I think.
D2303 5.1 customised NCB LB rooted Nuts t2u dual recovery bravia engine+x-reality debloated
Click to expand...
Click to collapse
Gaurav007 said:
You need to change some files otherwise it will not work
Only App,priv-app and framework will not work.
Some changes are required
Click to expand...
Click to collapse
-----------------------
Can somebody give me more details ? I just saw this :
NB : Before you start porting a ROM you need to know several things. Over the phone you want to port the rom will have a hardware close to your, more porting will be simple and functional.
Example : Same screen resolution, processor of the same type (ARM6, ARM7, etc ....)
Click to expand...
Click to collapse
And lets tell Sony how the phone has framedrops on simple animations on LOLLIPOP most especially the drop down notif bar.. While Moto G 2015 doesent have any of those problems. AND THE CAMERA IN LOLLIPOP has blurry results.
Thought you might be interested to know that I've been in touch with Sony support via the Sony support forum about the deodexing tools failing constantly and xposed refusing to work since lollipop on Xperia m2,t2u and poss c3 and they have escalated the problem internally so this may be fixed or at the very least know why it was done
D2303 5.1lollipop customised NCB LB rooted Nuts t2u dual recovery bravia engine 2+x-reality debloated viper audio
great work . unity will change the world . so keep it up we are with you.
xposed framework work on T2 ultra dual LP 5.1.1????
On stock no... In z1 &z2 which is by gaurav
And deceptricon which is from darklord and there is no way till to get it work in stock so don't ask for that
Due to Sony screwing up services.odex file on the t2u,M2 and c3, xposed will not work on stock 5.1 firmware. You have two options the decepticon rom(which uses gauravs z1c port as it's base)though I highly recommend gauravs deodexed z2 final port(use this myself on a M2) if you want to run xposed it's a good base to start with plus you'll gain ultra stamina mode and if your Bootloader is locked you'll also gain bravia engine and x-reality. There is only one minor bug which is a small toast message when turning off Bluetooth, Bluetooth actually works perfectly I use it everyday. You'll find both in the t2u Android development forum on here
Hope this helps.
Well, I recently got an Xperia X and something that annoyed me was that a lot of the exclusive apps and features from Sony which previous Xperia phones had built-in simply got replaced or removed for no reason after the X series, so, with some effort, I managed to get some of them back by extracting the relevant files from previous Xperia devices which still have the apps, and decided to share a flashable ZIP for anyone else which also miss those apps and features...
Overview
This flashable ZIP will:
• Bring back Multi Camera and AR Mask camera add-ons
• Bring back the Screen Recording app (accessible from the power menu)
• Bring back Clear Phase and xLOUD sound enhancements (accessible from audio settings)
• Bring back the Podcast app (accessible from the side menu of Sony Music/Walkman app)
• Replace SwiftKey with Xperia Keyboard (including its online sync and Gmail/SMS learning features)
• Replace Google Calendar with Xperia Calendar (including its "Tasks" feature which used to be a separate app but now are built into the main app)
Requirements
• Some way of flashing ZIP files (TWRP recovery preferably, but app solutions like Flashfire should work too)
• Your phone must be running a stock ROM based on Nougat 7.1 or newer (security patch or whether your ROM is odexed or deodexed doesn't matter)
• This ZIP file was tested only on Xperia X, but theoretically it should work fine on X Compact, X Performance and XZ too as long as they're running a stock ROM based on Nougat 7.1
Instructions
You just need to download and flash the ZIP file available below. After rebooting your phone, you can check the results by yourself.
Download from MEGA (56.5 MB)
MediaFire mirror
is there any posibility to install the apps without root????
kalel29 said:
is there any posibility to install the apps without root????
Click to expand...
Click to collapse
AFAIK, no, except for Xperia Keyboard and Xperia Calendar as they're published on Play Store, but installing them as user apps wouldn't provide full functionality. The other applications normally ships only on stock firmware of the Z series and come odexed, so those apps won't install normally after deodexing, which is a hard requirement to make them work on another phone...
I have not much to say and even just bringing back the screen recording could have made me happy. Yet, you brought all of the excluded features. Thank you.
ICANTSEE said:
I have not much to say and even just bringing back the screen recording could have made me happy. Yet, you brought all of the excluded features. Thank you.
Click to expand...
Click to collapse
Not all of the excluded features, but most of them. I really miss Intelligent Rotation (all phones from Z series except Z5 and its variations have it) and even through we have native split screen, I also miss the Small Apps (especially Active Clipper and the floating calculator). I even tinkered with them for a while, it's definitely possible to bring them back by porting from Z5 or Z3+, for example (which are both on Nougat and still have them) but they would require messing with the framework files and thus, would remain locked to a specific ROM version, so at least for now I gave up, especially since Xperia X receive updated firmwares fairly often...
Does your zip file work on stock 8.0 OS? Do you know why there is no headphone selection feature for all X series. Why did Sony removed them? I found an sony headphone selection apk file and Installed it on my Xperia X stock 8.0 OS but it's not showing up in audio settings.
sandeepxperia said:
Does your zip file work on stock 8.0 OS? Do you know why there is no headphone selection feature for all X series. Why did Sony removed them? I found an sony headphone selection apk file and Installed it on my Xperia X stock 8.0 OS but it's not showing up in audio settings.
Click to expand...
Click to collapse
i instal it on stock O, and working
Does it works in Android P custom ROM?
https://forum.xda-developers.com/xperia-x/development/rom-xperia-x-dualf5122f5121-t3843430
As those are the stock apps, without any modification, pulled straight from the last Nougat firmware for Z5 series, I highly doubt they'll work on anything but stock (or stock based) ROMs. You might find some actual ports of those apps in Sony Cross-Device Themes and Apps subforum, though...