March 20, 2020

HP Pavilion Power 15 (15-cb001xx): Fix AUDIO issues and other tips

Summary

Device: HP Pavilion Power - 15-cb001np
Driver: Realtek High-Definition (HD) Audio Driver (Windows 10 v1803) Direct Link
Driver version: 6.0.1.8412 Rev.D / 6.0.1.8554

Realtek's drivers are notorious for various issues going by the many forum and reddit posts one can find with a simple search. This particular version used by HP on its Pavilion devices has an issue with sound crackling or static noise (particularly when external USB devices are connected) and with audio delays which can quickly get annoying.

We'll be using the latest driver provided by HP (download link above) and will change a few settings in the registry. We'll also be looking at preventing the Realtek HD Audio Manager or B&O Play Audio Control from connecting to the internet (for privacy reasons).

MAKE SURE YOU'RE USING THE LATEST DRIVER VERSION BEFORE PROCEEDING

Fix 3 second audio delay (headphones)

If you're experiencing problems with audio playing only after 3 or so seconds while using headphones (for instance on Youtube, in video games, when watching a video), you should know that this is caused by an issue with Realtek's driver power management settings. 


Look for Realtek High Definition Audio in DriverDesc
Change the PowerSettings


  1.  Open the START menu
  2. Type in registry and launch REGISTRY EDITOR
  3. Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e96c-e325-11ce-bfc1-08002be10318}\ or copy and paste it directly into the registry.
  4. Open up that key (or folders), there you'll find a series of keys like 0000, 0001, 0002 etc.
  5. Find the key that has the DriverDesc value 'Realtek High Definition Audio' and open it (for me it was located in 0007, check the image above).
  6. Go into PowerSettings and double click on ConservationIdleTime, IdlePowerState and PerformanceIdleTime to change their values from 0a 00 00 00 to ff ff ff ff
  7. You're done, reboot your computer.

Fix B&O Play Audio Control not launching

If you've noticed a change in the sound quality it's because the B&O Audio control planel (or Realtek HD Audio Manager) sometimes fails to launch and apply the correct equalizer settings. To fix this we will have the sound manager launch every time we logon with help of the Windows Task Scheduler.





  1.  Open the START menu
  2. Type in task and launch TASK SCHEDULER
  3. On the left of the window select Task Scheduler Library then on the right pick 'Create Basic Task...'
  4. In the dialog that opens up give a name to the task and press Next, then select 'When I log on' when asked 'When do you wan the task to start?', press Next.
  5. When asked 'What action do you want the task to perform?' select 'Start a program'. Press Next.
  6. Now click on 'Browse...' and look for the program in 'C:\Program Files\Realtek\Audio\HDA\' then select the file RtkNGUI64.exe and press 'Open'.
  7. Right below in 'Add arguments (optional):' add the following: -s
  8. Press 'Next' and then select 'Open the Properties dialog for this task when I click Finish'.
  9. Press 'Finish'. 
  10. In the Properties dialog browse to the tab 'Conditions', then under Power untick 'Start the task only if the computer is on AC power'.
  11. Next go into the 'Settings' tab and check 'If the task is already running, then the following rule applies:' is set to 'Do not start a new instance'.
  12. Press OK, quit the Task Scheduler and reboot your computer to confirm everything is working correctly.

Prevent Realtek HD Audio Manager / B&O Play Audio Control to send telemetry

HP's audio manager has built-in telemetry according to their Privacy Policy and can connect to the internet to send that information. If you want to avoid this you'll have to block it in your firewall settings from accessing the internet with the use of your firewall. There are many tutorials on the internet on how to do this so no point in doing it here again, simple follow the image below if you need pointers.

Make sure to block these 3 executables: RtkNGUI64.exe / RtkAudioService64.exe / RtkAudioService64.exe.

September 30, 2016

Chuwi Hi8 Pro: Everything You Need To Know

Recently I acquired one of these cheap Windows tablets and it's a really beautiful and powerful device.

Image Copyright © 2016 CHUWI


It does have problems however, namely:

- No drivers for any other OS than Windows 10 exist
- Display has slight burn-in after long use
- Doesn't charge when using an USB Hub adapter
- SD card reader malfunctions
- Poor sound quality

These types of problems seem to occur across different brands (going by the many threads on tech forums) and are to be expected with products coming from cheap manufacturers, as is the case with Chuwi, Teclast, Onda etc. however for the price (~$80) you really can't complain. The Android side of things plays any game you can throw at it fluidly and the Windows side is powerful enough to do serious browsing and edit Excel spreadsheets without a problem.

In this article I will post solutions to the problems I encountered in the hopes it will be helpful for you as well.

Specifications


CPU Intel Atom X5 Z8300 @ 1.44GHz Cherry Trail 14nm Technology
RAM 2.00GB DDR3 @ 800MHz (11-11-11-28)
Motherboard Hampoo Cherry Trail CR (SOCKET 0)
Touchscreen LT080B21BA138 (1920x1200@50Hz)
Graphics Intel HD Graphics (max 50Hz)
Storage 32GB Generic NCard (eMMC)
Audio Intel SST Audio Device (WDM)


Intel HD Graphics Control Panel info
My tablet contains both Android (x86_64) and Windows 10 (x86) on its tiny 32GB eMMC drive meaning free space is very scarce but you can add an additional microSD card which circumvents this issue, not to mention the tablet reads cards at full speed (when it does read them).

Chuwi has recently released a new version of the Hi8 Pro containing a 64 bit Windows 10.

Useful links and downloads


Chuwi Forums
Official Chuwi Hi8 Pro downloads

OEM files and Windows/Android OS switcher (SwitchNow.exe)
Chuwi Hi8 Pro Drivers (32 bit)

Things to know

 

Booting with Quiet Mode disabled shows bios info at the start

How to access the UEFI Bios:
You need an USB Type-C adapter and a wired USB keyboard. Power the tablet on and press DELETE or ESC when the CHUWI logo first appears.

How to reset Bios to Factory Settings: 
Plug in the tablet. While powered-off press the POWER button until the blinking red light stops and disappears (usually a good 15 seconds of pressing). The device will reboot a few times, let it do its thing. After the OS selection screen appears the bios has been reset to factory default.

How to enter the Android bootloader:
To enter Android bootloader mode, first select Android in the OS switcher at the start then upon seeing the CHUWI logo press and hold VOL DOWN until you see a screen with the green Android robot pop-up. From this screen you can access recovery by scrolling modes with VOL UP or DOWN if needed.

How to enter DNX FASTBOOT MODE:
Power the table on, when you see the Chuwi logo press VOL UP + VOL DOWN simultaneously until DNX FASTBOOT MODE shows up in yellow letters on the screen.

Disclaimer and warnings


I can not be held accountable for any damage you do to our device, you do anything described here AT YOUR OWN RISK.

ALWAYS MAKE SURE YOUR TABLET HAS A FULL BATTERY BEFORE ATTEMPTING ANY OF THIS OR YOU MAY BRICK IT.

How to update Bios

Updating the bios is fairly straightforward:

Things you will need:
- A USB flash drive
- A USB Hub
- A USB keyboard
- Chuwi bios files for your device


1. Create a bootable USB flash drive:
Connect your USB flash drive and format it to FAT32. It must be named WINPE otherwise the tablet will not boot from it.

2. Put the bios files on the flash drive:

Chuwi bios files

3. Boot into the flash drive:
Power on your table with the flash drive and keyboard connected, then press F7 to access the boot menu. There choose your flash drive and let the program do its thing.

Note: If you can't boot into the flash drive, go into the bios > Start&Exit tab > select Reset System with ME disable Mode MEUD000. After the device reboots, press F7 to access the boot menu and try again.


Rooting Android and installing a recovery


The first thing you might want to do is root Android and install a recovery mode like TWRP, for this you can follow this handy guide by the user klop8093 on the Chuwi forums.

If you follow the guide to the letter it works perfectly.

Android Bootloader

One thing to note is that Xposed Framework does not currently work, the device will be stuck in a boot loop until you go into recovery and uninstall Xposed so make sure you download the uninstaller to internal memory if you plan on trying your luck.

Installing Windows 10


While the tablet already comes with Windows 10 Home pre-installed you might want to wipe the disk to make it single boot or maybe install an upgraded version of Windows 10.

To do this you will need:
- Media Creation Tool to download the Windows 10 ISO
- A USB flash drive with at least 4 GB space
- The program Rufus to create a bootable flash drive
- A USB Type-C hub to connect the USB flash drive and mouse / keyboard

You don't require a valid Windows key to install as the setup will check for valid manufacturer certificates from the UEFI automatically. If you install another version other than Windows 10 Home you will need one however.

0. Check your Hi8 Pro Serial Number:
At the back of your tablet should be a series of numbers, check if they match the description:

32-bit versions:
PQ32G221603XXXXX up to PQ32G221607XXXX

64-bit versions:
PQ32G221608XXXXX and up

1. Download the Windows ISO:
Using Microsoft's Media Creation Tool select "Create installation media for another PC":


Then select the type of ISO you want, make sure it's 32bit or 64bit Windows depending on your serial number:


After it's done downloading select ISO file to save the ISO file to your PC and close Media Creation tool.

2. Create a bootable USB flash drive:
Now connect your USB flash drive and launch Rufus:

Rufus

First select the Windows ISO you just downloaded by clicking the small disk drive icon.
Then make sure you select GPT partition scheme for UEFI under "Partition scheme".
Under "File system" select FAT32.
Finally it's important that the flash drive be named WINPE in "New volume label" otherwise it will not boot.

Press Start and wait until it finishes.

3. Booting into the Windows Setup:
With your flash drive inserted, power on the tablet and press DELETE or ESC on your keyboard at the start to access the bios menu.

In the bios go to Save & Exit tab and select the flash drive you just created to boot into the Windows setup.

4. Installing Windows
If everything went right you should be greeted with this screen:

Windows 10 Setup
Select your languages and keyboard and proceed until you get to this screen:


Here you can choose whether to upgrade your currently installed Windows version or to install a new Windows. We're going to pick the second option "Custom: Install Windows only (advanced)".



You will get to this screen with all the partitions currently existing on the tablet. Scroll all the way down and you will see a partition named Reserved or MSR (Reserved). You can delete all the partitions on the way down, Reserved included, to make space for a new Windows install.

After deletion, select the empty partition partition and press Next. Windows will install and reboot after it has finished.

Note: Do not touch or format the first two partitions on the disk including ANDROIDIA or you will lose the OS switcher and won't be able to boot into Windows.

Creating a Windows Only Tablet:
This partition screen will also allow you to delete all the Android partitions going from the one named ANDROIDIA all the way to the bottom, allowing you to install Windows only and gain precious disk space.


Installing GNU/Linux


I haven't messed around too much with this and the one time I tried to boot Ubuntu it failed before it reached the desktop. While not exactly impossible it is hard to use due to lack of drivers.

See: Vi8 and Hi8 on Github for a guide and more info.


Installing Windows 8 / 8.1 

Installing 8 / 8.1 is certainly possible (follow the guide above just like for Windows 10) but a lot of peripherals will not work due to a lack of drivers. All the drivers provided by Chuwi didn't work for me, not the ones for the Vi8 or Hi8 (which originally came with Windows 8 installed) or the Windows 10 drivers.

The tablet's Wifi will not work at first so you will need an additional Ethernet or Wifi adapter to access the internet. Or you could use your phone's Wifi connection as tether.

Sadly, while I prefer Windows 8 to Win 10 it's pretty much a waste of time trying to get it to work unless you don't care about using the touchscreen, wifi, bluetooth etc. You're better off installing Windows 10.


Installing Android

Note: If you install Android from scratch (flash.json) then it will erase everything on the disk and make new partitions, this means your Windows install will be gone and you will have to reinstall it again, either using the Chuwi Windows image or by using the tutorial in this article.

Note 2: Updating Android (flash-no-erase-all.json) doesn't delete Windows but you will have to root and install TWRP again. See the official Chuwi guides for reference.

