yashsingh1/xdaforums huggingface dataset:
[Android Studio] GAZZ00:
Hi,

I am designing a BLE scanner that is required to receive and display the advertised packets of data (as well as other functions). So far this has been successful and the hex stream is being displayed using the following function:

// Device scan callback.

private ScanCallback leScanCallback = new ScanCallback() {

@override

public void onScanResult(int callbackType, ScanResult result) {

// gets data from the BLE scan for broadcasting packets

ScanRecord Scanned = result.getScanRecord();

String address = btAdapter.getAddress();

//Gets advertised packets in a byte array

byte[] packetData = Scanned.getBytes();

//conversion to a hex stream from the byte array

for (byte hex : packetData) {

x.append(String.format("%02X", hex));

}

However, i have been asked to represent the hex stream as separate numerical values for each byte using ASCI! I attempted this with just the byte array, but the outcome of the byte array was not the 62 bit hex stream I was expecting. but instead 8 random symbols.

I have also tried the parseint() function in many different ways. Each of which compiles successfully, But proceeds to crash my app when i try to start a scan!

Any help on how best to achieve my requirements would be much appreciated.
[Redmi 9C Guides, News, & Discussion] ssm14293:
I didn't see any post about kernel release, so I am posting one here.

GitHub - MiCode/Xiaomi_Kernel_OpenSource at dandelion-q-oss

Xiaomi Mobile Phone Kernel OpenSource. Contribute to MiCode/Xiaomi_Kernel_OpenSource development by creating an account on GitHub.

github.com

I hope this phone gets some developer love now.
[Redmi 9C Guides, News, & Discussion] redmi9c:
This kernel is not compile.
[Redmi 9C Guides, News, & Discussion] KirMozor:
Same thing, I tried to compile this morning, errors: https://pastebin.com/xw5PUGKc

It's evening and I still can't do it :(

Do you have a guide on how to compile this kernel, I have no way :(
[Redmi 9C Guides, News, & Discussion] redmi9c:
This kernel is not compile
[Redmi 9C Guides, News, & Discussion] redmi9c:
Try it: https://github.com/steftim/kernel_xiaomi_angelican
[Redmi 9C Guides, News, & Discussion] KirMozor:
Thanks!

I'll definitely give it a try :D
[Redmi 9C Guides, News, & Discussion] KirMozor:
I tried to compile this kernel too and it didn't work, here's the issue: https://github.com/steftim/kernel_xiaomi_angelican/issues/3
[OnePlus Nord Questions & Answers] jtl2dotnet:
Literally every website I have seen so far says that LineageOS 17.1 works with OnePlus Nord N100, except the official LineageOS wiki. Maybe not literally, but I'm getting very frustrated because I started with LineageOS's website, searched Amazon for a OnePlus Nord, they have Zero (that I can see) and instead keep redirecting me to the N100.

Sites like https://lineageos-device-finder.org/devices/avicii-oneplus-nord when you click "Check Price" it takes you to Amazon's N100 page. Not helpful since they're not the same phone.

Not realizing a difference, I bought the N100. Thankfully, I went to double check the versions prior to start the process of loading TWRP and such. But now I just spent $200 on a phone, hopefully I can return to Amazon. Or risk keeping it hoping that a LineageOS release comes to this phone. But, I can't find any information on whether Lineage is developing a version for the N100.

So, back to my main question: Where can I find the base Nord for sale? Amazon. Ebay. Nothing I can find says this is a Nord avicii. Is the N10 an avicii? Not even OnePlus' own website tells me which version is the avicii.

I apologize if my frustration is coming out in this post. I've been looking for days and not finding answers is only increasing my frustration. So if someone could point me int he right direction, I'd appreciate it. Thanks!
[OnePlus Nord Questions & Answers] jtl2dotnet:
Okay, I kinda found my answer. But before I get to that, I want thank everybody here at XDA. You guys are awesome! I've been rooting my phones for over ten years that the smarter than people over here.

To answer my own question, after taking a break and doing some digging, apparently this phone is not available in the US. It would have been nice if Lineage or something somewhere called the avicii an international phone, but it is what is it.

If you came trying to find a OnePlus Nord and can only find the N100, the rooting steps by Alex over at https://xdaforums.com/t/method-for-root-oneplus-nord-n100-be2011-unlocked.4298907/ worked like a charm. I'm gonna go over there and post a review of the process.

Thanks again everybody.
[Hero CDMA Q&A, Help & Troubleshooting] Kim'Z_Phisher:
Can Anyone Sign my ota update flash zip file?

because i don't have any laptop/PC's do do that...

Please ...help me any help will be appreciated🙏🙏🙏

this zip file is for vivo v5 @1601

Please....
[Huawei Mate 20 X Questions & Answers] Kroxxr:
Hey, can i use lineageos on my 20x?
[Huawei Mate 20 X Questions & Answers] ben63vw:
The only way is if you're running Android 9, have it rooted (can't root this phone running Android version above 9, maybe 9.1) and there's a LineageOS rom built for the 20x. I don't think there was ever a rom built, so pretty sure you can't unless you build it.
[Huawei Mate 20 X Questions & Answers] jbmc83:
two options: based on emui 9 unlock bootloader via ministryofsolutions and then either -

A) install openkirin custom rom, will work for sure but still stuck on android 10

B) check and see if any GSI rom might work, potentially issues or might not boot at all, but goes up to android 11/12

i plan to replace my battery in a few months, together with a new back casing to get rid of some scratches. with that, i also plan to try and unlock my BL and play around with GSI roms. with a bit of luck, one of them might boot and work :) android 11/12, here we come?! hahaha
[Nokia 5 Questions & Answers] Deleted member 7156170:
I am trying to downgrade my Nokia 5 to android 7.1. Currently, it's running on android 9. I tried this method.

https://xdaforums.com/t/guide-ta-10...oreo-to-nougat-for-bootloader-unlock.3893053/

But Windows PowerShell was unable to detect any device. So, then I searched and installed some drivers like these

But no work.

Then I found a solution in here

https://xdaforums.com/t/nokia-phone-not-detected-using-adb-via-windows-pc.3784152/

But there is no option called audio source, so I selected MIDI, also no work and platform-tool windows link is not working, so I searched google and downloaded this https://developer.android.com/studio/releases/platform-tools, and it didn't work either.

All after this, something came to my mind.

Does Nokia 5 needs an unlocked bootloader to do the downgrading process?

Otherwise, Is there another way to do this? Like I saw on YouTube, someone is using ntool to do the process, but I don't know is it safe or not.

And what could be wrong with ADB? Why it's not detecting my phone?

Thanks

—Nihad
[Xiaomi Poco X3 NFC Questions & Answers] fifoukira23:
Hello sir

Sorry my English is not good.i am ask for your help.please.i have a poco x3 nfc and previously i have pixel experience rom and nexus kernel and it's good very good combination. All just work fine. So a new version of pixel experience released.so i flashed using last twrp. And just fine .but when i wabt to flash nexus kernel my phone stuck in boot. So i go to recovry and flash the rom again and it's work fine. The probleme is when i want to back to my previous version after i flashed again my phone go back to recovry mode after flashing i tried both twrp and orange old and last version nothing works.just miui version work fine and the last pixel experience verion and a old version of the rom. Every time i flash new rom clean cach and do format data . My phone not boot to system hi just go back to recovery mod.

Please sir can you help me.
[Xiaomi Poco X3 NFC Questions & Answers] ahmedisgamet:
Format data first then flash rom

I had same problem the ROM you downloaded might not be for your device or working right stay on the old pe
[Xiaomi Mi 11 Ultra] Gershy13:
I just got a Mi 11 Ultra with china rom, my options are either stay on the china rom and put up with some of the annoying things (google assistant voice not working, font and text looking a bit weird, etc), or switch to xiaomi.EU.

