yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A2 / 6X Questions & Answers] DerFetteNette:
Hi everyone,

I have a problem with my Mi A2 but I don't know a lot about Android.

I changed my partition with TWRP and installed Android 9 with Mi Flash.

Now I can't boot TWRP because fastboot doesn't recognize my device and I don't know why.

My goal was to install Ubuntu Touch (which requires A9) but that didn't work and I don't want to to be stuck with an outdated version of stock Android.

Please help me with this it would mean a lot to me.
[Samsung Galaxy Z Fold 4] Free Flow:
I have Linux running on a rooted Galaxy Z Fold 4 although it is incredibly slow due to the lack of KVM support in the kernel.

There are multiple ways to run Linux on Android, although many of them are constrained and in order to get the most out of Linux running on the Z Fold 4, I'm looking to run a fully featured build in a VM on my device.

As an app developer myself, I'm looking to contribute to the Limbo VM project to update the application to work more effectively with foldable devices like the Z Fold 4 and hopefully make it easier to run the new Gnome-Mobile-Shell project in an emulator on Android devices for testing apps during development for the platform and to enable Android users to run Linux mobile apps on Android.

Although in order to get started with this project, it would help to have KVM support in the device kernel, though I'm not experienced in modding Android rom kernels and any help from a more experienced rom modder would be welcomed! :)

View attachment 5718585
[Xiaomi Poco X2 Questions & Answers] kn!ghtbot:
I tried flashing my phone by mi flash tool.. but every time flash it says flash done success within 0 sec but actually donot flash. What should I do?
[Xiaomi Poco X2 Questions & Answers] NOSS8:
Check here https://xdaforums.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/that everything is correct, in particular the rom folder must be renamed and in the Miflash folder as well as the version of Miflash (you are using a 2018 version).
[Xiaomi Poco X2 Questions & Answers] kn!ghtbot:
I did try what is given here.. even tried the latest version.. first of all this time the driver were not installed,it was crashing flash tool.. and now i am seeing this error while flashing..
[Xiaomi Poco X2 Questions & Answers] NOSS8:
No you didn't, the path is C:\Miflash\1234
[Xiaomi Poco X2 Questions & Answers] kn!ghtbot:
I did try that too (putting the fastboot file in mi flash folder),before the last attempt. But didn't work..
[Xiaomi Poco X2 Questions & Answers] NOSS8:
Use this method or this version of MiFlash2020-3-14-0

Not the fastboot files but the folder.
[Samsung Galaxy A40 Questions & Answers] Mathimino:
Hello, I would like to unlock the bootloader of my a40 but the volume button (-) doesn't work well anymore, so I can't enter the unlock mode. Is there any other way to enter this mode or to unlock it ? (I can enter in download mode)

Thank you.
[Samsung Galaxy A40 Questions & Answers] Mikicrep:
Sorry, no, get it repaired, well i dont think its possible, maybe some adb commands can work but idk
[Samsung Galaxy A40 Questions & Answers] SMOKERBUNNY:
Of course you can with adb tools, and your phone conected to computer with usb cable, and usb debugging activated in settings. Most of adb tools have reset to recovery, reset to bootloader, and more options, you can do the same mannually with adb console, included if you instal a terminal in your phone i think is possible to restart to bootloader.
[Tilt, TyTN II, MDA Vario III Themes and Apps] bigpro:
Hi guys i´ve tried to remove some symbols that i don´t need anymore.

This are in file programms. The programms i´ve deinstalling but the symbols are there
[Tilt, TyTN II, MDA Vario III Themes and Apps] goodapollo:
try file explorer>windows>start menu>programs

delete them from there
[MTCD  Android Head Units Q&A] IdleBadger:
Hello all!

I have an Android head unit in front of me.

Unfortunately, the RCA PreOut are broken. That is, one output hums (Sub-PreOut), the others (FL/FR/RR/RL) noise.

With the Sub-PreOut it sounds like a ground loop; but it is not. I can completely rule that out through numerous tests.

Where are the RCAs connected in Android hedunits? I suspect the RCA preamp is broken.

I have a DSP module installed from the factory, which in turn is connected to some sort of switch.

I have already unscrewed the radio and traced the traces, but could not see where exactly the RCA outputs are connected.

Do they connect to the DSP?

The following hardware is installed:

CPU: Rockchip PX6 3399

DSP: "ADAU1401A-6CH-V01 HCT-DSP"

Switch for DSP: "SGM6510 YTS28 1345C"

