[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:

[Tricks] Enable immersive mode with ADB command

//Turn on immersive mode (hide both status and navigation bars)
adb shell settings put global policy_control immersive.full=*
//Hide the navigation bar only
adb shell settings put global policy_control immersive.navigation=*
//These commands could be applied to specific apps, just replace the "*" with package names
//For example, if we want to immersive the Chrome and the Maps, just use the following command
adb shell settings put global policy_control immersive.full=com.android.chrome,com.google.android.apps.maps
//Revert to the standard mode
adb shell settings put global policy_control null

[Xperia Z2 / D6503]Marshmallow_Stock_291_ROM_Ultraslim (Full deodxed)

Hi,bros, i have created a MM_ROM which is fully deodexed and ultra slim, hope you will enjoy.

Based on D6503_23.5.A.1.291_R4D_Customized_AU, and for D6503 devices only.
For both locked & unlocked devices (unlocked devices maight have to flash a additional package to restore DRM keys).

Features:
– Full deodexed & Ultra slim
– Rooted with SuperSU
– Disabled signature verification
– Added AudioRecorder
– Modified Xperia Home
– Xeria XZ Wallpapers
– Fixed usb configuration in Settings (parts)
– Adjusted lowest Brightness level to 4
– Newest hosts files (for AD blocking)
– Updated some apps (e.g: Music, Video, Album, etc.)

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

Installation:
1. Boot into recovery mode
2. Wipe Data, Cache and Dalvik Cache & flash this ROM
3. Flash other packages or mods(e.g.: xposed, camera mods…) if you want

Download:
– ROM: Z2_MM_23.5.A.1.291_ULTRASLIM.zip
(MD5: 15ad2ac2a000bdcdc1c954fdb1d640bf)

Thanks:
@IgorEisberg for the XperiFirm
@Laercio_lalau for the root files
@serajr for the Recovery

[Toturial] Enable ‘None’ option in screen lock for xperia devices running MM

This toturial is tested on Xperia Z2 running MM(291).

1. Decompile Settings.apk
2. Open ‘Settings\smali\com\android\settings\ChooseLockGeneric$ChooseLockGenericFragment.smali’
3. search key words ‘Lcom/android/settings/ChooseLockGeneric$ChooseLockGenericFragment;->disableUnusablePreferences(IZ)V’ to navigate an delete the following lines:

    .line 289
    invoke-virtual {p0, v3, v0}, Lcom/android/settings/ChooseLockGeneric$ChooseLockGenericFragment;->disableUnusablePreferences(IZ)V

screenshot_20161201-195520