Skip to content

Instantly share code, notes, and snippets.

View Caio99BR's full-sized avatar
🫠
Keep running!

Caio Oliveira Caio99BR

🫠
Keep running!
View GitHub Profile
I/CameraClient( 1401): Opening camera 0
E/Morpho_Feature( 1401): void android::MORPHOFeature::Read_Morpho_Parameter() : Config file not found !
E/Morpho_Feature( 1401): void android::MORPHOFeature::Read_Morpho_Parameter() : Config file not found !
E/Morpho_Feature( 1401): void android::MORPHOFeature::Read_Morpho_Parameter() : Config file not found !
E/Morpho_Feature( 1401): void android::MORPHOFeature::Read_Morpho_Parameter() : Config file not found !
E/Morpho_Feature( 1401): void android::MORPHOFeature::Read_Morpho_Parameter() : Config file not found !
E/Morpho_Feature( 1401): void android::MORPHOFeature::Read_Morpho_Parameter() : Config file not found !
E/QCamera2HWI( 1401): [KPI Perf] int qcamera::QCamera2HardwareInterface::openCamera(hw_device_t**): E PROFILE_OPEN_CAMERA camera id 0
D/QCameraStateMachine( 1401): static void* qcamera::QCameraStateMachine::smEvtProcRoutine(void*): E
D/QCamera2HWI( 1401): static void* qcamera::QCamera2HardwareInterface::defferedWorkRoutine(void*): start data proc
<3>[ 2.927249] s5k5ca_match_id: s5k5ca: rc:-107 read id failed
<3>[ 2.932774] s5k5ca_sensor_power_up:643 match id failed rc -107
<6>[ 2.938647] s5k5ca_sensor_power_up: HW_VERSION_GPIO = [85], HW_VERSION = [1]
<3>[ 2.945586] msm_sensor_i2c_probe s5k5ca power up failed
<4>[ 2.950891] s5k5ca: probe of 6-0078 failed with error -107
#!/bin/bash
## Build Script by Caio Oliveira aka Caio99BR <[email protected]>
# For Open-PS2-Loader
## Thanks to:
# - izdubar@psx-scene and jimmikaelkael@psx-scene
# <http://psx-scene.com/forums/f150/%5Blinux%5D-opl-compile-guides-63749/>
# - Bat Rastard@psx-scene and doctorxyz@psx-scene
# <http://psx-scene.com/forums/f150/2015-linux-mint-vm-creation-opl-compiling-guide-ps2sdk-127047/index3.html#post1169435>
# - and a lot of people around internet :)
[ 2.768624] qcom,qpnp-rtc qpnp-rtc-df10a600: rtc core: registered qpnp_rtc as rtc0
[ 2.776616] i2c /dev entries driver
[ 2.784489] peter: s5k5ca_init_module:557
[ 2.787791] s5k5ca_init_module:562 rc -19
[ 2.791601] msm_s5k5ca_i2c_probe, E.
[ 2.794948] 78, E.
[ 2.797115] peter: s5k5ca_sensor_power_up:609
[ 2.831546] peter: s5k5ca_sensor_power_up:640 clk_rate:24000000 clk_info_size:2
[ 2.879203] peter: s5k5ca_match_id, E. calling i2c_read:, i2c_addr:78, id_reg_addr:f12
[ 2.886952] qup_i2c f9928000.i2c: QUP: I2C status flags :0xc1300c8, irq:132
@Caio99BR
Caio99BR / autoconfirm-license-sdk-questions
Last active January 1, 2017 18:09
Update SDK, autoconfirm license questions
#!/bin/bash
# Update SDK, autoconfirm license questions
expect -c '
set timeout -1 ;
spawn ${1} update sdk --no-ui --all;
expect {
"Do you accept the license" { exp_send "y\r" ; exp_continue }
eof
}
'
<6>[ 291.985612] SysRq : Show Blocked State
<6>[ 291.985625] task PC stack pid father
<6>[ 291.985653] kworker/0:2 D c0a4a54c 5732 95 2 0x00000000
<4>[ 291.985695] [<c0a4a54c>] (__schedule+0x3b8/0x7a4) from [<c0a4a9d0>] (schedule_preempt_disabled+0x24/0x34)
<4>[ 291.985715] [<c0a4a9d0>] (schedule_preempt_disabled+0x24/0x34) from [<c0a49958>] (__mutex_lock_slowpath+0x11c/0x1a4)
<4>[ 291.985734] [<c0a49958>] (__mutex_lock_slowpath+0x11c/0x1a4) from [<c0a49a1c>] (mutex_lock+0x3c/0x40)
<4>[ 291.985755] [<c0a49a1c>] (mutex_lock+0x3c/0x40) from [<c04fde14>] (elan_ktf2k_ts_check_work_func+0x70/0x19c)
<4>[ 291.985775] [<c04fde14>] (elan_ktf2k_ts_check_work_func+0x70/0x19c) from [<c019d130>] (process_one_work+0x124/0x4dc)
<4>[ 291.985792] [<c019d130>] (process_one_work+0x124/0x4dc) from [<c019d83c>] (worker_thread+0x168/0x43c)
<4>[ 291.985810] [<c019d83c>] (worker_thread+0x168/0x43c) from [<c01a27a0>] (kthread+0xa4/0xb0)
V/ClClient( 3007): RECV(74) +0,5s KeepAliveResponse_5{hasEstablishedSession=true}
D/Documents( 3715): Current stack:
D/Documents( 3715): * Root{authority=com.github.chenxiaolong.dualbootpatcher.snapshot.neuteredsaf.externalstorage.documents, rootId=179:65, title=179:65}
D/Documents( 3715): +-- Document{docId=179:65��, name=sdcard1}
D/Documents( 3715): userMode=0, userSortOrder=0 --> mode=1, sortOrder=1
D/Documents( 3715): Current stack:
D/Documents( 3715): * Root{authority=com.github.chenxiaolong.dualbootpatcher.snapshot.neuteredsaf.externalstorage.documents, rootId=179:65, title=179:65}
D/Documents( 3715): +-- Document{docId=179:65��MB, name=MB}
D/Documents( 3715): +-- Document{docId=179:65��, name=sdcard1}
D/Documents( 3715): userMode=0, userSortOrder=0 --> mode=1, sortOrder=1
@Caio99BR
Caio99BR / make_changelog_2.sh
Created October 22, 2016 16:11
Fixed make_changelog
#!/bin/bash
hg log --template '{author|person} - {desc|firstline} - {date|date}\n' > /tmp/commit_summary
if [[ -d .hg || -d .git ]]; then
a=0
while read line; do
a=$(($a + 1))
done < /tmp/commit_summary
#!/bin/bash
hg log --template '{author|person} - {desc|firstline} - {date|date}\n' > /tmp/commit_summary
if [[ -d .hg || -d .git ]]; then
a=0
while read line; do
a=$(($a + 1))
done < /tmp/commit_summary
E/qomx_image_core( 221): OMX_Init:94] Complete 2
E/QCameraHWI_Mem( 221): int qcamera::QCameraMemory::alloc(int, int, int) : No memory pool available
D/QCameraHWI_Mem( 221): static int qcamera::QCameraMemory::allocOneBuffer(qcamera::QCameraMemory::QCameraMemInfo&, int, int, bool) : ION buffer 0x1 with size 1048576 allocated
D/QCameraParameters( 221): int32_t qcamera::QCameraParameters::initBatchUpdate(void*):Initializing batch parameter set
D/QCameraParameters( 221): int32_t qcamera::QCameraParameters::initDefaultParameters(): supported preview sizes: 800x600,800x450,640x480,576x432,480x320,384x288,352x288,320x240,240x160,176x144
D/QCameraParameters( 221): int32_t qcamera::QCameraParameters::initDefaultParameters(): supported video sizes: 800x600,640x480,480x320,352x288,320x240,176x144
D/QCameraParameters( 221): int32_t qcamera::QCameraParameters::initDefaultParameters(): supported pic sizes: 2048x1536,1920x1080,1632x1224,1600x1200,1280x960,1280x720,1024x768,800x600,800x480,720x480,640x480,352x288,320x2