Skip to content

Instantly share code, notes, and snippets.

@bboa
bboa / gist:fe12864ce2dfd01a3a822bc3f4ca7c2e
Created September 4, 2018 06:34
Samsung A3 2017 my uninstalled packages (ADB)
#3rd packages
for i in `pm list package -3`; do pm uninstall ${i/package:}; done
#Facebook
p="\
com.facebook.services \
com.facebook.katana \
com.facebook.system \
com.facebook.appmanager"
for i in $p; do pm uninstall --user 0 $i; done
@bboa
bboa / packages.txt
Created September 4, 2018 06:23
Samsung A3 2017 A320FXXU3CRD3 firmware packages
Name: com.mobeam.barcodeService
Path: /system/app/BeamService/BeamService.apk
Ver.: 2.0.3
Label: 'Beaming Service'
Name: com.samsung.android.provider.filterprovider
Path: /system/app/FilterProvider/FilterProvider.apk
Ver.: 3.0.36
Label: 'Filter Provider'
@bboa
bboa / extra_Xperia_E1_apps.txt
Created August 3, 2018 16:27
Xperia E1 apps
#Kill IZat
rm /system/app/com.qualcomm.location.apk
rm /system/app/com.qualcomm.location.odex
rm /system/app/com.qualcomm.msapm.apk
rm /system/app/com.qualcomm.msapm.odex
rm /system/bin/location-mq
rm /system/bin/lowi-server
rm /system/bin/quipc_igsn
rm /system/bin/quipc_main
rm /system/bin/xtwifi-client
D/dalvikvm( 1200): GC_EXPLICIT freed 453K, 43% free 4406K/7712K, paused 4ms+3ms, total 46ms
I/OMXClient(26868): Using client-side OMX mux.
E/OMX-VENC-720p( 251): set_parameter: metamode is valid for input port only
E/OMXNodeInstance( 251): OMX_SetParameter() failed for StoreMetaDataInBuffers: 0x8000101a
E/OMX-VENC-720p( 251): WARNING: Unsupported Color format [2130708361]
E/OMX-VENC-720p( 251): C2D init is successful
E/OMX-VENC-720p( 251): WARNING: Unsupported Color format [2130708361]
E/OMX-VENC-720p( 251): open Color conv for RGBA888 W: 480, H: 800
E/OMX-VENC-720p( 251): VIDIOC_REQBUFS CAPTURE_MPLANE Failed
I/MPEG4Writer(26868): limits: 2147483647/0 bytes/us, bit rate: -1 bps and the estimated moov size 3072 bytes
@bboa
bboa / modified_settings.sh
Created July 10, 2018 09:21
Xperia E1 modified settings
#! /system/bin/sh
echo 8192 > /proc/sys/vm/min_free_kbytes
echo 25 > /proc/sys/vm/dirty_background_ratio
echo 1000 > /proc/sys/vm/dirty_expire_centisecs
echo 65 > /proc/sys/vm/dirty_ratio
echo 2000 > /proc/sys/vm/dirty_writeback_centisecs
echo 100 > /proc/sys/vm/vfs_cache_pressure
echo 0 > /sys/block/mmcblk0/queue/iostats
echo 0 > /sys/block/mmcblk1/queue/iostats
@bboa
bboa / Xperia_E1_apps.txt
Last active April 20, 2018 14:54
Xperia E1 apps
#****** Автоустанавливаемые приложения ******
#Evernote, Facebook, Diagnostics, TrackID
rm /system/etc/customization/applications/com.evernote.apk
rm /system/etc/product/applications/FBAndroid.apk
rm /system/etc/product/applications/diagnostics.apk
rm /system/etc/product/applications/trackid.apk
rm /system/vendor/overlay/com.sonyericsson.trackid-res.apk
@bboa
bboa / apk_list
Created April 18, 2018 15:49
Xperia E1 packages
#Sony Xperia E1 Dual D2105 packages
Name: com.qualcomm.fastdormancy
Path: /system/app/fastdormancy.apk
Name: com.sonyericsson.oemCryptoReceiver
Path: /system/app/OemCryptoReceiver.apk
Name: com.sonyericsson.cameraextension.permission
@bboa
bboa / enable_gpu_only_rendering
Last active April 18, 2018 16:04
Xperia E1 gpu-only UI rendering
#Отключение рендеринга CPU
#Disabling CPU rendering
mount -o remount,rw /system
echo '0 1 adreno' > /system/lib/egl/egl.cfg
rm /system/lib/egl/libGLES_android.so
sed -i '/dyn/d' /system/build.prop
cat << EOF >> /system/build.prop
debug.composition.type=gpu
@bboa
bboa / resize_zram.sh
Last active April 19, 2018 10:49
Xperia E1 swap resize script
#! /system/bin/sh
(
sleep 1
swapoff /dev/block/zram0
echo 1 > /sys/block/zram0/reset
echo 104857600 > /sys/block/zram0/disksize
mkswap /dev/block/zram0
swapon /dev/block/zram0
) &
@bboa
bboa / Apk-Jar
Created April 18, 2018 15:39
Xperia E1 apk-jar dependencies
#Xperia E1 jar-apk dependencies
com.qualcomm.fastdormancy /system/app/fastdormancy.apk
/system/framework/qcrilhook.jar
com.sonyericsson.orangetheme /system/app/OrangeTheme.apk
/system/framework/com.sonymobile.runtimeskinning.jar
com.android.bluetooth /system/app/Bluetooth.apk