Tech blog

This blog is for my future and past info and reviews on various tech stuff….

Phones / Phablets
Compact cameras
Various tech
Various tech stuff
Resolution and Noise
Batteries and usage
Code examples
Other stuff
Other stuff

Newer reviews can be expected to be ongoing projects, with minor additions or corrections.

Note: When I rate stuff, a 10/10 does not indicate perfect in an absolute academic sense, but as in (at least) as good as could be expected at the time, minor flaws allowed. For portable devices typically limited by the size and weight. Value for money also counts. An electronic device that got a high score in 2005, most likely would seem like pure trash ten years later….


  • Blackberry Priv mystery update AAW068 finally arrives

    I finally got the mystery update AAW068 offered

    Continue reading...</p> <p> </p> <p>
  • BlackBerry Priv AT&T Autoloaders, including old for debloating!

    If you want to reapply firmware to an AT&T priv that has been debloated, AND keep it debloated, you need a little trickery…

    Continue reading...</p> <p> </p> <p>
  • More on Windows and scaling

    About a year ago I made a post on windows scaling

    So I tried to see if they have fixed stuff the past year – and NO it is actually worse now…

    Continue reading...</p> <p> </p> <p>
  • C# Set volume example

    It took me quite some digging to find a clean way to set the standard default volume without external libs. So here the result.

    If you do not want the console output, remove the writeline, and change the project from Console to Windows App.

    I suggest using it as a Scheduled Task triggered by connect to user session and/or similar.

    It is composed of a couple of bits and pieces combined/reduced primarily from these three.

    using System;
    using System.Runtime.InteropServices;
    namespace SetAudioLevel {
        class Program {
            [Guid("A95664D2-9614-4F35-A746-DE8DB63617E6"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
            private interface IMMDeviceEnumerator {
                void _VtblGap1_1();
                int GetDefaultAudioEndpoint(int dataFlow, int role, out IMMDevice ppDevice);
            private static class MMDeviceEnumeratorFactory {
                public static IMMDeviceEnumerator CreateInstance() {
                    return (IMMDeviceEnumerator)Activator.CreateInstance(Type.GetTypeFromCLSID(new Guid("BCDE0395-E52F-467C-8E3D-C4579291692E"))); // a MMDeviceEnumerator
            [Guid("D666063F-1587-4E43-81F1-B948E807363F"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
            private interface IMMDevice {
                int Activate([MarshalAs(UnmanagedType.LPStruct)] Guid iid, int dwClsCtx, IntPtr pActivationParams, [MarshalAs(UnmanagedType.IUnknown)] out object ppInterface);
            [Guid("5CDF2C82-841E-4546-9722-0CF74078229A"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
            public interface IAudioEndpointVolume
                //virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RegisterControlChangeNotify(/* [in] */__in IAudioEndpointVolumeCallback *pNotify) = 0;
                int RegisterControlChangeNotify(IntPtr pNotify);
                //virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE UnregisterControlChangeNotify(/* [in] */ __in IAudioEndpointVolumeCallback *pNotify) = 0;
                int UnregisterControlChangeNotify(IntPtr pNotify);
                //virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetChannelCount(/* [out] */ __out UINT *pnChannelCount) = 0;
                int GetChannelCount(ref uint pnChannelCount);
                //virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetMasterVolumeLevel( /* [in] */ __in float fLevelDB,/* [unique][in] */ LPCGUID pguidEventContext) = 0;
                int SetMasterVolumeLevel(float fLevelDB, Guid pguidEventContext);
                //virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetMasterVolumeLevelScalar( /* [in] */ __in float fLevel,/* [unique][in] */ LPCGUID pguidEventContext) = 0;
                int SetMasterVolumeLevelScalar(float fLevel, Guid pguidEventContext);
                //virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetMasterVolumeLevel(/* [out] */ __out float *pfLevelDB) = 0;
                int GetMasterVolumeLevel(ref float pfLevelDB);
                //virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetMasterVolumeLevelScalar( /* [out] */ __out float *pfLevel) = 0;
                int GetMasterVolumeLevelScalar(ref float pfLevel);
            static void Main(string[] args) {
                int Level = 20;
                if (args.Length == 1) { int.TryParse(args[0], out Level); }
                try {
                    IMMDeviceEnumerator deviceEnumerator = MMDeviceEnumeratorFactory.CreateInstance();
                    IMMDevice speakers;
                    const int eRender = 0;
                    const int eMultimedia = 1;
                    deviceEnumerator.GetDefaultAudioEndpoint(eRender, eMultimedia, out speakers);
                    object aepv_obj;
                    speakers.Activate(typeof(IAudioEndpointVolume).GUID, 0, IntPtr.Zero, out aepv_obj);
                    IAudioEndpointVolume aepv = (IAudioEndpointVolume)aepv_obj;
                    Guid ZeroGuid = new Guid();
                    int res = aepv.SetMasterVolumeLevelScalar(Level / 100f, ZeroGuid);
                    Console.WriteLine($"Audio set for {Level}%");
                } catch (Exception ex) { Console.WriteLine($"**Could not set audio level** {ex.Message}"); }


    Continue reading...</p> <p> </p> <p>
  • BlackBerry Priv, 5¼days stamina, no tricks. Display on 50m/day

    The BB Priv has a pretty nice stamina, if it is not too infested with bloat (mine is debloated).

    Though some complains that a 3410 mAh battery is too small for a phablet with a 5.4″ QFHD display, it is enough for me.

    5¼ days on 96% battery

    This is with no trickery of radios off or similar. 4G, WiFi, NFC all turned on. GPS off though. ADD: BT off too.

    Continue reading...</p> <p> </p> <p>


Blog in English (well sort of, bare with me, non-native…), a few earlier than 2010 are just blunt copies of the source texts in Danish – Google translate helps here….

Collecting of old stuff started May 2015. Entries are generally attempted dated with original stamps, even if they are somewhat updated since, several reviews have been ongoing ‘projects’.