yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] HavaWu:
Hello everybody,

For some days now, I'm struggling with my first app. I use Android Studio to make my app. It takes some time, but it is fun to do.

Some background information about my app:

In my company new employees get a binder with all the information they need about the company. Houserules, what to do in case of fire, the history and more. All this still on paper and I want to change that. Less paper in a era where there are a lot of digital devices.

It took some time and research, but I 'm capable enough to build a simple app. There is only one problem I can't solve. I want to use an menu structure (three little dots and then a menu pops up.) I can assign menu items to this structure and then it goes wrong. I want to link a menu item to a page (let's say: activity_history.xml) with onClick, but nothing happens. Nothing, the app crashes all the time.

Is there someone who can help me to solve this problem?
[Touch Dual, MDA Touch Plus General] a200462790:
I just got my touch dual and i love it but, i copied all my contacts from my sim to my phone and now they show up twice on my phone. I read in other sub-forums on this site that you can just go into the registry and change the settings, but i was just wondering if that was possible to do on my touch dual as well?

thanks,

blas
[Touch Dual, MDA Touch Plus General] Baatz:
I can´t see why it shouldn´t work

You can also use Kaisersimfix.

I´ve used it for both my Touch and Touch Dual with great result :)
[ZTE Axon 7 Guides, News, & Discussion] Hamid Chikh:
thank you for this topic , Any details on ' build.prop tweaks ' ?

and what's the best app for CPU Config ?
[ZTE Axon 7 Guides, News, & Discussion] D1stRU3T0R:
Please, can you maie a GPU tweak tutorial?
[ZTE Axon 7 Guides, News, & Discussion] Mr.Ak:
Kernel auditor
[ZTE Axon 7 Guides, News, & Discussion] unyk13:
And which shell file do i have to edit?
[ZTE Axon 7 Guides, News, & Discussion] lisbon2004:
I was tired of badly designed SIP clients eating 100% CPU and keeping the device awake, when trying to re-register on a SIP server. So i changed some settings in Synapse for my Note 4 N910F.

When device is asleep (screen locked), the CPU is on minimum freq (268 Mhz).

when screen is unlocked, maximum frequency is 2000Mhz (vs 2800 by default).

these settings helped me get solid 1 day uptime (with quite a lot of browsing), or sometimes 2 days. No problem with calls, or waking the device. (Note 4 Snapdragon).

even when the sip client is keeping the device awake, it is still manageable (due to minimum cpu freq).
[ZTE Axon 7 Guides, News, & Discussion] Neo3D:
This seems so cool!!! Thank you for this write up!! Has anyone ran any battery life and performance benchmarks to see if these mods makes any difference, good or bad?

Also, which shell file do we modify? Which folder is it in?
[ZTE Axon 7 Guides, News, & Discussion] JeromeLeung:
[MENTION=7372544]warBeard_actual[/MENTION] shared his modified file here: https://xdaforums.com/axon-7/development/2-15-2017-axon-7-msm-8996-cpu-vm-ram-t3557392/page6
[Samsung Galaxy S7 Edge Questions and Answers] NVETHIS:
So I'm on like my 4th S7 edge. I keep breaking them and getting them replaced through insurance. Well, AT&T decided my last replacement was too many so they canceled my coverage. Not to worry, I have WorthAve Group covering me now and I just received my replacement the other day. I decided to go the unlocked international route and got a SM-G935F (XSG) United Arab Emirates. As soon as popped my AT&T SIM in it immediately downloaded the Nougat update. It's working great, speed is fantastic, functionality as far as I can tell is great, no major issues.

There's a few differences I see I guess from some of the review videos on YouTube, but not much. Few questions:

Will Samsung Pay work whether on the XSG, BTU, or any other factory firmware???

Can I root the phone?

Custom ROM's can be loaded?

What is Samsung Pass in the Security section? It doesn't do anything except go to a blank white screen???

-NVE
[Samsung Galaxy S7 Edge Questions and Answers] Cosmic Blue:
yes, as long as it is stock firmware.

