Google Pixel - Android 9 - Lineage 16.0 - Gapps Nano Install - Google Pixel Guides, News, & Discussion

Pixel 32GB AND Pixel 128GB - I have loaded and tested these instructions at least ten successful times on each of these phones. If at any time you get a failure or the phone does a long buzz/vibrate START OVER!. I started over & went back to default Factory Settings at least a dozen times on each phone without any issues.
Prerequisites:
• Google Pixel (sailfish) with Android 9.0
• Phone unlocked
• ADB installed and working on your PC
• Download to PC: latest Lineage Nightly 16.0 zip, Nano GAPPS zip, and TWRP-3.3.1-0 image (not zip)
The Pixel Phone has two partitions, called Slot A and Slot B. There are many links out on the web talking about partitions and slots. It is very confusing, but once you get this phone up and working it is designed to do updates automatically. If a problem occurs with a new update the phone will revert back to the working slot/partition. Due to this dual partition architecture there is currently no a way to install TWRP to the phone so each time you need it you have to boot the image from bootloader. I have tried a hundred ways to make it work, but this seems to be the new norm for dual partition phones.
Turn phone off.
Load boot loader – Hold Pwr Button + VolumeDown at same time until you see the bootloader Start Menu
Select “Recovery Mode” (this will bring you to the Default Lineage Recovery Screen, NOT TWRP!!!!)
Select “Factory Reset”
Select “Wipe system” and click yes to continue
Select “Wipe data / factory reset” and click yes to continue
Go back to main Recovery Screen and select “Advanced” then “Power Off”
Load boot loader – Hold Pwr Button + VolumeDown at same time until you see the bootloader Start Menu
Loading TWRP – From PC at adb prompt type: fastboot boot <twrpfilename>.img ----NOTE: Only tested TWRP Version 3.3.1-0. Currently I believe this is the first version that handles dual partitions correctly.
Phone will load to the TWRP main menu.
From the Reboot Button ensure slot b is active: “Current: Slot b” If not change!
Go back to Advanced tab and click “ADB Side load”
From PC at adb prompt type: adb sideload <lineagenightlyfilename>.zip (this will take about 5 minutes)
Go back and click “Reboot”. Set slot A active: “Current: Slot a”
Go back and click “Reboot” and select “Recovery” NOTE: leave TWRP check boxes as is!
Select “Apply update”
Select “Apply from ADB”
From PC at adb prompt type: adb sideload <gappsfilename>.zip (my preference is nano gapps & the only one I tested) . NOTE: most likely you will get a warning the file is not signed – just click “Yes”
From main default Recovery Screen click “Reboot”
After a few minutes your phone should be booted to the “Hi” screen. Continue and click on “Start”.
For now skip connecting WiFi
Leave Google Services as Default (you can change all this later if you want)
Skip Fingerprint (can add it later)
Skip Pin (can add it later)
Lineage OS Features – Leave Stock/Default and click Next
Click Start
Enable one WiFi connection (add other WiFi connections later)
Enable Development Mode: Setting -> About Phone -> tap “Build Number” about seven times until it says enabled.
Enable USB Debugging: Setting -> System -> Advanced -> Developer Options -> click “Android Debugging” on.
Add Google Account in Settings -> Accounts -> add your google account
Go to Play Store and add any apps you want.
NOTE: if you get/see “Data Transfer Tool Keeps Stopping” message pop up DO NOT close the window, rather click on “App Info” and click “Uninstall”. Everything should load fine from this point.
*** SUCCESS – WORKING PHONE! ***
A lot of steps here, but I have tried many, many configurations/attempts with “slot a” and “slot b” and the directions above are the only ones I can consistently repeat.

I've installed twrp to the phone several times. On the download page there are images and zips. Once booted into twrp, you can flash the zip and it will patch twrp into both boot slots. If you install a rom, it will overwrite the recovery so always reflash the zip. You can also install the image from a booted twrp. Install > select image, flash the image to recovery. On mine it boot loops, there's an option somewhere to fix a boot loop. If you fastboot flash twrp, it will overwrite the whole partition, leaving you with twrp but no kernel, it will always boot into twrp.

130rne, if you follow the directions exactly as listed your phone (only tested with Pixel) will work perfectly. Flashing TWRP into both slots will certainly cause you a bootloop. The directions say to flash the TWRP Image (NOT ZIP). Go back and follow the directions step by step WITHOUT ANY DEVIATION.

The instructions on the lineage site have been updated. They work if you follow them step by step. Ends up with the same result as yours. This is the most confusing device I've ever owned lol. But yeah, you can install twrp, I just tried it. Once I set everything up, I made sure I could access lineage recovery. I made sure I was on the correct slot to boot the system. Then I fastboot booted twrp 3.3.0.0, installed the twrp zip, and rebooted system. It will reboot into recovery, I made sure it said 3.3.0.0. Then I went Advanced > Fix recovery bootloop > reboot system. I'm at the lineage boot screen with twrp installed. I tried 3.2.1.0 and it didn't have the fix for a bootloop, so recent twrp versions only. Works fine, and I can backup my data. Not sure about decryption, you should be able to remove lockscreen security and decrypt data before booting into twrp. I'll test it right quick and find out.
Edit- decryption doesn't work on 3.3.0.0. Make sure to remove the lockscreen security first. I rebooted into twrp and data, system, vendor can all be mounted and files show up correctly in file manager. Good deal, I can make backups now.

Why go through all of this when you can flash the latest official 10 firmware with a double click and a 5 minute wait lol

Related

[Guide] Pixel XL Android 7(Nougat) Unlock/Install Stock Images + Kernels/Recovery +

