yashsingh1/xdaforums huggingface dataset:
[Introductions] balanceXXV:
Hi everyone,

I am balanceXXV just your average software developer who wants to start tinkering with his phone. I've heard this is the best place to learn and ask questions if you want to mod Android.

I hope I can learn and make some positive contributions for this amazing community.

Cheers all.
[Introductions] Sib64:
So welcome aboard balanceXXV

I hope you find all the help you need. With a little patience and by asking the right questions in the right place, everything should go smoothly.

If you have any questions, don't hesitate to click on one of the links in my signature.

If you haven't already, please read the Forum Rules now, as they are the terms and conditions for using this site.

Have a good time on xda ;)
[Xiaomi Mi A2 Lite Questions & Answers] Dragoosek:
Hello i have tried all different tutorial about unlocking my device.

Nothing helped me...

I tried "mi flash unlock tool", but in my case i cannot pair device with "mi account" - I have no such option on my mobile to even login.

Also option "mi unlock status" is not vissible.

I tried to unlock bootloader using fastboot, by connecting phone to computer and use commands.

I have all the drivers, usb debugging ON, oem unlock option ON.

nothing helped.

If its matter i have android 13 go edition installed.

Is it custom rom?

View attachment 6078398
[Xiaomi Mi A2 Lite Questions & Answers] Zxalilh:
You need to enable developer options to see the device to add your device. Also, it might be "fastboot OEM unlock" instead of what you did.
[Xiaomi Mi A2 Lite Questions & Answers] Dragoosek:
"fastboot OEM unlock" not working also.

I have enabled developer options and all the required steps -> usb debugging ON, oem unlock option ON.

"mi unlock status" not vissible. Can't pair this device with "mi"
[Xiaomi Mi A2 Lite Questions & Answers] khusika:
Everything should written in lower case letters

fastboot oem unlock

Use this as your reference

[GUIDE] How to unlock bootloader without erasing data

For those, who don't know, there's how to unlock/lock bootloader without erasing data: 1. Turn off the phone 2.Hold power & volume down, keep the volume down button pressed! 3.Connect phone to PC, on PC fastboot type: fastboot oem unlock still...

xdaforums.com
[Xiaomi Mi A2 Lite Questions & Answers] Dragoosek:
View attachment 6078748
[Xiaomi Mi A2 Lite Questions & Answers] khusika:
Can i see your bootloader status? do this

fastboot oem info
[Xiaomi Mi A2 Lite Questions & Answers] Dragoosek:
View attachment 6078750
[Xiaomi Mi A2 Lite Questions & Answers] khusika:
try this

fastboot oem device-info
[Xiaomi Mi A2 Lite Questions & Answers] Dragoosek:
the same as above
[Xiaomi Mi A2 Lite Questions & Answers] Zxalilh:
Do you have a SIM card in the phone you're trying to unlock?
[Xiaomi Mi A2 Lite Questions & Answers] Dragoosek:
yes
[Mogul, XV6800 ROM Development] medic1530:
Don't know if anyone else is having this problem with the new iPhone-style dialers: Dialer installs fine; looks great. However, the phone locks up under this scenario:

1. dial number which will require a password entry (e.g. to retrieve voice mail) and press talk

2. prompted for password

3. password entered

4. click on "call status" to turn on speaker phone or mute, for example and phone freezes up. I can still hear the call but none of the keys on the phone work.

What I have figured out is if after the call connects I don't use the keyboard I can click on call status and everything works fine. As soon as I use the keyboard in the middle of the call and click on call status the phone freezes. Something about using the keyboard and switching to call status makes the phone freeze up.

This is very frustrating because I really like these dialers. Any help would be greatly appreciated.

Verizon XV6800

Rom:3.08.666.1

Radio: 3.42.02

WM v 6.1 (Build 20931.1.5.0)
[Galaxy S6 Q&A, Help & Troubleshooting] Forekaster:
Hi, I installed LineageOS 19.1 and 20.0 with MindTheGapps on my Samsung Galaxy S6 (G920F), most of the functions work good but I can't get the GPS to work.

None of the apps using location work, I installed the GPS Status app and can see that it literally does not receive any signal from GPS (the other Samsung device under stock software can discover many satellites). Checking the sensors' health in GPS Status indicates correct communication with GPS sensor

I reset to factory settings many times, reinstalled 19.1 to 20.0, still no luck. What can I do to check what's wrong?
[Galaxy S6 Q&A, Help & Troubleshooting] khusika:
That happens due to denial location permission of com.google.android.gms.

This can be fixed by grant the location permission using adb shell

adb shell pm grant com.google.android.gms android.permission.ACCESS_COARSE_LOCATION
adb shell pm grant com.google.android.gms android.permission.ACCESS_FINE_LOCATION
[Galaxy S6 Q&A, Help & Troubleshooting] Forekaster:
For some reason, after cleaning up the whole phone I'm unable to flash the MindTheGapps image :-) Now stucked with LOS 19.1 withoug Gapps and the GPS still does not work. Will try to flash the stock image to see the GPS works in general.
[Off-topic] BadBoySonic:
Anyone Remembers Threads Now?
[Off-topic] EllieCat:
It’s basically dead and haven’t heard of it in a while.

View attachment 6078442

Elon Musk is happy.that X is still popular.
[Off-topic] BadBoySonic:
Because X Has a Bad X Factor. (Bad Joke)
[General Questions and Answers] Oplaom:
Is it worth having encryption on a 4 year old phone it as I feel it's getting slow?
[General Questions and Answers] khusika:
It seems that it is still needed if you are concerned about your data privacy.
[General Questions and Answers] xXx yYy:
@Oplaom

Ultimately, the decision depends on your individual needs and priorities. Weigh the security benefits against the potential performance impact to make the best choice for your 4-year-old phone.

Here's a Breakdown:

High Data Sensitivity & Low Performance Impact: If your data is very sensitive and the phone slowdown isn't a big deal, encryption might be worth the slight performance hit.

Low Data Sensitivity & High Performance Impact: If your data isn't super sensitive and the phone is already slow, consider disabling encryption for a potential performance boost.

Unsure or Planning Upgrade: If unsure, you could temporarily disable encryption, monitor performance, and decide if the trade-off is worthwhile. If planning to upgrade soon, encryption might not be necessary.
[General Questions and Answers] Oplaom:
Thank you both for replying
[General Questions and Answers] Ronnie McNutt:
If your twrp supports it ,why not?
[Xiaomi 13] Dawid2849:
Hello.

I'm searching for latest kernel source for Fuxi. Source posted here is outdated - kernel version that comes with HyperOS is 5.15.94 while on this repo it's 5.15.41. Where can I find the latest kernel source for this device?
[Xiaomi 13] khusika:
I doubt Xiaomi will provide the latest kernel source code for us. The existing kernel also seems to be broken, because I see custom ROM development here still using pre-built kernel from stock ROM.
[Xiaomi 13] FranZeta:
It seems that it is possible to compile the kernel by removing some dependencies from the makefile:

Problems when compiling the titing kernel · Issue #6785 · MiCode/Xiaomi_Kernel_OpenSource

I tried to compile the kernel source code of the Android device code named titing. The compilation configuration file I used is the gki_defconfig in the configs directory. The error is as follows: ...

github.com
[Xiaomi 13] insestito:
I think Xiaomi 13 kernel source is not complete
[Samsung Galaxy Watch 5] neophyte1983:
My Watch 5 was 1 Month off on my Table.

It does Charge on my S22 Ultra with no Display on my S22 Ultra. But the Watch doesn't turn on i tried the both buttons 10 sec etc. Any Ideas or have i carry in to Samsung?
[Samsung Galaxy Watch 5] sebx_g1:
Charging progress is visible? Or not?
[Samsung Galaxy Watch 5] Nmc_alves®:
Same problem with my GW 4 , after a small période of inactivity.... and no more waranti...
[Samsung Galaxy Watch 5] neophyte1983:
Nope
[Samsung Galaxy Watch 5] sebx_g1:
Try to charge watch not via phone but on stand alone charger (original) for 30-40 min... Maybe that will help?
[General Questions and Answers] Adithyansm:
As moto' software is really good and stock android , its a treat . But it is missing so much customizability and lot other features , thats why I am in a search for custom roms for this device , is there a custom rom available for this device or should i stop checking cuz the device has a mediatek chip set .
[General Questions and Answers] xXx yYy:
You're right, the Motorola Edge 40 Neo currently lacks custom ROM support due to its MediaTek processor. Here's the situation:

Limited Custom ROM Support: MediaTek processors are generally less popular among custom ROM developers compared to Qualcomm Snapdragon SoCs. This means finding custom ROMs for MediaTek devices can be challenging.

