yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] ilyabauer:
Can't Get This to work

Hi Guys,

Its Again me for several days i tried to install this ROM but nothing seems to work. I do the wiping -> flash the ROM -> reboot into recovery (now its lineageos one)

try to install gapps but it doesnt see the sd card, so i tried to get this by adb but now its saying that the package verification failed. When i try to install gapps in the TWRP after ROM but not rebooting its says that no changes were made to my device or that the version is 8.0 and i try to install 9.0 (which i should install, why whould i want to install 8.0 on LineageOS16 with android 9)

And if i reboot i get into infinite reboot stuck (not the same as bootloop) and if i somehow turn it of its now corrupted.

Its my 3rd recovery of system by Emma (full system reinstall from Sony) because of those "experiments"

What im I doing wrong? Can someone dm me or something so that i can explain / give some more info? plz help

--------------

Sony Xperia XA2

Android 8.0 (reinstalled several times bcs of corrupts)

TWRP 3.2.1-0 pioneer

LOS from 03.12.2018

MindTheApps / Open Project GApps

------------------ IMPORTANT EDIT --------------------------

If someone has the same problem. Just say yes on wiping data on "corrupting" screen and it will work. Finilly damn i got this to work.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] blackassassinuk:
Using this as my daily ROM right now. Big thanks to the dev for supporting this device.

No major issues found but I am having a bit of a weird problem....

How the hell do you disable the flash on the camera app? Its very nice but I can't find an option to disable it anywhere.

Also how are people installing magisk? I installed the zip on twrp but when I reset its not there. I installed the app on play store and it's just frozen on the mask image.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] theredbaron1834:
For me, I had to install the zip, reboot, and then install magisks apk. Not from the play store though. Magisk isn't legitly on the playbstore.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] blackassassinuk:
Ahh thanks, I didn't have the apk.

Any chance you know how to disable flash on the camera then please?

EDIT: Nevermind, having to leave the ROM.

It's stable (after some initial issues due to forced encryption and userdata I think) but microphone/speaker isn't working at all in calls and root kept causing bootloops used with magisk so I eventually got it working without root.

Bluetooth, mobile internet and wifi etc seems ok with the exception of an issue in Play Store where if you browse apps and scrolls down, it doesn't give you the full information of the app anymore. Like the icon for the app stops loading, then no image information loads in and only the name and description remains if you click on something. This persists through two different GApp's packages (Both OpenGApps, different packages). Battery life was also significantly worse than stock, dropping from 100% to 50% in the space of 3 hours compared to that being a full days usage on stock for me. This was using the latest nightly build.

Unfortunately I need something for daily use so I cannot use this right now. I aren't sure on how to provide logcats either sorry.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
"Fingerprint" it's meen sensor or Fp of OS version?

upd:

I understood what is meant 2nd variant and found mudule named "MagiskHide Props Config" in Modules Repo(needs to busybox for work). It's spoof "buil.prop" and in module has a list of certified devices. I tryed FP for "XZ1 Compact" from this list and it works! :)

(XA2 not in list, but u can add it manual)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Blu3h4ck3r:
Twrp encryption

Hi, I have just booted into TWRP to upgrade to the latest build. There is no pattern/pin prompt and internal storage/data partition seem to be encrypted. Any tips? Is it safe tu flash update?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
~ adb sideload ~
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Blu3h4ck3r:
the problem is not encryption itself (I can flash from sdcard). I'm just not sure if it's safe to flash over encrypted data. Btw I have switched to slot A and I can no longer boot, even when I switch back to B. I guess that I'm not supposed to switch slots manually. I have already installed fresh install of latest build, but it had something to do with encryption (there was a popup about factory reset when I booted to android recovery). The ROM is really smooth, much better than 15.1 (strange), looking forward to official LOS 16 release. I have experienced some random reboots (will investigate and send you logs). NOTE: I dont use gapps
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] infixremix:
What were the dd commands for incall I did the modem ones and in call furthley did not work
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
You missed bluetooth and dsp.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] infixremix:
I did them all
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] makotech222:
Weird issue. On XA2. I did a fresh install of TWRP. then i reboot to recovery, and install lineage 16 zip. I reboot to recovery, but TWRP is gone! I don't think this is supposed to happen right? I'm going to try lineage 15 zip next time.

Edit: Despite this, I just fastboot boot twrp.img again, and installed gapps and magisk. Seems to be working anyways.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Yes. Just reboot to bootloader instead and fastboot boot TWRP again.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] makotech222:
Okay, everything seems to be working okay, except Privacy Guard. I turn it on for a few apps in the menu, but when i re-enter, all the privacy guard settings are reset.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
I used build LOS16.0 from 9 dec 2018 and the game "Eternium" had craches. It was "Surfaceflinger" and "HWComposer" crache. But whith build from 14 dec 2018 this game playin fine. I don't know what changed. Anyway, I'm glad because of this improvement.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Me neither.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] makotech222:
[MENTION=5075128]LuK1337[/MENTION]

So is PrivacyGuard expected to be broken in latest builds? I can't enable it for any apps.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
Some strange audit warnigs in the logcat

+

My mobile bank app crahes logs
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
build 20181228

This mobile bank app craches with all 16.0 Los builds
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] infixremix:
Please do not think your bank apps are going to allow you to use a custom ROM on a non OEM ROM . Either setup magisk and pass googles safety net or go back to stock.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Magiskへようこそ

tl;dr thanks to Magisk removing all dontaudit rules ( see https://github.com/topjohnwu/Magisk...5/native/jni/magiskpolicy/rules.cpp#L173-L178 ) SELinux audit logs are flooded with garbage like on your screenshots. BTW please do not screenshot logs, that makes it really annoying for anyone that'd want to actually read your logs.

Also about this 'mobilebank' app. It seems to be doing a really funny way of verifying that you're running a stock ROM. It's basically trying to read a content URI that is only available on Xperia stock ROM and obviously the resource won't be available on LineageOS throwing AsyncQueryWorker exception. You may be able to workaround their checks by making your device pretend to be Google Pixel or something else with AOSP xD
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] edkozuto:
Mr. LuK1337,

thank you so much for your work!

I moved to 16 from 15.1, everything works great! No crashes, no lags.

If you need any help in further testing - I can do it.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] xperiaf:
are you clean reinstall 16 or updating from 15.1
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] edkozuto:
Factory reset via TWRP and then install LOS16, then reboot to TWRP, install magisk and gapps (adb sideload or push and install), reboot to system.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] xperiaf:
thanks for reply.

seems connot keep Data while updating to 16.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
One app craches on LOS16.0 & LOS15.1, but work normaly on Stock ROM.

Log attached
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
It's either their fault or the place where you downloaded the apk (implying that wasn't google play) from.

EDIT: It's their fault. Their app isn't compatible with default AOSP behavior, which is `REMOVE_OAHL_FROM_BCP := true` that removes `org.apache.http.legacy.boot` from bootclasspath. Sony for some reason sets `REMOVE_OAHL_FROM_BCP := false` on their stock ROM but I'm not going to do it.

Also their app fails to launch on Android Emulator for the very same reason, see ~ https://www.youtube.com/watch?v=7okw2iR3BQc
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
I got it from Google Play... if I want to use this app I will need to rebuild LOS with `REMOVE_OAHL_FROM_BCP := false` in config ?

:confused:

or may be I can use some patch to resolve it?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Well, you can patch the apk to include apache library lol.

or if you're lazy, you can use my prepatched apk ~ https://a.uchi.moe/fezkbo.apk
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] makotech222:
question: I'm going to do a manual upgrade of LOS16 to a newer build. Since the LOS install removes TWRP, would it be safe to just do update like

1. run fastboot boot twrp.img

2. Install updated lineageOS

Rather than:

1. run fastboot boot twrp.img

2. Install twrp.zip

3. reboot to recov, install los16
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
3. fastboot boot twrp

5. flash lineage

12. fastboot boot twrp

0. flash gapps, addon-su, whatever else you need

7. reboot
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] makotech222:
I need to reflash gapps, even tho its just an upgrade? i'm still on LOS16, just an older build from a few weeks ago.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
Today I noticed that FM radio is not working. I usually do not use it, but today I wanted to listen. In LOS 15.1 it worked, as I recall ...
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] makotech222:
Another issue, on both my phone and my wife's phone. When calling someone, and switching to speaker phone mode, the mic cuts out and the person on the other end can't hear anything. Known issue with LOS?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
If I wake up this morning I'll upload new build that should address that.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
I silently fixed that in last build btw.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] SGS3_0:
I see (downloaded it) thx

Is it in device tree or some system change? I'm ask about it coz i wanna fix fm in my HavocOS build... :confused:

Luk, could u help me with Havoc? I don't understend why thelephony service broke... Can i show u my logs for consulting? :crying:

HavocOS 2.1 - Android 9.0, based LOS 16.0
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] makotech222:
Great, thanks!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] infixremix:
Is your havoc os build public ?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] makotech222:
Tried upgrading to 1/20 version. Getting error with bluetooth crashing constantly, wifi not working, cell not working. Will try a few more things, hopefully i don't need to wipe clean.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Follow https://github.com/LineageOS/android_device_sony_pioneer/issues/1.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] makotech222:
I ended up repeating the upgrade, installing lineage, reboot, then gapps and magisk. Seems to have fixed it. Now having other problems with Google Fi app and youtube app closing.\

Edit: Reinstalling both apps seems to have fixed that now too.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Uhh you'll have same exact problem next time you'll use OTA if you won't do that btw.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] makotech222:
Hehe, ill keep that in mind. I probably won't update again until an official 16 release.

FYI, it seems all my google apps were force closing. Had to reinstall messages and gmail as well to get them working.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Well cause you rebooted into lineage before installing gapps.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] makotech222:
lol thats probably it.

Also, it seems that the 1/20 build didn't fix the microphone not working in speaker mode during a call. Just tried it now.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
works here~
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Snekxs:
Is anyone using this as their daily driver, how is your experience?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] firestarw:
Just got this phone a few weeks ago and the 1-20 build with opengapps and magisk runs great for me, battery life is great, calls work, no issues. Install process was a bit wonky for me since I didn't know about the different twrp version and I accidentally cleared all the stock rom partitions the first time but eventually I got it working.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] apoapoapoapo:
Doesnt work here either on two devices. Builds from 2018 and the latest 2019. Can it be related to driver A/B problems?

[Thank you for your work! Very much appreciated!]
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Dunno, there might have been some acdb updates on stock. I'm on a pretty old firmware on my device.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] mcflyle:
Hello everyone!

After some trouble (Slot A & B, no bluetooth and wifi) i got LOS 16 installed with opengapps mini. It seems to run smooth and everything i tested works. But i can' t disable googles voice match. I switch it to off in google settings, but the phone is ignoring it. "Ok google" works, but i don't want it. Anybody knows the problem or can help?

Btw. big THX for the Rom!
[Nexus 4 General] mierdaseca:
So afaik, my Nexus 4 is still in warranty. But recently, I changed the screen (full frontal frame). Can Google notice if I send it to RMA?
[Nexus 4 General] n0b0dy666:
I'm pretty sure they can (not Google, but the one who deals with repairs). Also, how in the hell is your N4 still under warranty?
[Nexus 4 General] mierdaseca:
The warranty is reset 2 more years after a RMA
[Nexus 4 General] nitin.chobhe:
N4 was released in 2012... :confused:

Nitin
[Nexus 4 General] mierdaseca:
Yes, but they reset the warranty everytime you send it to RMA (they actually give you a refurbished one)
[Nexus 4 General] nitin.chobhe:
That's great (& new) to hear... :good:

Nitin
[Moto G5 Plus Questions & Answers] M1810:
We all know it is not polite to ask for any ETA, but i saw multiple users asking about the current status of 9 0 ROM decelopment, can any developer of ANY ROM give us some information? Are they working on it? There is no development going on? Are they planning to? Thanks a lot!
[Moto G5 Plus Questions & Answers] sinchan_nohara:
Nick is working on Gzosp its stable according to testers. He is waiting for the approval of Gzosp team until the approval he cant release the rom.

Just wait patiently it will come out eventually...
[Moto G5 Plus Questions & Answers] M1810:
Thank you, that's what i wanted to hear :)
[Moto G5 Plus Questions & Answers] Archangel:
This is a good question. So many times people jump allllll over someone thinking they are asking for ETA's and they are not. I have flashed the current Pie treble and every single time I get different results with apps not working, weird heat warnings, and reboots to recovery. I know the TWRP flashable roms will come sooner probably rather than later and am sure they will be awesome!
[Xperia Z3 Q&A, Help & Troubleshooting] khanjunaid:
Tried recovering my old device for playing PUBG. Here is the condition:-

Device is not recognized in flashmode tried installing drivers after disabling signature verification. Device is on old bootloader version Flashing Twrp is not an option. Flashing rom after booting twrp doesn't works either.

Any help would be appreciated.
[Android Q&A, Help & Troubleshooting] Shadowsh:
Im purchase galaxy j330f from dubai b4 8 month it was ok but using in pakistan im facing a network problam emergany call just zong sim work proparly another sim not work n 4g not work But im in pakistan what do i do now how can i solve this problam plz telenor 4g not work many times show emergancy network i was hard rest n flashing but problam same plz help..
[Samsung Galaxy J5 Questions & Answers] aofthe:
so i followed guide, where u use odin to install twrp, and then to root the phone, i used odin twrp installation passed in few seconds, and then when i tried booting recovery mode, it said downlaoding, and then no command.

Any suggestions on what i should do ?

Phone works normally, its just the recovery mode gone.

Thank you in advance.
[Samsung Galaxy J5 Questions & Answers] The Penguin:
Flash stock ROM again and flash TWRP again it worked for me but flash the CORRECT firmware or your problem will get worse (i have J510MN)
[Samsung Galaxy J5 Questions & Answers] aofthe:
I did, but did not work tho.

My phone works normally , only thing that is gone is the recovery mode.
[Samsung Galaxy J5 Questions & Answers] aofthe:
Solved it
[Samsung Galaxy J5 Questions & Answers] The Penguin:
How?
[Samsung Galaxy J5 Questions & Answers] aofthe:
Just entered recovery mode, there wes no command and just spammed pow butt volume buttons and home key amd it started working, but it wasnt twrp it was stock. So ill keep tryng
[Samsung Galaxy J5 Questions & Answers] Finsnevis:
Make sure you have OEM unlock in developer options if so and still the same flash a different twrp recovery version.
[Samsung Galaxy J5 Questions & Answers] DontTouchMaPhone:
On odin you need to turn off auto reboot

---------- Post added at 05:21 PM ---------- Previous post was at 05:21 PM ----------

And when you finish flashing twrp you need to remove battery and boot to twrp,then you can boot to it normally
[Xiaomi Redmi Note 5 Pro Questions & Answers] Lemon476:
I tried to unlock bootloader on my Xiaomi Redmi Note 5 pro. I know that, when you try for the first time, you have to wait 360hr, but for some reason I have to wait 1440hr. Does anyone know why? Could it be that I am on MIUI 10 Beta?
[Xiaomi Redmi Note 5 Pro Questions & Answers] EdoNINJA93:
It sounds ridiculous...

http://en.miui.com/thread-3696038-2-1.html

https://www.reddit.com/r/Xiaomi/comments/9bnwip/xiaomi_in_a_nutshell/
[Xiaomi Redmi Note 5 Pro Questions & Answers] kostas gp:
WHAT? Are they out of their minds? I think that 15 days was already unacceptable but 2 months?? This is more than ridiculous. What are their intentions? To make android a bad replica of iOS? They progressively take back the freedoms that we have been enjoying in it. They are bricking our devices for downgrading, they don't authorize accounts for unbricking and they constantly increase the requested time to unlock bootloader. I'm afraid that at some point, which seems to be not that far, Xiaomi will stop being my brand of choice when it comes to smartphones. And that's bad because I'm not interested in buying a device from any other brand.
[Xiaomi Redmi Note 5 Pro Questions & Answers] Nexonian:
No wonder, people unlocking their phones and installing custom roms destroys Xiaomi's business model. TechAltar did a nice episode about it:

https://www.youtube.com/watch?v=esUOQpKNLsE
[Xiaomi Redmi Note 5 Pro Questions & Answers] Lemon476:
I checked this morning and the waiting time went down to 704 hours. I'll keep you updated
[Xiaomi Redmi Note 5 Pro Questions & Answers] SunilSuni:
So one day is equal to 720 hours ???? I think you did some mesh up with your mi account thats why you are seeing 1440 hours to unlock.. keep single mi account in your mobile and bind same account in developer setting
[Xiaomi Redmi Note 5 Pro Questions & Answers] orangpelupa:
they should attack vendor rom installers then. they are the one replacing ads with crazy intrusive ones not from xiaomi.

as people that know how to use custom ROM, should be savvy enough to disable the default apps, or do ads blocking even witohut root
[Xiaomi Redmi Note 5 Pro Questions & Answers] Lemon476:
I only have one account, I didn't do anything strange. With the same account, since it is the only one I have, I checked again this morning, I have no idea why it went down to 704 hours, but I read that it didn't happen only to me
[Xiaomi Redmi Note 5 Pro Questions & Answers] Nexonian:
It's all over the forums, you are not the only one...

http://en.miui.com/thread-3701225-1-1.html

https://www.reddit.com/r/Xiaomi/comments/9bmb60/1440_hours_to_unlock_redmi_note_5_bootloader/

https://www.reddit.com/r/Xiaomi/comments/9bnwip/xiaomi_in_a_nutshell/
[Xiaomi Redmi Note 5 Pro Questions & Answers] Lemon476:
Yes I read, I was talking about the fact that it went down to 700 hours, but also that has happened to others. Honestly I find this ridiculous..
[Xiaomi Redmi Note 5 Pro Questions & Answers] atzohy:
I received my phone today too and after trying to unlock, I got the 720hrs.. :(
[Xiaomi Redmi Note 5 Pro Questions & Answers] WakeUpFilthy:
I thought the 15 day wait was bad. Xiaomi can stop using the excuse its to stop sellers putting malicious roms on their devices. This is anti consumer and will put devs off the brand which is terrible for everyone even those whos device is already unlocked
[Xiaomi Redmi Note 5 Pro Questions & Answers] temporarium:
It's to keep people using MIUI, while giving the impression that they're open to custom ROM support.
[Xiaomi Redmi Note 5 Pro Questions & Answers] mik101:
It is definitely 720 hours now.

My first 3/32 model that I gave to my Fiancee was only 360 when I unlocked it (August 10th requested - August 25th unlocked). Now it looks like I'll be waiting until September 30th to unlock this 4/64gb model. *Sigh* Looks like im installing blockada again to fight Xaiomis damn ads, while using MIUI for the next month. I thought using it for 15 days was bad enough. I miss Lineage already... but at least my Fiancee will be happy.
[Xiaomi Redmi Note 5 Pro Questions & Answers] paarkhi:
what a person doesn't for love? ;)
[Xiaomi Redmi Note 5 Pro Questions & Answers] haven80:
This will be my last xiaomi. I will buy oneplus or a Pixel.

Inviato dal mio Redmi Note 5 utilizzando Tapatalk
[Xiaomi Redmi Note 5 Pro Questions & Answers] 0veR:
Stupid tutorials like this and youtube tutorials who tell people to unlock your phone send a message to xiaomi that you got fake ROM and want to unlock it to flash original MIUI.

https://xdaforums.com/redmi-note-5-pro/how-to/one-xiaomi-redmi-note-5-whyred-unlock-t3778049

Yes stupid tutorials like this probably made them to increase time because people send them the message that they got fake rom but they dont have fake rom.
[Xiaomi Redmi Note 5 Pro Questions & Answers] lawong:
wow this is something new , glad tht i have already unlocked mine. bad move from xiaomi .
[Xiaomi Redmi Note 5 Pro Questions & Answers] kbsarfaraz:
This is ridiculous, 360 hours is the enough but I'm also getting 720 hours...
[Xiaomi Redmi Note 5 Pro Questions & Answers] luismurua7:
I got 720 hours too. Until then, i have to remove the bloatwares with adb and use nova launcher.