Skip to content

Commit

Permalink
Fix: Module prop empty
Browse files Browse the repository at this point in the history
  • Loading branch information
lululoid committed Jan 29, 2025
1 parent d626543 commit 76f5d4c
Show file tree
Hide file tree
Showing 18 changed files with 5 additions and 3 deletions.
Empty file modified META-INF/com/google/android/update-binary
100755 → 100644
Empty file.
Empty file modified META-INF/com/google/android/updater-script
100755 → 100644
Empty file.
Empty file modified build.sh
100755 → 100644
Empty file.
1 change: 1 addition & 0 deletions customize.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -229,3 +229,4 @@ EOF
set_permissions
setup_swap
main
cp $MODPATH/module.prop $LOG_FOLDER
3 changes: 2 additions & 1 deletion fmiop.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,9 @@ turnon_zram() {
update_pressure_report() {
memory_pressure=$(get_memory_pressure)
module_prop="$MODPATH/module.prop"
prop_bcp="$LOG_FOLDER/module.prop"
tmp_file=$(mktemp -p /data/local/tmp)
content=$(cat $module_prop)
content=$(cat $prop_bcp)

echo "$content" | sed "s/\(Memory pressure.*= \)-\?[0-9]*/\1$memory_pressure/" >$tmp_file && mv $tmp_file $module_prop
}
Expand Down
Empty file modified fmiop_service.sh
100755 → 100644
Empty file.
Empty file modified log_service.sh
100755 → 100644
Empty file.
4 changes: 2 additions & 2 deletions module.prop
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id=fmiop
name=LMKD PSI Activator
version=v1.9-beta
versionCode=745
versionCode=751
author=lululoid
description=Memory pressure(lower is more pressure) = -1. Fix RAM management by activating psi mode in LMKD which is more efficient, faster and more stable than traditional minfree_levels most ROMs using
description=Memory pressure(lower is more pressure) = -1. Fix RAM management by activating psi mode in LMKD which is more efficient, faster and more stable than traditional minfree_levels most ROMs use
Binary file removed packages/fmiop-v1.9_725-beta.zip
Binary file not shown.
Binary file removed packages/fogimp-v0.6_329-beta.zip
Binary file not shown.
Binary file removed packages/fogimp-v0.6_330-beta.zip
Binary file not shown.
Binary file removed packages/fogimp-v0.6_337-beta.zip
Binary file not shown.
Binary file removed packages/fogimp-v0.6_347-beta.zip
Binary file not shown.
Binary file removed packages/fogimp-v0.6_368-beta.zip
Binary file not shown.
Binary file removed packages/fogimp-v0.6_437-beta.zip
Binary file not shown.
Binary file removed packages/fogimp-v0.6_442-beta.zip
Binary file not shown.
Binary file removed packages/fogimp-v0.6_443-beta.zip
Binary file not shown.
Empty file modified sed
100755 → 100644
Empty file.

0 comments on commit 76f5d4c

Please sign in to comment.