[Xperia Z Q&A, Help & Troubleshooting] vo4LG:
1. Attitude: if you follow up posting a problem with a 'so no one is going to help me!!????' after 1 1/2 hours on an alpha-level release, then you're going to get some attitude. Reporting a bug is great, but things take time to fix. If you are posting a bug, you should also include a Logcat of when the problem occurred.

I understand getting a Logcat is hard without having root access on LP at this stage, but you should still be able to get one by using the following command on your PC connected to your phone.

adb logcat > logfile.txt

More details on Logcat here: http://xdaforums.com/showthread.php?t=1726238

2. I've tested LP on the XZ and on Nexus 7 2012, and I've found that the VPN doesn't work on either (although I haven't investigated or collected a logcat, because I was basically just checking) so it may well be a general LP problem at the moment rather than a problem with the XZ builds

---------- Post added at 01:55 AM ---------- Previous post was at 01:04 AM ----------

I am a dunce, and did misunderstand PABX's instructions. You don't need to follow the crazy procedure below. If you want to Google Setup Wizard (which I did) you can just factory reset your device after installing the rom and gapps.

Just to make sure no-one else makes the same (silly) mistake I did, I'll restate the installation steps from PABX as I now understand them (rom and instructions here: http://www.blinkenlights.ch/ccms/android/yuga-l.html)

a. Flash the three 'img' files using fastboot (steps 1-5 below)

b. Boot the device

c. Push the gapps to the sdcard:

adb push gapps_50_yuga_001-db5e.tgz /sdcard/

d. Reboot. First boot takes a long while.

e. If you want to use the Google Setup Wizard, go and do a factory reset through the settings menus. First boot after the reset will again take a long while.

Original post:

I know this thread is for thomas's build of LP, but I was just testing installing PABX's build (and I know others are too) and was having some problems getting the automated GAPPS installation procedure to work.

I used a slightly different approach (much like detailed in post 3 of this thread) to get the GAPPS on and wanted to make sure that the procedure for doing the full installation was clear. I'm not going to include how to check the GPG signature because that is more complicated than installing the ROM and there are plenty of instructions out there on verifying GPG sigs.

It may be that I'm just a dunce and misunderstood or failed to follow PABX's instructions on his page: http://www.blinkenlights.ch/ccms/android/yuga-l.html. If that is the case, let me know and I'll kill this post.

This will wipe your device. It will. No two ways about it. Anything on your phone will go away. Gone. Poof. Never to be seen again. Not just the 'internal storage', but the internal 'sdcard'. Gone. Forever.

You need to already have fastboot and adb on your machine to do this. If you don't, then you probably want to reconsider where you should be putting an alpha OS build on your device.

Anyway:

1. Download the it from here: http://www.blinkenlights.ch/ccms/android/yuga-l.html (both the 'Release 5.0.0-alpha' and 'Google Apps package')

2. Extract the 'pabx_aosp_yuga-500a.zip' file. You should get the files 'boot.img', 'system.img', and 'userdata.img'.

3. Put your phone into fastboot mode. That is: in a powered-off state, hold the up-volume button and plug in a USB lead from the computer to the phone. The indicator light will briefly go red, then blue. Blue light = fastboot mode.

4. Flash the files using the following commands:

fastboot flash boot boot.img

fastboot flash system system.img

fastboot flash userdata userdata.img (<---- this will wipe your phone data, including the 'internal' SD card. Seriously.)

5. Unplug your phone. The blue light will go out.

6. Press the power button, and when the indicator light turns on press the Volume Down button. That will cause the phone to open recovery. If the phone fully boots, go back to step 3 (if you want to Google setup wizard, anyway).

7. Once recovery has started, press 'Volume Down' repeatedly to scroll down to 'Mounts and Storage Menu'. Press the power button to open it.

8. If the first option is '1. Mount /system' then make sure it is selected and press the power button so that it becomes '1. Unmount /system'. For some reason I found it didn't always automatically mount.

9. Open an ADB shell (using the command 'adb shell') and issue the following commands:

mkdir /tmp/tmp

exit

10. Push the gapps to the device using the following command:

adb push gapps_50_yuga_001-db5e.tgz /tmp/tmp

11. Open an adb shell again and issue the following commands (you should be in the root folder of the device)

tar xvzf /tmp/tmp/gapps_50_yuga_001-db5e.tgz

exit

12. Reboot the device with the command 'adb reboot'

The device should now start up running LP, and with gapps installed.

It will take ages to boot the first time (several minutes). If you're paranoid nothing is happening, you can keep the phone plugged in and do an 'adb logcat'. Lots of things will scroll. You'll feel like a movie hacker - especially if you have a green terminal and any of it actually makes sense to you. It will be awesome.

Thx thomas and pabx for consistently pumping out high-quality work like these builds.