[Guide] Pixel XL Android 7.1.2 (OREO) Unlock/Lock Bootloader + Install Stock Images/Custom kernels/TWRP Recovery/Systemless ROOT + August 2017 Security Patch​
Intro
This thread is for Pixel XL owners that want to Root their phone, and enjoy the benefits of rooting it without installing a custom ROM. However, for those that just can't live without a Custom ROM, take a look at 'Custom ROMs for Pixel/Pixel XL'.
It also works for Pixel owners: If, they download the correct files for their Pixel.
This Guide is not for use with the Second Generation Pixel 2 or Pixel 2 XL devices.
Update(s):
Other - Added 'Other' after 'Prerequisites'
Disclaimers:
I assume no responsibility for the malfunctioning/bricking of your phone.
The order of listed items i.e., Custom Kernels, Custom ROMS, etc. Does not indicate my preference for them. It is your responsibility to do the research before selecting an item.
Prerequisites
A Google Pixel XL or Verizon Pixel XL phone with an unlockable Bootloader, ([How-to] Unlock bootloader on Verizon Pixel/XL by burduli) - The unlock method was discovered by: Qu3ntin0), and the latest 7.1.2 August 2017, Factory Image (NHG47Q - Verizon; NKG47S - T-Mobile, Fi carriers, and Rogers; NZH54D - Deutsche Telekom; NJH47F - all other carriers).
Note: If you want the latest OTA or Binaries. Tap the Menu icon (upper left corner) then tap Full OTA Images or Driver Binaries
PC - With the latest Android SDK or SDK Platform tools installed.
Important: Update Android SDK or Platform Tools, regularly, for optimal performance.
Need help installing Android SDK or SDK Platform Tools
How to Install ADB & Fastboot on Mac, Linux & Windows-(Method 1)
Easiest-way-to-install-androids-adb-and-fastboot
Other
Pixel XL Guides: Android 9.0.0 (Pie)Android 8.1.0 (Oreo), Android 8.0.0 (Oreo)
Pixel 3 XL Guide: Android 9.0.0 (Pie)
Credit/Thanks/Recognitions
TWRP
TWRP for Google Pixel XL
twrp-3.0.2-0-RC1-fastboot-marlin.img to your Computer.
twrp-pixel-installer-marlin-3.1.0-0RC1.zip to your phone.
twrp-pixel-installer-marlin-3.1.0-0RC2.zip to your phone
SuperSU
[BETA][2017.10.01] SuperSU v2.82 SR5 by Chainfire
Magisk/MagiskManager
[Unofficial] Google Pixel family support by goodwin_c
Custom Kernels
ElementalX kernel
Franco's Kernel
Busybox/Busybox Checker
[MODS] Android Oreo Aroma installer misc. Mods by Tulsadiver
UPDATE-Busybox.Installer.v1.26.2-ALL-signed.zip
meekfik, download from PlayStore
Busybox Free (Stericson), download from PlayStore
[TOOLS][ZIPS][SCRIPTS] osm0sis' Odds and Ends [Multiple Devices/Platforms] by osm0sis
UPDATE-Busybox.Installer.v1.27.2-ALL-signed.zip
Busybox Checker, download from PlayStore
Other
pcriz -Fastboot Slot Commands, Custom ROM installion help, Magisk help, and help on many many other subjects.
Those I may have inadvertently forgotten.
Index
Open Command Prompt/ Boot Bootloader/Boot Recovery
Open Command Prompt on Computer
Option 1 - Open File Explorer, click the platform-tools folder, press shift, right click, and select open command prompt here.
Option 2 - Open File Explorer, click platform-tools folder, highlight the directory information in the address bar or click the folder (left side of address bar) to highlight it type 'cmd' and press enter.
Note: If your computer only has 'open powershell here' in the context menu and you do not want to change it or add open 'command prompt here' use use option 2.
Boot Bootloader:
Power off phone, press and hold the power and volume down buttons until you see Start.
Boot Recovery
Power off phone, press and hold the power and volume down buttons until you see Start. Press volume Up/Down button until you see Recovery Mode > Press Power button.
Testing ADB (Android Debug Bridge)/fastboot
ADB
Enable USB Debugging - Tap Settings > System > About Phone > Developer Options. Enable USB Debugging.
Open a Command Prompt on your computer.
Type this at the prompt and press enter to test ADB.
Code:
adb version
It should return a version number for ADB.
fastboot
Enable USB Debugging - Tap Settings > System > About Phone > Developer Options. Enable USB Debugging.
Open a Command Prompt on your computer.
Boot bootloader.
Connect your phone to your computer with a USB cable.
Type this at the prompt and press enter to test fastboot.
Code:
fastboot devices
It should return your device serial number.
Unlock Your Bootloader
Backup your data and Internal storage
Activate Developer Options: Tap Settings > System > About Phone > Build Number. Tap Build Number until you see you're a Developer. Tap back > Developer Options. Enable OEM Unlock and, USB Debugging.
Boot Bootloader
Connect your phone to your computer via USB cable.
Open a Command Prompt on your computer.
Type the following at the prompt and press enter:
Code:
fastboot flashing unlock
This will erase all user data from the device!
You should see a screen on your phone asking you to confirm this action, use the volume keys to scroll and the power key to make your selection.
Allow the process to complete and then issue this command:
Code:
fastboot reboot
When your phone reboots disconnect your usb cable.
Note: After unlocking your bootloader, you'll be greeted with a warning that says Your device software can't be checked for corruption. Please lock the bootloader everytime you reboot. It's ok, as long as your bootloader is unlocked it will stay there.
Important: do not repeat do not relock your bootloader unless your phone is fully stock. You must flash the factory images first in order to remove root and custom recovery (if you have them), if this precaution isn't taken you may end up with a brick. Please see 9 of this guide for instructions on how to return to stock and lock the boot loader.
Install Factory Image and wipe data
Backup your data and Internal storage
Download the factory image for your phone and carrier.
Unzip factory Image
Copy the following files to the Platform Tools folder on your Computer
flash-all.bat
bootloader-marlin-9999-999999-9999999999.img
radio-marlin-9999-999999-9999999999.img
image-marlin-aaa99a.zip
Boot Bootloader
Connect phone to Computer with USB cable
Open a Command Prompt on your computer.
Type the following at the prompt and press enter.
Code:
flash-all
Install Factory Image and keep data
Backup your data and Internal storage
Download the factory image for your phone and carrier.
Unzip factory Image
Edit flash-all.bat: Remove -w
Copy the following files to the Platform Tools folder on your Computer
flash-all.bat
bootloader-marlin-9999-999999-9999999999.img
radio-marlin-9999-999999-9999999999.img
image-marlin-aaa99a.zip
Boot Bootloader
Connect phone to Computer with USB cable
Open a Command Prompt on your computer.
Type the following at the prompt and press enter.
Code:
flash-all
Install A Custom Recovery and Root with SuperSU
Important: Set Pin before installing TWRP: Setting > Security > Pin.
Important: Make and restore nandroid backups with TRWP RC1 zip. Some, users have reported problems creating/restoring nandroid backups with TWRP RC2 zip.
Backup your data and Internal storage
Download files:
twrp-3.0.2-0-RC1-fastboot-marlin.img to your Computer.
twrp-pixel-installer-marlin-3.1.0-0RC1.zip to your phone.
twrp-pixel-installer-marlin-3.1.0-0RC2.zip to your phone.
[STABLE][2017.05.27] SuperSU v2.82 by SuperSU Release to your phone.
Copy the following file to the platform-tools folder: twrp-3.0.2-0-RC1-fastboot-marlin.img rename it twrp.img
Boot Bootloader
Connect device/phone to computer
Open a Command Prompt on your computer.
Type the following at the Prompt.
Code:
fastboot boot twrp.img
When TWRP boots on your phone, tap the Install button, select twrp-pixel-installer-marlin-3.0.2-0-RC1.zip
Tap Add more ZIPs button, select SuperSU-v2.82-201705271822.zip
Swipe the slider to install.
Reboot system
Install A Custom Recovery and Root with Magisk (Clean Install)
Important: Set Pin before installing TWRP: Setting > Security > Pin.
Important: Make and restore nandroid backups with TRWP RC1 zip. Some, users have reported problems creating/restoring nandroid backups with TWRP RC2 zip.
Note:[Substratum] theme Spectrum does not work with Magisk root.
Backup your data and Internal storage
Download the following files:
ElementalX-P-1.14.zip for Pixel XL
twrp-3.0.2-0-RC1-fastboot-marlin.img
twrp-pixel-installer-marlin-3.0.2-0-RC2.zip
Magisk-v13.3-Pixel-b4.zip
MagiskManager-5_1_1.apk
Magisk-uninstaller-20170720.zip
Flash Boot.img - If you have TWRP, SuperSU, or a custom kernel installed.
Extract the contents of your factory image and open the folder it creates. From there, extract the second archive (image-marlin-aaa99a.zip)
Then open that folder and copy the boot.img file and paste it into the platform-tools folder.
Boot Bootloader
Connect the phone to your computer
Open a Command Prompt on your computer.
Type the following command at the prompt:
Code:
fastboot flash boot --slot all boot.img
When it finishes, leave the command prompt window open, your phone in bootloader mode and connected to your computer.
Install TWRP
Place twrp-3.0.2-0-RC1-fastboot-marlin.img in your platform-tools folder and Rename it twrp.img
Type the following command at the prompt:
Code:
fastboot boot twrp.img
When TWRP boots, tap the Install button and select twrp-pixel-installer-marlin-3.0.2-0-RC2.zip
Swipe the slider to install
Press the back button until you are on TWRP's main menu select Reboot > Recovery.
Flash the ZIPs
Disconnect your phone from your Computer.
Tap the Install button, then navigate to the files you downloaded.
Select the Magisk Uninstaller.zip, tap the Add more ZIPs button.
Select the twrp-pixel-installer-marlin-3.0.2-0-RC2.zip.
Swipe to install
Reboot Recovery
Tap the Install button select a Custom Kernel: ElementalX-P-1.1x.zip or Franco's Kernel-r1x.zip.
Tap Add more ZIPs button select Magisk-v13.3-Pixel-b4.zip, tap the Add more ZIPs button and select: twrp-pixel-installer-marlin-3.0.2-0-RC2.zip
Swipe to install
Note: During the Installation of ElementalX, ElementalX's AROMA installer interface, will require your input: So, tick I agree, then tap Next a few times and press Install ElementalX when prompted.
When ElementalX AROMA installer finishes, tap Next, and Finish. After, the other ZIPs are installed.
Reboot System
Note: If you're prompted to install the TWRP app at this point, remove check marks from two check boxes and select Do Not Install.
Install MagiskManager
Install Magisk Manager (5.1.1.apk)
Wipe data on Magisk Manager
Enable Magisk Hide
Enable Core Only Mode
Toggle on and off systemless hosts
Reboot system
Check for Latest Version, Root, and Saftey Net.
Update Magisk Dirty Flash
Download file:
Magisk-v13.3-Pixel-b4.zip or Magisk-v13.4-Pixel-beta2-build1.zip
Flash the ZIPs
Magisk-v13.3-Pixel-b4.zip or Magisk-v13.4-Pixel-beta2-build1.zip, tap the Add more ZIPs button.
Select twrp-pixel-installer-marlin-3.0.2-0-RC2.zip.
Swipe to install.
Reboot system
Check for Latest Version, Root, and Saftey Net.
Custom ROMs for Pixel/Pixel XL
[ROM][Pixel-XL][7.1.2_r24]★ Pure Nexus ★ Substratum | Fi | WiFi Calling ★[07/25/17] by BeansTown106
[ROM][Pixel-XL][7.1.2_r33][OMS] Pixel Dust for marlin [FINAL][2017/08/22] by spezi77
[ROM][Resurrection Remix v5.8.3][Android Nougat 7.1.2][OMS][07/24/17] by BDogg718
[ROM][UNOFFICIAL] LineageOS 14.1 Nightlies for the Google Pixel (marlin/sailfish) by invisiblek
Paranoid Android 7.2.1 - AOSPA - Pixel XL by freak_97
ROM][7/21/17][Marlin][7.1.2][WEEKLY]Team OctOs Oct-N by cjkacz
SCREW'D ROM
Install Custom Kernel
Franco's Kernel - SuperSu
Download file:
The latest Franco's kernel for Pixel/Pixel XL
Boot into TWRP
Press Install button select the file you downloaded
Swipe slider to install
Reboot System
ElementalX-PXL-1.xx by flar2 Kernel - SuperSU
Download files:
ElementalX kernel
[STABLE][2017.05.27] SuperSU v2.82 by SuperSU Release
Flash ElementalX zip in TWRP recovery (do not flash SuperSU-v2.82-201705271822.zip again if you're already rooted).
During the Installation, ElementalX's AROMA installer interface, will require your input: So, tick I agree, then tap Next a few times and tap Install ElementalX when prompted.
When ElementalX AROMA installer finishes, tap Next, and then Finish.
Note: If you're prompted to install the TWRP app at this point, remove check marks from two check boxes and select Do Not Install.
Franco's Kernel or ElementalX-PXL-1.xx by flar2 Kernel - Magisk
See [Unofficial] Google Pixel family support by goodwin_c for Installation Instructions.
Install Substratum Theme
SuperSU Root
Install Substratum Theme Engine from the play store.
Install [Substratum] Spectrum theme from the play store. Note: I used Substratum theme Spectrum to test the installation of Substratum with SuperSU root..
Magisk Root
Researching Information
Return to Stock and Lock Bootloader
Return to Stock
Backup your data and Internal storage
Download the appropriate factory image for your phone and carrier.
Unzip factory Image
Copy the following files to the platform-tools folder on your Computer
flash-all.bat
Verify -w is present in flash-all.bat. Example: fastboot -w update image-marlin-aaa9.999999.999.zip
bootloader-marlin-9999-999999-9999999999.img
radio-marlin-9999-999999-9999999999.img
image-marlin-aaa99a.zip
Boot Bootloader
Connect phone to Computer with USB cable
Open a Command Prompt on your computer.
Type the following command at the prompt.
Code:
flash-all
Lock Bootloader
Phone
Boot Bootloader
Connect your phone to your Computer with USB cable.
Computer
Open a Command Prompt on your computer.
Type the following at the prompt:
Code:
fastboot flashing lock
When it finishes the bootloader is locked.
The next step won't be needed if your Pixel XL reboots into system after bootloader relock.
You need to boot into system now, either press Power button to reboot OR issue the following command:
Code:
fastboot reboot
When your phone reboots disconnect your usb cable.
Audio Mod
Weta Audio Mod
we already have guides though
flex360 said:
we already have guides though
Click to expand...
Click to collapse
can't hurt to have an updated guide for those too lazy to read.. so many posts about "this guide is out of date" or "i dont have time to read 6 pages about other people's experiences"
Thanks for this updated guide, this was helpful. Although, in step 4 it looks like you forgot to mention flashing SuperSu.
jrhatfield said:
Thanks for this updated guide, this was helpful. Although, in step 4 it looks like you forgot to mention flashing SuperSu.
Click to expand...
Click to collapse
It has been posted several times that the June security update doesn't need the verified boot signer. Only the May update needed it.
JimSmith94 said:
It has been posted several times that the June security update doesn't need the verified boot signer. Only the May update needed it.
Click to expand...
Click to collapse
I'll research it and make changes if needed.
Great Job compiling all the information in one place. Appreciate your hard work. This should be helpful to many.
You could even update this to include flashing of Custom ROMs. And a little bit about the slot change etc. That way the guide would almost be complete.
iamjimmy said:
Great Job compiling all the information in one place. Appreciate your hard work. This should be helpful to many.
You could even update this to include flashing of Custom ROMs. And a little bit about the slot change etc. That way the guide would almost be complete.
Click to expand...
Click to collapse
Intro
The purpose of this thread is twofold:
First, it is for Pixel XL owners that want to Root their phone, and enjoy the benefits of rooting it without installing a custom ROM...
¯\_(ツ)_/¯
About to try this with the -w flag. Is there a reason to not use a -w if I intend on rooting njh47b on a google store pixel xl?
Avasta said:
About to try this with the -w flag. Is there a reason to not use a -w if I intend on rooting njh47b on a google store pixel xl?
Click to expand...
Click to collapse
2. Install Factory Image and wipe Data
Code:
fastboot -w update image-marlin-aaa99a.zip
3. Install Factory Image and keep Data
Code:
fastboot update image-marlin-aaa99a.zip
Homeboy76 said:
2. Install Factory Image and wipe Data
Code:
update -w image-marlin-aaa99a.zip
3. Install Factory Image and keep Data
Code:
update image-marlin-aaa99a.zip
Click to expand...
Click to collapse
I was asking if there was any affect to the rooting ability of the device if you did vs didn't use the -w command. I completed my update of my phone. I never like a dirty update since it only causes problem later on. I tested it without the -w switch and everything worked (kept my data, but as mentioned dirty flashes = no good), so I went back and repeated the steps with the -w switch. Everything works like a charm. Only issue I have noticed is that Netflix is no longer compatible with my device?!? Like not really sure why, but cant install it from the play store. Will contact Netflix about this later today.
Avasta said:
I was asking if there was any affect to the rooting ability of the device if you did vs didn't use the -w command. I completed my update of my phone. I never like a dirty update since it only causes problem later on. I tested it without the -w switch and everything worked (kept my data, but as mentioned dirty flashes = no good), so I went back and repeated the steps with the -w switch. Everything works like a charm. Only issue I have noticed is that Netflix is no longer compatible with my device?!? Like not really sure why, but cant install it from the play store. Will contact Netflix about this later today.
Click to expand...
Click to collapse
Gotcha, there are no 'effects to the rooting ability of the device'.
However, some apps will not work unless you 'hide Root' with Magisk i.e. Android Pay, Netflix's, etc.
Did you root with Magisk?
Homeboy76 said:
Gotcha, there are no 'effects to the rooting ability of the device'.
However, some apps will not work unless you 'hide Root' with Magisk i.e. Android Pay, Netflix's, etc.
Did you root with Magisk?
Click to expand...
Click to collapse
I dunno about you but I have magisk hide on and hid the playstore and a few other processes but if its checking your phone at a point before you can enable magisk hide and storing the results wouldn't it not make much difference? I ask this because magisk hide or not, netflix doesnt show up. Even on a clean boot its not listed as an app I can restore. The simple fix for me is to restore a back up or simply download from apk mirror.
I would say a BIG tks: I've been rooting my phones for years and this one is definitely a rollercoaster of information and success for me (boot loop over boot loop, random crash, random bugs... after following many guides..)
Will try this one (had to factory reset again yesterday: phone would not boot up).
One (major) thing is missing here: what to do with the slot a/b? I had crashes that automatically switched from one slot to the other slot, confusing the hell out of (the retarded?) me. It's still not clear what I'm suppose to double flash or not....
Tks!
parano666 said:
I would say a BIG tks: I've been rooting my phones for years and this one is definitely a rollercoaster of information and success for me (boot loop over boot loop, random crash, random bugs... after following many guides..)
Will try this one (had to factory reset again yesterday: phone would not boot up).
One (major) thing is missing here: what to do with the slot a/b? I had crashes that automatically switched from one slot to the other slot, confusing the hell out of (the retarded?) me. It's still not clear what I'm suppose to double flash or not....
Tks!
Click to expand...
Click to collapse
When you flash a factory image, flash it in both slots.
Flash all once
Boot into the bootloader again
Swap slots in bootloader
Flash all again
(tks!)
(update: needed twrp-pixel-installer-marlin-3.1.0-0RC2 installed and booted to install magisk v12 pixel (was getting error 1 with twrp-pixel-installer-marlin-3.0.2-0-RC1.zip))
(update2: safety net passed!)
pcriz said:
I dunno about you but I have magisk hide on and hid the playstore and a few other processes but if its checking your phone at a point before you can enable magisk hide and storing the results wouldn't it not make much difference? I ask this because magisk hide or not, netflix doesnt show up. Even on a clean boot its not listed as an app I can restore. The simple fix for me is to restore a back up or simply download from apk mirror.
Click to expand...
Click to collapse
Ok.
parano666 said:
I would say a BIG tks: I've been rooting my phones for years and this one is definitely a rollercoaster of information and success for me (boot loop over boot loop, random crash, random bugs... after following many guides..)
Will try this one (had to factory reset again yesterday: phone would not boot up).
One (major) thing is missing here: what to do with the slot a/b? I had crashes that automatically switched from one slot to the other slot, confusing the hell out of (the retarded?) me. It's still not clear what I'm suppose to double flash or not....
Tks!
Click to expand...
Click to collapse
Intro
The purpose of this thread is twofold:
First, it is for Pixel XL owners that want to Root their phone, and enjoy the benefits of rooting it without installing a custom ROM...
If you follow the instructions above you should not have to worry about slot a/b. The firmware will put it in the correct slot.
If you are installing Custom ROM this thread is not for you. You, should follow the installation instructions of the Custom ROM you want to install.
parano666 said:
(tks!)
(update: needed twrp-pixel-installer-marlin-3.1.0-0RC2 installed and booted to install magisk v12 pixel (was getting error 1 with twrp-pixel-installer-marlin-3.0.2-0-RC1.zip))
(update2: safety net passed!)
Click to expand...
Click to collapse
You're welcome!

[GUIDE][A6020I36]Install Lineage OS 16, root and recovery in Lenovo Vibe K5

Guide to install Lineage OS 16.0 with root, recovery and unlocked bootloader on Lenovo Vibe K5 A6020I36 by lexiyuri
0. Download and uncompress all the essential included files (TWRP recovery, minimal adb and fastboot, lenovo drivers) included in my androidifilehost link:
https://androidfilehost.com/?w=files&flid=303569
Download the Lineage OS 16 from here (thanks to harry8242):
https://androidfilehost.com/?w=files&flid=282516
dont forget to choose latest Lineage OS 16 compilation
Download the Gapps from
https://opengapps.org/
(choose Android 9.0, arm64 and stock options)
Download the latest SuperSU version (flashable zip package) from here:
http://supersuroot.org/downloads/SuperSU-v2.82-201705271822.zip
Important: dont forget to copy the Gapps, supersu and ROM inside a micro sd card before start!!
1. Make a entire backup of your device, syncing Google and WhatsApp accounts before doing something.
Remember: you are going to erase your Stock Lollipop version in your k5!!
2. Install the inclued Lenovo Drivers
from the folder named latest_usb_driver_windows_2
and the drivers in the executable file named LenovoUsbDriver_autorun_1.1.15_user.exe
For Windows xp to 8.1: proceed to follow on screen instructions
Note for Windows 10 users: this OS enforces driver signatures by default. This can be disabled to install drivers that are not digitally signed. Use the following steps to disable driver signature enforcement in Windows 10.
Click the Start Start menu and select Settings.
Click Update and Security.
Click on Recovery.
Click Restart now under Advanced Startup.
Click Troubleshoot.
Click Advanced options.
Click Startup Settings.
Click on Restart.
On the Startup Settings screen press 7 or F7 to disable driver signature enforcement. Your computer will restart and you will be able to install non-digitally signed Lenovo drivers.
3. Install Minimal ADB and Fastboot: double click on the adb setup file included and follow on screen instructions
Alternatively you can download Minimal ADB tool from https://androidmtk.com/download-minimal-adb-and-fastboot-tool or choose the included in compressed
Also you can install Android Studio SDK from its official source in order to use the ADB and fastboot tools
https://developer.android.com/studio/?gclid=EAIaIQobChMIpdiIlpfh5QIVks13Ch2bUw8REAAYASAAEgJW9PD_BwE
4. To ease things, copy the Recovery file (twrp3230.img) into Minimal ADB Program files folder (check before if your program files folder are 32 or 64 bits).
5. Unlock bootloader for lenovo Vibe k5
Enable the Developer Options. To enable the Developer Options, go to settings => About => Software Information => More => Tap on the Build Number around 7-8 times until you see a message telling you "developer options enabled"
Go back to settings and now enable the OEM Unlock by going to Settings => Developer Options and tap "Enable/allow OEM Unlock" and after tap in the "Enable/ Allow usb debugging" option.
I want to clarify in this point: Lenovo doesn't offer an official way to unlock bootloader. Now, connect your phone to the PC.
In your Minimal ADB fastboot program files folder open a command prompt (cmd window) by pressing Shift Key + Right Mouse Click, now type the following command line in your command window
Code:
adb devices
(This is to verify your device is being recognized and shows a code or identifier)
Note: if you see a pop up to allow USB Debugging on your phone, Click OK
After that, type the following command below to reboot your phone to bootloader
Code:
adb reboot bootloader
Your phone will reboot into bootloader and enter to the fastboot at the same time.
Fastboot screen shows green lenovo logo, a white background and a tiny message saying if you press longer the on/off button you will restart the phone.
Please, make sure your phone shows the bootloader locked and then type the command below to make sure fastboot drivers are installed properly.
Code:
fastboot devices
(This command will list the connected devices. If your phone serial number shows up you can continue, but if the phone is not listed, your drivers are not installed correctly. Fix that issue and then continue.
Now, unlock the bootloader with this command line
Code:
fastboot oem unlock
Important: this command returns an error code saying that remote oem is not allowed, just like the following one
Code:
FAILED (remote: oem unlock is not allowed)
finished. total time: 0.002s
For some reason I did all the entire process without problems. May be Lenovo Vibe K5 is unlocked by default, so, it doesn't matter if the message says you can't do the unlocking. Continue to the Step 6
6. Install the TWRP recovery 3.2.3-0
Type the following command in order to install the recovery and press enter
Code:
fastboot flash recovery twrp3230.img
(this line installs the twrp permanently)
Optional: you can just run the recovery temporarly using this line
Code:
fastboot boot twrp3230.img
The fastboot boot command line lets you inside the twrp recovery mode window. Also, you can enter to the recovery mode pulling out the battery, pressing vol +, vol - and power all that at the same time.
7. Installing Lineage OS 16.0 -Android Pie 9.0-, Gapps and SuperSu (make root) flashable packages.
First then all, make the reglamentary wipes (one by one) without restart/reboot the phone
Code:
wipe system (this will erase the Stock Lollipop)
wipe data (this will erase pictures, WhatsApp folder, Download folder, data apps, wifi passwords, configurations and so on)
wipe cache
wipe dalvik / art cache
In the main twrp window, tap the Install option, locate your microSD tapping in the select storage to activate the external SD.
Now search the files into the SD, pressing in the "up a level" zone and after you reach it, install the following things in the exact order:
Choose the Lineage OS 16 Rom zip file (swipe to confirm) and wait. Dont restart the phone.
After that, choose the Gapps zip file, swipe again to confirm and wait.
Finally, choose the SuperSu zip file you downloaded, do a swipe, wait.
If you want, its possible install all the zip files as a bunch using the "add more zip option" that twrp offers to you, but I prefer do it each one by one.
8. Do a final wipe choosing "wipe Dalvik and Cache".
9. Now choose the restart/reboot option. Wait for the phone initial setup (around a couple of minutes)
10. Configure the phone with your android account preferences. install your favorite apps, sync your info, etc.
Important: during the configuration, the Pixel launcher can fail. So, choose trebuchet as the default launcher.
11. Configure the SuperSU, install it, and verify the root with the Root checker app (you can found it in the Play store) and you are done!! Enjoy!!
== Special tip to enable the TWRP recovery option in the on/off/restart menu===
12. Once you have finished the set-up in your phone enable the Developer options into Lineage OS following this route:
tap in the drawer little configuation wheel ==> System ==> about phone, go to the last option and tap around 7-8 times in the Rom compilation number until you receive the toast message telling you "developer options enabled".
Return to the main system screen options, tap in System, then tap in advanced, and finally tap in the developer or programmer options, activate them and enable Advanced Power/reboot Menu
13. Finally, hold power button, choose restart, then you will see all restart options including the restart to the recovery .

[GUIDE/TUTORIAL/HOWTO] Xiaomi Redmi Note 4 Snapdragon stock to Android 12.1 / LineageOS 19.1

[GUIDE/TUTORIAL/HOWTO] Xiaomi Redmi Note 4 Snapdragon stock to Android 12.1
[GUIDE/TUTORIAL/HOWTO] Xiaomi Redmi Note 4/4X Snapdragon SOC (codename mido) stock to Android 12 / LineageOS 19.1
Complete guide to install Android 12 on your Xiaomi Redmi Note 4 (Snapdragon or 4X).
This tutorial only applies to this model, to check the correct version:
in Android, go to Settings > About phone, make sure Device model is Redmi Note 4.
It must be Snapdragon: below Device model, CPU must be Octa-core Max 2.0Ghz
### If CPU is not Octa-core Max 2.0Ghz, you have the Mediatek version (codename Nikel), see here:
https://forum.xda-developers.com/f/xiaomi-redmi-note-4-mediatek-roms-kernels-reco.5784/
### If phone is not Redmi Note 4, quit this tutorial
CHANGELOG
v4. Minor improvements, Android 13 incoming (+ Google Camera) !
v3. Android 12.1 thanks to awesome Zeelog (and @anandsvm), migrate to MindTheGApps, upgrade TWRP
v2. BitGApps, updated TWRP + Magisk
v1. Initial release
1) WHAT YOU NEED
- djibe Redmi Note 4 pack: https://bit.ly/djibe-redminote4-pack
(contains all you need: USB drivers + Mi Unlock tool + fastboot & adb + TWRP Recovery 3.6.2_9-0 + Magisk root v23)
+ ROM LineageOS Unofficial 19.1: https://forum.xda-developers.com/t/...ineageos-18-1-mido-vanilla-by-zeelog.4186179/
Download latest build: https://github.com/zeelog/OTA/releases
+ MindTheGApps 12.1 ARM64: http://downloads.codefi.re/jdcteam/javelinanddart/gapps
or BitGApps ARM61 12.1 v1.4+: https://github.com/BiTGApps/BiTGApps-Release/releases
2) INSTALL DRIVERS
First uninstall all Oneplus, Oculus ... Android drivers.
Go to the folder you unzipped earlier.
navigate to usb_driver_r13-windows > usb_driver.
Right click on android_winusb.inf and select Install. Confirm with OK.
Restart Windows.
### If you experience problems with phone connection later, use https://github.com/lostindark/DriverStoreExplorer (thanks @Lysolus for sharing)
3) BACKUP YOUR DATA
Make sure Google/provider account is synchronized.
Backup photos, documents, contacts before going any further (ex: use the backupyourmobile app).
Connect phone to PC, search for all .jpg, .mp3, .mp4 files on your phone and retrieve data.
4) UNLOCK BOOTLOADER
### Before going further, you need the latest official firmware.
Go to Settings > About phone.
MIUI version must be 11.0.2.0 (NCFMIXM).
Unlock Developer settings:
Tap 7 times on MIUI version item.
If not: connect to Wifi, tap on System update > Check for updates.
### System won't update ? Download latest firmware from here: https://xiaomifirmwareupdater.com/firmware/mido/
MIUI Account
Insert your SIM card.
Enter Sim PIN and turn off wifi, turn on mobile data and sync.
Go to Settings > Mi Account
Enter your phone number adapted to prefix and create an account (if not yet done).
Make sure phone Mi Account is active, in Settings, besides Mi account is written an identifier.
Go to Settings > Additional settings > Developer options and scroll to Mi Unlock Status item.
Permission required, Agree
### Make sure Wifi is off and mobile data on, then tap on Add account and device, then Got it.
### As written, don't sign out of Mi account, perform factory reset or erase system data for now.
### Keep calm and carry on.
Now open the \Mi Unlock subfolder from my pack.
Launch miflash_unlock.exe ad administrator: right click on .exe > Run as administrator
Agree to terms.
Login to your Mi account (with phone number prefixed or email)
Confirm login with SMS verification.
### Alternative: Open this webpage from your PC: https://en.miui.com/unlock/
### Click on Unlock now, then Download Mi Unlock archive. Unzip and refer to previous steps.
Back to phone, turn it off.
Then hold Volume down + Power buttons until phone vibrates and displays Fastboot screen.
Connect phone to USB.
Back to PC, Mi Unlock now says "Phone connected".
Unlock button is available, click on it and confirm with Unlock anyway.
Wait until Unlocked successfully is displayed.
Click on Reboot phone.
Unlocked is written at the bottom of screen during boot.
### Need to quit Fastboot mode ? Hold Power until phone vibrates and restarts.
5) FLASH TWRP RECOVERY
Back to Android, go to Settings > Additional settings > Developer options,
switch OEM unlocking ON and USB debugging ON.
Connect phone to PC.
Open a Windows command prompt on the /flash subfolder folder you unziped earlier:
select folder with left click, right click while holding SHIFT on keyboard > Open command windows here
In command, enter
Code:
adb devices
Commands starts adb and returns: bfacf0c80104 unauthorized
On the phone, Allow USB debugging and send command again.
Command now returns: bfacf0c80104 device
Now enter
Code:
adb reboot bootloader
Phone restarts in bootloader/fastboot mode.
Enter
Code:
fastboot devices
Command returns: bfacf0c80104 fastboot
### If not, you may try to reinstall USB drivers or try another PC.
Now enter
Code:
fastboot flash recovery twrp-3.6.2_9-0-mido.img
Command returns: Finished. Total time: 1.540s
Now enter
Code:
fastboot boot twrp-3.6.2_9-0-mido.img
and wait while TWRP recovery boots.
TWRP asks: Decrypt data, tap on Cancel.
then Swipe to Allow Modifications.
Leave phone connected to PC.
We must remove encryption to access partitions.
From TWRP Home screen, go to Wipe > Format Data. This will remove all data on phone.
Type yes and confirm with bottom right icon.
6) BACKUP SYSTEM
Now go to Home screen > Backup.
Select System, Vendor, Boot, Bootloader, Firmware and EFS partitions.
Swipe to Backup and wait during Backup.
Back to Home > Mount.
Using Windows Explorer, access Redmi Note 4 and copy the TWRP folder from Internal Storage folder to somewhere safe.
Then copy LineageOS 19.1 and gapps.zip (+ magisk if you want root) to the same phone's Internal Storage folder.
### Copy both zip files straightforward. Don't unzip archives.
7) FLASH ANDROID 12.1
Once again Swipe to Allow Modifications.
Go to Install > lineage*.zip,
then Add more zips: mind*.zip.
### Optional: to flash Magisk root, go to Reboot > Recovery. Then Install > Magisk*.zip
Go to Reboot > System
8) ROOT ACCESS AND DEVELOPER MENU (OPTIONAL)
With Magisk, you are root once phone is started. No extra manipulation needed.
Superuser permissions can be managed from Magisk Manager app (it was flashed during Magisk flash. Or get it https://github.com/topjohnwu/Magisk/releases).
You can now remove install files from Internal storage.
For developer menu:
open the Settings menu, select "About Phone".
Tap on the "Build number" entry seven times. You should be notified, that the developer settings are now active.
Now go to Settings menu > System > Developer settings.
That's it.
Enjoy,
djibe
Thanks: Zeelog, @anandsvm, Aryan Kedare, @xtrymind @flex1911, LineageOS team, TWRP team, MindTheGApps team
Thanks for this... Will try it in 2-3 days
[email protected] said:
Thanks for this... Will try it in 2-3 days
Click to expand...
Click to collapse
Hi,
Any feedback is very welcome.
Normally you have all you need to hack it.
Enjoy
Will payment apps work after installing magisk? like Gpay, PhonePe
Also will it take 7 days to unlock bootloader?
[email protected] said:
Will payment apps work after installing magisk? like Gpay, PhonePe
Also will it take 7 days to unlock bootloader?
Click to expand...
Click to collapse
Hi, no idead for payment.
But MagiskHide normally does the trick.
Unlock bootloader is fast with all the tools in my pack.
[email protected] said:
Will payment apps work after installing magisk? like Gpay, PhonePe
Also will it take 7 days to unlock bootloader?
Click to expand...
Click to collapse
Root is optional.
Can't get majisk install after several times can't install it tried for super su but that too not installing in los 18.1
Jn1441 said:
Can't get majisk install after several times can't install it tried for super su but that too not installing in los 18.1
Click to expand...
Click to collapse
Hi, what is the error during flash in TWRP ?
Error1 displayed but after reflashing with mindgapps majisk is working now
Jn1441 said:
Error1 displayed but after reflashing with mindgapps majisk is working now
Click to expand...
Click to collapse
Cool, enjoy. The phone is still good
A very nice and clean tutorial, thanks for that!
I already unlocked bootloader with another tutorial and for now I will leave the device on the last stock firmware. But I already tested magisk. It's very new to me. The last phone I flashed is some years ago and I only knew SuperSU.
The Note 4 is only a "second device" and I won't use it as a daily driver. But it's fun to play around with it and test some things.
@djibe89 Good hint, that I have to use an older rom as an intermediate step to avoid problem, this is new to me.
Also I wondered when I looked up the partitions to backup. There are 15 (!?) partitions (Pics attached). You are writing, that following partitions have to be backed up: System, Vendor, Boot, Bootloader, Firmware and EFS partitions.
When I flash lineage and then want to go back, can I just restore the partitions? What happens to the other partitions when I flash a rom? Will they be deleted? Some years ago a phone just had 4 or 5 partitions...
Hi @tito_puente, you can start from step 7 to enjoy a clean Note 4.
Many thanks for the guide. Worked well. Can I remove Magisk to unroot or would I need to start Over?
the_real_grumpazoid said:
Many thanks for the guide. Worked well. Can I remove Magisk to unroot or would I need to start Over?
Click to expand...
Click to collapse
Hi, you can uninstall from the Magisk app
Installation
The Magic Mask for Android
topjohnwu.github.io
Great guide, Im new to flashing roms and this seems understandable. Is this usable for Xiaomi Redmi Note 4x (snapdragon)?
nysrin said:
Great guide, Im new to flashing roms and this seems understandable. Is this usable for Xiaomi Redmi Note 4x (snapdragon)?
Click to expand...
Click to collapse
Hi,
Yes.
Like written in the Title, it is for the snapdragon version, Aka 4X
Ooh i did not know the only difference between the note 4 and note 4x is that the 4x uses snapdragon.
The reason I was doubting is that I got a different device ID so I thought i my phone is a different model
List of devices attached
e640de900903 device
Click to expand...
Click to collapse
I will proceed later tonight, thank you for your quick response.
djibe89 said:
[GUIDE/TUTORIAL/HOWTO] Xiaomi Redmi Note 4 Snapdragon SOC (codename mido) stock to Android 11 R / LineageOS 18.1
Complete guide to install Android 11 on your Xiaomi Redmi Note 4 (Snapdragon).
This tutorial only applies to this model, to check the correct version:
in Android, go to Settings > About phone, make sure Device model is Redmi Note 4.
It must be Snapdragon: below Device model, CPU must be Octa-core Max 2.0Ghz
### If CPU is not Octa-core Max 2.0Ghz, you have the Mediatek version (codename Nikel), see here:
https://forum.xda-developers.com/f/xiaomi-redmi-note-4-mediatek-roms-kernels-reco.5784/
### If phone is not Redmi Note 4, quit this tutorial
CHANGELOG ----------------------------------------
v1. Initial release
1 ) WHAT YOU NEED
- djibe Redmi Note 4 pack: https://bit.ly/djibe-redminote4-pack
(contains all you need: USB drivers + Mi Unlock tool + fastboot & adb + TWRP Recovery 3.5.0_9-0 + OrangeFox recovery + Magisk root)
+ ROM LineageOS Unofficial 17.1: https://forum.xda-developers.com/t/ota-3-18-4-9-unofficial-lineageos-17-1-mido.4039907/
Download latest build: https://androidfilehost.com/?w=files&flid=309016&sort_by=date&sort_dir=DESC
Yes we need both LineageOS (LOS) ROMS !
+ ROM LineageOS Unofficial 18.1: https://forum.xda-developers.com/t/...ineageos-18-1-mido-vanilla-by-zeelog.4186179/
Download latest build: https://github.com/zeelog/OTA/releases
+ FlameGApps Basic: https://sourceforge.net/projects/flamegapps/files/arm64/android-11/BETA/
2 ) INSTALL DRIVERS
Go to the folder you unzipped earlier.
navigate to usb_driver_r13-windows > usb_driver.
Right click on android_winusb.inf and select Install. Confirm with OK.
Restart Windows.
3 ) BACKUP YOUR DATA
Make sure Google/provider account is synchronized.
Backup photos, documents, contacts before going any further (ex: use the backupyourmobile app).
Connect phone to PC, search for all .jpg, .mp3, .mp4 files on your phone and retrieve data.
4 ) UNLOCK BOOTLOADER
### Before going further, you need the latest official firmware.
Go to Settings > About phone.
MIUI version must be 11.0.2.0 (NCFMIXM).
Unlock Developer settings:
Tap 7 times on MIUI version item.
If not: connect to Wifi, tap on System update > Check for updates.
### System won't update ? Download latest firmware from here: https://xiaomifirmwareupdater.com/firmware/mido/
MIUI Account
Insert your SIM card.
Enter Sim PIN and turn off wifi, turn on mobile data and sync.
Go to Settings > Mi Account
Enter your phone number adapted to prefix and create an account (if not yet done).
Make sure phone Mi Account is active, in Settings, besides Mi account is written an identifier.
Go to Settings > Additional settings > Developer options and scroll to Mi Unlock Status item.
Permission required, Agree
### Make sure Wifi is off and mobile data on, then tap on Add account and device, then Got it.
### As written, don't sign out of Mi account, perform factory reset or erase system data for now.
### Keep calm and carry on.
Now open the \Mi Unlock subfolder from my pack.
Launch miflash_unlock.exe ad administrator: right click on .exe > Run as administrator
Agree to terms.
Login to your Mi account (with phone number prefixed or email)
Confirm login with SMS verification.
### Alternative: Open this webpage from your PC: https://en.miui.com/unlock/
### Click on Unlock now, then Download Mi Unlock archive. Unzip and refer to previous steps.
Back to phone, turn it off.
Then hold Volume down + Power buttons until phone vibrates and displays Fastboot screen.
Connect phone to USB.
Back to PC, Mi Unlock now says "Phone connected".
Unlock button is available, click on it and confirm with Unlock anyway.
Wait until Unlocked successfully is displayed.
Click on Reboot phone.
Unlocked is written at the bottom of screen during boot.
### Need to quit Fastboot mode ? Hold Power until phone vibrates and restarts.
5 ) FLASH TWRP RECOVERY
Back to Android, go to Settings > Additional settings > Developer options,
switch OEM unlocking ON and USB debugging ON.
Connect phone to PC.
Open a Windows command prompt on the /flash subfolder folder you unziped earlier:
select folder with left click, right click while holding SHIFT on keyboard > Open command windows here
In command, enter
Code:
adb devices
Commands starts adb and returns: bfacf0c80104 unauthorized
On the phone, Allow USB debugging and send command again.
Command now returns: bfacf0c80104 device
Now enter
Code:
adb reboot bootloader
Phone restarts in bootloader/fastboot mode.
Enter
Code:
fastboot devices
Command returns: bfacf0c80104 fastboot
### If not, you may try to reinstall USB drivers or try another PC.
Now enter
Code:
fastboot flash recovery twrp-3.5.0_9-0-mido.img
Command returns: Finished. Total time: 1.540s
Now enter
Code:
fastboot boot twrp-3.5.0_9-0-mido.img
and wait while TWRP recovery boots.
TWRP asks: Decrypt data, tap on Cancel.
then Swipe to Allow Modifications.
Leave phone connected to PC.
We must remove encryption to access partitions.
From TWRP Home screen, go to Wipe > Format Data. This will remove all data on phone.
Type yes and confirm with bottom right icon.
6 ) BACKUP SYSTEM
Now go to Home screen > Backup.
Select System, Vendor, Boot, Bootloader, Firmware and EFS partitions.
Swipe to Backup and wait during Backup.
Back to Home > Mount.
Using Windows Explorer, access Redmi Note 4 and copy the TWRP folder from Internal Storage folder to somewhere safe.
Then copy OrangeFox and LineageOS 17.1 to the same phone's Internal Storage folder.
7 ) FLASH ORANGEFOX RECOVERY
Now go to Home screen > Install
Select OrangeFox*.zip and Swipe to confirm Flash, recovery will auto-reboot.
8 ) FLASH LINEAGEOS 17.1
Coming from Android 7, we need to flash Android 10 to prevent bugs with fingerprint or bootloops...
Once again Swipe to Allow Modifications.
On bottom navigation bar, tap on Files.
Then select lineage-17.1*.zip and Swipe to Install.
Then tap on Wipe Caches > Swipe to wipe,
then Reboot System.
Wait during boot.
Quickly setup Android and try to skip configs.
Once finished, turn phone off.
9 ) FLASH LINEAGEOS 18.1
Boot in Recovery mode:
Hold Power + Volume+ until Mi logo shows up and release buttons.
Wait during OrangeFox recovery boot.
On bottom navigation bar, tap on Wipe.
Select Dalvik/ART cache, Cache, System, Data and Vendor partitions,
then Swipe to Wipe.
Back to Home > Menu (right icon of navigation bar) > Mount
Copy lineage-18.1*.zip, FlameGApps, Magisk*.zip and Magisk Manager*.apk on Internal Storage.
Then back to Files menu (left item of navigation bar).
Tap in lineage > Add to Queue > Magisk > Add to Queue > FlameGApps and Swipe to Install.
When flash is over > Wipe Caches and Reboot System.
10 ) ROOT ACCESS AND DEVELOPER MENU
With Magisk, you are root once phone is started. No extra manipulation needed.
Superuser permissions can be managed from Magisk Manager app (it was flashed during Magisk flash. Or get it https://github.com/topjohnwu/Magisk/releases).
You can now remove install files from Internal storage.
For developer menu:
open the Settings menu, select "About Phone".
Tap on the "Build number" entry seven times. You should be notified, that the developer settings are now active.
Now go to Settings menu > System > Developer settings.
That's it.
Enjoy,
djibe
Thanks: anandsvm, Zeelog, Aryan Kedare, @xtrymind @flex1911, LineageOS team, TWRP team, OrangeFox recovery team
Click to expand...
Click to collapse
Hi @syzw,
Can you reinstall USB drivers in Administrator mode ?
Or try another computer ?
djibe89 said:
Hi @syzw,
Can you reinstall USB drivers in Administrator mode ?
Or try another computer ?
Click to expand...
Click to collapse
I updated USB drivers in device manager of PC.
Now I am enjoying A11.
Thanks.

At my wits end

So I'm trying to get Magisk installed on my bootloader/OEM Unlocked S10+ (SM-G975F beyond2lte) device.
I can do that fine by downloading the latest official firmware for my device, installing that (BL/AP/CP/CSC) through Odin v3.14.
That installs fine.
Then I sideload Magisk v23.0, and the AP file I just flashed via Odin over adb via push.
I install Magisk, recovery-patch the AP file, usd adb to pull the file back over onto my desktop. I restart the phone in download mode and once again populate Odin with the BL/AP/CP/CSC files, but this time the AP file is the one I got from Magisk.
Start that, let Odin restart my phone whilst I'm holding Bixby/Power-Up/Power, I release those three once the bootloader warning message comes up.
I set the phone up like normal, but there's the issue - my 128GB device only reads as having 32GB - I can setup Magisk fine, it asks me to download an extra bit, then auto-restarts the phone after 5 seconds.
Yay, I have root! Boo, I'm missing 96GB of free space...
I've read that installing TWRP can help fix this, fair enough, I try to install TWRP (I've tried through both the "dd" method via adb shell, and patching the twrp 3.5.2_9-3 via Magisk, and installing with vbmeta over Odin), but that then eliminates Magisk.
I've been trying this now for days, literally days, reading through different forum posts, detailing my steps to myself in notepad++ step-by-step so I can see what it is I'm doing.
I'm left with zero clue what to do now except reach out and hope for some help from this forum.
Should have known... Now that I've posted on XDA it's fixed... In-case anybody else is having trouble here are the steps I've written down for myself.
Phone is S10+ SM-G975F (beyond2lte) - Bootloader / OEM Unlock is already unlocked.
******************************************************************
FLASHING STOCK ROM (ALWAYS GOOD PLACE TO START):
******************************************************************
1. Phone into Download mode (Vol Down + Bixby button, insert USB (Don't use power button))
2. Odin, AP in AP, BL in BL, CP in CP, CSC in CSC (NOT the HOME one). USERDATA stays EMPTY!
3. Phone may restart/erase several times, in the end inbuilt recovery will turn up. Use this to factory reset.
4. Wait for it to continue like normal after factory reset.
5. Setup INCLUDING with WiFi. WiFi REQUIRED. No need to add your account
6. Make sure OEM Unlock is still checked.
*************************************************************************************************
ROOT INSTRUCTIONS: https://www.thecustomdroid.com/samsung-galaxy-s10-root-guide/
*************************************************************************************************
1. Use adb push to shunt over Magisk Manager (download latest one), and the "AP" file
2. Install Magisk Manager
3. Open, select install, make sure "Recovery" is ticked, next, select "Select and Patch a File"
4. Select the AP file, then click "Let's Go"
5. Use adb pull, as the MTP file transfer ****s up the large patched files Thanks Microsoft!
6. (adb reboot bootloader) Restart phone in Download mode
7. Open Odin, & flash the patched Magisk AP file in AP, BL in BL, CP in CP, CSC (NOT the HOME one) in CSC.
8. Let device reboot while holding POWER, BIXBY, and VOL UP, and release all 3 buttons on bootloader warning screen.
a. NOTE: If you end up with a bootloop, hold POWER, BIXBY, VOL UP until you enter the built-in recovery menu, and do a factory reset.​
9. Set device up like normal, remember to enable the WiFi
a. Check device internal storage, should be XXX out of 128GB (Or whatever you have)​
10. Search installed apps for the Magisk one, it won't have a proper icon to begin with
11. Open it, and continue the setup as it instructs. It’ll reboot the phone.
12. Device is now rooted.
********************************************************************************************
TWRP INSTRUCTIONS: https://www.thecustomdroid.com/samsung-galaxy-s10-twrp-magisk-root-guide/
********************************************************************************************
Phone must be rooted for this to work!
1. Copy the un-magisked file "twrp-3.5.2_9-3-beyond2lte.img" onto phone
2. Open Magisk, select install, make sure "Recovery" is ticked, next, select "Select and Patch a File"
3. Patch the "twrp-3.5.2_9-3-beyond2lte.img" file
4. Copy that patched file onto your PC, and rename it magisk_patched.img
5. Open powershell in same folder, and type
a. mv magisk_patched.img recovery.img​b. tar cf twrp-beyond2lte.img.tar recovery.img​
6. Enter into Bootloader mode
7. Load up Odin, untick auto-reboot, and put the magisk-patched TWRP.tar file in AP
8. Press PWR and VOL-DOWN to exit Download Mode, as soon as screen goes black, switch to PWR, BXBE, VOL-UP, release PWR & BXBE when you see bootloader warning, keep VOL UP
9. In TWRP, swipe to allow modifications
10. Flash multidisabler-samsung.zip
11. Go to wipe - format data - yes, after go back to TWRP home screen
12. Click Reboot > Recovery (NOT SYSTEM), you now have a TWRP enabled device.
13. Reinstall Magisk, and check root status, it should ask you to do the whole re-download/5 second reboot thing because you did the wipe > yes thing in TWRP.
UPDATE: After restarting my phone I lost root (Magisk was still installed, but it didn't have an "installed" version listed). To get past this I...
*************************************************************************************************************************
Magisk reinstallation via TWRP:
[ROM][Signature Spoofing]LineageOS 18.1 for S10E/S10/S10+ Exynos
oHello my friends, please someone could make a video to activate root? I can't even do it with the key combinations... Please help me I can't get into the bank apps :(
forum.xda-developers.com
*************************************************************************************************************************
1. Copy the "beyond2lte-boot-magisk.img" onto phone (see URL above)
2. Run Magisk, patch the "beyond2lte-boot-magisk.img" file, then copy it over onto your MicroSD (I just find it easier)
3. Boot into TWRP > Install > Install Image button (Bottom Right)
a. If TWRP has vanished, follow steps above to get it back​
4. Flash the patched file to "Boot"
5. Go to TWRP Home screen > Reboot into Recovery (not into System)
6. Check Magisk Manager should have Root again (Don't update Magisk via app though, or you’ll bollocks the whole thing up, and have to start all over from the start.)

Tutorial to Flash Lineage on Oneplus8t with magisk. Works with devices with originally locked bootloader (tmobile locked models)

READ THIS WHOLE THING BEFORE STARTING. THERE ARE SEVERAL WARNINGS.
Flash eu firmware using msmtool mod (https://www.xda-developers.com/t-mobile-oneplus-8t-rebrand-without-bootloader-unlocking/) (if msmtool doesn’t work make sure windows is in test mode with proper qualcomm drivers) (if your device bootloops and you can’t recover it just flash it again with msmtool, power it off and power it back on holding both volume up and down) Recommended to use Command Prompt commands instead of powershell (type cmd in platform-tools directory) https://developer.android.com/studio/releases/platform-tools
Unlock oem bootloader
Enable developer options (click build number several times)(make sure you’re connected to internet)
Enable oem unlocking, advanced reboot, usb debugging
Reboot to bootloader/fastboot
fastboot oem unlock
Unlock bootloader
Boot back into oos, (repeat steps I. ii. And iii.) or (boot directly into fastboot by holding volume down while
booting)
Flash boot, dtbo, and recovery (https://mirror.math.princeton.edu/pub/lineageos/full/kebab/20220818/)
fastboot flash boot (path to boot.img)
fastboot flash dtbo (path to dtbo.img)
fastboot flash recovery (path to recovery.img)
Download firmware (https://kremowka.xyz/files/8fw/)
Enter recovery mode, enter fastbootd
Advanced > enter fastboot
Follow https://wiki.lineageos.org/devices/kebab/fw_update to flash it, and without rebooting sideload
LineageOS 19.1, sideload mindthegapps, then reboot. https://wiki.lineageos.org/devices/kebab/install fits in
there somewhere
Open notepad, copy commands from lineage, save as (file name).bat, drag into powershell from file explorer
(flash ram separately for safety) I named mine “flashfirmwareforoneplus8t.bat”
Be careful with ddr4 vs 5. do not brick your phone. Ddr4x is ddr4 for these purposes.
Without rebooting, enter recovery > apply update > apply from adb (it should say version 18.1 in the top left)
adb devices (to confirm phone is connected properly and device drivers are configured properly)
adb sideload (path to lineage 19.1 .zip)
Sideload will likely get stuck at 47%. This is normal. Just wait.
Volume up to go to back arrow, advanced, reboot to recovery (make sure it says version 19.1 now)
adb sideload (path to mindthegapps .zip) note that most gapps packages will not install properly as they are
too large. Just download them all from google play store once booted.
Signature verification failed will pop up, just confirm “yes”
Reboot recovery?
adb sideload (path to copy partitions .zip)
Back > Reboot system now
It may say “can’t load android system your data may be corrupt” just factory data reset it’s fine unless you have
data you want to keep then you’ll have to google it, I don’t know how to recover that and you should’ve done
that before this step (do it in fastboot, search up adb shell pull)
If the start page has clouds and blue then good job you loaded gapps properly. If it’s not then something
happened.
OPTIONAL (if you want magisk/root)
Go into settings, enable developer options (tap build number repeatedly) make sure usb debugging is on
Search in settings for “advanced”, click “advanced restart” and enable
Hold power button, restart, recovery
Apply update > apply from adb
adb devices
adb sideload (path to magisk .apk)
Signature verification failed, install anyway
Volume up to go to back arrow, reboot system now
Boot into device, reboot, magisk should appear, click on it and click accept on whatever it prompts
Open magisk, do whatever it prompts. To install a file, drag whatever module .zip you want in, make sure file
transfer is on
DO NOT USE ACC OR ACCA (battery manager) FROM F-DROID IT SOFT BRICKED MY PHONE
What I use: Safetynet universal fix and raven.A12L (spoofs as pixel 6 pro to let safetynet work)
Install from storage
Order I did it in was safetynet then raven, rebooting between each one but I'm not sure if it matters
Install safetynetfix, then go into settings, click zygisk, click enforce denylist, click 3 dots, show system apps, click
google play services, google play store, and carrier services (the square check box next to the name, make sure
every check below when you open it as a dropdown menu is checked
Reboot phone
Now you can download whatever you want
If you install twrp, make sure you are using android 12 version and not android 11, android 11 twrp will destroy
your recovery if you try to use it on android 12.
Add on: If your phone is not detected by your pc, or is detected as “MTP” with an exclamation mark, you do not
have the right drivers. There are plenty of resources online to fix this, but one that I had trouble with was that I
was on windows 10 N instead of whatever the other version is, which doesn’t come with “mediafeaturepack.”
You need to install that on your own from https://www.microsoft.com/en-us/software
download/mediafeaturepack, or, if your device isn’t listed, go to windows application “optional features” and
add it from there.
If your computer won’t download qdloader 9008 qualcomm drivers through device manager, there are a few
things i’ve tried to fix it. Make sure you have correct drivers
from https://www.catalog.update.microsoft.com/Search.aspx?q=qualcomm hs usb 9008
“The system cannot find the file specified”
Open command prompt as administrator
Type DISM /Online /Add-Package /PackagePath:"Full path of .cab file"
I put mine in C: drive folder but I'm not sure it matters
Also I'm not sure which one of the three I downloaded from the website. Did not cause any issue downloading
and trying to install all three, let me know if you figure out which one works. Maybe you need all three, I don’t
know.
If that doesn’t work, do sfc /scannow
Open windows update, make sure all updates are applied and restart windows (make sure you go to optional
updates and select qualcomm drivers)
Fastboot won’t connect
Make sure you’re using a usb 2.0 port instead of a usb 3.0 port, and make sure your usb cable is a data cable.
Google the difference if you don’t know what it is. Download usb drivers
from https://developer.android.com/studio/run/win-usb, open device manager, see if anything is there, if it
shows something in “other devices” click on it, click update drivers, browse my computer, let me pick, have disk,
and then browse to android_winusb.inf and click update, click bootloader interface. If you get “error 10 device
won’t start” when installing bootloader interface, one possible solution is to disable driver signing.
Open command prompt as an administrator (doesn’t have to be in platform tools directory)
bcedit /set testsigning on
Reboot, try to install driver again.
If your device is bootlooping, and you enter fastboot after updating to a12 firmware AND you have magisk\
modules downloaded AND you have twrp installed, do not press the up volume button, only cycle through
options with volume down, because it may enter an option cycle and you won’t be able to do anything unless
you fastboot flash boot twrp.img.
It’s recommended that as soon as you root, you backup persist.img, which contains imei info (you don’t want
that to get destroyed) I am unsure if there’s anything else device specific you need to backup, I've heard
vendor_image may be but it’d not as important as persist.
To backup persist.img, put phone in recovery, type in command prompt or powershell
adb shell dd if=/dev/block/bootdevice/by-name/persist of=/tmp/persist.img
adb pull /tmp/persist.img persist.img
This should save persist.img to your computer. Back it up somewhere you keep important things. Also don’t
give it out at random as it contains your imei number, not sure what the consequences of that could be but
nothing good is likely to come of it.
Important shortcuts:
Power + vol up – boot into system
Power + vol down – boot into fastboot
Power + vol up + vol down – boot into edl
IF DEVICE IS BOOTLOOPING AND YOU CAN’T ENTER ANY DIFFERENT MODES, CONTINUE HOLDING POWER +
VOL DOWN IN RANDOM PATTERNS. IT HAS TAKEN ME 20 MINUTES OF RANDOM BUTTON COMBINATIONS TO
GET INTO FASTBOOT FROM A BOOTLOOP. YOU WILL ALWAYS BE ABLE TO EXIT A BOOTLOOP IF YOUR PHONE
IS PHYSICALLY UNDAMAGED.
If VoWifi doesn’t work, pixelify dialer can get it working. Probably also just any custom dialer, but I like Google
dialer. Wait for the interface to change slightly, don’t clear data until you’ve waited at least a minute or two and
closed and reopened it a few times, but if it doesn’t change after installing pixelify then force close, clear data,
and wait a minute or two, reopen, and then wait. If it continuously doesn’t change you can reflash pixelify.
Note – If using pixelify module, disable auto update for android system intelligence, it will break gboard
translate and possibly slow down device.
You can also use magisk module “mindetach” to detach com.google.android.as from play store, which will fix
any auto update bugs. Credit to vewu for showing me that
https://github.com/j-hc/mindetach-magisk
https://github.com/Pixel-Props/raven/releases
https://github.com/kdrag0n/safetynet-fix
Dm me on here if you have any questions. I am not a dev, I learned these steps from others in the community.
Shoutout pizzalovingnerd, Luk1337, raven, poang, and nvcore for helping me out a lot.
Apologies for formatting, this is copied from a word doc. Please feel free to indent and number list yourself and
send me a better version
Does the third option work?
INTseed said:
Does the third option work?
Click to expand...
Click to collapse
did you configure the denylist? try clearing cache and data for google play services, google play store, and carrier services and rebooting
Mrmcfeffers said:
READ THIS WHOLE THING BEFORE STARTING. THERE ARE SEVERAL WARNINGS.
Flash eu firmware using msmtool mod (https://www.xda-developers.com/t-mobile-oneplus-8t-rebrand-without-bootloader-unlocking/) (if msmtool doesn’t work make sure windows is in test mode with proper qualcomm drivers) (if your device bootloops and you can’t recover it just flash it again with msmtool, power it off and power it back on holding both volume up and down)
a. Unlock oem bootloader
i. Enable developer options (click build number several times)(make sure you’re connected to internet)
ii. Enable oem unlocking, advanced reboot, usb debugging
iii. Reboot to bootloader/fastboot
iv. .\fastboot oem unlock
v. Unlock bootloader
b. Boot back into oos, (repeat steps I. ii. And iii.) or (boot directly into fastboot by holding
volume down while booting)
2. Flash boot, dtbo, and recovery (https://mirror.math.princeton.edu/pub/lineageos/full/kebab/20220818/)
a. .\fastboot flash boot (path to boot.img)
b. .\fastboot flash dtbo (path to dtbo.img)
c. .\fastboot flash recovery (path to recovery.img)
3. Download firmware (https://kremowka.xyz/files/8fw/)
4. Enter recovery mode, enter fastbootd
a. Advanced > enter fastboot
5. Follow https://wiki.lineageos.org/devices/kebab/fw_update to flash it, and without rebooting sideload LineageOS 19.1, sideload mindthegapps, then reboot. https://wiki.lineageos.org/devices/kebab/install fits in there somewhere
a. Open notepad, copy commands from lineage, add .\ before each line, save as (file name).bat, drag into powershell from file explorer (flash ram separately for safety) I named mine “flashfirmwareforoneplus8t.bat”
b. Be careful with ddr4 vs 5. do not brick your phone. Ddr4x is ddr4 for these purposes.
c. Without rebooting, enter recovery > apply update > apply from adb (it should say version 18.1 in the top left)
i. .\adb devices (to confirm phone is connected properly and device drivers are configured properly)
ii. .\adb sideload (path to lineage 19.1 .zip)
Sideload will likely get stuck at 47%. This is normal. Just wait.
d. Volume up to go to back arrow, advanced, reboot to recovery (make sure it says version 19.1 now)
i. .\adb sideload (path to mindthegapps .zip) note that most gapps packages will not install properly as they are too large. Just download them all from google play store once booted.
Signature verification failed will pop up, just confirm “yes”
e. Reboot recovery?
i. .\adb sideload (path to copy partitions .zip)
6. Back > Reboot system now
a. It may say “can’t load android system your data may be corrupt” just factory data reset it’s fine unless you have data you want to keep then you’ll have to google it, I don’t know how to recover that and you should’ve done that before this step (do it in fastboot, search up adb shell pull)
7. If the start page has clouds and blue then good job you loaded gapps properly. If it’s not then something happened.
8. OPTIONAL (if you want magisk/root)
9. Go into settings, enable developer options (tap build number repeatedly) make sure usb debugging is on
a. Search in settings for “advanced”, click “advanced restart” and enable
b. Hold power button, restart, recovery
10. Apply update > apply from adb
a. .\adb devices
b. .\adb sideload (path to magisk .apk)
i. Signature verification failed, install anyway
ii. Volume up to go to back arrow, reboot system now
11. Boot into device, reboot, magisk should appear, click on it and click accept on whatever it prompts
a. Open magisk, do whatever it prompts. To install a file, drag whatever module .zip you want in, make sure file transfer is on
12. DO NOT USE ACC OR ACCA (battery manager) FROM F-DROID IT SOFT BRICKED MY PHONE
a. What I use: Safetynet universal fix, disableflagsecure (lets you screenshot netflix lol), and raven.A12L (spoofs as pixel 6 pro to let safetynet work)
i. Install from storage
ii. Order I did it in was safetynet, then raven, then flag secure rebooting between each one but I'm not sure if it matters
b. Install safetynetfix, then go into settings, click zygisk, click enforce denylist, click 3 dots, show system apps, click google play services, google play store, and carrier services (the square check box next to the name, make sure every check below when you open it as a dropdown menu is checked
c. Reboot phone
13. Now you can download whatever you want
https://github.com/Pixel-Props/raven/releases
https://github.com/kdrag0n/safetynet-fix
https://forum.xda-developers.com/t/disable-flag-secure-magisk-module-v3-0-by-mehedi-hjoy.4490475/
Dm me on here if you have any questions. I am not a dev, I learned these steps from others in the community. Shoutout pizzalovingnerd, Luk1337, raven, poang, and nvcore for helping me out a lot.
Apologies for the ****ty formatting, i copied this from a word document. I don't know how to paste the indents.
Click to expand...
Click to collapse
How can you claim this 'works on locked bootloader', when right at your ( 2) you say 'unlock bootloader'. And if your instructions require unlocked bootloader (which they surely do), then they are useless, because once your bootloader is unlocked, you can simply flash Magisk with recovery.
optimumpro said:
How can you claim this 'works on locked bootloader', when right at your ( 2) you say 'unlock bootloader'. And if your instructions require unlocked bootloader (which they surely do), then they are useless, because once your bootloader is unlocked, you can simply flash Magisk with recovery.
Click to expand...
Click to collapse
modded msm tool allows bootloader unlocking
Mrmcfeffers said:
modded msm tool allows bootloader unlocking
Click to expand...
Click to collapse
What does this have to do with your 'working on locked bootloader'? That statement is false. You can't flash anything on locked bootloader, and if you unlock bootloader, then you can simply flash Magisk via recovery without the need for your 'method'.
optimumpro said:
What does this have to do with your 'working on locked bootloader'? That statement is false. You can't flash anything on locked bootloader, and if you unlock bootloader, then you can simply flash Magisk via recovery without the need for your 'method'.
Click to expand...
Click to collapse
seems to have worked for me. i meant "working on locked bootloader" as in it include steps to unlock. it's also a guide to installing lineage, not just magisk. i'm not sure what issue you have here, it's a specific tutorial for a specific problem.
Mrmcfeffers said:
seems to have worked for me. i meant "working on locked bootloader" as in it include steps to unlock. it's also a guide to installing lineage, not just magisk. i'm not sure what issue you have here, it's a specific tutorial for a specific problem.
Click to expand...
Click to collapse
It's just a decription in thread name that is a bit misleading.
At first it appears like it can be done on locked bootloader.
And it's obviously not, as stated in your instruction point #2.
Otherwise, nice tutorial.
Mrmcfeffers said:
DO NOT USE ACC OR ACCA (battery manager) FROM F-DROID IT SOFT BRICKED MY PHONE
Click to expand...
Click to collapse
So is acc incompatible with this device? Or is this a warning only at that step in the tutorial?
jinncarry said:
So is acc incompatible with this device? Or is this a warning only at that step in the tutorial?
Click to expand...
Click to collapse
Don't use acca from f-droid. Acc from the official GitHub (https://github.com/VR-25/acc) is fine and works perfectly

Categories

Resources