Skip to content

Instantly share code, notes, and snippets.

@handymenny
handymenny / overrideconfig_mi10
Last active April 8, 2021 15:54
efsprofiles WindTre
[QIPCALL:ImsVoiceConfig]
*displayTextPriority = 3
#This config is required to enable 380 response validation as per
#3GPP.
*enableAlternateSrvRspCheck = 0
@handymenny
handymenny / startupflag_checkpoints.xml
Created October 28, 2018 19:59
System/etc/startupflag_checkpoints.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
List of checkpoints for StartupFlag application
The following attributes are applicable to all checkpoints:
id - ID of the checkpoint. More info at
https://wiki.sonyericsson.net/androiki/PLD_System_Core/Startup_Flag_Service#Checkpoints
name - Name of the checkpoint. More info at
https://wiki.sonyericsson.net/androiki/PLD_System_Core/Startup_Flag_Service#Checkpoints
@handymenny
handymenny / xflock4
Last active May 7, 2018 13:22
Xflock4 xsecurelock
#!/bin/bash
env XSECURELOCK_NO_COMPOSITE=1 xsecurelock
exit 0
options {
sync(0);
create_dirs(yes);
dir_perm(0755);
owner(root);
perm(0744);
log_fifo_size(2048);
chain_hostnames(no);
};
#!/bin/sh
#Set _LOG to false to disable logging feature
_LOG=true
export PATH=/home/bin:/home/scripts:/opt/bin:/bin:/sbin:/usr/bin:/usr/sbin
export LD_LIBRARY_PATH=/lib/public:/lib/private:/usr/lib:/lib:/usr/lib/ebtables:
PROCESS="/usr/bin/ap_steer"
USER_CONFIG="/home/root/data/ap_steer.conf"
SYSLOG_CONF="/etc/syslog-ng/syslog-ng_ap.conf"
WiFi_24G_NormalToBad_Threshold=10
WiFi_24G_NormalToGood_Threshold=15
WiFi_24G_Upgrade_Threshold=40
WiFi_5G_NormalToBad_Threshold=20
WiFi_5G_NormalToGood_Threshold=25
RE_Threshold_Adjustment=0
Idle_Pkt_Threshold=10
STA_Num_Difference_Threshold=10
SteeringTime=16
ProhibitAfterSteering=300
# Maintainer: American_Jesus <american.jesus.pt AT gmail DOT com>
pkgname=connman-gtk
pkgver=1.1
pkgrel=2
pkgdesc="GTK GUI for ConnMan"
arch=('i686' 'x86_64')
url="https://github.com/jgke/connman-gtk"
license=('GPL')
depends=('glib2' 'gtk3')
makedepends=('intltool' 'git' 'openconnect')
@handymenny
handymenny / zram_combined_benchmark
Last active October 13, 2021 17:05
zram benchmark
~ # /tmp/zramtest3.sh test6 /tmp/ffmpeg-1\:2.6.1-1-x86_64.pkg.tar
zram test6 Sat Apr 4 09:50:06 GMT 2015
comp_algorithm [lzo] lz4 snappy
real 0m 0.20s 0.20s 0.24s avg: 0.214s
real 0m 1.45s 1.42s 1.42s avg: 1.430s
compr_data_size 30504972 30504968 30504947 30504962
comp_algorithm lzo [lz4] snappy
@handymenny
handymenny / external_busybox.patch
Created February 22, 2015 16:39
Patch to build a tiny busybox
From 66a4559b5a062a35d25fc71eb0b6a7e61b1bfd43 Mon Sep 17 00:00:00 2001
Message-Id: <66a4559b5a062a35d25fc71eb0b6a7e61b1bfd43.1424451193.git.handymenny@outlook.com>
From: Andrea Mennillo <[email protected]>
Date: Thu, 19 Feb 2015 22:09:46 +0100
Subject: [PATCH] busybox: Add initbox configuration
Initbox is a very tiny busybox with the aim to provide only the tools needed
by the init.sh of sony montblanc devices.
Change-Id: I53487281caab50a3b6b3a6d54fd48b1ff3aaa9bb
W/dex2oat ( 309): Compilation of boolean org.apache.xpath.compiler.XPathParser.FunctionCall() took 109.478ms
I/dex2oat ( 309): Explicit concurrent mark sweep GC freed 189034(14MB) AllocSpace objects, 0(0B) LOS objects, 25% free, 11MB/15MB, paused 20.508ms total 1.384s
I/dex2oat ( 309): dex2oat took 1001.572s (threads: 1)
W/art ( 125): Could not create image space with image file '/system/framework/boot.art'. Attempting to fall back to imageless running. Error was: Failed to load generated image '/data/dalvik-cache/arm/system@[email protected]': Failed to mmap at expected address, mapped at 0x705a8000 instead of 0x705a6000
--------- beginning of crash
F/libc ( 125): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x3e8 in tid 125 (main)
I/DEBUG ( 117): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 117): Build fingerprint: 'Samsung/cm_cooper/cooper:5.0.2/LRX22G/20141230:userdebug/test-keys'
I/DEBUG ( 117): Revision: '5'
I/DEBUG ( 117): ABI: 'arm'