• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][UNOFFICIAL][8.1] switchroot LineageOS 15.1

Search This thread

lazerface90

Member
Jul 23, 2011
6
0
So I've been trying to get this to work since yesterday. Not had any luck. I used etcher on my windows 10 pc to load the 128gb image to my 128gb SD card. aside from taking a long time, it didn't fail either time i did it. Tried to push the pay load from both Rekado on my phone, and TegraRCM pushing the hekate payload. And that's where I'm stuck. Doesn't seem to want to take the payload.

Note that my experience is limited with homebrews on the Switch. I have loaded hekate to my Switch before and was using the emuMMC to play Morrowind with OpenMW. Got Lakka/Retroarch to work just fine.

Any tips would be great. Thanks in advance!
 

DeathToy

Member
Aug 3, 2018
43
5
So after installing joycon fix it hasn’t fixed my R3/L3 issues still doesn’t work, any idea?
Manually copy the files over, set permissions, then restart. I had the same problem. TWRP said the file was successfully flashed, but it didn't actually do anything.

Anyone know how to map the Capture button to Back?
 

bigguynak

Member
Jul 10, 2011
10
4
Manually copy the files over, set permissions, then restart. I had the same problem. TWRP said the file was successfully flashed, but it didn't actually do anything.

Anyone know how to map the Capture button to Back?

You could create a .kl file for the joycons or modify the existing one. Also, I think apps like "Gamepad Tester" can more or less automate this process since you should have root access.
 

sport93

Senior Member
Jun 7, 2011
72
3
Manually copy the files over, set permissions, then restart. I had the same problem. TWRP said the file was successfully flashed, but it didn't actually do anything.

Anyone know how to map the Capture button to Back?

Well, I tried TWRP again, this time I checked ‘System’ in ‘mount’, did actually work.. thank you for help tho
 
Last edited:

sport93

Senior Member
Jun 7, 2011
72
3

egd4

New member
Mar 20, 2020
2
0
Hi,
I accendentaly deleted all the Bootloader file content when i updated hekate on my SDcard...Can someone show or give me files that where essentials to launch switchroot in the bootloader file please?
 

FiveOhFour

Senior Member
Jun 29, 2012
211
31
New Orleans
Compatibility

Forgive my ignorance, and please be gentle, it’s my first time with another 20,000 men and women. I’m trying to make sense of some seemingly contradictory info. Do you need a particular version of the switch to be able to root it/load android etc? My understanding was you need to drop it like it’s hot unless you find a very early model. Is this accurate? Thanks for your time and help in advance.
 

hene193

Senior Member
Aug 21, 2011
128
19
hene193.com
Forgive my ignorance, and please be gentle, it’s my first time with another 20,000 men and women. I’m trying to make sense of some seemingly contradictory info. Do you need a particular version of the switch to be able to root it/load android etc? My understanding was you need to drop it like it’s hot unless you find a very early model. Is this accurate? Thanks for your time and help in advance.

Yes you need early hackable model.
 

ceanth

Senior Member
Feb 26, 2007
543
52
Hi all,

I am giving this a go (yes quite late to the party). I am using Etcher on my mac to flash the 32gb image on my 32gb SD Card but it appears to be stuck at 98% Flashing.

Ive tried it a few times and getting the same issue. I don't have a spare SD card so i can't rule that out at the moment.

Anybody have any suggestions?
 
Is there going to be an update to Android 9 or 10 soon? Might help with battery life/performance.
Pie is still in development and there´s no official release yet but if you follow them on twitter or discord you should know you can already build your own pie rom from source but it´s still buggy and stuff to figure out.
At least they got wifi working for some of us having issues after debugging a lot on our specific console that has issues so i wouldn´t recommend pie yet, since it´s still not 100% stable and things like magisk is impossible right now, could be lucky open gapps didn´t break anything.

It´s already close to a state it can get a official release but some things just need a bit more time.
 

ceanth

Senior Member
Feb 26, 2007
543
52
Ok I managed to get this the image flashed however I can't seem to flash Gapps. I've downloaded ARM64 8.1. nano but I get:

"Zip file is corrupt!
Error installing zip file ........"

I've tried downloading the zip file twice, I have also made sure that I have mounted System and vendor, not sure what else I need to check. Might try and download another version of Gapps and see how that goes
 

Jose64141

New member
Mar 24, 2020
1
0
So I've been trying to get this to work since yesterday. Not had any luck. I used etcher on my windows 10 pc to load the 128gb image to my 128gb SD card. aside from taking a long time, it didn't fail either time i did it. Tried to push the pay load from both Rekado on my phone, and TegraRCM pushing the hekate payload. And that's where I'm stuck. Doesn't seem to want to take the payload.

Note that my experience is limited with homebrews on the Switch. I have loaded hekate to my Switch before and was using the emuMMC to play Morrowind with OpenMW. Got Lakka/Retroarch to work just fine.

Any tips would be great. Thanks in advance!

Etcher is a nice writer, with some cool features, but it's nice just from the outside ;P. I had a lot of issues with it, so I keep using Win32 Disk Imager. It's a simple yet useful program that works way better that Etcher. Or else you can try to burn the image a lot of time and get the last version of etcher (I also tried that and after some tries, it worked XD). The other thing, I don't know if you mean you can't load the Hekate payload or the Android one, but if its the first which fails, you can download the last release of Hekate and replace it on the SD and load that payload c; . If you mean it doesn't load Android, probably is beecause etcher can't finish to burn the img and some Android partitions are just bad ;p
 

Phillyrider807

Senior Member
Jul 30, 2010
108
23
I really wanted to wait until pie got released but it doesn't seem it's gonna be released anytime soon. A quick question for the current android thats on the switch. Im very interested in using "Moonlight" when RE3 coming out so i can play the game on my bigscreen instead of my monitor.

I'm aware analog on the joycons aren't working but what about bluetooth controllers? Can i connect my ps4 or my switch pro controller through bluetooth and will analog work?

Also does moonlight work when docked?
 

Ronovsky

New member
Mar 27, 2020
1
0
I'm becoming desperate. I've bought 128GB SanDisk Extreme with A2 just for this and I can't for the life of me flash the image onto it. BalenaEtcher takes very long to complete the process and once it's done, the card is unusable and I have hard times even formatting it back. What's going on?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 166
    Code:
    *** Disclaimer
    
    Don't break your stuff, okay? // TODO write better disclaimer

    Introduction

    LineageOS 15.1 for Nintendo Switch by switchroot. This is the first publicly available Android ROM for the Nintendo Switch. Based on the Nvidia Shield TV builds it brings a smooth and powerful Android experience to your Switch in both handheld and docked mode.

    Images

    As previously shown:
    D9HtBVIWwAAaQ_Z.jpg:large

    D9Iw-BsWwAMWKUn.jpg:large

    D9Lf0aJWwAAelCo.jpg:large

    D9NEUN6W4AEySOS.jpg:large

    Features

    • 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
    • Reboot to Payload (NEW!). Rebooting will reboot to android and reboot to boodloader will boot hekate.
    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.
    • You tell us ;)

    Installation instructions

    1. Pick the image that corresponds to the size of your SD card. You can use an image that is smaller than your card. You’ll end up with the remaining space unused on your card.
    2. Write the image to your SD card with e.g. balenaEtcher Do not extract the image, Etcher can handle the compressed image just fine! WARNING: This will overwrite any contents on your card! The progress bar/percentage might go haywire in Etcher, but you can ignore that. The flashing will still work and Etcher will let you know when it’s done. It can take up to an hour depending on your SD card’s speed. Also make sure not to format any of the partitions when Windows prompts you to after flashing.
    3. Download GApps for Android 8.1. from OpenGApps, use ARM64 NANO. Put the file on the first partition of your new SD card
    4. If desired download the "Shield-ifier" zip and place it also on the SD card. This will make your Switch identify as Nvidia Shield TV and install the Nvidia app.
    5. Load hekate and boot to TWRP by holding VOL+ when you select the Android config.
    6. Make sure to mount /system and /vendor first in TWRP. Flash GApps zip, reboot2payload zip and optionally flash other zips. Also after installing GApps wipe cache/dalvik as offered by TWRP. Video that shows how to access and flash zips in TWRP: https://youtu.be/3F6WgAb44yk
    7. Reboot to hekate and boot into Android
    8. Complete the inital setup, but DO NOT connect to wifi, do that after set-up has completed. For the Nvidia app to work make sure to update it from Play Store!

    Changelog

    Code:
    Initial release: 2019-07-27
    Previous changelogs

    Code:
    // TODO make more releases

    Downloads

    16GB image: Direct | Torrent
    32GB image: Direct | Torrent
    64GB image: Direct | Torrent
    128GB image: Direct | Torrent
    Shield-ifier: Direct | Torrent
    Reboot2payload update: Direct

    Addons / Extras

    • Joycon Fix: Enables L3/R3 and reports the sticks as analog, which should fix games like GTA: fix-joycon.zip

    FAQ

    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.

    Sources

    https://gitlab.com/switchroot/android
    https://gitlab.com/switchroot
    Instructions for building will come, for the moment ask in discord
    Thanks To/Credits

    • The LineageOS Tegra devs, especially @Steel01
    • Our testers
    • Everyone who contributed

    Stay in touch


    XDA:DevDB Information
    switchroot LineageOS 15.1, ROM for the Nintendo Switch

    Contributors
    langer hans, bylaws
    Source Code: https://gitlab.com/switchroot

    ROM OS Version: 8.x Oreo
    ROM Kernel: Linux 4.x

    Version Information
    Status: Beta
    Current Beta Version: 1.0
    Beta Release Date: 2019-07-27

    Created 2019-07-24
    Last Updated 2020-10-05
    18
    I have added a flashable zip to the first post that enables L3/R3 clicks and reports the sticks as analog. That should help in games like GTA. Thanks to @gavin_darkglider1 for building it!
    15
    Reserved

    SHA1 sums of the images:
    Code:
    63c02149407e31c0620c3a0a2079f57e7d2d6855  android-128gb.img.gz
    7615277cf2b383dfe32163746debfe2da8683728  android-16gb.img.gz
    890c6cc203862f266caaf77fca4616ebe864eee6  android-32gb.img.gz
    d5439008ecdb0aa5e9350e6f0848fc0d56578427  android-64gb.img.gz
    e90143137a45d5bdecceb708c360742a76532182  shieldifier.zip
    14
    Bash Script to Flash Image

    Hey guys,

    A lot of you were asking if there is an image for xyz GB microSD cards or how to increase the Nintendo Switch partition size to use the same card for the regular Switch OS and Android.
    Well, I had the same requirements, therefore I made an interactive bash script that does exactly that. All you need is a Linux environment to run the script on. This can also be an Ubuntu Live-USB Stick for example.

    Unfortunately, this is my first post. Therefore, I cannot include any external links. But you can find everything on GitHub under Gabri3lZ/SwitchrootAndroidUtils.
    https://github.com/Gabri3lZ/SwitchrootAndroidUtils

    The script lets you decide what size the Android user partition should have, and it will use the rest of the free space for the FAT32 partition for the Nintendo Switch. It also allows to create an additional partition for EMUMMC (for those who want to run homebrew apps on the Switch and want to reduce the risk of getting banned). The script has the following advantages over using Etcher to flash the image:
    • Size for Nintendo Switch partition and Android user partition can be defined by the user
    • Support for an additional partition for EMUMMC
    • No wasted space on the microSD card, no matter what size the card has
    • The whole process is faster, because it does not dump Gigabytes of empty partition data to the microSD card
    • No fragmentation or breaking the (hybrid MBR) partition table because of moving and resizing partitions
    • The partitions are properly aligned (to 1 MiB)

    The script is interactive. So you can choose the device you want to flash the image onto and the partition size while the script runs. Here is how to use it:
    1. Download the 16GB image from Switchroot's XDA-Developers post and extract the ZIP file.
    2. Download "flash.sh" to the same directory where the image is.
    3. Open Terminal emulator and navigate to the directory where the image and script are (in Ubuntu, you can use the File explorer to navigate there, right click the folder and select "Open in Terminal").
    4. Execute the script and pass the path to the Android image as a parameter:
      Code:
      sudo ./flash.sh ./android-16gb.img
    5. Follow the instructions in the interactive script.
    6. Follow the remaining instructions in the XDA-Developers post (from step 3).

    Hope you enjoy. If there is any feedback about the script, please let me know here or on GitHub.
    9
    Official updates from Switchroot team finally!!!

    http://twitter.com/switchroot_org/status/1184196178499592193

    "Some updates on recent developments: lp0 aka deep sleep made a huge step forward as the Switch can now successfully resume after entering deep sleep. There are still software bugs to iron out before this is fully functional."

    "Next up is auto rotation. The IMU has finally been found and can be interfaced with. This means auto rotation of the screen based on device orientation is now possible!"

    "Regarding updates: The next release will be either Pie or Q. It hasn't been decided yet but Q is more likely as it would come with much better joycon support including fully analog sticks."