Adding blur alarm to Fission ROM

bmb2n

Senior Member
Oct 28, 2007
68
1
0
For those of you that felt in love with the Blur Alarm and looking for a way to add it back. I have figured out the missing files beside the apk that goes in the system\app. This has been tested with sucess for Fission ROM v2.0.1.

Adding Blur alarm
  • system\app\BlurAlarmClock.apk
  • framework\blur-res.apk
  • framework\com.motorola.blur.library.utilities.jar

Hope it help.
 
Last edited:

braway

Retired Recognized Developer
Aug 29, 2010
241
707
0
MN
nice,

I prefer the blur alarm over the normal one.

but here is my problem, the dock is DeskClock.apk, which is also the Clock and the alarms,
when I replace it with the Dock.apk, then the dock won't start up,
did you try to do that?

I'm getting the following exception, and have no clue on how to fix that Oo
Code:
11-04 00:39:22.031  2063  2063 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.motorola.dlauncher/com.motorola.dlauncher.DLauncher}: java.lang.SecurityException: Neither user 10048 nor current process has android.permission.DEVICE_POWER.
 

bmb2n

Senior Member
Oct 28, 2007
68
1
0
nice,

I prefer the blur alarm over the normal one.

but here is my problem, the dock is DeskClock.apk, which is also the Clock and the alarms,
when I replace it with the Dock.apk, then the dock won't start up,
did you try to do that?

I'm getting the following exception, and have no clue on how to fix that Oo
Code:
11-04 00:39:22.031  2063  2063 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.motorola.dlauncher/com.motorola.dlauncher.DLauncher}: java.lang.SecurityException: Neither user 10048 nor current process has android.permission.DEVICE_POWER.
What ROM are you using? I renamed the original DeskClock.apk to DeskClock.bak since I don't have a docking station. May be it has something to do with the dlauncher. I also deleted the original launcher2 and replaced it with launcherpro.apk.
 

braway

Retired Recognized Developer
Aug 29, 2010
241
707
0
MN
Fission 2.0.2

I basically did the same with the DeskClock.apk
but added the Dock.apk from the clean verizon rom (which is basically the "stock" droid2), I guess I'm simply missing something

btw, com.motorola.dlauncher is Dock.apk

I guess something is still missing which would set the missing permission oO
 

braway

Retired Recognized Developer
Aug 29, 2010
241
707
0
MN
got it to work...

if someone cares:

I had to manually modify the /data/system/packages.xml

it should contain something like this:

Code:
<package name="com.motorola.dlauncher" codePath="/system/app/Dock.apk" flags="1" ts="1288859615000" version="8" userId="10057">
<sigs count="1">
<cert index="1" />
</sigs>
</package>
userId and ts are probably different

change the cert index to 0 !

reboot (right after it, for example with adb reboot)
after reboot, check that your change is still in this file (should be)

put your phone into the docking station, and the blur dock should start

yay :)
 
Last edited:

StDevious

Senior Member
Jul 13, 2010
584
35
0
lol, this default blur alarm app is awesome and best I have seen. I was so surprised at what it wanted me to do when I first woke up to it , lol
 

rkrasny

Senior Member
Nov 22, 2007
187
13
0
I am not using fission and I am using Rubix 1.6.

I can only find the bluralarm.apk file and I can't find

framework\blur-res.apk
framework\com.motorola.blur.library.utilities.jar

Do i have to nandroid back to a blurry room to pick these up or are they available somewhere else?

Thanks
 

braway

Retired Recognized Developer
Aug 29, 2010
241
707
0
MN
I am not using fission and I am using Rubix 1.6.

I can only find the bluralarm.apk file and I can't find

framework\blur-res.apk
framework\com.motorola.blur.library.utilities.jar

Do i have to nandroid back to a blurry room to pick these up or are they available somewhere else?

Thanks
get the vzw clean rom (or so) from droid2files.com (http://droid2files.com/roms/VZW_2.4.5_Clean_ROM.zip)
everything should be in it...
 

Bakefield2

New member
Jul 24, 2010
2
0
0
Question?

How do I add this to my phone and make it work? Do I need to use ADB and move it to the phone or what? I really liked the blur alarm a lot and would like to get that back if I can. Thanks for any help in advance.
 

zanix

Senior Member
May 30, 2009
717
169
0
Idaho Falls
clarkjo.com
You just need a method to transfer the files to the phone to the correct spot

ADB or root explorer can move the files
I will show the adb method below, you can substitute the adb shell, mount, cp (copy), chmod (change permissions), and rm (delete) steps with Root Explorer

ADB
Open a command prompt
cd to the directory where you have the files on your computer
Code:
adb push BlurAlarmClock.apk /sdcard/BlurAlarmClock.apk
adb push blur-res.apk /sdcard/BlurAlarmClock.apk
adb push com.motorola.blur.library.utilities.jar /sdcard/com.motorola.blur.library.utilities.jar
Then adb shell to the phone, mount system as r/w, copy the files to the system
Code:
adb shell
su
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/BlurAlarmClock.apk /system/app/BlurAlarmClock.apk
cp /sdcard/blur-res.apk /system/framework/blur-res.apk
cp /sdcard/com.motorola.blur.library.utilities.jar /system/framework/com.motorola.blur.library.utilities.jar
Then set the permissions on these files so they will work
Code:
chmod 644 /system/app/BlurAlarmClock.apk
chmod 644 /system/framework/blur-res.apk
chmod 644 /system/framework/com.motorola.blur.library.utilities.jar
You can then remove the files from the sdcard if you wish
Code:
rm /sdcard/BlurAlarmClock.apk
rm /sdcard/blur-res.apk
rm /sdcard/com.motorola.blur.library.utilities.jar
Now mount the system as read-only again
Code:
sync
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system


As for the Blur dock
Use the same steps above to copy the file and move it to the system
Code:
adb push Dock.apk /sdcard/Dock.apk
adb shell
su
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/Dock.apk /system/app/Dock.apk
chmod 644 /system/app/Dock.apk
sync
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
rm /sdcard/Dock.apk
Next pull the packages.xml file
Code:
adb pull /data/system/packages.xml
Edit packages.xml as shown in the above post

Then push back
Code:
adb push packages.xml /data/system/packages.xml
When you "install" the blur dock, you might want to remove the standard android dock
Code:
adb shell
su
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
mv /system/app/DeskClock.apk /system/app/DeskClock.bak
sync
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
Notice I just used mv (rename/move)
This is just in case I want it back later


You may need to reboot the phone when you are finished for this to work.
I never tried without rebooting so I don't know if they will work otherwise.
 
Last edited:
  • Like
Reactions: kovdev
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone