01 December 2017

Android Emulator does not Launch in Ubuntu 17.10

I tried to run the Android Studio 3 emulator on fresh installed Ubuntu 17.10 to test an app I'm working on. And I got this error in Android Studio Event Log:

libGL error: unable to load driver: i965_dri.so
AVD Emulator: Process finished with exit code -1

Type in Terminal:

$ cd ~/Android/Sdk/emulator/lib64/libstdc++
$ mv libstdc++.so.6 libstdc++.so.6.bak
$ ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 libstdc++.so.6

That's it!

Now my Android Studio 3 emulator is working again!

HP 850 G3 Grub Multiboot Ubuntu and Windows 10 on UEFI

After I installed Microsoft Windows 10, and then alongside Ubuntu, with UEFI bootabled USB disks,
last setup (Ubuntu) created Grub configuration, which is listed in HP UEFI BIOS sequence, but after power on, system get Grub Bush command prompt, without listed operating systems, like Ubuntu, Windows e.t.c., unabled to boot.

Solution: In HP BIOS setup put in a 5 (or more) seconds delay in the "Boot Options" menu. Then, when you switch on your notebook, you'll have 5 (or more) seconds to choose "ubuntu" among the possible boot options (it should be the first one).

I think that those 5 seconds delay give HP enough time to recall all UEFI and other partitions and successfully recall Grub menu.

06 November 2017

How to solve FreshRSS cron job - actualize_script.php file not found - error 404

If you get - file not found - error 404 - after update FreshRSS,
- just change the actualize_script.php file permission to '0644' from your cPanel File Manager and script will be accessible from cron-job.org.
- and put .htaccess in same folder with these lines:

order deny,allow
Allow from all
Satisfy all

06 September 2017

Android SDK emulator - GPU driver issues

If you have an Intel HD Graphics running the Android SDK emulator in slow software mode, it's intended that a compatibility OpenGL renderer is not used.

I'm sorry about it, but we need to be able to switch to better-supported Intel GPU drivers especially when running high API levels (25+) of system images. Intel iGPUs of that generation (and older) have many issues with OpenGL compatibility.

You could try in terminal:

emulator -list-avds
emulator -avd <AVD_NAME> -gpu host

but that is not permanent fix.

Real resolution to this problem is fine tune the Android emulator with next procedure:

If you'd still like to use the native OpenGL renderer on a Intel HD GPU (at your own risk), go to :

Settings (in Android emulator)
section: General

option: OpenGL ES renderer (requires restart)
select: ANGLE (D3D9)

option: OpenGL ES API level (requires restart)
select: Compatibility (OpenGL ES 1.1/2.0)

and restart your Android emulator in HAX fast virtual mode with hardware rendering...

Source: Google Issue Tracker - Discussion : GPU driver issue

01 September 2017

Wordpress Newspaper 8.1 theme - Activation method

First of all go this path /includes/wp_booster/td_cake.php.
Open td_cake.php file in any PHP editor.

function td_cake_manual($s_id, $e_id, $t_id)
and change below code

