Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,804,955 Members 52,890 Now Online
XDA Developers Android and Mobile Development Forum

[REQ][DEV]Port Sense 3.5 lockscreen to Sense 2.1/3.0 hybrid ROMs

Tip us?
 
ZeGuitarist
Old
#11  
ZeGuitarist's Avatar
Senior Member - OP
Thanks Meter 336
Posts: 727
Join Date: Apr 2011
Location: Belgium
Quote:
Originally Posted by lenny_kano View Post
Which 2.1+3.0 Rom do you use at the moment? I already have a few 3.5 zips so can get the lockscreen easy enough, just need to know which Rom to use when doing the porting /testing? (and so I can see what you mean about the visual problems.)

Still won't know how big a task it is until I look tomorrow.
I'm on Alex-V 1.8 for cm7r2 now, the link is in my sig. I don't think there's much of a difference with other 2.1/3.0 ROMs (like InsertCoin), if any difference at all - as far as the lockscreen goes, that is. They all use different implementations of a2sd (standard, data++, ad2sdx, even int2sd), which probably needs looking into.

And take your time. It's already immensely appreciated that you're willing to look into it in the first place.

Previous devices (and their somewhat amusing deaths):
- Nokia 3330 deceased: close encounter with a water balloon
- Siemens ST60 deceased: unfortunate shmelting accident (not even joking)
- Nokia 6020 deceased: internal condensation (yes, that also happened)
- Nokia 3110C deceased: broken battery within 3 months
- Nokia 5530 XpressMusic deceased: crazy-ass screen unlock button, possibly possessed by demons
- HTC Desire: deceased: bricked after I got my Nexus 5 (maybe it resented me)
The Following User Says Thank You to ZeGuitarist For This Useful Post: [ Click to Expand ]
 
island3r
Old
#12  
island3r's Avatar
Senior Member
Thanks Meter 165
Posts: 366
Join Date: Mar 2011
This looks like a very interesting project. To be honest though, I don't think a hacked up version of the ring lockscreen will go any faster on sense 2.1 roms.
If you check out any pure Sense 3 port you will see that the lockscreen is way smoother than any 2.1/3.0 hybrid or even a 3.5 rom, even with all the resizing.
In my opinion it all comes down to framework changes between sense versions.

But anyway, I guess a good starting point would be a smali by smali compare between an original sense3 htclockscreen.apk and one from the hybrid roms to roughly see what needs changing. Then you could try to apply the same modifications in the 3.5 lockscreen apk.
HTC Desire PVT4 AMOLED
Google Nexus 5
 
ZeGuitarist
Old
(Last edited by ZeGuitarist; 12th May 2012 at 03:47 PM.)
#13  
ZeGuitarist's Avatar
Senior Member - OP
Thanks Meter 336
Posts: 727
Join Date: Apr 2011
Location: Belgium
Quote:
Originally Posted by island3r View Post
This looks like a very interesting project. To be honest though, I don't think a hacked up version of the ring lockscreen will go any faster on sense 2.1 roms.
If you check out any pure Sense 3 port you will see that the lockscreen is way smoother than any 2.1/3.0 hybrid or even a 3.5 rom, even with all the resizing.
In my opinion it all comes down to framework changes between sense versions.
Possibly, but in any case we'd still lose the graphical imperfections of the old, resized Sense 3.0 lockscreen. In Sense 3.5, the ring is a lot bigger too - it sticks out further from the bottom, making it easier to grab and unlock. Even just graphically, it's better than the current lockscreen.

Also, nobody's ever tried this, so we'd never know if it'll be faster.

Quote:
Originally Posted by island3r View Post
But anyway, I guess a good starting point would be a smali by smali compare between an original sense3 htclockscreen.apk and one from the hybrid roms to roughly see what needs changing. Then you could try to apply the same modifications in the 3.5 lockscreen apk.
I concur. Thanks for your input!

Previous devices (and their somewhat amusing deaths):
- Nokia 3330 deceased: close encounter with a water balloon
- Siemens ST60 deceased: unfortunate shmelting accident (not even joking)
- Nokia 6020 deceased: internal condensation (yes, that also happened)
- Nokia 3110C deceased: broken battery within 3 months
- Nokia 5530 XpressMusic deceased: crazy-ass screen unlock button, possibly possessed by demons
- HTC Desire: deceased: bricked after I got my Nexus 5 (maybe it resented me)
 
