[ROM][UNOFFICIAL] switchroot Android 10

Search This thread

TookeX

Senior Member
Apr 23, 2012
61
11
Does anyone have issues with some emulators or streaming apps on mapping Joy Con's D-pad?

I have tested a few emulators and streaming apps found varied results

Some emulators do working on mapping joycon's D-pad correctly, e.g citra-mmj, drastic, myboy, ppsspp

while some emulators/Apps not like official-citra and a 3rd party remote play for PS4/5 called PS Play from google play.

For those who can't be mapping correctly, once you are gonna map up, down, right, left button, emulator/apps likely get no input signal for mapping, Android response like the system-level as you can see cursor moved
 

Emporioo

Member
Dec 9, 2009
40
15
Wigan
After further testing the Joycon triggers ZL/ZR get recognised within the Citra emulator (Axis 17/18 respectively under the default 'Nintendo Switch Combined Joy-Cons' profile.
I'm not sure why they don't work in DraStic or other gamepad testing apps. DraStic even states it is using the same 'Nintendo Switch Combined Joy-Cons' profile.

Using the Octopus app (mentioned in a previous post) with DraStic doesn't work properly either.
 
Jan 11, 2017
5
1
Hi ppl,

I'm getting stuck on PS4 Remote App. I cannot make it to work because somehow it detects root & shows the same message again and again.

I tried both images, tablet and ATV. Tried installing magisk to pass safetynet + hide root. But no luck.

Is maybe SELinux interfering?
 

ponyboy82

Senior Member
Apr 13, 2011
640
63
Hi ppl,

I'm getting stuck on PS4 Remote App. I cannot make it to work because somehow it detects root & shows the same message again and again.

I tried both images, tablet and ATV. Tried installing magisk to pass safetynet + hide root. But no luck.

Is maybe SELinux interfering?

Do you have Magisk installed or just the stock install? Also does that usually work without any other setup? I thought it had a way of detecting if you're using a dualshock? I haven't used it yet on switchroot but wanted to give it a try
 

klinux

Senior Member
Nov 30, 2005
492
23
casablanca
Hi ppl,

I'm getting stuck on PS4 Remote App. I cannot make it to work because somehow it detects root & shows the same message again and again.

I tried both images, tablet and ATV. Tried installing magisk to pass safetynet + hide root. But no luck.

Is maybe SELinux interfering?

You need to repack magisk with another name to not be detected by PS remote app also hide remote play app on magisk, I have ps remote play ver 2.0 running well + ds4 adapter + remote play assistant to use the joy con (or other controllers) also my PS4 is jailbroken.
 

ponyboy82

Senior Member
Apr 13, 2011
640
63
can you update "reboot2payload"? black screen after installing the zip

I ran into this too but fixed it by recopying the original /bootloader/ini/00-android.ini file from the switchroot release. If you look at the contents the "payload" param value is different in the reboot2payload files. I think it tries booting up the wrong payload (I'm new to this so not sure if this was what the old releases used)
 

ponyboy82

Senior Member
Apr 13, 2011
640
63
Thanks :) Guide works great. Although I flashed the xbox controller layout not knowing it was irreversible. Can anyone please provide me with a .zip to undo the keyboard layout changes?
I was just poking around and it seems like it modifies files in /vendor/usr/keylayout/. You might be able to manually edit and revert these files in your install.
edit: I'm not sure, but you may be able to just find the files referenced in the xbox zip from the main release and copy them back over
 
Last edited:

bubbameyay

New member
Feb 22, 2021
1
2
I’ve seen only a couple people report issues on not being able to connect to WiFi. Any solutions to this issue? Using a dual band router, tried multiple SD cards good and not, restarting the Switch, reset the router and network setting in Android, disabled the 5ghz access on the router and connecting, re-enabled and tried connecting to the 5ghz w/ channel 44 and 40 - still not working. Not too sure what to try, I am uncertain about issues network related. I updated OTA using a data hotspot at least so it works connecting to other networks such as that. Edit - WiFi works in HOS so not an apparent hardware issue at least. Also tried using a Windows 10 device using the WiFi as a hotspot off of it, still failed to connect. Logging into the router, there is no Mac filtering and the device isn’t blocked in any way it seems although it’s also just not being logged as accessing the router - its Mac address is not show as having connected to the router. Another member has posted a log with the same issue it seems but nothing more came of that.

Senior member Arbelzapf post and log. I apologize, unsure of how to properly quote a post on this site.

 
Last edited:

Su Mucheng

Member
Feb 7, 2021
9
1
To the devs:
I think those bugs are critical.
-Fast battery drain on sleep.
-chrome causing crashes and reboots
-edit: i got the power button bug not working as well, after restart.
YES, the Chrome crashing (heck any browser i tried crashed, especially if any video is playing on it) needs to be fixed, i went back to 8 (different SD) cuz it was crasing too much while using browser.
 

ponyboy82

Senior Member
Apr 13, 2011
640
63
Is this able to charge in the dock but still sleep? It seems like the light on the dock is always on unlike in Horizon os but I can't tell if it's going into sleep or not. Usually I like to dock the switch to charge it but rarely use it displaying to the tv.
 

SaiyaTrunX

New member
Feb 22, 2021
2
0
Is it in any way possible to add chromecast reciever capabilities to the tablet version? I know it is probably way easier with the atv version but since the tablet version is more versatile I am using that one.
 

Ricky21Key

Member
Jun 24, 2016
8
3
I was wondering if someone can help me out with PS Remote Play v4.0 app. I can't seem to get it working. I'm not a noob, but I'm definitely no expert hahaha. I have included two logcats that I recorded in the hopes that someone can tell me what the issue is. I used Matlog and only started recording right before I attempted to open the Remote Play app and stopped recording after I received error 88001003 and closed the app. I have no clue how to understand it, so I can't do it myself. Here are the things I have done to help paint the scene. I wiped Android and reinstalled it in order to have it cleaner and I didn't install the EdXposed Module through Magisk this time to try and minimize what's installed before trying the Remote Play app. I hid the Magisk app by renaming it to DroidMan. I installed the BusyBox, MagiskHide Props Config and Systemless Hosts. I checked off Google Services and its subcontents in MagiskHide (Don't remember if I did that before or after I downloaded Termux). Downloaded Termux and changed the value to NVidia Shield Pro 2019 and rebooted to pass SafetyNet. Went into settings to delete the cache and storage for the Google Services Framework and Play Store apps and then downlaoded Remote Play v4.0. Went to MagiskHide and checked off PS Remote Play and its subcontents. Tried to open it and got the error. I haven't yet tried sideloading v3.0 to see if that would work because I'm trying to figure out what I'm doing wrong with the latest version. In my previous Switchroot install, I had done similar, but had installed EdXposed and in the settings, checked off "Pass SafetyNet" and also checked off Google Services, Play Store and after downloading, I added Remote Play in Xposed Hide (Black). (I wanted EdXposed for the Remote Play Assistant and DS4 Adapter modules). That didn't work, so I decided to reinstall Android and try again without EdXposed, but that didn't work either. Any help is appreciated. I'm sure I'm doing something wrong or I'm missing something. Thanks in advance.

Edit- Files didn't attach the first time as txt. Zipped and uploaded.

Edit 2- I'm guessing Remote Play v4.0 not working is an SELinux Permissive issue? I downloaded PS Remote Play v3.0 from APKPure and it opened up. Didn't try connecting with my PS4 Pro yet, though. Noticed in MagiskHide that v4.0 had 3 subcontent switches whereas 3.0 only had 1.
 

Attachments

  • Logcat PS Remote Play - saved_logs.zip
    8.4 KB · Views: 11
Last edited:

lakers1222

New member
Feb 7, 2012
3
1
Thanks :) Guide works great. Although I flashed the xbox controller layout not knowing it was irreversible. Can anyone please provide me with a .zip to undo the keyboard layout changes?

Thanks for looking into this for me. I managed to remap the keys back to the original setting by replacing the changing the BUTTON_A to BUTTON_B and BUTTON_X to BUTTON_Y using notepad.

I repackaged it back into the .zip and installed it without any problems. (BTW it fails the signature check, because I've modified it without re-signing it, but re-signing is beyond me)

Here is the .zip to revert back to original switch button map.
 
  • Like
Reactions: ponyboy82

helloswitch

Member
Feb 7, 2021
5
1
Is it in any way possible to add chromecast reciever capabilities to the tablet version? I know it is probably way easier with the atv version but since the tablet version is more versatile I am using that one.

Also does not work on ATV
Chromecast Built-In player for androidTV OS needs license keys that are specific to devices officially licensed by Google to offer androidTV. atvXperience or any other modified androidTV OS firmware will never be able to natively offer an official Chromecast app or Chromecast receiver function
 

Pais83

Member
Feb 23, 2021
5
0
Thanks for the making this possible. I have a question. It's possible to use a USB ethernet adapter plugged to the dock? I didn't manage to make It work on android tv and in Android tablet version
 

Arbelzapf

Senior Member
Oct 29, 2010
754
149
Another member has posted a log with the same issue it seems but nothing more came of that.

Senior member Arbelzapf post and log.

I'm not sure we have the same issue. In my case, The switch's wifi won't even turn on - with logs suggesting it's got trouble finding/loading the wifi firmware.

Since you mention you were able to use a hotspot, it seems like you at least HAVE wifi, just that your home network is causing you trouble..?
 
  • Like
Reactions: Pandorum-salieri

Top Liked Posts

  • There are no posts matching your filters.
  • 111
    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: android.hardware.wifi.supplicant@1.0::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 android.hardware.wifi@1.0-service: Failed to open wlan fw path param: No such file or directory
    02-08 20:41:48.155  3068  3068 I wifi@1.0-servic: 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 android.hardware.wifi@1.0-service: 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