Note 3: It is possible to install TWRP directly during the flash process by replacing boot.img and recovery.img with the ones in the TWRP package available in this guide.

Things you will need:
- A second computer
- An Android image provided by Chuwi
- Intel Android PhoneFlashTool for Z8300 Devices
- Intel Android USB Drivers

First of all install the Intel Android USB Drivers so the tablet gets recognized by your computer.
Secondly launch the PhoneFlashTool and browse for the Android image you downloaded, select either flash.json to erase everything or flash-no-erase-all.json to update Android:

PhoneFlashTool

Now you want to connect your tablet through USB and enter DNX FASTBOOT MODE, to do this power off your tablet then power it on again and press VOL UP + VOL DOWN simultaneously when you see the Chuwi (or Bios) logo until DNX FASTBOOT MODE shows up on the screen in yellow letters.

If the tablet shows up in PhoneFlashTool and everything looks green, press flash to start the process making sure recover is selected under Configuration.

Let the whole process finish until it says Flash Successful.

Updating Android:
To update Android you will need to enter the Android bootloader first. When you're in the bootloader and the tablet is recognized in PhoneFlashTool, select update under Configuration and then press Start Flash.


SD card is not detected (hardware)


The SD card reader seems to be faulty at times in that it doesn't detect any SD card inserted into the tablet. The reason for this is a small pin not making contact on the reader and thus the card not being detected. To fix this you will have to open up the tablet,which thankfully is very easy (only 4 small torx screws). The SD card reader is located at the top of the motherboard:

How it looks like inside, the SD card reader is circled in red

Both these small pins must touch for the card to read

With a small contraption to make both pins touch and some tape, we manage to get it working 100% of the time:

Hey! it works... :-)


SD card is not detected (software)


This is an on-going problem that seems to be plaguing a lot of Cherry Trail devices. It could be a Windows issue (update KB314935 related?), it could be a faulty driver issue, it could be an hardware issue. I guess nobody really knows and the manufacturers keep silent.

Note: It almost certainly is NOT an issue with your type or brand of SD card or how it is formatted, although I'm not saying your card couldn't be faulty.

Partial fix:



In the Bios go to Advanced > System Component and change OS IMAGE ID to Windows.
Then right above that change MS Custom Sdbus Driver to Enabled. Make sure you save your Bios changes.

Then back in Windows 10 go to Device Manager and see if SD Storage Class Controller is properly installed and working:

SD Storage Class Controller
If you need drivers, I uploaded them here: SD Card Drivers. Right-click SD Storage Class Controller and select Update Driver Software... then Browse my computer for driver software and select the folder with drivers you downloaded.

With this change the SD card reader seems to work fine for a while but once you boot into Android it might be faulty again, sometimes even rebooting into Windows doesn't make it work 100% of the time.

