Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[MOD][4.4][CM11]Sence lockscreen theme

OP DarkStryder

26th January 2014, 10:00 PM   |  #1  
DarkStryder's Avatar
OP Senior Member
Flag Antequera
Thanks Meter: 1,629
 
2,649 posts
Join Date:Joined: Dec 2012
Donate to Me
More
Hi guys I thought I would share this bit of work ive done, hope u like and enjoy it
I took a good while to do this.

Tested on: official Cm11, Sensonic HD Rom......

Screenshots:








Download link: d-h.st/Mv0

Instalation process:

1- Boot cwm
2- wipe /dalvik & /cache
3- flash my .zip
4- boot and enjoy

Dont forget the thanks button!!
Last edited by DarkStryder; 26th January 2014 at 11:32 PM.
The Following 7 Users Say Thank You to DarkStryder For This Useful Post: [ View ]
26th January 2014, 11:01 PM   |  #2  
DarkStryder's Avatar
OP Senior Member
Flag Antequera
Thanks Meter: 1,629
 
2,649 posts
Join Date:Joined: Dec 2012
Donate to Me
More
Reserved!

Sent from my MT11i
9th February 2014, 02:10 AM   |  #3  
fooiskandar's Avatar
Senior Member
Flag Kuningan
Thanks Meter: 77
 
443 posts
Join Date:Joined: May 2013
More
Reserved! ...

Sent from my GT-P3100 using XDA Premium 4 mobile app
16th February 2014, 06:17 PM   |  #4  
Markox89's Avatar
Recognized Contributor
Thanks Meter: 5,061
 
1,870 posts
Join Date:Joined: Feb 2009
Donate to Me
More
@DarkStryder I've struggling for some days, trying to adapt good old vrtheme script to CM 11.
I saw yours and I miss something: I had to rewrite most of the code, and the first thing that gave me error was setting permissions to 755 to the scripts extracted on /sdcard.
How you succeded in that? A specific update-binary, different from CM's? A different recovery?
I worked a lot to make the whole thing work again, so I'm very interested in how you left everything as it used to be and still made it work
19th February 2014, 10:25 PM   |  #5  
Tsjoklat's Avatar
Senior Member
Thanks Meter: 2,240
 
1,632 posts
Join Date:Joined: Apr 2010
Quote:
Originally Posted by Markox89

@DarkStryder I've struggling for some days, trying to adapt good old vrtheme script to CM 11.
I saw yours and I miss something: I had to rewrite most of the code, and the first thing that gave me error was setting permissions to 755 to the scripts extracted on /sdcard.
How you succeded in that? A specific update-binary, different from CM's? A different recovery?
I worked a lot to make the whole thing work again, so I'm very interested in how you left everything as it used to be and still made it work

Take a look at the modifications to the vrtheme script Ive made on the Dark Holo Theme thread here. CM11 now enforces selinux which requires specific "set_metadata" commands in the updater-script. The "set_metadata" command not only sets the file permissions, but it also sets the selinux labels. This new "set_metadata" command replaces the previous "set_perm" command and requires a new version of ClockWorkMod to support it. Make sure you are using CWM 6.0.4.7 or newer to support selinux file permissions.
The Following User Says Thank You to Tsjoklat For This Useful Post: [ View ]
19th February 2014, 10:56 PM   |  #6  
Markox89's Avatar
Recognized Contributor
Thanks Meter: 5,061
 
1,870 posts
Join Date:Joined: Feb 2009
Donate to Me
More
Quote:
Originally Posted by Tsjoklat

Take a look at the modifications to the vrtheme script Ive made on the Dark Holo Theme thread here. CM11 now enforces selinux which requires specific "set_metadata" commands in the updater-script. The "set_metadata" command not only sets the file permissions, but it also sets the selinux labels. This new "set_metadata" command replaces the previous "set_perm" command and requires a new version of ClockWorkMod to support it. Make sure you are using CWM 6.0.4.7 or newer to support selinux file permissions.

Thank you, learning new things is always awesome!
In my ignorance I just rebased the whole script in another partition, where set_perm is still allowed
But, again: good to know!

Sent from my GT-P5110 using Tapatalk
19th February 2014, 11:01 PM   |  #7  
Tsjoklat's Avatar
Senior Member
Thanks Meter: 2,240
 
1,632 posts
Join Date:Joined: Apr 2010
Quote:
Originally Posted by Markox89

Thank you, learning new things is always awesome!
In my ignorance I just rebased the whole script in another partition, where set_perm is still allowed
But, again: good to know!

Sent from my GT-P5110 using Tapatalk

The set_perm command is still allowed with the new versions of CWM. It is for backwards compatibility of the older scripts. Also, sometimes set_perm is still needed when you want to set permissions of a file on a fat32 sdcard that does not support selinux labels. Selinux requires ext3 or ext4 file systems for the labeling, but you have a sdcard that usually formatted as fat32 by default.
The Following User Says Thank You to Tsjoklat For This Useful Post: [ View ]
19th February 2014, 11:06 PM   |  #8  
Markox89's Avatar
Recognized Contributor
Thanks Meter: 5,061
 
1,870 posts
Join Date:Joined: Feb 2009
Donate to Me
More
Quote:
Originally Posted by Tsjoklat

The set_perm command is still allowed with the new versions of CWM. It is for backwards compatibility of the older scripts. Also, sometimes set_perm is still needed when you want to set permissions of a file on a fat32 sdcard that does not support selinux labels. Selinux requires ext3 or ext4 file systems for the labeling, but you have a sdcard that usually formatted as fat32 by default.

Oh, so the file system is the problem! That's why it works everywhere but on sdcards
Thank you very much!

Sent from my GT-P5110 using Tapatalk
22nd February 2014, 03:27 PM   |  #9  
DarkStryder's Avatar
OP Senior Member
Flag Antequera
Thanks Meter: 1,629
 
2,649 posts
Join Date:Joined: Dec 2012
Donate to Me
More


Sent from my MT11i
30th March 2014, 07:07 PM   |  #10  
Junior Member
Flag Jakarta
Thanks Meter: 1
 
13 posts
Join Date:Joined: May 2011
nice mod
thx

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes