yashsingh1/xdaforums huggingface dataset:
[Huawei P20 Guides, News, & Discussion] MrVicious:
I could flash ramdisk.img with no problems, but couldn't install Magisk.

Help please.

(P20 EML-L09c605 EMUI 9.1)
[Huawei P20 Guides, News, & Discussion] MrVicious:
Solved patching with magisk

before

executing fastboot flash recovery_ramdisk ramdisk.img and then, executing adb reboot recovery h with the phone on, in file transfer mode.
[Huawei P20 Guides, News, & Discussion] Perezoner:
This img works in EML-L29?. Thanks
[Huawei P20 Guides, News, & Discussion] RashGhar:
without bootloader?
[Huawei P20 Guides, News, & Discussion] dhvenus:
Bootloader unlocking is not anymore supported by Huawei. Buy an another phone. No Huawei!
[Huawei P20 Guides, News, & Discussion] Muscar:
Hey, I want to install twrp also, anyone got a link on how to do that? I only find info for P20 Pro...
[Huawei P20 Guides, News, & Discussion] MiLMiLiTTo:
please if you can provide a link to how to unlock this phone's bootloader. Thank you
[Huawei P20 Guides, News, & Discussion] Bgirao:
HI, can you help step by step???
[Huawei P20 Guides, News, & Discussion] mammelzen:
Any chance to root emui 10?
[Huawei P20 Guides, News, & Discussion] RashGhar:
Killed my P20 trying. Anyway, Huawei phones are dead to me. Switched to a Redmi note 9 pro. Paid 400$CAD. 6GB RAM, 128GB ROM, 720G processor. Wouldn't go back to Huawei. With Xiaomi, so easy. They provide a tool, you request to deactivate the lock, wait for 3 days, unlocked. Done.
[Huawei P20 Guides, News, & Discussion] shtresatu:
Are you happy with Xiaomi purchase? I'm thinking to take a redmi note 9 pro also! Works better than p20? Also, bootloader unlock is a plus for me!
[Huawei P20 Guides, News, & Discussion] RashGhar:
It's a good one for sure. Battery for days! I tried the A51. I do not recommend it. Charging port died on me after 4 months of use. Luckily enough, I was able to get a refund from Amazon.

At this price, I don't think you can get anything better. I'm not an heavy user neither a mobile gamer. Got a Pc for that. Cannot guarantee but from the videos I've seen on YouTube, it seems capable enough for games.

Good thing to know: it is supposed to have android 11 on January 2021. Miui 12 on Oct. 20th

I guess it depends on the price you can get it. The biggest downside of this phone are the connectivity bands. At least for Canada. I'm with FIZZ and don't have all bands. Had better signal with the A51.

Hopefully you can get a good price. For now, I can't find any on Amazon.ca though.
[Huawei P20 Guides, News, & Discussion] shtresatu:
I'm not a mobile gamer. Only for conectivity, pictures and internet. In Romania you can buy it at aprox 250 euro. If I can install custom rom on it, it's alreadu a big plus.
[Huawei P20 Guides, News, & Discussion] RashGhar:
That'll do just fine. Can't really get much better for the price. Also, for connectivity, it's best in class for Romania: https://www.frequencycheck.com/comp...-td-lte-64gb-m2003j15ss-xiaomi-merlin/romania
[Xiaomi Mi A2 / 6X Questions & Answers] sureshkadiri:
Recently I purchased Mi A2. For every new app installation that newly installed app is being added to home screen.

previously in my old mobiles like Mi A1 there was an option in Play Store settings to disable this.

Now I cannot find this option in Play Store settings. Is any solution to disable this?
[Xiaomi Mi A2 / 6X Questions & Answers] medkim:
try another launcher app

for me I use rootless launcher from play store it seems good
[Xiaomi Mi A2 / 6X Questions & Answers] J.D.M:
Click and hold on your smartphone desktop, a few options will appear, click "Home Settings" and disable the "Add icon to Home Screen" option.
[Xiaomi Mi A2 / 6X Questions & Answers] sureshkadiri:
Thank you very much..It worked.
[Android] ma.rapp:
I am currently trying to build AOSP for the Hikey 970 development board (I am not allowed to post the link to the guide).

Building succeeds, but during booting, there seems to be an issue with fstab, which prevents the device from booting properly:

...
[ 5.748555] init: init first stage started!
[ 5.752941] init: [libfs_mgr]dt_fstab: Processing partition vendor
[ 5.79152] init: [libfs_mgr]dt_fstab: Skip disabled entry for partition vendor
[ 5.766463] init: [libfs_mgr]dt_fstab: Processing partition system
[ 5.772678] init: [libfs_mgr]dt_fstab: Skip disabled entry for partition system
[ 5.780000] init: [libs_mgr]ReadFstabFromDt(): failed to read fstab from dt
[ 5.787095] init: [libfs_mgr]dt_fstab: Processing partition vendor
[ 5.793289] init: [libfs_mgr]dt_fstab: Skip disabled entry for partition vendor
[ 5.800600] init: [libfs_mgr]dt_fstab: Processing partition system
[ 5.806793] init: [libfs_mgr]dt_fstab: Skip disabled entry for partition system
[ 5.814588] kvm: exiting hardware virtualization
[ 5.819423] hifi_misc [I][364638]:hifi_reboot_notifier:1378: reboot +.
[ 5.825950] hifi_misc [I][364852]:hifi_reboot_notifier:1387: reboot -.
[ 5.833832] sd 0:0:0:3: [sdd] Synchronizing SCSI cache
[ 5.839301] sd 0:0:0:2: [sdc] Synchronizing SCSI cache
[ 5.844710] sd 0:0:0:1: [sdb] Synchronizing SCSI cache
[ 5.850109] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 6.021721] reboot: Restarting system with command 'bootloader'
...
(system reboots)

(The lines "Processing partition ..." have been added by me to the function read_fstab_from_dt in fs_mgr_fstab.cpp to see if there are any other partitions besides vendor and system.)

I also tried modifying the device tree kirin970-hikey970.dts according to changes suggested in another forum (96boards: "Filesystem not available"), but that did not change the observed error.

I am new to AOSP and don't know which direction to continue searching:

Should there be other partitions except vendor and system?

Is it correct behavior that these partitions are skipped (disabled entry)?

I appreciate your suggestions.
[Android] GabrielSousa:
did u manage to fix this ? i have the same issue
[HTC 10 Questions & Answers] usernome:
Android 8.0.0 (3.16.617.2) .

Is there any fix ?

I cleared cache and data from play services and play store .
[HTC 10 Questions & Answers] Mr Hofs:
A fix for what exactly ? Do you have more info please. Custom rom ? Which one and version ? The more info the better.......do you mean the play store only ?
[HTC 10 Questions & Answers] usernome:
Stock ROM .

I try to install from Play Store and I get this error on some applications .
[HTC 10 Questions & Answers] Mr Hofs:
Which applications, would you mind to be more specific otherwise i will have to give up ?

And i would like to add that you need to open questions in the Q&A section next time
[HTC 10 Questions & Answers] usernome:
I tried to install Netflix .
[General Questions and Answers] An48138:
What is the Android .Studio folder for? The fx file manager is showing that there are 6.3 GB of .jpg files in that folder on my Google Tab Pro. There are 416 files with names such as tempHistoryInfo1540106202844HistoryInfo.jpg. The numbers vary, but most of the files are the same size - 15.6 MiB dating from August 6, 2016 to Jan 21, 2019. There are two 26.1 MiB files dated July 8, 2016, one 2.4 MiB dated April 29, 2017.

I need to clear space on the device, but am unable to open a file to see what it is.

Any help is appreciated!
[Android Apps and Games] maximephanthanh:
Hello to everybody,

I'm glad to propose you my game BlocksLAN that is a tetris like game with a very cool multiplayer feature.

The multiplayer feature allow you to play in PvP with an other player, cast spells to him to make him loose (blur, water, possession...)

It is available here (and also on google play)

https://labs.xda-developers.com/store/app/com.maximephan.blockslan

and you will find here a video about the game in multiaplyer mode

https://www.youtube.com/watch?v=8IkLsqvjatA

The game is new and not much player yet, so to test the PvP feature you may need a friend to play with.

Ihope you will enjoy it and give me all feedback to make it better!

Thanks a lot.
[Xiaomi Poco F1 Questions & Answers] aikhhk8:
Is the notch issue on Pubg is fixed on v10.2.2.0 ? As i am on v10.0.4.0 (older version, oreo one ) i didn't want to upgrade till it get fixed . Please Answer or is there any trick to use pubg with full notch screen with latest update ?
[Xiaomi Poco F1 Questions & Answers] iamROX:
yes, issue is fixed
[Xiaomi Poco F1 Questions & Answers] aikhhk8:
Are you sure notch area is filled by game not dark part ?
[Xiaomi Poco F1 Questions & Answers] aikhhk8:
Dude you literally ****ed me up , I flashed the update NOW I am regretting
[Xiaomi Poco F1 Questions & Answers] Mooatreides:
It isnt fixed the game doesnt go into the notch theres still a black line there with straight corner!
[Xiaomi Poco F1 Questions & Answers] w1040:
Dude, Miui update has nothing to do with notch im pubg. You can go to pubg settings, and choose if you wanna play pubg with full notch or no notch. Then restart your pubg. Problem solved. Close this thread.
[Xiaomi Poco F1 Questions & Answers] Mooatreides:
HOW it doesnt work? i put it on "notch" reload the game and its the same with the icons moved inwards, the game doesnt go into the notch.
[Xiaomi Poco F1 Questions & Answers] aikhhk8:
Dude miui update has everything to do with that , using notched display will shift your controls inside the black line still exist . In sept we had same problem and it was fixed now on pie it's the same so hoping for fix . If you want to enjoy full notch gameplay revert to v10.0.4.0 and see the magic
[Xiaomi Poco F1 Questions & Answers] gamerlucky:
even on latest beta its not there . checked re-starting the game still not working
[Xiaomi Poco F1 Questions & Answers] khrisnaa3:
i had the same problem here.. not just for pubg, also for the other apps (ex: whatsapp). if you make it to landscape, then the notch shows a black display ..
[Xiaomi Poco F1 Questions & Answers] masterross:
Yep.

Not works even with latest beta...
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] ECr34T1v3:
* This version is ONLY for RIVA. AEX Pie Official for ROLEX users HERE *

Changelogs

Build 2019/01/25:

-Fixed: Hotspot

-Fixed: Random WiFi Disconnect

-Fixed: Some WiFi problems

-Fixed: HW Encryption

-Fixed: Low LED blinking while charging

-Fixed: Some LED problems

-Fixed: Some Framedrop while playing High-End games

-Upstreamed: Kernel to v3.18.131 from CAF

Build 2019/01/22:

-Initial Build

-Merged: New Version of AospExtended (v6.2)

Changes in https://blog.aospextended.com/AospExtended-v6.2-Changelog/

-Merged: January Security Patch (9.0.0_r30)

-Merged: New Device Tree (Thanks to sunnyraj / muralivijay / TeamLions)

-Merged: Default Hals (only audio custom hal)

-Added: New Graphic / SDM blobs

Screenshots

Frequently Asked Questions (F.A.Q)

Q: Which TWRP do I use?

A: Use latest TWRP for RIVA from HERE

Q: Which GApps do I use?

A: Flash OpenGApps Pico (recommended version). Link HERE

Q: Is there a bug in ROM??

A: No. It is stable. Maybe there is a problem (if you have it, let me know which one I will correct), but it is stable for daily use.

Q: Do I have to wipe data if coming from another ROM?

A: Yes, I will not be providing help/support to users that haven't wiped data when coming from another ROM.

Q: How often will I be getting updates?

A: The plan is for weeklies, if unavoidable circumstances come up, please don't spam the thread. I will release a build as soon as one is ready.

Q: Does VoLTE/VoWiFi work?

A: Yes, works.

Q: Is the ROM official?

A: Yes, Official, and updates OTA available.

Q: I use Telegram, where can I find help on that platform?

A: There is a common AEX Group Chat for all devices, the link is HERE

Q: Does SafteyNet pass and is the SELinux Enforcing?

A: Yes, SafetyNet does pass and SELinux is Permissive.

Special Thanks

Carlos Arriaga (@CarlosArriagaCM) and Murali (@muralivijay) for all <3

Fabian (@33bca) and Manuel Carmona (@manucarcor) for the help

Stark(@devstark15), StarLord (@dellschulz) and Caio Oliveira (@Caio99BR) for helping me get started

Thanks too for Aryan Patidar, MacTavish (@ataberkozen), Souradeep (@SouradeepB), Oli and PuteraP

Thanks to everyone for the support <3
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] wolkenkrieger:
Yeah! Nice :)

[Edit]

404 riva not found ... at https://downloads.aospextended.com/riva ??

[Edit #2]

404 No builds

*lol*

Maybe ECr34T1v3 is currently uploading?! :)
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] ECr34T1v3:
Keep calm, bro ;) .. Currently uploaded, waiting some minutes and verify the download page again <3
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] ECr34T1v3:
Initial Update available, guys. Changelogs in #2 post, screenshots too. I hope you enjoy, new updates OTA coming <3
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Mr.Baggins:
led notification does not work properly.

Even through console:

riva:/ # echo 1 > /sys/class/leds/red/blink

There is the only charging led is working.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] shariyarsojib:
Xiaomi 5A Prime

Will it work on 5A Prime/Y1/UGG
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] faizalpathan:
Gcam is not working please give me suggestion which camera port is working on this rom
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] ezrawk:
Hi, thanks for officially bringing AEX for riva. I flashed your latest build around 2-3 hours ago and switched back to my backup afterwards. I was on the go, needed wifi tethering, so I couldn't fetch some logs for you. The wifi tethering and usb tethering is bugged. Tried both, both of them successfully connected but no internet connection from the device was transferring to my laptop. After a minute or less of being connected, suddenly the phone's systemUI crashes and reopens. After it reopens, the battery on the statusbar shows 0% and everything freezes (touchscreen stops responding) which ended up forcing me to do a force reboot (holding the powe button).

First I thought it was because I flashed latest inferno kernel, but after restoring stock aex kernel (the same bug persists) and then after that doing a clean flash with just the rom and magisk, still the tethering is bugged.

Other than that, without using tethering, the rom is stable enough to use. I tested one game, and it ran smoothly the same as my previous rom (NOS Pie). Overall I had no issues, except for tethering. Tested arnova's GCam Mod, and it worked the same as my previous roms.

Once again, thank you for bringing AEX riva. Rooting for the updates and fixes. Kudos! :svetius:

Arnova's and scrubber's. Arnova's recommended apk mod is the one you should download.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] GHOSTisSavage:
Face lock is not working. How can I get it to work?
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] syndrm:
Which Arnova's vers.

Cz i always use scrubber's
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] ezrawk:
It worked fine when I flashed it. Have you used the proper gapps that includes facelock?

This one bro ;)

Try using it with gcam fix magisk module. I don't know if it's still in the official repo or not. If it isn't try searchin it pak.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] syndrm:
Tx pak, i'll try :good:
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Deatrg:
It is amazing to have riva own AEX! Thanks for bring riva to AEX official! ROM is SMOOTH , really NICE and NO major bug, so I am using it for daily now. Thanks again bro!
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] m@ze.:
Is hotspot working ?
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] faizalpathan:
Please shere camera link
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] dbgsp:
So far no, the phone keeps soft rebooting after a minute of hotspot.

Gaming performance is great tho.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] officialputuid:
Please Fix Hotspots & tethering. I have done clean install, hospot & tethering (works, but when it was loaded into my PC, it was detected that there was no internet access then the phone restarted after a minute or two of the hotspot.)
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] faizalpathan:
Same here
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] pinakighosh1983:
Can't seem to be able to get rid of the "internal error" message. Everything else works fine as ever. Cheers!
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] m@ze.:
https://drive.google.com/file/d/15ldqwufZg_NI-4bgJQHwsgZyeOFNkXfF/view

Flash this with magisk to fix internal error , I found it i n a telegram group

t.me/Redmi5AID_Channel
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] officialputuid:
AospExtended-v6.2-riva-20190125-2115-OFFICIAL.zip

January 25th 2019, 9:15 pm

============================

AospExtended 6.2 Changelog

============================

-Fixed: Hotspot

-Fixed: Random WiFi Disconnect

-Fixed: Some WiFi problems

-Fixed: HW Encryption

-Fixed: Low LED blinking while charging

-Fixed: Some LED problems

-Fixed: Some Framedrop while playing High-End games

-Upstreamed: Kernel to v3.18.131 from CAF

Thankyou for update :)
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Plawan21nov:
fixed in new update
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] pinakighosh1983:
Thanks a lot. That helped. :)

---------- Post added at 04:37 AM ---------- Previous post was at 04:25 AM ----------

Hello Dev, I wanted to know if I could use some of my own TTF font files with the font setting option. I'm not the biggest fan of sans serif fonts and prefer serif fonts as system font. I have a few of my favourite TTF files stored in the internal memory. Is there any way to set one of those as the system font?

Please help.

Thanks in advance.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] m@ze.:
Still after new update led doesn't blink on notifications , led turns on while charging only.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] GHOSTisSavage:
Thank you very much.. Team AEX..

The new update fixed almost all the bugs...

We are very Happy to have you.

Please never ditch Riva and always stay with us.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] officialputuid:
after update, still hotspots don't show internet access :(
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] pinakighosh1983:
Same here! Tethering and hotspot still not working, even with 25Jan build. :(
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] fikriwirahman:
Hi dude, why FM Radio is not working? Can you guys gave me some tricks for this?
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Dennydap:
Hi, before I move to this ROM I want to confirm something: Does playing music through bluetooth works? Especially with aptX codec?
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] gozarudin:
does it will work if flash it from miui 10? ( i try it and it doesn't work)

Hotspot is working with problem ( can connected from other device but no Internet access)
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] JimmyKudo1234:
Is hotspot working now???
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] GHOSTisSavage:
I think 'Invert colours' is not working.. somebody please check..
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] dbgsp:
It used to crash the ROM every time I turned on hotspot. The 25th January build fixed that, but it still doesn't fix internet not being forwarded through hotspot, thus other device using the hotspot didn't get any internet connection whilst being connected to the hotspot.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] fireclouu:
bugs

- Error when turning off and on saying contact my manufacturer

- cannot mount /vendor , I can't flash magisk because of it

- system UI sometimes fails, when installing an app, it freezes on package installer even though I press home button, but menu still works, only foregrounds package installer UI but menu is functioning correctly

- resizing Gboard app doesn't change anything

- wifi hotspot not transferring anything , not working properly
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] JimmyKudo1234:
Use Dragon TWRP. Boot it, go to mount and tick Vendor to mount it. this applies to not only this ROM but any ROM for any phone. default TWRP doesnt mount vendor, so you can install magisk with that. Boot Dragon TWRP or any other Recovery with Vendor support.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] fikriwirahman:
i can't convert sd card to internal card. can you fix this?
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] JimmyKudo1234:
#Go to your settings -> Storage.

#Select your SD Card and open it.

#Press three dots icon on top.

#Select Storage Settings.

#Choose format as internal storage.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] wolkenkrieger:
Have you tryed it? If not: do it :(

Formatting stops at 40%
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] gozarudin:
The link is broken, file not found

---------- Post added at 07:30 AM ---------- Previous post was at 07:29 AM ----------

The file doesn't exist
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] sanchaz12:
Just tried the ROM, it's nice and fast. So far lag-free!

Only I noticed some issues in this early release;

1. After booting the phone it shows an error message.

2. Night Light doesn't do anything.

3. The fading animation of turning the screen on works, but turning the screen off is instant without animation.

These issues are easily reproduceable, so I didn't include a logcat this time.

I did a full wipe including formatting /data and used the OpenGapps 9.0 ARM64 Micro package.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] wolkenkrieger:
Fixing the "There's an internal ...":

Open BuildProp-Editor, search for "treble" (i write this just out of the fly ... i haven't the phone here to look for the exact term ---- just search for "treble" ... it should look like "ro.treble" or similar and should be set to true by default) set it to "false" and reboot the phone.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] joy287:
Grayscale is also not working
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Techlover aman:
a little internet Bug

Great job, Thanks for developing this custom ROM it's a very stable and working very good.

A little bug is there that the hostpot tethering and usb tethering is not working. can please help me with this thing.

i did a little troubleshooting and it says that maybe the DNS is an issue
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] ECr34T1v3:
Update OTA (25/01) available (in long time, i see :c) .. Sorry for notify this only now, guys, i'm very busy. Anyway.. Changelog in #2 Post of Topic. Thanks for all <3
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] fireclouu:
bugs

Animation while dragging icons on launcher ui lags a lot

text not invert color on some dialog menu, making it unreadable (e.g. set theme on dark mode, go to digital wellbeing and set timer on any app. )

night light amber tint not working

problem with ram management sometimes not closing other apps , even removing it on recents tab , resulting to continous restart of launcher UI

When changing "Users" from Admin to Guest and logging back again as Admin, settings on Guest are being adopted by Admin as well.

wifi hotspot not transferring packets coming from mobile data

can i also request some suggestions like auto-record call coversation, color scheme for sms for certain contacts and internal audio recording for screen record? thanks a lot for this awesome rom!
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] gozarudin:
So any update about hotspot problem?

Internet still not transfered.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] dabenkz:
for Hotspot,

try this method :

- I used ADB

- I enabled developer options on the phone and enabled both usb debugging and the (security settings) options

- I typed:

adb shell

- The prompt should change into the phone model

- I typed

settings get global tether_dun_required

- If the result is null or 1 tethering will not work (mine was null)

- I typed

settings put global tether_dun_required 0

- I typed exit two times to go out of the shell

- Rebooted the phone

After that the tethering was working fine, both usb and wifi

link : https://xdaforums.com/showpost.php?p=76580443&postcount=6