Factory reset without factory reset protection

I sold my old phone and did a factory reset to back up my data. After that, the new user found that the phone had to be unlocked using the previous account.

Now this user lives nearby so I can log in to my account. Then I want to reset my phone again so that it cannot restore my account / data.

If I do the factory reset again, it will probably be blocked again. How do I reset without activating this protection? (only for this phone and not for all phones connected to this account)

adb – bypass Samsung Knox factory reset protection

I have an Android device that my government has provided to students and backed up by Samsung Knox. Unfortunately, I forgot the security pattern of the device and would like to reset it hard to be able to access it again. But Knox prevents the factory reset in all ways: /

I've tried entering the pattern incorrectly more than 20 times, but it still refuses to do a factory reset. I also tried to start Android recovery, but the option to factory reset is MDM disallows factory reset,

In addition, Google's Find My Device can't even recognize the device, so I can't reset it with Google's Find My Device.
And developer options are also disabled by Knox, so I can't use this adb

I know I've made it complex, but it's the truth and I was wondering if anyone knows of a way or a hard reset PC tool without USB debugging or a PC tool that allows USB debugging can.

I don't want to flash ROMs because they delete Knox, which I shouldn't delete: /

java – LibGDX Box2D how to play an animation once and then reset the status

So I have some animations in LibGDX that I want to get going. Running animations are currently working perfectly, but attacking is not. I want the attack animation to play once and then set the status back to WALKING.

I've been experimenting with up attacks (that's why the code is different) and all it does is blink and walk again. The other three directions only show and hold the last frame of the animations. Does anyone know how to get this to work? I've looked at the similar questions, but none of them help.

This method contains a lot of code, so I apologize in advance:

private TextureRegion getFrame(float dt) {
        TextureRegion region = null;
        if (currentState == State.WALKING) {
            switch (currentDir) {
                case UP:
                    if (b2body.getLinearVelocity().x == 0 && b2body.getLinearVelocity().y == 0) {
                        stateTimer = 0;
                        region = heroWalkUp.getKeyFrame(stateTimer, false);
                        stateTimer = 1;
                    } else {
                        region = heroWalkUp.getKeyFrame(stateTimer, true);
                    }
                    break;
                case RIGHT:
                    if (b2body.getLinearVelocity().x == 0 && b2body.getLinearVelocity().y == 0) {
                        stateTimer = 0;
                        region = heroWalkRight.getKeyFrame(stateTimer, false);
                        stateTimer = 1;
                    } else {
                        region = heroWalkRight.getKeyFrame(stateTimer, true);
                    }
                    break;
                case LEFT:
                    if (b2body.getLinearVelocity().x == 0 && b2body.getLinearVelocity().y == 0) {
                        stateTimer = 0;
                        region = heroWalkLeft.getKeyFrame(stateTimer, false);
                        stateTimer = 1;
                    } else {
                        region = heroWalkLeft.getKeyFrame(stateTimer, true);
                    }
                    break;
                case DOWN:
                default:
                    if (b2body.getLinearVelocity().x == 0 && b2body.getLinearVelocity().y == 0) {
                        stateTimer = 0;
                        region = heroWalkDown.getKeyFrame(stateTimer, false);
                        stateTimer = 1;
                    } else {
                        region = heroWalkDown.getKeyFrame(stateTimer, true);
                    }
                    break;
            }
        } else if (currentState == State.ATTACKING) {
            switch (currentDir) {
                case UP:
                    region = heroAtkUp.getKeyFrame(stateTimer, true);
                    if (heroAtkUp.isAnimationFinished(stateTimer)) {
                        currentState = State.WALKING;
                    }
                    break;
                case LEFT:
                    region = heroAtkLeft.getKeyFrame(stateTimer);
                    break;
                case RIGHT:
                    region = heroAtkRight.getKeyFrame(stateTimer);
                    break;
                case DOWN:
                    region = heroAtkDown.getKeyFrame(stateTimer);
                    break;
                default:
                    region = heroWalkDown.getKeyFrame(stateTimer); //should never happen
                    break;
            }
        }

        stateTimer = currentDir == previousDir ? stateTimer + dt : 0;
        previousState = currentState;
        previousDir = currentDir;
        return region;
    }

No keyboard after reset!

I don't know how it happened, but I reset my LG G-Pad to factory settings and it was returned without a keyboard. This means that I cannot pass the setup wizard because I cannot enter a password. I can't go anywhere ?! I haven't deleted the keyboard and wonder what happened. Just need help !!

Air Travel – I've been told that Americans can reset their 90-day Schengen border in Poland by e.g. Ukraine for at least 24 hours. Is that true?

I heard this from two different people in two different situations during my stay here in Poland. I actually didn't ask any of them about it. They told me alone on several occasions. These people don't know each other either and both said they know Americans who do this all the time. I have no reason to believe that they would mislead me, but I am curious where exactly I can find more information.

Does anyone know exactly what he is referring to?

And what could be the consequence if you then travel to other Schengen countries?

magento2 – Reset quantity in the input field when adding products from the grouped product page

I have configured my Magento 2.3.2 site so that adding products to the shopping cart keeps the customer on the page (not redirecting to the shopping cart). When a customer adds a product to the shopping cart from a grouped product page, the page is automatically scrolled up and the "My shopping cart" link is expanded to show the contents of the shopping cart. At this time, the customer has the option to add additional products from this page to the shopping cart. Unfortunately, the values ​​entered in the quantity fields for the individual products are not reset to zero. Imagine the following scenario …

The customer places 3 of one product, 2 of another and 5 of another in the shopping cart. Now you want to add 1 more product. You are unlikely to notice that the quantities you entered previously still exist, and when you add the 1 product to the shopping cart, you actually add 9 products (the 8 original quantities plus the 1 additional).

Is there an easy way to reset all quantity input values ​​to zero when something is successfully added to the cart?

Dropdown list – reset a dropdown list for autocomplete?

In one of our filter windows we have a dropdown menu, which is optional and serves as a dropdown list for the automatic completion. Essentially, the values ​​are displayed when a user clicks / searches the field. We have to allow the user to reset the dropdown as it is optional if he added the value and wants to remove it.

If this wasn't a dropdown menu for autocomplete, the default dropdown name could be used as a reset option. However, since this is the case, this can seem strange. Do you have any suggestions on how to do this? These are the things I thought of:
1. Have none as an option.
2. Allow them to reset it by removing the value they entered by resetting it (since the dropdown menu will be completed automatically this is allowed) by clicking on it – not sure if this is technical is still doable, but an idea.

An additional context – If this dropdown has a value, another dropdown associated with it is displayed. If the value is removed, this drop-down list disappears.

Thank you all!

4.4 kitkat – Factory reset of a Panasonic Lumix DMC-CM1 – Settings for activating the USB debug cannot be started

A recent update of the Panasonic Lumix DMC-CM1 seems to have broken something fundamental.

System apps are loaded, but the screen remains blank. e.g. Settings loads and shows the header with & # 39; Settings & # 39; but the rest of the screen is white. I left it for 30 minutes and it stays that way. It often comes to a standstill and has to be restarted Launcher3/Settings/etc is not responding, neither wait Yet close Help. Same thing in safe mode. I activated airplane mode, basically turned everything off, removed SD card and SIM card, etc. Still the same. Google Play doesn't load, so I can't load apps that might help.

Unfortunately, this means that I cannot switch on Enable USB Debugging, and so I am limited in my possibilities. The only options seem to be the following:

  • Using a "secret code": *#06# works (shows IMEI num), but nothing else seems to be, although I once found an info window in the background (I think it must have been) *#*#4636#*#*). I am starting from a list of codes I found here.
  • Using Recovery Mode: There seem to be a lot of different ideas on how to recover from this phone, but none of them work for me. It seems to be possible to get into Fastboot mode, and from there you can do so adb reboot recovery but only if Enable USB Debugging is on! : /

Is there anything else I can do? I'm not even sure which version of Android is on it, maybe 4.4