Engineering and technology notes

UPDATE – System OS to 6.0 – Home Assistant OS – Home Assistant Community

Finally after half year I fixed it. The filesystem had error. I did:

  • downloaded ubuntu iso on host machine
  • attached iso as CD-ROM
  • turned off UEFI
  • turned off boot from hard drive
  • set up CD-ROM as first device to boot
  • started virtual machine and selected boot from CD-ROM
  • after ubuntu started I launched gparted, selected disk with HA and run check/fix on data partition (twice)
  • powered off virtual device
  • unchecked boot from CD-ROM, checked boot from HD and moved it to first position
  • moved HD in boot order to top
  • started the virtual machine. no Ctrl-D was required

 

Source: UPDATE – System OS to 6.0 – Home Assistant OS – Home Assistant Community

UPDATE – System OS to 6.0 – Home Assistant OS – Home Assistant Community was last modified: July 20th, 2022 by Jovan Stosic

How do I play a video in Android with zero volume while simultaneously playing music using another MP3 player app at full volume?

  1. Download MX player(for video) and playmusic/Spotify or any app for music/MP3 playback.
  2. Open MX player
  3. Then go to local Player settings> Player> Playback section> and uncheck play alone option.
  4. Go to equaiizer settings (of max player) and make everything( all frequencies) to 0.
  5. Now you can play any video on MX player with zero volume while simultaneously playing music using another MP3 player app at full volume.

Note! If you have a samsung device you can do it by samsung’s built in soundassistant settings.

https://www.quora.com/How-do-I-play-a-video-in-Android-with-zero-volume-while-simultaneously-playing-music-using-another-MP3-player-app-at-full-volume

How do I play a video in Android with zero volume while simultaneously playing music using another MP3 player app at full volume? was last modified: July 8th, 2022 by Jovan Stosic

Ubuntu 20.04 shows a black screen when connecting through Teamviewer, but I still have ssh access. How can I get back the desktop?

If you have a headless machine (ie: no monitor plugged into it) you’ll need to either install a “HDMI headless dummy connector” or you can install a Video Dummy Package:

sudo apt-get install xserver-xorg-video-dummy

Then add a configuration file for it:

sudo vi /usr/share/X11/xorg.conf.d/xorg.conf

and paste this (adjusting your desired resolution)

Section "Device"
    Identifier  "Configured Video Device"
    Driver      "dummy"
EndSection

Section "Monitor"
    Identifier  "Configured Monitor"
    HorizSync 31.5-48.5
    VertRefresh 50-70
EndSection

Section "Screen"
    Identifier  "Default Screen"
    Monitor     "Configured Monitor"
    Device      "Configured Video Device"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1920x1080"
    EndSubSection
EndSection

Then reboot the machine and voilá

 

Source: Ubuntu 20.04 shows a black screen when connecting through Teamviewer, but I still have ssh access. How can I get back the desktop? – Ask Ubuntu

Ubuntu 20.04 shows a black screen when connecting through Teamviewer, but I still have ssh access. How can I get back the desktop? was last modified: July 8th, 2022 by Jovan Stosic

LED Drivers vs. Light Ballasts | IKIO

Both LEDs and fluorescent lights require a buffer between the lamp and the power supply. While fluorescents use ballasts, LEDs use drivers. Even though the function of ballasts and drivers are quite similar, most documentation prefers ‘drivers’ to be associated with LED lamps and ‘ballasts’ to other traditional light sources. Ballasts and drivers are essential components to trigger and control the light fixtures.

Source: LED Drivers vs. Light Ballasts | IKIO

LED Drivers vs. Light Ballasts | IKIO was last modified: July 7th, 2022 by Jovan Stosic

Root Note8 (Exynos) + OEM Issue Fix + EFS Backup (Note8/S8/S8+) | XDA Forums

How to Use

1.Enable Developer Option (settings – about phone – Software information – Tap 7 times on build number to activate developer option in settings menu)
2.Enable OEM Unlock from developer option (Read above for workaround if you don’t have this option)
3.Download and copy N950F_root_OEM_issue_devices.zip according Oreo/Pie to Ext SD card
4.Download TWRP for N8
5.Switch Off device
6.Press Vol down + Bixby + Power to reboot to download mode, press volume up when asked to continue to download mode
7Download Odin and open it, Disable ‘Auto reboot’ from option menu of Odin
8.Select TWRP (tar image) with AP tab of Odin and Start
9.Once Successfully flashed, you will see ‘Passed’ in Odin tab
10.Disconnect device and hold Vol down + power till screen goes off, Now immediately press Vol Up + Bixby + Power to reboot to TWRP
11.Select to allow modification
12.From TWRP, Select WIPE menu – Then FORMAT DATA – You need to type ‘yes’ to perform wipe. WARNING : This will erase all data including Int SD storage from device
13.Once format device completes, go back and select REBOOT’ Menu and then – ‘RECOVERY’, This will reboot to TWRP again
14.Now select Install and navigate path to Ext SD card – N950F_root_OEM_issue_devices.zip, you have copied earlier
15.Once Magisk flash successfully, Reboot to System
Open settings – Developer option – Look for OEM Unlock option. If it is there, it is safe to reboot device.
Credits and Thanks goes to BlackMesa123 for this post for OEM patch script.

Important Note for Pie – There will be OEM unlock option there in developer setting but it will be disabled and can not enabled, this is because of it is hacked. Just ignore it. You can not boot device with TWRP if it is really disabled. Also If magisk app may not appear then simply download Magisk_for_Pie.apk from below attachement and install as regular app.

Source: [Guide] (Oreo) Root Note8 (Exynos) + OEM Issue Fix + EFS Backup (Note8/S8/S8+) | XDA Forums

Root Note8 (Exynos) + OEM Issue Fix + EFS Backup (Note8/S8/S8+) | XDA Forums was last modified: July 6th, 2022 by Jovan Stosic