Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,472 Members 50,245 Now Online
XDA Developers Android and Mobile Development Forum

[APP][SENSE 3.6/4/4A/4.5][2012/9/17 1.42]HTC Lockscreen Shortcut Provider

Tip us?
 
itandy
Old
(Last edited by itandy; 21st September 2012 at 04:04 PM.)
#1  
itandy's Avatar
Senior Member - OP
Thanks Meter 1,050
Posts: 1,696
Join Date: Apr 2010
Location: Hong Kong
Default [APP][SENSE 3.6/4/4A/4.5][2012/9/17 1.42]HTC Lockscreen Shortcut Provider

This is my second Android app. I develop this little app because I prefer 3rd party launcher (e.g. Apex) than existing Sense 4 Rosie. Existing hacked Sense 4 Rosie (full version) currently doesn't support non Sense widget correctly and is less feature-rich than many other launchers.

Even if you install a 3rd party launcher, Rosie still consume your precious memory as a system service. But if you freeze Rosie and thus release it from memory, you'll lose your lockscreen app shortcuts. After painstakingly reviewing the codes in HTC shortcut components, I found that Rosie actually act as a content provider to supply information of its launcher bar shortcuts to lockscreen. So without Rosie, lockscreen has no information to construct its shortcuts. Therefore I wrote this little app to replace the role of Rosie as the content provider. What's more, it allows you to select your own apps with a simple config screen and store the data separately. And it doesn't stay in the memory permanently.

Installation instructions:
  1. Uninstall Rosie (Freezing doesn't work because Android doesn't allow two content providers of same type) ** You're reminded to make a backup first **
  2. Install HTC Lockscreen Shortcut Provider
  3. Run Lockscreen Shortcuts
  4. Select your app for the 4 shortcuts
  5. Hit back to save settings and notify HTC lockscreen

MD5: 30056AA5EF4716ADCD043B2751A3943B

** Currently this app has been tested to work with Sense 3.6, 4, 4A and 4.5 **
Attached Thumbnails
Click image for larger version

Name:	Screenshot_config.jpg
Views:	5269
Size:	20.9 KB
ID:	1307896  
Attached Files
File Type: apk HTCLockscreenShortcutProvider_1.42.apk - [Click for QR Code] (175.9 KB, 921 views)
My phone
Sony Xperia ZR | Rooted Stock ROM 4.4.2 | Stock kernel | Dual CWM/TWRP recovery | Samsung 32GB UHS-I

HTC Incredible S | Blackrose 2.02 HBOOT | 4EXT Touch | CM11 VivoKat | TESCO Kernel 3.0.101 | 3831.18.00.28 radio | SanDisk Ultra UHS-I 32GB

My work
Photo Frame&Grid Widget | Android Phone Vibrator - Xposed | Ringer & Notification Volume Unlink in ICS/JB - Xposed | Notification Direct Launcher - Xposed | Xperia Stamina LED - Xposed | Xperia/AOSP NavBar Buttons - Xposed
The Following 61 Users Say Thank You to itandy For This Useful Post: [ Click to Expand ]
 
itandy
Old
(Last edited by itandy; 21st September 2012 at 04:05 PM.)
#2  
itandy's Avatar
Senior Member - OP
Thanks Meter 1,050
Posts: 1,696
Join Date: Apr 2010
Location: Hong Kong
Change log

1.42
- Send broadcast notification to lockscreen on phone boot (should fix shortcut not showing issue after a reboot for TrickDroid)

1.41
- New option to hide app title

1.4
- Add support for Sense 4.5 (thanks Patrics83 for testing new version and support!). You MUST uninstall any previous version first.

1.3
- Add support for Sense 4A

1.2.1
- Fixed FC when loading installed apps

1.2
- Add support for Sense 3.6

1.1
- Added broadcast message to HTC lockscreen so no reboot is needed!
My phone
Sony Xperia ZR | Rooted Stock ROM 4.4.2 | Stock kernel | Dual CWM/TWRP recovery | Samsung 32GB UHS-I

HTC Incredible S | Blackrose 2.02 HBOOT | 4EXT Touch | CM11 VivoKat | TESCO Kernel 3.0.101 | 3831.18.00.28 radio | SanDisk Ultra UHS-I 32GB

My work
Photo Frame&Grid Widget | Android Phone Vibrator - Xposed | Ringer & Notification Volume Unlink in ICS/JB - Xposed | Notification Direct Launcher - Xposed | Xperia Stamina LED - Xposed | Xperia/AOSP NavBar Buttons - Xposed
The Following 6 Users Say Thank You to itandy For This Useful Post: [ Click to Expand ]
 
sammyke007
Old
(Last edited by sammyke007; 7th September 2012 at 05:49 AM.)
#3  
Senior Member
Thanks Meter 93
Posts: 257
Join Date: Jun 2006
Location: Zwijndrecht

 
DONATE TO ME
This... can't be true! Incredible!
Testing now on Project X 4.1...
Working perfect after renaming rosie.apk in system/app!

Device: HTC Desire S
ROM: Andromadus JB CM10.1
Hboot: 7.00.1002
Recovery: 4EXT Recovery Touch
Radio: 20.76.30.0835U_3831.19.00.110
 
