Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Commit

Permalink
Android 11 release
Browse files Browse the repository at this point in the history
Added support for Android 11 (Only PiXeN at the moment, no guarantees it works on other A11 ROMs)
Available packages: Minimal, Basics, Basics+ w/ iOS 14 emojis and adblocking included
Removed many apks not needed
  • Loading branch information
luismiaresse committed Oct 12, 2020
1 parent d8e2e79 commit f5d08d0
Show file tree
Hide file tree
Showing 108 changed files with 12,938 additions and 222 deletions.
23 changes: 9 additions & 14 deletions META-INF/com/google/android/update-binary
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ui_print() { echo "$1"; }

require_new_magisk() {
ui_print "*******************************"
ui_print " Please install Magisk v20.2+! "
ui_print " Please install Magisk v20.4+! "
ui_print "*******************************"
exit 1
}
Expand All @@ -29,16 +29,10 @@ is_legacy_script() {
}

print_modname() {
local len
len=`echo -n $MODNAME | wc -c`
len=$((len + 2))
local pounds=`printf "%${len}s" | tr ' ' '*'`
ui_print "$pounds"
ui_print " PIXEL FEATURES LITE by luismi. Only for ANDROID 10 "
ui_print "$pounds"
ui_print "**********************************************"
ui_print " Powered by Magisk. Possible by Google Pixel. "
ui_print "**********************************************"
ui_print " PIXEL FEATURES LITE by luismi, Android 11 version "
ui_print "******************************************************"
ui_print " Powered by Magisk. Possible by Google Pixel. "
ui_print "******************************************************"
}

##############
Expand All @@ -53,7 +47,7 @@ mount /data 2>/dev/null
# Load utility functions
[ -f /data/adb/magisk/util_functions.sh ] || require_new_magisk
. /data/adb/magisk/util_functions.sh
[ $MAGISK_VER_CODE -gt 20200 ] || require_new_magisk
[ $MAGISK_VER_CODE -gt 20400 ] || require_new_magisk

# Preperation for flashable zips
setup_flashable
Expand Down Expand Up @@ -125,7 +119,8 @@ else
unzip -o "$ZIPFILE" customize.sh -d $MODPATH >&2

if ! grep -q '^SKIPUNZIP=1$' $MODPATH/customize.sh 2>/dev/null; then
ui_print "- Extracting PFLite files to /data/adb/modules/. If you end up in a bootloop or have any compatibility problems, delete this folder."
ui_print "- Extracting PFLite files to /data/adb/modules/."
ui_print "- If you end up in a bootloop or have any compatibility problems, delete this folder."
unzip -o "$ZIPFILE" -x 'META-INF/*' -d $MODPATH >&2

# Default permissions
Expand Down Expand Up @@ -169,5 +164,5 @@ cd /
$BOOTMODE || recovery_cleanup
rm -rf $TMPDIR

ui_print "- Done. Enjoy!"
ui_print "- Done. Enjoy PFLite!"
exit 0
25 changes: 6 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

### <a href=https://forum.xda-developers.com/oneplus-6/themes/magisk-module-pixel-features-lite-t4028779/>XDA THREAD

### Packages
### Packages for Android 11

## MINIMAL

Replaces your device model to crosshatch (Pixel 3XL) or coral (Pixel 4XL)
Replaces your device model to Pixel 3 XL or Pixel 4 XL

Enables GPhotos unlimited photo storage at original quality. (Only on Pixel 3XL)

Clean GPhotos app data after flashing the module is required to make it work
You need to clean GPhotos app data after flashing the module and rebooting to make it work


## BASICS
Expand All @@ -22,24 +22,11 @@ Changes your bootanimation to Pixel (Dark)

Replaces your system font to Google Sans

Adds 3 Android 11 new icon shapes (Available to apply in Styles & Wallpapers app)

Adds Google Phone, Styles & Wallpapers app and Pixel 4 Sounds

Replaces emojis to Android 11 leaked ones.


## FULL
## BASICS+

Previous features plus:

Additional Pixel exclusives (Google Recorder and Pixel 19 Live Wallpapers)

Lawnchair Launcher pre-alpha as main launcher (Since v2.3, no need for Quickswitch for animations. Only select it as default launcher)


## EXTRAS

Previous features plus:
Replaces emojis to iOS 14

Replaces YouTube app to YT Vanced and emojis to iOS 13.2 (instead of A11 emojis)
Adds adblocking hosts file
14 changes: 3 additions & 11 deletions customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
# Uncomment and change 'MINAPI' and 'MAXAPI' to the minimum and maximum android version for your mod
# Uncomment DYNLIB if you want libs installed to vendor for oreo+ and system for anything older
# Uncomment DEBUG if you want full debug logs (saved to /sdcard)
MINAPI=29
MAXAPI=29
MINAPI=30
MAXAPI=30
#DYNLIB=true
#DEBUG=true

Expand All @@ -33,15 +33,7 @@ REPLACE_EXAMPLE="
"

# Construct your own list here
REPLACE="
/system/priv-app/AsusLauncherDev
/system/priv-app/NexusLauncherPrebuilt
/system/product/priv-app/Launcher3QuickStep
/system/product/priv-app/NexusLauncherRelease
/system/product/priv-app/ParanoidQuickStep
/system/product/priv-app/ShadyQuickStep
/system/product/priv-app/TrebuchetQuickStep
"


##########################################################################################
# Permissions
Expand Down
12 changes: 6 additions & 6 deletions module.prop
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
id=PFLite
name=Pixel Features Lite EXTRAS
version=v2.3
versionCode=230
author=luismi
description=Pixel Features all-in-one w/Extras
minMagisk=20200
name=Pixel Features Lite Basics+
version=v3.0-CUSTOM
versionCode=300
author=Luismii
description=Pixel Features all-in-one, Android 11 version
minMagisk=20400

25 changes: 12 additions & 13 deletions system.prop
Original file line number Diff line number Diff line change
@@ -1,38 +1,37 @@
# Pixel 3 XL props
ro.system.build.version.release=10
ro.system.build.version.sdk=29
# Android 11 Pixel 3 XL props
ro.system.build.version.release=11
ro.system.build.version.sdk=30
ro.product.system.brand=Google
ro.product.system.device=crosshatch
ro.product.system.manufacturer=Google
ro.product.system.model=Pixel 3 XL
ro.product.system.name=crosshatch
ro.build.version.sdk=29
ro.build.version.release=10
ro.build.version.sdk=30
ro.build.version.release=11
ro.build.flavor=crosshatch-user
ro.build.product=crosshatch
ro.product.model=Pixel 3 XL
ro.product.brand=Google
ro.product.name=crosshatch
ro.product.device=crosshatch
ro.product.manufacturer=Google
ro.product.build.version.release=10
ro.product.build.version.sdk=29
ro.product.build.version.release=11
ro.product.build.version.sdk=30
ro.product.product.brand=Google
ro.product.product.device=crosshatch
ro.product.product.manufacturer=Google
ro.product.product.model=Pixel 3 XL
ro.product.product.name=crosshatch
ro.opa.eligible_device=true
ro.vendor.build.version.release=10
ro.vendor.build.version.sdk=29
ro.vendor.build.version.release=11
ro.vendor.build.version.sdk=30
ro.product.vendor.brand=Google
ro.product.vendor.manufacturer=Google
ro.product.vendor.name=crosshatch
ro.odm.build.version.release=10
ro.odm.build.version.sdk=29
ro.odm.build.version.release=11
ro.odm.build.version.sdk=30
ro.product.odm.brand=Google
ro.product.odm.device=crosshatch
ro.product.odm.manufacturer=Google
ro.product.odm.model=Pixel 3 XL
ro.product.odm.name=crosshatch
ro.boot.vendor.overlay.static=false
ro.product.odm.name=crosshatch
Loading

0 comments on commit f5d08d0

Please sign in to comment.