Tutorial  Updated

How to install Android 8.1(LineageOS) to your Nintendo Switch

Before following this guide. Please note that you will need to have some prior experience with both Switch Hacking, and Android in order to install this properly. As this guide will assume you already know how to enter RCM mode and push payloads, and do basic recovery mode tasks

Requirements:
  • A hackable Nintendo Switch(Non iPatched Unit) To check if your Nintendo Switch is hackable. Please follow Step 2 on this page
  • A dedicated SD card(16gb minimum)
  • A way to push access RCM mode and push Payloads(Hekate)
These are not my screenshots. These have been taken from the XDA Thread
https%3A%2F%2Fpbs.twimg.com%2Fmedia%2FD9HtBVIWwAAaQ_Z.jpg%3Alarge

https%3A%2F%2Fpbs.twimg.com%2Fmedia%2FD9Lf0aJWwAAelCo.jpg%3Alarge
https%3A%2F%2Fpbs.twimg.com%2Fmedia%2FD9NEUN6W4AEySOS.jpg%3Alarge

Download and install BalenaEtcher to set up your SD card. Click here to download BalenaEtcher

Go to XDA release thread here, and download the image for your SD card size. For example, I am using a 32gb SD Card so I will need to download the 32GB Image. DO NOT EXTRACT THE DOWNLOADED IMAGE!

Open BalenaEtcher, and select the image you just downloaded. Once the image is selected, go ahead and select your SD card if it was not automatically selected. Please double check that the correct drive is selected before clicking "Flash" as this will erase whatever drive is selected. Once you have confirmed that the correct drive is selected click "Flash"

k0vgWsA.png


Once you click flash you will need to wait upwards to an hour and a half for the image to flash and validate. If this process takes longer than an hour something may have gone wrong. Please start from step 1 and try again. Sometimes changing SD cards will help. You may also have a window pop up asking to format one of your disks. Just close out of these windows.

Once the flash is complete navigate to this XDA release thread again and download the "shield-ifier" zip file and place this zip file on the first partition of the now flashed SD card. For me, this was located at "F:/"

Next, you will need to Download GApps for Android 8.1, with Arm64 from here. Once this file is downloaded. Place this on your SD Cards first partition right alongside your "Sheild-ifier" zip file. Like I did below. Once again for me, this directory was "F:/"

Now close this spoiler and move onto Section 2!

Requirements:
Learn how to access and use RCM Mode. To learn about RCM mode, how to access it please check out this page here.
Hekate Payload
A way to push the hekate payload. To learn how to go about this, please check out this page

Now that the most difficult part of the process is complete, we can now learn how to both boot into our new Android installation, but what we need to do to set it up before it will work properly!

If you have not already, please take your SD card out of your PC and insert it into your Nintendo Switch. From here you will now need to access RCM mode and push the Hekate payload.

Once Hekate launches on your Nintendo Switch. Select Launch by scrolling with the volume buttons, and selecting it by pressing the power button. Then scroll and select "More Configs..."

Before you scroll and select "Switchroot Android" on this screen, get ready to hold your "volume up" button as you will need to press and hold this, the same time that you select "Switchroot Android" Once you're ready. Do this and wait until you see the TWRP menu. Once you see this you can let go of "volume up" Please note, that if you do not enter this TWRP menu first. You may need to reset up your SD Card as GAPPs need to be installed prior to first boot since this is a Beta release. Otherwise, you may not be able to complete the setup.

Once in TWRP you will receive a message asking you to allow TWRP to keep the system as read only or not. Swipe right to allow TWRP to make it's modifications

From here select Mount by touching it on the touchscreen, and check the checkbox next too "system" it may take a few seconds for any paritions to appear. Once the box is selected tap the back button. If this step is not done you will be unable to install Open GAPPS

Now select install, and navigate up a lever in the folder selection on the page, then scroll down and select "external_SD"

From here you will see your two ZIP files from the previous selection. Please select these zip files one at a time starting with "open_gapps" and install each of them. If the system asks you to swipe prior to installation. Go ahead and do so. You will also be asked to wipe the cache/dalvik after installation. Again go ahead and do so. Once complete you can go ahead and click the back button to both leave the installation screen for the next step. Or install the "shield-ify" zip if you choose to use it.


Once you go back to the main menu, you may be asked to install TWRP. If you are asked to do so, go ahead and install it, and wipe the cache/dalvik. Otherwise, go ahead and reboot your system into Hekate and select "Switchroot Android" like before. However this time you will not need to hold "Volume-up" unless you want to access the TWRP menu again. If you're not asked to install TWRP you will need to do so manually if you want root access on your device. Otherwise go back to the Main Menu, select reboot, and tap the "Power off button"

Now enter RCM mode and boot into Hekate again

Once in Hekate, navigate too "Switchroot Android" again and select it without holding "Volume up". Once this is complete, you will begin to boot into LineageOS. Because this is your first boot it may take upwards to 10min for it to boot completely and allow you to set up the android system. Reboots after this initial setup will be faster.

Once booted and setup, you should now have a fully functional Android Tablet! You can now go ahead and set up any emulators or apps as you would normally on a normal Android device. You may even update and use the Nvidia app for in-home streaming if you installed the "Shield-ifier" zip file!

First, download the latest stable build of MAGISK from their XDA Thread here

Then transfer the magisk zip file, too the first partition of your SD Card. For me, this was "F:/"

Insert the SD card back into your Switch, and boot into the TWRP recovery menu by holding "Volume up" while Android is booting

Now mount your system partition as you've done before, navigate to the install menu and install your MAGISK zip file. Much like you did with the GApps zip file when you installed Android. If asked to wipe the cache/dalvik go ahead and do so.

Once MAGISK is installed, boot into Android like normal and download the Magisk Manager APK found here using your internet browser of choice and install it from Android. You may need to enable Unkown sources from within your Device settings before you can install this.

Once this APK has been installed go ahead and open your newly installed Magisk Manager app to verify that you have successfully obtained root access. If you see 4 green checkmarks than that means you've successfully rooted your device!

  • LineageOS 15.1 - Android 8.1 Oreo
  • Based on the Nvidia Shield TV trees
  • TWRP pre-installed
  • CPU and GPU performance profiles
  • Works in handheld and docked mode
  • Audio is supported
  • Joycons connect via Bluetooth, also in handheld mode
Known bugs:
  • Deep sleep, so battery life is not great
  • Auto rotation as we haven't figured out how to talk to the sensor yet
  • Screen off in dock
  • Charging is not detected, but console still charges
  • Some apps don't handle joycon inputs correctly
  • The touchscreen sometimes detects touches even when your finger is just floating over the screen
  • There is a system process ANR on boot. Just click „Wait“ and it won’t happen again until next boot
  • Screenshots do not work
  • WiFi may randomly stop working. If this happens just reboot
  • If TV looks odd and grainy when docking then redock a few times.
  • No TV keyboard that can be used with gamepad
  • SELinux is disabled
  • You can’t access the FAT32 partition of the SD card on macOS. Windows and Linux works.

Credits for part of this FAQ goes to the original XDA thread about this release. As I ammended the end of it with new questions moving forward.

Q: How to switch performance profiles?
A: Go to Settings -> Battery -> Power Profiles. The options are Balanced = 1 GHz CPU / 468 MHz GPU, Quick = 1.4 GHz CPU / 768 MHz GPU and Performance = 1.7 GHz CPU / 920 MHz GPU. Keep in mind that the high-performance profiles use MUCH more battery.

Q: How will updates be done?
A: For updates, flashable zips will be released.

Q: Can we use TV mode?
A: Use HAL launcher from the Play Store to run apps in TV mode.

Q: Nvidia GameStream doesn’t perform well, what to do?
A: Try using Moonlight instead.

Q: Does Magisk work?
A: Yes, just flash it in TWRP

Q: I get an error about „invalid architecture“ when trying to flash GApps
A: Make sure you mounted System in TWRP

Q: Does this work on any Switch?
A: You will need to be able to boot into hekate. If you can do that, your Switch is compatible.

Q: I get a blank notification window saying "Process system isn't responding" that looks like this
YekiGOt.png

A: This is normal, tap the "wait" button

Q: Does the "Pro controller" or other bluetooth controllers work?
A: Yes they do, simply open the bluetooth settings and connect them like any other bluetooth device!

Of course, if there is anything that I should elaborate on, or if you have any questions/concerns in regards to this process. Please do not hesitate to ask or reach out.
 
Last edited by ,

Paiuand

Well-Known Member
Member
Joined
Aug 24, 2015
Messages
433
Trophies
0
Age
34
XP
1,401
Country
Iraq
You would need to download the required apks manually and install them from lineageos
I actually got it working using magisk but now everytime i go into a match it kicks me out bc of lag or vpn or idk, doesnt seem playable
 

