yashsingh1/xdaforums huggingface dataset:
[OnePlus 8 Questions & Answers] Laurie8:
Hello all,

I see this kind of question everywhere but just giving it a last chance...

Last week I suddenly forgot my own screen lock password, or maybe it changed on its own (I read stories saying this could happen..). I panicked, rebooted the phone and the same issue continued. This is a OnePlus 8 not rooted.

Now I am in the situation of not knowing the password and the time between attempts is increasing like crazy. Some questions and steps I tried:

- Google find my device stopped detecting it when I rebooted it so nothing happens when I click on play sound or lock with a new temporary password. Location/GPS is off and if I click on the icon it requests the password. Any way to enable location in a locked phone?

- ADB finds the device but it is shown as unauthorized. In Linux I also see midi2 appearing in /dev/ but no idea what to do with that. No ADB devices found when in recovery or safe mode.

When I connect the USB cable it shows an event like "USB debugging enabled" next to the "battery charging" but of course the further pop-up to accept connection does not appear. Any way to authorize it so I can access files?..

- I didn't dare to go to fastboot mode yet but I also don't find any forum/guide explaining how to fix my problem from there without deleting data. Is there any?

- The recent google bug regarding opening a Maps link does not work as I cannot even write text anywhere.

- The old google bug about inserting PUK will unlock the phone does not work, as I already expected...

- Via the emergency call and health information I can open the top icons to turn Wifi or 4G on/off, Bluetooth can even connect to known headsets (I cannot connect to my laptop because it fails in the pairing code part and it is also not in the list of known ones), Location on/off is there but it fails activating as it needs password, plane mode, data saver, and those icons we all have as shortcuts at the top. But I cannot do anything useful I think.

- My fingerprint is still stored but I cannot activate this check to unlock it of course..

- I read something about SQLite but I think it needs authorized ADB?

- Wifi is connected to my house Wifi but no idea if I can do something with that. Maybe if I use a data hotspot with the same Wifi name/password (and turn my router off)? but if connected iy to another device via hotspot I guess still cannot access anything?

Anyone who knows anything I could try? To unlock it, or activating location, or extracting the data... I don't want to wipe it from the recovery mode and lose all non-backed up data :(

Thank you in advance!
[OnePlus 8 Questions & Answers] Xryphon:
Really sorry about this. The only way would be to remember your original password. All other solutions require a full reset.
[OnePlus 8 Questions & Answers] rodken:
Or MSM Tool.
[OnePlus 8 Questions & Answers] Laurie8:
That one erases the data, right?
[OnePlus 8 Questions & Answers] rodken:
Correct.
[OnePlus 8 Questions & Answers] rodken:
You are not rooted. Therefore, you might want try to enter recovery mode and simply perform a factory reset.
[OnePlus 8 Questions & Answers] Laurie8:
And maybe using fastboot to flash a custom recovery partition enabling ADB, and then remove the screen lock files with ADB? Or flashing with fastboot will in any case trigger the wipe of data?..
[OnePlus 8 Questions & Answers] rodken:
That in itself is a risky modification. Of course, I would have to assume that you have thoroughly research your device's specifications, compatible custom recoveries, and potential risks involved.

Assuming that you know what you are doing, you are free to execute the following commands

adb shell
cd /data/system
rm *.key
rm *.db

Hopefully, you won't suffer from any data loss or device malfunction.
[OnePlus 8 Questions & Answers] blackhawk:
I would have factory reset at the get go.

I've lost a database that was 30 yo and irreplaceable. I redundantly backup all critical data now. Android's rarely crash but sooner or latter something will happen.

Using unencrypted expandable storage as a data drive is the first safeguard. It's usually spared in a crash, smash, etc. The U of hard knocks teaches well but they're very expensive lessons.
[OnePlus 8 Questions & Answers] serena1994:
I have a Samsung S23 Ultra- something VERY similar is happening to me

Out of nowhere my PIN does not work

I am locked out of my phone and want to safely back everything up before I am forced to do a reset. Any advice?
[OnePlus 8 Questions & Answers] Laurie8:
I guess you also had no google drive regular backups? If yes you can check in google drive on the pc what you have stored and if you are ok restoring only that.

Other things to try:

- If you had the usb debugging enabled, try to connect to computers you connected to in the past. Maybe with some of them you clicked on remember computer.

- I guess you didn't set up the safe location unlock?

- If you had bootloader unlocked, search for twrp and do fastboot boot and other steps people explain in forums (delete lock files, or push adbkeys, etc)

- In quite some recovery software programs (like dr fone, there is a cracked version of this one) there is an option to recover data from broken Samsungs. I couldn't try this because it was only for some models of Samsung, but maybe you are lucky? Read the warnings and all very carefully because many claimed they don't delete the data but later they say this action will delete all.

Without usb enabled in a known pc and with the bootloader locked I personally didn't manage to do anything.. so still reading every forum I find about this.

Good luck!
[OnePlus 8 Questions & Answers] Laurie8:
And there is also a Samsung find ny device, different from the google one, that everyone shows in guides but for me was not applicable. I guess you tried this already..
[Motorola One Power Questions & Answers] Kitanovski77:
Hello guys, i tried to install a custom rom on my Motorola One Power and it didn't work at first. After some tries i managed to brick the phone.

I tried some recovery programs but to no avail. The phone doesn't turn on at all and there's nothing on the screen. When i plug it into the pc only the notification light starts flickering and on the pc it shows up as a qualcom device.

I asume its possible to revert it to factory if it manages to show up on the pc as a motorola phone, its possibly its not showing due to drivers. I also tried on a different pc with different drivers but it still not recognising.

If you have any idea what i should do message me.

Thanks
[Xiaomi Redmi Note 12S] roirraW "edor" ehT:
Please visit the linked thread prior to posting:

[INFO] Device Forum Rules (Please Read before Posting)

In this thread, we will provide a short Q&A for your stay on this forum. Please read thoroughly and act accordingly. While most that is needed to know is pointed out in the Forum Rules, history shows that some points of these rules are not...

xdaforums.com
[General Questions and Answers] brandenk:
So its almost time for a new phone, I pretty much have it narrowed down to the HTC Fuze or the G1 google phone. I am leaning towards the G1 since its the latest greatest and hopefully the future but at the same time these WM phones have tons of mods and active chefs, and it would stay pretty close to what I am already used to. I am leaning towards the G1 but any input on what you guys have chosen at this crossroad and what you would do differently would be greatly appreciated. :)
[General Questions and Answers] nir36:
all depends on your personal preferences... since they're based on completely different interfaces and OS...

If i were you... i'd just go to the Dream section and read some of the threads related to whether you should or shouldn't buy one.. usually when a device is out the first few threads discuss it's pricing, problems... and advantages..

i'm not familiar with Android enough to give my input tho.
[General Questions and Answers] feanor512:
Hardware-wise, the Fuze is much newer than the G1. It's got more RAM, more ROM, and a higher resolution screen.
[General Questions and Answers] Cal-El:
Check into the G1 because a G2 has been rumored to be in the works and possibly losed on the public sometime early 2009! Apparently it blows the G1 out of the water and will be 4G compatable! :rolleyes:
[General Questions and Answers] egzthunder1:
But then, he would probably have to wait a little bit more because the G3 will be on the works... endless loop really. I would not go with the G1 simply because it is a "test" imho. Google and HTC will try to get as much feedback on bugs (which it has plenty from what I understand). It will definitely get better, but I wouldn't spend that kind of money on a "beta". Just look at what happened to the iPhone owners when the 3G came out... nuff said...

I hope this helps you on your choice...
[Fire Q&A, Help & Troubleshooting] Jik Sey:
Just wondered if anyone could advise me if my Fire 7 is bricked. It has previously been working fine for years after previously doing the pin short root method. I decided to try out the newer lineage rom which worked fine, but I must have deleted my recovery during the process as I could not get the Fire back into recovery mode after. So I thought I would try going through the rooting process again Short Pin Method The script all runs fine but when the tablet is supposed to reboot in the Fastboot state it just shows a white screen with black edges when I turn it on. Thanks in advance for any advice.
[Fire Q&A, Help & Troubleshooting] Jik Sey:
Solved. I used the wrong recovery image Austin instead of Ford :rolleyes:
[OnePlus 5 Questions & Answers] Maisquestce:
Hi there,

I'd like to adjust the vibration length and intensity but I can't find that option anywhere, despite it being present on stock android 13.

I tried tweaking it with kernel adiutor but the option isn't there.

Any help is welcome
[Samsung Galaxy S22 Plus] TimChanCHN:
I want to modify the vendor code(such as display...). I download the S22+ code from SAMSUNG OPENSOURCE(https://opensource.samsung.com/uploadList) and built it successfully and get some image and .ko files and so on...

I made the these attempts:

1) unpack the vendor_boot.img and replace msm_drm.ko from the built msm_drm.ko. didn't work.

2) unpack the super.img and got the vendor_dlkm.img, replace it from the built vendor_dlkm.img. didn't work.