I hope you guys know a solution :)
[MTCD  Android Head Units Q&A] marchnz:
Is it MTCD type device, post MCU version and Android system information
[MTCD  Android Head Units Q&A] IdleBadger:
Sorry for the late feedback.

I have only now seen your answer.

The following MCU is installed there:

MCU-Version: "MTCE_TONE_V3.78_3"

Android: "Android 10

CPU: "Rockchip PX6 3399"

:)
[Redmi Note 9 Questions & Answers] ponkex:
Wich version of MIUI is the best for the Redmi note 9 Merlin global?
[Redmi Note 9 Questions & Answers] VD171:
Latest version.
[Redmi Note 9 Questions & Answers] ponkex:
Thank you! MIUI 12.5.4?
[Redmi Note 9 Questions & Answers] VD171:
Android 12 MIUI V13.0.1.0 is avaiable but recovery version only:

Xiaomi Firmware Updater

The ultimate script that provides firmware packages for Xiaomi devices.

xiaomifirmwareupdater.com
[Realme GT 2 Pro] robert3892:
I currently have the global rom installed on my Chinese RealMe GT2 Pro model. Now I'd like to install the EU rom instead. Is this possible?
[Samsung Galaxy Note 20 Ultra Questions & Answers] satnow:
Hi,

I have Samsung Note 20 Ultra 5G (Model SM-N986N) (Korea). Wondering if it is possible to change it to a different native language without ROOT?

Open CSC?

Is it possible to change the model of this phone to SM-N986B?
[Samsung Galaxy Z Fold3] DenizThe:
I noticed something today, the system_server is trying to determine what are you doing every half second with using machine learning. Even when the screen off.

2022-09-23 16:52:50.617 29672-30085/? D/SemNscXgbMsL1: Probability - Cloud gaming: [0.0024536524]
2022-09-23 16:52:50.618 29672-30085/? D/SemNscXgbMsL1: Probability - Real time: [0.64263755]
2022-09-23 16:52:50.618 29672-30085/? D/SemNscXgbMsL1: Probability - Non real time: [0.0069258325]
2022-09-23 16:52:50.618 29672-30085/? D/SemNscXgbMsL1: 1 sample inference time: 1.487604 msecs
2022-09-23 16:52:50.621 29672-30085/? D/SemNscXgbL2Rt: L2 RT 1 sample inference time: 2.612761 msecs
2022-09-23 16:52:50.623 29672-30085/? D/SemNscXgbL2Nrt: L2 NRT 1 sample inference time: 1.938177 msecs

And looks like those three has different neural network, not combined.
[Samsung Galaxy Z Fold3] Geogouz:
I am paying electricity bills for them to run their f&%^$ng models.

View attachment 5768053
[Samsung Galaxy Z Fold3] matze19999:
How much in electricity do you pay for that in a year? 5 cents?
[Samsung Galaxy Z Fold3] umeshgiriplay:
did anyone manage to stop this? I'm getting very poor idle battery life and it looks like this might have something to do with that.
[Shift Development] Qtek9000Jan:
Who is able to help me?

On this forum i found two treads on how to access the SD / HDD from Snapvue side.

I did not get it done.

I did the following:

Liberated shift and made it WM 6.1 on Snapvue side.

Set SD HDD and Memorystick to share on vista side.

Installed Total Commander and VM Netbroweser on Snapvue side.

Set the USB tool to connect.

Both arrows came on and activesync started.

Still, using both programms, i am not able to access SD, HDD or memorycard via Snapvue side. By the way Vista was running while trying.

I am a very frequent user of WM6.1 and the fact that the Shift has WM6.1 as well as Vista made it my perfect notebook solution. The battery life on Snapvuemode is the best feature for me but the memory is way to small.

Access to SD card would make my day / week / month / year / life.....

A sollution? anyone?

Thanks in advance.

Qtek9000Jan (sorry, still big fan of this PDA / phone)
[Shift Development] peppi.nl:
I hope that you are better with Windows Mobile than with this forums search-function.

How to Access shift hdd/sdcard on snapvue

Good luck!
[Shift Development] Qtek9000Jan:
Thanks Peppie.nl.

The link was found by me already.

I tried averything as mentioned in that tread, thats why i installed Networkbrowser.

I also found an other tread (about TomTom7 on snapvue.)

Tried everything written down there aswell to access SD card using Total Commander.

Still not able to access SD card.

Would appreciate any help in this.

Best regards,

J. Otterspeer

The Netherlands
[Shift Development] Qtek9000Jan:
Still no help?

Hello,

Is there enyone who is able and willing to help me with this problem.

As written above; i am not able to access the SD card from Snapvue side.

I found two posts on the forum and followed every step of them.

It does not work.

Probably i am doing something wrong, but not sure what.

Any suggestions?

Many thanks for help.

Jan Otterspeer

The Netherlands
[Shift Development] scottt:
Check that the sd card and hdd are set as shared drives.

In vista network and sharing center - Network discovery is on - file sharing is on.

hope this helps.
[Shift Development] Qtek9000Jan:
Tried the above

Thanks Scott for your help.

Sd card is on SHARED

NEtwork settings are as you suggest.

still no luck

I am thinking it might be the networkpath...

What should that be?

I am trying for example:

\\X9500Jan\D:\

and

\\HOME\X9500Jan\D:\

Home = workgroup

X9500Jan = computer name

D: = Driveletter of Sd card

Very eager to get it done.

Best regards,

Jan Otterspeer

The Netherlands
[Shift Development] studdocs:
Try:

\\X9500Jan\D

also make sure ur windows firewall is not blocking ports etc and password enabled sharing is disabled. Try disabling windows firewall or any other firewall and try ... i have usually found firewall's to be the culprits in such situations!
[Shift Development] scottt:
I use vm net browser and dont need to type any path

when net browser is open highlight my network then click on file then network then rescan network you then should get message "network scan on dialup connection will take a very long time do you want to proceed" click yes - after it scans the network you should see the workgroup under my network, mine also picks up a workgroup "unknown"
[Shift Development] Qtek9000Jan:
Going to do a hard reset

Thanks Scottt

I had already installed net browser

It found a ip adress but i was not able to access.

After installing an other browser (Resco Explorer)

Net Browser keeps giving a message that the scaner (no this is not a type fault this was the message...) failed.

I uninstalled all other browsers (Like Total Commander en Resco Explorer) and reinstalled Net Browser.

The bug keeps coming back.

I now am going to do a hard reset of Windows Mobile and install the latest rom.

any suggestions of which one is best?

Am very busy at the moment so don't know when i will be able to do the reset.

Will come back on it soon.

Thanks sofar....

Jan Otterspeer

The Netherlands
[Shift Development] deadnex:
It is not nescescary to hard reset your device. The ip-adress you can see in net browser is probably only a localhost adress (169.254.2.1?). Make sure that ActiveSync is connected to Vista and filesharing enabled. (Right-click the folder you want to share in Vista, select properties -> sharing tab -> Advanced Sharing -> Mark "Share this folder" -> click permissions -> Add your Vista username and select all permissions -> click OK)

If you still cannot see Workgroup and your computer name under netbrowser, you will have to disable/add exception to your Windows firewall.

Hope this is helpful
[Shift Development] Qtek9000Jan:
Finally, it works after hardreset

Hello,

Everybody who helped me with this problem: THANKS!!

After a hardreset and installing a new rom i am able to finally access the SD card on Vista side from the "Snapvue" side.

Will buy lisence for Netbrowser in a few days since this a trail version for 14 days.

Thank you.

I also managed to install Total Commander on Snapvue side from SD card and also was able to copy a .CAB file from SD card to Snapvueside so it could also be installed.

PERFECT....

Best regards,

Jan Otterspeer

The Netherlands
[Shift Development] dpack_1:
Hey all,

I got most of this working, got Network Browswer installed and can see my computer, only my shares arent showing up, i've given full access to EVERYONE and my username on the vista side to both a single folder and my C: drive but nothing is showing up at all.

Any ideas?
[Moto G10] sultanahamer:
Hi All, Here is the first build of TWRP I did. This is a port and not developed from source. But that shouldn't matter as of now. Will also try to build it from source and see if it can go into official twrp. No guarantee on making it official. I don't want to be stuck on making twrp official as it doesn't yield us much benefit. I will try to put my effort on building lineageos.

That being said here is whats working and not

Working:

Touch(should wait for 10 seconds after twrp screen appears)

adb

Mounting partitions

Vibration - no one cares for this anyway :)

Need testing:

External sdcard

Flashing zips

Not working:

Mounting /data which is our internal sdcard

Instructions:

Reboot to bootloader -> Press and hold volume down and power

fastboot boot twrp_capri.img

Warning: Don't flash this image to your boot partition. It will only boot recovery

FAQ:

1. Shouldn't I flash it so that I can boot to recovery without help of computer?

Answer: We do not have a separate recovery partition for our phone. So if we flash it, then it should serve to boot android as well as recovery. Which is very much possible but it will then be locked to a specific version of phone's software. It wont let us update our phone even the security updates. If we somehow update it then `touch` and other things would be broken if we use this twrp recovery to boot. Also I have made changes to lower security to have adb always working etc. So use this only as a flashable image through bootloader. Or you can flash this through magisk from android if you want to boot into recovery when required and flash stock boot when we want to boot android.
[Moto G10] PHYSC-1:
Does not work at all on g10
[Moto G10] sultanahamer:
@PHYSC-1 this is for g10 power. In this same forum, you should find a TWRP for g10. Please try that.
[Introductions] julerobb:
Hello all, my name is Julian. I'm a third party Installer with manada for best buy. Manada has the national contract with best buy. I'm also an unpaid intern with DirecTV/ING/Broadband Holdings. And I'm a student pursuing an AAS in computer networking.
[Introductions] orb3000:
Hi Julian welcome to XDA!
[Introductions] julerobb:
Thanks!
[General Questions and Answers] Aze3:
Hey,

I have a bunch of devices that are enrolled with an MDM. They don't have a standard Google account activated since these are meant to be company owned, which means no FRP activated through Google.

The issue at hand is that if I factory reset through the recovery mode and then start the phone there is nothing blocking the device from being used as a normal device. This is not good enough because and I need some way to make the process harder to dissuade malicious intent.

One way to do this is with a Custom ROM. https://www.hexnode.com/mobile-devi...id-devices-in-hexnode-mdm-by-configuring-rom/ https://www.hexnode.com/blogs/the-big-hows-of-managing-custom-android-os-in-the-workplace/

So that leaves me with a question if it's possible to take the stock ROM and just add the MDM APK with the configuration. As I understand, this would always then boot into the MDM configuration, leaving any other option of the table. (As long as the device is not flashed with stock ROM again.)

Another option, which I can't see if possible is if the whole Recovery Mode menu can be disabled/locked with a passcode, making it not possible to do a wipe through this way.

Appreciate all the help I can get with this as I'm new to this scene!
[General Questions and Answers] tutibreaker:
the mdm devices are running bythe admin mdm policies, the admin must enable or disable features from the phone or add more security steps
[General Questions and Answers] Aze3:
I've tested this with Scalefusion, Hexnode and had a chat with SOTI.

All of them say that it's not possible to lock or disable the access to the Recovery Menu that you can access by holding the Power button + Volume up and then Wiping the data and restarting the phone as a new device.

If there would be a way to disable this menu, then that would be great. But according to them they can't do that since it might brick the phone.

So now it's either solving a solution myself for this or trying Samsung Knox devices that offer more options regarding this problem.
[General Questions and Answers] magileine:
Hi, I'm new to XDA but I'm here because I'm pretty much a noob with android and technology. I'm trying to spoof with pokemon go with an android since it seems the safest method. I've looked up methods to root my device and it's been a bit challenging to say the least.

1. I found 1 option of pokemon go spoofing which is using FGL Pro with the official unmodded pokemon go app. If anyone is a pokemon go spoofer, if this still a viable method in 2022?

2. I was wondering what does downgrading google play services achieve exactly? I read it was something about masking your location without rooting, but doesnt FGL Pro already hide and change your location, so why would you need to do that?
[General Questions and Answers] Fytdyh:
1. that apps seems abandoned since 2019. so unless you would like a ban, i would not use it.

2. so, it seems that a google play services update, sometime between 2015 and 2017, went live and removed those spoofing methods. this can only be attempted if your smartphone runs android 6, 7 or 8. from android 8.1 forwards, it will not work.

Conclusion : so, i skimmed through those reddit posts about this type of practice. if you want to spoof pokemon go, best way would be to get a second device running android 6 and play the game on that. those methods are being patched out on newer devices and new versions of android.
[G1 Android Development] nuuneoi:
As all of you know that G1 have accelerometer but so unfortunate that it doesn't come with Auto Rotate Screen function.

So I modified its source code for a little bit. And at last, I can bring the auto rotate screen function to G1 already. Please take a look. ;)

http://www.youtube.com/watch?v=LrnbAbaG3Ks

Although it's not secret but sorry that the how-to instruction is not yet available now. I have to fix something first. I hope that I will finish it in next few days.

Thanks,

Sittiphol Phanvilai

DroidSans.com
[G1 Android Development] Koush:
Interesting, before we had root, I tried to write an AutoRotate application. But I kept getting an access denied when accessing "SURFACE_FLINGER".
[G1 Android Development] dwang:
Do u need a modified rc30 or earlier fw to do this?
[G1 Android Development] nuuneoi:
Yes. :)
[G1 Android Development] dwang:
Darn, my g1 has rc30 :(
[G1 Android Development] neoobs:
I bet this will be a setting once they get the virtual keyboard out. If you think about it right now in landscape it requires you to use the keyboard. Until the Virtual Keyboard we still have to open up the screen to type or do anything with inputs (dial)
[G1 Android Development] twistkill:
thats some pretty good progress..i guess then we can have keypad layout for landscape mode too..and other optimizations
[G1 Android Development] GSeeker:
+1:o

(too short)
[G1 Android Development] vertigo1:
To that end, are there any plans (or is it possible) to gain root with an OTA RC30? I am i the same boat as this guy.:mad:
[G1 Android Development] jashsu:
The very moment someone has even the slightest hint of an exploit to regain root in RC30, i'm sure there will be a thread about it on this very forum.
[G1 Android Development] ultimind:
Awesome work! :) I'm looking forward to a release version. I naturally grab the phone in Landscape mode most of the time, so this will be perfect when I don't want to open the screen, but still want to read an email.
[G1 Android Development] jzerocsk:
I have a feeling the lack of this functionality out-of-the-box has more to do with patents than anything else.
[G1 Android Development] xavier6303:
Good work! Cant wait to get this working on my g1!
[G1 Android Development] dwang:
Returned my g1 (with orig rc30) and got one with rc19. Just loaded up the new g1 with the hacked rc30. Looking foward to the auto rotate functionality!
[G1 Android Development] djkdawg:
if you download the app named Qsearch from the market, it auto rotates !!!!!
[G1 Android Development] npace:
Let's see some .diff's
[G1 Android Development] Koush:
I figured out how to make the screen autorotate this afternoon. I'll create an app that polls the accelerometer to watch for rotations, and publish the code tonight.

The function you guys are interested, the APIs you need is Surface.setOrientation, and also IWindowManager.setRotation. For example:

Surface.setOrientation(Display.DEFAULT_DISPLAY, Surface.ROTATION_270);

mWm.setRotation(Surface.ROTATION_270, true);

I modified the "monkey" application to test my results. You won't have permission to ACCESS_SURFACE_FLINGER unless the application is a jar contained in /system/framework.
[G1 Android Development] dwang:
I wonder if there is a way for the rotation hardware to send an event to your application.

Maybe there is a way for your application to register with the accelerometer so that it can receive notifications.

Polling just seems inefficient, especially given how bad the battery life is on the g1.
[G1 Android Development] Koush:
Well. It works. Sort of. Clicking on items on the screen is messed up. It doesn't seem to know where stuff is positioned. I have another idea though.

/**
** Copyright 2007, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/

package com.android.commands.rotate;

import android.view.IWindowManager;
import android.view.Surface;
import android.os.ServiceManager;

/**
* Application that injects random key events and other actions into the system.
*/
public class Rotate
{
static void showUsage()
{
System.out.println("Valid usage:");
System.out.println("	rotate 0");
System.out.println("	rotate 90");
System.out.println("	rotate 180");
System.out.println("	rotate 270");
}

static void rotate(int rotateVal) throws Exception
{
Surface.setOrientation(Display.DEFAULT_DISPLAY, rotateVal);
IWindowManager wm = IWindowManager.Stub.asInterface(ServiceManager.getService("window"));
wm.setRotation(rotateVal, true);
}

public static void main(String[] args)
{
if (args.length != 1)
{
showUsage();
return;
}

try
{
if (args[0].equals("0"))
{
rotate(Surface.ROTATION_0);
}
else if (args[0].equals("90"))
{
rotate(Surface.ROTATION_90);
}
else if (args[0].equals("180"))
{
rotate(Surface.ROTATION_180);
}
else if (args[0].equals("270"))
{
rotate(Surface.ROTATION_270);
}
else
{
showUsage();
}
}
catch (Exception ex)
{
System.out.println(ex.getMessage());
}
}
}
[G1 Android Development] usmc2k:
Will u be addn this to the market like ur other apps ?
[G1 Android Development] Koush:
Ooh, I figured out the problem with the touch screen input not rotating with the screen rendering! Back on track to having a working application soon.
[G1 Android Development] ultimind:
Ohhh does this mean we can finally use our phones essentially upside down?