[DEV] LockScreen in Rosie 2.1 - Hero, G2 Touch Android Development

Hi!
I have tested for a while now some AOSP 2.1 ROM and now i have flashed the new Rosie 2.1 dump by lox/behnaam.
I wonder if we can replace the rosie default lockscreen by the ASOP one ?
Any help will be pleased!
Regards.
T

aosp lockscreen
T0pp3r said:
Hi!
I have tested for a while now some ASOP 2.1 ROM and now i have flashed the new Rosie 2.1 dump by lox/behnaam.
I wonder if we can replace the rosie default lockscreen by the ASOP one ?
Any help will be pleased!
Regards.
T
Click to expand...
Click to collapse
Code:
adb remount
adb shell
cd system/app
rm HtcLockScreen.apk
rm HtcLockScreen.odex
reboot
This will give you the standard 2.1 lockscreen (Backup first, in case you want to go back)
It looks kinda odd, because the sense homescreen doesnt hide when lockscreen is up.

Thinks for the quick answer,
i'm try right now =)
T

Works perfecty !
Now, the 2nd step! Which apk is involved by the default lockscreen?
I wanna to edit it to 'fix' the background screen.
Regards.
T

it isn't a apk, its baked in the system...

All right, but is there any way that the lockscreen wallpaper not transparent?
Thanks

ktmna said:
All right, but is there any way that the lockscreen wallpaper not transparent?
Thanks
Click to expand...
Click to collapse
There's only two possibilities:
1. Change Rosie.apk to hide homescreen while lockscreen is up (unlikely as there are no sources available)
2. Change android framework lockscreen to completely darken background or use a wallpaper. (More likely as we have access to source from AOSP, alot of work though)

Please note that the default lockscreen will cause problems if you use Sense.
Like alarms not turning off because you can't slide it down (which is incorporated into the lockscreen)

Sense isn't really compatible with the Android lockscreen - no alarm turnoff as mentioned (which I found at 5am this morning, as did the rest of the house as I fumbled for the battery!) and the transparency.
Also, on AOSP Eclair the lockpattern replaces the lockscreen. On Sense, or Sense with the Eclair lockscreen, you have to unlock first and then put the pattern in which is a bit clunky

alarm workaround
The alarm thing has been very frustrating, but i finally got something working in my free time, here's what i did:
1) went in root manager and removed HtcClockWidget.apk and ClockWidget.apk
2) installed DeskClock.apk (included below)
3) restarted the phone
There you have it, the stock android clock may not be as cool as the htc one, but it gets the job done and takes care of the "1st-alarm-in-the-morning-waking-up-the-whole-house-because-it-wont-shut-up" thing!

custom lock screens
If you want to try to get the code from AOSP check this one:
hxxp://stackoverflow.com/questions/2140964/android-lock-screen-source-code
A base to start from could be: hxxp://code.google.com/p/mylockforandroid/
(didn't actually tried myLock, and I think its not developed any further)
(Replace hxxp with http)

Pillock said:
Sense isn't really compatible with the Android lockscreen - no alarm turnoff as mentioned (which I found at 5am this morning, as did the rest of the house as I fumbled for the battery!) and the transparency.
Also, on AOSP Eclair the lockpattern replaces the lockscreen. On Sense, or Sense with the Eclair lockscreen, you have to unlock first and then put the pattern in which is a bit clunky
Click to expand...
Click to collapse
when I removed system/app/HtcLockScreen.apk in sanpei's legend_sense_ROM,I didn't get the eclair lockscreen,how can I fix it?

There seems to be a bug in legend based roms causing the default lock screen to display very messed up.
Not sure why, but hopefully now more people are noticing this someone can come up with a fix.

Related

Alarm workaround for those who removed the htc lockscreen!

Ok, so for those of us who hate the the Sense lockscreen and removed that abomination, i came up with a workaround for the alarm. This is my first time attempting to help the community, please be easy on me
So here's the situation, i removed the Sense lockscreen so i could have the vanilla android lockscreen (more useful). Two problems arised:
1. The lockscreen is transparent, and honnestly i don't mind, but i know some of us don't like it
2. The 1st alarm (i.e. when the screen is locked) cannot be dismissed, since it is tied with the Sense lockscreen, so we would have to wait for the reminder with the screen unlocked, or set the alarm one minute ahead so we can dismiss it when it goes off again...
As you can see, that's not a very convenient solution, so i thought of an alternative and it worked it's pretty straight forward as it involves removing the htc clock app and reinstalling the DeskClock.apk.
Here's what i did:
1) went in root manager and removed HtcClockWidget.apk and ClockWidget.apk
2) installed DeskClock.apk (included below)
3) restarted the phone
There you have it, the stock android clock may not be as cool as the htc one, but it gets the job done and takes care of the "1st-alarm-in-the-morning-waking-up-the-whole-house-because-it-wont-shut-up" thing!
Hope it helps!
hey - thanks for that. Same thing happened to me (woke up the whole house!) so this is great.
does the DeskClock take care of the transparent lockscreen as well?
Or just install a 3rd party alarm app from the market
I use "alarming"
Does the aosp Deskclock app have a timer function yet? Because that's yet another issue for me xD
re:
noel_leon said:
Does the aosp Deskclock app have a timer function yet? Because that's yet another issue for me xD
Click to expand...
Click to collapse
Unfortunately no timer. The only thing i miss about the htc alarm is the way you could set the time.
re:
nuumuun said:
does the DeskClock take care of the transparent lockscreen as well?
Click to expand...
Click to collapse
It doesn't take care of the transparency, but i can live with that. I guess we have to wait until some talented dev figures out a way to fix this

Changing lockscreen

I've heard there are other ways to change the lockscreen other than Lockbot and Widgetlocker (both get forced closes & devel's don't have any solutions). I'm running the EC05+ ROM and just want to change from the stock TW lockscreen to the HTC sense lockscreen which I have got the APK from another thread. Any suggestions or is this an impossible task?
I heard there was HTC sense ports being worked on, but none were ever published. The lockscreen information is stored in the androidpolicy.jar, I don't think we have an app (other than maddoggin's) that can change the lockscreen.
Check the Themes and Apps section of the epic forums.
we have all the normal google lockscreens built into the framework, which is how they were enabled by maddogins port.... htc lockscreen would be a major overtaking
even if i have the htc sense lockscreen apk?
radugb said:
even if i have the htc sense lockscreen apk?
Click to expand...
Click to collapse
Yes, the htclockscreen.apk relies on rosie.apk(sense itself) and other various framework files to work. Not just an installable app.
Sent from my perfect epic
OK, well a little disappointing, but otherwise sufficient. Thank you all for answering my question.
No problem. That's what we're here for
Sent from my perfect epic

[REQ] Puzzle Lockscreen for JVP, is it possible?

I havn't found a working puzzle lockscreen for JVP. I recently tried Simply GS 2 ROM which includes a "9 lockscreen mod" but I found it to be a little buggy (sometimes widgets could be seen in the background instead of only the wallpaper).
I like a lot the stock theme, I only looking to be able to add puzzle lockscreen and CRT off animation, could anyone help me on how to do this?
thanks.
Set your Lockscreen Wallpaper again, it should be fixed.
Never crossed my mind doing that, thanks for the tip, will try again
Lurdy said:
Set your Lockscreen Wallpaper again, it should be fixed.
Click to expand...
Click to collapse
Just tried your tip, but same problem is still there, maybe it's because the Tw4 and not the 9 lockscreens?.
Anyone knows how to get the puzzle lockscreen any other way?