itandy
Old
#4  
itandy's Avatar
Senior Member - OP
Thanks Meter 1,050
Posts: 1,696
Join Date: Apr 2010
Location: Hong Kong
1.1 just posted. No need to reboot now!
My phone
Sony Xperia ZR | Rooted Stock ROM 4.4.2 | Stock kernel | Dual CWM/TWRP recovery | Samsung 32GB UHS-I

HTC Incredible S | Blackrose 2.02 HBOOT | 4EXT Touch | CM11 VivoKat | TESCO Kernel 3.0.101 | 3831.18.00.28 radio | SanDisk Ultra UHS-I 32GB

My work
Photo Frame&Grid Widget | Android Phone Vibrator - Xposed | Ringer & Notification Volume Unlink in ICS/JB - Xposed | Notification Direct Launcher - Xposed | Xperia Stamina LED - Xposed | Xperia/AOSP NavBar Buttons - Xposed
 
amidabuddha
Old
#5  
amidabuddha's Avatar
Senior Member
Thanks Meter 2,384
Posts: 2,403
Join Date: Jun 2011
Quote:
Originally Posted by itandy View Post
1.1 just posted. No need to reboot now!
This is great!
Thanks
Can the same logic be used to enable Rosie widgets support in third-party launchers?
Then it will be perfect

Sent from my HTC Desire S
 
itandy
Old
#6  
itandy's Avatar
Senior Member - OP
Thanks Meter 1,050
Posts: 1,696
Join Date: Apr 2010
Location: Hong Kong
Quote:
Originally Posted by amidabuddha View Post
This is great!
Thanks
Can the same logic be used to enable Rosie widgets support in third-party launchers?
Then it will be perfect

Sent from my HTC Desire S
I wish it does. But no, Sense widget is written with HTC framework which is not supported by 3rd party launcher.
My phone
Sony Xperia ZR | Rooted Stock ROM 4.4.2 | Stock kernel | Dual CWM/TWRP recovery | Samsung 32GB UHS-I

HTC Incredible S | Blackrose 2.02 HBOOT | 4EXT Touch | CM11 VivoKat | TESCO Kernel 3.0.101 | 3831.18.00.28 radio | SanDisk Ultra UHS-I 32GB

My work
Photo Frame&Grid Widget | Android Phone Vibrator - Xposed | Ringer & Notification Volume Unlink in ICS/JB - Xposed | Notification Direct Launcher - Xposed | Xperia Stamina LED - Xposed | Xperia/AOSP NavBar Buttons - Xposed
 
suku_patel_22
Old
#7  
suku_patel_22's Avatar
Senior Member
Thanks Meter 747
Posts: 2,163
Join Date: Jun 2011
Location: Mumbai
What about lock screen widgets, and like people and weather?

Tapatalked from Desire S running Androdamus


HTC One(Stock), Nexus 7(AOSPA/Franco), HTC Desire S(Fallout)
Thanks posts clutter, hit the "Thanks" button instead!
 
itandy
Old
#8  
itandy's Avatar
Senior Member - OP
Thanks Meter 1,050
Posts: 1,696
Join Date: Apr 2010
Location: Hong Kong
Quote:
Originally Posted by suku_patel_22 View Post
What about lock screen widgets, and like people and weather?

Tapatalked from Desire S running Androdamus
I just tried. Actually these widgets work properly on lockscreen even if Rosie is removed. And of course, app shortcuts are also available with my app for all lockscreen styles.
My phone
Sony Xperia ZR | Rooted Stock ROM 4.4.2 | Stock kernel | Dual CWM/TWRP recovery | Samsung 32GB UHS-I

HTC Incredible S | Blackrose 2.02 HBOOT | 4EXT Touch | CM11 VivoKat | TESCO Kernel 3.0.101 | 3831.18.00.28 radio | SanDisk Ultra UHS-I 32GB

My work
Photo Frame&Grid Widget | Android Phone Vibrator - Xposed | Ringer & Notification Volume Unlink in ICS/JB - Xposed | Notification Direct Launcher - Xposed | Xperia Stamina LED - Xposed | Xperia/AOSP NavBar Buttons - Xposed
The Following 2 Users Say Thank You to itandy For This Useful Post: [ Click to Expand ]
 
ben_pyett
Old
#9  
ben_pyett's Avatar
Recognized Contributor
Thanks Meter 1,903
Posts: 4,922
Join Date: Oct 2006
Location: London, Colchester, Wivenhoe
Quote:
Originally Posted by sammyke007 View Post
This... can't be true! Incredible!
Testing now on Project X 4.1...
Working perfect after renaming rosie.apk in system/app!
so did you simply rename rosie.apk?

or rename it (to save a copy for a later re-installation) and then uninstall it?
Nexus 5 : hammerhead
Rom (Kernel): Mahdi-Rom 4.4.4 [v2.7 Test-14/09/2014 (ART)] (Franco [#r63]) root: [superSU v2.02] TWRP
Retired - Nexus 4 (standby phone), HTC Desire S, HTC Touch Diamond 2, HTC Dual Touch, HTC TyTN, Innumerable NOKIAs
 
sammyke007
Old
#10  
Senior Member
Thanks Meter 93
Posts: 257
Join Date: Jun 2006
Location: Zwijndrecht

 
DONATE TO ME
Just renamed it to rosie.back!

Sent from my HTC Desire S using xda app-developers app

Device: HTC Desire S
ROM: Andromadus JB CM10.1
Hboot: 7.00.1002
Recovery: 4EXT Recovery Touch
Radio: 20.76.30.0835U_3831.19.00.110

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes