yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XA2 Questions & Answers] bsdnix:
Sure thing, here is the link: https://www.google.com/amp/s/www.xda-developers.com/sony-xperia-android-pie-unlock-bootloader-drm-fix-camera/amp/

---------- Post added at 01:46 PM ---------- Previous post was at 01:45 PM ----------

And this one: https://www.androidpolice.com/2018/11/20/unlocking-bootloader-sony-phones-no-longer-wrecks-camera-pie/
[Sony Xperia XA2 Questions & Answers] martialaw:
Thanks. Unfortunately, I'm not so sure if I read those the same way you did. The first one clearly states, that the DRM functionalities still rely on the presence of the actual keys, and those are lost upon unlocking. I miss the part where it states that unlocking a Pie device will keep the keys intact.

Of course, many people are fine with losing those DRM-related capabilities, if the camera at least has basic functionality. Which is why I'm still looking for some information about how bad those losses actually are. If my camera becomes useless outside of good lighting conditions, I might give it a pass.
[Sony Xperia XA2 Questions & Answers] bsdnix:
Please read my post carefully. Last sentence I was been more then precise. It only works for devices that didn't lose DRM keys in the first place, which means for devices which are not unlocked (TA partition wipe) and which are running Pie...
[Sony Xperia XA2 Questions & Answers] mirhl:
Ehrm.. the problem IMX400 phones had with Oreo (either unlocking, or camera binaries, whatever) was a totally broken viewfinder/preview.

With Pie AFAIK you get back the "good old sony behavior", which is what you are already getting here, with just disabled drm and whatnot.

Noise reduction still isn't going to work. So either you find a way to backup the device master key (latest supported XZ1 version for temp root exploit has december 2017 patch level.. So 50.1.A.4.76 which I think is the earliest XA2 fw might be supported), or better to get in touch with drmfix developer.
[Sony Xperia XA2 Questions & Answers] martialaw:
I am truly sorry that it came to this misunderstanding. I was actually refering to Pie phones with their DRM/TA still fully intact.

All web sources including your links state that, with Pie, unlocking does not *disable* the camera anymore, but still deletes the DRM keys.

I still have my DRM keys intact, and if it would be true that upgrading to Pie first, then unlocking, will keep the keys, I would wait until then. If however Pie will still behave like Oreo and remove DRM upon unlocking, I might aswell do it right away and pay the money for xperifix.
[Sony Xperia XA2 Questions & Answers] ataraxist:
Pardon for noob question... Drm can be restored through magisk module if one did not back up the TA?
[Sony Xperia XA2 Questions & Answers] martialaw:
No, TA/DRM cannot be backed up or restored no matter what you do.

Xperifix is a special software that can restore some of the DRM functionalities without the actual keys.
[Sony Xperia XA2 Questions & Answers] mirhl:
As I said in the previous page, TA backup should be already well within the realm of possibilities.

It is just that nobody coded the tailored exploit yet.
[Sony Xperia XA2 Questions & Answers] DrYak:
Yong Wang, a.k.a. ThomasKing, the researcher behind the KSMA (Kernel Space Mirroring Attack) used in some of the step of j4nn's excellent renosploit tool, will be presenting a new exploit at an upcoming conference:

Given the name, it probably relies on CVE-2018-9490 which is more recent than the older firmware of Xperia XA2 / -Ultra / -Plus.

so yeah, that definitely brings TA backup into the realm of possibilities.
[Asus Zenfone 5Z  Questions & Answers] datumdatzgr:
Hi,

There is always "com.asus.nextappcore" leading in my list of wakeup trigger count (See attachment). Is this normal? This wakelock increases even if screen is on. I don't see in my battery usage list.

Does anybody else have this wakelock?

Thanks,
[Asus Zenfone 5Z  Questions & Answers] datumdatzgr:
Update: Number of wakelocks increased after oct25 update.
[Android Q&A, Help & Troubleshooting] DelTechnik:
Hi folks,

I am a total newbie to sorting out tablet problems.

My MEMoPad 8 "bricked" a while back and, try as I might, I cannot get it to recover. I had not "rooted" it and now, it is stuck on either the normal boot screen or I can get into the Droidboot screen - but I cannot enter commands such as

fastboot flash system system.img or

fastboot flash boot boot.img.

What should I do? I have followed, as far as I can, the directions on "post58341834".

I don't have a PC running Windows - my options are either a PC running Linux Mint 18.3 or a MacBook Pro running MacOS 10.13 (High Sierra). I can get into a "terminal" but that is where I come to a horribly grinding HALT!!

Can someone take me through what needs to be done, in a "step-by-step" fashion, please? (Be gentle, though...!)
[Xiaomi Mi A2 / 6X Questions & Answers] minnuss:
It started to happen to my phone after I flashed only system.img to my rooted phone, tried to get the phone back to stock like some sort of a shortcut, to try to get OTA update.

I did not recognize it right away, but it started to happen from time to time and in all random occasions.

The phone will literally freeze for about 5-10sec and then everything will go back to normal.

The standard android message will appear that app is not responding do I want to kill it or wait.

I flashed the whole phone with stock images, temporarily rooted the phone again to enable camera2, uninstalled root, and it still happens from time to time.

Any suggestions, what can I do, what to check, where to look ? :confused:

I had kernel "Kernel Adiutor (ROOT)" previously installed, but I changed nothing major, just cpu governor to ondemand, and messed a little bit with entropy. This was installed on the phone before flashing.
[Xiaomi Mi A2 / 6X Questions & Answers] dodjob:
You may want to clean the dalvik-cache first. (Install TWRP and clean it from there) the system is storing tons of thing in there, and *for my case* wiping it was like a deliverance ?☝️
[Xiaomi Mi A2 / 6X Questions & Answers] Benjamin_L:
Is the phone writing big files to the disk like an automatic Backup? That's when my phone becomes unresponsive..
[Xiaomi Mi A2 / 6X Questions & Answers] minnuss:
Hmm, i will try this when I get home from work, thanx.

No custom installed auto backup aps, only default Android syncs.

I think that it has to do something with the kernel, or something deeper then stock images, maybe dodjob is right, I will try with dalvik erase, and if I remember correctly twrp has another option to clean something else, will check it today...

Is there a way to flash default stock kernel again ?
[Xiaomi Mi A2 / 6X Questions & Answers] dodjob:
Let us know!
[Xiaomi Mi A2 / 6X Questions & Answers] minnuss:
Nope, it did not work, freeze remains.

Now I need to check what Benjamin said, about internal storage, format system, and do all over again, but now without restoring backup, starting with fresh droid install.
[Xiaomi Mi A2 / 6X Questions & Answers] dodjob:
That sucks big time ? the only time I got a freeze was as I wanted to empty chrome beta cache. After the reboot, all went back as it should be...
[Xiaomi Mi A2 / 6X Questions & Answers] minnuss:
I did it, finally, flashed all images again stock, and then don't restored backup of the phone offered by google, but do the clean new phone installation.

It works now, everything is setup and works as it should be, except camera2api, I did not enable that one yet.

Maybe, just maybe, the problem was with the way how camera2 api was enabled, I did it via adb shell.

How did you guys did it, if you have it enabled ?
[Xiaomi Mi A2 / 6X Questions & Answers] hacktek:
This has started to happen to me since yesterday. I've had the phone to a couple of weeks and it's completely stock and un rooted. I rebooted the phone last night cause I thought it was some ram issue but it remains today. I'll give it a few days and hope it fixes itself.
[Xiaomi Mi A2 / 6X Questions & Answers] Benjamin_L:
Adb root shell. Can't think of a way this could damage anything if you just set the one property
[Xiaomi Mi A2 / 6X Questions & Answers] minnuss:
Did you have device rooted for a while, or it was always stock ?

Thanx, I needed that confirmation, then my problem was probably caused by some application that wanted to take root actions, without root enabled, and causing havoc to the system, because I was restoring backup last two times, backup from rooted phone.

I had rooted phone, then flashed only system.img, then the problem started, I don't know...

I will use the phone tomorrow for work without camera2, to make sure that I don't have any more problems.
[Xiaomi Mi A2 / 6X Questions & Answers] hacktek:
It's always been stock.
[Xiaomi Mi A2 / 6X Questions & Answers] kaiwanted:
I had never rooted this phone and I am on September security patch, from September 6th, but for 2 days, 1-2 times a day I get some freeeze for 1-3 minutes. Today I tried to clear manually the cache from Facebook, and it took me 1 minute after I click the button "Clear cache". And then I got everything freezing. After a black screen for 10 seconds I got an error as you can see in the screenshot attached. I will repeat, never touched the phone's system. Does anybody meet this problem???
[Xiaomi Mi A2 / 6X Questions & Answers] Benjamin_L:
Yes this happens when lots of I/o is done on the internal disk. I hope this is just a missing optimization and not a hardware issue. But let's bug xiaomi with it. I assume you also have the 64GB version?
[Xiaomi Mi A2 / 6X Questions & Answers] minnuss:
[MENTION=6153790]kaiwanted[/MENTION], I had that, but not 2 times per day, but almost constantly and the stops were about 10-15 sec, not for a whole minutes.

Clean flash, clean new start a phone procedure when the phone boots, no restores of backup.

And erased Dalvik cache in TWRP.

Or, if you don't want to do this, try with uninstalling all unnecessary apps that you have in the phone, try the day use with minimum, to see what happens.
[Xiaomi Mi A2 / 6X Questions & Answers] kaiwanted:
I read a lot regarding how people brick their phone with TWRP and rooting, so for now I will not use this future. But to reset my phone I will think about. Anyway I need this phone to use all my applications, not only a couple of them, because of this freezing (.

Thanks for suggestions.
[Xiaomi Mi A2 / 6X Questions & Answers] kaiwanted:
So I uninstalled about 5-6 applications and freeze disappear. From which I remember, I uninstalled: Spendee, XDA Dev app, Zugo Wallpapers etc.

Still when I clear the cache manually from Applications in settings, it takes about a minute or more to clean 100-500mb. This is weird.

Anyway, thank you for the suggestion.
[Xiaomi Mi A2 / 6X Questions & Answers] hacktek:
I did the same thing. Went through my application list, uninstalled everything I didn't need and the issue went away. I cleared like 5% of storage space with still over 50% left but it seems to have helped.
[Xiaomi Mi A2 / 6X Questions & Answers] engineer000:
reflashed all stock, enabled camera 2 api using mi a2 toolkit (magisk method) and I have the same. Cleared everything and run flash_all.bat. enable cam 2 api again and still have the same issue. clean install of apps doesn't fix it. Any idea on how to fix the sudden freeze?

Thanks

---------- Post added at 07:52 PM ---------- Previous post was at 07:28 PM ----------

if I completely root the device, I will still have the random freeze?

also, if I factory reset the device in the settings, the camera 2 api will be gone? thanks
[Xiaomi Mi A2 / 6X Questions & Answers] AsItLies:
I did it via twrp and adb shell setprop persist...

No issues here at all.
[Xiaomi Mi A2 / 6X Questions & Answers] Smultie:
Sooooo, any consensus on what's causing this?
[Xiaomi Mi A2 / 6X Questions & Answers] engineer000:
full root fixed it for me. so it must be the temp root + adb shell
[Xiaomi Mi A2 / 6X Questions & Answers] JoniJnm:
I have the same problem. I didn't root neither flash my phone. I think the freezing occurs 90% times using chrome.
[Xiaomi Mi A2 / 6X Questions & Answers] Viksz:
Well my a2 4/64 starts to frezee more and more the less storage i got free. So if have 14gb free freezing will happen alot if i have 20gb free then its less etc..
[G3 Q&A, Help & Troubleshooting] ithinkihaveaphone:
Hi guys,

I'd need a few phone fixing advice, I opened a previous thread (still about a LG G3 D855 16G) here : https://xdaforums.com/lg-g3/help/lineageos-soft-brick-files-t3711525, bu I guess it's no more a Lineage OS related issue so I opened this thread.

Long story short, after shorting some pins, I managed to use BoardDiag. Though, after loading the last part (sbl1), I couldn't do anything. I guess I managed to "super-brick" it :(

I can't boot, dl mode, recovery mode, nothing, it does nothing. And when plugged, the computer don't recognise anything, it's as if I plugged a USB cable with nothing on the other side (tried with multiple cables of course...).

Any idea of what to do from here ?

I figured an option might be to just switch to another motherboard and get done with that ?

If I do change the motherboard, are there any restrictions ? I have a D855 16G, would getting a motherboard of D855 32G or F460K be fitting and have an impact on battery life ?

Thanks already!
[G3 Q&A, Help & Troubleshooting] vampercy:
I had the same problem so i Change the motherboard from a ls990 to vs985 that is the only solution ,, now i have a verizon device with a spring motherboard.
[G3 Q&A, Help & Troubleshooting] TheMadScientist:
Yea the motherboards are inexpensive as long as its from a trusted seller Clean imei and No flickering bootloop or other known hardware issue

Easy as pie to change 15- 20 min max
[G3 Q&A, Help & Troubleshooting] ithinkihaveaphone:
I'll give it a shot :good:
[General Topics] clonmult:
My Niki is getting a little, er, awkward at handling MMS at the moment, I'll explain :

It does seem incredibly slow at downloading/opening MMS, and invariably the messages are nothing more than plain text (some friends who have bizarre text plans).

I can be in the middle of writing a text message, and then an incoming (text) MMS is received, and the phone is basically useless whilst the message is coming in.

And earlier it decided that it wasn't going to open any of the MMS that had been received this morning, would only open SMS.

Left it for a few minutes, no change, so decided to do a full power off reboot. Started back up again, and it had deleted all the messages that had been received in the last 10 or so minutes.

Any suggestions on what I could do to improve the general SMS/MMS handling? The phone is running on the stock Orange rom.

ps. please don't suggest using pocketcm instead - it doesn't seem to be able to send SMS at all on my Niki :(
[Samsung Galaxy Note 9 Questions & Answers] MKchrias:
I keep finding location setting changing to high accuracy from battery saving on its own and google play services showing high battery usage. Any thoughts?
[Samsung Galaxy Note 9 Questions & Answers] illetyus:
Do you take photos or use navigation during the setting? Maybe it changes automatically?
[Samsung Galaxy Note 9 Questions & Answers] haifish9999:
Changes the Location setting to Power Saver then turn both Google Location History and Google Location Sharing to OFF. You need also turn OFF the Location tags in Camera setting if you don't want to use it. Issues may solved afterward....
[Essential Phone ROMs, Kernels, Recoveries, & Other] Dees_Troy:
I bought an Essential during one of Amazon's sales and I have finally produced a working, official TWRP for the device. I tested it on Essential's 9.0 official firmware with August security patches. Touch works and TWRP is able to decrypt your data even if you have a PIN / pattern / password set. MTP may or may not work, depending on what kernel you are using. The screen is still not using the right-most edge of the screen, but I've implemented a few dirty hacks that I will clean up later to make TWRP fit the screen better. It is NOT recommended to use custom themes at this time on this device due to the screen weirdness.

Since the Essential is an AB device that does not support fastboot boot, you will have to flash the initial TWRP image to the boot partition. You can either switch slots following the instructions on our website or download the latest factory image or make sure you have a recent copy of your current ROM so you can reflash the boot image. Take your pick. Especially for your first install, I recommend doing the install when you are close to computer so you can fix anything that may go wrong.

https://twrp.me/essential/essentialph1.html

#TWRPisEssential
[Essential Phone ROMs, Kernels, Recoveries, & Other] Dees_Troy:
Reserved.
[Essential Phone ROMs, Kernels, Recoveries, & Other] BakedTator:
Thank you more than you'll know man!!!!!
[Essential Phone ROMs, Kernels, Recoveries, & Other] gaseoso:
Fantastic! Thanks for the support
[Essential Phone ROMs, Kernels, Recoveries, & Other] :
Sick! Thanks man!
[Essential Phone ROMs, Kernels, Recoveries, & Other] aer0zer0:
Good deal, how does it handle September patches?
[Essential Phone ROMs, Kernels, Recoveries, & Other] hottcakes:
Forgive me if I'm missing something here, but does this mean it will always be on a slot?
[Essential Phone ROMs, Kernels, Recoveries, & Other] munchy_cool:
Edit

Proper thread with install instructions.

https://xdaforums.com/essential-phone/how-to/guide-how-to-install-twrp-root-t3841922

edit end

how to install

fastboot getvar current-slot

say you get a

fastboot flash boot_b twrp.img

fastboot --set-active=b

now if you use volume rockers to go to recovery and then press power button to select you should boot into twrp.

Once in twrp, flash the twrp zip file.

then go to reboot. and change slot to a.

now reboot to system and you should boot into Android and you should also have twrp on both slots.

if you get current slot as b, then use "a" slot to flash twrp image.

video for those who need one. Also, has root instructions.

https://www.youtube.com/watch?v=7PYBYDbapho
[Essential Phone ROMs, Kernels, Recoveries, & Other] DoR3M3:
[MENTION=912474]Dees_Troy[/MENTION] thank you very much, this is greatly appreciated!

By the way, should the time zone work?

Thanks again! :)
[Essential Phone ROMs, Kernels, Recoveries, & Other] lynnux:
If I have fingerprint/pattern protection, when I boot into twrp what will I see? Option to decrypt and continue without having to enter anything (I hope)? I don't want to be surprised and not know whether to continue or not.

Edit: Thanks for doing this!!!
[Essential Phone ROMs, Kernels, Recoveries, & Other] starcms:
Awesome!! Thank you so much!!

I am happy to report the touch screen in TWRP works fine with the September release.

NOTE: If you have MAGISK installed, you must install the stock boot image (to both slots), then install the TWRP patcher zip, and finally install Magisk LAST or the phone will continue rebooting into TWRP.

So once you are in TWRP, flash stock boot image, click reboot (don't actually reboot) and change to other slot, flash stock boot image, then flash TWRP installer zip, click reboot (don't actually reboot) and make sure you are on the slot your started with, now flash Magisk and reboot phone.

I only have one issue: if you have a pattern set for your lockscreen, TWRP will still prompt you for a password. So before booting into TWRP, change your pattern to a password (this way you don't lose all your stored fingerprints) and after getting back into Android, change back to your pattern. It decrypts perfectly fine with the lockscreen password; it just doesn't prompt for a pattern when a lockscreen pattern is set.

And a second very minor bug is the time and date shown in TWRP is incorrect.

Thank you again soooooo much!!!!

Edit: I found a fix for the issue with not being prompted for a pattern and being prompted for a password instead, even though you have a pattern set! The fix is if you have a lockscreen pattern, change it to a lockscreen password, boot into twrp, type your password (be very careful when you are typing because the screen and touch are sligly mis-aligned so look at the actual keys being pressed), reboot into Android, change your password back to a pattern, and now everytime you boot into TWRP, it will prompt you for your pattern. So, apparently, the pattern has to be set AFTER twrp is installed for twrp to recognize you have a pattern set and prompt you for it.
[Essential Phone ROMs, Kernels, Recoveries, & Other] galakanokis:
I had to remove Magisk before I could get twrp to stick. With Magisk I would just reboot back into recovery. Once the procedure is done with stock boot img you can reboot into recovery and flash kernel and magisk as you normally would with TWRP.

I should add that it also won't decrypt for me but not as big of a deal if you forget like it was when you had to flash a boot.img again with a PC.

Nice to have TWRP on a device again. Android doesn't feel right without it.
[Essential Phone ROMs, Kernels, Recoveries, & Other] jmkarnai01:
I know there is a thumbs up for the thanks but a it's also nice to hear. A sincere thanks to you and whoever might of helped along the way!
[Essential Phone ROMs, Kernels, Recoveries, & Other] eddro22:
Ok so I'm going to ask is this permanent even if we flash a different rom or kernal to ethier slot
[Essential Phone ROMs, Kernels, Recoveries, & Other] gorm:
Thanks this helped just one correction in the 2nd command fastboot --set-active=_b
[Essential Phone ROMs, Kernels, Recoveries, & Other] Str0ntium:
Fastboot -ab accomplishes same thing. Use fastboot -aa for a slot.
[Essential Phone ROMs, Kernels, Recoveries, & Other] gorm:
Good to know, thanks

Just nice to have a working TWRP .

Great day for future Essential Development:good:
[Essential Phone ROMs, Kernels, Recoveries, & Other] Thebear j koss:
I had a tough go at it also, having magisk already installed. Finally got it after a few trial and errors. And I have no decryption either... Something with magisk, perhaps? Either way, glad to have twrp back...
[Essential Phone ROMs, Kernels, Recoveries, & Other] cajunflavoredbob:
Wondering if this can now be modified to replace the ramdisk stock recovery for a permanent installation finally. Does this still rely on the Nougat kernel? I know building twrp on newer oreo kernel sources resulted in the touch driver not working at all.
[Essential Phone ROMs, Kernels, Recoveries, & Other] billybong10:
Touch is not working for me, I'm on Sept security patch.
[Essential Phone ROMs, Kernels, Recoveries, & Other] starcms:
I said "within a couple weeks". You are the most ungrateful and impatient person I have ever met. If you can do better yourself, then do it.

End of conversation.
[Essential Phone ROMs, Kernels, Recoveries, & Other] :
It's been 3 weeks already... 4th one is close to end. Anyway, end of conversations.
[Essential Phone ROMs, Kernels, Recoveries, & Other] apophis9283:
Please keep thread friendly. No reason for all this. Going forth I expect that everyone will treat each other with respect.

Thank you,

apophis9283
[Essential Phone ROMs, Kernels, Recoveries, & Other] rignfool:
Dude... Get off your horse...

I highly doubt that Ethan needs you to defend him... He's a big boy...

You're also doing the most UNXDA thing I can think of and blasting someone who has, not only constructive criticism... But a potential solution...

Whether it pans out or not... He's trying... And from the sounds of things... Fixing stuff...
[Essential Phone ROMs, Kernels, Recoveries, & Other] starcms:
I wasn't blasting him or whatever solutions he hopefully can bring to the table. I was blasting the way he said it and his attitude. There's a big difference there. Sorry if I didn't express that well. Now can we please let this go and get this thread back on topic please?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Ryuk359:
So if I flashed the install zip in ex kernel manager would that work? I can't see why it wouldn't really and it'll eliminate the need to do the initial flash boot to twrp. Anyone tried it?