[MOD][4.4][CM11]Sence lockscreen theme - Galaxy Tab 2 Themes and Apps

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:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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!!

Reserved!
Sent from my MT11i

Reserved! ...
Sent from my GT-P3100 using XDA Premium 4 mobile app

@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

Markox89 said:
@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
Click to expand...
Click to collapse
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.

Tsjoklat said:
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.
Click to expand...
Click to collapse
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

Markox89 said:
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
Click to expand...
Click to collapse
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.

Tsjoklat said:
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.
Click to expand...
Click to collapse
Oh, so the file system is the problem! That's why it works everywhere but on sdcards
Thank you very much! :highfive:
Sent from my GT-P5110 using Tapatalk

Sent from my MT11i

nice mod
:good: thx

Working fine in CM10?

Related

[APP][UPDATED 05-07-11 COMMROM1.3] {CleanedUP} Themed Launcher2.apk

UPDATED TO LAUNCHER2.APK FROM COMMROMv1.3.
Named CleanedUP.
It is designed for the Community Rom ONLY!!!! It has not been tested on any other theme. It might work it might not.
Images:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The square bar code I created for this Launcher is scannable with a bar code reader. It will say "App Drawer". Nice little touch I thought
As you can tell its a general launcher nothing overly special. Just CleanedUP nicely and a little fancier than the stock .apk. It doesn't have the page icons on each side of the launcher bar, but all 5 pages remain, just swype either direction and it will change pages. Didn't like the little dots so they came out also.
It's based off the Sexy Rose Mod found in this thread by nitsuj17. Unsure of original creator of the modded Launcher 2.
Credits:
Original creator of the Sexy Rose Mod.
All of the participants and creators of the Community Rom.
Michael Scaramozzino for the creation of the Launcher Icon used.
Various generic websites for the images.
Adobe for creation of Photoshop (which I love to death).
Any others I might have forgotten along the way of creation.
Downloads:
Download @ MediaFire.com
MD5 = 727ade9d7b53d3aeb87707adeecc54ac
Installation instructions:
Download Launcher2.apk to your sdcard. Use Root Explorer to copy file from sdcard to /system/app folder. Overwrite original file. Hit back button twice to return to main directory folder /. Then hit home button. Launcher should reload as the themed launcher. This is the way I have done this. Any other way has not been tested so perform installation in other ways at your own risk. This will take off widgets installed on your pages so you will need to reactivate them to a page.
FINAL DISCLAIMER:
BY ROOTING OR MODIFYING YOUR PHONE IN ANY WAY YOU HAVE ALREADY VOIDED YOUR PHONE'S WARRANTY. I AM NOT RESPONSIBLE FOR ANY DAMAGE, MELTING, EXPLOSION TO YOUR PHONE BY INSTALLING THIS .APK OR ANY OTHER FILE CREATED BY ME OR ANYONE ELSE ON XDA. I AM NOT RESPONSIBLE FOR ANYTHING THAT MIGHT BE CONSIDERED BAD OR UNDESIRABLE TO YOUR PHONE.
INSTALL AT YOUR OWN RISK!!!
Thanks everyone on XDA for the help to understand my Fascinate and dive into modifying it the way I like.
Sincerely,
Updating op!
Great work, I installed without Root Explorer though.
I used Android Terminal Emulator, from the Market, by Jack Palevich. (Free)
Using the terminal emulator, this is how I did it.
su
cp /mnt/sdcard/clockworkmod/Launcher2.apk /system/app/
For those that don't know:
su <-- Gives you superuser rights, root rights.
cp (copy command in linux) source destination
(/mnt/sdcard <-- is your SD card location, I copied the apk into a folder called clockworkmod)
OhioYJ said:
Great work, I installed without Root Explorer though.
I used Android Terminal Emulator, from the Market, by Jack Palevich.
Using the terminal emulator, this is how I did it.
su
cp /mnt/sdcard/clockworkmod/Launcher2.apk /system/app/
For those that don't know:
su <-- Gives you superuser rights, root rights.
cp (copy command in linux) source destination
(/mnt/sdcard <-- is your SD card location, I copied the apk into a folder called clockworkmod)
Click to expand...
Click to collapse
Thanks for the other instructions. I'm going to make a edify flashable version also.
Sent from a KANGBANGED v1.3 fassy!
representingcochran said:
Thanks for the other instructions. I'm going to make a edify flashable version also.
Click to expand...
Click to collapse
I think a lot more people will be using it as soon as there is a flashable version.
OhioYJ said:
I think a lot more people will be using it as soon as there is a flashable version.
Click to expand...
Click to collapse
Edify flashable version will be up tomorrow evening. Going to do some minor tweaks to the hot tray and icons for the new release.
Sent from a KANGBANGED v1.3 fassy!
Installed per your instructions..... works great. I like it much better than the default one with community rom.
Btw, what system font is that you're using, dig that too.
Sent from my SCH-I500 using XDA Premium App
agsded said:
Installed per your instructions..... works great. I like it much better than the default one with community rom.
Btw, what system font is that you're using, dig that too.
Sent from my SCH-I500 using XDA Premium App
Click to expand...
Click to collapse
It is called usenet. I will create a seperate edify for that also.
Sent from a KANGBANGED v1.3 fassy!
Calling it cleaned up implies that the original is in some way dirty or has issues
nitsuj17 said:
Calling it cleaned up implies that the original is in some way dirty or has issues
Click to expand...
Click to collapse
Nothing was wrong with the original it just is very basic and blocky. To me cleanedup is smoothing out the rough edges and making it sexy like the phone. Name change is coming tonight anyways with the edify version upload.
Sorry for any confusion.
Sent from a KANGBANGED v1.3 fassy!

