Board Archive
154 subscribers
11 photos
3 videos
197 files
42 links
The very collection of @GalaxyA14user's interests. Random yet useful to me.
Download Telegram
boot-menu_C_1.0_GalaxyA14.zip
83.7 KB
boot menu - Shows a menu when device is booting into OS. Supports volume key and power control. Written in C only!

Mainly functions with one executable, works by playing on binds. No file replacements are done in any way.

Fast and stable
6
qmgcap
1.9 KB
QMGCap v1.0 - Useful samsung utility made by me ofc coz me pro i know

Converts qmg bootanimations into PNG images. Only works on samsung OneUI systems.

~ $ su -c ./qmgcap --help
usage: qmgcap <input_qmg_splash_file=/system/media/bootsamsung.qmg> <input_qmg_loop_file=/system/media/bootsamsungloop.qmg> <number_of_frames=10> <initial_sleep=0.4> <initial_name_int=0> <out_directory=$(mktemp -d out_XXXXXX)> <cooldown_between_frames=0>
👍4
qmgrec
6.1 MB
QMGRec v1.0 - Standalone Samsung utility that converts Samsung QMG boot animations into MP4 files.

Only works on Samsung OneUI systems, relies on direct binding to operate.

~$ ./qmgrec -h
QMGRec v1.0 (standalone Python binary)
usage: qmgrec <splash: str.qmg = /system/media/bootsamsung.qmg> <loop: str.qmg = /system/media/bootsamsungloop.qmg> <out: str = out_uuid4()[:8]> <time_limit: int = 10> <bitrate: int = 200000000>
🥰3
🔥5🤔3🍌2👎1
SystemUI.apk
69.1 MB
Galaxy z flip 5 SystemUI APK
Since it doesn't have FOD
😭4👍1
live-blur_1.0_OneUI6.1.1_S23FE.zip
4.8 MB
Live blur enabler - Magisk module
Must be OneUI 6.1.1
Kanged from Galaxy S23 FE
🔥4
java -jar apktool.jar d -api 34 -b services.jar

java -jar apktool.jar b -api 34 -b services.jar

patch -p1 < 0000-whatever.patch
🔥4
Dummy method override

SystemUI_src/smali_classes2/com/android/systemui/util/DeviceState.smali

.method public static setInDisplayFingerprintSensorPosition(Landroid/util/DisplayMetrics;)V
.locals 3

.line 1
const/4 v0, 0x1

.line 2
sput-boolean v0, Lcom/android/systemui/util/DeviceState;->sLoadedSensorValue:Z

.line 3
const-string v1, "50"

.line 4
sput-object v1, Lcom/android/systemui/util/DeviceState;->sSemSensorMarginBottom:Ljava/lang/String;

.line 5
const-string v1, "200"

.line 6
sput-object v1, Lcom/android/systemui/util/DeviceState;->sSemSensorAreaHeight:Ljava/lang/String;

.line 7
const-string v1, "100"

.line 8
sput-object v1, Lcom/android/systemui/util/DeviceState;->sSemSensorImageSize:Ljava/lang/String;

.line 9
const/4 v2, 0x5

.line 10
const/high16 v1, 0x42c80000

.line 11
invoke-static {v2, v1, p0}, Landroid/util/TypedValue;->applyDimension(IFLandroid/util/DisplayMetrics;)F

.line 12
move-result v1

.line 13
float-to-int v1, v1

.line 14
sput v1, Lcom/android/systemui/util/DeviceState;->sInDisplayFingerprintHeight:I

.line 15
const/16 v0, 0x64

.line 16
sput v0, Lcom/android/systemui/util/DeviceState;->sInDisplayFingerprintImageSize:I

.line 17
const/16 v0, 0x32

.line 18
sput v0, Lcom/android/systemui/util/DeviceState;->sInDisplayFingerprintMarginBottom:I

.line 19
return-void
.end method
😱3👍1
boot-menu_C_2.0_GalaxyA14.zip
83.9 KB
boot-menu v2.0 - Galaxy A14 - Since I got better at C, why not to improve it?

A hacky boot menu with volume key and power control. Written in C.

Changelog
- Refactored most code with a new faster functionality
- Now relies on sys.boot_completed instead of timeouts
- PID based memory system
- Memory aware, and cares about CPU
- No more sleep and kill, just SIGTERM once not needed
- Separate thread to check for boot state
- Vibrates on both ready and done
- No timeout, menu is functional until system boots
- If picked option 1, bootanimation plays as expected just like it should normally
😱4
/sys/devices/virtual/fingerprint/fingerprint/position

8.30,0.00,9.10,9.10,14.80,14.80,12.00,12.00,5.00

Can not modify this file and must bind it instead
👍2
Dead SystemUI fix in FOD based ports - Galaxy A14

SystemUI dies because of ${fps_position} being incorrect or not found, which is FOD related. And since it is universal among all system images and only occurs on Galaxy A14, it is not system related.

String ${fps_position} is found in /sys/devices/virtual/fingerprint/fingerprint/position which is incorrect by default and should be an integer or a list of floats, so the easiest fix is to put a number there.
Since that file is not modifyable, we must create a dummy file somewhere with an integer inside and bind it to our file, or can we just bind an existing system file which has a number? I picked /sys/power/pm_async to bind there.

But we don't have to do that each time on boot using adb, why don't we just put it in some rc file with sys.boot_completed property?

We need to pick a small rc file which has that property without any additional conditions to ensure command is executed, in that case logd.rc is perfect. Final command below.
echo '    exec /system/bin/mount -o bind /sys/power/pm_async /sys/devices/virtual/fingerprint/fingerprint/position' >> /system/etc/init/logd.rc
😁3🗿1
This media is not supported in your browser
VIEW IN TELEGRAM
I wrote an extremely accurate battery monitor
This is the power of Python and math
🔥3
batt.py
904 B
Batt - Galaxy A14
An extremely accurate battery change monitor
Accurate up to infinite visible decimal points and 7 real decimal points approx

Just pure Python and math, no imports. Preview here
👍4
i gotta stop making these things
😭8👎4🍌2
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,adb
ro.adb.secure=0
ro.secure=0
ro.debuggable=1
🥰21
The_34567_Bomb.zip
908.9 KB
Listen I'm bored ok?
😱5
config.cfg
544 B
Galaxy A145F
Specific dtbo related files
👍1
Commands because I forget

imjtool dtbo.img extract

for f in *; do dtc -I dtb -O dts -o "${f%.dtb}.dts" "$f"; done && rm -rf *.dtb

find . -type f -exec sed -i 's/timing,refresh = <0x3c>/timing,refresh = <0x4b>/g' {} +

find . -type f -exec sed -i 's/active_fps = <0x3c>/active_fps = <0x4b>/g' {} +

find . -type f -exec sed -i 's/display_mode = <0x438 0x968 0x3c 0x00 0x00 0x00 0x00/display_mode = <0x438 0x968 0x4b 0x00 0x00 0x00 0x00/g' {} +
for f in *; do dtc -I dts -O dtb -o "${f%.dts}.dtb" "$f"; done && rm -rf *.dts

mkdtimg cfg_create new_dtbo.img config.cfg -d .
🗿4
dthz
1.4 KB
dthz - automatic dtbo.img hz overclocker - relies on nearby executables - made for personal automation

usage: dthz <dtbo.img> <framerate>
👍3🗿1
dtb.zip
9.7 KB
Galaxy A14 - Stock DTB
🗿5