lenny_kano
Old
#14  
lenny_kano's Avatar
Senior Member
Thanks Meter 677
Posts: 644
Join Date: Oct 2011
Location: Adelaide

 
DONATE TO ME
Trust me, I know what needs doing

How hard it is to do is the question, porting apks between frameworks is fairly simple unless they are massively different and the apk is hugely dependent on it.

I had miui v4 themes working on evervolv by hand porting the code, and ported apks between frameworks before so have a fair idea what needs doing .
Lennox | Check out my apps in the Play Store
Former MIUI Australia & Xtreamer Mobile Developer
All-around Android nice guy
The Following 2 Users Say Thank You to lenny_kano For This Useful Post: [ Click to Expand ]
 
island3r
Old
#15  
island3r's Avatar
Senior Member
Thanks Meter 165
Posts: 366
Join Date: Mar 2011
This thread will turn out to be highly educational then. Nice
HTC Desire PVT4 AMOLED
Google Nexus 5
The Following User Says Thank You to island3r For This Useful Post: [ Click to Expand ]
 
lenny_kano
Old
#16  
lenny_kano's Avatar
Senior Member
Thanks Meter 677
Posts: 644
Join Date: Oct 2011
Location: Adelaide

 
DONATE TO ME
Just fyi, due to a couple of things taking longer than I thought yesterday, will most likely get around to looking at this on Wednesday. I'll post when I have anything useful.
Lennox | Check out my apps in the Play Store
Former MIUI Australia & Xtreamer Mobile Developer
All-around Android nice guy
The Following User Says Thank You to lenny_kano For This Useful Post: [ Click to Expand ]
 
ZeGuitarist
Old
#17  
ZeGuitarist's Avatar
Senior Member - OP
Thanks Meter 336
Posts: 727
Join Date: Apr 2011
Location: Belgium
Alright. No worries, I've got plenty of revision to kill time until then.

Previous devices (and their somewhat amusing deaths):
- Nokia 3330 deceased: close encounter with a water balloon
- Siemens ST60 deceased: unfortunate shmelting accident (not even joking)
- Nokia 6020 deceased: internal condensation (yes, that also happened)
- Nokia 3110C deceased: broken battery within 3 months
- Nokia 5530 XpressMusic deceased: crazy-ass screen unlock button, possibly possessed by demons
- HTC Desire: deceased: bricked after I got my Nexus 5 (maybe it resented me)
 
Iperzampem0
Old
#18  
Iperzampem0's Avatar
Senior Member
Thanks Meter 403
Posts: 759
Join Date: Aug 2008
Location: Venezia

 
DONATE TO ME
Is there a way to "install" Sense 3.0 lockscreen on Sense 1.9 (stock HTC gingerbread for Desire)? :P
Google Nexus One
HBOOT Blackrose
Radio v5.12.00.08
Recovery: 4EXT Classic v2.2.7 RC5
ROM: HyperSense Nova
SD Card: Samsung 16gb Class 10 SDHC
If you like HyperSense Nova, consider a little donation. Thank you
Donate
 
lenny_kano
Old
#19  
lenny_kano's Avatar
Senior Member
Thanks Meter 677
Posts: 644
Join Date: Oct 2011
Location: Adelaide

 
DONATE TO ME
Quote:
Originally Posted by Iperzampem0 View Post
Is there a way to "install" Sense 3.0 lockscreen on Sense 1.9 (stock HTC gingerbread for Desire)? :P
Not without modifying it, and no, I have no plans to look at anything else sense related, sorry.

Please stay on topic.
Lennox | Check out my apps in the Play Store
Former MIUI Australia & Xtreamer Mobile Developer
All-around Android nice guy
The Following 2 Users Say Thank You to lenny_kano For This Useful Post: [ Click to Expand ]
 
lenny_kano
Old
#20  
lenny_kano's Avatar
Senior Member
Thanks Meter 677
Posts: 644
Join Date: Oct 2011
Location: Adelaide

 
DONATE TO ME
Been trying to get Alex-Vs rom since yesterday, and download is stuck at 98% and has been disconnecting constantly. PITA and I'm tired so hopefully it'll finish tomorrow and I can have a look.
Lennox | Check out my apps in the Play Store
Former MIUI Australia & Xtreamer Mobile Developer
All-around Android nice guy

The Following User Says Thank You to lenny_kano For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes