yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 General] juandante:
Hello everyone,

I was pretty tired of the eMMC error, and I created a script that completely annihilate this error.

This error is due to the phone heating up, and the fact that custom kernels (maybe even the original kernel) don't read the sensors correctly and throttle the phone correctly. This script monitors the battery and all the CPU sensors and when it is higher than 82°C, throttle the phone.

It was tested on AEL Kernel that supports « Hard limit » command, but this script can be adapted on any other kernel. You may need busy box. You must root to run this script.

Must be placed in init.d folder.

You simply copy each script, and for example with Kernel Audiutor, create a new init.d and paste the script with the correct title.

script called cpu_temperature_daemon :

#!/system/bin/sh
argu=$1
sleeptime=15
if ! [[ $argu = start ]] then exit ; fi
lock=0
while true;
do
maxnumb=0
cpuiscool=0
temp=$(cat /sys/class/thermal/thermal_zone*/temp)
tempbat=$(cat /sys/class/power_supply/battery/batt_temp)
if ((tempbat>410)) then if [[ $lock = 0 ]] then lock=1 ; sleeptime=7 ; chmod 644 /sys/devices/system/cpu/cpu1/online ; echo 1 > /sys/devices/system/cpu/cpu1/online ;chmod 444 /sys/devices/system/cpu/cpu1/online ; echo 65 > /sys/module/msm_thermal/parameters/core_limit_temp_degC ; echo 65 > /sys/module/msm_thermal/parameters/limit_temp_degC ; fi ; fi
for line in $temp; do if ((line>78)) then if ((line<120)) then if [[ $lock = 0 ]] then lock=1 ; sleeptime=7 ; chmod 644 /sys/devices/system/cpu/cpu1/online ; echo 1 > /sys/devices/system/cpu/cpu1/online ;chmod 444 /sys/devices/system/cpu/cpu1/online ; echo 65 > /sys/module/msm_thermal/parameters/core_limit_temp_degC ; echo 65 > /sys/module/msm_thermal/parameters/limit_temp_degC ; fi ; fi ; fi ; if ((line>10)) then if ((line<110)) then maxnumb=$(($maxnumb+1)) ; fi ; fi ; if ((line>10)) then if ((line<75)) then cpuiscool=$(($cpuiscool+1)) ; fi ; fi ; done
if [[ $maxnumb = $cpuiscool ]] then if ((tempbat<411)) then if [[ $lock = 1 ]] then lock=0 ; sleeptime=15 ; chmod 644 /sys/devices/system/cpu/cpu1/online ; echo 1 > /sys/devices/system/cpu/cpu1/online ;chmod 444 /sys/devices/system/cpu/cpu1/online ; echo 82 > /sys/module/msm_thermal/parameters/limit_temp_degC ; echo 82 > /sys/module/msm_thermal/parameters/core_limit_temp_degC ; fi ; fi ; fi
sleep $sleeptime ;
done

script called cpu_temperature_daemon_start to place in the same directory /system/etc/init.d/ :

#!/system/bin/sh
numb=$(pgrep -lf cpu_temperature_daemon | wc -l) ; if [[ $numb = 1 ]] then exit ; fi
echo 75 > /sys/module/msm_thermal/parameters/core_limit_temp_degC ; echo 75 > /sys/module/msm_thermal/parameters/limit_temp_degC
nohup /system/etc/init.d/cpu_temperature_daemon start &

There is absolutely no more eMmc errors on the Note 4 that I tested. Of course, if you already have the error, script will not fix it. It will simply prevent a clean phone from having it by preventing overheat in monitoring all sensors. No big battery hog (insignificant). The script works by monitoring the all the sensors and reducing slightly CPU performance when the phone CPU is to hot (CPU > 82°C), or battery temp > 41°C.
[Galaxy Note 4 General] dave678:
If you don't game then the emmc thing won't happen right?
[Galaxy Note 4 General] juandante:
It will happen eventually, it is due to the phone overheating (it is not just heating, it is overheating due to the sensors not correctly reporting temperatures) so even opening Facebook will make it overheat
[Galaxy Note 4 General] jonnyprogamer:
How do i fix a phone that has it? The "put cardboard under EMMC" fix lasted for like a week, my phone still works thanks to that Fix by using WakeLock (already it's been 8 months i think), but i don't want to use WakeLock anymore because it drains the battery a lot, plus since the eMMC is faulty the writing speeds are like 40MB/S so the phone is significantly slower.

I heard that this error was caused by Android 6 and immediately after i got the phone i flashed Android 5 stock, still i got like 6 months of use before this error (mostly only using Youtube and Discord).

Can i get the eMMC replaced to fix this? or i need an entire new motherboard? this phone is still really fast and usable even in 2023 with Android 5, but this error is really annoying and it makes the phone almost unusable, thanks.
[Galaxy Note 4 General] jonnyprogamer:
If i end up getting another used Note 4 i will downgrade to LL and immediately apply your script
[Galaxy Note 4 General] juandante:
Yes, you simply have to copy paste each script in the /system/etc/init.d/ directory

I have put the correct tags and the script is now correctly highlited in my first post so you can easily see what it does.

Maybe for some kernels, you will need to adapt it.

Anyway, I can confirm to you that this limits dramatically the eMMC errors because the phone doesn't anymore overheat.
[Galaxy Note 4 General] jonnyprogamer:
Ok thanks, but is there anyway to fix this error on a Note 4 that already had it? maybe reballing the eMMC?

I don't think it's worth to me to get another used Note 4, because i don't know what the previous owner might have done with it and it might already be dead to be honest.

I think that reballing the eMMC / swap the motherboard is the only way to truly fix this (and then use your script or downclock the CPU to keep the phone safe)
[Galaxy Note 4 General] juandante:
You must have high end specialized soldering tools to fix the problem. Anything less than that will just fix the issue couple of weeks only if you are very lucky. You will be more lucky to buy a second hand Note 4 because most people generally speaking sell it because they bought a new phone, not because of the eMMC error due to heavy phone usage... If you really want to save money, just buy a new motherboard (it's somewhat cheap today).

Also, I think I had a eMMC symptom once (slow phone and the Note 4 was hardly booting), I managed with luck to boot the phone then applied the script, waited 1 day with the phone keeped on, and next the phone stayed somewhat fully usable for 12 months (with some random reboots now and then). So I think if you apply the script enough early when you get the first bad eMMC sign it is somewhat enough early to "revert" the issue if I could say so. I. E. The soldering is somewhat damaged and provoke random reboots but the script will prevent the phone from heating and damage even more the soldering.
[Galaxy Note 4 General] jonnyprogamer:
Thanks, i guess i will try to find another Note 4, i might know someone that knows how to do BGA reballs, but even then i think that the issue are not the solder balls under the E-MMC.

Because it doesn't make sense, un-leaded solder melts at about 215C, and the EMMC isn't a big chip (so it's not like a GPU which can ""stress"" the solder balls when it gets hot and then cold).

For this reason alone it can't cause any cracks in the balls (unless you drop the phone but then again it's pretty unlickely to happen), what im thinking is that the EMMC chip just dies, it's not the solder beneath it, it's either a fault in the chip itself or a bug which gets triggered by something (like the Note 1 Superbrick).

Maybe we should take apart our phones with the issue, check the model number and report it here, probably those will be the fauly chips (this issue happened on the 360 and PS3 as well, everyone saying "it's the solder" and instead it was the GPU itself which dies because of the heat-cooling cycles).
[Galaxy Note 4 General] dave678:
You have a video tutorial on how to do this ?
[Galaxy Note 4 General] dave678:
Also the stock rom doesn't have init.d support.
[Galaxy Note 4 General] jonnyprogamer:
I know that PimpMyRom adds init.d support (tested on old chinese Android ICS tablet), i don't know if it works with Lollipop tough.

I just got my emmc reballed, when i get my phone back im gonna reflash latest 5.1.1 Or CM and use this script.
[Galaxy Note 4 General] jonnyprogamer:
We will see if it lasts since the reball has been done with leaded solder, if it does not then it means that the fault was (and still is) the EMMC chip all along :=>
[Galaxy Note 4 General] dave678:
Oh I have a brand new Sprint Note 4 running Kitkat and a Tmobile Note Edge running Kitkat
[Galaxy Note 4 General] jonnyprogamer:
I have the unlocked international Europe version (SM-N910F) from italy (ITV CSC)
[Galaxy Note 4 General] jonnyprogamer:
Android 4.4 stock uses the less resources of all but it's not smoother / faster than LL

Android 5.0.1 IS faster / smoother than 4.4, but uses more resources and it isn't optimized + very bad battery usage

Android 5.1.1 is the best stock from what i tested, less resources than 5.0 and good battery usage, also compatible with most apps from today.

Android 6.0.1 stock runs the worst (and according to a lot of people it was making the Emmc quickly because of the new hibernation when you turn off the display)

My reccomendation would be to either use stock Samsung 5.1.1 ROM or a Custom ROM (Cyanogenmod, Lineage, etc...)
[Galaxy Note 4 General] dave678:
You have the F model which is hard to find on Ebay and you can yo yo between different firmware. The closest model to the F would be the W model which can also yo yo between different firmware. My model cannot do that as once you go up to 5.1.1 you can kiss goodbye the ablity to downgrade to Kitkat. I have it as a collector's item basically. It's not my daily driver as it wouldn't work on my carrier anyways.
[Galaxy Note 4 General] jonnyprogamer:
Ah i see, well i got mine from a local online marketplace here in Italy (Subito), before i bough it on Ebay and it was "brand new", but it turns out it was just the SM-N910V version with the F firmware (found out quickly because US bands aren't the same in Italy, so i had connection issues) so i did a refund.

If you're in US yea i think it's going to be pretty hard to find an Europe model.

I use mine as daily driver, SD card, removable battery, IR blaster, easy to take apart, it's still a really good phone.
[Galaxy Note 4 General] dave678:
I'm curious as to why the S5 doesn't suffer from the emmc issues as the Note 4 Snapdragon models since it also uses Emmc 5.0 like the Note 4.
[Galaxy Note 4 General] jonnyprogamer:
No idea, either it's actually the solder (doubt it, unleaded solder is more prone to cracks and breaking but melting temp is much higher than what the phone will allow) or buggy firmware / bios from samsung (already happened with Samsung Galaxy Note 1 with the Superbrick bug)
[Galaxy Note 4 General] juandante:
Just use Kernel Adiutor if you use Android 6 or less, or use some random kernel management app for newer Android versions (I now use LineageOS 18.1 which is excellent by the way, but for this specific custom ROM the script must be placed in /data/adb/service.d/). You don't really need init.d/service.d, you simply need a way to autolaunch the script even after boot. Of course, init.d/service.d will open the script at the very boot screen of the phone so it is preferable, but not necessary. If you use Kernel Adiutor, you simply have to create two scripts in the menu of the app and copy/paste the content. If you don't understand Bash shell you can of course use ChatGPT to explain the script
[Samsung Galaxy S20 / S20+ / S20 Ultra Questions & ] corneliusf:
Hello Everyone,

I'm new to the channel and wanted to know if this phone can be de googled with a custom rom without having google on it?
[Samsung Galaxy S22 Ultra] Markeee:
How to stop incoming calls from waking up my screen when I'm in Do Not Disturb Mode ?
[Samsung Galaxy S22 Ultra] xdafly:
Do not disturb > Exceptions

It may be possible via Bixby rules to create a Forward all calls to your Google Voice/Phone for the duration of Do not disturb

Check also Notifications > Brief pop-up settings > Show even while screen is off
[Samsung Galaxy S22 Ultra] Markeee:
I just tried that it has no affect screen still turns on from incoming calls.

Any other ideas ?
[Samsung Galaxy S22 Ultra] xdafly:
Allow Exceptions > Calls > None set ?
[Samsung Galaxy S22 Ultra] xdafly:
Just tested with Sleep Mode enabled, no visual or audio cue for incoming calls
[Samsung Galaxy S22 Ultra] Markeee:
Thanks for the help

I almost gave up but I figured it out needed to enable Hide Full Screen Notifications :)

View attachment 5685837
[Touch HD General] gt112:
Hi all

On my TF3D home page, the two menu items at the bottom (the ones between the TF3D scroll bar and the soft keys) now both read Calendar and Calendar. They both bring me to Calendar.

How did this happen and how can I fix them ? (I have tried a soft reset)

Many thanks
[Touch HD General] RizwanKhan:
a soft reset will not change ur key assignment. don't have a hd yet so really can't direct u towards a solution but a hard reset will restore u to original settings.

however use that as a last resort. hopefully someone w/ a hd will respond.
[Touch HD General] xdaman85:
Iv got a feeling you have played around with a registry editor

Use a registry editor, and go into HKEY_LOCAL_MACHINE\Software\HTC\Manila\ and then change the strings for both HomeLSKPath and HomeLSKText or HomeRSKPath and HomeRSKText

Path meaning the location of the program you want to start

Text meaning the name of the program you want to start
[Touch HD General] gt112:
solved with yet another hard reset

thansk to all for help
[OnePlus 10 Pro] zodac01:
I just got my OnePlus 10 Pro, and am trying to unlock the bootloader. I've enabled USB debugging, and enabled the option to allow the bootloader to be unlocked in the Developer Settings.

I ran `adb reboot bootloader`, then ran `fastboot devices` to confirm the phone was connected and visible.

When I try to run `fastboot oem unlock`, I get this response:

FAILED (remote: 'unknown command')
fastboot: error: Command failed

Fastboot version if necessary:

C:\Windows\system32>fastboot --version
fastboot version 33.0.2-8557947
Installed as C:\Program Files\Android Platform Tools\fastboot.exe

Thanks!
[OnePlus 10 Pro] alanzaki073:
Fastboot flashing unlock
[OnePlus 10 Pro] zodac01:
Awesome, thank you very much!
[OnePlus 7 Pro Questions & Answers] jeffrimerman:
I've googled so I know it doesn't exist for some strange reason. It's the most basic function but OnePlus totally forgot about it and keeps forgetting as people complain. Is there a 3rd party app or a way to put it in? I imagine if we install another ROM but I don't want to have to root it just for that.
[OnePlus 7 Pro Questions & Answers] ze7zez:
There is a very good Battery Notifier BT [2000].
[OnePlus 7 Pro Questions & Answers] jeffrimerman:
I downloaded it. It still says 46% when my phone was say 41%. When I rebooted it didn't seem to start up. I'll see if it warns me at 10%. Maybe it only runs once in a while so it doesn't use too much battery.
[OnePlus 7 Pro Questions & Answers] jeffrimerman:
I let phone goto 9% with warning set at 10% and nothing. It still says 40% at the top of the screen. Maybe there is some active setting I need to turn on.
[OnePlus 7 Pro Questions & Answers] ze7zez:
I am using Battery Notifier Pro BT <And9 in Android 10 stock ROM on Samsung Galaxy and it works fine also after reboot.

If you have installed Battery Notifier BT 2020, I can't help because I don't use it.

You may have some battery optimization turned on, which is making apps difficult to access your battery stats.
[Introductions] KimANG:
Android 펌웨어에 관심이 있는 학생입니다.

Mod translation via GT: I am a student interested in Android firmware.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Glodar:
View attachment 5685357View attachment 5685363
[Touch Pro, Fuze Themes and Apps] thehyecircus:
I'm completely new to this and I have a bunch of questions, is someone on AIM to help me out?

For starters, I plug the phone in and it says "Charging", but eventually it stops. When it fully charges, does it stop working on AC Power? I don't get it.
[Touch Pro, Fuze Themes and Apps] HHumbert:
I guess I don't get your question...

When you plug it in, it says charging, and then it charges to the max power on the battery and it stops charging. At no time is it running on AC power. It gets the power from the batteries. You can unplug the charger.
[Touch Pro, Fuze Themes and Apps] thehyecircus:
If you leave the charger plugged in, does it continually charge the battery? That's what I don't get.
[Touch Pro, Fuze Themes and Apps] HHumbert:
No, it's all electronically controlled. It stops charging, and keeps it at 100% (if it dips, it charges). You won't burn your phone/battery out by keeping it in the charger for multiple days. Not sure about months or years, but normal usage should be fine.
[Touch Pro, Fuze Themes and Apps] HexiumVII:
99% it goes into trickle charge mode. It pulses a small current probably about 50mA to keep it from draining. You can keep it plugged it without worrying about the battery going low. Since its Lithium, it does not damage the battery.
[OnePlus 8 Pro Questions & Answers] parcou:
Question. My device did an OTA from Android 11 to 12 in doing so, I lost root. I bricked my phone trying to root again using the wrong boot.img until I found the correct boot.img and rooted it. In doing so in the process, it must have killed something once I fixed it, I lost my fingerprint reader.

US OP8P (rooted with Magisk) on C.21 fingerprint reader not working. If I wait for the next full stable update using OTA Magisk root method to regain root back....will that fix the fingerprint reader or the presistent.img partition without me having to wipe my device and start over?

I have no error messages it just does not work but it did just before I flashed the wrong boot.img and went into a boot loop. Again, boot loop fixed using the right C.21 boot.img no fingerprint.

I really want it back, but I do want to do a full wipe since I travel so much and need my phone.

Help or advice on the question. Please?
[OnePlus 8 Pro Questions & Answers] dewa5227:
Please list out what Module are you using in your Magisk.

Note, it's a known problem if you're using outdated USNF module it will broke fingerprint. i don't use USNF and it's fine.

addition: if you're not using USNF and it's still broke. you can try the guide on how to restoring the fingerprint to work again. there's a guide in here. please search it first and try.
[OnePlus 8 Pro Questions & Answers] parcou:
I have not looked in here earlier I did a google search I found something related to an MSN program or something like that to downgrade and fix, but it is was a full wipe....was hoping not to do that. Is that what you are referring to it is a different fix?

Magisk Modules I have on 12 which is the same on Android 11:

Call Record - SKVALEX

Dialer Framework for Google Phone

Systemless Hosts

Universal SafetyNet Fix

Zygisk - LSPosed
[OnePlus 8 Pro Questions & Answers] parcou:
Also what is USNF what does that mean? Thx
[OnePlus 8 Pro Questions & Answers] dewa5227:
It was the Universal Safety Net Fix (USNF)
[OnePlus 8 Pro Questions & Answers] parcou:
Thank you....

Found it, and this fix worked. Much appreciated the assistance, and pointing me in the right direction!!

Magisk Module for ColorOS​

GitHub - wuxianlin/ColorOSMagisk: Magisk Module for ColorOS

Magisk Module for ColorOS. Contribute to wuxianlin/ColorOSMagisk development by creating an account on GitHub.

github.com
[T-Mobile REVVL V+ 5G] IvXotiic:
I have been trying and I'm telling you trying to root this phone for that I have to unlock the bootloader it's driving me insane I have a windows 11 laptop I am a noob on all this so I've been watching videos STEP BY STEP AND NOTHING no progress
[T-Mobile REVVL V+ 5G] djismgaming:
I used https://github.com/bkerler/mtkclient on Windows 10.

Had to press the 2 volume buttons on device while turning it on.

There are some requirements there, like python to be installed.

Easily done with chocolatey on Windows.
[T-Mobile REVVL V+ 5G] YemeniPower:
me to need to unlock 🔓 bootloader REVVL 5G t790w
[T-Mobile REVVL V+ 5G] R41N MuTT:
have you got it rooted yet? its really easy to do. theres a guide on here, or i can walk you through it and i have all the files you'll need in case you cant find them DM me. i also now have the MT6833_Android_scatter.txt and all the firmware needed to revert to stock also. working on how to actually do that as we speak
[T-Mobile REVVL V+ 5G] djismgaming:
Would really like to restore my T-Mobile REVVL V+ 5G to stock.

It does not turn on the display but tries to connect to mtkclient.

Issue is it keeps giving me (indefinitely):

DAXFlash - [LIB]: Error on sending parameter: DA exceed max num (0xc0070005)

mtkclient GUI Log:

..Port - Device detected :)

Preloader - CPU: MT6833(Dimensity 700 5G k6833)

Preloader - HW version: 0x0

Preloader - WDT: 0x10007000

Preloader - Uart: 0x11002000

Preloader - Brom payload addr: 0x100a00

Preloader - DA payload addr: 0x201000

Preloader - CQ_DMA addr: 0x10212000

Preloader - Var1: 0x73

Preloader - Disabling Watchdog...

Preloader - HW code: 0x989

Preloader - Target config: 0xe7

Preloader - SBC enabled: True

Preloader - SLA enabled: True

Preloader - DAA enabled: True

Preloader - SWJTAG enabled: True

Preloader - EPP_PARAM at 0x600 after EMMC_BOOT/SDMMC_BOOT: False

Preloader - Root cert required: False

Preloader - Mem read auth: True

Preloader - Mem write auth: True

Preloader - Cmd 0xC8 blocked: True

Preloader - Get Target info

Preloader - BROM mode detected.

Preloader - HW subcode: 0x8a00

Preloader - HW Ver: 0xca00

Preloader - SW Ver: 0x0

Preloader - ME_ID: 96C8388057AFD372754DCBB4B155D5B1

Preloader - SOC_ID: 116C6A57A536601BE60E0E7BA9C4E0B86D979A21F11E8ABA0FB2E6A7DAA9E062

Port - Device detected :)

DAXFlash - Uploading xflash stage 1 from MTK_AllInOne_DA_5.2152.bin

xflashext - Patching da1 ...

xflashext

xflashext - [LIB]: Error on patching da1 version check...

xflashext - Patching da2 ...

DAXFlash - Successfully uploaded stage 1, jumping ..

Preloader - Jumping to 0x200000

Preloader - Jumping to 0x200000: ok.

DAXFlash - Successfully received DA sync

DAXFlash - UFS Blocksize:0x1000

DAXFlash - UFS ID: H9HQ54ACPMMDAR

DAXFlash - UFS MID: 0xad

DAXFlash - UFS CID: ad014839485135344143504d4d444152

DAXFlash - UFS FWVer: 41303032

DAXFlash - UFS Serial: 323031304238453143413030

DAXFlash - UFS LU0 Size: 0xee5800000

DAXFlash - UFS LU1 Size: 0x400000

DAXFlash - UFS LU2 Size: 0x400000

DAXFlash - DRAM config needed for : ad014839485135344143504d4d444152

DAXFlash - No preloader given. Searching for preloader

DAXFlash - Sending emi data ...

DAXFlash

DAXFlash - [LIB]: Error on sending parameter: DA exceed max num (0xc0070005)

DAXFlash

DAXFlash - [LIB]: Error on sending parameter: DA exceed max num (0xc0070005)

DAXFlash

DAXFlash - [LIB]: Error on sending parameter: DA exceed max num (0xc0070005)

DAXFlash

DAXFlash - [LIB]: Error on sending parameter: DA exceed max num (0xc0070005)

DAXFlash

DAXFlash - [LIB]: Error on sending parameter: DA exceed max num (0xc0070005)
[T-Mobile REVVL V+ 5G] djismgaming:
Would love to get a copy of those files if possible.
[T-Mobile REVVL V+ 5G] R41N MuTT:
Right, I'm working on a fix for that. Standby, I'm so close to cracking this. Any day now. Also, do you have another phone handy? I think I might be able to help you get that phone working again in a rooted state. Possibly.
[T-Mobile REVVL V+ 5G] djismgaming:
I have another as the REVVL is not my main phone since it got "bricked" as I call it :)

Thanks for your concern.
[T-Mobile REVVL V+ 5G] yahdeeez:
Having this same issue, anyone have any recovery files that work?
[T-Mobile REVVL V+ 5G] R41N MuTT:
Try this https://xdaforums.com/t/root-flash-stock.4541841/ please let me know if you encounter any problems and I'll try to help you through it if I can
[T-Mobile REVVL V+ 5G] yahdeeez:
Thanks for the quick response.

I just realized that this is for the REVVL V+ 5G and my phone is the REVVL 6 PRO 5G

Im just trying to unbrick it i dont care about root or anything. Are the steps the same since they are both MT6833 devices?