yashsingh1/xdaforums huggingface dataset:
[Magisk] gabreek:
Thank you, really perceptive change, it helped my fake screen feels much more responsive
[Magisk] changed.:
OK，I am glad it worked
[Magisk] Jan7:
Hey! Can you guys explain me please how to install this file? I‘m a Noob sorry 😅

Do i have to flash it with magisk?
[Magisk] ChrisLiuYYDS:
很感谢！如果有屏幕刷新率的模块就更好了。(y)(y)(y)

Mod translation: really thankful! It would be even better if there is a module with a screen refresh rate.
[Magisk] Badger50:
Greetings. As a friendly reminder, we ask all members to please post in English as stipulated by XDA Rule #4:

Spoiler content hidden.

Thank you for your cooperation, and have a pleasant day.

-Regards: Badger50
[Google Pixel 4 XL Questions & Answers] samsujjamanrifat:
Is there anyway to flash pixel 4xl trough

Edl mode

My phone is dead and when i connect it to pc it show qualcomm edl port

Searched manywhere Didn't find any tool or xml flash file
[XPERIA X1 Q&A, Help & Troubleshooting] pandomaci:
Hi,

anyone has the same problem?

If I lock the keyboard/screen, build-in SPB Panel doesnt refresh itself (clock is freezed etc.)

Any suggestions how to fix it? Other panels seems to be fine..
[XPERIA X1 Q&A, Help & Troubleshooting] leobox1:
not true.. the SE panel have same prob
[XPERIA X1 Q&A, Help & Troubleshooting] gesaugen:
same here. any solution to this problem?
[XPERIA X1 Q&A, Help & Troubleshooting] comeradealexi:
for me it update after about a second after waking the phone??
[Xiaomi Poco X3 NFC Questions & Answers] witchypoo:
Connect poco x3 nfc to laptop (win11) using USB to download some pics

First of all its sooooooo slow to load (Im using brand new lenovo slim 3 8GB mem 512GB storage)

no other progs are running when accessing pics

Go into view on DCIM and even though I set view in date created mode, ascending the pictures are all over the place

Its so frustrating when Im trying to find just one pic which I just took and i have to go through all 500 pics on my phone

What am I doing wrong filks?
[Xiaomi Poco X3 NFC Questions & Answers] Noter2017:
Windows probably creates thumbnails of your photos which takes some time if you have 500 pictures there. Once they are created, it should get better the next time you connect your phone.

Another thing might be your antivirus software. Windows Defender is all you need on your laptop. Uninstall any other antivirus, security software that came pre-installed on your laptop
[Realme GT 2 Pro] shivrajsingh:
I have been Network Signal Guru on several different mobile with no Issue. However, on Realme GT 2 Pro with A12 V21 RU ROM, when I pressed "Clear All forcings" both SIMs signal completely down. So I tried restarting. Even after restart, No network came on boot. However, after approx 10 minutes, Network came on both SIMs.

So, basically, I have to wait for 10 minutes for network to show on every reboot.

I have tried clearing Network settings from Settings, and, flashing same Full OTA through local Update , and , Full data wipe through recovery, and updating to A13 C12 Full OTA. Still no benefit. Network appear after 10 minutes on reboot . App developer is saying that OPPO devices are different, and could not give any solution.

Please provide any solution.
[Galaxy S6 Q&A, Help & Troubleshooting] samsujjamanrifat:
Is there any custom rom for

Samsung s6 (sm-g920t)

Tried to install (sm-920f)

Not working
[General Questions and Answers] Harlock1978:
After an Update of Two magisk modules, my Ulefone Armor 11 5G staied stucked on boot logo, I can only enter in recovery or fastboot.

I try to build a TWRP, but it is not able to mount userdata.

I was able to download with the help of mtkclient all the partition on my phone, even userdata , it took 7 hours.

I wanted to load the image in linux but using mount disk imag or using the command sudo mount -o loop userdata.img ~/Armor_11_5G doesn't do anything not even an error message.

I'm wondering if the filesystem was corrupted during the update.

Is it possible to repair the fylesystem like in Windows?

Thanks
[General Questions and Answers] alecxs:
did you previously disable encryption and factory reset long time before the modules updates failed?

what do you mean mount doesn't do anything not even an error message? either it give error message or it succeed.
[General Questions and Answers] Harlock1978:
I didn't disable encryption before updating the modules, I already updated this modules many times.

That is the problem, it doesn't succed and I don't have an error message. The file is 256 Gbyte big, I don't know if it plays a role. I'm using Ubuntu 22
[General Questions and Answers] alecxs:
if phone is encrypted that's just 256G garbage. post the output of

$ parted <file> unit B print
[General Questions and Answers] Harlock1978:
Here are the results of parted

Error: /home/*****/Public/userdata.bin.img: unrecognised disk label
Model: (file)
Disk /home/osboxes/Public/userdata.bin.img: 249208733696B
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:

Thanks
[General Questions and Answers] wenyendev:
You may try https://www.cgsecurity.org/wiki/TestDisk_Download

I'd be glad for your feedback.
[General Questions and Answers] alecxs:
sorry thought it's whole disk, but it's only 232G file therefore parted won't print partition table ;)

does apply to FDE only

assuming this file is dump of single userdata partition, open with HxD editor. if the partition image is not encrypted, you will see lot zeros within first 1024 bytes.

in that case you can check for file system type is ext4 or f2fs.

$ xxd -l 1080 dump.img | grep 53ef
$ xxd -l 1024 dump.img | grep 1020.f5f2

But most likely the userdata partition is encrypted, therefore no way to recover data offline.

The easiest way not to load Magisk modules is, not to load Magisk. Flashing stock boot.img will solve it.

Beware, in case you disabled encryption beforehand, booting stock boot.img will force encryption. This may take long time without notice.
[General Questions and Answers] Harlock1978:
I never disabled encryption, I don't know if Magisk do it without informing. I used this phone for an year without a problem.

After the update I left the phone on for one night but nothing happens. I tried to reflash the stock boot image, and again a whole night wait, but again nothing happens.

Reading the fstab the file system should be ext4.

The file is the dump of the whole userdata partition of my Ulefone Armor 11 5G.

I did a backup of the whole system before doing any experiment so if the partition table is corrupted maybe if I reflash back the userdata partition with a working partition table I have again access to the datas.
[General Questions and Answers] alecxs:
there is no partition table in userdata partition, I just gave you wrong advise. because the phones total storage is 256G, I made wrong assumptions (you can view partition table from file pgpt.bin)

full 1:1 backup is impossible for FBE encryption because encryption keys are stored in TEE. once you factory reset device backup of userdata + metadata becomes useless.

fstab doesn't tell you what file you just have dumped. if you can't find ext4 super magic (#7) it's impossible to loop mount that file (and impossible to decrypt on linux PC)

if you can't fix boot-loop by stock boot.img then it's unrelated to magisk modules. you can however enable adb in default.prop and capture adb logcat during boot-loop for further analysis. you could also inject own script that deletes some files (only DE encrypted files, CE encrypted files requires lock screen credentials aka pin/pattern)
[General Questions and Answers] alecxs:
boot this TWRP and get log from adb

$ fastboot boot recovery.img
$ adb shell twrp decrypt '1234'
$ adb pull /tmp/recovery.log

https://twrp.me/faq/openrecoveryscript.html
[General Questions and Answers] Harlock1978:
With mtk client I was able to do the backup of tee1 and tee2 and also of gpt_backup and gpt_main.

Doesn't produce any results.

I have immediately the command prompt.

How can I do that? Which value should I change in default.prop?
[General Questions and Answers] alecxs:
so your "backup" is encrypted. please note Trustonic Kinibi is TEE OS running in secure memory one can't access or backup with mtkclient. the tee partitions in phone storage do not contain any encryption key (none of the partitions does, secure memory is not even a partition). the only crypto related partition is metadata used for keydirectory of metadata encryption (on top of FBE encryption) but it is useless for backup purposes.

yes you can modify default.prop in boot.img, ro.secure=0 should give root access.

https://xdaforums.com/t/bypass-secu...hone-with-broken-screen.2965462/post-85905033

ro.secure=0
ro.debuggable=1
persist.service.adb.enable=1

in case the default.prop modification is not sufficient, you need additional command to be executed as root.

# settings put global adb_enabled 1

as you installed magisk, you could use magisk overlay.d/sbin/ for running startup script.

https://xdaforums.com/t/help-how-to...ithout-losing-your-data.4383255/post-86934375

How about this TWRP? it should be able to decrypt userdata. if decryption failed, provide recovery.log
[General Questions and Answers] Harlock1978:
Until tomorrow I cannot do a logcat and I cannot find my view logcat on my laptop.

I unpacked boot.img with Carliv Image Kitchen and there is no default.prop, that is present in the recovery as prop.default.

Is there a way to backup secure memory of Trustonic?

I already tried that version but it cannot decrypt, that' why I'm trying to build my own version of TWRp with the help of the creator of that version of TWRP, but I'm stucked.
[General Questions and Answers] alecxs:
oh, you know how to build TWRP with proper FBE + metadata encryption support? have a look at other Oppo devices how they did... good luck.

regarding default.prop in boot.img (it's a symlink to system unfortunately) you can do it the other way

use magisk overlay.d/sbin/

create a boot script that does the thing with resetprop -n <prop_name> <prop_value>

don't use outdated Carliv Image Kitchen! use osm0sis AIK from link above.
[General Questions and Answers] Harlock1978:
I'm learning.

I try to integrate the decryption service following the suggestion of ADeadTrouser on Github, but the service doesn't want to start and I don't understand why.

I never checked Oppo, I will take a look at them also, thanks for the suggestion.
[General Questions and Answers] alecxs:
I think I figured out now the adb logcat at least. hope that helps

https://xdaforums.com/t/accessing-my-phone-with-a-dead-screen.4542763/post-88016019
[General Questions and Answers] Harlock1978:
I tried your script butr nothing happens, the telephone is not listed when I type

adb devices

and if I type

adb logcat

I receive the message waiting for device
[General Questions and Answers] alecxs:
you might follow the thread ;)
[General Questions and Answers] Harlock1978:
I run the software on the image and it identify the contents and can read the encrypted and not encrypted part, that means that all the files are there, but I cannot mount in Linux or in TWRP
[General Questions and Answers] Harlock1978:
The fact that I cannot mount in Linux or TWRP the userdata image/partition can be that is corrupted the partition or the file index?

That would also explain why the script for Magisk provided by aIecxs is not able to copy the adb_key from the cache in the data partition.
[General Questions and Answers] alecxs:
that is bit contradictory to #11

please open with Hex editor and show first 3x sectors.

you mean mount encrypted ext4 in TWRP? check recovery.log why it failed. you can share via pastebin.com with expire date.

adb pull /tmp/recovery.log

on custom ROM one can also place adb_keys in rootdir (userdebug and eng builds)

https://android.googlesource.com/platform/bootable/recovery/+/refs/tags/android-10.0.0_r1/README.md

(thx @mirfatif)

(requires overlay or modified system)

you can try to write dmesg to cache partition, too.
[General Questions and Answers] Harlock1978:
I opened with WinHex the partition and I search for the Hex value 53ef and I found it in sector 12449 and value 1020 in secots 12461 and 1020f5f2 in sector 5446157, but none of them in the first 3 sectors.

Here is the link: Pastebin with 1 week expire date

I still have the official Android 10 that came with the phone.

I will give it a try. In my ramdisk there is no init.rc, should I write in overlay.d file like init.dmesg.rc?
[General Questions and Answers] Harlock1978:
I copy your script and put it in overlay.d, but I don't have any dmesg.log in /cache/recovery/
[General Questions and Answers] alecxs:
yes for some reason running as service (like described in documention) did not work for me either.

However it will work with exec. you can use the files from zip and add one line with the dmesg output inside the loop. you should get 30 files ;)

overlay.d/sbin/adbguard.sh

#!/system/bin/sh
while [ ${i:-0} -le 30 ]; do
...
dmesg > /cache/dmesg${i}.log
...
sleep 1
i=$((${i:-0}+1))
done &

overlay.d/init.adbguard.rc

on boot
exec u:r:magisk:s0 root root -- /system/bin/sh ${MAGISKTMP}/adbguard.sh
[General Questions and Answers] Harlock1978:
Shoud I add it after or before sleep 1?
[General Questions and Answers] alecxs:
doesn't matter. dmesg will print everything from startup anyway, you won't lose that second. it's just stupid bruteforce of the timing, it would probably even work without any loop at all.
[General Questions and Answers] alecxs:
I couldn't find any traces of encryption in recovery.log it's unclear whether the file system is corrupt or encrypted.

can you "compare" first sectores with this one (not really compare just if looks similar)?

https://xdaforums.com/t/reading-dd-dump-to-extract-data-from-internal-storage.4489757/post-87504321

that user also had no ext4 super magic at 0x438 but turned out e2fsck could fix it. however, I actually never seen FBE encrypted ext4 partition nor tested fsck repair even works for encrypted ext4.

you have backup of userdata so try anyway. try on PC first. make sure you do it on yet another copy of file.

$ fsck -f sdc46.img
$ mkdir data
$ sudo mount -vt ext4 -o loop,ro,noexec,noload sdc46.img data
$ sudo find data/system

if it works try on TWRP.

adb shell
# e2fsck /dev/block/bootdevice/by-name/userdata
# mount -t ext4 -o ro,noatime,norecovery /dev/block/bootdevice/by-name/userdata /data
# mount -o bind /data/media /sdcard
# mount -o bind /data/media/0 /sdcard

if no errors produced then check you can see encrypted files. if so, maybe the boot-loop is fixed.

if no success, don't forget to restore the userdata.bin from backup
[General Questions and Answers] Harlock1978:
I run fsck.ext -f on the backed up image and it showed many errors and I answered yes to optimize and correct.

Now it is possible to load the image in Linux.

I will now try with TWRP, but in the fstab file the mount point is /dev/block/by-name/userdata so I will use it instead of /dev/block/bootdevice/by-name/userdata

I will attach also the dmesg logs.
[General Questions and Answers] alecxs:
so overlay.d works on android 10, at least.

dmesg nothing you didn't know already... /data cannot mounted

[ 2.698990] (4)[431:init]init 15: [libfs_mgr]Invalid ext4 superblock on '/dev/block/by-name/userdata'
[ 2.699067] (4)[431:init]init 15: [libfs_mgr]mount_with_alternatives(): skipping mount due to invalid magic, mountpoint=/data blk_dev=/dev/block/sdc46 rec[4].fs_type=ext4
[ 2.699259] (4)[431:init]init 15: [libfs_mgr]Failed to mount an un-encryptable or wiped partition on /dev/block/by-name/userdata at /data options: noauto_da_alloc,nodelalloc,nobarrier,data=writeback,errors=panic: Invalid argument

actually these are just symlinks to sdc46, you can double check with realpath or ls

adb shell
# toybox realpath /dev/block/bootdevice/by-name/userdata
# ls -l /dev/block/bootdevice/by-name/userdata
# ls -l $(find /dev/block -name by-name)/*
[General Questions and Answers] Harlock1978:
realpath reports no such file or directory in both cases
[General Questions and Answers] Harlock1978:
Problem solved, the phone works again.

Thank you very much.
[General Questions and Answers] alecxs:
can you please share hexdump of first 2048 bytes just for further reference how encrypted ext4 looks like. it will help other users maybe.
[General Questions and Answers] Harlock1978:
Is it sufficient if I post the first bytes of the image I repaired with linux or should I do a dump of the partition on the phone?

In this case do you have any suggestion on how to do it?
[General Questions and Answers] alecxs:
in TWRP

adb shell "xxd -l 2048 /dev/block/sdc46" > hexdump.txt
[General Questions and Answers] Harlock1978:
I tried as you said adb shell "xxd -l 2048 /dev/block/by-name/userdata" > hexdump.txt

but I always receive as an answer xxd: /dev/block/by-name/userdata: Permission denied

Right now I don't have the possibility to run my Linux virtual machine
[General Questions and Answers] alecxs:
it only works in TWRP not in android. you can however do it in android from terminal.

adb shell
$ su
# xxd -l 2048 /dev/block/sdc46 > /sdcard/hexdump.txt
# exit
$ exit
adb pull /sdcard/hexdump.txt
[General Questions and Answers] alecxs:
... and there is 53 ef at correct offset. looks like regular ext4 no difference between encrypted and plain ext4.
[Windows Mobile Development and Hacking General] anmeldung:
After installing of everything follow STEPS in first post from:

http://xdaforums.com/showthread.php?t=429224

I install using steps below :

1) m2d V21(ELFIN).cab

2) Debarron Manila2D v21 N2A Patch.cab

3) TouchFlo2dVGA-0.1.3.zip /I copyed arhive in \Windows Folder

, on my screen I only have superscription ...

"Tap here to launch TouchFLO"

when i press....

Launching TouchFLO

And nothing more...

What can I do?
[Windows Mobile Development and Hacking General] SaBo:
Buy a device with more RAM

Sascha
[Windows Mobile Development and Hacking General] anmeldung:
Thanks, but this post is not correct....!@!!!!
[Windows Mobile Development and Hacking General] nir36:
post questions in the Questions & Answers section and PLEASE, AGAIN, DONT answer questions in this section.
[Samsung Galaxy S8 Questions and Answers] naughtyBread:
Tried flashing combi firmware to install safestrap recovery from here https://xdaforums.com/t/2022-root-m...s-extreme-syndicate-safestrap-method.4060701/ and after flashing the device went off, cannot boot into odin mode or recovery. Please help
[Android Q&A, Help & Troubleshooting] ASEM1123:
I've successfully rooted my Galaxy Note 3 to play custom boot animations and boot audio. But now I want to try it on my main device; the Galaxy Note 20 Ultra. I only want to modify "bootsamsung.qmg", "bootsamsungloop.qmg", and try adding "PowerOn.ogg". (Is this even possible on newer Samsung phones?)

