yashsingh1/xdaforums huggingface dataset:
[Redmi Note 11 Pro+ 5G (peux)/POCO X4 Pro 5G (veux)] DEA5MAU6:
Hi , I've bought a Redmi note 11 pro 5g China Version that's called pissarro (Same as Note 11 pro plus (Pissarro) and updated the miui to 13.0.3 and then 13.0.4 with android 12 and I've noticed a bug in my camera , my camera app works fine but whenever i try to take a picture using any 3rd party app that uses camera like instagram or whatsapp , b612 or snapchat my pictures get blurry after capture , in camera preview every thing is ok but when i hit the capture button on these apps suddenly its like a blur effect gets applied to the picture when my phone is processing it . now the strange part is that this happens mostly in places with low light , when i try to take a picture outside on sunlight the blur effect gets low as 1 to 2 percent but when i take a picture indoors when I'm in my room or under a shadow the picture gets saved completely blurry , this only happens in 3rd party apps , i tried everything updated from 13.0.3 to a newer 13.0.4 but the bug persisted i had to downgrade to original miui 12.5 that nearly bricked my phone , can anyone help me is there a fix for this bug ??
[Realme GT 2 Pro] bar1:
Hi,

I tried to follow the instructions to convert my device from Chinese rom to global.

I was struggling a bit, but eventually managed to get all the steps done without an error.

However, my device does not get booted to the OS at all.

I noticed everyone mention a boot loop but mine just switched off (so it seems).

So my first question is did I brick my device?

I can still boot recovery / bootloader., my boorloader is also unlocked.

What can i do to fix it?

Is it possible to go back to the Chinese rom?

Do I need to contact the mystery guy from instegram?

Thanks,

Bar1
[Realme GT 2 Pro] dick_vigarista:
If you still have Fastboot/recovery you are fine
[Touch Pro, Fuze Accessories] johnny13oi:
Hi, does anyone know where I can get a screen protector for the touch sensitive buttons on the bottom portion of the screen? Those buttons seem like they would get scratched easily and I just want to make sure they are protected.
[Touch Pro, Fuze Accessories] BorisD:
have a look on ebay
[Touch Pro, Fuze Accessories] dansobolanu:
!!!

Take the scrissors and make it :)!!!
[Touch Pro, Fuze Accessories] X2D:
Get an invisible shield that covers your entire phones body and you won't be sorry.

Takes some patience to install but well worth it.
[Touch Pro, Fuze Accessories] elypsar:
I don't think this would be a good idea, as that bottom portion is capacitive wouldn't covering it with anything render it useless?
[Touch Pro, Fuze Accessories] Daved+:
I have an "screen" protector over the buttons and I can tell you they still work correctly.
[Touch Pro, Fuze Accessories] bensmiller:
I have the invisible sheild installed on mine and I had no idea it was touch sensitive until blamo I zoomed in acouple days ago when Iwas sliding my thumb around so yes it still works and I recommend the invisible sheild butyou have to take your time follow the instructions and be paitent or you will hate it cause you will have funked it all up and well thats your fault then.
[Touch Pro, Fuze Accessories] XERO_Racer:
to be honest, the bottom section wont get scratch very easily, just the DPAD or the little inner bowl part but other than that the rest of the part seems that u have to be aggressive to it in order to see scratches, i always clean that part with an old tshirt and when it showed under the sun i dont see any of those scratch marks...sooo im guessing the finish is scratchproof or im really stupid that there is a protector on it already that i cant tell from looking at it <_<

any suggestions?
[Touch Pro, Fuze Accessories] BlackAccord:
not entirely accurate, i accidentally put keys and my phone in the same pocket (in my jeans) one day, when the worst thing happen, the bottom area got scratched, fortunately the screen had a screen protector but the bottom part didnt :( , i highly suggest getting it just to be on the safe side
[Touch Pro, Fuze Accessories] lacrossev:
I went with invisibleshield for the body and martinfields for screen/bottom buttons:

The clarity on the screen part is amazing, and the bottom section is adequately protected. (note the scratch i got on it already, haha)
[Android Head-Units] Meskaly:
Hello everyone, not sure if this is the right place to post it.

I am really new at this subject and dunno if I gonna ask its something doable.

I got a Winca Ultra Gold series head unit with android 12. This Head unit came with SIM card adapter so my car can be independent.

But the Launcher that comes with it its all locket. Cant change wallpaper and so on. I installed Nova Launcher to transform into a cellphone appearance. The launcher gets stuck when I try to change the wallpaper also.. The only way I made it it was with zedge app . The app change it for me ... but thats not right, right?

So my question is:

I am able to root this unit? its worth it? (can install gps app for more secure etc..)

There is any other Launcher or good ROM to install in this head unit? (its a 1280x720 display)

The is any data to inform you guys about it? What I should study before I try something like this.

Thank you for your attention.

Here in Brazil there is nothing about this.
[Android Head-Units] Meskaly:
no one:/
[Android Head-Units] marchnz:
See FYT forum.

Good platform. You don't need modified rom garbage.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] CodeNameLiquid:
Yesterday i was trying to flash a pixel experience rom on my poco f3 but i was stupid enough to flash it while still in my custom rom. When i tried to flash the pixel recovery it didn't work so i tried doing it again and my phone didn't boot.

It was completely dead , i tried numerous ways but all of them failed .But when i tried holding down both power volume and power button it somehow turned on straight to arrow os. But now when i try booting into recovery mode it straight up boots into the system .I figured that my recovery was messed up so i tried installing twrp through fast boot mode. My phone goes into fastboot mode fine but it doesnot get recognized by my pc .
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] cyanGalaxy:
Get Mi Flash, and install the USB drivers in there.

Then you should be able to do "fastboot boot twrp.img" or the equivalent for OrangeFox.

Make sure to use TWRP or OrangeFox that support Android 12/13 !!!

If you use Windows PowerShell instead of CMD, do "./fastboot boot twrp.img" so basically add "/." before command.

Once in Custom Recovery, install the RamDisk.

Get Full MIUI Recovery ZIP from xiaomifirmwareupdater.com and flash it in Recovery, and then wipe data.

Boot system, then boot back into TWRP/OF and flash your Custom ROM of choice and wipe data afterwards.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] CodeNameLiquid:
Thanks seems like i had some drivers missing i installed twrp and it is working great. Thank you for your time
[Redmi Note 10 Pro] Zibri:
After trying nfqttl and failing, I decided to go on my way and, in the process, I found the definitive solution.

Steps:

1) unpack boot.img

2) patch kernel image

3) repack boot.img

Flash :D

the patch is simple:

In the linux kernet in ip_forward.c this function is called to decrease the TTL of every forwarded packet:

static __always_inline int ip_decrease_ttl(struct iphdr *iph)
{
u32 check = (__force u32)iph->check;

check += (__force u32)htons(0x0100);
iph->check = (__force __sum16)(check + (check >= 0xFFFF));
return --iph->ttl;
}

All I did is to patch the kernel not to do so.

return iph->ttl;

You can easily do it in this way:

magiskboot unpack -h boot.img
magiskboot hexpatch kernel C9220039C816007968F24039E8002836 1F2003D51F2003D568F24039E8002836 # tested on Redmi Note 10 Pro
magiskboot hexpatch kernel A0160079A022403900040051A0220039 1F2003D5A0224039000400511F2003D5 # tested on Redmi 4X
magiskboot repack boot.img

Then you can just boot it (for testing) or flash it directly.

fastboot boot new-boot.img

or

fastboot flash boot new-boot.img

result:

pinging google from the phone:

$ ping google.com
PING google.com (142.250.179.142) 56(84) bytes of data.
64 bytes from ams17s10-in-f14.1e100.net (142.250.179.142): icmp_seq=1 ttl=106 time=115 ms

pinging google from windows connected to the phone (works both with wifi or usb tethering)

C:\>ping 142.250.179.142

Pinging 142.250.179.142 with 32 bytes of data:
Reply from 142.250.179.142: bytes=32 time=127ms TTL=106

As you can see the TTL is the same.

Before the patch it's one less, obviously.

Magisk module:

https://github.com/Zibri/ttl_fix/releases/download/V4/ttl_fix.zip

If you have magisk installed you can also just copy and paste this line of code in your adb shell:

Install patch:

su -c "curl -s https://raw.githubusercontent.com/Zibri/ttl_fix/master/customize.sh | sh"

Remove patch:

su -c "curl -s https://raw.githubusercontent.com/Zibri/ttl_fix/master/remove.sh | sh"
[Redmi Note 10 Pro] Zibri:
Note: remove nfqttl from your phone if you want this to work correctly.

Also: this patch should for any ARM64 android kernels.
[Redmi Note 10 Pro] simkad:
how to run/execute? :

magiskboot unpack -h boot.img

magiskboot hexpatch kernel C9220039C816007968F24039E8002836 1F2003D51F2003D568F24039E8002836

magiskboot repack boot.img

i try via adb but failed.
[Redmi Note 10 Pro] Zibri:
magiskboot it's part of magisk software.. anyway, when I have time I will make a magisk module.
[Redmi Note 10 Pro] Laptapper:
You mean like this?

GitHub - cyborg-one/nfqttl: Magisk module change ttl.

Magisk module change ttl. Contribute to cyborg-one/nfqttl development by creating an account on GitHub.

github.com
[Redmi Note 10 Pro] Zibri:
here you go...

magisk module just made.. please tell me if there are any problems.

https://github.com/Zibri/ttl_fix/releases/download/Release/ttl_fix.zip
[Redmi Note 10 Pro] Zibri:
No.. that's rubbish and does not work at least on my phone (MIUI 13 and 12)

Remove nfqttl from your phone if you use my module.
[Redmi Note 10 Pro] Laptapper:
And what's about this?

TTL Value Editor - Apps on Google Play

Wifi distribution from the phone, TTL editor for modem mode

play.google.com

What are the pros of yours?
[Redmi Note 10 Pro] simkad:
thanks for the module.. install it via magisk manager but got error unzip failed, im using magisk 25.2, my device redmi note 10 pro (sweet), rom eliterom 13.0.12, kernel QuantumKyaru.
[Redmi Note 10 Pro] simkad:
ive unpack n repack (zip only files not folder) this module, now can install.. already test, but i dont think its work for me. Tether from phone to pc via wifi hotspot, ttl on phone 116, ttl on pc 115. Anybody else test?
[Redmi Note 10 Pro] Zibri:
I repackaged the release.

and added a final reboot to the script.

p.s. this works on stock MIUI V13.0.12.0 or any xiaomi stock kernels i tried.
[Redmi Note 10 Pro] Zibri:
I patched the boot image for your rom,

you can test it without flashing it:

fastboot boot boot_ttlfix.img

or you can flash it:

fastboot flash boot boot_ttlfix.img
[Redmi Note 10 Pro] Zibri:
It happens at kernel level. no other software needed.

It affects ANY packet from ANY source.. wifi, usb tethering, bluetooth tethering...

It works for me... I just thought to share it.

But I never did a magisk module.. so if anyone wants to check it, is welcome.

All it does is to put 2 NOPs (1F 20 03 D5) where the decremented ttl is finally stored.
[Redmi Note 10 Pro] Zibri:
Note: this patch applies to any ARM64 kernel. Not only our redmi note 10 pro.
[Redmi Note 10 Pro] VoidedKN0X:
What exactly does this do? Ican't find any useful information or something i can understand about this "TTL" thing
[Redmi Note 10 Pro] Zibri:
If you theter a device to your phone, the provider can spot it and slow you down or deny the service or bill you differently.

With this mod, any packet coming from any device tethered to your phone will appear to your provider as it is coming from the phone.

In many cases this causes a faster speed for tethered devices.

In other cases will have no impact.
[Redmi Note 10 Pro] Zibri:
Updated and tested the zip file.. now it works.

https://github.com/Zibri/ttl_fix/files/9790000/ttl_fix.zip
[Redmi Note 10 Pro] evgehae:
Hello.

I installed the module from you.

During installation, the phone itself rebooted.

That's why I don't know if the module is fully installed?

But still, I checked the work on the distribution and the module works.

Should the phone itself reboot during module installation?
[Redmi Note 10 Pro] Zibri:
Yes.. it was a quick and dirty test...

Anyway, try this:

from adb shell ping a google address like:

ping 172.217.18.46

and take note of the TTL field.

then from another phone or pc connected to your phone in tethering, do the same..

ping 172.217.18.46

if the patch was successful the TTL value will be the same. otherwise it will be one less.
[Redmi Note 10 Pro] Zibri:
New version. Tested on "santoni" and "sweet".

Release TTL FIX · Zibri/ttl_fix

Added a second patch for other phones... More will come.. Download

github.com

Donwload
[Redmi Note 10 Pro] KRJXz:
Error zip magisk no work on red magic 7.
[Redmi Note 10 Pro] KRJXz:
Can't unzip.
[Redmi Note 10 Pro] fobtob387:
What's a TTL patch?
[Redmi Note 10 Pro] KRJXz:
Bypass tethering throttle from carriers.
[Redmi Note 10 Pro] _hollywood_:
Didn't work for me on Tmobile REVVL 6 Pro.

I was not able to install/run with Magisk, but I was able to run the commands from your script with magiskboot.

I suspect my kernel is different from yours and not taking the patches.

Would you be able to patch my boot.img file if I upload it to you?

Or could you tell me in noob terms how to find the hex values to change and patch it myself?
[Redmi Note 10 Pro] Zibri:
yes.
[Redmi Note 10 Pro] KRJXz:
Nevermind got the first zip to work this is pretty neat but somehow there still slowing me down I have no idea how I have the net.tethering.noprovisioning and the tether_dun_required is it possible they use new method for server side only?
[Redmi Note 10 Pro] Zibri:
did you test pinging the same ip from the phone (via adb) and from an attached pc?

try this for example: 108.177.15.127

the TTL should be the same if it worked.
[Redmi Note 10 Pro] Zibri:
ping by IP and not by name... otherwise it may ping two different addresses...
[Redmi Note 10 Pro] KRJXz:
I'm trying to end the ping command cause maybe I'll see results.
[Redmi Note 10 Pro] KRJXz:
Ok I tried it it says 64 ttl I think it works.
[Redmi Note 10 Pro] DotNetDeveloper:
@Zibri How did you get the hashpattern for the kernel file? I'm trying to patch ttl myself for Pixel 6a's boot img, but I don't know how to get the file's hash pattern
[Redmi Note 10 Pro] Zibri:
What you call "hash pattern" is machine language code.

I search for the instruction preceding or around the ones I need to patch to disable the TTL decrease.

To do so, you have to reverse engineer (decompile) the whole kernel, find the function and nullify the decrementation.

Send me the boot.img and I can give it a try.
[Redmi Note 10 Pro] KRJXz:
Ok so on my other phone Samsung Galaxy a32 I have this magisk module which imma send a picture of it somehow was set to 65 and disabled tether notification from being sent to carrier any ideas on how to make that work with your current module as in disabling notification 65 I have no idea why 65 either
[Redmi Note 10 Pro] DotNetDeveloper:
Thanks!! I sent the boot.img to you via message!!
[Redmi Note 10 Pro] Zibri:
Added support for pixel6a:

Release V3 · Zibri/ttl_fix

Update customize.sh

github.com
[Redmi Note 10 Pro] DotNetDeveloper:
I got unzip error when trying to install. I tried unpack and repack the zip file, no luck on that
[Redmi Note 10 Pro] xrn10pro:
Does your patch fix only outgoing ttl, or incoming ttl too? Will the patch work with incoming ttl=1?
[Redmi Note 10 Pro] Zibri:
As I wrote before, the kernel routine IP_FORWARD is patched and the decrement of TTL is removed.

Obviously that will work both ways.

From any network to any other.

Every forwarded packet is forwarded AS IS.
[Redmi Note 10 Pro] xrn10pro:
OK thanks!
[Redmi Note 10 Pro] Zibri:
Please retry now. I reuploaded it.
[Redmi Note 10 Pro] horrigun:
Cant install - magisk error while unzip. Only 1st version of this fix can be installed for me. Rog phone 6
[Redmi Note 10 Pro] evgehae:
Дупал ,что модуль работает,пока не залез в кабинет,тут показывает ,что инет съедается,хотя уведомления от МТС не было ,что это значит ,модуль работает,или нет?

Mod translation: B] I dupal that the module is working until I got into the office, it shows that the Internet is being eaten, although there was no notification from MTS, what does it mean, the module is working or not
[Redmi Note 10 Pro] Zibri:
Sorry, everyone, please retry now... the zip file should be fixed.

Release V3 · Zibri/ttl_fix

Update customize.sh

github.com
[Redmi Note 10 Pro] Zibri:
if you have magisk installed, you can also just download an run only the script:

Install patch:

su -c "curl -s https://raw.githubusercontent.com/Zibri/ttl_fix/master/customize.sh | sh"

Remove patch:

su -c "curl -s https://raw.githubusercontent.com/Zibri/ttl_fix/master/remove.sh | sh"

(it's even easier)

And merry Christmas to everybody!

if you get "[!] Patch not applied." it can mean 2 things:

1) you already applied it.

2) your phone is not yet supported.

in that case you can send me in a private message your "boot.img" which you will find in /data/local/tmp/ttl_fix/boot.img and I can add a patch for your phone.
[Redmi Note 10 Pro] Zibri:
Added support for ASUS ROG 6

Release V3 · Zibri/ttl_fix

Update customize.sh

github.com
[Redmi Note 10 Pro] Zibri:
if you have the chance, please try it on other phones .. because it might work on more.. report to me if it works or not and on which phone. (if you provide me the boot.img I can add it)
[Redmi Note 10 Pro] horrigun:
Thank you Zibri, fix works on asus rog 6. Will try on other phones
[Redmi Note 10 Pro] MetroWestMA:
I would love to get this for a Pixel 7 Pro -- this is certainly the right way to fix the TTL problem!

Pixel 7 Pro has init_boot.img and boot.img, you patch init_boot.img for magisk.

Here are both: https://drive.google.com/drive/folders/1DC1nfICQyPQHtXlXPx9bIjsw_p6lwWpA?usp=share_link

Thanks Zibri
[Redmi Note 10 Pro] Zibri:
The patch already works for your kernel. You must patch boot.img not the init one.
[Redmi Note 10 Pro] Zibri:
Added support for Pixel6a/7a Asus ROG/oneplus 6/7 And most xiaomi phones.

Please check the patch before asking for support... it might work even if your phone is not listed.

Please report here...
[Redmi Note 10 Pro] MetroWestMA:
I just tested it on my Pixel 7 Pro with the January (newest) security patch from google and it appears o be working. Thank you @Zibri :-)
[Redmi Note 10 Pro] Zibri:
Reverse engineering the kernel.

Please spread it in other forums and subforums... the patch should work with almost every phone, perhaps it will need just a few adjustments for some "exotic" models.
[Redmi Note 10 Pro] MutantFod:
Breaking my 10 year no post streak just to say:

Dude, that's a smooth implementation.

Works on stock Pixel 7 PRO, just as "promised".

I have admiration for you shouldering on without flinching when people are throwing alternatives at you. It seems you knew exactly what you wanted and how to get it, nothing more or less.

Thanks for sharing!
[Redmi Note 10 Pro] taney:
Hi Zibri!

This is AMAZING! I saw your ttl_fix on GitHub repositiory as well.

I noticed that your code only applies to 4 devices.

I'm wondering if you can help me to figure out how I can build it for my device (Samsung Galaxy Tab S5e LTE)? What I need to do to get the codes for the hexpatch?

Thanks in advance!

Cheers,

Taney
[Redmi Note 10 Pro] Zibri:
that code works already for hundreds of devices.

DID you try it on your boot IMG?

If the none of those patches is applied then send me your boot image in a PM.
[Redmi Note 10 Pro] taney:
My apologies. I just wanted confirmation before flashing since I only saw 4 lines of code.

I just tested it on my Galaxy Tab S5e and it works flawlessly. 55TTL on both device and client.

Thanks so much for your help!
[Redmi Note 10 Pro] fddm:
Since it only patches out the decrement, it doesn't overwrite the weird TTLs systems like Windows and Xbox use. It also can't fix routed traffic that has already be decremented before it reached the phone. And it does not do anything for IPv6 afaict, so that would still need to be dropped or disabled. The hoplimit decrements are easy enough to search for at least.

Really cool approach, I like how simple it is and that it's handled in kernel space.

Edit: I was poking around a 32bit kernel and found the function code for ip_decrease_ttl

Spoiler content hidden.

I think with a little more effort we could patch

u32 check = (__force u32)iph->check;
check += (__force u32)htons(0x0100);
iph->check = (__force __sum16)(check + (check>=0xFFFF));
return --iph->ttl;

to

iph->ttl = 64;
ip_send_check(iph);
return iph->ttl;

and get behavior very similar to the xt_HL module. Would just require the patcher to search for the ip_send_check function address so the branch could be calculated.
[Redmi Note 10 Pro] Zibri:
hehehe my programs tend to be minimalistic... I know...

No need to apologize... I should have stated it somewhere.

With a fifth line of code it should become compatible with 99% of phones... but I prefer to do this in steps.

Please spread the link to this post on galaxy tab related forums or subforums.
[Redmi Note 10 Pro] Zibri:
It is very easy to patch it for a fixed TTL, but I personally dont like it.

Sometimes TTL is used to slow down tethered connections, not to block them.

In that case, it is useful sometimes to have a higher TTL for testing...

I don't like restrictions.
[Redmi Note 10 Pro] fddm:
It looks like it works fine for ICMP, but testing with standard TCP web traffic, it only affects initial and final packets with the SYN and FIN flags. Suppose it might still trick some carrier DPI, idk. I also tried patching the decrements in ipv6_forward and ipv6_rthdr_rcv to no effect so far.
[Redmi Note 10 Pro] Zibri:
I don't know why you say that.

TTL is just not decreased.

TTL is in ICMP and TCP packets.

I didn't patch ipv6 but it would be as easy as adding another 4 lines to the code.
[Redmi Note 10 Pro] fddm:
I retested with with an older device that uses a 4.19 kernel and did not see the same behavior, all TCP packets look to have the expected TTL values with the patch applied. Seems to be some optimization in the 5.4 kernel where intermediate packets in a TCP flow do not take the same ip_forward -> ip_decrease_ttl code path. Toggling the 'Tethering hardware acceleration' option in Developer options had no effect in my testing.
[Redmi Note 10 Pro] Zibri:
No idea.. on the latest MIUI 13 for redmi note 10 pro it just works perfectly.

And so it does on the other phones tested.
[Redmi Note 10 Pro] zuberuddinmd:
Hi Zibri,

Forgive me if I'm asking a silly question, but I've tried your solution and it's not working for me. I'm assuming I might've done something wrong because of which the TTL value is always decremented if I'm pinging the same IP address when tethered to my mobile.

I downloaded the TTL fix module for Magisk and installed it successfully. The installation was successful and the phone rebooted as well. However TTL value is still decremented.

Tried executing via bash script command and got the following response after a series of commands.

"<--[94m[!] Patch not installed. <--[39m"

I've currently installed Lineage OS 18.1 on my MI A2 using the boot.img and LOS 18.1 zip file from official Lineage OS Site. Upon checking the Kernel is of type Linux version 4.4.302.

Attaching the following files in the Drive. Kindly support in fixing the issue.

1. ADB shell error screenshot

2. boot.img file from Lineage OS Site

3. boot partition backups obtained via wanam app.

ZIBRI Support - Google Drive

drive.google.com

Regards
[Redmi Note 10 Pro] Zibri:
@zuberuddinmd Done.

I updated it. Now it supports also Lineage OS.

Please check the end of the first post, you can do this manually or redownload the new zip.

Please share this on Lineage OS related forums.
[Redmi Note 10 Pro] zuberuddinmd:
Worked like a charm! Will spread the word.

Thanks for the amazing work.
[Redmi Note 10 Pro] Zibri:
afuan :D