My question is if there is any big cons to using Xiaomi.EU rom? The biggest one i can think of currently is not having proper updates (having to do them through twrp or fastboot), but that isnt really a problem.

Are there any other things i should know before i unlock my bootloader and make the switch?

Thanks

Gershy13
[Xiaomi Mi 11 Ultra] xNAPx:
Performance wise Xiaomi EU is slower
[Xiaomi Mi 11 Ultra] unavix:
Do you have proof? Some measurements and statistics. Thank you.
[Xiaomi Mi 11 Ultra] xNAPx:
No need, it is enough to see apps ooening time,on Xiaomi EU is much slower
[Xiaomi Mi 11 Ultra] xwonic:
I cant tell Xiaomi.eu 21.7.21 is slow specifically on mi 11 ultra(cause i installed on other devices and it was fine). Got bootloader unlocked this Tuesday and installed it right away. i was unhappy with it. There was also the issues with sound being louder but worse quality, The haptics didn't feel right.

Had some troubles with finding the next right rom and i remember xNAPx talking about MIUIMIX.

So this Wednesday i went ahead and gave it a go.

Using version 21.7.21 and its really something. Very smooth, no high temps. There is only the issue which is, its not safetynet safe (example: has L1 but cant install netflix from Playstore and other certified apps), and you have to install root magisk with safetynet patch and hide magisk from playstore to be able to use everything.

Also read the F.A.Q. from MIUIMIX to able to get it working.

It might be too soon but i already having a very good day with it.

View attachment 5373865
[Xiaomi Mi 11 Ultra] RX1337:
I switched yesterday after being on the CN rom for a few months. (From Stable CN to Xiaomi EU Stable). I don't feel any difference at all. I don't know if this may be the case with the weekly builds but I don't see any slowdowns at all. Maybe its placebo? ^^
[Xiaomi Mi 11 Ultra] RX1337:
Actually Netflix installs fine on my Xiaomi EU Stable Build. I didn't have any problems on the normal CN rom as well. Also my device still has L1 Certification with the rom. You should not have to use Magisk for that. So I don't have a clue why you're getting at that. (Unless you're referring to MIUIMIX)
[Xiaomi Mi 11 Ultra] xwonic:
Yes i said that referring to miuimix as stated in the same paragraph

"Had some troubles with finding the next right rom and i remember xNAPx talking about MIUIMIX.

So this Wednesday i went ahead and gave it a go.

Using version 21.7.21..."
[Xiaomi Mi 11 Ultra] Deleted member 5408779:
Not sure what you are talking about but i can install netflix on MMX. Also magisk hide isn't needed for me, it works without issues.

And there is something you guys should know about MMX. Future builds for 11 Ultra won't have TWRP included anymore.
[Xiaomi Mi 11 Ultra] xwonic:
I have the Beta 21.7.21. Do you have the latest beta version? or the stable one?

It's all in the FAQ, i'm not making this thing up.

MMX - FAQs

Q: Is my device supported by MiuiMiX? A: Check the SUPPORTED DEVICES STATUS. Keep in mind that the official MiuiMiX ROMs are the one released in the OFFICIAL CHANNEL. Q: What is MiuiMiX? What is the difference with Xiaomi.eu? A: MiuiMiX is a custom MIUI based on xiaomi.eu and china beta...

telegra.ph

Q: Play store says "device not certified" or SafetyNet fails​

A: Enable Magisk Hide, select Google Play Services in Magisk Hide then clear data and cache of Play Store and reboot.

Also good to know about the fastboot.
[Xiaomi Mi 11 Ultra] Deleted member 5408779:
Yes i have the latest beta which is already without injected TWRP.

And yes, you are right. The things mentioned in faq is just in case you run into issues with safetynet fails for example. But that doesn't mean you will have it.

As i said it works out of the box for me without doing anything. Not sure why it didn't work for you.
[Xiaomi Mi 11 Ultra] xwonic:
That might be it cause im using it with twrp. And i didnt install magisk cause i needed. I installed cause i was facing the netflix not being able to install from store
[Xiaomi Mi 11 Ultra] lambstone:
What temps are you currently getting?
[Xiaomi Mi 11 Ultra] xwonic:
That might be it cause im usin

i'm getting around 34-39celsius normal day apps, insta, whatsapp, news. Ambient temp is around 25c, with case atm.

using camera goes to 41c sometimes.

asphalt 9 max quality goes to 41c as well

wireless charging goes to 43c max
[Xiaomi Mi 11 Ultra] Deleted member 5408779:
How do you use it without magisk when it comes prerooted? And also... Latest beta has no TWRP so how could you have it with TWRP?

Are you sure you are using MMX?🤔
[Xiaomi Mi 11 Ultra] lambstone:
Not bad, fairly decent. I'm considering rolling back all the way to the 12.0 rom
[Xiaomi Mi 11 Ultra] speedtripler:
I don't have this problem
[Xiaomi Mi 11 Ultra] xNAPx:
Well unless my phone has a problem I tried stable Xiaomi EU ver 12.5.7.0 and apps cold boot was slower than stock at a point to be unacceptable for a "ultra" device. For example WhatsApp on stock global splash screen is almost instant, on xiaomi EU was taking almost 1 second. Maybe a new update solved this I don't know
[Xiaomi Mi 11 Ultra] Chicko24:
when you test it you will know
[Xiaomi Mi 11 Ultra] xNAPx:
And I should format and loose everything without a proof? Maybe someone of you could record a video test of the following apps opening: WhatsApp, Tapatalk
[Xiaomi Mi 11 Ultra] chrissss91:
Hello, I was wondering if it's mandatory to format (from Stock V12.5.6.0.RKAEUXM to Xiaomi.EU) ?
[Xiaomi Mi 11 Ultra] xNAPx:
It's always mandatory to format data when you switch to a different branch ROM
[Xiaomi Mi 11 Ultra] RX1337:
It always is. If you want to basically keep everything do a backup in the Xiaomi Settings. move them to your pc then and also copy your videos and photos manually from your phone. That way you should have literally everything (some apps(not all) require you to login again)
[General Questions and Answers] Cuevasstorn3:
norteo is activated even though the menu is already activated, please help.

norteo se me activa aunque el menú ya está activado, por favor ayuda.
[Mogul, XV6800 General] mscreations:
Okay, I've searched as best as I can, but I haven't been able to find information that helps. Is it possible to map the end key to a program like the Touch?

I've tried setting up the Long_End.lnk shortcut but it didn't work. I'm just hoping that the keyboard driver supports it, but I'm kinda doubting it since the Touch's keyboard driver is probably quite different (seeing as the Touch doesn't HAVE a keyboard).

If it isn't possible easily, is there a way that isn't so easy? Maybe changing the keyboard driver to the driver of another phone?

If there really isn't a way to do it natively in Windows, is there a key expander program that would work? I installed HButton, but it won't let me remap the End key.

Also, I'm running DCD 3.2.6 with Radio 3.42.50.
[Mogul, XV6800 General] 1999TL:
http://ae.inc.ru/aebplus.php

AE button plus does it. Just checked for you on my phone. I know it doesn't work with the camera button, but it works for everything else. I love that program.
[Mogul, XV6800 General] mscreations:
very cool program. I like that I can set it up so a long press brings up the HTC End Key app and three presses locks the phone.

Ba da ba ba baah, I’m Lovin’ It.... :D
[Mogul, XV6800 General] 1999TL:
that is one of the first programs I install each time I flash. The titan has so many buttons, but I've mapped them ALLLLLL. What the hell will I do when I get the Touch pro with less buttons?
[Mogul, XV6800 General] RedRamage:
Total agreement on AE Buttons. Wonderful program.

I also agree on the "more buttons" thing, not less. Any complex OS is gonna have a large number of options and programs... it's just life. If ya want simple, then don't get a smart phone!

