[Script][Rom Toolbox Pro][Busybox] Setup AOKP 4.1 to OC GPU on boot - Galaxy Tab 2 Themes and Apps

So with the new AOKP builds you can set the gpu speed on the fly. It resets after rebooting and must be set again after each boot.
Well, I used ROM Toolbox Pro to create a script and run that script on boot.
cmenard said:
On the fly GPU Overclocking
Value 0 = 307MHz
Value 1 = 384MHz
Value 2 = 512MHz
Click to expand...
Click to collapse
I wanted mine set to 1 after each boot. You can modify the script to run at the faster "2" if you want. I don't recommend this though as it will use more battery and cause the tab to run hotter.
Open Rom Toolbox and go to Scripter in the Tools section.
{
"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"
}
Create a script and name it anything you want. Add what you see in the image and make it look just like this below (its also at the bottom of this post for easy copy/paste)
Save the script and you should see it in the list.
Now tap on the script in the list and select "Set at boot" when the menu comes up so that it runs on every boot.
You should see the icon on the right of the script name like shown below. This indicates that its set to run on boot.
Reboot and enjoy a faster tablet.
Code:
#!/system/bin/sh
busybox mount -o remount,rw /system
busybox echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/gpu_oc
busybox mount -o remount,ro /system

I must be the only person who likes a fast tablet.

I think CM or AOKP always has init.d support.

This works no matter what. I don't need to edit init every time I flash a new build. Which is quite often.

scottx . said:
This works no matter what. I don't need to edit init every time I flash a new build. Which is quite often.
Click to expand...
Click to collapse
how come my tablet p3110, doesn't save the change in gpu_oc? it stays at 0 always.
done the romtoolbox and root explorer method to no avail.

mtencarguez said:
how come my tablet p3110, doesn't save the change in gpu_oc? it stays at 0 always.
done the romtoolbox and root explorer method to no avail.
Click to expand...
Click to collapse
..solved it by flashing gapps 20120726..:laugh:

scottx . said:
So with the new AOKP builds you can set the gpu speed on the fly. It resets after rebooting and must be set again after each boot.
Well, I used ROM Toolbox Pro to create a script and run that script on boot.
I wanted mine set to 1 after each boot. You can modify the script to run at the faster "2" if you want. I don't recommend this though as it will use more battery and cause the tab to run hotter.
Open Rom Toolbox and go to Scripter in the Tools section.
Create a script and name it anything you want. Add what you see in the image and make it look just like this below (its also at the bottom of this post for easy copy/paste)
Save the script and you should see it in the list.
Now tap on the script in the list and select "Set at boot" when the menu comes up so that it runs on every boot.
You should see the icon on the right of the script name like shown below. This indicates that its set to run on boot.
Reboot and enjoy a faster tablet.
Code:
#!/system/bin/sh
busybox mount -o remount,rw /system
busybox echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/gpu_oc
busybox mount -o remount,ro /system
Click to expand...
Click to collapse
ooo thank you

Thanks for your work on this.. I know it is for a different device, but I tried the code on my NS and it did improve my benchmarks?? No issues or stability problems.. I am using it as an init.d script, thanks..

i think overclock is not good for this tablet?

Related

[MOD]Multi-touch hack