[KERNEL MODULE] XXKPH (2.6.35.7-perf-CL260130) kernel modules

Base on GT-I9000_OpenSource_GB_Update kernel source, I managed to compile some compatible kernel modules for Samsung Galaxy Ace XXKPH (2.6.35.7-perf-CL260130): btrfs.ko, cifs.ko, ext3.ko, ext4.ko, jbd.ko, jbd2.ko, libcrc32c.ko, and tun.ko . I am forced to use the HTC Dream (aka trout) platform, so the compiled modules compatible with armv6 processor (I9000 using armv7). Dirty hack here and there, so I am sure the generated zImage will not work on SGA, but the produced module is fine.
Sorry, my English not good enough
ketut.kumajaya said:
Base on GT-I9000_OpenSource_GB_Update kernel source, I managed to compile some compatible kernel modules for Samsung Galaxy Ace XXKPH (2.6.35.7-perf-CL260130): btrfs.ko, cifs.ko, ext3.ko, ext4.ko, jbd.ko, jbd2.ko, libcrc32c.ko, and tun.ko . I am forced to use the HTC Dream (aka trout) platform, so the compiled modules compatible with armv6 processor (I9000 using armv7). Dirty hack here and there, so I am sure the generated zImage will not work on SGA, but the produced module is fine.
Sorry, my English not good enough
Click to expand...
Click to collapse
So what do you want us to do?
Do you have screen shot on your own?
No screenshots. Examples of the use of cifs.ko, you can find here. Examples of the use of ext4.ko, you can find here.
how to flash it?
No need to flash, just copy files into /lib/modules (ex. using Root Explorer with root privs). Or could someone prepare update.zip for recovery?
I wonder if ext4 module works
i tried pushing this into
/lib/modules
is this what you mean?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
is this the new kernel?
it is an SGS based KERNEL..
so we can use it and do overclock
With this kernel can i do overclock ???
still cant overclock.
this kernel does not do it.
Its only modules guys. You cant do overclocking etc. Because its not kernel its only a part of kernel.
Sent from my GT-S5830 using Tapatalk
To access your Windows/Linux Samba share:
1. Copy cifs.ko module to SGA microSD.
2. Using "adb shell", Terminal Emulator, or ConnectBot:
Code:
su
mount -o remount,rw /dev/stl12 /system
busybox cp /sdcard/cifs.ko /system/lib/modules/
mount -o remount,ro /dev/stl12 /system
exit
exit
3. Install CifsManager from Market.
4. In CifsManager's Settings page tick "Load cifs module" and "Load via insmod", CifsManager autodetect cifs.ko location.
5. Open About page, click Modules button. You will see cifs module listed if loaded successfully by insmod.
6. Add your network share in Add New Share page. Using cifs.ko and CifsManager, I can access my Windows share drive over Wi-Fi.
My ext3, ext4, and btrfs modules could be useful for firmware modder and advanced user. CODEROM is the first ROM using my ext4 module. Dark Tremor a2sd not a perfect script without journaling filesystem support
You need tun.ko module if you need vpn access. Don't ask me about vpn since I'm not expert about it.
Sent from my GT-S5830 using XDA App
yeap... it's working on my Ace with KPH not modifying fw. Thx. How to use other modules?
so what improvements have this part of the kernel?
vlc_marcos said:
so what improvements have this part of the kernel?
Click to expand...
Click to collapse
Some parts of kernel not compiled-in by Samsung, so compile the missing part as module is the solution. The improvements is now you can access Windows/Samba share, access ext4 partition, and vpn access.
Phuih, 158 downloads but I have 3 thanks only? Maybe I have to delete this unuseful post
that's not a useless post at all !!!!!! You guys, posting those things on this forum, are making the Ace a wonderfull phone! Thanks a lot... Take my thanks like 10000
@mr. ketut I already gave you cendol...
I think it would be nice if you collaborate with mr. code to equally develop a very powerful ROM for ace
btw I saw you post something on another forum but I have not seen it here?it's same or different?
nice work ...thanks a lot. I am sure more kernel modules can be compiled. Is it possible to compile overclock.ko for galaxy ace ?
ketut.kumajaya said:
Some parts of kernel not compiled-in by Samsung, so compile the missing part as module is the solution. The improvements is now you can access Windows/Samba share, access ext4 partition, and vpn access.
Phuih, 158 downloads but I have 3 thanks only? Maybe I have to delete this unuseful post
Click to expand...
Click to collapse
No way this is a useless thread.....
Sent from my GT-S5830 using XDA App

