This year, we’ve been on a kick to help teach users how to develop on various platforms. Whether it’s something like compiling ROMs from source or creating icon sets, there are threads scattered across XDA that help teach those who are interested how to do various things. Motorola Droid RAZR users can now learn how to port battery mods and notification toggles to their favorite ROM.
The guide originally started out as a simple battery mod with custom notification toggles. However, XDA Senior Member alteredlikeness, who was also a part of the Atrix 2 ICS leak disaster, eventually added a guide on how to port the battery mod and custom toggles to any ROM. Of course, it can be used for any battery mod and custom notification toggle setup.
It is a very long method and takes quite a bit of time for those not familiar with the tools involved. In short, users will be decompiling the systemui.apk and the services.jar, applying the new battery mod and toggle set, recompiling and applying them to whatever ROM they so desire. Anyone attempting to do this will need APKTool, 7zip, Notepad++, and WinMerge at least.
For more info, go to the original thread.___________________