Skip to content

Instantly share code, notes, and snippets.

View TheComputerGuy96's full-sized avatar

Echo J. TheComputerGuy96

View GitHub Profile
@TheComputerGuy96
TheComputerGuy96 / los14bugs.md
Last active December 7, 2017 16:56
List of LineageOS 14.1 bugs on GT-S758x

Introduction

These are the bugs of LineageOS 14.1 unofficial ROM on Samsung Galaxy Trend Plus/S Duos 2

Audio library-related

  • Sound doesn't work in some games
  • Call recording doesn't work

AV-related

  • On Periscope app, broadcasting works, but streaming that broadcast on another device results in video with nothing but colored stripes
  • Cast screen (feature of Android Lollipop+) doesn't work
@TheComputerGuy96
TheComputerGuy96 / incallbug.txt
Created February 14, 2017 18:23
In call bug of GT-S758x audio library
D/AudioHardwareALSA( 1730): ->VoIP_DBG setVoiceOn mCntVoiceOn=0 mMode=2 curdev=2 device=1 option=2
D/AudioHardwareALSA( 1730): getVoiceCallDevice for device = 0x1 returned source = 1 sink = 0 tty=0[ 1, 0]
W/AudioHardwareALSA( 1730): Mode is still in call but removing incall profile
W/AudioHardwareALSA( 1730): EnableAppProfile profile -1 is out of range [0, 17] index=1
D/AudioHardwareALSA( 1730): setVoiceOn(): correct mCntVoiceOn = -1 -> 0
D/AudioHardwareALSA( 1730): setVoiceOn(): vc_swt=0x0, enable=0x0
D/AudioHardwareALSA( 1730): setVoiceOn(): VoiceCall=0, VtCall=0, VoipCall=0
I/AudioHardwareALSA( 1730): driverDevice={1,0,1,0} for device 1
D/AudioHardwareALSA( 1730): getPlaybackDevice for device = 0x1 returned sink = 0
D/AudioHardwareALSA( 1730): <-VoIP_DBG setVoiceOn mCntVoiceOn=0 mMode=2 curdev=2 device=1 option=2
@TheComputerGuy96
TheComputerGuy96 / callbug2.txt
Created February 16, 2017 10:54
In call bug of GT-S758x
--------- beginning of system
02-12 18:05:53.550 1464 1464 I vold : Vold 3.0 (the awakening) firing up
02-12 18:05:53.551 1464 1464 V vold : Detected support for: exfat ext4 f2fs ntfs vfat
02-12 18:05:53.845 1464 1474 V vold : /system/bin/sgdisk
02-12 18:05:53.845 1464 1474 V vold : --android-dump
02-12 18:05:53.845 1464 1474 V vold : /dev/block/vold/disk:179_32
02-12 18:05:53.851 1464 1508 D vold : e4crypt_init_user0
02-12 18:05:53.851 1464 1508 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
02-12 18:05:53.851 1464 1508 D vold : Preparing: /data/system/users/0
02-12 18:05:53.859 1464 1508 D vold : Preparing: /data/misc/profiles/cur/0
This file has been truncated, but you can view the full file.
--------- beginning of system
02-18 15:03:45.508 1461 1461 I vold : Vold 3.0 (the awakening) firing up
02-18 15:03:45.509 1461 1461 V vold : Detected support for: exfat ext4 f2fs ntfs vfat
02-18 15:03:45.794 1461 1471 V vold : /system/bin/sgdisk
02-18 15:03:45.794 1461 1471 V vold : --android-dump
02-18 15:03:45.794 1461 1471 V vold : /dev/block/vold/disk:179_32
02-18 15:03:45.801 1461 1504 D vold : e4crypt_init_user0
02-18 15:03:45.801 1461 1504 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
02-18 15:03:45.801 1461 1504 D vold : Preparing: /data/system/users/0
02-18 15:03:45.802 1461 1504 D vold : Preparing: /data/misc/profiles/cur/0
From 298c82e03c102b484cb46d6ca9328a78c60816ec Mon Sep 17 00:00:00 2001
From: Park Ju Hyung <qkrwngud825@gmail.com>
Date: Tue, 15 Nov 2016 16:59:43 +0900
Subject: [PATCH] jni: consider /data/app to the fd whitelist if Xposed is
detected
Latest security update has added whitelisting routine to the Zygote.
Since Xposed now reads from /data/app,
it's necessary to add /data/app to the whitelist.
@TheComputerGuy96
TheComputerGuy96 / f9aac6ff4485f9e90b140751cc21ed38a2615920.patch
Created February 25, 2017 14:27
main.mk: Workaround Java 8 errors
From f9aac6ff4485f9e90b140751cc21ed38a2615920 Mon Sep 17 00:00:00 2001
From: Aidas Jonikas <tcg96nougat@gmail.com>
Date: Sat, 25 Feb 2017 16:22:49 +0200
Subject: [PATCH] main.mk: Workaround Java 8 errors
---
build/core/main.mk | 1 -
1 file changed, 1 deletion(-)
diff --git a/build/core/main.mk b/build/core/main.mk
@TheComputerGuy96
TheComputerGuy96 / wifinotworking.txt
Created March 13, 2017 12:08
Log of Wi-Fi not working in LOS 14.1
--------- beginning of system
03-12 12:09:56.794 1466 1466 I vold : Vold 3.0 (the awakening) firing up
03-12 12:09:56.795 1466 1466 V vold : Detected support for: exfat ext4 f2fs ntfs vfat
03-12 12:09:57.077 1466 1508 D vold : e4crypt_init_user0
03-12 12:09:57.077 1466 1508 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
03-12 12:09:57.077 1466 1508 D vold : Preparing: /data/system/users/0
03-12 12:09:57.081 1466 1475 V vold : /system/bin/sgdisk
03-12 12:09:57.081 1466 1475 V vold : --android-dump
03-12 12:09:57.081 1466 1475 V vold : /dev/block/vold/disk:179_32
03-12 12:09:57.081 1466 1508 D vold : Preparing: /data/misc/profiles/cur/0
@TheComputerGuy96
TheComputerGuy96 / updater-script
Created April 2, 2017 10:52
Updated updater-script of Flyme OS for GT-S7580 by namterai2003
assert(getprop("ro.product.device") == "kylepro" || getprop("ro.build.product") == "kylepro" || abort("This package is for device: kylepro; this device is " + getprop("ro.product.device") + "."););
ui_print(" ");
ui_print("FLYME OS 5.1.5.20R");
ui_print(" FOR GT-S7580 ");
ui_print("PORT BY namterai2003");
ui_print("THX TO UHES MONSTER");
ui_print("THX TO UHES MASTER");
ui_print("THX TO DEV GALAXY S3");
ui_print("THX TO ALL USER ACE3 INDONESIA");
ui_print("THX TO XDA DEVELOVER ACE3");
@TheComputerGuy96
TheComputerGuy96 / lpmorplaylpm
Created April 30, 2017 16:55
Modified /system/bin/lpm and /system/bin/playlpm file to boot a Samsung device into Android if charger is inserted
#!/system/bin/sh
# Run "chmod 755 /system/bin/playlpm; chown 0:2000 /system/bin/playlpm || chmod 0:2000 /system/bin/lpm; chown 0:2000 /system/bin/lpm" with root access after creating this file
/system/bin/reboot
@TheComputerGuy96
TheComputerGuy96 / aosp712losrecordertest.txt
Created August 5, 2017 20:00
LOS Recorder app screen recording fail on Samsung Galaxy Trend Plus
--------- beginning of main
08-05 22:41:39.012 1545 1592 D hawaii.hwcomposer: FBDevice::vsync called 64 times
08-05 22:41:40.005 1545 1592 D hawaii.hwcomposer: FBDevice::vsync called 63 times
08-05 22:41:41.001 1545 1592 D hawaii.hwcomposer: FBDevice::vsync called 64 times
08-05 22:41:41.078 1545 1545 D hawaii.hwcomposer: FBDevice::post called 1 times [0 0 1 0 0 0 0 0]
08-05 22:41:41.171 1865 1874 I art : Background partial concurrent mark sweep GC freed 16616(1242KB) AllocSpace objects, 4(144KB) LOS objects, 14% free, 23MB/27MB, paused 2.410ms total 170.043ms
08-05 22:41:42.000 1545 1592 D hawaii.hwcomposer: FBDevice::vsync called 65 times
08-05 22:41:43.001 1545 1592 D hawaii.hwcomposer: FBDevice::vsync called 64 times
08-05 22:41:44.000 1545 1592 D hawaii.hwcomposer: FBDevice::vsync called 64 times
08-05 22:41:45.012 1545 1592 D hawaii.hwcomposer: FBDevice::vsync called 65 times