[Samsung Galaxy Nexus] n_petr:
How-to install and root Unlegacy Android

Hello,

please could you correct my how-to (see below) of the upgrade procedure? I don't want to brick my phone. Is it necessary to repartition the device? If I remember well, it was necessary with the Galaxy S3 mini during the increasing of RAM through ODIN. Is this procedure called as a full flash or a dirty flash?

0. STEP - Current info

Device: Galaxy Nexus I9250 - maguro, yakju

System: Android 4.3, JWR66Y, 776638, takju

Active CSC: XEZ

Kernel: 3.0.101-franco (francisco@ubuntu #398, 32-bit)

JVM: Dalvik 1.6.0

Total RAM: 744.02 MB

Recovery: TWRP v2.8.5.0

Bootloader: unlocked

Rooted: yes

OMAP-Samsung HW

Board Name: Tuna REV 9

Board Rev: HSPA - 9

Boot Type: USB MMC1

Device Type: HS

Build Date: Apr 24 2013 17:29:29

HW Rev: MP 1.010

I. STEP - upgrade of TWRP

1) Fully re-charge your phone battery.

2) Make a backup of your user data. All data will be erased.

3) Download the latest TWRP image file (.img) for maguro from https://eu.dl.twrp.me/maguro/. It will be twrp-3.1.0-0-maguro.img and save it into the Download folder in the phone (/mnt/sdcard/Download).

4) With the device powered down, hold both Volume buttons and the Power button until the bootloader appears, then release the buttons. Navigate using the volume keys and select RECOVERY using the Power key.

5) In the main menu click on the Install button and navigate to /sdcard/Download and then click on the Images button (at right-bottom).

6) Select the twrp-3.1.0-0-maguro.img file and click on the Recovery radio button (at left-top). Then Swipe to Confirm Flash.

7) Once installation has finished, return to the main menu, select Reboot, and then System.

II. STEP - installation and rooting of Unlegacy Android

1) Download the latest UA zip file (.zip) for tuna from https://builds.unlegacy-android.org/aosp-7.1/tuna/. It will be ua_tuna-7.1.2-20170429022201.zip and save it into the Download folder in the phone (/mnt/sdcard/Download).

2) Download the latest GAPS zip file (.zip) for ARM and Android 7.1 from http://opengapps.org/. It will be open_gapps-arm-7.1-pico-20170429.zip and save it into the Download folder in the phone (/mnt/sdcard/Download).

3) Download the Lanchon REPIT zip file (.zip) for maguro from https://www.androidfilehost.com/?fid=529152257862695641. It will be lanchon-repit-20170115-system=1G-cache=62M+wipe-data=same-maguro.zip and save it into the Download folder in the phone (/mnt/sdcard/Download).

4) Download the latest SuperSU zip file (.zip) from https://download.chainfire.eu/1021/SuperSU/. It will be SR3-SuperSU-v2.79-SR3-20170114223742.zip and save it into the Download folder in the phone (/mnt/sdcard/Download).

5) With the device powered down, hold both Volume buttons and the Power button until the bootloader appears, then release the buttons. Navigate using the volume keys and select RECOVERY using the Power key.

6) In the main menu click on the Backup button to create a backup.

7) Select partitions to be backed up - System, Cache, Data, Boot, EFS. Then Swipe to Back Up.

8) Go back to return to the main menu. Then click on the Mount button and leave checked only Cache, Data.

9) Go back to return to the main menu. Then click on the Wipe button and then on the Advanced Wipe button.

10) Select partitions to be wiped - Dalvik / ART Cache, System, Cache, Data. Then Swipe to Wipe.

11) Go back to return to the main menu. Then click on the Install button and navigate to /sdcard/Download (you should see Images button at right-bottom but do not to click on it).

12) Select the lanchon-repit-20170115-system=1G-cache=62M+wipe-data=same-maguro.zip package. Then Swipe to Confirm Flash (it takes approximately 10 minutes). Go back to /mnt/sdcard/Download.

13) Go back to return to the main menu. Then click on the Install button and navigate to /sdcard/Download (you should see Images button at right-bottom but do not to click on it).

14) Select the ua_tuna-7.1.2-20170429022201.zip package. Then Swipe to Confirm Flash (it takes approximately 3 minutes). Go back to /mnt/sdcard/Download.

15) Select the gapps-base-arm-7.1.2-20170420-1-signed.zip. Then Swipe to Confirm Flash (it takes approximately 3 minutes). Go back to /mnt/sdcard/Download.

16) Select the SR3-SuperSU-v2.79-SR3-20170114223742.zip. Then Swipe to Confirm Flash.

17) Once installations have finished, return to the main menu, select Reboot, and then System (1st boot takes approximately 10 minutes).

III. STEP - wiping your Internal Storage

1) Double check that your new Android 7.1.2 still running well after few minutes of using it and several manual restarts of it.

2) With the device powered down, hold both Volume buttons and the Power button until the bootloader appears, then release the buttons. Navigate using the volume keys and select RECOVERY using the Power key.

3) In the main menu click on the Wipe button and then on the Advanced Wipe button.

4) Select partitions to be wiped - Internal Storage. Then Swipe to Wipe.

5) Go back to return to the main menu. Then select Reboot, and then System.

6) You are done!