essm1988

Member
Newcomer
Joined
May 9, 2019
Messages
16
Trophies
0
Age
36
XP
166
Country
Italy
You can get a streaming app to play any pc games anywhere

Just install parsec at android and pc

I have played ps2 games by pcsx2 emulator currently
 
Last edited by essm1988,

hiroakihsu

SUPREME LURKER OF THE WORLD
Member
Joined
Aug 10, 2003
Messages
540
Trophies
2
Location
On the edge of my seat
XP
1,894
Country
Japan
Guys I just followed this tutorial to the letter using a 128GB Sandisk Ultra class-I microSD...When I finally booted into LineageOS/Android everything just started to become really slow so I forced shutdown by holding switch power button for 15 seconds...I then tried to reformat my microSD on my PC and now the card seems to have become corrupted and unreadable...Tried reformatting the card several times but still couldn't bring it back alive; I don't know what to do at this point.
 
Last edited by hiroakihsu,

Patrick327

Member
Newcomer
Joined
Oct 26, 2018
Messages
12
Trophies
0
Age
34
XP
69
Country
United States
My problem is that for some reason I didn't have the google play store, so I had to reformat my card, now once I finish flashing and eject the card and put it back in, it doesn't detect the other partition and it says I need to reformat my card.
 

Shahaan

Well-Known Member
Member
Joined
Dec 29, 2018
Messages
103
Trophies
0
Age
18
Location
South Africa,Durban
XP
917
Country
South Africa
Just came back to say, what the hell? I have access to all the partitions now, it might be because of root or TWRP or something. Aslo came to report that holy crap Portal runs awesome on this
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
My problem is that for some reason I didn't have the google play store
if you don't have access to playstore, it means you didn't (or it failed to) install gapp package.
once you are inside android on switch, you can use the browser to download gapp and magisk, it'll go to your download folder on SD card.
then reboot to TWRP and pick the gapp zip from your switch. no need to use a computer to put package on SD (but you can if you prefer)


I never played portal, it could be interesting.
are all these games free? or I have to "find" apk? or is it from Steam?
I never played games on my phone, I have no idea which games exists.
 
Last edited by Cyan,

Patrick327

Member
Newcomer
Joined
Oct 26, 2018
Messages
12
Trophies
0
Age
34
XP
69
Country
United States
if you don't have access to playstore, it means you didn't (or it failed to) install gapp package.
once you are inside android on switch, you can use the browser to download gapp and magisk, it'll go to your download folder on SD card.
then reboot to TWRP and pick the gapp zip from your switch. no need to use a computer to put package on SD (but you can if you prefer)


I never played portal, it could be interesting.
are all these games free? or I have to "find" apk? or is it from Steam?
I never played games on my phone, I have no idea which games exists.
Maybe these images will help illustrate my problem, I cannot seem to find the other partition that it says it automatically creates when it flashes the image, I can't get into android at all because it's not even on my SD card.
 

Attachments

  • Annotation 2019-07-30 052913.png
    Annotation 2019-07-30 052913.png
    52.5 KB · Views: 177
  • Annotation 2019-07-30 053013.png
    Annotation 2019-07-30 053013.png
    90.7 KB · Views: 186
  • Annotation 2019-07-30 053047.png
    Annotation 2019-07-30 053047.png
    92.8 KB · Views: 187

Shahaan

Well-Known Member
Member
Joined
Dec 29, 2018
Messages
103
Trophies
0
Age
18
Location
South Africa,Durban
XP
917
Country
South Africa
if you don't have access to playstore, it means you didn't (or it failed to) install gapp package.
once you are inside android on switch, you can use the browser to download gapp and magisk, it'll go to your download folder on SD card.
then reboot to TWRP and pick the gapp zip from your switch. no need to use a computer to put package on SD (but you can if you prefer)


I never played portal, it could be interesting.
are all these games free? or I have to "find" apk? or is it from Steam?
I never played games on my phone, I have no idea which games exists.
Portal exists on the Nvidia games thing alongside Portal 2, and the 2 half-life games aswell, I'm not sure what else is on there. But These also require that you have a shield TV to download, and you need a controller (the joy-cons work) for them, you will have to find an apk though

--------------------- MERGED ---------------------------

Also, the files I transferred between my laptop and MicroSD card won't show up on the switch, it is the correct android partition, so if someone could tell me how to possibly make them appear. That would be great
 
  • Like
