[12864/SSD1306] Video Player

It is a python script for playing videos on 12864 over SPI sockets, and you can download all the files from GitHub.

Demo

Modules
Adafruit_GPIO.SPI
Adafruit_SSD1306

Setting Up
Configure your 128464 by following this tutorial

sudo apt-get install python-pip
sudo apt-get install python-pygame
sudo pip install opencv-python
# Ports used for the Display. You may have to change them to yours
RST = 25
DC = 24

How to Use

# sudo python player.py file_path
# Play BadApple.zip
sudo python player.py BadApple.zip

Convert a video
I provided a m file for matlab for converting videos while you can also convert any videos with opencv

[TicFirm] a tool for sniffing Ticwatch Firmware (Python script updated)!

The tool is still in its alpha stage as some functions may not work as expected, such as the alpha firmware discovery.
这是一个可以用来为Ticwatch 抓取 Ticwear 刷机包的工具,当前还在测试阶段,很多功能尚未实现,比如Alpha版的固件不能很好的获取。

Warning: this tool is only used for test purpose. Be aware of what you are doing with your watch, and I will not be responsible for breaking your device.
警告:该工具只用作测试意图。请想清楚了再刷机,对于由任何该工具造成砖机之类的问题概不负责。如见目前不支持新出的手表如 Ticwatch S, E之类,切记。

Test Results:
1. Ticwatch2 international version -> Ticwath2 Chinese version: Succeed!
2. Ticwatch2 Downgrade to 4.8: Succeed!
3. Ticwatch2 switch version manually: Succeed!

测试结果:
1. Ticwatch2 海外版刷国内版的固件:成功
2. Ticwatch2 刷低版本固件(如4.8):成功
3. Ticwatch2 版本切换(开发板->正式版):成功

Steps:
1. Download your ROM, rename it to “update.zip” and place it in the root folder of sdcard of your watch,
2. Go to develop mode and update manually, wait for around 30 secs for the watch to process.
3. Reset your device after flashing a ROM.

刷写步骤:
1. 下载你需要的固件并重命名为“update.zip”,然后将改固件拷贝至手表存储的sd卡根目录
2. 进入开发者模式,点击手动升级即可。手表大约需要几十秒的时间来配置环境,请耐心等待即可
3.刷完后最好重置下手表。

Current Version / 当前版本: 0.2
Download Link / 下载链接: TicFirm v0.2

Ver 0.2:
– Updated most firmware links;
– Added support for all release & beta ROMs.
– Fixed bugs.
Ver 0.1:
– Achieved basic features.

Screenshot:

Advanced users/高级用户:
You can use the folling python script to sniffer any official roms with yourself. All the detected results will be saved into a csv file.
对于高级用户,你可以用以下python脚本来嗅探需要的固件,并且,所有的结果会被保存到csv文件中以供浏览及再利用。
Github: Ticfirm-sniffer

[Xperia XA/F3115]Stock_Marshmallow_ROM_Ultraslim (Full deodxed)

Thank to rrvuhpg‘s awesome root and recovery that allow us to install custom roms on Xperia XA. Hence, i have made a MM ROM which is fully deodexed and ultra slim, hope you will enjoy.

Based on F3115_Customized AU_1302-4361_33.2.A.4.70_R4A, and for F3115 devices only.
You have to unlock your bootloader and flash this rom.

Features:
– Full deodexed & Ultra slim
– Disabled signature verification (Not sure)
– Added AudioRecorder
– Modified Xperia Home
– Modified OEM partition
– Updated some apps (e.g: Music, Video, Album, etc.)

Simplified List:
– Video
– AnonymousData
– FaceLock
– Google Apps (except Play Store)
– Input Methods (except English)
– Live Wallpapers
– SonyEntrance
– Some widgets & plugins
– Smallapps (except Touchblock)
– Sony UpdateCenter
– SynHub
– Useless Camera plugins
– Tasks, etc.

Installation:
1. Unlock bootloader and flash boot and recovery by following rrvuhpg’s post.
2. Boot into recovery mode
3. Wipe Data, Cache and Dalvik Cache & flash this ROM
4. Flash other packages (e.g.: supersu, drm, xposed) if you want

Download:
– ROM: F3115_MM_33.2.A.4.70_ULTRASLIM.zip
(MD5: 71aef0aa3aa5cbffa8ed31a8a557bb39)

Further Step (Optional):
Because the rom occupies around 1.1 GB in system partition, you can shrink your system partition (to 1.5GB or 2GB, for example) and expand your userdata partition. I did it and i am sure you can heve a try. Here is the tutorial i followed.

Thanks:
@IgorEisberg for the XperiFirm
@rrvuhpg for the root and recovery

[MyIoT] A start with personal server for home automation

What is myIoT:
1. myIoT is a solution for home automation, it can be implemented on your Raspberry Pi. And it theoretically can enable you to control devices (include other embedded devices connected to the server) and acquire info of these devices.
2. It is currently based on python (sever part) and Android (Client)
3. It can process HTTPS and Socketio requests.

Github link: https://github.com/xswxm/MyIoT

It currently can handle HTTPS and Socketio requests, UDP could be patched to it later so we can do some fancy things like having audio or video conversations, just blow you image and it can control everything.

Screenshots: