yashsingh1/xdaforums huggingface dataset:
[Moto G 5G Guides, News, & Discussion] fddm:
I've been reading up on other users' experiences on Android 12 specifically. They seem to imply it is part of the system or software installed on the system detecting either the tether app package name or the single hop proxy. But more importantly, other users did some testing and worked around the issue.

1.) One way was to setup double proxies. The tethering app is one proxy, but then they'll run another socks or http proxy on their phone and setup clients to use it. (The chain looks like this: Phone <-> Easytether <-> Proxy <-> Clients)

2.) The other way is to override the APN settings. This makes a lot of sense, since after the detection is made there must be some way of relaying that information to the carrier. It's done by tagging it with the DUN apn ofc.

I'd like you to try the second option. Here is a Magisk module that replaces apns-conf.xml with a version that has hidden dun apns removed. It also disables Moto system updater, non-disable on apks in /product, preinstalled facebook, and tether provisioning. After an install and reboot, open your Access Point Names window, hit the three dots top right, select Reset to default. You won't see a change as the APNs I removed were hidden.
[Moto G 5G Guides, News, & Discussion] RETIEF:
Where did you find the 5g force app?
[Moto G 5G Guides, News, & Discussion] fddm:
I'm floored, honestly. You have this phone:

Motorola Moto G Stylus (2022) - Full phone specifications

www.gsmarena.com

Helio G88 is for sure 4G only. Leaves some open questions, but I'm glad you got it working anyway.
[Moto G 5G Guides, News, & Discussion] RETIEF:
No problem
[Moto G 5G Guides, News, & Discussion] Conquer86:
Hi, Will the second method work on XT2215-4 (Motorola G Stylus 5G 2022) with qualcomm cpu ? Thank you so much for your effort!
[Moto G 5G Guides, News, & Discussion] fddm:
Huh, I have the same phone. Try the following though adb or a terminal app:

su
content query --uri content://telephony/carriers/preferapn --projection _id:type

Which will return something like this:

Then take those values returned and replace them with the ones in this command, adding the extra 'dun' at the end of type:

content update --uri content://telephony/carriers --where "_id=1187" --bind type:s:default,mms,fota,hipri,supl,dun

Should take effect immediately and you can check in your APN settings that it worked. If your still having trouble, share your carrier and variant and I'll make a module for you.
[Moto G 5G Guides, News, & Discussion] Conquer86:
Thanks for the fast reply! The phone was from Metrobytmobile, will be unlocked in about 2 weeks, and will be used on tmobile. Once it's unlocked, I will root it, test your code, and update you on the results. Thanks!
[Moto G 5G Guides, News, & Discussion] Conquer86:
Hello, it worked on my xt2215-4 running latest T-Mobile firmware(rooted). Thanks! I can see that dun is added to APN. But I have a new issue now on my setup. I may make a new post to see if anyone can help but I’ll write it down here first: currently I have an unlocked boost Mobile moto g 5g 2022 (non-stylus, xt2213-3, unlocked, not rooted). I usb tether it to ASUS ac68u router running ASUS Merlin, and it works very well. The router immediately detects it when usb tethering is enabled and in router system log it shows “hotplug: add net usb0”. When I usb tether the moto g stylus 5g 2022 (xt2215-4) to the same router, the router sees the phone and displays correct cell phone name, but somehow it can not initiate the “hotplug: add net usb0”. Since the xt2213-3 is running boost mobile firmware (software channel shows Dish wireless while the xt2215’s software channel is universal sku, I am thinking flashing correct boost mobile firmware or the RETUS one to the xt2215 may solve the problem? What’s your thought about it ? Thanks
[Moto G 5G Guides, News, & Discussion] fddm:
That router uses Broadcom and Linux 2.6, yikes. I'm not going to be able to reproduce on my end. Mind sharing a bit of your router's kernel log to get an idea of what the router sees? Like this snippet from an OpenWRT device and the same model phone:

Spoiler content hidden.

I assume you have "Default USB configuration" set to "USB tethering" in Developer options(if not, try that). Try setting it to "No data transfer" and run these commands in a terminal app with usb disconnected:

su
svc usb setFunctions rndis

Then try plugging it into the router and see that helps. You can also try this app, v0.8 w/ default settings(grant it root, start the service, then plug in usb). The idea is to preset usbgadget configuration since I know that works on my end at least.

Past making sure your up-to-date, I wouldn't bother cross-flashing to resolve issues. Flashing a GSI isn't likely to help either. If there is an issue on the phone's side, it's with the kernel/vendor stack. I get what looks to be modem crashes with this device and plan to retire it very soon over this issue.
[Moto G 5G Guides, News, & Discussion] fddm:
Looking at your router's specs, it has a usb2 and usb3 port, usb2 being the proper port to use for this. I'm guessing you tried both and a different cable without any luck. A powered hub can help or hurt too if you have one laying around.

You might try messing with the usbcore parameters on your router. You can check current settings like this

cat /sys/module/usbcore/parameters/use_both_schemes

And options you may want to try

echo "Y" >/sys/module/usbcore/parameters/old_scheme_first
echo "Y" >/sys/module/usbcore/parameters/use_both_schemes
echo "-1" >/sys/module/usbcore/parameters/autosuspend

use_both_schemes is almost certainly already set, but the other two have a fair chance of working.

The only other option that comes to mind is to try a firmware with a newer kernel. I think DD-WRT ships with kernel 4.14(edit: I checked the svn and it's actually 4.4 that has the arm prebuilts) and the rndis module you need. It can sometimes introduce even more difficulties though. I stopped buying Broadcom routers long ago because their usb support had always been half-broken (before they moved from MIPS to ARM at least). I have no experience with their newer ARM offerings.
[Moto G 5G Guides, News, & Discussion] Conquer86:
Thanks! I will test these and update you on the results when I get a chance. The router has usb2 port and usb3 port (blue one). I could be wrong but I think only the the usb3(blue one) works. I remembered I tried both ports last year and now I have an impression that only the usb3 port works. And that's the one where the xt2213 (working tether) is connected. So it seems like use_both_schemes is not set? I will update here later.

Btw, in your previous reply about the code:

su

svc usb setFunctions rndis

I run this code in termux in xt2215. It did not return any results. I restarted the phone, tested tethering and no luck.

But in some phones it is rndis0. I think rndis and rndis0 should be different? I am an amateur in all this. How do i find this out in the xt2215?

Thanks

Have a great day
[Moto G 5G Guides, News, & Discussion] fddm:
That's normal. That command enables the rndis usbgadget and system tethering(new devices will use ncm instead like the Pixel 6/7). When you plug the phone in it should say "USB tethering turned on" rather then "Charging this device via USB", but will revert to charge only after re-plugging the cable. rndisX(or ncmX) is just the interface name. This function is defined here in Android source code.
[Moto G 5G Guides, News, & Discussion] Conquer86:
Hello, I really appreciate your patience. Here is an update along with kernel logs:

First, here is what's in the USBcore parameters directory:

admin@RT-AC68U-58B0:/sys/module/usbcore/parameters# ls

blinkenlights old_scheme_first initial_descriptor_timeout usbfs_snoop nousb use_both_schemes

"use_both-schemes" is already set as Y. I changed "old_scheme_first" to Y. The autosuspend command returned "nonexistent directory". After executed these commands, I rebooted the router. XT2215 still did not usb tether.

Attachments are kernel logs.

1.txt: I cleared kernel logs by dmesg -c, rebooted the router with xt2213 connected, and saved the logs to 1.txt.

2.txt: I cleared kernel logs by dmesg -c, disconnected xt2213, saved the logs to 2.txt.

3.txt: I cleared kernel logs by dmesg -c, connected xt2215 to router, saved the logs to 3.txt.

4.txt: I cleared kernel logs by dmesg -c, connected xt2213 to router, saved the logs to 4.txt.

I am a newb to this. feels like the problem is with this xt2215, not router. Some config in this xt2215 is the problem.

This xt2215(qualcomm 695 cpu) along with my tracfone nokia g300 5g(qualcomm 480, unrooted, unlocked) share something similar: when I usb tether them to a pc, tethering is immediately set up automatically. When tether them to ac68u router, nothing happens. xt2213 has mediatek dimensity 700 cpu. Not sure if cpu has something to do with it.

Thanks,

Have a great weekend!
[Moto G 5G Guides, News, & Discussion] fddm:
Really sorry for the late reply, I checked the notification at work and forgot to check back.

Those commands are not persistent, so by rebooting, old_scheme_first will revert back to it's default "N". That option will change the initial descriptor read from 64 Kbytes to 8. So instead of

usb 2-1: device descriptor read/64, error -32

it might show

usb 2-1: device descriptor read/8, error -32

It seems likely from the logs that the router is already falling back to 8KB reads and enabling old_scheme_first will just clear the error for XT2213 while having no effect on the XT2215.

Many things can cause this incompatibility, these error codes are not very descriptive(32 is broken pipe). My only other suggestions are a powered USB hub which will workaround issues related to high power draw and DD-WRT which will have a newer USB stack. If you own a Raspberry PI, you can install OpenWRT on it and it connect between your phone and router to resolve this issue as well.
[Moto G 5G Guides, News, & Discussion] XeoNoX:
its a problem with the Merlin router firmware and the way it handles the modem detection for some phones, i reported it to merlin, he didnt want to incorporate the patch , you can read here...

snbforums.com/threads/upstream-patch-to-enable-android-tethering-tested-moto-g-play-2021-potentially-revvl-5g.71533/#post-716535

i ended up using OpenWrt firmware on the Asus router and everything worked fine. just setup OpenWrt and set the TTL on the router and use just IP v4 and disable IPv6 on router.
[Moto G 5G Guides, News, & Discussion] Conquer86:
Thank you very much for the update! Could you please share the version number of the openwrt firmware that you run on your ac68u? Just to double check , your setup is ASUS-ac68u and moto g stylus 5g 2022 (xt2215-4), right? Thanks
[Moto G 5G Guides, News, & Discussion] fddm:
Installing Openwrt will nuke wifi for your device. Looks at first blush that DD-WRT is missing that patch too. You can always build Asuswrt-Merlin or DD-WRT with that patch applied if you have a half-decent computer(like 16gb ram minimum), but having done it before I can say it's a rather involved process.

Excellent OpenWRT routers go for around $40 on Ebay(like the Netgear r7500) and there are countless cheaper options from low-end routers to SBCs that will do the trick. Sharing it through a PC can work well too.
[Moto G 5G Guides, News, & Discussion] Conquer86:
Hello, thanks for the warning. I don’t plan to flash it. I read on reddit that openwrt bricked ac68u: https://reddit.com/r/openwrt/s/1ZkBbOH1QZ.

My current setup of asus-merlin and the xt2215-3 works really well and exceeds my needs.

I really appreciate your suggestions about openwrt routers and will read more about it before attempting anything.

Have a great weekend!
[Moto G 5G Guides, News, & Discussion] XeoNoX:
that guy on reddit couldnt follow directions and sounds like he possibly just flashed the wrong firmware all together.

I used https://openwrt.org/toh/asus/rt-ac68u and first installed the one that says "Firmware OpenWrt Install". The router's firmware is "stable" and everything works but as stated previously the wifi doesnt work very well. Aside from Wifi the Router runs solid and i dont ever have to reboot, but i do after upgrades anyways. USB tethering works fine, just have to change TTL on router and that way you dont have to change ttl on phone.
[Fire HD 8 and HD 10 Q&A, Help & Troubleshooting] opirata:
Hi everyone,

Since yesterday, on my homescreen, i have an amazon message asking me to register my fire hd 8 tablet to get access to more contents.

I am trying to find a way to dismiss this message that is taking a lot of space on my home screen and is anoying, without registering my device.

Fire HD 8 2018, version 5.6.8.0

Thank you in advance for your help!View attachment 5279349
[Fire HD 8 and HD 10 Q&A, Help & Troubleshooting] flyingbunnys:
If you have not updated to FireOS 7.3.2.2, you ban replace the launcher.

I do not know of another way to remove. Wish I did since I'm on 7.3.2.2 and can't change the launcher.

Anyone else know how to make this go away?
[Huawei Mate 20 X Questions & Answers] mscion:
Hi. I rebranded from AL00 to EVR-L29 a couple months ago. Initially I got a few updates that got me to build number

10.1.0.258(C432E8R1P7)

and

EMUI 10.1. 0

Has anyone that similarly rebranded been updated to EMUI 11? If so, how did it happen? Was the update automatic or did you to do something to have it happen.

Thanks!

My rebrand was done by the Ministry of Solutions.
[Huawei Mate 20 X Questions & Answers] bonczas:
I'm in identical situation. Still waiting for EMUI 11.
[Huawei Mate 20 X Questions & Answers] mutahharbashir:
please contact me through website support number

I will update it,

any other user who used my service and stuck on 10.1.0.258

contact me
[Huawei Mate 20 X Questions & Answers] mutahharbashir:
contact me through website support number
[Huawei Mate 20 X Questions & Answers] bonczas:
I already managed to update mine to EMUI 11 with HiSuite Proxy. It is great to see such care for customers though :D
[Huawei Mate 20 X Questions & Answers] mscion:
Thank you for updating my Mate 20X to EMUI 11. All good.
[Huawei Mate 20 X Questions & Answers] Deanro:
Unfortunately huawei's customer care isnt that great as youve implied.
[Huawei Mate 20 X Questions & Answers] mscion:
I also have a Mate 20 pro I would like to update to Emui 11. Would you please explain how to do this via proxy or provide helpful link. Thanks!
[Huawei Mate 20 X Questions & Answers] bonczas:
I do not know if links are allowed. I PMed you with a link and for others just google "HiSuite proxy complete guide". There will be link to github by ProfessorJTJ.
[Huawei Mate 20 X Questions & Answers] basdaniel:
Dear friend

I am trying to contact you but i cannot find the contact...
[Huawei Mate 20 X Questions & Answers] mutahharbashir:
If you have used my service, use same number
[General Questions and Answers] pol-der:
Hi there,

I used LineageOS for years and i was happy with that. Then my phone is failed because of it's age and hardware problems. I have Mi Note Lite now stock MIUI 12 and it doesn't have permission manager like Privacy Guard. In Privacy Guard you can allow/block "any" permission of app. For example you can block fingerprint permission or whatever you want but there is no option like that in MIUI. Just basic permissions and you can allow/block permissions like Storage, Get Contacts, etc.

I did research on the internet about this and couldn't find a website that is explaining this issue.

I need your experiences and help about this job.

Thanks in advance..
[General Questions and Answers] Deleted member 1890170:
You can grant / revoke permissions of any app by means of ADB.
[General Questions and Answers] Slim K:
Long and detailed answer:

The answer from @jwoegerbauer is not entirely wrong, but it has it's limitations. Let's examine them further and then answer your questions.

To revoke a permission for a user installed app, we need to use PackageManager or pm for short through a shell interface like:

pm revoke <package.name> <permission>

Let's say we want to revoke the permission android.permission.VIBRATE from the app com.package.example to deny access to vibration motor. PackageManager will return the following:

Operation not allowed: java.lang.SecurityException: Permission android.permission.VIBRATE is not a changeable permission type

Permissions are usually granted or revoked during runtime, during which they're defined as changeable or not depending on the configuration of your ROM's runtime for those permissions. For a process to grant or revoke a Runtime Permission, it needs the permissions: android.permission.REVOKE_RUNTIME_PERMISSIONS and android.permission.GRANT_RUNTIME_PERMISSIONS, However, PM does not have full access to those unchangeable permissions. So not so useful now is it ?

Now we can take a look at Privacy guard through a History flashback. Back in the earlier android days before Kitkat, App permissions were granted or revoked all at once. You couldn't deny one and revoke the other for the same app. With the release of Android 4.3 Jellybean, Google introduced AppOpsManager secretly, then removed user access by Android 4.4 entirely ( figures, they can't push ads if data is disabled, amiright ?!! :rolleyes:).

Privacy Guard is based on AppOps and is made by LineageOS (formerly known as Cyanogenmod). It is an interface to control/hook on the android framework during runtime and control those permissions (if it sounds familiar, then you're correct. That is also how Xposed framework works in general). Sadly, Stock ROMs are not equipped with such features. Further Reading about this can be found here.

Short Answer:

You can't install it on MIUI, you need a Custom ROM with AppOps support or Xposed framework (won't work on MIUI 12 reliably anyways). Since you haven't specified which MI Note Lite you have, I can't point you to a custom ROM that has these features (Tell us your exact phone model next time), but generally, LineageOS/HavocOS/RROS or AOSP ROMs with Lineage features come to mind.

Also, Please mark this as a solution by the check mark next to it if my answer helped you, so other users searching for this can benefit as well.
[General Questions and Answers] pol-der:
Sorry for the delay. In LineageOS i can revoke "all" permissions include Get Fingerprint. In MIUI 12 and other stock ROMs we can grant or revoke basic permissions like Storage, Contacts, etc. and i don't like this. I am looking for AOSP ROM (officially supported, i don't want to use unofficial buggy ROMs) for my device.

My device's full name is Mi Note 10 Lite and codename is toco. Appreciated for your help!
[General Questions and Answers] pol-der:
@Slim K By the way is there any article about all app permissions with a list? I want to try revoke some permissions.
[Google Pixel 4a Guides, News, & Discussion] miko12312:
flashed from graphene os and back to stock during stock flashing something failed and gives me a black screen and goesinto the screenshot provided
[Google Pixel 4a Guides, News, & Discussion] EngineerMind:
You can try to go through the applicable steps in this guide:

https://xdaforums.com/t/guide-unlocking-downgrading-to-a10-twrp-root.4233275/

Like installing the USB drivers, and SDK platform tools.

Then put the phone in fastboot mode and download an image from google and do a "flash-all.bat"
[Google Pixel 4a Guides, News, & Discussion] miko12312:
it wont work , that is what caused the issue, there is no adb or fasboot commands as the phone has nothing to load or read, it was flashing the official latest stock firmware using the flash-all.bat, then after the first rebbot and waiting for devices it goes to a black screen and shows what i put in the screen shot,(i believe the battery died during flashing) there is two modes it goes into the qusb which is the qualcomm download mode and some other mode i cant tell neither can the pc device find drivers to read the phone, techinically this phone is not fixable using normal methods , but i believe there is a way to flash to firmware back on,i have looked into using edl and qspt flashing but it still doesnt read the phone, any help would be greatful i have device protection but they are sending me a refurbished phone i would rather try to fix this before i do get the replacement, as it was a new and working device
[Google Pixel 4a Guides, News, & Discussion] miko12312:
i have been able to find a working qualcomm driver is there anyway to edl or msm file for the pixel 4a to fix this, now that the phone is being read properly it should be able to take commands as it is reconized as a modem driver or port
[Google Pixel 4a Guides, News, & Discussion] miko12312:
Any Ideas Why Its Failing , says sahari protocal failed
[Google Pixel 4a Guides, News, & Discussion] miko12312:
files needed to repair phone, anyone able to extract or have files