[APP][SENSE 3.6/4/4A/4.5][2013/1/1 1.43]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:
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 **
Install HTC Lockscreen Shortcut Provider
Run Lockscreen Shortcuts
Select your app for the 4 shortcuts
Hit back to save settings and notify HTC lockscreen
MD5: 7DE3FFB948E496767E2B1EFDAC26638E
** Currently this app has been tested to work with Sense 3.6, 4, 4A and 4.5 **
Change log
1.43
- Return shortcut title with empty space instead of NULL values if Hide app titles is selected
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!
oh nice app!
Most of us are on 4.1 sense i think .. Does that create a difference ?
rohanjain91 said:
Most of us are on 4.1 sense i think .. Does that create a difference ?
Click to expand...
Click to collapse
I'm not sure. But is Sense 4.1 still using the app shortcuts in Rosie launcher bar for lockscreen shortcut? If yes, then I guess it probably works too.
The easiest way to find out is of course to give it a try.
This is good for desensed roms I'm guessing.
Sent from my Nocturnal'd ONE X
XsMagical said:
This is good for desensed roms I'm guessing.
Sent from my Nocturnal'd ONE X
Click to expand...
Click to collapse
Absolutely, but I need to confirm if it works on your device too.
awesome app..very useful..!
Interesting app. I leave the Rosie launcher running though anyway because it also feeds the lockscreen widgets and message counts... Does this act as a content provider for those things as well, or just the icons?
SolusCado said:
Interesting app. I leave the Rosie launcher running though anyway because it also feeds the lockscreen widgets and message counts... Does this act as a content provider for those things as well, or just the icons?
Click to expand...
Click to collapse
I previously tried using other lockscreen widgets (weather and people) without Rosie and it seems to work fine. So I believe they don't rely on Rosie at all.
But I'm not sure about email or message count.
I'm thinking of the Social Lockscreen in particular. It gets its updates from the social widget in Rosie. And then of course email count comes from the email widgets in Rosie.
SolusCado said:
I'm thinking of the Social Lockscreen in particular. It gets its updates from the social widget in Rosie. And then of course email count comes from the email widgets in Rosie.
Click to expand...
Click to collapse
Actually I still think most if not all lockscreen widgets should work. Even without Rosie, we're practically still using a Sense ROM. Lockscreen shortcuts is a rare exception since HTC decided to reuse the Rosie launcher bar app shortcuts. I remember in earlier Sense, it actually allows you to define them separately.
So why don't you try and let us know?
It works. I am using productivity lock screen and everything is working. Running VenomXL rom.
Sent from my HTC One X using xda premium
Works using TN SE 3.7. with apex launcher. Thank you! I desperately wanted the shortcuts for lockscreen but didn't want to use sense... Now maybe if you could make a calculator widget for apex that would be awesome...
Sent from my HTC One X using xda premium
It stopped working after reboot.
Sent from my HTC One X using xda premium
kleeman7 said:
It stopped working after reboot.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Can you give me a logcat?
It'll be even better if you can give me the xda link of this ROM.
Sent from my HTC Incredible S using Tapatalk 2
This is probably going to be my favorite app as the only reason I leave Rosie installed is for the shortcuts but sadly, this doesn't work on my 2.33 based ROM(Sense 4.1) What exactly do you need to make it work for that ROM? Logcat, Rosie.apk, etc?
Calkulin said:
This is probably going to be my favorite app as the only reason I leave Rosie installed is for the shortcuts but sadly, this doesn't work on my 2.33 based ROM(Sense 4.1) What exactly do you need to make it work for that ROM? Logcat, Rosie.apk, etc?
Click to expand...
Click to collapse
OMG, you guys already have Sense 4.1 ROM! I can take a look at the problem if you can give me:
Rosie.apk
idlescreen_Base.apk
com.htc.resources.apk
BTW, what's the name of that ROM? And can you describe the problem so that I can have a better idea where to look.
I'm running my yet to be released ROM. The problem is that even though it says it notified the lockscreen, no shortcuts ever appear even after rebooting. And please add a apply or done button to the app because the first time I used it, I didn't know that backing out of the app was the way to set the shortcuts
And here are the files you requested
http://www.mediafire.com/?g715n7kwut1rv6z
Today I did some testing on various Sense versions and would like to let you know my findings:
Hybrid 4A (e.g. UKB X on IncS) - OK
Sense 4.1 (e.g. ViperX on One X) - OK
Sense 4A (e.g. UKB V on IncS) - No shortcuts in lockscreen
Sense 3.6 (e.g. ARHD on IncS) - Lockscreen shortcuts appears and update correctly but shortcut app cannot be launched when unlock
At this moment, my first priority is to support Sense 3.6. After that I'll work on 4A.

[Q] Replacing Default Lockscreen Clock Widget (fully replace)

I'm new to 4.3, and I'm using an S3 (Mobilicity). Rooted, stock rom and recovery. I'd like to know if it's possible to replace the clock widget from the lockscreen entirely. I'm caught between the xposed framework and Puzzle and Dragons, the game just won't cooperate with the framework (crashes upon opening). So, I've pretty much given up on trying to get secure widgets and everything since PaD won't run with them, and instead would just like to replace that default clock widget with something like DashClock.
If there is a way to do this, it would be much appreciated if you could share. I've looked all over and couldn't find anything on this.
EDIT: Alternately, if there was a way so that apps couldn't detect the xposed framework, or if there was another way to enable multiple widgets on a secured lockscreen, that would be great as well.
EDIT 2: Is there a way to bring back the 2-layer lock screen from 4.1? I can't fathom why they would completely leave that out, I love the swipe screen, it's got lots of space to show the wallpaper, and can also be used for other things (like the widgets >.>"), while you still have a second lock screen for the pattern lock.

Categories

Resources