FORUMS
Remove All Ads from XDA

Ultimate LED FIX for Xperia ICS (4.1.B.0.587):SMS,Missed Call,etc,everything working

66 posts
Thanks Meter: 188
 
By zxp, Member on 4th October 2012, 11:24 AM
Post Reply Email Thread
Ultimate Notification LED fix for Xperia (ICS 4.0.4, 4.1.B.0.587)

Introduction
One of the most annoying bugs in the everyday use of Sony's official ICS firmware version 4.1.B.0.431 (and later, including v4.1.B.0.587) is that the notification LED only works for missed calls, and it doesn't notify anything else anymore.
Ironically, the previous beta firmware ICS 4.0.3 v4.1.A.0.562 showed a specular bug: the notification LED didn't notify missed calls, but it was working for everything else (SMS, Email, ..).


The "Ultimate Notification LED fix"
I've got around fixing this bug by reversing and doing a minor change in a 4.1.B.0.587 framework file (services.[o]dex).

The patched file has the notification LED working for everything as it was in GB firmware: the LED now blinks for missed calls, sms, emails, and any other application showing LED notifications (eg: K9-mail, Whatsapp..).

This patch works on all Xperia devices with 4.1.B.0.587 firmware, and it has been tested initially tested on a Xperia Mini Pro sk17i.


Disclaimer
These files come with no warranty, express or implied.
By downloading and using files linked in this page you express your understanding that you use those files at your sole risk.
No one can be held responsible for any damage directly on indirectly related to files linked in this page.

If you flash something to your phone you must remember that there's always a minimal chance that something goes wrong: you know it, I can't be held responsible if your phone gets wrecked, if your working LED flashes during a work meeting and you get fired, or anything else.


Downloads and Install Instructions
To install this fix you have to be in a stock ICS 4.0.4 firmware v4.1.B.0.587, with root and ClockWorkMod (CWM) recovery installed.
To install the fix simply download the right package for you, and:
  • make sure your phone is charged! It's always safer when you need to flash something.
  • put the downloaded ZIP it in the root of your SD Card
  • reboot into CWM recovery
  • Do a Nandroid backup using CWM ("backup and restore" => "backup"): you shouldn't end in a bootloop if you download and apply the proper file, but it is a good practice to a CWM backup before applying mods and patches, so you can easily restore it and go back if anything goes wrong!
  • did I mention to do a Nandroid backup? :P
  • choose "Install ZIP from sdcard" => "Choose zip from sdcard"
  • browse to the ZIP in your SD Card
  • choose apply and reboot device.
  • enjoy a properly working led
The right package to download for you depends on your current system framework files status.
Use the following list and infos to find the proper download for you:
  • If you have an Xperia device on stock ICS 4.0.4 v4.1.B.0.587, and never applied other LED patches: install Busybox if you don't have it already, and download the following universal patch Ultimate_4.1.B.0.587_Notification_LED_FIX_UNIVERSA L_stock_rom_by_zxp.zip.
    Note: Busybox must be installed on your device before installing this package, or it will not work. The patch scripts expects Busybox to be installed into /system/bin or /system/xbin.
    If you never applied any patch and don't know what to download, this is the file you want!
    Why: it is smaller, and only replaces the services.odex file with the patched one, that's all you need; the services.odex is automagically generated in your device, that's why Busybox is used, and this is what makes this package "universal".


  • If you your device currently has arcatarc's fix applyed: download Ultimate_4.1.B.0.587_Notification_LED_FIX_by_zxp_F OR_arcatarc_fix_users.zip
    Why: if you used on arcatarc fix, this package will restore 4.0.B.0.587 framework files along with the patched services.odex, because arcatarc's fix installed the old 4.1.A.0.562 framework files and this change needs to be reverted.


  • If you are using a stock deodexed ICS 4.0.4 v4.1.B.0.587 firmware: download Ultimate_4.1.B.0.587_Notification_LED_FIX_FOR_DEod exd_roms_by_zxp.zip
    Why: it will replace the services.jar with the patched classes.dex inside.
    This works for all Xperia Devices, including but not limited to the Xperia Mini Pro sk17i/a.


  • If you are using the old firmware v4.1.B.0.431: you are lucky, I originally released the Ultimate LED FIX for firmware 4.1.B.0.431, you can download it from the old version thread.
  • If you are using a newer firmware: you have to wait for Sony to release this firmware for my sk17i, so that I can port the patch over the new version, or wait for someone to port it.


Background info, closing notes and thanks
As already specified this patch is based off stock 4.1.B.0.587 framework: I simply deodexed with baksmali, manually edited one .smali file to change the offending code that prevented the LED to work properly, and packed everything back.
I hope to find time to post very soon a Tutorial on how to apply the fix yourself, for educational purposes and to help less experienced people to port it over newer versions.
Experienced users should be able to compare the stock 587 baksmali-ed services.odex and the patched one to find the small change, and port it over new versions without the need of my forthcoming guide.

If you happen to port this patch to a newer firmware please post a link to your thread, so that I can add it in this post to inform users with such firmware that a patch exists for them.

If you want to inform other users of this patch please link back to this thread and don't simply re-upload/re-post a package. A link to this thread is the only way to be sure that users chose the proper package and can be updated if there is the need for a new/updated patch.


Bugs & Known Issues
This patch is now used by thousand of users without any reported issue or strange behavior.
If you install this patch and you end in a boot loop it means you have applied the wrong package. Please re-read the download info & instructions, and apply the proper zip. Period.