[RECOVERY] AmonRA 2.2.1 for GT540 version 2- .asec, USB-MS AND NANDROID BACKUP FIXED!

This is Amon RA recovery 2.2.1 for GT540. This version also accepts edify and non-signed update.zip files.
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How to 'get around':
Menu (Touch button) Select
Back (Touch button) Go back
Volume up/down- Menu up/down
Known Issues:
.android_secure will backup, but not restore.
I also think there is a sd-ext backup issue too. Cannot test this myself as I have no ext partition.
Click to expand...
Click to collapse
Download ver. 2-asecfix:
http://adf.ly/2MX0q
^PLEASE DO NOT CREATE MIRRORS! Thanks
Changelog:
ver. 2-asecfix
Possible .android_secure backup fix (which didn't work)
ver. 2:
Fixed nandroid backup
Fixed USB Storage toggle
ver 1.
Initial Release.
Enjoy!
Don't forget to say
effortless. said:
This is Amon RA recovery 2.2.1 for GT540. This version also accepts edify and non-signed update.zip files.
Screenshots:
Coming soon.
How to 'get around':
Menu (Touch button) Select
Back (Touch button) Go back
Volume up/down- Menu up/down
Download:
http://dl.dropbox.com/u/5183281/recovery_RA_swift_2.2.1_effortless.img
http://www.multiupload.com/BN1EDSQZB6
Enjoy!
Click to expand...
Click to collapse
Nice! Did you make it(just asking)?
Nice looking recovery. I'd like to use it but it doesn't support the hooks from ROM Manager and I always use that for making my backups because its easier.
Any chance you could add in support for ROM Manager hooks? Now that would be something
Yes I did make it, sort of. The original image was from P500, but I converted it for use with GT540. Didn't take long, all I did was replace the zImage with a GT540 one and edited a couple of files in the ramdisk and changed Kernel's command line and offset. And I don't think that Amon RA supports ROM Manager hooks at all. I'll have to look that up but ROM Manager only specialises in Koush's recovery (Clockwork)
Added screen shots! Also, I have found a bug with USB-MS Toggle not working. I guess mount points are in-correct for MS toggle.
Possable a bug with backups. I'm going to go through the recovery log now.
fishears said:
Nice looking recovery. I'd like to use it but it doesn't support the hooks from ROM Manager and I always use that for making my backups because its easier.
Any chance you could add in support for ROM Manager hooks? Now that would be something
Click to expand...
Click to collapse
How did you get the ROM Manager hooks on your clockwork mod (ie. So it actually works with ROM Manager)
Hook support is built in but we can only use ROM Manager to backup/restore roms & apply update zips. BTW I have a feeling Mur4ik is going to provide updates through ROM Manager/CM soon...
Sent from my GT540 using XDA Premium App
fishears said:
Hook support is built in but we can only use ROM Manager to backup/restore roms & apply update zips. BTW I have a feeling Mur4ik is going to provide updates through ROM Manager/CM soon...
Sent from my GT540 using XDA Premium App
Click to expand...
Click to collapse
One of his updates said ota in the file name <whatever>_ota.zip, so maybe we'll get them OTA
Sent from my jv02 using XDA App
New version coming soon:
Hopes to fix Backup/Restore issues, also fix USB-MS toggle.
Stay tuned. Also download from the AdF.ly links to support my work.
EDIT: I think I need to change some of the paths in init.rc to mount asec, fixed version should be up later
New version up!
New version up with fixed USB-MS Toggle and Nandroid backup now working!
Download:
http://adf.ly/2MFEY
PLEASE DO NOT CREATE MIRRORS!
If your wondering how I fixed it, in the ramdisk\etc folder, edit fstab and replace all lines with:
Code:
/dev/block/mtdblock4 /system yaffs2 rw
/dev/block/mtdblock1 /cache yaffs2 rw
/dev/block/mtdblock6 /data yaffs2 rw
/dev/block/mmcblk0p1 /sdcard vfat rw
/dev/block/mmcblk0p2 /sd-ext auto rw
I also used some binaries from the old RA 1.7 which I think helped with USB-MS.
Enjoy!
Tested the new version. Fails to backup .android_secure. Otherwise, cool!
Sent from my GT540
nutterbg said:
Tested the new version. Fails to backup .android_secure. Otherwise, cool!
Sent from my GT540
Click to expand...
Click to collapse
It should back it up because if it can mount the SDCard, then it can mount .asec. Will have to look at. Thanks for the feedback!
New version is up with possible .android_secure backup fix. I have not tested so please test and report back!
Download:
http://adf.ly/2MX0q
effortless. said:
New version is up with possible .android_secure backup fix. I have not tested so please test and report back!
Download:
http://adf.ly/2MX0q
Click to expand...
Click to collapse
Nope, still same thing. I haven't trieda full backup though, but rather only of asec and sd-ext. The ext part ended up in a tar, which I can't say if was written, or not, because my second partition is empty. I noticed again, however that whatever letter is supposed to appear in the backup name for ASEC("A"?) is still missing(e.g. the first backup i ever did had "BDERS" prefix). Very strange..
nutterbg said:
Nope, still same thing. I haven't trieda full backup though, but rather only of asec and sd-ext. The ext part ended up in a tar, which I can't say if was written, or not, because my second partition is empty. I noticed again, however that whatever letter is supposed to appear in the backup name for ASEC("A"?) is still missing(e.g. the first backup i ever did had "BDERS" prefix). Very strange..
Click to expand...
Click to collapse
Hmmm, strange, may be an issue in nandroid-mobile.sh or backuptool.sh, I will fix tomorrow.
hum.. is it compatible with mur4ik cm7 RC3 ?
scribbclubber said:
hum.. is it compatible with mur4ik cm7 RC3 ?
Click to expand...
Click to collapse
Yes. It is compatible with any Android version.
effortless. said:
Yes. It is compatible with any Android version.
Click to expand...
Click to collapse
thank mate.. good to know, will try once home and will also post feedbacks.
http://pastebin.com/5P3pUe2m
Here's a log of when it failed to backup asec. It seems to skip asec altogether.
Sent from my GT540

Anybody has this issue with root browser?

i like root browser. and i decided to buy this app for support developer.
but after that i surprised.
- it cant show /data folder on cm9, cm10. when i enter this folder, it shows an emtpty folder.
- it can show /data folder on cm7 but file sizes 0kb and when i want to edit stg it says file not found.
- it works well on stock or stock based roms
i tooke some screenshots from cm7.
i want to know this issue for only me?
because i am talking with developer and this issue is very strange.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
P
agritux said:
i like root browser. and i decided to buy this app for support developer.
but after that i surprised.
- it cant show /data folder on cm9, cm10. when i enter this folder, it shows an emtpty folder.
- it can show /data folder on cm7 but file sizes 0kb and when i want to edit stg it says file not found.
- it works well on stock or stock based roms
i tooke some screenshots from cm7.
i want to know this issue for only me?
because i am talking with developer and this issue is very strange.
Click to expand...
Click to collapse
Report the bug to developer of Root Browser.
EDIT: saw you are already talking. I use ES File Explorer and it works.
EDIT2: Does Root Browser Lite work?
EDIT3: In terminal emulator with root I can look into data folder and see file sizes with ls -l data. There's something wrong with how the develeper reads the file info or how he handles root.
EDIT4: In terminal Emulator can you type su then ls -l data. If that gives filesizes then it's problem with the app else it's problem with your phone.
Sent from my LG-P970
es file exploerer and other root permission needed browsers are working well
i have this issues with only root browser.
lite version too. and rom toolbox too..
agritux said:
es file exploerer and other root permission needed browsers are working well
i have this issues with only root browser.
lite version too. and rom toolbox too..
Click to expand...
Click to collapse
If you say lite version too. Is it working or not working?
Sent from my LG-P970
i mean not working.
i think his method is wrong?
agritux said:
i mean not working.
i think his method is wrong?
Click to expand...
Click to collapse
Jip. He made a mistake somewhere or used a API function that changed with the newer API.
Sent from my LG-P970
agritux said:
i like root browser. and i decided to buy this app for support developer.
but after that i surprised.
- it cant show /data folder on cm9, cm10. when i enter this folder, it shows an emtpty folder.
- it can show /data folder on cm7 but file sizes 0kb and when i want to edit stg it says file not found.
- it works well on stock or stock based roms
i tooke some screenshots from cm7.
i want to know this issue for only me?
because i am talking with developer and this issue is very strange.
Click to expand...
Click to collapse
Hey agritux this is what i'm telling you the last time we talked. This is the reason why i can't solve my problem in wifi on CM9 and CM10. I already checked the show hidden files in the settings but still i can't see the MISC folder.

Module in post-fs mode?

Hi there.
I'm trying to write a "cache module" (which runs in post-fs stage, after the system has been mounted but before data).
Why do I need it?
Because I want to execute an "iptables -P OUTPUT DROP" to block every outgoing connection until afwall+ kicks in (in post-fs-data) and establishes the proper rules for the apps.
I can't find a proper "module template" on github.
moreover...Is there a way to "print to magisk_debug.log" from the script?
I would like to "iptables -L" pre-script execution and post-script execution so I can check that everything has gone ok.
Is there a function to do that or should I "iptables -L > /tmp/iptables.log"
Any hint?
Thank you.
In post-fs, Magisk only does a simple mount of any files found in /cache/magisk_mount/system. No scripts are run... That's not until post-fs-data.
See here for more details (if you haven't already):
https://github.com/topjohnwu/Magisk/blob/master/docs/details.md
Didgeridoohan said:
In post-fs, Magisk only does a simple mount of any files found in /cache/magisk_mount/system. No scripts are run... That's not until post-fs-data.
See here for more details (if you haven't already):
https://github.com/topjohnwu/Magisk/blob/master/docs/details.md
Click to expand...
Click to collapse
Thanks Didgeridoohan, I already read that but if you read carefully
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
He says he can run script in different stages. That "simple mount thing" sounds to me like "hey, look...don't ask me to do mounts different than simple mounts."
Moreover I found this on another script...
so it must be possible...(or it was possible with previous versions of magisk)
LinoX said:
Thanks Didgeridoohan, I already read that but if you read carefully
He says he can run script in different stages. That "simple mount thing" sounds to me like "hey, look...don't ask me to do mounts different than simple mounts."
Moreover I found this on another script...
so it must be possible...(or it was possible with previous versions of magisk)
Click to expand...
Click to collapse
"Simple mounts" means that it doesn't add anything new, only replaces already existing files/folders. But you've read the docs, you know that...
Here's some reading on cache modules:
https://forum.xda-developers.com/showpost.php?p=69621730&postcount=7
It might be possible to run scripts in post-fs in the future (that's up to @topjohnwu). Right now it isn't...
Didgeridoohan said:
Here's some reading on cache modules:
https://forum.xda-developers.com/showpost.php?p=69621730&postcount=7
Click to expand...
Click to collapse
Thank you very much for that.
Yeah I didn't read that specific post (even if I searched for it a lot) and it replies my question: Cache modules aren't supported anymore.
I guess I'll have to deal with post-fs-data mode then...
Even if I don't need the data partition and even if, once data is mounted, it could be too late to block the network (some services might have already accessed it..yet not the apps themselves)
Thank you again, man.
LinoX said:
Thank you very much for that.
Yeah I didn't read that specific post (even if I searched for it a lot) and it replies my question: Cache modules aren't supported anymore.
I guess I'll have to deal with post-fs-data mode then...
Even if I don't need the data partition and even if, once data is mounted, it could be too late to block the network (some services might have already accessed it..yet not the apps themselves)
Thank you again, man.
Click to expand...
Click to collapse
No worries...
Just in case you haven't thought about it: if you want to run the script as early as possible, place it in /magisk/.core/post-fs-data.d rather than in the post-fs-data.sh file of a module.
I am using Magisk 16.7 on Android 8.1
On my phone there is no /magisk folder
For using a boot script should i just create the folder structure or where do i have to place my files?
m45k said:
I am using Magisk 16.7 on Android 8.1
On my phone there is no /magisk folder
For using a boot script should i just create the folder structure or where do i have to place my files?
Click to expand...
Click to collapse
Boot scripts should be placed on /sbin/.core/img/.core/post-fs-data.d
Sent from my LGE w5 using XDA Labs

Categories

Resources