Thing is, I don't want to root this device because I still want to get security patches and updates without doing complicated flashing procedures, and I still want to get OEM support.

Is there a way to at least root the phone temporarily without voiding the software legitimacy, and still get support for updates?

(If not then guess I'll just wait till 2025 when the phone stops getting software updates)
[Android Q&A, Help & Troubleshooting] ze7zez:
It's a "have one's cake and eat it too" problem.
[Android Q&A, Help & Troubleshooting] alecxs:
yes, you can modify phone without rooting phone.

no, you can't modify phone without losing knox/warranty.

no, you can't receive updates on modified phone.
[Android Q&A, Help & Troubleshooting] ASEM1123:
Ah, so even if it's not rooted it'll void the legitimacy when modified?

well that's a bummer :(
[Android Q&A, Help & Troubleshooting] ze7zez:
It is obvious that root is a modification of the system.
[Android Q&A, Help & Troubleshooting] alecxs:
on locked bootloader no modifications allowed by secure boot chain of trust.

you already trip knox when unlocking bootloader, even if running completely stock ROM.
[Android Q&A, Help & Troubleshooting] ASEM1123:
yeah, i was just hoping if there was a way somehow.

Thanks y'all.
[Samsung Galaxy A22 4G] cluczar:
Yesterday, I scheduled my phone to update the new software at 2.00 A.M then left it charging. When I woke up, it was stuck on the Samsung rebooting logo. I can enter recovery mode.

Tried soft reset, wipe cache but doesn't open

I guess if I can update it manually via PC, it will be okay. But I don't know how to do it without losing my data. (I have very important photos and vidos)

I have never downloaded any unoriginal system update
[Samsung Galaxy A22 4G] ze7zez:
Since you've never done it and you have very important data, ask someone who knows how to do it. You will need a single-file for odin.
[Samsung Galaxy A22 4G] DownCranker_pm:
Happened to my A225F when I updated to Android 13.

I pressed power button for about 30 seconds and it restarted. Went through optimizing applications screen and...voilá, came back to normal.
[Samsung Galaxy A22 4G] moses_dx:
isn't that normal in samsung phones? I still can't believe people still choose that brand
[Samsung Galaxy A22 4G] ze7zez:
The brand doesn't matter. You need to be able to choose the right model.
[XPERIA X1 General] jagr:
How would I create a shortcut or callup the panel manager via the start menu or assign another button to it? I tried executing /Program Files/Panel Manager/PanelManager.exe but it does not call up the panel manager.

I installed a ROM without the panel manager and reinstalled the application but would like to call it up in a different way as I do not expect to use it on a daily basis.

I would also like to prevent panel manager from popping up when I press the panel hardkey. I have already used AEButton to reassign it but it still pops up.
[General Questions and Answers] karoluss:
Hello,

I use my old Xiaomi Mi Mix 2 as a dashboard in the car.

I want it to automatically turn on when it detects charging (on ignition) and turn off when no charging.

I've managed to do the first step using guide from this thread and post from kenuser:

https://xdaforums.com/t/autoboot-au...wer-ac-plug-please-help.3746798/post-80857775

Now I want it to auto power-off when there is no charging. I used MacroDroid and it works almost perfectly except one thing. As far as I know and tried, it only detects the moment when cable is unplugged but not when the phone is not being charged. That means if I unplug the cable/stop charging before the app boots up, the phone won't turn off when app eventually will boot. That's problematic when for example I want to move the car just a couple of meters and I turn ignition off before whole phone boots up.

Therefor I search for solution to make macro on MacroDroid that will turn off the phone always or better option, some solution to put in software files as I did with auto power on, so I don't have to use additional apps like macrodroid.
[General Questions and Answers] alecxs:
you could write a loop with something like this

sleep 10
PWR_SUPPLY_ONLINE=$(($(cat /sys/class/power_supply/ac/online)+$(cat /sys/class/power_supply/*usb/online)))
if [ ${PWR_SUPPLY_ONLINE:-0} -eq 0 ]
then
svc power shutdown
fi
[General Questions and Answers] karoluss:
Thank you very much for quick response.

I'm totally newbie. Where do I put this?
[General Questions and Answers] alecxs:
um.. not for noobs lol. can you write init.rc? or by any chance you have init.d support (such as magisk /data/adb/service.d)?
[General Questions and Answers] karoluss:
Yup, I have /data/adb/service.d.

I hope I didn't screw anything because before I chcecked I first used this app:

https://xdaforums.com/t/mod-apk-scr...ny-phones-w-o-need-of-custom-kernels.1933849/ to install support.

I simply forgot that at some point I used magisk to make a root.

Also have

/system/etc/init.d folder