[ROM][UNOFFICIAL] switchroot Android 10

Search This thread

Speedandro

New member
Dec 17, 2021
3
0
hello, thank you for this great work, sorry for my English, I installed the android tv version it works well on the whole but I have some bugs with moonlight and my pc I tried several controllers even 8bitdo but that this disconnect or there are bugs for example with the fortnite games and with steam link I have no problem everything works correctly do you also have problems with Moonlight? and to close the applications in the background I use ram cleaner with the rocket It works well
 

Speedandro

New member
Dec 17, 2021
3
0
ces deux fichiers doivent être dans la mémoire interne et non dans la carte sd sinon vous ne pourrez pas le flasher dans magisk, si pendant le flash sur magisk vous cochez la mauvaise case vous n'aurez plus accès à twrp car les fichiers du dossier seront effacés, vous devez remettre les trois fichiers qui étaient dans twrp depuis la carte sd et vous y aurez à nouveau accès twrp de hekate
 

Attachments

  • safetynet-fix-v2.1.3.zip
    26.7 KB · Views: 29
  • MagiskHidePropsConf-v6.1.2.zip
    95.7 KB · Views: 27
Last edited:

killerdog_kd

New member
Aug 12, 2021
3
0
Hi,

I use this android port (tablet mode) with my switch and atmosphere (emuMMC).
My 512Gb samsung card have three partitions (HOS (32Gb), Android (32Gb) and Fat32 (444Gb)).

I want to use android for emulation with launchbox and store all my data and roms on the FAT32 partition.

Unfortunately, when I select the external storage, I've got this message :

Android is not granting read and write permissions to the folder you've specified. Unfortunately, the selected folder cannot be used without read and write permissions.

Did you know if some workaround solutions are possible for this kind of problem ?

Thanks
 
Last edited:

Speedandro

New member
Dec 17, 2021
3
0
Salut,

J'utilise ce port android (mode tablette) avec mon switch et mon ambiance (emuMMC).
Ma carte Samsung de 512 Go a trois partitions (HOS (32 Go), Android (32 Go) et Fat32 (444 Go)).

Je veux utiliser android pour l'émulation avec launchbox et stocker toutes mes données et roms sur la partition FAT32.

Malheureusement, lorsque je sélectionne le stockage externe, j'ai ce message :

Android n'accorde pas d'autorisations de lecture et d'écriture au dossier que vous avez spécifié. Malheureusement, le dossier sélectionné ne peut pas être utilisé sans autorisations de lecture et d'écriture.

Saviez-vous si des solutions de contournement sont possibles pour ce genre de problème ?

Merci
 

killerdog_kd

New member
Aug 12, 2021
3
0
Hi,

Thanks for your answer, but I just try it, rooting with magisk install this module and follow the step to systemize the app, but I have the same message when i select my fat32 partition that point to my data and rom.

Any other ideas ?

Thanks
 

Waicol

New member
Apr 27, 2023
4
2
Hi,

Thanks for your answer, but I just try it, rooting with magisk install this module and follow the step to systemize the app, but I have the same message when i select my fat32 partition that point to my data and rom.

Any other ideas ?

Thanks
I will quote myself because it's in the last page, but it should work on tablet builds too.
If anyone is interested i managed a way to force Android/GoogleTV to use the documents ui app but requires to have magisk installed and to install a module called systemizer that allows you to force the installation of any app as a system app. So all you have to do is download a generic Documents UI apk and then use the module systemizer to move it as a system app, then reboot and then you should have access write to external storage from your Android/GoogleTV device.

PS: I was only able to test it with and Android 10 build of switchroot (Nintendo Switch l4t Android build) because i don't have any other device that has this issue so if anyone tries this and it works for them please let the community know.

PS2: Reminder that magisk requires root so the feasability of doing this for actual TVs might be hard/impossible, but it should work on any external device/hacked console that allows rooting.
 

Waicol

New member
Apr 27, 2023
4
2
Hi,

I try it, but no success.
The new documents app installed force close immediately, and it still does the same with launchbox.
Sad to hear, have you tried deleting data from the app manager on android and then relaunch launchbox?

Also you can try the same process with other native documents ui like Google Files or you can even export a file system app from an Android phone and then redo the method.

Another question: Does the default documents app also fails in other apps like emulators?
 
Last edited:

patsfan7

New member
May 21, 2023
1
0
I have everything installed and can load into android 10 (tablet) but I can’t get android to connect to Wi-Fi. I believe I have the most recent files (icosa-tab-20220408 and mindthegapps-10.0.0-arm64-20220224_161733 I’ve tried setting my network to wpa and wpa2 I’ve tried 5ghz only and 2.4ghz only. Some times I get “wifi can’t connect” message or “network not in range”).
 

SaintAnd808

New member
Jun 13, 2023
1
0
Introduction
A new, updated version of Android for the Nintendo Switch. Now 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.


Installing
Follow the tutorial here



Stay in touch

Discord:https://discord.gg/6gWvaASF72
Twitter: https://twitter.com/switchroot_org
Website: https://switchroot.org/

Sources
https://gitlab.com/switchroot/android
https://gitlab.com/switchroot
See manifest repo for build instructions.

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!
wow goos
 

KarlDavies1

New member
Jul 16, 2020
3
0
Portsmouth
Firstly, thank you to the developers for all of the work you have put in to making all of this possible!

Hoping someone can help with rooting, I've spent hours and can't find a resolution to my issue :(

Mostly everything is great however I didn't seem to flash Magisk for root many months ago when going through the setup. The only other downside to the system is I'm unable to wirelessly mirror to other devices as I can with all other android devices (some mirroring apps show those devices but the main system can't see them). This is something for another day and have resorted to docking only from day one.

I now only have Lineage OS recovery which fails to install Magisk either as .apk or within a zip. Using SDK and PowerShell I'm unable to do this over ADB as my device is undetectable in recovery and I don't know how to get back to using TWRP without ADB unless there's another solution? Developer options have been enabled and ADB is on, as is Stay Awake, I'm able to connect the device to my computer whilst booted normally and device is visible in PowerShell over ADB, just not in recovery.

Please someone help shed some light on this as I can only seem to find resolutions to this on every other android device and not replicated on a Switch.

I surely can't be the only person who's wanted Magisk after installing Lineage? TWRP has since been replaced by Lineage recovery.

On behalf of myself and others, I thank you in advance for any assistance!
 

aldebarankei

New member
Jul 9, 2023
1
0
HI, anyone who have a same problem with me?
ZL ZR button doesn't work on xbox game pass xcloud
any suggestion appreciated!
Thanks
 

Marcyvee

Senior Member
Oct 9, 2015
377
37
Isn't there a lineageos 18.1 switchroot dedicated thread? I wonder if is there a way to root with KernelSU
 

abrueda

New member
Apr 13, 2009
1
0
Hi, i'm getting "coreboot not allowed on mariko!" "Failed to launch payload!", but i'm already using latest Hekate, supporting Switch lite, with HWFL Y installed.
Is switch lite compatible? Thanks.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 110
    Introduction
    A new, updated version of Android for the Nintendo Switch. Now 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.


    Installing
    Follow the tutorial here



    Stay in touch

    Discord:https://discord.gg/6gWvaASF72
    Twitter: https://twitter.com/switchroot_org
    Website: https://switchroot.org/

    Sources
    https://gitlab.com/switchroot/android
    https://gitlab.com/switchroot
    See manifest repo for build instructions.

    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!
    6
    runs great games run great emulators runs great but my bluethoot headphones cut in and out the audio for some reazon maybe a bug anyone having the same problem? apart from that android is running great
    Will be fixed in next OTA
    Running great except "Bluetooth" keeps crashing multiple times after starting up the system.
    But Bluetooth works afterwards.

    Is this a known issue?

    thx

    Does anyone has the same issue?
    Will be fixed in next OTA

    I was able to get some logs concerning my broken Wifi. Below is a logcat of me tapping on the wifi icon in the notification dropdown. There's some errors and I hope it helps getting to the bottom of the problem.

    Code:
    =u:r:magisk_client:s0:c84,c256,c512,c768 tcontext=u:r:hal_graphics_allocator_default:s0 tclass=fd permissive=1 app=com.android.terminal
    02-08 20:40:39.375  6777  6777 I su      : type=1400 audit(0.0:714): avc: denied { read } for name="audio.primary.tegra.so" dev="mmcblk0p3" ino=536 scontext=u:r:magisk_client:s0:c84,c256,c512,c768 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1 app=com.android.terminal
    02-08 20:40:39.375  6777  6777 I su      : type=1400 audit(0.0:715): avc: denied { getattr } for path="/vendor/lib/hw/audio.primary.tegra.so" dev="mmcblk0p3" ino=536 scontext=u:r:magisk_client:s0:c84,c256,c512,c768 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1 app=com.android.terminal
    02-08 20:40:39.375  6777  6777 I su      : type=1400 audit(0.0:716): avc: denied { read } for name="bin" dev="mmcblk0p3" ino=26 scontext=u:r:magisk_client:s0:c84,c256,c512,c768 tcontext=u:object_r:vendor_file:s0 tclass=dir permissive=1 app=com.android.terminal
    02-08 20:40:39.727  6781  6781 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
    02-08 20:40:39.733  6781  6781 I AndroidRuntime: Using default boot image
    02-08 20:40:39.734  6781  6781 I AndroidRuntime: Leaving lock profiling enabled
    02-08 20:40:39.739  6781  6781 I /system/bin/app_process: Core platform API reporting enabled, enforcing=false
    02-08 20:40:39.888  6781  6781 D ICU     : Time zone APEX file found: /apex/com.android.tzdata/etc/icu/icu_tzdata.dat
    02-08 20:40:39.906  6781  6781 I /system/bin/app_process: The ClassLoaderContext is a special shared library.
    02-08 20:40:39.930  6781  6781 W /system/bin/app_process: JNI RegisterNativeMethods: attempt to register 0 native methods for android.media.AudioAttributes
    02-08 20:40:39.938  6781  6781 D AndroidRuntime: Calling main entry com.android.commands.content.Content
    02-08 20:40:39.957  6781  6781 D AndroidRuntime: Shutting down VM
    02-08 20:40:39.967  6574  6574 I RenderThread: type=1400 audit(0.0:717): avc: denied { call } for scontext=u:r:untrusted_app_27:s0:c129,c256,c512,c768 tcontext=u:r:hal_cplservice_default:s0 tclass=binder permissive=1 app=com.topjohnwu.magisk
    02-08 20:40:39.971  6574  6574 I RenderThread: type=1400 audit(0.0:718): avc: denied { call } for scontext=u:r:untrusted_app_27:s0:c129,c256,c512,c768 tcontext=u:r:hal_cplservice_default:s0 tclass=binder permissive=1 app=com.topjohnwu.magisk
    02-08 20:40:41.115  3376  3376 I InputReader: type=1400 audit(0.0:719): avc: denied { call } for scontext=u:r:system_server:s0 tcontext=u:r:init:s0 tclass=binder permissive=1
    02-08 20:40:41.972  3376  3911 W NotificationService: Toast already killed. pkg=com.topjohnwu.magisk callback=android.app.ITransientNotification$Stub$Proxy@f6bb064
    02-08 20:40:43.435  3149  3149 I storaged: type=1400 audit(0.0:720): avc: denied { call } for scontext=u:r:storaged:s0 tcontext=u:r:init:s0 tclass=binder permissive=1
    02-08 20:40:43.463  3376  3398 W WindowManager: Unable to start animation, surface is null or no children.
    02-08 20:40:52.965  3376  3376 W WindowManager: removeWindowToken: Attempted to remove non-existing token: android.os.Binder@3f976a3
    02-08 20:41:00.002  3586  3586 D KeyguardClockSwitch: Updating clock: 20:41
    02-08 20:41:08.115  3376  3412 E LightsService: Light requested not available on this device. 2
    02-08 20:41:08.117  3376  3470 E LightsService: Light requested not available on this device. 2
    02-08 20:41:46.319  3586  3586 D StatusBar: disable<e i a s b h r c s > disable2<q i n >
    02-08 20:41:46.363  3519  3538 D RSMouse : mFeatureEnabled=true  mPackageEnabled=true
    02-08 20:41:48.149  3376  4233 I WifiService: setWifiEnabled package=com.android.systemui uid=10097 enable=true
    02-08 20:41:48.149  3376  3485 D WifiController: StaEnabledState.enter()
    02-08 20:41:48.149  3376  3486 D WifiActiveModeWarden: received a message in WifiDisabledState: { when=0 what=0 target=com.android.internal.util.StateMachine$SmHandler }
    02-08 20:41:48.149  3376  3486 D WifiActiveModeWarden: Switching from WifiDisabledState to ClientMode
    02-08 20:41:48.149  3376  3486 D WifiActiveModeWarden: Entering ClientModeActiveState
    02-08 20:41:48.150  3376  3486 D WifiClientModeManager: entering IdleState
    02-08 20:41:48.150  3376  3486 D WifiActiveModeWarden: State changed from client mode. state = 2
    02-08 20:41:48.151  3376  3376 D WifiP2pService: Wifi enabled=false, P2P Interface availability=true
    02-08 20:41:48.151  3376  3486 I WifiVendorHal: Vendor Hal started successfully
    02-08 20:41:48.153  3376  3486 I SupplicantStaIfaceHal: Starting supplicant using HIDL
    02-08 20:41:48.154  3376  3487 I WifiP2pNative: Registering for interface available listener
    02-08 20:41:48.156  3376  3486 I android_os_HwBinder: HwBinder: Starting thread pool for getting: [email protected]::ISupplicant/default
    02-08 20:41:48.156  3376  3486 E SupplicantStaIfaceHal: Death handler already present
    02-08 20:41:48.161  3068  3068 E [email protected]: Failed to open wlan fw path param: No such file or directory
    02-08 20:41:48.155  3068  3068 I [email protected]: type=1400 audit(0.0:721): avc: denied { read } for name="fw_path" dev="mmcblk0p10" ino=784924 scontext=u:r:hal_wifi_default:s0 tcontext=u:object_r:wifi_vendor_data_file:s0 tclass=lnk_file permissive=1
    02-08 20:41:48.161  3068  3068 E [email protected]: Failed to change firmware mode
    02-08 20:41:48.161  3376  3486 D HalDevMgr: updateRttController: no one is interested in RTT controllers
    02-08 20:41:48.161  3376  3486 E HalDevMgr: executeChipReconfiguration: configureChip error: 9 ()
    02-08 20:41:48.161  3376  3486 E WifiVendorHal: Failed to create STA iface
    02-08 20:41:48.161  3376  3486 E WifiNative: Failed to create STA iface in vendor HAL
    02-08 20:41:48.161  3376  3486 E WifiClientModeManager: Failed to create ClientInterface. Sit in Idle
    02-08 20:41:48.161  3376  3486 D WifiActiveModeWarden: State changed from client mode. state = 4
    02-08 20:41:48.161  3376  3486 D WifiClientModeManager: expected stop, not triggering callbacks: newState = 1
    02-08 20:41:48.161  3376  3486 E WifiNative: Could not get Iface object for interface null
    02-08 20:41:48.162  3376  3376 D WifiP2pService: Wifi enabled=false, P2P Interface availability=true
    02-08 20:41:48.162  3376  3486 D WifiActiveModeWarden: ClientMode failed, return to WifiDisabledState.
    02-08 20:41:48.162  3376  3486 D WifiController: ClientMode unexpected failure: state unknown
    02-08 20:41:48.162  3376  3486 D WifiClientModeManager:  currentstate: IdleState
    02-08 20:41:48.162  3376  3486 D WifiScanRequestProxy: Sending scan available broadcast: false
    02-08 20:41:48.162  3376  3489 I WifiScanningService: wifi driver unloaded
    02-08 20:41:48.163  3376  3486 I WifiScanRequestProxy: Scanning is disabled
    02-08 20:41:48.164  3376  3409 D KernelCpuUidUserSysTimeReader: Removing uids 1037-1037
    02-08 20:41:48.165  3376  3486 D WifiActiveModeWarden: Entering WifiDisabledState
    02-08 20:41:48.166  3376  3486 D WifiActiveModeWarden: received a message in WifiDisabledState: { when=-3ms what=3 target=com.android.internal.util.StateMachine$SmHandler }
    02-08 20:41:48.166  3376  3486 D WifiActiveModeWarden: Switching from WifiDisabledState to WifiDisabled
    02-08 20:41:48.166  3376  3486 D WifiActiveModeWarden: Entering WifiDisabledState
    02-08 20:41:48.166  3376  3486 E WifiNative: Could not get Iface object for interface null
    02-08 20:41:48.169  4206  4782 W Settings: Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.
    02-08 20:41:49.891  3069  3069 I joycond : type=1400 audit(0.0:722): avc: denied { read } for scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=netlink_kobject_uevent_socket permissive=1


    EDIT:

    I also grabbed a dmesg which I have uploaded to my server since it's too large to attach here

    Grepping for "wifi"/"wlan" yields a whole lot of errors, for example:
    service "vendor.wifiloader" exited with status 255

    Naturally, wifi works just fine in Horizon, just in case you suspect faulty hardware
    Thanks, does it only crash after sleep?

    How Can I reboot to hekate ? Thanks
    Reboot and hold vol-
    For me the sleep mode is not working. Battery draining really fast. Anyone with the same problem?
    Should be fixed in OTA
    Today my Lp0 didn't work. I use CPU spy to observe this. This happened after a reboot.

    My switch stayed on with 100mhz all the time but screen was off.

    I turned wifi and bt on and off. This helped. Afterwards my switch went into deep sleep again and stayed there as long as the screen was off.

    Maybe this helps.
    Should be fixed in OTA
    5
    Flash this in TWRP and reboot. It fixes ZL ZR button for the pro controller in bluetooth.
    5
    I'm unable to connect to wifi.
    4
    anyone get safetynet to pass?
    I flashed it and gapps and tested safety net and it failed. Wasn't sure if there was something I missed

    yes I did. To me a while to work out but you have to:

    1. Mans sure you have flashed magisk
    2. In the manager install busybox and magiskhidepropsconf
    3. Reboot
    4. Install termux from the App Store
    5. Open termux and type ‘su props’
    6. Option 1 then follow the instructions to change the fingerprint to nvidia shield tv pro 2019
    7. Reboot and it all works