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

BouncyCastle stopped working on Android 13

I have a system service running on Android which uses BouncyCastle to create a "secp256k1" KeyPair. This is the code:
Java:
KeyPairGenerator keyPairGenerator = KeyPairGenerator.getInstance("ECDSA", "BC");
ECGenParameterSpec ecGenParameterSpec = new ECGenParameterSpec("secp256k1");

And before executing this piece of code I call the setupBouncyCastle method, which is this:
Java:
    private Provider setupBouncyCastle() {
        final Provider provider = Security.getProvider(BouncyCastleProvider.PROVIDER_NAME);
        if (provider == null) {
            // Web3j will set up the provider lazily when it's first used.
            return provider;
        }
        if (provider.getClass().equals(BouncyCastleProvider.class)) {
            // BC with same package name, shouldn't happen in real life.
            return provider;
        }
        // Android registers its own BC provider. As it might be outdated and might not
        // include
        // all needed ciphers, we substitute it with a known BC bundled in the app.
        // Android's BC has its package rewritten to "com.android.org.bouncycastle" and
        // because
        // of that it's possible to have another BC implementation loaded in VM.
        Security.removeProvider(BouncyCastleProvider.PROVIDER_NAME);
        Security.insertProviderAt(new BouncyCastleProvider(), 1);
        return provider;
    }

This all worked perfectly fine on Android 12L, but I am upgrading to Android 13 and now I get the exception: java.security.NoSuchAlgorithmException: no such algorithm: ECDSA for provider BC. Note: This is the same exception that I got on Android 12L if I didn't execute setupBouncyCastle. It seems like this method stopped working on Android 13?

If anybody has some details or an idea of what could be going on would be greatly appreciated!

Thanks in advance!

Help After hard resetting my phone I can’t go thru the Android initial settings.

Ooo

How strange: the same happened to my wife’s phone. On the top of this the back camera stopped. I tried a hard reset but now I can’t complete the Android Settings process
what is Ooo? android setting process? can you explain more on what this is. and why can't complete it? error? bootloop? screen froze?

just remember the more details you give, the better we can help.

Eyesight problems using Android 13

To demonstrate PWM all one has to do is get an old Samsung Galaxy phone (even an S5) and film it with another device's camera. You'll see similar flickering you once got if you filmed a CRT TV. While when looking at the phone itself you don't see the flicker (some people like me sorta can out of the corner of our eyes) your brain still reacts to it. Looking at any OLED long-term when I used to read ebooks on my phones caused migraines.

I never get headaches of any type when spending long hours in front of my Windows 7 laptop.

Samsung Galaxy S23 Ultra

Did NOT get shipped today... third time they did this, tell me a date and didn't happen. When I went online to chat, they gave me a bunch of excuses, this time he said between 27th and March 3rd. When I signed up on the 16th I was told in 2-5 business days, on the 23rd for sure. Isn't this grounds for breaking the contract I signed as I won't have the phone in time for my vacation I'm leaving on this weekend. If phone comes then it will get sent back as I have to sign for it. All phones are paid for so I want to leave T-Mobile now... sick of runarounds.
Wow this reminds me of the hassle with the nexus 6, my wife ordered mine as soon as it became available, she order it I think in either October or November 2014 it was supposed to be a Christmas gift, I didn't end up getting it till the end of January, first of February. I remember reading that some people waited till June of 2015 for their's
Recently I have been to a few Verizon stores and the only phones they had where budget samsung phones, one had a Z fold flip but if you wanted any of the flagship devices it would be 7-10 days

[FREE][GAME] Heroes and Merchants - a free Fantasy Crafting MMOG

We are currently sorting through the improvement suggestions and ideas from the last few months to plan a future patch. We want to focus on playing comfort and variety. If you have any other ideas, we look forward to hearing from you.

Please find below the event schedule for May:
  • 02.05. Exchange event for epic materials
  • 07.05. Tavern Event
  • 12.05. Copper Chest Event (Plants)
  • 19.05. Poison Spike attack
  • 23.05. Dragon Hunter World Event

I'd like to mention that the promotion code SPRING23 is still valid. New players in particular receive some helpful gifts for an easy start in the game.

Smart Switch issues

I'd also suggest you continue using Smart Switch, the point being there are actually hundreds of thousands of Samsung owners who use it without a glitch. An overwhelming number greater than the isolated incidents with those who do have a problems using it. So just keep a balanced perspective.
But regarding your problems, it does sound a lot more like some kind of networking and/or connectivity issue you need to address first, not so much a problem with the Smart Switch utility. I would strongly suggest you do this project at home in a more secure and reliable setting. Hotel WiFi networks are public services and should always be used with a lot of forethought. They're not very secure and there's a likely to be a lot of content filtering/restrictions in place. Using a hotel WiFi network to do something like file transferring large amounts of data between devices might be blocked by firewalling. But really, even it was working out, you would be transferring the user account from one phone to another and all over a WiFi network that's not secure and not private, exposing all your data as they copy over from one phone to the other.

Or as others have suggested, just use a direct, phone-to-phone ad hoc connection instead of that hazardous hotel WiFi.

Android studio emulator vulkan error

Hello guys
I'm sorry for my bad english, i'm french.
I'm coding on Android Studio, with an emulator that is on Android 11. Since i'm building my app (3-4 months), i never had problems with it. But recently, when i start my emulator, it works but Android Studio can't connect the device with my code, and it send me an error message :

INFO | Android emulator version 32.1.12.0 (build_id 9751036) (CL:N/A) INFO | Found systemPath C:\Users\jocez\AppData\Local\Android\Sdk\system-images\android-30\google_apis_playstore\x86\ WARNING | Please update the emulator to one that supports the feature(s): Vulkan ERROR | Running multiple emulators with the same AVD ERROR | is an experimental feature. ERROR | Please use -read-only flag to enable this feature. INFO | Storing crashdata in: C:\Users\jocez\AppData\Local\Temp\\AndroidEmulator\emu-crash.db, detection is enabled INFO | Duplicate loglines will be removed, if you wish to see each indiviudal line launch with the -log-nofilter flag. INFO | IPv4 server found: 192.168.0.254

I've tried a lot of things : update Android Studio, change android version of my emulator, add additional commands on the run configurations, create another emulator.. but nothing works.
I'm neary to cry on my pc ;-; i'm on it since 3 hours
I rly hope that someone could help me, and if you're needing more informations don't hesitate to ask, i will be happy to do something else that crying ;)

Keep getting missed calls from non-existent numbers??

I would make sure to get a security suite that checks for any of your identity being on the dark web. I was getting tons of these scammer calls and after checking with one of those suites I had TONS of my data where it wasn't supposed to be, such as my phone number being on tons of lists, sold to tons of businesses many of whom probably deal with scammers.

Today, I never give my real phone number to a business. I'll give a fake one, or one that I no longer use, or even a made-up one like 555-2659 because if a company really wants to contact you, it will be via email, text, or their app. they NEVER call. Many sell the numbers to data collectors who sell it to the lowest common denominator. After removing my data from those lists, changing passwords, and changing the phone number that I had on sites such as Google Play, Microsoft and Amazon to a fake number, those calls are few and far between.

Back in the 1990s, there used to be a little gadget you could put on your landline called TeleZAP that would listen for specific codes that scammer call centers used (sounds, clicks, delays, etc) and if it detected a scammer, they'd hear a very high pitched ear rape sound. I don't know how successful it was, but I loved to imagine the image of them whipping their headset off in sheer discomfort over it. I often wanted to use an air horn against a few back in the day as well.

There are exceptions though, many times your phone number is a reused number that someone else had. I had a home phone once that apparently must have belonged to a grandparent, since it got tons of automated calls from medical groups, insurance companies, and one from a school system that basically is recorded propaganda known as OneCall. Sadly, any attempts to stop those failed since calling them back (these were local comanies as well) was met with a recording of "this number does not accept incoming calls' so I was forced to change the phone number. In these cases, the calls were specifically coming in at a specific hour, day of week. There was no way to get rid of them, since answering them only had recordings, not real people, nor a method to tell the automated system to go frell itself.

Any Z Fold 4 tips?????

Fair enough - I don't mind being the exception. The Z Fold 5 is expected to be a small improvement over the 4, but rumors are already trickling that the Z Fold 6 will be a major change.

I would definitely miss this main display when writing on the go, as I can use Word and see the entire page. Still undecided and I'm sure I'd have some regret right after selling this one. I hope, for all of you, that the foldable phone doesn't end up like VR or even 3D TVs. We were in deep with both technologies and the plug got pulled on us.

Filter

Back
Top Bottom