Google Scan My Phone. If your camera can’t scan the qr code, there may be too much information. Open google drive and tap the + symbol.
Scan this qr code with your phone's camera. Now touch the ok button. If you transfer more than one account, your old phone may create more than one qr code.