3) mount the vendor_dlkm.img in my ubuntu, tried to replace the msm_drm.ko, but vendor_dlk.img is a readonly filesystem, so this method is useless.

4) handmade a vendor_dlkm.img with the all the vendor_dlkm modules, still fail...

So I wonder is there any method to add my own modules modification into the image? Maybe made a custom ROM is ok but I don't know how to made it with official source code. Could someone know how to do it?

Anyway, thank you all first.
[Samsung Galaxy S10+ Questions & Answers] Oplaom:
So after an unsuccessful flashing of stock firmware, my device is stuck in download mode and in download mode i get two errors: AVB fail and Custom binary blocked by OEM lock. Is there any way i can enable oem unlock?
[Samsung Galaxy A34] fede2782:
Device changelog

This journey has come to an end. Starting from KernelSU v1 non-GKI support will be dropped. This means that for stability I'll stop releasing builds for the amazing A34 5G. I still want to thank everybody for the support you gave me. ❤️

READ MORE: https://github.com/tiann/KernelSU/issues/1705

This changelog only includes device-specific changes. For global KSU changes, visit https://github.com/tiann/KernelSU/releases.

20240429 (v0.9.3)

- Updated KernelSU to v0.9.3

- Added support for DeX input driver

- Updated AOSP Clang to 17.0.2

- Update kernel source to BXD1/2

Spoiler content hidden.

Downloads

KernelSU v0.9.3 for A346B/E/M (Odin, OneUI/GSI)

Reset is required for first install, you must know how to do it using recovery. Remember you have to flash again after every update done with Odin, before rebooting into it otherwise will do a factory reset. This is for stock rom.

KernelSU Manager app (v0.9.3)
[Samsung Galaxy A34] fede2782:
Reserved
[Samsung Galaxy A34] renr29:
What's this my bro!/
[Samsung Galaxy A34] fede2782:
KernelSU v0.7.6 builds are available for A34 5G. The same kernel should work for A346B and A346E, for first installation a factory reset is required.
[Samsung Galaxy A34] damnitsamsung:
works on A346E, firmware A346EXXU4BWK2, can you also post steps to compile the kernel, so that i can make changes in the kernel? thank you so much for the work!
[Samsung Galaxy A34] fede2782:
GitHub - Fede2782/android_kernel_samsung_a34x

Contribute to Fede2782/android_kernel_samsung_a34x development by creating an account on GitHub.

github.com
[Samsung Galaxy A34] damnitsamsung:
the repo has all drivers needed?
[Samsung Galaxy A34] fede2782:
Yes of course but only in "sep-15/ksu" and "sep-15/connectivity" branches
[Samsung Galaxy A34] damnitsamsung:
can you share Module.symvers also, i built a kernel module its loading and working, i think to call kernel function it would need it.
[Samsung Galaxy A34] fede2782:
It is included in your output directory look for it, but I should not be required. I don't think A34 could load separate kernel modules
[Samsung Galaxy A34] damnitsamsung:
i didnt build the kernel itself so i dont have the output directory, also yea i a34 can load seperate kernel modules just did it.
[Samsung Galaxy A34] TheWhiteLHZ:
Am I still able to receive official one ui updates in future and without losing data? And also do KernelSU hide root well from banking apps?
[Samsung Galaxy A34] fede2782:
First install requires factory reset. After unlocking bootloader the only way to do One UI updates is via odin: flash full stock (AP, CP, BL and HOME_CSC) and then immediately flash the additional tar (KernelSU) package before rebooting, no reset needed if you do not boot before flashing KernelSU after update. KernelSU hides the "su" binary to every non-allowed app, however some banking apps may have additional checks which go beyond classic root detection. There may be some modules which can help hiding root but this is not KernelSU or mine goal.
[Samsung Galaxy A34] fede2782:
Released in Beta new KernelSU v0.8.0 kernels! Test it now!
[Samsung Galaxy A34] mzali77:
Please provide update description , like new features added or bug fix log and etc...
[Samsung Galaxy A34] fede2782:
Hi, everything is already written. Read before posting
[Samsung Galaxy A34] mzali77:
excuse me ,

i have one question , can you oveclock or under clock cpu and gpu in this kernel? for better performance and battry life?
[Samsung Galaxy A34] fede2782:
This is Samsung official kernel with kernelsu, this means it is using Samsung/MTK clock values for better compatibility. I don't plan to add these features
[Samsung Galaxy A34] Jubayer4853:
Will it work on A346EXXS5BXA1?

On odin in where should i put the Ksu.md5 file?