you can root the phone currently nougat has no reliable root but samsung pay will no longer work.

Yes, custom roms can be loaded.

I do not know what samsung pass does.
[Samsung Galaxy S7 Edge Questions and Answers] NVETHIS:
I haven't rooted yet, still on the factory XSG firmware it came with and Samsung Pay won't get any further than the initial start screen. Just sits there with the rewards info and an unending loading circle. Is this normal? Would the UK firmware give me any different results you think?

-NVE
[Samsung Galaxy S7 Edge Questions and Answers] joejoe23:
Isn't Samsung pass like using your fingerprint to sign in to websites on Samsung browser ?
[Samsung Galaxy S7 Edge Questions and Answers] NVETHIS:
I don't think so. I didn't have Samsung Pass on my previous S7 running Marshmallow, the fact tory Internet browser lets you do that currently.

-NVE
[Samsung Galaxy S7 Edge Questions and Answers] edan1979:
Samsungpay can only work if the firmware country you use support samsung pay.
[Samsung Galaxy S7 Edge Questions and Answers] NVETHIS:
Do you happen to know if there's a list of countries that support Samsung Pay?

-NVE
[Samsung Galaxy S7 Edge Questions and Answers] edan1979:
you can see the list here.

https://en.wikipedia.org/wiki/Samsung_Pay
[Samsung Galaxy S7 Edge Questions and Answers] NVETHIS:
Thanks, I Googled it right after I posted and found it. Doesn't look like any of the supporting countries have a firmware with current 7.0 [emoji20]

-NVE
[Samsung Galaxy S7 Edge Questions and Answers] NVETHIS:
Would flashing any of the custom ROM's that are updated to nougat be a viable option to get Samsung Pay to work?

-NVE
[Samsung Galaxy S7 Edge Questions and Answers] edan1979:
singapore, thailand and malaysia share same firmware. so we do have nougat.

but its a multi csc firmware... if you flash it your samsung pay will actually be in thai...

---------- Post added at 03:10 PM ---------- Previous post was at 03:08 PM ----------

no custom rom wont work... some claim that they manage to make it work... but what i read most of it user cant. so dont take a risk.
[Samsung Galaxy S7 Edge Questions and Answers] usmanmalik:
I flashed nougat btu over xeo csc and samsung pay isn't available, but I have android pay which seems to work
[Samsung Galaxy S7 Edge Questions and Answers] CuBz90:
This is incorrect. The latest SuperSU version works flawlessly on Nougat. A lot of people seem to be getting this wrong due to older versions not working.
[Samsung Galaxy S7 Edge Questions and Answers] NVETHIS:
I just Googled, is this something I can follow for the root you mention?

http://www.theandroidsoul.com/galaxy-s7-edge-android-7-0-nougat-root/

-NVE
[Samsung Galaxy S7 Edge Questions and Answers] NVETHIS:
So it would appear that until BTU or other country that has the nougat update released or I try and hack it to work like some others, Samsung Pay is not an option with this phone.

-NVE
[Samsung Galaxy S7 Edge Questions and Answers] ike_1985:
What happened to the other 3 phones?
[Samsung Galaxy S7 Edge Questions and Answers] NVETHIS:
Apparently with my S7 I have butterfingers and dropped and cracked them all. Sent them back under service provider warranty for refurbished ones. AT&T felt I had broken too many so canceled my insurance. I got a 3rd party provider, which is WAYYYY better than AT&T and all the other service providers, because they sent me a fat ol check for $800 to get a brand new phone. I went the international unlocked route which was much cheaper than the $769 for the US unlocked one. But alas, here I am without Samsung Pay [emoji22]

-NVE
[Samsung Galaxy S7 Edge Questions and Answers] ike_1985:
Get the $25 X Doria case off amazon. Besst case value period.
[Samsung Galaxy S7 Edge Questions and Answers] NVETHIS:
The reason it always cracks is because I despise cases, I literally hate them. I'm more of a nude kind of phone owner.

-NVE
[Android General] Androphilius:
Hi,

I am just thinking about how to harden my smartphone for a vacation backpacker trip around Thailand lasting one month. Circumstances:

1) Free Wifi and VPN

I am going to buy a sim card with mobile data at the airport, no difficulties there (dual-sim smartphone). But every time I connect to a free wifi, all my data is send unencrypted until I connect to a VPN gateway. But in between there is enough time for every background service to exchange data. Security concerns justified? The wifi owner can attack via man-in-the-middle or simply capture data or websites with wireshark.

Solution:

setting up a Firewall?! 3G/4G allow all, wifi block all, vpn allow all ?

2) Loosing the smartphone

First fact - my external sd card is not encrypted as I got one corrupted very quick and all the apps using the feature got unusable. So the data can be easily read, I just keep that in mind.

Next, the smartphone will be locked with a security pattern, so the thief or finder wont be able to use it. On the lockscreen my name and adress is written, finders fee, etc.

Do you set up a cerberus for remote tracking, deeply integrated into the smartphone?

Do you sync your pictures directly to the cloud whenever you have a strong wifi connection?

Where do you store your passwords "offline" - paper in your wallet (I use Keepass for everything, I do not even know my passwords for e-mail, Google and Facebook since they are very strong)
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] The-CROW:
Hello,

I've had my GT-N8000 since 2013 it has 3G option and is ulocked.

I remember when i got it it had a baseband N8000XXALI3, i remember cos I wrote it on the box! Back then it had the very first rom edition of 4.0 something and wanted to update the firmware but no updates were available at the time. I waited a couple of months and after that i flashed on it the german 4.1.2 stock rom using Odin. My Tablet is unlocked so all went well and it still runs very well. It's not rooted.

Currently my tablet has the following info:

AP: N8000XXCMA1

CP: N8000XXCLL1

CSC: N8000XACMA1

Now when looking for updates, none show up on OTA or KIES, and i really need to update to the latest official rom which as I understand is 4.4 but I don't know which file to download. Can you help me? Anything I need to do before that? Backup a Nand or EFS? I don't really know what those are!

Any advice on which rom to use and keep the s-pen functionality and 3G? Are there any new roms for marshmallow?

Thank you kindly in advance.
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] JJEgan:
https://www.sammobile.com/firmwares/database/GT-N8000/

Baseband is modem not firmware .
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] The-CROW:
Thank you for replying,

I have already went to that page and I wanted to make sure which rom to download, there are many 4.4.2 but none of them are for my country. And to tell you the truth, this tablet was offered to me as a gift back then from overseas and I'm not sure of its country of origin. I there a way to know that?

So I'm not sure which rom to download and flash without messing something up!

Sorry for the noob questions, the more details you can provide will be appreciated. And thanks again.
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] JJEgan:
Download for your location/network/model.
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] The-CROW:
My device is unlocked as in not bound to a cell carrier and neither my location nor my provider are available in that list of roms.

In that case what's the best option?

Thank you kindly.
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] JJEgan:
Latest .
[XDA Assist] :
Hi! I own the Nexus5X and I am interesting in creating a custom ROM for the device. I have synced the AOSP source tree, gotten everything set up and flashed a build on to my device.

How can I start creating a ROM for the device? What are some general guidelines? How do I start tweaking apps, adding features, etc.

Also, if someone could take a look at these errors I am getting with my AOSP build that would be awesome: https://xdaforums.com/nexus-5x/help/issues-aosp-built-source-bullhead-t3555439

Thanks :)
[XDA Assist] FSadino:
Hello,

If you have interest in develop a custom rom, i suggest you start at XDA University to learn a bit of everything about Android.

You have some great guides on Android Software Development (look at stick posts)