Given the complex nature of OS's these days, it just doesn't make sense to me that continue to REMOVE buttons that help us get where we want to go quickly.
[Mogul, XV6800 General] 1999TL:
It looks prettier with more screen real estate.
[Mogul, XV6800 General] RedRamage:
Well, that's fine IF they were using the extra space for a bigger screen... or perhaps it's better to say it would be more acceptable if they where making a bigger screen. But they ain't doing that is most cases!
[Moto G4 Plus Questions & Answers] JulianCox:
i installed a firmware and had a command to delete all. but I have a backup made with TWRP. is there any way to restore the IMEI?
[Moto G4 Plus Questions & Answers] dedq:
You will have to flash your stock firmware.
[Moto G4 Plus Questions & Answers] JulianCox:
sorry I'm new. I have to search again for a firmware? my backup doesn't work?
[Moto G4 Plus Questions & Answers] dedq:
If you have a backup in TWRP, IMEI is in "Efs" part.

If you don't have that, flash the stock ROM again and that is how we were going to get your code back.
[Moto G4 Plus Questions & Answers] JulianCox:
right. I have 2 separate backups from 2 different years. but neither has a folder or file named efs
[Moto G4 Plus Questions & Answers] dedq:
It doesn't need to have a folder which is under that name. You have to select the backup from your TWRP recovery and there you will find the folder. You cannot find it using file manager.

If you cannot find it even in TWRP recovery when restoring backup, you need to flash your original ROM and your IMEI number will be back.
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] MbareJack:
Hi I was wondering if is there a method to have the pixel AOD and if it works with the pixels live wallpaper. I'm rooted so I can install magisk modules
[Xiaomi Mi 11] Plathoon:
Hi everyone.

Yesterday, I made a clean install on my phone.

I never use AOD but it drain my battery despite having deactivated this option...

View attachment 5373665

View attachment 5373667

Is it a bug ?

I try to enable then disable but it does make any difference.

Anyone have the same problem ?
[Xiaomi Mi 11] blackhawk:
Probably being misreported as another app.

This isn't unheard of.

WhatsApp (trashware), Goggle play Services, Playstore, Google backup Transport, Framework and any cloud services are likely suspects.

Also try clearing the system cache and running in Safe mode at night (to see if it's a 3rd party app).
[Xiaomi Mi 11] Pho3nX:
What is your rom 12 MIUI ? EEA ? 12.XXXX

On your screen our battery usage log are falses because you have -31% Batterie Drain for 69% charged and if you count all detailed apps they have consumed more 67.77%.

So i think your drain is finished and only AOD log (when it has been used) is displayed. When you apply a theme he ask if you want also active by default AOD, if you click fast you don't see the popup and AOD is active.

Show your log in 4/6 hours and look if AOD usage has increase or same.
[Xiaomi Mi 11] Plathoon:
I'm on miuimix 12.6 (21.7.21)

Thx for your answer.

I will look after next charge the log.
[OnePlus 7 Pro Questions & Answers] bullooka:
As my device was rooted a month ago but couple of days ago I lost the L1 cirtification, today I updated to latest firmware by downloading full size by oxygen updater and updated it with in-device local update method. But even after the update my device's L1 cirtification is still not back and it's showing L3.

I rooted my device by flashing patched image with adb. Now I'm afraid locking bootloader might cause issues... Any suggestions how should I lock my bootloader. Somewhere I saw that lock option for bootloader in developer option cause bootloop/brick.

Btw my own lock is greyed.
[OnePlus 7 Pro Questions & Answers] XDHx86:
Relocking the bootloader will definitely cause issues, maybe this thread can help?
[OnePlus 7 Pro Questions & Answers] bullooka:
Yes I tried that already.
[Introductions] arodque:
My name is Andrés Rodríguez, I'm from Costa Rica and I don't speak English very well.

Anyway I will try to collaborate in the forums.

I really appreciate what you guys do here.

Pura vida!
[Introductions] orb3000:
Hola Andrés and welcome to XDA!
[XPERIA X1 General] msalmank:
Hi,

If you are a resident of one of the countries listed below then head over to http://www.rocketxl.com/xperia/ for a chance to win a free Xperia... 7 winners to be chosen!!!

List of countries

Bulgaria, China, Taiwan, Croatia, Czech Republic, Denmark, Holland, Belgium, Australia, United Kingdom, United States, Finland, France, Germany, Greece, Hungary, Indonesia, Italy, Norway, Poland, Portugal, Brazil, Romania, Russia, Slovakia, Slovenia, Spain, Mexico, Sweden, Thailand, Turkey, Vietnam, Serbia, Ukraine, Lithuania.

Terms and Conditions

http://www.rocketxl.com/xperia/rules.html

Unfortunately for me, my country is not listed there... :(
[XPERIA X1 General] Insaneboy:
Yay, mine is :P

Thanks for sharing ;)
[XPERIA X1 General] msalmank:
np... and good luck!

Win 2 and then send me one! ;)
[XPERIA X1 General] nap007:
how to participate? it said about grabbing a url code to my browser, but which one? I copied them all and paste it to my FF 3 but it redirected to yahoo and shown error....
[XPERIA X1 General] msalmank:
Lol! Word seems to have gotten around... i can't access the site!!! :D