Can i alternatively install it with any custom recovery likw twrp?
[Samsung Galaxy A34] fede2782:
Yes it works on A346E. You can only flash via Odin in AP slot after you flashed (or already have installed) completely original fw. If it is first install you must do a factory reset in Recovery mode right after flashing it.
[Samsung Galaxy A34] Jubayer4853:
I do have the stock firmware, so i need to flash the kernel via AP and just a factory reset with stock recovery and done?
[Samsung Galaxy A34] fede2782:
Yes, remember bootloader must be unlocked
[Samsung Galaxy A34] mzali77:
if you have free time , please add new cpu clocks value in this path then compile kernel:

/arch/arm64/boot/dts/mediatek/mt6877.dts

for more powersaving, you can add lower cpu clocks to this file...

i cant test your compiled kernel
[Samsung Galaxy A34] fede2782:
I don't have idea how to edit safely dts that's the main problem. I don't want to risk to mess anything, sorry.
[Samsung Galaxy A34] mzali77:
do you have telegram?

help me to install requirements and basic tutorial for compile kernel ,

then i have create stable overclocked kernel for A34 ...

thanks
[Samsung Galaxy A34] fede2782:
Everything is already documentated and explained here https://github.com/Fede2782/android_kernel_samsung_a34x/wiki
[Samsung Galaxy A34] mzali77:
im try to compile with your tutorial ,

after install all requirements , when run build_kernel.sh im get this error :

drivers/Kconfig:264: can't open file "drivers/kernelsu/Kconfig"

do you have any idea?

im tring to compile your last published kernel(kernelSU 0.8.1) in github
[Samsung Galaxy A34] fede2782:
Because you didn't download KernelSU source during github clone (using --recurse-submodules). In your downloaded repo directory run this to fix this error:

git submodule update --init --recurse

Make sure you have downloaded right toolchain and has been loaded by build system. To do so check first linrs of .config file in the out directory
[Samsung Galaxy A34] mzali77:
Thanks for your helping

Now Im create Image file , but magisk cant make flashable boot.tar for odin

magisk error : Unsupported/Unknown image format

do you have any idea?
[Samsung Galaxy A34] fede2782:
As explained magiskboot must be used on the boot.img file not boot.img.lz4 nor boot.tar. You must get stock unconpressed boot.img, use magiskboot and replace kernel file, repack as boot.img and compress as tar to flash with odin. You can get stock boot.img for A346B BWL2 from here https://github.com/Fede2782/proprie.../releases/download/A346BXXS5BWL2_OXM/boot.img
[Samsung Galaxy A34] mzali77:
cant find magiskboot file in magisk.apk

can you send it to me? or provide link to download it

thanks
[Samsung Galaxy A34] fede2782:
How can you say then there is magisk error lol? Download latest Magisk apk file. Rename it to zip and open with 7zip or another file manager. In the lib folder go into the one of your architecture (usually x86_64). There are 4 or 5 lib....so. Extract these files, rename them without extension and remove the "lib" at the start of the name. Make them all executable with chmod +x.
[Samsung Galaxy A34] mzali77:
thank you for your helping

i can compile and install boot.img on my device

but why not any changes in cpu freqs?

im edited mt6877.dts and cpu freq divider files , but not effect any changes

do you know which files should be edited?
[Samsung Galaxy A34] fede2782:
I have no idea how to edit cpu freq files
[Samsung Galaxy A34] mzali77:
Ok

Im trying to found a way to overclock

thanks bro
[Samsung Galaxy A34] fede2782:
Hi everybody, due to my current situation I decided to stop working on my projects for this device because i need to focus on other important things. PLEASE NOTE THAT THIS KERNEL IS NOT SUPPORTED ANYMORE. I PLAN TO CONTINUE WORKING ON IT SOMETIME IN THE FUTURE BUT THERE IS NO ETA. LATEST BUILD WILL REMAIN AVAILABLE FOR DOWNLOAD ONLY ON XDA.
[Samsung Galaxy A34] Cesur98:
Thank you for your great work for this community. I have one question before you go, does the latest build support SM-A346E OneUI 6.0 Android 14? Are there any bugs with wifi or fingerprint? I just need to unlock bootloader and root my phone by just following the instructions right?
[Samsung Galaxy A34] fede2782:
Yes. You must unlock bootloader, flash it and do a factory reset in Recovery. Everything works and there should not be any issues until One UI 6.1
[Samsung Galaxy A34] Cesur98:
Hey Fede, I have this bug on my Galaxy A346E after rooting with KernelSU. Do you have any idea how can I fix this bug? My device is 128gb but it shows max storage 2,00TB. System somehow using 1,89TB.

View attachment 6082048
[Samsung Galaxy A34] fede2782:
FAQ | KernelSU

A kernel-based root solution for Android GKI devices.

kernelsu.org

This doesn't affect your actual use of the device since the free space calculation remains accurate.
[Samsung Galaxy A34] Cesur98:
Yeah, its not a big deal. So its a KernelSU related bug right? Do you also have this bug?
[Samsung Galaxy A34] fede2782:
Yes, also on other devices. I'll see if i have time to release the upcoming v0.9.1 for this device which will allow to hide this issue for some Samsung apps (google/thirty party not affected) but the KernelSU team seems to be ready to deprecate below 5.10 support, and if this will be confirmed i'll close this thread.
[Samsung Galaxy A34] Cesur98:
Oh, alright. I visit this A34 main thread every day to see if there's any news, but no luck so far...

Should we expect any new ROMs or modules for A34 in the future? Is it really hard to make custom ROMs and modules for MediaTek phones?
[Samsung Galaxy A34] fede2782:
Samsung is already a obstacle and Mediatek is another and bigger one. I don't think there will be daily usable ROM which will offer a decent quality of usage, security and stability while keeping all hardware support. Using optimized GSIs and modded OneUI will be the only options, remember also that A34 will get updates up to Android 17 so it will receive good features in any case
[Samsung Galaxy A34] Cesur98:
What should I do if you stop development of KernelSU and I want to update my phone to Android 17?
[Samsung Galaxy A34] fede2782:
You will have to switch to other root solutions like Magisk, unfortunately, or go back to stock rom like I plan to do if KernelSU will be deprecated
[Samsung Galaxy A34] fede2782:
Because there has been a big change in v0.9.2 i decided to bring this as last update for KernelSU for A34. Now it supports the module umount feature.
[Samsung Galaxy A34] Cesur98:
How do we update from 0.8.1? With same procedure again? Flash AP with Odin, and then download and install latest KSU app?
[Samsung Galaxy A34] fede2782:
Yes, always same procedure. Just need to flash in AP slot and update the app
[Samsung Galaxy A34] Cesur98:
Is factory reset needed for update? And did they fix wrong total storage reading thing?
[Samsung Galaxy A34] fede2782:
No (as written) and no, but you will be able to hide for the Samsung My Files app but not settings
[Samsung Galaxy A34] renr29:
Sad!
[Samsung Galaxy A34] fede2782:
@renr29 @Cesur98 Hi, i plan to start building KernelSU for this device again. However, i won't be able to test all the builds every time so in case you are still interested i can give you a testing build.
[Samsung Galaxy A34] dmpstr:
Building this ends up failing on sub-make and doesnt get past that
[Samsung Galaxy A34] fede2782:
It seems you have not correctly set up the Toolchain or made some edits somewhere. Using Clang 17.0.2 and my unmodified source it builds correctly
[Samsung Galaxy A34] dmpstr:
I edited LOCALVERSION and set up clang properly according to your instructions

If you can you can check my repo
[Samsung Galaxy A34] fede2782:
It's my fault, i didn't update the wiki. I did it just now, really sorry
[Samsung Galaxy A34] dmpstr:
Still produces the same error although it lasted longer
[Samsung Galaxy A34] fede2782:
There is something wrong in your setup. Share with me the .config file in the out folder of your kernel source, after the error
[Samsung Galaxy A34] dmpstr:
Heres /out/.config
[Samsung Galaxy A34] fede2782:
The toolchain is set up correctly, i'll try to replicate the problem and investigate more. Could you give me more info about your setup (like os version, etc.)
[Samsung Galaxy A34] dmpstr:
I'm building on Google Colab (since i dont have a machine)

OS: Ubuntu 22.04.4 LTS

Heres the ipynb for the building env i did:

Untitled1.ipynb

Untitled1.ipynb. GitHub Gist: instantly share code, notes, and snippets.

gist.github.com
[Samsung Galaxy A34] fede2782:
Thanks, I'll check later today. Could you try also github codespaces (free and can use up to 16GB of RAM and 4 cores) because i used it once and it worked?
[Samsung Galaxy A34] dmpstr:
Building using codespaces worked, but i cant get to unpack neither Image or Image.gz using magiskboot
[Samsung Galaxy A34] fede2782:
What's the error? You must unpack Magisk.apk file (rename first to .zip), the executables are in the lib/x86_64/ folder. They are .so files, just remove the extension and do chmod +x on them
[Samsung Galaxy A34] dmpstr:
Doing `/path/to/libmagiskboot.so unpack /path/to/image` does nothing and errors out silently