If you find any real problem please post it, and I'll update this section.


Changelog
  • 2012.10.04 (current): applied my fix to the new firmware version 4.1.B.0.587, and released specific packages for this firmware version. The universal package now supports busybox both in xbin and sbin.


Additional Notes for those coming from arcatarc's fix
If you have used arcatarc "partial" fix you may have noticed that it had 2 major user visible problems:
  • the LED notification for missed calls was not working
  • it showed a single white blink when some notifications appeared in the statusbar: eg the Xperia Keyboard "choose input method" notification caused a white LED blink each time it appeared.
This patch doesn't have those problem, everything (seems!) to work as it should!


The Following 89 Users Say Thank You to zxp For This Useful Post: [ View ] Gift zxp Ad-Free
 
 
4th October 2012, 11:46 AM |#2  
was waiting for [.587] Awesum
4th October 2012, 12:02 PM |#3  
happyBOY78's Avatar
Senior Member
Flag Trutnov
Thanks Meter: 124
 
More
Bad thing is, that this led fix works only with stock sms app. I use other sms client, and with this, led don´t blink.
The Following User Says Thank You to happyBOY78 For This Useful Post: [ View ] Gift happyBOY78 Ad-Free
4th October 2012, 12:23 PM |#4  
OP Member
Thanks Meter: 188
 
More
Quote:
Originally Posted by happyBOY78

Bad thing is, that this led fix works only with stock sms app. I use other sms client, and with this, led don´t blink.

Maybe the problem lies in the alternative sms client? This fix is proven to work with email, gmail, sms, whatsapp, missed call... not only stock sms!

PS: at least this was true for .431, I appreciate feedback on the fix on this new .587 firmware because something may have changed.
The Following 2 Users Say Thank You to zxp For This Useful Post: [ View ] Gift zxp Ad-Free
4th October 2012, 12:40 PM |#5  
Allen Hu's Avatar
Senior Member
Thanks Meter: 917
 
Donate to Me
More
Quote:
Originally Posted by zxp

Maybe the problem lies in the alternative sms client? This fix is proven to work with email, gmail, sms, whatsapp, missed call... not only stock sms!

Will this work with XS app port?
If so can I use in my rom?
Developing an ICS rom
The Following User Says Thank You to Allen Hu For This Useful Post: [ View ] Gift Allen Hu Ad-Free
4th October 2012, 12:54 PM |#6  
OP Member
Thanks Meter: 188
 
More
Quote:
Originally Posted by Allen Hu

Will this work with XS app port?
If so can I use in my rom?
Developing an ICS rom

I'm sorry I don't know what is the XS app port are you speaking of.

Generally speaking it will work for you if your custom ROM uses a stock, unmodified, services.jar/[o]dex. Else you'll lose functionality or customizations.
The Following User Says Thank You to zxp For This Useful Post: [ View ] Gift zxp Ad-Free
4th October 2012, 01:03 PM |#7  
Allen Hu's Avatar
Senior Member
Thanks Meter: 917
 
Donate to Me
More
Question
Quote:
Originally Posted by zxp

I'm sorry I don't know what is the XS app port are you speaking of.

Generally speaking it will work for you if your custom ROM uses a stock, unmodified, services.jar/[o]dex. Else you'll lose functionality or customizations.

I mean the apps from Xperia S resized....
And is it ok if I added the v6 supercharger in services.jar ?
The Following User Says Thank You to Allen Hu For This Useful Post: [ View ] Gift Allen Hu Ad-Free
4th October 2012, 01:05 PM |#8  
Senior Member
Thanks Meter: 14
 
More
i have .431 patch on .587 already. which package should i use?
The Following User Says Thank You to spyblaster91 For This Useful Post: [ View ] Gift spyblaster91 Ad-Free
4th October 2012, 02:00 PM |#9  
Senior Member
Thanks Meter: 64
 
More
Quote:
Originally Posted by happyBOY78

Bad thing is, that this led fix works only with stock sms app. I use other sms client, and with this, led don´t blink.

For me it works fine with non-stock sms app (GO SMS pro). Missed calls, etc works too zxp - Thx for the fix!
The Following User Says Thank You to Bolussimo For This Useful Post: [ View ] Gift Bolussimo Ad-Free
4th October 2012, 02:28 PM |#10  
amnher's Avatar
Senior Member
Flag Taguig
Thanks Meter: 553
 
More
tested working on my stock 4.1.B.0.587 ST15i
The Following 2 Users Say Thank You to amnher For This Useful Post: [ View ] Gift amnher Ad-Free
4th October 2012, 03:53 PM |#11  
OP Member
Thanks Meter: 188
 
More
Quote:
Originally Posted by Allen Hu

I mean the apps from Xperia S resized....
And is it ok if I added the v6 supercharger in services.jar ?

Xperia S apps, should work fine just like any other app with this patch I think.
I never used v6 supercharger, but as far as I can understand from a quick look it dynamically patches a given services.jar rather than simply replacing it (which is what my patch does).
So if you have v6 supercharer patch my patched service.jar/[o]dex you should have it both supercharged and with the working LED.

Quote:
Originally Posted by spyblaster91

i have .431 patch on .587 already. which package should i use?

If you applied my .431 patch on .587 you can simply use the same type you already used. Eg: if you used the "universal" one, you can use the "universal" one again, it will override the previous one.
The Following User Says Thank You to zxp For This Useful Post: [ View ] Gift zxp Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes