Code analyzing
Hi...
You just need to edit the file in: /system/etc/init.qcom.post_boot.sh
Edit the LAST LINE of the file, thats starts with g4ilapofix=true:
g4ilapofix=true; if $g4ilapofix......
Change it to:
g4ilapofix=true;
if $g4ilapofix;
then
echo 1 > /sys/devices/system/cpu/cpu0/online;
echo 1 > /sys/devices/system/cpu/cpu1/online;
echo 1 > /sys/devices/system/cpu/cpu2/online;
echo 1 > /sys/devices/system/cpu/cpu3/online;
fi;
And you are done. Never again you will need to do something after reboot.
I'm now trying to edit the TOT files, so this is removed from the MOD and all 4 cores be active since the first boot. Which is how it should be.
I think it is absurd to FORCE everyone to pay 25 USD. A donation should never be forced.
XDA exists because people wanted to help others, for free, not to gain money over other people. Donations are always apreciated, but should not be mandatory.
End of my "init.qcom.post_boot.sh" file after disabling two Big cores (flashing with .tot file) is exactly like this:
g4ilapofix=false; if $g4ilapofix; then if $(pm list packages | grep -q cz.youber.g4ilapo); then
echo 1 > /sys/devices/system/cpu/cpu0/online;
echo 1 > /sys/devices/system/cpu/cpu1/online;
echo 1 > /sys/devices/system/cpu/cpu2/online;
echo 1 > /sys/devices/system/cpu/cpu3/online;
else echo 0 > /sys/devices/system/cpu/cpu1/online;
echo 0 > /sys/devices/system/cpu/cpu2/online;
echo 0 > /sys/devices/system/cpu/cpu3/online; fi;
else echo 0 > /sys/devices/system/cpu/cpu1/online;
echo 0 > /sys/devices/system/cpu/cpu2/online;
echo 0 > /sys/devices/system/cpu/cpu3/online; fi
so what do you think, what should be the changes in this code in order to apply all cores on boot to work?