yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] xXx yYy:
Here's how to perform a factory reset on your Oppo A1K using the Recovery Mode (since you only have LMI):

Make sure your phone is turned off.

Hold down the Power button and Volume Down button simultaneously. Don't release them until you see the Oppo logo appear.

Navigate using the Volume buttons and select "Recovery mode" using the Power button.

You might see an Android robot with a red exclamation mark. Press Power and Volume Up buttons briefly.

Now, navigate to "Wipe data/factory reset" and select it with the Power button.

Confirm the wipe by selecting "Yes" and then "Reboot system now".
[General Questions and Answers] minaminaaziz:
Mod edit - translated by https://translate.google.com/. Oswald Boelcke, Senior Moderator.

The device does not enter recovery mode.

*********************************

الجهاز لا يدخل في وضع ريكافوري مود
[General Questions and Answers] Oswald Boelcke:
Hello and good morning, @minaminaaziz Welcome to XDA! I hope you'll always get the support you require and have enjoyable times on our Forums.

However, already your very first post above was translated by my esteemed team mate @khusika - what you certainly noted - but you continue to post in Arabic.

As a LAST-time courtesy I've translated your above post. With reference to rule no. 4 of the XDA Forum Rules, please post in English or add at least an English translation to your Arabic posts.

Spoiler content hidden.

Any further "Arabic-only" post will be deleted without further notification.

Regards

Oswald Boelcke

Senior Moderator
[Introductions] DaRealMadMedic:
Pleasure to make the aquaintance, I'm a neurospicy oddball looking to learn new things.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
Nintendo Switch

- Your warranty is now void.
- You have been warned.
- Use at your own risk.

Introduction:

This is the Official Lineage OS 21 thread for the Nintendo Switch.

Downloads:

Please follow the install instructions in your device's Wiki page linked below exactly, and make sure your device's firmware matches the required firmware listed.

Nintendo Switch v1/v2/Lite/OLED - Tablet:

nx_tab - Official builds

nx_tab - My unofficial with Google Apps/Pixel goodies included. OTA's roll roughly once a month. Support not guaranteed or implied.

Nintendo Switch v1/v2/Lite/OLED - Android TV:

nx - Official builds

nx - My unofficial with Google Apps/Pixel goodies included. OTA's roll roughly once a month. Support not guaranteed or implied.

If you don't follow these instructions, or use 3rd party add-ons (like Magisk) please don't expect support here.

Known Bugs:

[nx only] ADB doesn't work due to an Android TV platform bug - WIP

Find any? Report them according to this guide.

Notes:

The only supported GApps package at the moment is MindTheGapps, linked on our Wiki page about gapps.

Official Lineage OS builds for the Nintendo Switch ship with ported full Project Treble compatibility! Flash GSI's to your heart's content after flashing Lineage. Please don't report GSI bugs here, report them instead to the GSI's maker.

Kernel Source: https://github.com/LineageOS/android_kernel_nvidia_kernel-nx
[Nintendo Switch News, Guides, Discussion , Develop] Demetris:
Good Work, thank you.

Also please when able have a look at fixing Virtual Keyboard input registering on ATV for the ADT-3 family (Radxa0/banana-m5/odroid-c4) Thank you for your time.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
Completely unrelated to this thread, entirely unsure why you thought reporting a bug for an unrelated device (when that device has a thread that details how to report bugs with logs) was a good idea.

Please go do it in the right place the right way.
[Nintendo Switch News, Guides, Discussion , Develop] hks18psigst:
Will it still play switch games?
[Nintendo Switch News, Guides, Discussion , Develop] Pablx307:
Is it possible to do an update directly from the Switchroot LineageOS 18.1?

I tried flashing the recovery.img, boot.img etc... Included in the downloads, but i get stuck when booting recovery with Hekate 6.2.0
[Nintendo Switch News, Guides, Discussion , Develop] DevanWolf:
Nope! You need to repartition your SD card's Android partition to Dynamic. Flash Android again then you proceed to recovery for a clean install. Make sure you want to backup your app data before continuing.
[Nintendo Switch News, Guides, Discussion , Develop] AlexS2412:
so i just installed the new android 14 switchroot and it seems i cant root it by patching a flashed boot.img (bricks) and wifi is completely dead and wont connect to any network? what gives?
[Nintendo Switch News, Guides, Discussion , Develop] sandyimawan:
Autorotate not working on latest build, is there any workaround?
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
This boots off your SD card, of course the normal OS still works
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
Nope
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
Which device do you have? Have you filed a bug in the manor described in the OP?
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
I have no clue why Wi-Fi isn't working for you, no one else has complained about that yet.

Also, how exactly are you flashing the patched boot image magisk gives you?
[Nintendo Switch News, Guides, Discussion , Develop] perestroika42:
I am in the same boat. Stuck on lineage splash screen, never make it into recovery.
[Nintendo Switch News, Guides, Discussion , Develop] osrott61:
how to install it? any way back after install
[Nintendo Switch News, Guides, Discussion , Develop] frozen-solid:
Got everything working today. One SD card has Android 14, the other Android TV, the third is my base switch setup. It's honestly really really great. Thanks so much for your hard work!

So far I've had no problems. Auto-rotate works fine, wifi works fine.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
go re-download Hekate, they released 3 broken builds in 24 hours all with same version number.

AND make sure you actually repartitioned dynamic - we don't support SWR upgrades.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
literally detailed in the wiki - go read it.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
fantastic to hear!
[Nintendo Switch News, Guides, Discussion , Develop] Dragonbrew:
Is there a way to reboot to hekate once you are in LineageOS 21, I know in 18.1 you can enable advanced boot options in gestures but it seems there is no option in this version.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
its under buttons.
[Nintendo Switch News, Guides, Discussion , Develop] StonedModder:
Great job! I cant wait to see how much better this runs than the old switchroot android build
[Nintendo Switch News, Guides, Discussion , Develop] AlexS2412:
poorly. system ui crashes, wifi broken, autorotate is messed up. 11 was the last stable and good release. 12 was trying to be steamdeck, 13 never got released due to 30 sec boot delay, and this last one barely works at all for anything power user related, even oc is now "not supported because... reasons" thry released 3 or so broken images and releasescof hekate. just don't bother upgrading seriously.

EDIT: they'll also try to gaslight you into thinking the broken rom is your fault. try 11 and see for yourself. it was the last one that ever just worked.
[Nintendo Switch News, Guides, Discussion , Develop] StonedModder:
@npjohnson The OLED android TV build gets stuck on "searching for accessories" when booting after flashing the image
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
People like you are the problem, and why developers quit the scene.

Here's the fun part: Go use 11. And just go away! Don't want you here.

System UI doesn't crash unless you do janky stuff, stop installing 40 other things and (likely) not following the installation guide.

Wi-Fi works fine on literally all models. We took great care to test this on every model of switch.

Hekate isn't managed by LineageOS - they did release 3 broken builds, and the didn't up rev it - unfortunate - but just go grab the newest - it's fine.

The fun part here - is that you came here to say all this, but didn't file a single bug the way the wiki asks you to. Therefore, you've helped no one.

And "OC isn't supported" because it's against the lineage charter. Just go do it yourself - you even call yourself a "power user" so you should be able to do so.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
hit -, or +, idr, one of the keys on joy cons skips the animation.

Also, are you using GApps or no?
[Nintendo Switch News, Guides, Discussion , Develop] StonedModder:
I am not using gapps since I don't believe there is a build with those available yet for the OLED? For some reason as only that page returns a "502 bad gateway" error when I try and download it. Your other hyperlinks work fine

There was also a minor issue with my device not being found with ADB. But this could be user error since Im new to MacOS from windows. Although windows normally "just works" with adb so I assumed this would be the same. Once in android even trying to do wireless asdb with adb connect host:port that weirdly seems to give a failed to authenticate error?

Not a huge issue since I could still just put it on my SD card directly but was still odd haha
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
Read the lineage wiki. You flash GApps yourself, go do that pls, should solve your issue.

And yeah, sadly ADB auth is busted for LineageOS ATV platform rn, we're hoping to fix it ASAP.
[Nintendo Switch News, Guides, Discussion , Develop] StonedModder:
Can do! Im still learning all this, and saw you had one with gapps hyperlinked so figured I had to wait for that

Good to know I do not, thank you for clarifying! This is already much faster than the old version of lineage I was using. I had to replace the launcher with flauncher just to navigate apps lol
[Nintendo Switch News, Guides, Discussion , Develop] frozen-solid:
Spent most of the day on Android TV (with MindTheGapps installed) and had no problems. Switched back to my Android image and found auto-rotate was upside down when the Switch was vertical.

Which is weird because it wasn't doing this last night.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
Interesting, file a bug like the wiki details with logs, can try to fix.
[Nintendo Switch News, Guides, Discussion , Develop] frozen-solid:
Just finished uploading the logcat and a video to the bug.

Auto-rotation is upside down when vertical on the Switch (nx) (#7294) · Issues · LineageOS / issues / android · GitLab

Expected Behavior The rotated screen should appear upright when viewing after auto-rotation. Current Behavior...

gitlab.com
[Nintendo Switch News, Guides, Discussion , Develop] Kingcool88:
Report from another forum (not me testing), don't know if it's allowed to link.

Installed tab version + gapps tab + magisk.

Wifi 5GHz / WPA3 works!

System UI crashes pretty often (and ends up force-rebooting lineageOS)

Trebuchet crashes regularly

Screen orientation: Initialises in landscape ; once done, will be forced to portrait (bottom->top = Rjcon->Ljcon)

autorotate system feature and widget do not work

Using third-party nova launcher, i was able to force to landscape in advanced settings

Joycons seem to respond plugged, but don't work unplugged.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
1. Good.

2. What _else_ do you have installed?

3. Rotation can be odd on some variants. File a bug ticket.

4. Same as above.

5. Joycon auto pairing doesn't work, pair them by hand and it will work.
[Nintendo Switch News, Guides, Discussion , Develop] anonxlg:
Can the sd card partition tool in hekate repartition the android partition the sd card without interfering with the other partitions? I have triple boot emunand, android, ubuntu and the sd card is somewhat full.
[Nintendo Switch News, Guides, Discussion , Develop] DevanWolf:
Console Launcher always displays in Landscape, you could've used that instead of Nova Launcher.
[Nintendo Switch News, Guides, Discussion , Develop] StonedModder:
Is there a way to swap the A and B buttons around? I tried searching on the wiki but perhaps I was just using bad search terms
[Nintendo Switch News, Guides, Discussion , Develop] britoWDL:
after doing the recommended, at the stage of starting Recovery Mode it restarts to hekate again, probably the android broke on my switch? how can I see logs for this?
[Nintendo Switch News, Guides, Discussion , Develop] StonedModder:
Make sure that you're holding "volume up" while booting. Otherwise you wont enter the recovery menu.

Thats likely what you're missing
[Nintendo Switch News, Guides, Discussion , Develop] frozen-solid:
Found a weird one. Some apps, when docked, don't display video on the docked screen. I have the setting for the dock to turn off the switch screen, if that makes a difference, but when I start a video or a game on the android TV version, it doens't show on the TV. If I undock, then redock, it starts working.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
weird, file a bug ticket with logs
[Nintendo Switch News, Guides, Discussion , Develop] frozen-solid:
Yeah I will. I'll probably put together a log and video tomorrow. Just wanted to post.
[Nintendo Switch News, Guides, Discussion , Develop] xboxbug:
I set up 7 partitions in emmc, and I can enter twrp normal format by brushing los, but I can't start it....

Excuse me, if I brush los21 into emmc, I have already set up a partition, and I can't boot it in a grid mode.

View attachment 6115667View attachment 6115668View attachment 6115671View attachment 6115672
[Nintendo Switch News, Guides, Discussion , Develop] Xeladon:
Thank you for the great ROM, love it so far.

My only concern is about the cooling fan is not running at all even after some use, is there a way to apply a more aggressive cooling profile?

Thank you.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
Did you set it up for dynamic partitions?

Yes working on it.
[Nintendo Switch News, Guides, Discussion , Develop] xboxbug:
Yes, I have set up a dynamic partition, and I went there from the tf card.

{Mod edit: Quotation fixed. Oswald Boelcke, Senior Moderator}

You can enter twrp normally, but you don't turn it on.

Emmc = 1 can't start together

I want to use it as a tablet, so I expanded the version of Switch, v1, and 32 to 64g, trying to get 32g official system and 32g Android system. At present, the official system problems will not be ban. Thank you for bringing us the latest los21. I would like to ask for a repair to start normal access in emmc. I can back up the partition list here and give it to developers for great research. I will fully cooperate and request to use the Switch tablet one day.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
EMMC works fine - you just can't have an Android formatted sdcard inserted as well.

Many people are using EMMC right now.
[Nintendo Switch News, Guides, Discussion , Develop] xboxbug:
I changed three tools to create partitions. I am not a professional developer, so I would like to ask to fix this bug, hoping to use the smooth Switch dual system on emmc.

I have both Android and official system on emmc.

I can use it normally on the sd card, but I want to put this in emmc to make it a real Android, which can solve the problem of jam.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
What I'm telling you is EMMC works fine, you're doing something wrong.

Ensure that you're following the guide exactly, and that you just append emmc=1 to the end of the ini.

Additionally, make sure that you actually partitioned correctly, if you partition to the old way, it's wrong, you need to go look at how modern partitions work and ensure they're all there (super, etc).
[Nintendo Switch News, Guides, Discussion , Develop] xboxbug:
I did, and the dynamic partition can be formatted in twrp normally. I also got emmc=1 in ini
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
Keep saying TWRP, we do not support, nor does TWRP work.

What are you talking about?
[Nintendo Switch News, Guides, Discussion , Develop] Pablx307:
Is there anyway known to switch to a Dynamic Partition without formatting the whole thing?

My HOS partition is almost 512 gb so it's kinda hard to backup...

I currently have a 64 gb partition with Switchroot Lineage 18.1 is there anyway to switch it to dynamic in Windows? With any specific partition management tool? Or a way to get everything up and running in the existing partition?

Hekate 6.2.0
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
Not easily.

And not in any supported waym
[Nintendo Switch News, Guides, Discussion , Develop] xboxbug:
It's rec, that is, you can read the super partition in los21 rec format, and you can also format the data, cache and sys partition, and brush it into rom to prompt success.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
Still not getting it, TWRP is not compatible with dynamic partitions on this device.
[Nintendo Switch News, Guides, Discussion , Develop] xboxbug:
It is partitioned in los21 recovery format, and I mistakenly thought that twrp and Recovery are the same thing.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
What I'm telling you is formatting through recovery is not what you need to do.

The guide is explicit.

Hekate needs to partition your sdcard dynamic, not legacy.
[Nintendo Switch News, Guides, Discussion , Develop] xboxbug:
I used recovery to brush in, and it will always start again.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
BECAUSE RECOVERY IS NOT WHAT YOU NEED TO PARTITION WITH.

I don't know how many times I'm capable of saying this to users: _read_ the wiki. It says to use Hekate to partition your card/emmc as "Dynamic", a new option exclusively for 14.
[Nintendo Switch News, Guides, Discussion , Develop] xboxbug:
Thank you for finally understanding my problem.
[Nintendo Switch News, Guides, Discussion , Develop] xboxbug:
The one with Android 14 in front still won't start.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
Follow the guide - that's all I can tell you.

It has worked for almost 1000 other people https://stats.lineageos.org/model/nx_tab
[Nintendo Switch News, Guides, Discussion , Develop] xboxbug:
I can start using tf brush normally, but I can't use it in emmc. I followed the tutorial in Wikipedia. I tried several sets and asked others to try them, but they couldn't start.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
I have no clue what you're doing.

It works fine via SDCard, and people in the Switchroot discord have EMMC working just fine.
[Nintendo Switch News, Guides, Discussion , Develop] xboxbug:
eMMC Boot Guide，（https://wiki.switchroot.org/wiki/android/emmc-boot-guide)Actually, I want to brush it into Android 14 according to this tutorial.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
For the love of god.

Please just stop.

You aren't listening at all.

The partition map shown there is WRONG - you need to use the newer dynamic partition layout.
[Nintendo Switch News, Guides, Discussion , Develop] xboxbug:
I used the latest partition map to brush in and turn on the first screen.
[Nintendo Switch News, Guides, Discussion , Develop] hanamizukitoki:
Thanks!!!And I have a question~

How many hours of battery life does Switch LineageOS 21 have?
[Nintendo Switch News, Guides, Discussion , Develop] hanamizukitoki:
I flash your rom LOS21 on my switch by wiki userguide,format my tf card,use dynamic partition,but I hold VOL+ to let it gointo recovery mode,it really restart again to Hekate?I have tried for ten hours.

my device:switch v2,sandisk tf,Lexar tf.

Hekate:tried all official version 6.1.0~6.2.0
[Nintendo Switch News, Guides, Discussion , Develop] xboxbug:
You didn't inject the dtb file, the boot file and the rec file. You need to move this file in. Click Inject to use it.
[Nintendo Switch News, Guides, Discussion , Develop] hanamizukitoki:
I followed that wiki guide. Is that not right?

Please download the following files from here and place them in the noted folders (which you will potentially have to create) on your device’s SD Card:

boot.img -> switchroot/install/boot.img

recovery.img -> switchroot/install/recovery.img

nx-plat.dtimg -> switchroot/install/nx-plat.dtimg

bl31.bin -> switchroot/android/bl31.bin

bl33.bin -> switchroot/android/bl33.bin

Please download the following files and place them in the noted folders (which you will potentially have to create) on your device’s SD Card:

bootlogo_android.bmp -> switchroot/android/bootlogo_android.bmp

icon_android_hue.bmp -> switchroot/android/icon_android_hue.bmp

Create a new text file called android.ini at bootloader/ini/android.ini
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
Check your file names, the case, the structure.

Make sure hekate shows they all flash right.

Me sure you have the newest hekate (some early revisions of 6.2.0 were broken).
[Nintendo Switch News, Guides, Discussion , Develop] hanamizukitoki:
1,my device is Configuration 2 A hard-modded (often called “ModChipped”) Switch v2

2,Check your file names, the case, the structure.->I flashed it successfully (#73 screenshot 2.jpg)

3,I downloaded the hekate from official website https://github.com/CTCaer/hekate/releases

I followed the guide and tried all day,but no success.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
something is clearly wrong with your INI, as you don't even get the USB3 indicator in the top of the screen.
[Nintendo Switch News, Guides, Discussion , Develop] hanamizukitoki:
I copyed the instructions and save as android.ini, not right?

[LineageOS]

l4t=1

boot_prefixes=switchroot/android/

id=SWANDR

icon=switchroot/android/icon_android_hue.bmp

logopath=switchroot/android/bootlogo_android.bmp

r2p_action=self

usb3_enable=1
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
where is the ini? the full path
[Nintendo Switch News, Guides, Discussion , Develop] hanamizukitoki:
F:\bootloader\ini\android.ini

disk F is switch tf

and I check the tf card for error,but no error.(screenshot7.jpg)
[Nintendo Switch News, Guides, Discussion , Develop] StonedModder:
Just extract this zip to the root of your SD card. It has everything you need already laid out in the proper folder structure. including the android.ini file. You still need to make sure you have a dynamic partition set but if you do, than you should just need to tap flash android within hekate and follow the rest of the wiki. (assuming its been updated since the last partially incorrect instructions)

Mod edit: File removed.

TBH I don't understand why its not just uploaded in this format already.
[Nintendo Switch News, Guides, Discussion , Develop] npjohnson:
Please stop.

Do not do this sort of stuff.

That package will literally be out of date within 7 days of uploading with how the LineageOS build system works.

Gonna ask you remove that link, and if you want to share it on SWR or elsewhere go for it - but if it's just "extract this here" dinguses aren't going to read anything at all and even more people are going to come here saying "BUT IT WONT BOOT" when they never repartitioned their card.