yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] AnonVendetta:
Then it sounds like MicroG is what you want, it has UnifiedNlp built into it.

Some things you need to know:

1. MicroG needs a signature spoofing patch or it wont work (which isnt the same thing as signature verification, that's an internal Android security mechanism). Spoofing is needed so that MicroG can pretend to be Google Play Services

2. UnifiedNlp *MIGHT* need the patch outlined in this topic, but it depends on the ROM. Most stock ROMs will need this patch for UnifiedNlp to work properly. If it's based on AOSP/LOS/CM/etc, then usually not. Install the MicroG APK and see if the "system supports location provider" box is checked. If it isn't, then you need this patch (or as an alternative, one of the Xposed modules, "XposedUnifiedNlp"/"XposedGmsCoreUnifiedNlp").

3. From my tests, this patch usually wont work unless Android's signature verification is disabled. I could be wrong here, but i never managed to get any ROM to boot with this patch applied, unless signature verification is disabled

4. If you intend on installing GApps, then you can use UnifiedNlp alongside it, without MicroG. If you're going to use MicroG, then UnifiedNlp is included, but you might still need this patch
[Android Software/Hacking General [Developers Only]] Julien Faure:
@AnonVendetta : I will come back here later for a more detailed answer (especially regarding microG) but thought I managed to apply the "signature verification" patch, as soon as a apply the second (UnifiedNLP) patch the device is bootlooping. You proposed to "patch the patch": which version of my /system/framework directory do you need? The stock one or the one with the modifications coming from Smali Patcher? Thks!
[Android Software/Hacking General [Developers Only]] AnonVendetta:
@Julien Faure: Actually, i dont need the directory at all. The signature verification patch changes services.jar. The UnifiedNlp patch changes a different file, called framework-res.apk. That should be all i need.

But, are you sure verification is actually disabled? Assuming the patch succeeded, you replaced services.jar, and followed my other instructions, then are you able to boot?
[Android Software/Hacking General [Developers Only]] Julien Faure:
Yup sure I followed your instructions : w/o the framework-res.apk change but with all the changes corresponding to the zip generated by Smali Patcher I'm able to boot. Is there a way to check that signature verification is actually disabled?

Which framework-res.apk do you need? The one before or after the org.microg.nlp patch?
[Android Software/Hacking General [Developers Only]] AnonVendetta:
@Julien Faure: i'm actually not aware of any reliable way to know that the patch actually worked. The root version of YouTube Vanced requires it to be disabled, that might be a way to test.

If any of the steps we do end up requiring root access, then I suggest you use the LOS su addon, which you can get from the official LOS website. There is also an uninstaller zip that you can flash to cleanly unroot.

But for now, let's just assume it worked. Send me the original, unpatched framework-res.apk. No rush though, sincr it will be another 10+ hours before i can try patching it.
[Android Software/Hacking General [Developers Only]] Julien Faure:
Ok thanks a lot again. Please find attached the original framework-res.apk (compressed as a zip) as well as the Smali-patched services.jar
[Android Software/Hacking General [Developers Only]] AnonVendetta:
I didnt need the services.jar. I can decompile framework-res.apk with APKTool, no problem. No issues editing the right file to add UnifiedNlp as a location provider. But when I try to recompile, just errors, like "could not exec", "error code 1",etc. I've tried with APKTool on Windows, Linux, and Android. I've also tried recompiling with AAPT v1 and AAPT v2. If I could get it to recompile, then we could move forward.

I've never worked with rebuilding Oreo system APKs before, I did my previous work on Marshmallow and Nougat, and it worked.

If you can get it to rebuild, try resigning with the original signature.

APKTool -c option/parameter

By default APKTool will *NOT* resign APKs after compiling them, Android wont accept unsigned APKs without deep system modifications.

And also try resigning with a plain old test key signature.
[Android Software/Hacking General [Developers Only]] Julien Faure:
Hi @AnonVendetta (and again, thanks for the follow-up),

I also get those errors on my first attempts running the OP's patch. To fix them, I updated the Patch.bat script so that to use my own (up-to-date) installation of Java as well as a more recent version of APKTool (but not the last one as it was crashing). Please find attached my modified script (renamed as txt to be allowed to upload it).

Unfortunately is seems this script is already resigning the APK with the original signature since the (re) compiling step is doing this :

java -jar tools/apktool_2.4.1.jar b -c work/framework-res -o work/framework-res.patched.apk
[Android Software/Hacking General [Developers Only]] Julien Faure:
BTW, the ROM on which I'm trying to do this is the UNOFFICIAL 15.1 LOS build of @razorloves which can be found here and which is, obviously, signed with a public key: could that be an issue?
[Android Software/Hacking General [Developers Only]] AnonVendetta:
@Julien Faure: I didnt even use the script to do the patch. Literally all the script does is decompile, edit a file, recompile. Except in your case, the recompiling isnt so easy.

Since the script is already recompiling with original signature, then let it do that. Try the patch one more time with your modded script. If still not working, try using ZipSigner/APKSigner apps to sign the APK with a test key.
[Android Software/Hacking General [Developers Only]] Julien Faure:
@AnonVendetta: what do you mean by " Try the patch one more time"? Should I restart from scratch that is to say : reinstall the ROM, patch services.jar with Smali Patcher, patch framework-res.apk with my modded script?

What are you expecting from this? The same causes should lead to the same effects shouln't they?
[Android Software/Hacking General [Developers Only]] Julien Faure:
@AnonVendetta: FYI, I tried to applied the same patch to a Pie ROM (AOSiP). I had some difficulties at the recompile step but managed to overcome them. However, once pushed the patched framework-res.apk led to quite the same result as with LOS: instead of a bootloop, I got a device stuck on the boot animation. I will try to deactivate signature verification of this ROM to see what happens and I will report here.
[Android Software/Hacking General [Developers Only]] Julien Faure:
@AnonVendetta: Victory! \o/ This time I managed to boot with the modified framework-res.apk once signature verification got deactivated. *BUT*, doing so, I realized that in my first sttempt (on LOS) I did *NOT* set the permissions on the patched apk to 644. Could that be what was preventing me from booting?

[EDIT]: !!! WARNING !!! I recently realized that I did another mistake that allowed me to boot but which put the device in an unclean state. Please see my clarification below.
[Android Software/Hacking General [Developers Only]] AnonVendetta:
Possibly, yes, very likely. To make sure the permissions on these files are set correctly, do this:

Boot into TWRP

Start terminal in TWRP

Type the following commands:

chmod 0644 /system/framework/framework-res.apk

chmod 0644 /system/framework/services.jar

chown 0:0 /system/framework/framework-res.apk

chown 0:0 /system/framework/services.jar

Wipe cache and dakvik cache, reboot.

Install MicroG, see if the "system supports location provider" box is checked. If not, then the UnifiedNlp patch isnt done correctly, or something is interfering (most likely Google Play Services, or another system app that is location related, like com.qualcomm.location). A proprietary location provider like Qualcomm's iZat technology, would be another possible cause.

If you are going to use MicroG, be sure to do its' signature spoofing patch first. The easiest way to do is is with Smali Patcher (PC required), or an on-device solution like NanoDroid Patcher. This patch isnt needed if your ROM already has spoofing support built in.

As a final step, once you've installed MicroG, reboot, and check that "UnifiedNlp is registered in system" is checked. For Oreo and Pie, MicroG needs to be installed as system app for location provider stuff to work 100%
[Android Software/Hacking General [Developers Only]] AnonVendetta:
Here is a link to 2 zips i created that you can use to install MicroG/Play Store as system apps:

not found | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com

If you're going to use official Play Store with MicroG, then:

Flash MicroG zip, delete the /system/priv-app/Phonesky folder. Then flash the PS zip. If not using PS, then you should leave this folder.
[Android Software/Hacking General [Developers Only]] Julien Faure:
@AnonVendetta: first, thanks again for your help. Now... I feel stupid. The boot problems I had with the OP's patch were indeed due to the framework-res.apk file permissions :rolleyes: The second patch (disabling signature verification) is in fact useless (at least as long as apktool is supporting the "-c" command switch).

So in short, provided one manages to recompile the framework-res.apk file and sets its permissions to 0644, the OP's patch *is working*. I tested on Oreo (Unofficial LOS 15.1) and Pie (Official AOSiP 9.0). I plan to test on Q once I will have found a decent Google-free A10 ROM for the 5x: if I'm successful I will report here again.

[EDIT]: I was even more stupid than I thought 😭. Indeed when I copied the patched framework-res.apk, I *kept* the original one in place (renaming it framework-res.stock.apk). Without this original apk file, the device is *not* booting. Given that I was not sure that signature verification was actually deactivated, the correct conclusion of what I did is: the OP's patch may or may not be working and the way I made my tests was totally unclean. Sorry guys!

Sidenote: I don't get why the usage of UNLP as a location provider is not supported *by default* by recent ROMs... I mean, it's only a matter of adding "org.microg.nlp" in a list of xml items. Sigspoof is not even required...

Finally, regarding microG: if possible, I would like to avoid it and stay with UNLP + GApps. I will come back on this in details in our private conversation.
[Android Software/Hacking General [Developers Only]] Julien Faure:
@AnonVendetta: that was too many successes in a row... The patch is not *fully* functional on Q. Indeed, since the begnning, my validations tests are the following :

#0: check that everything is ticked in the UNLP Self-Test.

#1: check that Google Maps IS NOT able to get a location.

#2: check that OsmAnd IS able to get a location.

#3: check the HereWeGo IS able to get a location.

On Q, #2 is failing. Besides, as opposed to what I observed on Oreo, despite the revokations and deactivations made by the DisableGoogle bat file of the OP, Google Play Services is still reported as having access to the location in the UI. I suspect an android (not file this time) permission issue but I don't know where to start: any help would be much appreciated.

PS: I did not forget that I have to answer the private conversation you started but I did not get the time to do it yet.
[Android Software/Hacking General [Developers Only]] Julien Faure:
The failure was *not* due to the OP's patch. The failure is more or less due to the additional layer of complexity that Q brought wrt permissions. To bypass this Q-specific issue, the cleanest way to proceed is to install UNLP (manually or thanks to an OPA zip) *before* the first boot of the installed ROM (or, alternatively, to make a data wipe after the installation of UNLP) so that its associated user permissions (especially access to background location) gets properly generated by the permission manager.
[Sprint Samsung Galaxy S7 Questions & Answers] rzrplp:
Hi All,

I have recently updated my Sprint device, which had the mobile data working flawlessly before updating. Now I want to fix it and I want to flash my device to a T-Mobile firmware but I kinda lost between forums. Where should I start? Can someone outline the steps for me?

Thanks!
[Sprint Samsung Galaxy S7 Questions & Answers] goonygugle:
Start by flashing the latest T firmware to it , if that doesn't correct your data and its showing invalid sim then your device may have been re-locked which I'm seeing a lot of lately
[LG V20 Questions & Answers] topherstrikes:
Just like the title says. I downloaded Reicast from the play store got the bios online and unzipped them. I placed the bios in the correct place and still says bios is missing. I've tried different bios, moving the paths of the bios in other locations, and renaming them without the .bin and putting back the .bin. Anyone can confirm to just get the bios to boot? If so how?
[LG V20 Questions & Answers] elijah420:
I'm not sure a forum for the v20 is the proper place for a question about Android software..

But, wtf do I know, anyway?
[LG V20 Questions & Answers] topherstrikes:
This works on other phones but not on the v20 which is the phone I'm currently using. I could update the topic name to fit better but just asked if someone could get past on what I'm stuck on. Thanks for the reply but if it's not about the topic please don't post here and clutter the thread.
[LG V20 Questions & Answers] elijah420:
Very well, this should satisfy your requirement..

You should post your question in the appropriate place. This is a question better suited to the developer of the app, instead of a forum mostly based around ROMs, customization, etc.

Better?
[LG V20 Questions & Answers] topherstrikes:
Oh sure I'll post it in something that hasn't been touched since 2014. It fits right can someone replicate the same thing on the specific device which is an lg v20 where I posted it.

This is Q&A for lg v20. You're still cluttering my thread. Please comprehend not that hard. Thanks.

I'll just leave this here...

https://xdaforums.com/showthread.php?t=3559760
[General Accessories] xuxanga:
Hi ppl!

I just had the Microsoft ZX-6000 for christmas... is it possible to connect to the htc artemis?

Regards
[XDA Assist] wessenmayer:
Hi. I need few commands to run installed apk.

I work on some android apk. Now with App Inventor 2. I set ok a radio stream, but few days i cant setup a videostream.

App Inventor support a 3gp and mp4 format. But my source was in m3u. Now in that app builder i must set on "button1" operation to open external vlc or mxplayer with my m3u source.

For that i need command/tasks

Did any can help me with this!

Thx
[Xiaomi Redmi Note 3 Questions & Answers] OscarJDSM:
Hello. Please, ¿Which is the lightest or slimmest ROM compatible with Pokémon GO for Kenzo? Thanks.
[Xiaomi Redmi Note 3 Questions & Answers] Sebaskyclad:
Slim ROM 7.1.1
[Asus  Eee Pad Transformer Prime] Nektopoli:
Anyone successfully using 128GB or larger microSD cards in their TF201?

I found a few posts from years ago but at the time 64GB microSDs were

really the max and now with 128GB ones going for less than $40US and

200GB for less than $75US it might be time to try one out.

NP
[Asus  Eee Pad Transformer Prime] matthelm:
I'm having issues with a 128GB microSD if I try to fill it over 1/2. Running standard firmware. I "think" it you use any 3rd party firmware, 128+ should work fine.
[Asus  Eee Pad Transformer Prime] herbiewalker:
I've only had the 64gb cards work just fine. No luck on a 128 or higher yet but I'm running the stock OS still....
[Asus  Eee Pad Transformer Prime] Nektopoli:
I might bite the bullet and try a 128GB, they're cheap enough now, and if it doesn't work I can find another use for it.

NP
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] TarekElsakka:
I was wondering if there is a method out there to block all incoming calls but still get notified about the number calling you?

I have a rooted S7 Edge if that makes a difference. I also have an iPhone 6 and would love a similar feature on it but I am guessing on Android it will be easier.

I am aware that I can use "Do Not Disturb" mode but then I don't really receive notifications about who is calling.

Thanks!
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] Psyscope:
Hiya

Or

Should I Answer?

Or

Sync Me
[Nexus 6P Q&A, Help & Troubleshooting] neeko92:
Hello everybody,

I'm currently running megapixel6p on a french device, with french system langage, and i would like to enable google assistant.

I'm aware that google assistant is only available in english and in german (for now), but i was wondering if it was possible making it work even though the device is in french : speak english with google assistant (and thus maybe google app in english too) but with a french interface. For now, in my goole app settings, it is said "google assistant is not available in your country" and i can see the settings, but they are greyed out.

I made it work on another device, under marshmallow with xposed : google assistant in english and the phone in french (that was "assistant enabler" i think). But now i'm on nougat and xposed isn't ready for nougat.

Google assistant is supposed to be released in France in sept 2017, and honestly if there is a way to get it before, I'm in !

I also saw this video of a guy who 's talking in french in google assistant

https://www.youtube.com/watch?v=ZT1nKMydI6s

Kinda strange, because Google affirmed it is not translated in french yet

Well, any advice will be welcome, and sorry for my english ! ;)
[Nexus 6P Q&A, Help & Troubleshooting] neeko92:
Guess i ll have to wait till september, or the next xposed for nougat
[Nexus 6P Q&A, Help & Troubleshooting] Sprinterman's:
Hello guys i have used google assitant in french on my oukitel on android 6.0 and it run perfectly and now i have buy the nexus 5x and im on rom of google pixel and the google assitant only works in english
[Nexus 6P Q&A, Help & Troubleshooting] neeko92:
Your 5x system langage is set to English?
[Nexus 6P Q&A, Help & Troubleshooting] neeko92:
What is your 5x system langage ?
[Nexus 6P Q&A, Help & Troubleshooting] neeko92:
UP

Heard from the french website kulturegeek that google assistant was in french for some lucky owners, since today. is there a way to force enabling GA ?

i installed the last google app (from apkmirror) and failed installing the google play services : but GA is still not working on my 6p, running the last PN (rooted with magisk)

Google said GA would be in french in sept 2017, but apparently it came out earlier than expected
[Nexus 6P Q&A, Help & Troubleshooting] McFy:
Up

GA work on some French's phone but not all I think that a fix can be possible. I'll try to change the build.prop to see if this can work. I hope that's no the Google server which select the devices where GA can work
[Nexus 6P Q&A, Help & Troubleshooting] neeko92:
Changed my build prop device model name to pixel xl a few weeks ago, dont know if its delayin the GA update on my phone
[Nexus 6P Q&A, Help & Troubleshooting] neeko92:
Any news on french GA ?
[Nexus 6P Q&A, Help & Troubleshooting] McFy:
Yes I have yet to enable it with the Google assistant on the play store I have had the setting of GA but It say that GA isn't actually able to use in France. But it's false some devices had it like s8 and other phone flagship and midle classes and GA work on allo from Google.. and you have you some news ?
[Nexus 6P Q&A, Help & Troubleshooting] neeko92:
Still nothing, just sayin GA is not supported in french. It is said that it is a google server side thing, but i really want to have it now !
[Nexus 6P Q&A, Help & Troubleshooting] McFy:
Oui pareil .. surtout que c'est Faut, plusieurs appareils ont reçus GA EN français

Sorry for the english people but I was too much lazy to translate my post
[Nexus 6P Q&A, Help & Troubleshooting] neeko92:
Nothing here, no GA. Any news guys ?
[Nexus 6P Q&A, Help & Troubleshooting] McFy:
Nothing same if I put my phone in English and use lucky patcher to patch google app to get GA. Still nothing ..
[Nexus 6P Q&A, Help & Troubleshooting] RepGS2ol:
Nothing in French but I had GA on my phone everytime I used english.
[Nexus 6P Q&A, Help & Troubleshooting] McFy:
I have try so much way but nothing work ..
[Nexus 6P Q&A, Help & Troubleshooting] RepGS2ol:
Usually I setup in English(UK) (don't know if it's important) and GA show up right after the initial setup
[Nexus 6P Q&A, Help & Troubleshooting] McFy:
Yes but this way doesn't work on my phone ... do you think is because I have only 1.5go of ram ?
[Nexus 6P Q&A, Help & Troubleshooting] RepGS2ol:
1.5go is the requirements so it should works
[Nexus 6P Q&A, Help & Troubleshooting] McFy:
Yes but I have try so much way to get it same in English that I think the issues is from here because maybe I have a little bit of 1.5go of ram like 1.5gb of ram I hope isn't that but I thought more in more about this hypothesis
[Nexus 6P Q&A, Help & Troubleshooting] neeko92:
Thats it, got GA in french. Woke up this morning and it activated all by itself.
[Nexus 6P Q&A, Help & Troubleshooting] RepGS2ol:
I settled on having to wait but just checked and got it too !
[Nexus 6P Q&A, Help & Troubleshooting] McFy:
Not me ...
[Sony Xperia X Compact Questions & Answers] jtk_de:
Hello,

since I'm not qualified (yet) to post this in the developer thread for the X compact - here's a LineageOS 14.1 ROM for the device to be flashed with fastboot as stated on Sony's website for the AOSP ROM (fastboot –S 256M flash boot boot.img etc).

filefactory.com/file/5wfgwk1cmzw9/LineageOS-05-03-2017-kugo.zip

Things that don't work so far:

* AudioFX (use PowerAMP or VLC for mp3 replay with bass boost/EQ)

* FM radio (no stations found at all)

Big thanks to the LineageOS team, the SonyLOS guys and Sony itself

Enjoy,

jtk_de
[Sony Xperia X Compact Questions & Answers] lba810701:
Hi! Thanks for this rom. I will try it when i am at my home pc. But, a question. It's got a built-in-root? Or we use the add on root package? Or use magisk phh superuser? I'm a little confused about the root process.
[Sony Xperia X Compact Questions & Answers] jtk_de:
Re:

To install, as with the Sony AOSP ROM, your bootloader must have been unlocked. After installation via fastboot root access can be enabled in the developer options.

If you want to build the ROM yourself init the LineageOS sources from github (cm14.1 branch) and add the local_manifests folder from SonyLOS (also on github) to the .repo directory to have a device profile and the binary blobs for the X compact aka kugo. Then repo sync, and brunch lineage_kugo-userdebug.
[Sony Xperia X Compact Questions & Answers] lba810701:
Hi!

I flashed your homemade rom. My first impression, is it's very smooth. But I found some little bugs? First is a LineageOS recovery. I must flash OpenGapps twice, to install it correctly. ( second time i mount the system inside advanced settings... maybe thats the key ) Second one is a fingerprint sensor. I can't make it to work. Neither on first run, neither later in the settings. Phone calling working, but sometimes it's dialer force stop in middle of the voice calling. ( but you could speak, just a notification came up about the FC ). Bluethooth seems ok, about music listening and about calling. Camera with the roms app is working. But, google cam doesn't start. On selfie picture, the picture is upside down. Root is inside developer settings, and it seems working fine. ( except flashfire... ) I'm using kernel toolkit ( v 1.2.1 ), and it's showing me the big cores allways off, and the phone doesn't go to deep sleep. About the battery life time i can't say too much, because the roms is nearly one day on my phone. I think it's a good start the LinageOS 14.1 to our phone. Thanks again. :)