Reactions: Cyan

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
Maybe these images will help illustrate my problem, I cannot seem to find the other partition that it says it automatically creates when it flashes the image, I can't get into android at all because it's not even on my SD card.
the other partitions are not formatted with a recognizable format for windows.
only the FAT32 partition (first on the SD) can be read.

Maybe the FAT32 partition is not properly detected by your OS because it's a linux created FAT, your maybe it doesn't like the SD card to have a GPT partition instead of MBR.
You could check in the device manager, see if the first partition has an assigned letter (E for example), instead of assigned to a non FAT partition (android).
From your pictures, only one of the partition are detected and assigned a letter, maybe not the correct one. Windows only list drives with assigned lettered partition.

But you should be able to boot android, and use the android browser to get the needed files to your SD's FAT partition.
 
Last edited by Cyan,

Patrick327

Member
Newcomer
Joined
Oct 26, 2018
Messages
12
Trophies
0
Age
34
XP
69
Country
United States
the other partitions are not formatted with a recognizable format for windows.
only the FAT32 partition (first on the SD) can be read.

Maybe the FAT32 partition is not properly detected by your OS because it's a linux created FAT, your maybe it doesn't like the SD card to have a GPT partition instead of MBR.
You could check in the device manager, see if the first partition has an assigned letter (E for example), instead of assigned to a non FAT partition (android).
From your pictures, only one of the partition are detected and assigned a letter, maybe not the correct one. Windows only list drives with assigned lettered partition.

But you should be able to boot android, and use the android browser to get the needed files to your SD's FAT partition.
I formatted it in exFAT I think, it's now formatted in FAT, FAT32 isn't an option but I can see if I can find a program that will format the SD card in FAT32
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
don't format it yourself.
you should write the image to SD which will generate all needed partitions and data on it, and use the format it's being set to.
if it's not seen by windows, I only suggested to check the "assigned letters" to the FAT partition generated by the image, I didn't suggest to format any of the partitions.

