Global: fix crashes and improve performance for legacy devices

Change-Id: I0c75298ded0b7e845e7457261ea4e9c56837dbda