RAM file (MPRGXXXX.mbn), e.g: MPRG8916.mbn

Boot file (XXXX_msimage.mbn), e.g: 8916_msimage.mbn
[Google Pixel 4a Guides, News, & Discussion] vabeachboy0:
I did the same thing as you trying to got back to stock. Still trying to find those files to unbrick myself.
[Google Pixel 4a Guides, News, & Discussion] miko12312:
I believe Qualcomm is the ones that obtain these files not Google , only other way is to dump the files from download mode on a working device
[Google Pixel 4a Guides, News, & Discussion] g0t.milkk:
I'd like to help by dumping the required files, I didn't know anything about EDL before doing research for this thread, but as I understand using EDL mode require a device-specific non-free "loader".

I'm trying to use B. Kerler's EDL tool (https://github.com/bkerler/edl) but fail because it doesn't have the proper loader file in its database.

If anyone come across the loader for the Pixel 4a (000e60e10066000a_3ef72a02fb931be1_fhprg.bin), I'd be happy to share boot and memory dump from my phone.
[Google Pixel 4a Guides, News, & Discussion] Azusasen:
I encountered the same situation as you, did you solve it?
[Google Pixel 4a Guides, News, & Discussion] AsItLies:
Older thread I know, but I've used EDL mode (on LG phones) to save partitions and write partitions.

But you have to have a 'programmer file' for the specific device for it to work. Aka a 'firehose' file for the specific device / chip.

Some mfg's make this available, some don't. Google does not. So, even having the file(s) you want to flash won't help, not if you don't have the firehose file.

sorry, cheers
[Google Pixel 4a Guides, News, & Discussion] Aayush_Naik:
Has anyone figured this out? Could really use some help. Thank you
[Google Pixel 4a Guides, News, & Discussion] mizzunet:
Did anyone managed to unbrick phone? I bricked my phone. Now it's just black screen.
[Google Pixel 4a Guides, News, & Discussion] hammered58:
Only suggestions are the go to software of choice,, pixel flasher or android flash tool, both need bootloader unlocked
[Google Pixel 4a Guides, News, & Discussion] mizzunet:
@hammered58 Gladly, I was able to get it back. I was trying to relock bootloader with custom ROM. But failed.

https://xdaforums.com/t/has-anyone-relocked-bootloader-with-lineageos-custom-rom.4526435/
[Google Pixel 4a Guides, News, & Discussion] hammered58:
Glad u got it going, the only time I relock is when I sell the phone, otherwise I have no need as all my apps work with unlocked
[Google Pixel 4a Guides, News, & Discussion] mizzunet:
Right. Every apps working even on unlocked state. But would be nice to get rid of the warning while booting.
[Google Pixel 4a Guides, News, & Discussion] hammered58:
I will second that, unfortunately I don't think it's possible, at least not that IAM aware of
[Google Pixel 4a Guides, News, & Discussion] Abshah:
Has anyone figure this out?

Pixel 4a black screen edl port.