I have my own guide which is not finished but I will teach everything you need to know about build a custom ROM from source, how to use github, git, mergetool etc... You can follow my progress HERE
[XDA Assist] :
OK thanks, I will take a look at that. If possible, could you take a look at the errors I am getting with my AOSP build? I posed the link in the original post. :) Also, do you have to run extract-files.sh or can you simply download the vendor binaries from Google and run the extracting script? (AOSP)
[XDA Assist] FSadino:
If you fork/download vendor binaries you don't need to run extracting script ;)
[Xiaomi Mi 5 Guides, News, & Discussion] Ulver:
Once you unlock it once, you can unlock it again without waiting. I just unlocked and relocked my Mi5 about 3 times in a couple days.
[Xiaomi Mi 5 Guides, News, & Discussion] coronafire:
Oh really? Wow, nothing I've read anywhere in the last few weeks has said that before, certainly simplifies things!

Do non stock kernels boot on a locked bootloader though? They didn't on my previous Sony.
[Xiaomi Mi 5 Guides, News, & Discussion] Ulver:
It does make it easy. I initially unlocked my bootloader to flash the global stable, then used mi flash to flash the ROM and relock my bootloader. I wasn't happy with the stable ROM, so I went back into the mi unlock tool, unlocked again, and flashed the dev ROM and relocked Then I see 8.2 is coming soon, so I went back to mi unlock and unlocked yet again so I can flash the new 8.2 when it comes out.

I'm not sure on kernels, haven't messed with them on Xiaomi devices.
[Xiaomi Mi 5 Guides, News, & Discussion] the_poolee:
Did anyone try this patch on MIUI?

Edit: Just tried on MIUI v7.2.9 Global Dev. CTS profile and Basic Integrity check both fails.... What a bummer...
[Xiaomi Mi 5 Guides, News, & Discussion] coronafire:
Drats. If basic integrity is failing that's something else triggering the issue. Before I changed the fingerprint I only had cts failing, basic was usually fine. Sometimes a replacement kernel would cause it to fail basic, but I never narrowed down exactly what the cause was.
[Xiaomi Mi 5 Guides, News, & Discussion] miszko77:
Works on LOS. Anyway my bank doesn't support android pay yet.
[Xiaomi Mi 5 Guides, News, & Discussion] coronafire:
Looked into it some more to confirm - I'm quite sure you can't re-lock the bootloader if using anything that's not an official xiaomi rom, ie if using lineage, or even the xiaomi.eu rom, you can't lock bootloader without having a bootloop.

And yeah, I've confimed this method doesn't work on xiaomi.eu rom 7.1.20 or 7.2.16 on mi5. It gets both failed basic integritry and failed cts profile match.

I've also tried on Global Stable 8.1.4.0 with unlocked bootloader and had no luck at all, same error.

This was a clean install, factory wipe, install magisk v11.1. Initially the check couldn't work at all, I had to get google play services updated for anything to work. Then the check operates, but fails on both counts.
[Xiaomi Mi 5 Guides, News, & Discussion] Ulver:
I passed safety net on 8.1.2.0 global stable, but failed to add a card in Android Pay. I'm hoping 8.2 works.
[Xiaomi Mi 5 Guides, News, & Discussion] coronafire:
As described by [MENTION=3442245]Ulver[/MENTION] if you're on official builds, you should be able to re-lock the bootloader and avoid this issue (although without root I guess).

Aside from that, you definitely shouldn't need the zip I made for the build prop change, as you'll already have a stable build fingerprint :)

It turns out there's lots of versions of official rom that don't pass safetynet even when cleanly flashed with locked bootloader - xiaomi themselves keep breaking it!

A little search finds lots of references, such as this entire thread, and this post in particular: http://en.miui.com/forum.php?mod=redirect&goto=findpost&ptid=273319&pid=7515203

This certainly complicates things....
[Xiaomi Mi 5 Guides, News, & Discussion] coronafire:
Turns out you can't always re-unlock....

To test more thoroughly I decided to flashtool wipe and lock my mi5 to stable release that's reported to pass safetynet; global_images_V8.0.2.0.MAAMIDG

My plan is to verify that it passed when locked (it did), then unlock and just install magisk to see if that worked to hide.

Well, MiUnlock has told me I can't unlock, I logged back into unlock web site and it now says my unlock request is rejected (on same account as I originally unlocked on). So now I have a locked device on global stable and have to wait for re-application to unlock.

FWIW I then allowed MIUI to OTA update itself to 8.1.2.0(MAAMIDI) and then safetynet helper originally told me no, fail on both basic and cts.

Ran it a couple more times though and now it's passing. go figure... safetynet is somewhat unreliable.

tl;dr don't re-lock your phone assuming you'll be able to immediately re-unlock it, it clearly works some of the time, not always though.
[Xiaomi Mi 5 Guides, News, & Discussion] coronafire:
Good news, I've got SafetyNet pass on xiaomi.eu (MIUI) rom with unlocked bootloader

In the end it's basically the same as the original LOS method except that as we've all seen earlier Magisk v11.1 isn't working for MIUI.

This win was achieved with Magisk v9 and phh-superuser-magisk-r266-2 with the current Magisk Manager (4.2.6)

As per the screenshot I'm running xiaomi.eu MUIU 8.3 7.2.24 in Mi5

My procedure was:

* dirty flash rom to clean up prior attempts (Install) xiaomi.eu_multi_MI5_7.2.24_v8-7.0.zip

* Install gemini-safetynetpass-stable-fingerprint-20170217.zip

* Install Magisk-v9.zip

* Install phh-superuser-magisk-r266-2.zip

* Reboot.

Simple as that, Magisk Manager shows SafetyNet passing (after asking for root privs on first launch)

I've added a new card in Android Pay, haven't tested at a terminal yet though.

If anyone's interested I previously got SafetyNet passing on MIUI with a custom kernel instead of Magisk, this gave SafetyNet green without any kind of root.

The problem with custom kernel's at this stage is the capacitive buttons (back and app switch) have reduced sensitivity / only work well when the phone is charging. AFAIK this is only really a problem on phones with LGD lcd's (what I have), the other ones might work fine.

If anyone wants to try my kernel instead let me know and I'll share it, I found it to be a bit flaky though.
[Xiaomi Mi 5 Guides, News, & Discussion] rafix96:
@up:

For me not working.. SafetyNet test always have CTS false.. I tried clean install and for now it's not works.
[Xiaomi Mi 5 Guides, News, & Discussion] coronafire:
Which version of which rom did you try?
[Xiaomi Mi 5 Guides, News, & Discussion] the_poolee:
I would definitely would like to confirm this on the latest miui official global dev
[Xiaomi Mi 5 Guides, News, & Discussion] rafix96:
First i try this on 7.2.24 xiaomi.eu later i updated MIUI to 7.2.3 and unfortunately it does not working too...
[Xiaomi Mi 5 Guides, News, & Discussion] coronafire:
That's annoying, 7.2.24 is what works for me. It's been my daily driver since, and I've used android pay at a terminal no worries.

Do you definitely have Magisk v9 and phh-superuser-magisk-r266-2.zip ?

Magisk v11 cannot be installed else a dirty flash will be needed.

Oh, I just remembered I've also installed the 'phh's SuperUser' app from Play Store. This is probably needed :)

After that I opened Magisk Manager, which asked for root permissions the first time (which has to be granted).
[Xiaomi Mi 5 Guides, News, & Discussion] rafix96:
[MENTION=2987253]coronafire[/MENTION]

Yes i tried everything but i have another one idea, when i come back to home i did MiFlash and then install eu 7.2.24 maybe will work.

Wysłane z mojego MI 5 przy użyciu Tapatalka
[Xiaomi Mi 5 Guides, News, & Discussion] hklam0:
basically, if you don't need root, just flash

the latest zip in the following link (by kyasu)

https://www.androidfilehost.com/?w=files&flid=149919