if it's not seen by windows, it's not a problem at all.
boot your current SD on switch, you'll be inside android but without appstore access.
connect to internet (you'll probably have to setup the network settings first), then use the browser to download gapp's ARM, 8.1, Pico.
reboot to TWRP and install gapp to get appstore working.
 
Last edited by Cyan,

Shahaan

Well-Known Member
Member
Joined
Dec 29, 2018
Messages
103
Trophies
0
Age
18
Location
South Africa,Durban
XP
917
Country
South Africa
the other partitions are not formatted with a recognizable format for windows.
only the FAT32 partition (first on the SD) can be read.

Maybe the FAT32 partition is not properly detected by your OS because it's a linux created FAT, your maybe it doesn't like the SD card to have a GPT partition instead of MBR.
You could check in the device manager, see if the first partition has an assigned letter (E for example), instead of assigned to a non FAT partition (android).
From your pictures, only one of the partition are detected and assigned a letter, maybe not the correct one. Windows only list drives with assigned lettered partition.

But you should be able to boot android, and use the android browser to get the needed files to your SD's FAT partition.
What do you mean by Android browser, I only have the files app. Even the files that I deleted while I was on my laptop were still there for some reason, I should double check.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
there's only a single app? file app?
I guess all video tutorial are really bad, it's the one on page2 of the main thread I watched.
https://gbatemp.net/posts/8732806
the desktop is not the one from the switch? you don't have these apps already installed?

The user obviously created the tutorial AFTER installing gapps, because at the beginning of the video he already has magisk, portal, etc.
but I only guessed that he just showed how to do it (overwriting his installed apps without consequences).
 
Last edited by Cyan,
D

Deleted User

Guest
OP
Guys I just followed this tutorial to the letter using a 128GB Sandisk Ultra class-I microSD...When I finally booted into LineageOS/Android everything just started to become really slow so I forced shutdown by holding switch power button for 15 seconds...I then tried to reformat my microSD on my PC and now the card seems to have become corrupted and unreadable...Tried reformatting the card several times but still couldn't bring it back alive; I don't know what to do at this point.
You need to use an application like SD Card formatter to format the card properly for use again
 
  • Like
Reactions: hiroakihsu

hiroakihsu

SUPREME LURKER OF THE WORLD
Member
Joined
Aug 10, 2003
Messages
540
Trophies
2
Location
On the edge of my seat
XP
1,894
Country
Japan
You need to use an application like SD Card formatter to format the card properly for use again

Wow...That just WORKED!!! Thx a ton!!

Edit: Also finally figured out why android was running really slow on my previous attempt...turns out my 128GB card's speed was too low...Tried again with another faster-speed microsd and now it's working perfectly.
 
Last edited by hiroakihsu,

Patrick327

Member
Newcomer
Joined
Oct 26, 2018
Messages
12
Trophies
0
Age
34
XP
69
Country
United States
I have a 128 gb SD card, my question is, is it required that I download that 128 gb ROM file, or can I use a lower one like 16 GB? If I go with the one that corresponds to my SD card, then won't I only have like 2 or 3 GBs of space left? Doesn't seem like very much for games.
 

AkGBA

Nope
Member
Joined
Feb 14, 2007
Messages
345
Trophies
1
XP
1,437
Country
France
I have a 128 gb SD card, my question is, is it required that I download that 128 gb ROM file, or can I use a lower one like 16 GB? If I go with the one that corresponds to my SD card, then won't I only have like 2 or 3 GBs of space left? Doesn't seem like very much for games.

Each img uses 8 GB for system, and 2 GB for the fat32 partition. The rest is free space for Android.
So yes you can use a smaller img than your sd size, the you will have as much free space as the img you chose.
(16 GB img : 6 GB free space; 32 GB img : 22 GB free space, and so on...)
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
if you put 16GB on a 128GB card, you won't have 112 of free space for games, you'll have 112GB of wasted unusable space.
the userspace partition where you put games, where apk installs to, is part of the 16GB image.

All images contains 7GB of android, the rest is your userspace partition.
The 16GB image contains 7GB of android partitions, and 9GB of usable space for your files/games/data/etc. (it might already contains some files on it, so it's not really 9GB free)
You also have 2GB of FAT32 (I suppose seen as "sdcard-ext" mount point)
 
Last edited by Cyan,

redcat2401

Member
Newcomer
Joined
Jun 23, 2018
Messages
22
Trophies
0
Age
34
XP
694
Country
Australia
Can anyone help me, when I try mounting, nothing happens, it wont tick and it says 0MB. It's been pissing me off for the last hour but nothing is working.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    fuck ubisoft, and fuck activision
    +1
  • realtimesave @ realtimesave:
    Nintendo needs to release a new console, switch is getting such shitty little games lately lol it's pathetic
  • Purple_Heart @ Purple_Heart:
    Lmao a new flashcart... The Unlock Switch... I knew it's not fake xD
    +1
  • NinStar @ NinStar:
    A new consoles won't solve that problem
  • NinStar @ NinStar:
    It will actually make it worse
  • The Real Jdbye @ The Real Jdbye:
    well actually
    a new console won't do anything right now, because the games are still in development, that's why there are few games being released
  • The Real Jdbye @ The Real Jdbye:
    it won't make the games finish any faster
  • Veho @ Veho:
    2/3rds of launch titles for the Switch 2 will just be lazy ports of Switch games anyway.
  • The Real Jdbye @ The Real Jdbye:
    probably
  • The Real Jdbye @ The Real Jdbye:
    maybe mario kart 9 will be a launch title
  • The Real Jdbye @ The Real Jdbye:
    i really want a new mario kart
  • Veho @ Veho:
    What, you mean the endless stream of DLCs doesn't count?
  • Veho @ Veho:
    Why develop a new game when you can just sell season passes forever?
  • Veho @ Veho:
    I'm still on MKDS so I'm not bothered :tpi:
  • The Real Jdbye @ The Real Jdbye:
    i like the dlc tbh, i'd like a new game more
  • ZeroT21 @ ZeroT21:
    but the current version is still selling fine at full price
  • SylverReZ @ SylverReZ:
    Hello
  • ZeroT21 @ ZeroT21:
    sup
    +1
  • SylverReZ @ SylverReZ:
    @realtimesave, You seen the Unlock Switch flashcart yet?
  • K3Nv2 @ K3Nv2:
    I'll see the 19.0 update that blocks use ability to it
    +1
  • K3Nv2 @ K3Nv2:
    Lol newegg+
    Screenshot-20240423-053504-Gmail.jpg
  • S @ salazarcosplay:
    does update 19 really block it
  • SylverReZ @ SylverReZ:
    Update 19 never came out yet. Just the 18.1.
    SylverReZ @ SylverReZ: Update 19 never came out yet. Just the 18.1.