if (md5($s_id . $e_id) == $t_id) {
return true;
} else {
return false;


if (md5($s_id . $e_id) == $t_id) {
return true;
} else {
return true;

Then open includes/wp_booster/td_ajax.php
on line 891 replace: return false; with return true;

Then go to theme panel go to Activate theme, click Activate the theme manually (at the bottom (footer)) use any code and key without any error.

31 August 2017

LG G2 D802 - How to increase volume level in Lineage OS

You can just turn up the volume by changing the standard volume using the standard CM File Manager in root mode or with adb terminal :

Open terminal and send:

  • adb root
  • adb pull /system/etc/mixer_paths.xml

edit the file with your favorite editor like this:

  • <path name="speaker">
  •     ...
  •     <ctl name="RX7 Digital Volume" value="69" />
  • </path>

go back in your terminal and send:

  • adb remount
  • adb push mixer_paths.xml  /system/etc/mixer_paths.xml
Just change, save, reboot and test.

This worked great for me. 
Changed the speaker volume as well as the in-call as well.

29 August 2017

LG G2 D802 - How to update LineageOS Nightly

To update LG G2 D802 mobile phone with Lineage OS Nightly ROM, before complete procedure, you should also download these files:

Restart your phone into TWRP Recovery mode.

  • Install lineage-14.1-20170814-nightly-d802-signed.zip
  • Wipe Dalvik Cache
  • Install open_gapps-arm-7.1-nano-20170818.zip
  • Install addonsu
  • Choose : Restart

Wait patiently on this next boot and you are on fresh nightly rom...

Lineage OS Nightly - How to fix Google Play services force close

This error of Google Play services occurs due to improper Google Webview implementation or if there is not Google web view installed in your device.

So now that we know the problem due to which Google Play services occur, we can fix this error by enabling or reinstalling the Google Web view application.

  • Mute Force Close window
  • Install Android System WebView from Google Play
  • Go to Settings, in About Phone, press Build Number, until it appears that you are a developer.
  • Back to settings, in Developer Options, go to WebView Implementation and select “Google WebView.”
Restart your phone and that error should be fixed.

23 August 2017

LG G2 D802 - How to fix mobile phone heating issues

If you are have heating issues with your LG G2 and have stock firmware Android 5, then flash Lineage OS 14.1 Android 7 where is better battery optimization and your phone will stay cold.

Just follow this guide - LG G2 D802 - How to flash LineageOS custom ROM - and problem is solved.

22 August 2017

How to stop ransomware virus infection on your Windows PC

If you have accidentally opened some suspicious emails and reported background processes over your files or their current unavailability instantly, maybe you just get one of new ransomware virus, which is very fast and destructive, so you should download, install and run next applications:

Start Scan&Clean procedure in both applications and you may be lucky to clean your system and stop the infection.

LG G2 D802 - How to fix GPS signal

If you have GPS problems with your LG G2 D802 the problem is in hardware.

Your battery cover have weak connectors for anntenas and you can :


  • Replace existing battery cover with the new one

Every software fix like GPS Status & Toolbox has no results, as the phone have this hardware bug.

LG G2 D802 - How to flash LineageOS custom ROM

To flash LG G2 D802 mobile phone with Lineage OS custom rom you must first root your phone and install TWRP Recovery with One Click ROOT+TWRP Recovery which you should download from XDA forum.

Before complete procedure you should also download these files:

Extract LGG2-D802-OneClickRootRecoveryV1.1.zip to one folder and open Command Prompt there.

Set your LG G2 to USB Debugging mode, plug in your phone’s USB cable and confirm USB connection on your phone.

Check if PC see your phone with > adb devices
You should see > device in list

Now, start OneClick_ROOT_RECOVERY.bat and follow instructions.

Procedure will root your phone and after that will be prompted message to press Ctrl-C to break root shell with N and Enter.

After that batch program will install TWRP and exit with restart phone in TWRP Recovery mode.

Then select Wipe > Advanced wipe and select all partitions and wipe them.

Now copy these files to phone with commands >\

  • adb push lineage-14.1-20170814-nightly-d802-signed.zip /sdcard
  • adb push open_gapps-arm-7.1-nano-20170818.zip /sdcard
  • adb push addonsu-14.1-arm-signed.zip /sdcard
  • adb push YahooWeatherProvider.apk /sdcard

After that in TWRP select to Install lineage, opengapps and addonsu. LineageOS setup will display some log errors and you just ignore them.

Now you should choose Restart and your phone will StartUp with freash and clean Lineage OS.

LG G2 D802 - How to flash stock firmware

To restore LG G2 D802 mobile phone use LG Mobile Support Tool from UK LG Support page.

Set your LG G2 to Download mode >

  • Your phone must be turned off before starting the steps from this guide.
  • So, press power button and select “power off”.
  • Then, press the Volume Up button on your LG G2.
  • While you are holding the volume up button, plug in your phone’s USB cable.
  • Keep pressing the Volume up button until the download mode is being displayed.

Then connect your mobile phone with USB cable and start LG Mobile Support Tool as Administrator, with right click on Application icon.

Choose option > Install USB Driver, to install LG drivers.

Select Options > Upgrade Recovery option and follow further instructions.

Application will download latest firmware for your LG G2 mobile phone and flash it.

After successful process, when phone bootup for the first time, break this operation with Power button to PowerOff the phone and start Factory Reset procedure.

  • Press and hold the Volume Down button and the Power button. 
  • When the LG logo is displayed release the Power button only then immediately press and hold the Power button again. 
  • Release both buttons when the Factory data reset screen displays. 
  • From the Factory data reset screen, select Yes.

After that, your phone will StartUp with fresh installed latest stock firmware...

09 August 2017

Enable Remote Desktop Services after MS Windows 10 Creators Update

If you

  • cannot enable New Incoming Connection, Under File Menu in Network Connections or 
  • cannot start Windows Service > Remote Desktop Services

Follow this RegEdit Fix:

  • Search for “regedit” using Cortana, then run the regedit command in search results to launch Registry Editor.
  • Navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan
  • Create a new DWORD (Edit > New > DWORD)
  • Name the new DWORD SvcHostSplitDisable
  • Open the new DWORD, set the value to = 1, then click OK
  • Navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteAccess
  • Create a new DWORD (Edit > New > DWORD)
  • Name the new DWORD SvcHostSplitDisable
  • Open the new DWORD, set the value to = 1, then click OK
  • Restart your PC (Start > Power > Restart)

27 July 2017

UEFI vs Legacy BIOS mode on Windows 10 SSD

In my opinion and after real experience in both cases, I must admit that Legacy BIOS mode is FASTER then UEFI BIOS, because UEFI use additional partition on SSD, which slows down performance of Windows 10.

Maybe, measuring boot times goes on UEFI side, but after that, performance of Windows is significantly faster with Legacy BIOS mode.

Your BIOS mode you can check with Run command : msinfo32. 

How to setup Unicode fields and variables in Delphi with UniDAC and MS SQL Server

To get Unicode characters in Delphi UniDAC and other controls you must convert next database field types :
  • Char -> NChar
  • VarChar -> NVarChar
  • Clob -> NClob
You can convert those fields automatic with ESF Database Migration Toolkit and in the "Data Type" page of "Setting" dialog: Checking "Transfer To National Type".

Also, then in Delphi you have to convert all database fields and code variable types :
  • String -> WideString
And after that actions - you will get full Unicode in all UniDac and other controls, even in design mode.