Difficulties and Risks: Even if a custom ROM eventually appears for the Edge 40 Neo, there's a higher chance of encountering bugs, compatibility issues, or instability compared to ROMs for devices with Snapdragon processors.
[General Questions and Answers] lxlit.dev:
There are no custom roms for this device but the device tree source was made public by motorola. I have zero knowledge about making custom roms but i think this might be useful for people who may want to try making one. I've unlocked the bootloader today and I am trying to load GSIs. Tested 3 but none of them booted under DSU. I'll make a thread if I find something about this device.
[General Questions and Answers] Virtualord:
Wait for some time , I'm currently setting up trees
[General Questions and Answers] Manosdocpap:
Can we help at testing ? I'm on unlocked bootloader
[General Questions and Answers] Atharv_ARG:
This is getting unnecessarily complex.....And IDK why!!

First of all I am having a Motorola moto G73 5G(XT2237-2)

And i was a non stock android user(custom rom and gsi user), so all I wanted was a GSI flashed into my device and voila! but no......this device dosent let me live peacefully

I have litterally spent a week worth of time on this thing and it just wont boot to the GSI

I am using Evolution X GSI (From here: https://github.com/KoysX/treble_build_evo/releases)

and this guy isnt ready to boot up......just loads my moto boot screen then blanks out then again goes into boot loop.....the fastboot and fastbood along with recovery mode are available and adb is working properly....even tried to use stock rom and it works with no issue(setting aside my void of warrenty which i dont care about!).

but then i thought of using DSU and it works there....i am like wtf? this device wont boot to GSI directly but will boot throught DSU....I know DSU and GSI are different thing totally and DSU is temporary but what is wrong here with my device??? my android tablet(Lenovo Tab M10 HD 1st gen) is running the same GSI without any problem and is running GSI perfectly.....

idk what the problem is althought i have flash the gsi accruately according to there threads:

-> www.xda-developers.com/flash-generic-system-image-project-treble-device/

-> https://xdaforums.com/t/how-to-flash-gsis-through-fastboot.4353849/

-> https://xdaforums.com/t/how-to-flash-a-b-treble-gsi-roms-without-twrp.4115005/

-> https://xdaforums.com/t/guide-custom-roms-flashing-gsi-and-getting-most-of-the-things-work.3792930/

i know some threads are not even realted to my device but i have tried the general and basic stuff....

all i am doing is simple :

adb reboot bootloader (Going to fastboot mode)

fastboot --disable-verity --disable-verification flash vbmeta D:\GSI\EvoX8+\vbmeta.img

fastboot reboot fastboot (Going to fastbootd mode)

fastboot flash system D:\GSI\EvoX8+\(The GSI).img

fastboot -w

fastboot reboot

but no this dosent work on my device...but works on my tablet for reason......now my device (Moto G73) is having dynamic partiton so even tried the "fastboot delete-logical-partition product,

fastboot delete-logical-partition product_a, fastboot delete-logical-partition product_b" and even erased the system partition till now.

I am currently having this update on my moto = XT2237-2_DEVONF_RETIN_13_T1TNS33.14-90-9-3-1-2

all my softwares are uptodate including my adb and fastboot

Please help me....in any way possible.
[General Questions and Answers] xXx yYy:
Personally would have used another ( revised ) commands sequence

adb devices :: This checks if your phone is connected and recognized by ADB.

adb reboot bootloader :: This reboots your phone into the bootloader mode (also known as fastboot mode).

fastboot devices :: This checks if phone is successfully booted into bootloader mode

fastboot --set-active=a :: This sets the active slot, recommended if on A/B device

fastboot --disable-verity --disable-verification :: Unless the ROM documentation mentions that disabling verity is necessary, it's generally recommended to avoid it.. Take note that flag might be redundant as --disable-verity often also disables other verification mechanisms.

fastboot -w :: This completely wipes your phone in preparation for flashing a custom ROM

fastboot flash vbmeta D:\GSI\EvoX8+\vbmeta.img :: This flashes the patched vbmeta image

fastboot -force flash system D:\GSI\EvoX8+\(The GSI).img :: This flashes the GSI system image.

fastboot reboot :: This reboots the phone.
[General Questions and Answers] Atharv_ARG:
First of all thanks for replying and second I have tried every kind of sequence possible to flash the images and even tried to change slots here.....tried slot b and slot a also.....still no advancment
[General Questions and Answers] Atharv_ARG:
can i try to flash system.img into super partition?(Ofc i have a feeling that this wont work for some reason!)
[General Questions and Answers] Slim K:
In most of my experimentation with GSI flashing (which is not a lot), the biggest hurdle I had was Data partition encryption. A custom recovery helps in solving this issue most of the time (by Formatting data) and then by flashing an edited vendor/product partition or editing the files within. The files you want end in .fstab. You would need to edit the mount flags for the data partition to disable encryption (and maybe try to solve that issue later after it boots). I have tried to answer this here. Maybe it will help.

Another thing could be a problem with vbmeta having a need to be edited/zero'ed out, but seeing you could boot with DSU loader, I doubt it is an issue.

Yes you can!!! All you need to do is unpack said super.img into its different parts and then repack it back while including your gsi as a system.img, in theory it could work as well. there are 2 ways to do this:

The Hard but informative/debuggable way: use a Linux machine and Simg2img/img2Simg, e2fsck/f2fsck and resize2fs binaries to unpack/repack/resize your super.img. Manually!!

The semi easy way of using Imjtool, but if it fails, it fails. though at least you could try......

That is all I know that could help. Good luck and happy modding.
[General Questions and Answers] RubenGreg:
Instead of

fastboot -w

always reboot to recovery (from power/volume keys) and do a factory reset. So many times the main GSI developer from https://github.com/phhusson/treble_experimentations/ has asked people do not use -w.
[General Questions and Answers] Atharv_ARG:
Thank you all for you replys.....

Update from my side: I have noticed that only some GSIs are bootable in my device for some reason....like Evolution X latest A14 GSI is bootable but Project elixer doesn't boot

So currently using EvoX now with no issues.....

I Still wonder why some GSI r not bootable(some GSI which do not boot r Project Elixer, Horizon Droid, Pixel OS, DerpFest)

Some which booted r EvoX 8.1.3 , SuperiorOS, VoltageOS, all Android 13 GSI)