will pass safetynet without locked bootloader. As they latest kernel is 2 weeks old, please consider there may be some drawback in flashing an old kernel to latest LOS build. By the way, would kyasu please update the file or let us know is there is any easy way to patch on our own?
[Xiaomi Mi 5 Guides, News, & Discussion] coronafire:
Just to note, this is only for LineageOS, not MIUI.

Personally I find it easier to not need to replace the kernel and just install magisk, if root isn't wanted it can be disabled in the magisk app.

But yes it's true you can replace the kernel with a patched one, avoiding installing any kind of root.

I've experimented with this quite a bit myself, however to update it requires at a minimum applying a patch/commit to a fork of the kernel source you're starting with and compiling it.

I've got a fork of the MIUI kernel from [MENTION=4802595]Shaky156[/MENTION] with the appropriate patch:

https://github.com/andrewleech/Mi5-...mmit/66cbe734eb15d2508a5c80157a8af38d59373535

and example build script:

https://github.com/andrewleech/Mi5-MIUI8-Nougat-Kernel/blob/master/build.sh

Or there's the original patch by [MENTION=4800121]Sultanxda[/MENTION] which usually works as well, I did test this on a LineageOS kernel but this is pretty out of date too by now, and I started from a different forked kernel anyway.

https://github.com/andrewleech/andr...mmit/f8314c10146971979ad26c881be9bd17603c1e7d
[Xiaomi Mi 5 Guides, News, & Discussion] leccestar:
Thanks for repeatedly coming back to fix this. I rely on it as I'm sure a lot of people do. Many thanks [emoji106]
[Xiaomi Mi 5 Guides, News, & Discussion] mcwiklin:
Hey, all. Any updates on this issue?

Github is still not working for safetynet kernels

Magisk 13.3 is also not working, event with addon with the latest Lineage release
[Xiaomi Mi 5 Guides, News, & Discussion] coronafire:
Yep the Gitlab builder is still in progress getting the repo bank into shape manually.

My lineage 20170729 works perfectly with 13.3 without any extra modules. I'm just updating lineage now, let you know whether it breaks things for me.
[Xiaomi Mi 5 Guides, News, & Discussion] mcwiklin:
SafentyNet works, but Android Pay not.
[Xiaomi Mi 5 Guides, News, & Discussion] coronafire:
Updated to lineage 20170801 with magisk 13.3 and yes safetynet is still fine. Android pay app still works fine and lists my linked cards.

Haven't had a chance to try it at a terminal (I don't actually use it that much) is it only the actual payments failing for you?
[Xiaomi Mi 5 Guides, News, & Discussion] coronafire:
Ok, I haven't had a chance to try at a terminal but a friend had an android pay fail even though safetynet passes, so yes it appears to be a thing. Haven't been about to find any other references to this issue on xda though so I don't know if it's just our phones? :(

On a positive note I've got the kernel build up and running again.

https://gitlab.com/alelec/android_kernel_xiaomi_msm8996/tags

Not sure if the autobuilder will keep working (the size of the git repo causes some issues here) but it's easier for me to maintain semi-manually if needed.

Edit: my friend and I both used Android pay successfully tonight with no problems. Both on lineage with magisk 13.3
[Xiaomi Mi 5 Guides, News, & Discussion] Karls0:
Is there any direct link for download? I mean without join telegraph group.
[Xiaomi Mi 5 Guides, News, & Discussion] lsl640:
Hi, sorry i don't think there is, developer not allow anyone to share the file from telegram group
[Xiaomi Mi 5 Guides, News, & Discussion] chhapil:
you can download the code from dev branch as zip and move its content in the root of the zip, it full fledged working code.
[Xiaomi Mi 5 Guides, News, & Discussion] mcwiklin:
After 5th of August builds stopped again... https://gitlab.com/alelec/android_kernel_xiaomi_msm8996/tags
[Xiaomi Mi 5 Guides, News, & Discussion] Karls0:
After update to Magisk v14 it doesn't pass safetynet. Anyone was able to fix it?