Options to explore:
Chuwi has released a bios update that's meant to fix the issue but it really doesn't do much for me.
Using the May bios also seems to break the Bluetooth on Windows (if you didn't update to version 1607 that is) and the card is still not properly detected. If you want to try this bios and still have working Bluetooth you can check this thread on the Chuwi forums by user Loz.


Charging and using a USB Hub / OTG


The Hi8 Pro provides sufficient power for an OTG adapter but it drains a lot of battery.

Of the two USB 3 Type-C hubs with charging I've tried so far none allowed the device to charge, only to slow down battery loss. This is a problem if you want to use a wired keyboard and mouse on Windows for a prolonged period of time. Thankfully Bluetooth exists.

The Chuwi charger that comes with the Hi8 Pro outputs 5V at 2 amps and the tablet charges fairly quickly to 100% if powered-off.

Interesting Bios settings to consider:
In the Bios go to Chipset > South Bridge > USB Configuration, you will be met with the following screen:

USB Bios settings

USB OTG Support: OTG allows two USB devices to talk to each other, it's especially useful on Android if you want to connect flash drives. Note however that Android will not boot if OTG is set to disabled.

USB VBUS: If you disable this the tablet will no longer power external USB / OTG devices. Could this be used to make the tablet recharge while using a USB hub? So far no success.

DO NOT DISABLE USB TYPE A PORT or your USB keyboard will stop working and you will have to reset to factory settings to access the bios again.

September 24, 2016

Fix error 0x800706D9 in Windows Update / Windows Store




If you get a 0x800706D9 error and are unable to update or download Windows Store apps check the following:

- Windows Update service is running and set to Automatic
- Storage Service service is running and set to Automatic
- Windows Firewall service is running and set to Automatic


How to check services:



1. Press Windows + R (or search for Run in start menu)

2. Type services.msc and press Enter.

3. In the list of services double-click the service you want to change and under Startup type: set it to automatic.

4. Press OK to confirm.

This should fix the error.

May 13, 2016

Living with Atom (GMA 950)



Setup:
Acer Aspire One AOA150-Bb
Intel Atom N270 @ 1.60 Ghz
1.5 GB RAM
32-bit Windows 7 SP1

Tweak Windows For Performance

Follow the guide on how to debloat and optimize Windows 7 for better performance.

Use Pale Moon Optimized For Atom

Download Pale Moon

Pale Moon is a free and open-source fork of the popular Firefox browser available for Linux, Windows, and Android. This browser is relatively faster than vanilla Firefox or Chrome on this setup.


This version of Pale Moon is optimized specifically for use on Intel Atom™ processors and compatible with the Windows XP and Server 2003 operating systems.
Many low-powered netbooks and laptops are equipped with this processor, and using a build of Pale Moon specifically optimized for this processor will reduce power consumption and increase speed of the browser for these systems.

Install Modded Graphic Drivers

Download Chell Drivers

These drivers provide a decent boost in graphical programs but obviously you won't be playing any recent AAA game with this kind of hardware as it is very limited.

League of Legends - Lowest settings: 10-12 FPS



Use GMABooster

This little program will boost the clock of the graphics chip GMA 950 up to 400 Mhz (2.4x boost), giving you a slight FPS increase.


May 12, 2016

Debloating and tweaking Windows 7 SP1 for performance

This guide is aimed at more experienced users who want to squeeze every last bit of performance from their system by maintaining a very barebones operating system that won't get in their way.

Setup:
Desktop computer or laptop
Wired or wifi internet connection
Sole computer on the network
No bluetooth
No Antivirus/Firewall

Ideally you want to have less than 25-28 services running the background, no themes, no junkware installed.


Backup Data

Before you do anything, make sure that ALL your data is backed up to another hard drive or external USB drive.

One thing people always forget to back up is their AppData folder (C:\Users\[YOUR ACCOUNT NAME]\AppData), so it's best to just back up all your user account.


Update Win 7 

I highly recommend you get all the available "important updates" for your system and leave out any updates that are "recommended".


Under Windows Update - Go to Change Settings - Under Important Updates pick Never Check for Updates
Under Recommended Updates untick Give me recommended updates the same way I receive important updates
Press OK
Here is a list of updates to avoid (preventing the Windows 10 update and telemetry updates):

KB971033 - Update for windows activation technologies
KB2902907 - Description not available, update was pulled by Microsoft
KB2922324 - Description not available, update was pulled by Microsoft
KB2952664 - Compatibility update for upgrading Windows 7
KB2976978 - Performs and collect compatibility appraiser logs in order to ease the upgrade experience to Windows 10
KB2977759 - Compatibility update for Windows 7 RTM (for Windows Customer Experience Improvement Program)
KB2990214 - Update that enables you to upgrade from Windows 7 to a later version of Windows
KB3012973 - Upgrade to windows 10
KB3014460 - Update for windows insider preview / upgrade to windows 10
KB3015249 - Update that adds telemetry points to consent.exe in Windows 8.1 and Windows 7
KB3021917 - Update to Windows 7 SP1 for performance improvements
KB3022345 - Update for customer experience and diagnostic telemetry
KB3035583 - Installs the 'Get Windows 10' app in Windows 8.1 and Windows 7 SP1
KB3050265 - Updates Windows Update Client for Windows 7 (changes system files to support upgrade)
KB3065987 - Updates Windows Update Client for Windows 7 and Windows Server 2008 R2 (changes system files to support upgrade)
KB3068708 - (replaces KB3022345) Update for customer experience and diagnostic telemetry
KB3075249 - Update that adds telemetry points to consent.exe in Windows 8.1 and Windows 7
KB3075851 - Updates Windows Update Client for Windows 7 and Windows Server 2008 R2 (changes system files to support upgrade)
KB3080149 - Update for customer experience and diagnostic telemetry
 

Disable Services

All of the following services will be disabled to minimize the memory footprint of the system. Be aware that you might need to use some of these services depending on your setup such as Bluetooth, WiFi, Printing, Network etc. I put those services in bold.

Start - Type services.msc - Double click a service and select Startup Type: Disabled - Press OK to validate

ActiveX Installer
Adaptive Brightness
Application Identity
ASP.NET State Service
Background Intelligent Transfer Service (needed for Windows Update)
BitLocker Drive Encryption Service
Block Level Backup Engine Service
BranchCache
CNG Key Isolation
Computer Browser
Desktop Window Manager Session (needed for theming)
Diagnostic Policy Service
Diagnostic Service Host
Diagnostic System Host
Distributed Link Tracking Client
DNS Client
Extensible Authentication Protocol
Function Discovery Provider Host
Function Discovery Resource Publication
Health Key and Certificate Management
HomeGroup Listener
HomeGroup Provider
Human Interface Device Access
IKE and AuthIP IPsec Keying Modules
Internet Connection Sharing (ICS)
Internet Explorer ETW Collector Service
Internet Pass-Through Service
IP Helper
IPsec Policy Agent
KtmRm for Distributed Transaction Coordinator
Microsoft .NET Framework NGEN
Microsoft iSCSI Initiator Service
Microsoft Software Shadow Copy Provider
Net.Msmq Listener Adapter
Net.Pipe Listener Adapter
Net.Tcp Listener Adapter
Net.Tcp Port Sharing Service
Netlogon
Offline Files
Parental Controls
Performance Logs & Alerts
PnP-X IP Bus Enumerator
PNRP Machine Name Publication Service
Portable Device Enumerator Service
Print Spooler
Problem Reports and Solutions Control Panel Support
Program Compatibility Assistant Service
Remote Access Auto Connection Manager
Remote Access Connection Manager
Remote Desktop Configuration
Remote Desktop Services
Remote Desktop Services UserMode Port Redirector
Remote Registry
Routing and Remote Access
Secondary Logon
Security Center
Server
Shell Hardware Detection
Smart Card
Smart Card Removal Policy
SNMP Trap
SPP Notification Service
SSDP Discovery
Superfetch
Tablet PC Input Service
TCP/IP NetBIOS Helper
Telephony
Themes
UPnP Device Host
Virtual Disk
Volume Shadow Copy
WebClient
Windows Backup
Windows Biometric Service
Windows CardSpace
Windows Connect Now - Config Registrar
Windows Defender
Windows Driver Foundation - User-mode Driver Framework
Windows Error Reporting Service
Windows Firewall
Windows Image Acquisition (WIA)
Windows Presentation Foundation Font Cache
Windows Remote Management (WS-Management)
Windows Update
WinHTTP Web Proxy Auto-Discovery Service
WLAN AutoConfig
Workstation
WWAN AutoConfig

Reboot.

Disable Startup Items

A lot of programs these days want to take over your computer right as you power it on, this really slows you down. Things like Java, Intel Control Panel, Steam, Origin, Skype etc.

Start - Type msconfig - Under the Startup tab press Disable all - press OK

Enable No GUI boot

This will shave off a few seconds during boot time.

Start - Type msconfig - Under the Boot tab tick No GUI boot - press OK

Adjust For Performance

This will disable things like animations, shadows and font smoothing.
Start - Control Panel - System - Advanced System Settings - Advanced tab - Under Performance click Settings... - Visual Effects tab - Select Adjust for best performance - Press OK

Enable User Account Control

Since we don't have an antivirus nor firewall running, it is a good idea to have UAC running to protect ourselves from unwanted modifications to our system.

Start -  Control Panel - User Accounts - Change User Account Control settings - Set the the slider to Default - Press OK