Maybe someone else who is able to access and has done it might tell you which link to paste....
[XPERIA X1 General] nap007:
*edit*

LOL I was thinking too much :D
[Samsung Galaxy S10+ Questions & Answers] BarrettBear:
So I'm trying to get Magisk installed on my bootloader/OEM Unlocked S10+ (SM-G975F beyond2lte) device.

I can do that fine by downloading the latest official firmware for my device, installing that (BL/AP/CP/CSC) through Odin v3.14.

That installs fine.

Then I sideload Magisk v23.0, and the AP file I just flashed via Odin over adb via push.

I install Magisk, recovery-patch the AP file, usd adb to pull the file back over onto my desktop. I restart the phone in download mode and once again populate Odin with the BL/AP/CP/CSC files, but this time the AP file is the one I got from Magisk.

Start that, let Odin restart my phone whilst I'm holding Bixby/Power-Up/Power, I release those three once the bootloader warning message comes up.

I set the phone up like normal, but there's the issue - my 128GB device only reads as having 32GB - I can setup Magisk fine, it asks me to download an extra bit, then auto-restarts the phone after 5 seconds.

Yay, I have root! Boo, I'm missing 96GB of free space...

I've read that installing TWRP can help fix this, fair enough, I try to install TWRP (I've tried through both the "dd" method via adb shell, and patching the twrp 3.5.2_9-3 via Magisk, and installing with vbmeta over Odin), but that then eliminates Magisk.

I've been trying this now for days, literally days, reading through different forum posts, detailing my steps to myself in notepad++ step-by-step so I can see what it is I'm doing.

I'm left with zero clue what to do now except reach out and hope for some help from this forum.
[ASUS ROG Phone II Questions & Answers] Vergiliusz:
Mod edit: @Vergiliusz Thread closed as duplicate of

https://xdaforums.com/t/ho-to-back-up-of-the-whole-memory-block-via-adb.4312449/

Please review the XDA Forum Rules with special emphasis on rule no. 5 and post only once! If you're unhappy with the content of your thread, please edit the respective post instead of creating new ones.

Regards

Oswald Boelcke

Senior Moderator

Dears please help me, I try back up of the whole memory block (via adb) but I can't go forward because I have problem with android partiton.

When I type:

adb forward tcp:5555 tcp:5555

adb shell

su

/system/xbin/busybox nc -l -p 5555 -e /system/xbin/busybox dd if=/dev/block/mmcblk0

in results I get:

/system/bin/sh: /system/xbin/busybox: inaccessible or not found

Device is rooted, busybox installed