Android 10 Switch: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 1: Line 1:
{{Infobox Switch Homebrews
{{Infobox Switch Homebrews
|title=Android 10
|title=Android 10
|image=android10switch.png
|image=android10nx.png
|description=Android 10 on Switch.
|description=Android 10 on Switch.
|author=Switchroot team
|author=Switchroot
|lastupdated=2022/04/08
|lastupdated=2022/04/08
|type=Operating systems
|type=Operating systems
Line 11: Line 11:
|website=https://wiki.switchroot.org/en/Android/Build-10
|website=https://wiki.switchroot.org/en/Android/Build-10
|source=https://gitlab.com/switchroot/android
|source=https://gitlab.com/switchroot/android
|donation=  
|donation=https://wiki.switchroot.org/#funding
}}
}}
{{#seo:
This is a new, updated version of Android for the Nintendo Switch, based off of Android 10 (Q) (LineageOS 17.1 with Shield TV trees). It's faster, more responsive and has many new features over the previous release, including deep sleep and an Android TV build.
|title=Switch Homebrew Apps (Operating systems) - GameBrew
|title_mode=append
|image=android10switch.png
|image_alt=Android 10
}}
A new version of Android, based on Android 10 (Q) and LineageOS 17.1 with Shield TV trees, has been released for the Nintendo Switch. This updated version offers improved speed and responsiveness compared to the previous release, as well as new features such as deep sleep and an Android TV build.


==Features==
==Features==
* Android 10 based on Lineage 17.1
* Android 10 based on Lineage 17.1.
* Significantly improved UI smoothness compared to Oreo.
* Significantly improved UI smoothness compared to Oreo.
* OTA updates (bugfixes and new features without a reinstall).
* OTA updates (bugfixes and new features without a reinstall).
Line 45: Line 39:
* Auto rotation support.
* Auto rotation support.


==Android 10/Q Setup Guide==
==Installation==
=== Requirements ===
[https://wiki.switchroot.org/en/Android/Setup-10 Follow the tutorial here.]
* RCM-exploitable Switch ([https://ismyswitchpatched.com/ CHECK HERE FIRST])
* RCM exploitation method (Usually a jig, but other methods can be found [https://noirscape.github.io/RCM-Guide/ HERE])
* Computer
* USB-C cable/USB-C Switch autoinjector
* High quality SD card >= 16GB
* microSD card reader for the computer


=== Prerequisites ===
==Screenshots==
* Nuke any Switchroot Andorid Oreo installations or Pie, Q, or R dev builds before attempting to install this release
'''Dual boot with Hekate/Nyx + [[fastCFWswitch]] (photo by hotshotz79)'''<br>
* Ensure SD is formatted as FAT32 or exFAT. It will be formatted automatically as FAT32 during partitioning as it is necessary to boot Android (or L4T Linux)
https://dlhb.gamebrew.org/switchhomebrews/android10nx2.png


=== Steps ===
==Media==
1. Download the required files and put hekate on the SD card<br />
'''Tutorial: How to Install Android 10 on a Modded Nintendo Switch''' ([https://www.youtube.com/watch?v=z1OwZbjAnYo TeamRetrogue]) <br>
a. Download the latest version of the <code>hekate</code> bootloader from [https://github.com/CTCaer/hekate/releases/ HERE] (<code>hekate_ctcaer_[version]_Nyx_[version].zip</code>)<br />
<youtube>z1OwZbjAnYo</youtube>
b. Unzip the <code>hekate</code> archive to the root of the SD card<br />
c. Download the latest zip [https://download.switchroot.org/android-10/ HERE] of either <code>icosa-tab</code> (standard tablet Android) or <code>icosa-atv</code> (Android TV)
 
Your SD card should now look like this, assuming it is shared with HOS (Horizon OS/Switch OS):
 
<pre>root
|- bootloader
|  |- ini
|  |  |- ...
|  |- payloads
|  |  |- ...
|  |- res
|  |  |- ...
|  |- sys
|  |  |- ...</pre>
 
2. Prepare Switch, boot into hekate, and dump JoyCon pairing info<br />
a. Boot into HOS and ensure Joy-Cons are paired<br />
b. Insert your SD card into your Switch, slide the RCM jig into the right rail<br />
c. Hook your Switch up to your PC (or other payload injector) via USB-C and power off the console<br />
d. Press Power and VOL + simultaneously to enter RCM mode and inject the hekate payload (<code>hekate_ctcaer_[version].bin</code>) that came with your downloaded hekate zip<br />
NOTE: To keep it simple you can use [https://switch.exploit.fortheusers.org this] in Google Chrome (not compatible with other browsers), check &quot;Upload .bin payload&quot; and select the payload mentioned above, then click &quot;Do the thing!&quot; and select &quot;APX&quot; from the pop-up menu.<br />
e. Once booted into <code>hekate</code>, you can remove the RCM jig, and launch Nyx Options<br />
https://dlhb.gamebrew.org/switchhomebrews/android10switch-05.png<br />
f. Dump your Joy-Con BT pairing information (with your Joy-Cons railed)<br />
https://dlhb.gamebrew.org/switchhomebrews/android10switch-06.png<br />
g. Ensure the message is correct, otherwise physically re-connect and re-pair the JoyCons in HOS and try again<br />
https://dlhb.gamebrew.org/switchhomebrews/android10switch-07.png
 
3. Partition SD card in hekate<br />
a. Navigate to <code>hekate</code>'s partition manager<br />
https://dlhb.gamebrew.org/switchhomebrews/android10switch-08.png<br>
https://dlhb.gamebrew.org/switchhomebrews/android10switch-09.png<br>
b. Use sliders to select appropriate space for each OS (we recommend at least 16 GB for Android, although it should be usable with ~8GB), then press Next Step<br />
NOTE: this step creates multiple partitions for a somewhat standard AOSP layout -- look [[Documentation/Partition_Docs|HERE]] for more information if interested<br />
c. You may want backup Nintendo folder or any CFW files if necessary via <code>hekate</code>'s SD UMS tool over USB-C or by removing the SD card and reading directly on a PC (<code>hekate</code>/Nyx can pause and reload when SD is removed), but Hekate will offer to backup and restore up to 1 GB of data from your existing file-system.</p></li>
 
4.Add ROM zips to SD<br />
a. Plug the Switch into your PC and select &quot;SD UMS&quot;<br />
b. Extract the <code>icosa-tab</code> or <code>icosa-atv</code> zip to the root of the SD card (any major unzipping program should work fine as of 8/16/21)</p></li></ol>
 
<pre>root
|- bootloader
|  |- ini
|  |  |- ...
|  |- payloads
|  |  |- ...
|  |- res
|  |  |- ...
|  |- sys
|  |  |- ...
|- Nintendo
|  |- ...
|- switchroot
|  |- android
|  |  |- ...
|  |- install
|  |  |- ...
|- lineage-17.1-[date]-UNOFFICIAL-[device]-signed.zip</pre>
 
5. Add other zips and enter recovery<br />
a. If you would like to add Google Play functionality, we follow the recommendations of the LineageOS org on which GApps package to install. For standard tab Android, use [https://androidfilehost.com/?fid=2981970449027564091 MindTheGapps 10.0 for arm64], and for Android TV, use [https://opengapps.org/?api=10.0&variant=tvmini OpenGApps 10.0 tvmini for arm64].<br />
b. If you have any other flashable zips, place them on the root of the SD card<br />
c. Safely remove/eject the SD UMS device from your computer<br />
d. Back on the Switch, select &quot;Flash Android&quot; and accept the prompt to reboot to recovery<br />
e. Swipe right to allow writing to the SD<br />
f. Press Install, then &quot;Select Storage&quot; in recovery and select &quot;Micro SD Card&quot;<br />
g. Install the Lineage zip, followed by your GApps zip and any other zips you may have to install (see Extra Zips), and select Reboot -&gt; System</p></li>


6. First boot<br />
'''How to Install Android 10 on Switch (Full Setup Guide!!)''' ([https://www.youtube.com/watch?v=RnWJuvRFDhA KlutchxGaming]) <br>
a. If setup gets stuck on voice detection go back to the Wi-Fi config page and select &quot;Skip for now&quot;<br />
<youtube>RnWJuvRFDhA</youtube>
b. Your JoyCons will not auto-pair on first boot--reboot to auto-pair your dumped JoyCons in Android</p></li>


7. Subsequent boots<br />
==Compatibility==
a. Boot Switchroot Android from More Configs --&gt; Switchroot Android 10 in <code>hekate</code><br />
No compatible with Mariko units.
b. Hold VOL + on choosing this option to get back to recovery to flash zips<br />
c. Hold VOL - on choosing this option to get back to <code>hekate</code> without having to reinject a payload<br />
d. Rebooting the Switch will take you back to stock firmware</p></li>
 
8. Asking for support/If you get stuck<br />
a. First, get a screenshot of SD Info in <code>hekate</code>--this will allow us to rule out the most common issue first<br />
b. If you are experiencing seemingly unintended behavior while already booted into Android, try and get us a log--find a guide on how to install <code>adb</code>, enable USB debugging in developer options on the Switch, plug into the computer with adb installed, and run <code>adb logcat &gt; switchroot.log</code>. If this seems like too much for you, just get a bug report from developer settings.<br />
c. Submit the screenshot and logs if needed to in our Discord server--the invite link can be found [https://discord.gg/N9PPYXjWMY HERE].</p></li></ol>
 
=== Extra Zips ===
* GApps--Google Apps packages are used to add Google Play, GMS, and basic Google stock applications to your device. See step 5a for details.
* JoyCon Xbox Layout--grab the package from [https://download.switchroot.org/android-10/extras/joycon-xbox.zip HERE] to use an Xbox controller-style control scheme
* Lumince's CPU overclock zips. Grab one of the <code>&lt;FREQUENCY&gt;_OC-April_8th.zip</code> package from [https://github.com/Lumince/SwitchRoot-Q-Overclock/releases HERE] to use it
** WARNING: Leaving your Switch CPU OC'd to higher than recommended speeds for extended periods can decrease your battery's lifespan, and this zip is not recommended for those who are not attempting to maximize performance at the expense of hardware longevity
* Lumince's custom bootanimation zip. Grab the package from [https://github.com/Lumince/SwitchRoot-Q-Overclock/releases/download/4-8-2022/Switchroot-Bootanimation.zip HERE] to use it
 
=== Updating ===
Updates are pushed through OTA (over-the-air) updates, just like any standard Android OEM. Use the Updater in Settings to get the latest updates without losing data.
 
==  Tips &amp; Tricks ==
* To enable '''Performance Mode''' and change resolution go to Settings -&gt; Scroll Down -&gt; System -&gt; Scroll Down -&gt; Display and Performance configuration.
* The [https://play.google.com/store/apps/details?id=com.nvidia.shield.remote Nvidia Shield TV app] is a '''must have for docked usage''', allowing keyboard and mouse control from a phone.
* If you don't set a password the switch will auto-unlock after being docked.
* The capture button on the Joy-Cons is mapped to Play/Pause media.
* You can enable '''desktop mode''' to have a slightly better docked experience by going to Developer Options and scrolling down to 'Force Desktop Mode' enable that and reboot.
* To see '''battery percentage on ATV''' follow [https://gist.github.com/bylaws/6db669bb048c1207c3309235ce42c92c this guide.]
* If you want to use a controller to type on tablet then install [https://github.com/LineageOS/android_device_lineage_atv/blob/lineage-15.1/apps/LeanbackIme/LeanbackIme.apk this keyboard.]
* To run '''tablet apps on ATV''' [https://play.google.com/store/apps/details?id=dxidev.sideload.channel.launcher use this launcher.]
* For '''root''' the [https://github.com/topjohnwu/Magisk/releases latest magisk] can be flashed in recovery
* To transfer files to Android you can use MTP over USB.
 
==Media==
'''How to install android 10 on a switch and play xbox game pass without loosing anything on sd card! - ([https://www.youtube.com/watch?v=61nJOVHnymY Alien Retro Gaming])'''<br>
<youtube>61nJOVHnymY</youtube>
 
==Screenshots==
https://dlhb.gamebrew.org/switchhomebrews/android10switch-01.png
https://dlhb.gamebrew.org/switchhomebrews/android10switch-02.png
https://dlhb.gamebrew.org/switchhomebrews/android10switch-03.png
https://dlhb.gamebrew.org/switchhomebrews/android10switch-04.png


== Known Bugs ==
== Known issues ==
* Shield games are broken, DO NOT BUY THEM.
* Shield games are broken, do not buy them.
* Desktop GL is not supported and some EGL games have issues
* Desktop GL is not supported and some EGL games have issues.
* 5GHz Wi-Fi channels &gt;44 can cause instability--check your router settings if you're having issues connecting to Wi-Fi
* 5GHz Wi-Fi channels &gt;44 can cause instability--check your router settings if you're having issues connecting to Wi-Fi.
* Hardware overlays are forced off (software compositing only)
* Hardware overlays are forced off (software compositing only).
* Joycons do not turn off in sleep automatically, make sure to turn them off by tapping the 'sync' button on side.
* Joycons do not turn off in sleep automatically, make sure to turn them off by tapping the 'sync' button on side.
* Default keyboard can't be used with a controller.
* Default keyboard can't be used with a controller.


==Credits==
==Credits==
* Ave - Handling hosting of OTAs and the switchroot website. Check out [https://www.patreon.com/aveao her patreon]!
* Ave - Handling hosting of OTAs and the switchroot website. Check out [https://www.patreon.com/aveao her patreon].
* CTCaer - Fixing a lot of things in the kernel - charging, dock, touch etc - and adding Android install support for nyx. Donate to [https://www.patreon.com/ctcaer his patreon here]!
* CTCaer - Fixing a lot of things in the kernel - charging, dock, touch etc - and adding Android install support for nyx. Donate to [https://www.patreon.com/ctcaer his patreon here].
* Langerhans - Figuring out the majority of stuff for deep sleep and helping massively with initial bringup.
* Langerhans - Figuring out the majority of stuff for deep sleep and helping massively with initial bringup.
* Steel01 - Maintaining the Shield TV Lineage trees which ours are heavily based on.
* Steel01 - Maintaining the Shield TV Lineage trees which ours are heavily based on.
* Nvidia + Nintendo - ❤
* Nvidia + Nintendo - ❤
* Everyone else who contributed!
* Everyone else who contributed.


== External links ==
== External links ==
* Official Website - https://wiki.switchroot.org/en/Android/Build-10
* Official website - https://wiki.switchroot.org/en/Android/Build-10
* Github - https://gitlab.com/switchroot/android
* GitLab - https://gitlab.com/switchroot/android
* Discord - https://discord.gg/6gWvaASF72
* XDA Forums - https://forum.xda-developers.com/t/rom-unofficial-switchroot-android-10.4229761/
* Reddit - https://www.reddit.com/r/switchroot/
* Twitter -  https://twitter.com/switchroot_org
* Twitter -  https://twitter.com/switchroot_org
* XDA - https://forum.xda-developers.com/t/rom-unofficial-switchroot-android-10.4229761/
* Discord - https://discord.gg/N9PPYXjWMY

Revision as of 03:08, 7 May 2023

Android 10
Android10nx.png
General
AuthorSwitchroot
TypeOperating systems
Version20220408
LicenseMixed
Last Updated2022/04/08
Links
Download
Website
Source
Support Author

This is a new, updated version of Android for the Nintendo Switch, based off of Android 10 (Q) (LineageOS 17.1 with Shield TV trees). It's faster, more responsive and has many new features over the previous release, including deep sleep and an Android TV build.

Features

  • Android 10 based on Lineage 17.1.
  • Significantly improved UI smoothness compared to Oreo.
  • OTA updates (bugfixes and new features without a reinstall).
  • Deep sleep that can last for weeks compared to hours in the previous version.
  • RSMouse support for controlling a mouse cursor with your right stick
  • Full Joy-Con and Pro Controller support with analog sticks and rails.
  • Hori Joy-Con support.
  • Uses Joy-Con HOS Bluetooth paring data.
  • Both Android TV and Android Tablet builds.
  • Reworked fan profiles for quieter operation.
  • Optimized dock support with resolution scaling.
  • OTG support including DisplayPort or HDMI output (no power supply necessary).
  • 3rd party dock/hub support including DisplayPort or HDMI output.
  • Rewritten charging driver to properly support USB-PD.
  • Optimized touch screen driver.
  • Easier install via hekate partition tool.
  • Reworked, simpler, power profiles.
  • Much improved WiFi driver with less dropouts.
  • Shield TV remote app support for easy docked control.
  • Reboot to payload support.
  • Improved Bluetooth accessory support.
  • Auto rotation support.

Installation

Follow the tutorial here.

Screenshots

Dual boot with Hekate/Nyx + fastCFWswitch (photo by hotshotz79)
android10nx2.png

Media

Tutorial: How to Install Android 10 on a Modded Nintendo Switch (TeamRetrogue)

How to Install Android 10 on Switch (Full Setup Guide!!) (KlutchxGaming)

Compatibility

No compatible with Mariko units.

Known issues

  • Shield games are broken, do not buy them.
  • Desktop GL is not supported and some EGL games have issues.
  • 5GHz Wi-Fi channels >44 can cause instability--check your router settings if you're having issues connecting to Wi-Fi.
  • Hardware overlays are forced off (software compositing only).
  • Joycons do not turn off in sleep automatically, make sure to turn them off by tapping the 'sync' button on side.
  • Default keyboard can't be used with a controller.

Credits

  • Ave - Handling hosting of OTAs and the switchroot website. Check out her patreon.
  • CTCaer - Fixing a lot of things in the kernel - charging, dock, touch etc - and adding Android install support for nyx. Donate to his patreon here.
  • Langerhans - Figuring out the majority of stuff for deep sleep and helping massively with initial bringup.
  • Steel01 - Maintaining the Shield TV Lineage trees which ours are heavily based on.
  • Nvidia + Nintendo - ❤
  • Everyone else who contributed.

External links

Advertising: