• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

  • Locked
Frp bypass problem

Hi guys, I'm trying to bypass frp on a huawei p30 pro emui 12 using the otg drive/ cable method when I've transferred the frp bypass apk file on to the stick and plug it into the cable then into the phone nothing happens I don't see any form of settings etc ,but when I remove the stick and plug it back into the pc I see a number off files besides the frp apk file, what am I doing wrong, cheers

Help [Doubt] Android publishing app policies

Hello everyone,
I'm developing an application where the main usability is not the pornography, however I don't want to make my app policies strict so they are free to do it. When this happens this content does not appear on the main screen and to see it you have to "follow" the user and confirm you may watch sensitive content.
Could this app be published to the market?
On the policies it says that is not allowed any type of pornography, but is not too clear to me because Twitter, Reddit, Telegram and all this type of application contains it...
Can someone help me? I don't catch at all the android policies...
Thank you in advance!!

Is there a better SMS voice to text than Google?

Goggle voice to text is incredibly bad. It makes every mistake under the sun including grammar and I want to just take my phone out back and shoot it... but I know it's not the phone's fault, it's Google's crappy software.

I would even pay for a plan if I can get some sort of smart or learning voice to text to take over in my text messaging. Does anyone have any tips or suggestions?

Beginner Android Studio setup

I was watching this on youtube and noticed that everything is completed automatically in his Android Studio.


For example at 3:08 he gets a drop down menu in MainActivity.kt which consists of the id's created in activity_main.xml. I do get a dropdown but it doesn't consist of the id's that I created in activity_main.xml. Am I missing some imports or are some settings wrong?

Attachments

  • screenshot.png
    screenshot.png
    233.5 KB · Views: 162

AOD like apps and battery consumption.

Hi,
I'm using a Moto g42 and I'm missing the AOD feature a lot (peek display is way too sensitive, so I had turned that bloody thing off). I tried to use some AOD apps, but all of them have the same problem - the battery usage is around 10% per hour, which is insane. In comparison - the native Samsung AOD, uses around 1% per hour, being all the time visible on the screen.
Why there is such a big diffrence in battery drain? Is there any way/mod so that those AOD aps used much less power or behaved like native AODs?

Thanks

Help Android Box lost system files and needs rebuild

Hi. I'm afraid I am an Android newbe and not sure how to resolve this issue. So any help would be very much appreciated. Anyway, I have this Android box - a "Trongle X4" that came loaded with Kodi etc that I didn't want. Rather than delete it, I thought I would be clever and do a Factory reset, deleting all data.
It didn't reboot, so I unplugged and re-plugged in the device. I fould out later, you were supposed to leave it a long time, so I have ended up with the device getting to the "Android Recovery" screen which I believe is quite common, when I was searching on Google for hopefully answers.
I tried all the options - you can see in the second image "E: Cannot load volume /misc!" so I am guessing I need to load some files on a USB stick and reload from there. I may have deleted some necessary files when I unplugged and re-plugged in perhaps?
I tried all the other options as well on the "Android Recovery" list to no avail.
Bearing in mind, I haven't a clue what I'm doing, would anyone kindly be able to tell an idot like me, the steps I need to go through to get the Android box up and running again to an Android screen like I originally had (photo also below) and foolishly deleted? Many thanks in advance.

Attachments

  • IMG_1517.jpeg
    IMG_1517.jpeg
    534.1 KB · Views: 340
  • IMG_1518.jpeg
    IMG_1518.jpeg
    150.8 KB · Views: 199
  • IMG_1516.jpeg
    IMG_1516.jpeg
    208.6 KB · Views: 189

Strange use of zero battery

It keeps happening very sporadically on my 6-yr-old unrooted doogee s60 lite.
SVcVFLQI

https://mega.nz/file/SVcVFLQI#GjU85CF_8zes43CZxF66l3LahLt7-mKGwG-bNBbuFpo

In case the image does not show, this is a battery app screenshot showing that for some 7 hours, my phone did not use a single percent of energy. It was on, lying on the table half a day untouched, screen off.

As I look at the system battery reading - the same.

What does it mean? how is it possible, and if it is, why does it happen sometimes and otherwise does not?

The phone has not been restarted for several days, it has icebox installed which does make much difference, but so spectacular?

Most importantly, how to replicate this? :)

Attachments

  • Screenshot_20230106-011950.png
    Screenshot_20230106-011950.png
    254.8 KB · Views: 163
  • Screenshot_20230106-012005.png
    Screenshot_20230106-012005.png
    299.2 KB · Views: 170

Turning off backups for a single picture?

I want to take a picture and don't want it backed up to unknown places that I lose track of it. I often find that things on the web are sticky (and maybe that's why they call it the web), that they're harder to undo than to do - to close an account, cancel a membership, get your name or number off a list, to remove something that has been auto-saved or auto-backed up.

Is there a way to take a picture on our phone that you know is not backed up to some cloud account? Alternately is there a way to get listed all such services I'm using? I generally say no but I may be using one or more of the following: AT&T, Samsung Cloud or Google cloud. It becomes too much to keep track of and there's always the chance I'm using some other.

Android Studio won't run apps due to unsigned driver

I have compiled a program with Android Studio on Windows 8.1 and am trying to run it in the built-in emulator. But when I choose "Run" from the menu, I get this:
"Install Android Emulator Hypervisor Driver for AMD Processors
Intel HAXM is required to run this AVD.
Android Emulator Hypervisor Driver for AMD Processors is not installed.
Install Android Emulator Hypervisor Driver for AMD Processors for better emulation performance."

If I choose Cancel, it doesn't run the program.
If I choose OK instead, it brings up a "Installing Android Emulator Hypervisor Driver for AMD Processors" wizard, but it fails because:
"A digitally signed driver is required
Android Emulator Hypervisor Driver
Google LLC
Windows blocked the installation of a digitally unsigned driver.
Uninstall the program or device that uses the driver and check the publisher's website for a digitally signed version of the driver."

It is coming directly from Google so I don't know why it would be unsigned, nor how they would expect it to work in that case. Can anyone help? Thanks.

Help Cannot make or receive calls

Hello,

Samsung Galaxy S9 phone; Model SM-G960U1; Android 10; Service provider: Tracfone

Phone was working perfectly for months.

Yesterday I tried to dial Tracfone's access number for international calling which is 305 938 5673.
Got a message saying the number is not working and to text 611 which is the Tracfone help system.

Received a text message back saying the system confirmed my phone number as a valid Tracfone number and the text system then said it's going to check my phone settings. Something reset and now I cannot make or receive any phone calls.

One additional point, using my phone in the past I kept getting occasional notification messages saying 'we cannot connect to visual voicemail'. I never wanted that so I ignored these messages. After their system changed my phone, a display appeared on the phone which was some type of visual voicemail display. But that is not now appearing nor can I find it.

I reset the network connections; enabled the Airplane mode and disabled it; removed the SIM card and inserted it again; checked the preferred network type; checked for any system updates; and went into safe mode to check for any bad apps.

When I try and make a call the call screen displays just like for a normal phone call but never connects.

When I went to Tracfone they checked all the settings in connections; turned off wi-fi and bluetooth; confirmed that airplane mode was not on; looked at mobile networks, which is lte/cdma, checked the access point name: vzwinternet;

I removed the SIM and reinserted; gave them the last row of numbers of the SIM card: 37235; and they asked me to dial *73.

Wi-Fi is working, I can connect to the internet, I can text, cellular data indicator shows a strong sigal so I think I'm getting cellular data.

Thank you in advance for your help,

Don

WeChat blocking issue

Why is there a business in buying and selling WeChat accounts. If WeChat is as fragile and prone to blocking as it appears to be, and support so useless, isn't there a risk that a purchased WeChat account would be quickly blocked ? I am very new to WeChat. I managed to get my account blocked after only a few messages, have no idea why, the official documentation is impossible to comprehend, and I cannot get it unlocked. I only have one WeChat friend in Australia and she does not understand the unlock instructions. Multiple requests to WeChat support on the correct form have all been ignored. Is there a trick to get support ?

Help Photos greyed out in apps besides Photos and Files

Hi everyone,

Since a while I've been having a problem that apps besides Photos andF Files cannot seem to access photos. When I open the gallery through e.g. Instagram, I can only see the 3 or so most recent pictures, the rest are just grey.

I can go to the photo's app and chose share to send the picture to Instagram, although this is a hassle and I'd rather have everything working as it should.

I'm running Android 11 on a Nokia 8.1

Cannot read serial data using USB Host

Hi all,

I am trying to read serial data from a USB device using my Samsung phone as the host. I have followed the USB Host Overview tutorial closely but I cannot get any data from the device. I am performing async read using UsbRequest as the device is continually streaming data I would like to read.

My code:
Java:
class TransferThread extends Thread {
    private static final String TAG = "MainActivity";
    private static int TIMEOUT = 5000;
    private static int BUFFER_LENGTH = 32768;
    private byte[] buffer = new byte[BUFFER_LENGTH];

    UsbDeviceConnection connection;
    UsbEndpoint endpoint;

    TransferThread(UsbDeviceConnection connection, UsbEndpoint endpoint) {
        this.connection = connection;
        this.endpoint = endpoint;
    }

    public void run() {
        Log.v(TAG, "New thread started");

        UsbRequest usbRequest = new UsbRequest();
        if(usbRequest.initialize(connection, endpoint)) {
            Log.v(TAG, "USB request successfully initialised");
        }
        final ByteBuffer byteBuffer = ByteBuffer.allocate(BUFFER_LENGTH);
        if(usbRequest.queue(byteBuffer)) {
            Log.v(TAG, "USB request successfully queued");
        }
        if(connection.requestWait() == usbRequest) {
            Log.v(TAG, "Successfully returned USB request result");
            Log.v(TAG, "Has array: " + byteBuffer.hasArray());
            Log.v(TAG, "Data: " + Arrays.toString(byteBuffer.array()));
            Log.v(TAG, "Data: " + byteBuffer.toString());
        }
        else {
            Log.v(TAG, "Failed to return USB request");
        }

        Log.v(TAG, "byteBuffer.ToString(): " + byteBuffer.toString());

/*        int numBytesTransferred = connection.bulkTransfer(endpoint, buffer, buffer.length, TIMEOUT);
        if(numBytesTransferred >= 0) {
            Log.v(TAG, "Bulk transfer successful");
        }
        else {
            Log.v(TAG, "Bulk transfer failed");
        }*/
    }
}

public class MainActivity extends AppCompatActivity {

    private static final String TAG = "MainActivity";
    private static final String ACTION_USB_PERMISSION = "com.android.example.USB_PERMISSION";

    private final BroadcastReceiver usbReceiver = new BroadcastReceiver() {
        public void onReceive(Context context, Intent intent) {
            String action = intent.getAction();
            if (ACTION_USB_PERMISSION.equals(action)) {
                synchronized (this) {
                    UsbDevice device = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE);
                    if (intent.getBooleanExtra(UsbManager.EXTRA_PERMISSION_GRANTED, false)) {
                        if(device != null){
                            Log.v(TAG,"Permission granted for device");
                        }
                    }
                    else {
                        Log.d(TAG, "permission denied for device " + device);
                    }
                }
            }
        }
    };

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        Log.v(TAG, "Running Main activity onCreate");

        // Enumerate USB devices
        UsbManager manager = (UsbManager) getSystemService(Context.USB_SERVICE);
        HashMap<String, UsbDevice> deviceList = manager.getDeviceList();
        Log.v(TAG, String.format("%d device(s) found by UsbManager", deviceList.size()));
        for (HashMap.Entry<String, UsbDevice> entry : deviceList.entrySet()) {
            String key = entry.getKey();
            Log.v(TAG, "Device name: " + key);
        }
        UsbDevice device = deviceList.get("/dev/bus/usb/002/002");
        Log.v(TAG, "Device info: " + device.toString());
        Log.v(TAG, String.format("Device has %d configuration(s)", device.getConfigurationCount()));
        Log.v(TAG, String.format("Device has %d interface(s)", device.getInterfaceCount()));

        // Obtain permission to communicate with a device
        PendingIntent permissionIntent = PendingIntent.getBroadcast(this, 0, new Intent(ACTION_USB_PERMISSION), PendingIntent.FLAG_MUTABLE);
        IntentFilter filter = new IntentFilter(ACTION_USB_PERMISSION);
        registerReceiver(usbReceiver, filter);
        manager.requestPermission(device, permissionIntent);

        int interfaceNumber = 0;
        int endpointNumber = 0;
        UsbInterface usbInterface = device.getInterface(interfaceNumber);
        Log.v(TAG, String.format("Got interface %d", interfaceNumber));
        Log.v(TAG, "Interface name: " + usbInterface.getName());
        Log.v(TAG, "Interface class: Vendor specific " + usbInterface.getInterfaceClass());
        UsbEndpoint endpoint = usbInterface.getEndpoint(endpointNumber);
        Log.v(TAG, String.format("Got endpoint %d", endpointNumber));
        int endpointType = endpoint.getType();
        if(endpointType == UsbConstants.USB_ENDPOINT_XFER_CONTROL) {
            Log.v(TAG, "Endpoint type: endpoint zero");
        }
        if(endpointType == UsbConstants.USB_ENDPOINT_XFER_ISOC) {
            Log.v(TAG, "Endpoint type: isochronous endpoint");
        }
        if(endpointType == UsbConstants.USB_ENDPOINT_XFER_BULK) {
            Log.v(TAG, "Endpoint type: bulk endpoint");
        }
        if(endpointType == UsbConstants.USB_ENDPOINT_XFER_INT) {
            Log.v(TAG, "Endpoint type: interrupt endpoint");
        }
        int endpointDir = endpoint.getDirection();
        if(endpointDir == UsbConstants.USB_DIR_IN) {
            Log.v(TAG, "Endpoint direction: IN (device to host)");
        }
        if(endpointDir == UsbConstants.USB_DIR_OUT) {
            Log.v(TAG, "Endpoint direction: OUT (host to device)");
        }

        UsbDeviceConnection connection = manager.openDevice(device);
        connection.claimInterface(usbInterface, true);

        TransferThread thread = new TransferThread(connection, endpoint);
        thread.start();
    }
}

Using endpoint 0 (interrupt type) I get the following data when I run the code:
[GALLERY=media, 1809]Results by casjkent2 posted Jan 4, 2023 at 7:34 PM[/GALLERY]

I'm not sure if I'm using requestWait incorrectly or if I'm using the wrong endpoint or some other setting. Anyb help would be appreciated, thanks!

Filter

Back
Top Bottom