{
"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"
}
More than 5 points is not perfect,but it can be identified.
use cwm recovery update .zip file
you can also modify the code in the file by youself
File: /system/etc/touchpad/21 and 22 directorys touchpad.cfg file
Code: line 28 change NUMTOUCH=2 to NUMTOUCH=10
Look forward to someone to make it more perfect
nice will test it out
thanks
Very cool!
Cheers!
I used this instead:
Code:
#!/system/bin/sh
busybox mount -o rw,remount /system
cd /system/etc/touchpad/21/
sed 's/\(NUMTOUCH\)[ ]*=[ ]*[0-9]*/\1=10/' touchpad.cfg >temp
mv temp touchpad.cfg
chmod 644 touchpad.cfg
cd /system/etc/touchpad/22/
sed 's/\(NUMTOUCH\)[ ]*=[ ]*[0-9]*/\1=10/' touchpad.cfg >temp
mv temp touchpad.cfg
chmod 644 touchpad.cfg
busybox mount -o ro,remount /system
In this case you need to reboot for the changes to take effect. Tried multitouch tester and multitouch visualiser and I got more than 5 touches showing, only so many fingers can fit on the screen.
michael0619 said:
Click to expand...
Click to collapse
C'mon, that's cheating!
Very cool though, thanks for sharing!
Seems like 8 is the limit, even though I set it to 10
Awesome! Will try now.
NFHimself said:
Very cool!
Cheers!
I used this instead:
Code:
#!/system/bin/sh
busybox mount -o rw,remount /system
cd /system/etc/touchpad/21/
sed 's/\(NUMTOUCH\)[ ]*=[ ]*[0-9]*/\1=10/' touchpad.cfg >temp
mv temp touchpad.cfg
chmod 644 touchpad.cfg
cd /system/etc/touchpad/22/
sed 's/\(NUMTOUCH\)[ ]*=[ ]*[0-9]*/\1=10/' touchpad.cfg >temp
mv temp touchpad.cfg
chmod 644 touchpad.cfg
busybox mount -o ro,remount /system
In this case you need to reboot for the changes to take effect. Tried multitouch tester and multitouch visualiser and I got more than 5 touches showing, only so many fingers can fit on the screen.
Click to expand...
Click to collapse
How would I edit the file to how you did? Thanks. Or can you post the file?
awesome, thank you
Thank you, thank you, thank you for the .zip!
I edited these files myself and made a mistake, not sure what exactly I did wrong but after reboot I had NO TOUCH at all.
Thanks to the attached .zip I was able to just copy that to my sd via usb then flash in CWM. I now have 10 touch points.
WiredPirate said:
Thank you, thank you, thank you for the .zip!
I edited these files myself and made a mistake, not sure what exactly I did wrong but after reboot I had NO TOUCH at all.
Thanks to the attached .zip I was able to just copy that to my sd via usb then flash in CWM. I now have 10 touch points.
Click to expand...
Click to collapse
I've done the same thing. Edited files that I found that had the properties rebooted with no touch at all. Been trying to figure this out for a while. Thanks.
Sent from my MB860 using XDA Premium App
I assume the long-hold multitouch spaz issue is unaffected by this? What happens with all that now?
Sent from my MB860 using XDA App
Are there any side effects from enabling multiple touch points?
Tikerz said:
Are there any side effects from enabling multiple touch points?
Click to expand...
Click to collapse
Yes, the most important side effect from enabling multi-touch is that you can use more fingers at same time
just joking, but yes almost you get what you pay.
Thanks to motorola, the Atrix (most powerful smartphone in the world bla bla bla bla bla) will die without devs and users, I think moto only care about money and average users.
INSM Sin said:
How would I edit the file to how you did? Thanks. Or can you post the file?
Click to expand...
Click to collapse
That was the file, nothing more to it. Create in /data/local/tmp, call it yourmomsunderpants.sh (this is important) make it executable and run it. Simple.
Cheers!
Awesome thx, rebooting now
while it does see 10 fingers, i find it to be glitchy with anything over 4 fingers.
the multitouch tester app goes crazy if i put 5 or more on the screen at once.
This is perfect.
Set mine to 4 as I can't see the use for more than that at the moment.
ehvio said:
I assume the long-hold multitouch spaz issue is unaffected by this? What happens with all that now?
Click to expand...
Click to collapse
long hold is still the same screen will freeze after 12-14 sec
hosmsdos said:
long hold is still the same screen will freeze after 12-14 sec
Click to expand...
Click to collapse
Thanks for the mod! My God, I was hoping for this for a long time, man. All that's left is that annoying screen freeze nonsense and the phone will be usable in almost all scenarios.
Sent from my MB860 using Tapatalk

[krn.modules] interactive governor for Arc stock Kernel (2.3.3 / 2.3.4)

