[Galaxy S II Themes and Apps] Troubadour666:
[VRTHEME][JB 4.1.2 LSx] Change updater-script & installtheme.sh [FOR 2dn ROM Only]

VRTHEME FILES for 2ND ROM ONLY

Original user of S2 I9100 JB 4.1.2 ROM on 2ND ROM, i also want to use Themes and Mods for JB 4.1.2 LSx ROM i found on XDA I9100 threads.

Most are based on http://xdaforums.com/showthread.php?t=1207017 .

To flash them on 2nd ROM, again we have to re-script updater-script and installtheme.sh scripts.

REMEMBER, when we use a 4.1.2 JB ROM as second rom, most of the files which are in /preload/symlink/system/app/* are finaly placed in /data/sec_data/*

so we have to use this PATH in updater-script and installtheme.sh .

In most of the themed ZIP original file we find on XDA, some apks system are in /system/app or /preload/symlink/system/app ,

be carrefull of this

,

in VR-Themed ZIP file we want to moddify for 2nd ROM , sometimes, we have to move /preload/symlink/system/app/

xxxxxxxx.apk

in /vrtheme/system/app/

xxxxxxxx.apk

before using it.

so, about using the original VR-Theme or VR-Mod zipped files found on XDA, my different purposes for theming are :

if system files are in /preload/symlink/system/app , they will be themed in /data/sec_data

if system files are in /preload/symlink/system/app , they will be themed in /preload/symlink/system/app (if you use on 1rst ROM)

if system files are in /system/app , they will be themed if they are in /system/app or /data/sec_data/ or /preload/symlink/system/app too

At my sens, the only way to have an error is to put some xxxxxxx.apk folders in /vrtheme/system/app/

which are in fact LNs files in /system/app/ on TEL, (in 2nd ROM, partition /system/ = /preload/ !)

Another way to undertand it, it's that there is no way to destroy symlinked files in /system/app/* (on tel) because no files from /vrtheme/system/app are unknow from you, (the only files we find in are managed by you, by deplacing some themed xxxxxxxx.apk folder from /preload/symplink/system/app, because ROM on TELhave on 2nd ROM too. On another terms too, we can manage apks systems files in /data/sec_data/* instead of /system/app/* (preload/app/*) so only xxxxxxxx.apk directories which are volontary in /vrtheme/system/app/* would be themed in /system/app/ on your 2nd ROM.

for example, flashbarservice.apk can be found sometimes in/system/app and sometimes in /data/sec_data/

Anyway you have to ALWAYS verify the xxxxxxxx.apk directories placement in the Original ZIP Theme or Mod file before flashing it

i think my updater-script and installtheme.sh are also fonctional for apks in /data/app/

Remember that generaly, a file xxxxxxxx.apk is patched on phone only if it exist a ZIP folder named xxxxxxxx.apk in /vrtheme/system/app/, /vrtheme/system/framework/, /vrtheme/preload/symlink/system/app/, /vrtheme/data/app or now /vrtheme/data/sec_data/ , and in the TEL, in /system/app/ , /preload/symlink/system/app/ , /system/framework/ , /data/app/ and /data/sec_data/

Give a try on my sample MIX here : https://mega.co.nz/#F!bhww0QYT!L2cnHS84iZJC7aCvdTmFjg

updater-script and installtheme.sh in attachments are to replace those in your original theme or mod files you find , at the same place which there are , to avoid the desired theme or mod in your 2nd ROM.

(delete ".pdf" at the of name file to use it)

i try to be explicit as i can with my (very limited) bad school english :)

Thanks.

New Update V2 version of this particular updater-script, only for file which are in \vrtheme\data\sec_data\, (and usual \vrtheme\system\app\ and \vrtheme\system\framework\ for sure)

Version before managed \vrtheme\preload\symlink\system\app\ so it was a waste of space in sdcard, i reduce that because THIS IS only for second rom usage, so update if you use.

lines from new updater-script :

package_extract_dir("vrtheme/data/app", "/sdcard/vrtheme/data/app");

package_extract_dir("vrtheme/data/sec_data", "/sdcard/vrtheme/data/sec_data");

package_extract_dir("vrtheme/system/app", "/sdcard/vrtheme/system/app");

package_extract_dir("vrtheme/system/framework", "/sdcard/vrtheme/system/framework");

NO PRELOD here.

Thanks