And in between I had a problem where my active system partition didn't had enough size for my GSI, so tried deleting product, and other partitions but still got only 3.8GB of storage and usually all GSI are above 4 or near 4.5 and I tried resizing my system partition still said didn't had enough storage .......but suddenly after changing from VoltageOS I was able to resize my system partition till 4.8 GBA idk how but it worked
[Motorola Moto G100 / Edge S] nfriedly:
It's a good phone, I'm pretty happy with mine.

I don't play many games on mine, but I think performance is in between the Galaxy S20 and S21: top-tier 3~4 generations ago, acceptable today. It's fast enough that I don't think about it much.

As far as other specs go,

I really like the inclusion of a microSD slot and a headphones jack.

The battery life is fantastic - I can get two days of regular use out of a single charge, and could probably go for 3-4 days if I were really trying to stretch it.

The screen and cameras are fine.

The single bottom-firing speaker is a letdown after having a device with stereo front-firing speakers - that's probably my biggest complaint.

It's not waterproof, but at this price I consider that to be relatively forgivable.

To unlock the bootloader, you run a couple of commands in adb and fill out a form on motorola's website and then they send you a code. It's not quite as easy as a pixel or oneplus, but it's pretty good.

I run LineageOS on mine, and I've been fairly happy with that. The only real complaint is that the LOS folks don't seem to like rooting, but you basically have to root and run a play integrity fix to be able to use some apps. (It passes the basic SafteyNet check, which is good enough for most apps, but Netflix, some bank apps, etc. also check other details such as the CTS Profile, and it fails those unless you root it and install a fix.)

I haven't tried any other ROMs, but I might one of these days.

If you can get a used one for under $200, it's a good deal.
[Motorola Moto G100 / Edge S] Zekiu_:
My gf has a g100 which she bought for around 400PLN (100USD) and it's the best phone she ever had for such a low price. The 8GB of RAM and 128GB of internal storage is sufficient for basically anything she does. She started playing more games on her phone, because they don't lag like on her previous phones. The 8GB of RAM even allows for her to keep multiple games running in the background while browing TikTok for example. She's running crDroid 10.2 right now, which I compiled for her with LineageOS sources, and it works great!
[Vivo X80 Pro] kduramos:
Hi guys

Anyone try and have sucesso in flash the global rom o Vivo 80x Pro Cn Version?

If Yes can help with it?
[OnePlus 9 Pro] hiblhenu:
Hi,

Device: OnePlus 9 Pro

My fingerprint sensor stopped recognizing my fingerprints after installing a custom ROM. I am able to perform the fingerprint setup without any problem but when trying to unlock the phone the fingerprint is not recognized. I have tried multiple fingers, adjusting screen brightness, adjusting screen refresh rate and different Android versions but these did not help.

So I then used MSM Tool 4.0 to restore my phone and performed full wipe in recovery mode. Tried fingerprint again but still not recognized. I then rooted the phone, enabled factory mode *#*#808# and performed the fingerprint calibration test. I held my finger on the scanner for all but the "BLACK RUBBER SLEEVE TEST" but in "STRIPE RUBBER SLEEVE TEST" I get the following error:

CAPTURE_CHECKBOX_TEST

FAIL!

GF_SZ_FT_ERROR_BAD_PIXEL_OVERPROOF

The phone screen has no dead pixels.

Attached are screenshots of the error and calibration test results. I also took SysLog logs from when the phone was unrooted and performed the fingerprint setup + unlock if that has any useful information.

Any ideas on if this is fixable or is the fingerprint scanner broken?
[OnePlus 9 Pro] kdrv3xc:
what's your persist.img look like?

(/mnt/vendor/persist, and especially the folder with that apt name "fingerprint")
[OnePlus 9 Pro] hiblhenu:
Fingerprint folder has two empty folders inside: jiiov and silead
[OnePlus 9 Pro] kdrv3xc:
well can't say i'm 100% positive, but mine looks like this and i'm not having any issues, so that's where i'd start.

i was having issues earlier, not exactly the same as you mentioned but someone in this forum was awesome enough to share their persist.img which after flashing that resolved that (and a few other issues). if you search this thread for persist.img i'm sure you'll have no trouble finding it.

scratch that, this was in the OP11 forum. i can pull mine from my op9pro though if you want to give that a shot.
[OnePlus 9 Pro] hiblhenu:
I would love to give it a try, thanks! I found some Oneplus 9 Pro persist images from a couple of years ago but they are missing the fingerprint folder.

I have the EU model and currently running OxygenOS 14 LE2123_14.0.0.202(EX01) if that needs to be taken into account
[OnePlus 9 Pro] fhortner:
I would not expect anything to change, since you said that you have already tried to MSM restore your phone.
[OnePlus 9 Pro] kdrv3xc:
well it certainly can't hurt to try. (unless you don't take a backup first)

here, hope it helps.

also, i'm sure it goes without saying, but backup your persist first.
[Android Software/Hacking General [Developers Only]] phoenix277yt:
As the title states, I'm working on replacing the stock bootloader image on Snapdragon. Using my A70Q, so far I've opened up the bootloader image and LZ4s. However, I have encountered many ".mbn" files inside the LZ4s which I don't know how to extract. There were 2 .bin files too inside the LZ4s but they either don't have anything related to the splash screen or contain .mbn files again. There are also quite a few .elf files which I also don't know how to open. Most of the stuff I've seen so far regarding these files is that they can be flashed. I saw one thread which had instructions on how to open these files but I only got a corrupt .img file from it which needs to be converted to .raw.img but file has insufficient header data as per the tool.

What is the main purpose you may ask?

well other than cool bootloader images, its for removing the unlocked bootloader warnings as they are just stored images and perhaps changing the charging animation when turned off.

So far,​

Extract BL.tar.md5​

Extract LZ4 using 7zip-ZSView attachment 6078484​

Use cat/perl script to extract .mbn

$ cat hyp.mbn | perl -pe 's/(\xFF{5}\x00{4}\xFF{54})[^\xFF]{10}(\xFF{16})/\1\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\2

Use simg2img to get .raw.img

$ simg2img hyp.img hyp.raw.img
Invalid sparse file format at header magic
Failed to read sparse file

View attachment 6078486

View attachment 6078485​
[Android Software/Hacking General [Developers Only]] Renate:
Huh?

.mbn files are often ELF files.

I would bet that hyp.mbn is a normal ELF file for the hypervisor.

Why don't you post that and I might be able to say more.
[Android Software/Hacking General [Developers Only]] phoenix277yt:
I have 0 clue regarding .mbn and .elf files. I have been a lifelong exynos user and this is the first Samsung snapdragon phone I've gotten my hands on. This was why i posted the thread.

Can you please tell me how?

also the hyp.mbn file is just a random file i tested the extraction method on, im yet to find the file containing the bootloader images.
[Android Software/Hacking General [Developers Only]] Renate:
Cats are useful to take many things apart (like sofas), but not binary files.

We could go back and forth a dozen times, please just post an example.

The secondary bootloader is sbl or xbl.

The Android bootloader is abl.

What are you going to do with them anyway?
[Android Software/Hacking General [Developers Only]] phoenix277yt:
Well how can I extract a .elf then (or convert a .mbn to a .elf and then extract)?

What do you mean by example? If you want to see end results then -

I want to do this. This hasn't already been done.

as i said, im new at this and this is my first time doing anything with the bootloader by myself. so far ive gone over stock android docs on the bootloader but samsung's implementation is different, hence me not knowing anything.

What I want to do -
[Android Software/Hacking General [Developers Only]] Renate:
Post the file.