Hello guys,
Introduction
I've managed to compile the interactive governor (supported by SetCPU!) for Arc's kernel (2.6.32.9-perf) which is currently the latest stock kernel for Arc. This is an alternative in case you do not have a modded kernel installed but you prefer the stock one.
This module is a compiled version of the code from here.
Screenshot of SetCPU:
{
"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"
}
Installing
After unpacking the zip into the folder of your choice, execute the following commands:
Code:
adb push "cpufreq_interactive.ko" /sdcard/cpufreq_interactive.ko
mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
cd /system/lib/modules
cp /sdcard/cpufreq_interactive.ko .
insmod cpufreq_interactive.ko
echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Then you can fire up SetCPU and see that it actually detects the interactive governor and frequency changes. Reboot will reset the settings - you will need to modify your startup scripts to activate it on each reboot, or use SetCPU for this.
Settings
Although the initial interactive module only supported one setting, the min_sample_time, this one supports an additional one:
Code:
# pwd
pwd
/sys/devices/system/cpu/cpu0/cpufreq/interactive
# ls
ls
go_maxspeed_load
min_sample_time
#
which is go_maxspeed_load.
SetCPU only supports the initial setting that the module came with, the min_sample_time. By default, it is configured to 80000 here, but 50000 could also be a good value.
The settings default values and explanations:
Code:
/* Go to max speed when CPU load at or above this value. */
#define DEFAULT_GO_MAXSPEED_LOAD 85
/*
* The minimum amount of time to spend at a frequency before we can ramp down.
*/
#define DEFAULT_MIN_SAMPLE_TIME 80000;
To modify them, just echo the desired value into the sysfs files:
Code:
echo "85" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_maxspeed_load
Download
Use it at your own risk!
cpufreq_interactive_arc_2.3.3.zip
cpufreq_interactive_arc_2.3.4.zip
PS: Since I released the module for X10 first, you might find helpful tips and triks (if they apply) in the initial thread: http://forum.xda-developers.com/showthread.php?t=1221425
My Neo (stock kernel, same version) got stuck at the insmod part, is this possible?
Ambroos said:
My Neo (stock kernel, same version) got stuck at the insmod part, is this possible?
Click to expand...
Click to collapse
Of course!
It uses hardcoded values found in Arc's kernel, and if they are different in Neo, it will freeze.
I can 'blindly' build one for Neo if you send me the kallsyms_neo file generated running the command below.
Code:
cat /proc/kallsyms > /sdcard/kallsyms_neo
That file contains the needed values for Neo.
Does it work on 2.3.4 Android?
I don't think so - I just tested the smartass module (built also for 2.3.3) and it resets the phone - so probably the kernel's addresses have changed - kernel addresses which also the interactive governer is using.
So you could give it a try but most likely will reset the phone.
I intend to build the two modules today - stay tuned!
Updated for 2.3.4 - please check first post of the topic and download the 2.3.4 version.
I'm trying to compile the module for Ray from source code in the first message. Module is built but not operating as it should. Could you help me understand the source of the problem?
Sorry for the late reply. If you did not yet figure it out, just let me know more details (what do you mean by not operating as desired ?)
Reboot will reset the settings - you will need to modify your startup scripts to activate it on each reboot, or use SetCPU for this.
Click to expand...
Click to collapse
Could you explain a bit more detail? I tried set "Set on Boot" checkbox in SetCPU but after a reboot the settings are reset again.
And about another method: what startup scripts i need to modify on stock kernel?
Thanks in advance.
---------- Post added at 04:22 PM ---------- Previous post was at 03:42 PM ----------
Ok seems i found a solution in x10 thread. Just tried this method and it works
viewdetails said:
OK, I found a solution
Copy the .ko file to the phone as described in the first post.
Create the install-recovery.sh in notepad, don't forget the first line is important for the system to handle as script!
It should contain this:
Save it, and copy to your SD card.
Then
adb shell
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cd /system/etc
# cp /sdcard/install-recovery.sh .
# chmod 777 install-recovery.sh
(The last line may not required.)
Reboot the phone, and the interactive governor can be select in the SetCPU!
Click to expand...
Click to collapse
But question with SetCPU still open.

problem deleting bloat with titanium backup on nook hd

i have rooted and installed the various zips and such for unknown sources. if i try to freeze or delete the bloatware such as, crosswords, facebook and such they show back up under the launcher and redownload after a reboot. i am using Nova launcher but it does it regardless. any reason why they don't stay frozen or stay deleted? spotify in another.
bckrupps said:
i have rooted and installed the various zips and such for unknown sources. if i try to freeze or delete the bloatware such as, crosswords, facebook and such they show back up under the launcher and redownload after a reboot. i am using Nova launcher but it does it regardless. any reason why they don't stay frozen or stay deleted? spotify in another.
Click to expand...
Click to collapse
Profile > manage content > app > untick
btw, u can use a app call autostarts, force to stop all BN stock app to auto start, after a reboot, u can freeze them by titanium backup
i unticked the box and my nook hangs on boot at 99%. what should i do now?
bckrupps said:
i unticked the box and my nook hangs on boot at 99%. what should i do now?
Click to expand...
Click to collapse
Which box did you untick?
Sent from my Nook HD+ running CM10.1 on emmc.
bckrupps said:
i unticked the box and my nook hangs on boot at 99%. what should i do now?
Click to expand...
Click to collapse
Detail step advised by B&N support :
Please be advised that you can disable the NOOK apps on your NOOK HD+, kinldy follow below steps to disable NOOK apps on your NOOK device:
- Tap on top left hand corner on Home page,
- Tap on Edit profile,
- Tap on the profile currently you are using,
- Tap on "Manage content",
- Tap onte "Apps",
- Kindly un check the NOOK app which you want to disable the NOOK app.
- Tap on the option "Save".
---------- Post added at 11:08 AM ---------- Previous post was at 10:29 AM ----------
I got my NookHD+ on Thursday night, here is what I changed on my NookHD+
U can freeze following package by titanium backup
{
"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"
}
Disbale following app to auto start with system
Leave following app to auto start with system
What my NookHD+ home screen look like, full screen enabled
install Full!screen+ for "back"/"recent app"/"notifications button, u may need to replace a png file to fix "black words on grey color notifications bar"
Cleanup complete, about 500MB free ram after task kill, pls don't freeze "DeviceManagerService", otherwise u will have SystemUI error and wallpaper will become black screen
VPN supported
Lock Screen with Password
Change CPU governor to "hotplug", it will shutdown CPU1 for powersaving when system is idle
u can check the CPU status by following shell script, copy and paste and save as "/data/data/cpu.sh", chmod 777
execute as root via adb shell, Ctrl +C to break
i=1
while ((1))
do
echo $i
echo "CPU Governor mode : `ls /sys/devices/system/cpu/cpufreq`"
echo "Online CPU = `cat /sys/devices/system/cpu/online`"
echo "CPU 0 : `cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq` hz"
echo "CPU 1 : `cat /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq` hz"
i=$(($i+1))
sleep 1
done
When CPU1 is shutdown, it will show
CPU Governor mode : hotplug
Online CPU = 0
CPU 0 : 396800 hz
cat: can't open '/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq': No such file or directory
CPU 1 : hz
if cpu 1 is online, u will see "Online CPU = 0-1" and CPU 1 : 396800hz (or more)

*[4.1+]*[MOD]BATTERY TWeaKS [get the best out your Battery]

{
"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"
}
Requirements
REQUIREMENTS
Most importantly your phone
init.d support
Android 4.1+
what's in init.d scripts?
4.1 cpufreq_governor
21cpufreq_governor script sets the governor that contorls the CPU's thresholds and sampling_rates
4.2 cpufreq_screenstate_scaling
31cpufreq_screenstate_scaling script defines the governor values and decides the actions based on the phone's state - conservative, ondeman, lazy, awake, sleep modes. I've changed lots of values from Calk's original script to save more battery power thru this script. As indicated in Calk's original thread for FD02, this script would not run if you have already installed some CPU control apps something like OC Widget, Quick Clock, SETCPU, and Android OC.
4.3 tweaks_kobridge
41tweaks_kobridge script has almost everything in it to improve the network speed, sdcard tweaks, other battery saving tweaks, VM management, Kernel, wifi tweaks, etc. For some of the values in here, there are some overlaps with build.prop tweaks. So, if you do not apply the tweaks to the build.prop file, many tweaks would still work.
4.4 zipalign
zipalign is an archive alignment tool introduced first time with 1.6 Android SDK (software development kit). It optimizes the way an Android application package (APK) is packaged. Doing so enables the Android operating system to interact with the application more efficiently, and hence has the potential to make the application and overall the whole system much faster. Execution time is minimized for zipaligned applications, resulting is lesser amount of RAM consumption when running the APK.
If less number of applications with an unaligned home application, you’d see slower application launch times. This is the best case scenario. For a worst case scenario, having a number of unaligned applications will result in the system repeatedly starting and killing processes, struggling with lags and huge battery drain.
4.5 Wifi Sleep Wait timer
What this tweak does is, it controls the time until wifi sleeps after the screen turned off. By default, it's 15 minutes. So, even you turned off the screen, by default, phone will wait for 15 minutes and then turn off the wifi. By using this tweak, you will have the control over wifi idle time until wifi sleeps.​
credits
me
kobridge
iossux
Reserved for GB and ICS tweaks
Tested On Carbon & SJB
how to use?
THEKING said:
Tested On Carbon & SJB
Click to expand...
Click to collapse
have to flash it thru CWM? and then wt about wipes?
.
wasim9283 said:
have to flash it thru CWM? and then wt about wipes?
Click to expand...
Click to collapse
Flash it through CMW & no wipes required
THEKING said:
Flash it through CMW & no wipes required
Click to expand...
Click to collapse
is that we need to delete all the files in the init.d folder first then only flash with CWM? OR just flash through CWM only and no need to delete the files in init.d?
direct
WaterMelon90 said:
is that we need to delete all the files in the init.d folder first then only flash with CWM? OR just flash through CWM only and no need to delete the files in init.d?
Click to expand...
Click to collapse
directly flash it :good::good:
4.2.2 loopboot kernel lupus :crying: how remove tweak please:crying:
phones were standing at the boot screen.
nova_vn said:
phones were standing at the boot screen.
Click to expand...
Click to collapse
Flash rom again with clean install
Sent from my Xperia Live with Walkman using xda premium
aromaFM
nova_vn said:
4.2.2 loopboot kernel lupus :crying: how remove tweak please:crying:
Click to expand...
Click to collapse
use aroma file manager and delete all files in init.d folder
gauravj said:
Tested On Carbon & SJB
Click to expand...
Click to collapse
you mean ROM carbon KK?

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