yashsingh1/xdaforums huggingface dataset:
[Xiaomi Poco F1 Guides, News, & Discussion] OsGreenCat:
I had the same problem with my mi 9 se (stock global rom), and now I can confirm, that really long! and careful! cleaning of usb port solved it.
[Xiaomi Poco F1 Guides, News, & Discussion] Jolubeat:
Hello you all,

Tried to clean the usb port, but didn't work.

In case you guys are insterested in an easy "fix", here is the link to the type c magnet cable I bought:

AVIWIS Cable Magnético Tipo C, [2Pack 1M] Cargador Tipo C Magnético Carga rápida y Sincronización de Datos iman para Galaxy S10/S9/S8/Note9, Huawei P20/P10, Mi 9/A2, OnePlus 6T -Negro : Amazon.es: Informática

AVIWIS Cable Magnético Tipo C, [2Pack 1M] Cargador Tipo C Magnético Carga rápida y Sincronización de Datos iman para Galaxy S10/S9/S8/Note9, Huawei P20/P10, Mi 9/A2, OnePlus 6T -Negro : Amazon.es: Informática

www.amazon.es

Merry Christmas
[Xiaomi Poco F1 Guides, News, & Discussion] dmitrypershin2015:
build kernel CONFIG_USB_OTG_WAKELOCK=y no ?
[Xiaomi Poco F1 Guides, News, & Discussion] hfranca92:
hello, I have this same problem and on the same device as yours. did you solve it just by cleaning the usb input? thanks.
[Xiaomi Poco F1 Guides, News, & Discussion] hfranca92:
Olá, estou passando pelo mesmo problema com o Mi 9 se. conseguiu resolver o problema com o cabo magnético? Obrigado.
[Xiaomi Poco F1 Guides, News, & Discussion] amn1987:
Poco F1's battery doesn't seem to be of a particularly high quality. Down to 80% in just 20 months as per the built-in kernel profile, battery cycle count 630. Accubattery estimates it at 72%. Given that it has predicted accurately twice the reduction in battery capacity and earlier than the kernel profile I am inclined to trust it. But fortunately I found out how to enable bypass charging at below 100% charge by just limiting the max. charging voltage and since then only 14 cycles have been used in close to 2 months. The battery no longer drains even when plugged in and reaching the desired charge percentage and temps. rarely cross 40°C which used to be pretty common earlier. The wakelocks continue to persist even in crDroid 7.x and I just keep them blocked.
[Xiaomi Poco F1 Guides, News, & Discussion] Jolubeat:
Hi.

Would really like to limit the charging percentage, just like you did. Any particular software?

Also, how do you monitor and count your phones battery cycles?

Thanks
[Xiaomi Poco F1 Guides, News, & Discussion] amn1987:
Root is mandatory obviously.

For limiting battery charge level: echo 3950000 > /sys/class/power_supply/battery/voltage_max

The value is in micro volts. 3.95V corresponds to 61% charge. 4.1V around 80-85%.

However you need to first change file permissions of the "voltage_max" file located in sys/class/power_supply/battery to rw-rw (chmod 666).

The voltage is reset to the default at every boot. I have set Tasker to do it automatically(Tasker needs to be granted the permission to execute commands in a Termux environment)

(Bypass charging automatically kicks in at 100% charge by default. But it's not advisable to keep the battery at 100% for long periods. By limiting battery voltage the system is tricked into thinking the battery is full and bypass charging can be triggered at any arbitrary value.

Thanks to bypass charging the batteries in my budget Redmi devices are still in good health 4-4.5 years later.)

Cycle count - /sys/class/power_supply/battery/cycle_count

You can use Charge Cycle Counter app from XDA for more convenience.

Battery capacity /sys/class/power_supply/battery/charge_full

There are apps like Device Info HW that can read battery capacity from above.

P.S. Don't use any app like ACC/Battery Charge Limit or the built-in Smart Charging to limit charge as they prevent bypass charging from being triggered.

Edit: I had earlier mistakenly mentioned that the file permissions for voltage_max is reset at every boot whereas it's the voltage value instead.
[Xiaomi Poco F1 Guides, News, & Discussion] Jolubeat:
Thanks for your time man!

When I get home, will give it a try ;)

Will give further feedback
[Xiaomi Poco F1 Guides, News, & Discussion] trax7:
I have tried it, I disabled everything related to USB OTG and even USB 3 - it still happens. The error comes from registering and deregistering the port as available. The mode can be known or unknown to the system, it still attempts to act on it and record in logs. The dmesg spam became a little shorter, but the frequency was the same, so that did not help...

Sometimes that works, sometimes it does not. Use a magnetic USB charging cable, that seems to help, just having smth in the port protecting it. Also, make sure you are on the latest possible firmware and vendor, preferably a custom ROM too.
[Xiaomi Poco F1 Guides, News, & Discussion] amn1987:
Did you get it to work in your Mi9 SE? The location of these files could vary from one device to the other. Sometimes named very differently.
[Xiaomi Poco F1 Guides, News, & Discussion] Jolubeat:
Hi. No yet.

I had to do a fresh install and it is no longer rooted. In a couple a days I will probably root it again and then, will follow your instructions for sure.

Thank you once again :)
[Xiaomi Poco F1 Guides, News, & Discussion] amn1987:
Any update? In my case only 56 battery cycles used in a little over 9 months. The device is in use as heavily as ever if not more, 15-18 hours a day on average.
[Xiaomi Poco F1 Guides, News, & Discussion] mowtim:
Old thread, same problem solved.

Against all odds for me, too, it was a usb-port-issue.

Using Better Battery Stats i had no deep-dleep-time at all.

Changed the port module and everything was back to normal.

Thanks fpr this thread...///
[Xiaomi Poco F1 Guides, News, & Discussion] VenomJod:
I Am On This Logcat The Last You Sent , Kindly Provide A Solution Please
[Xiaomi Poco F1 Guides, News, & Discussion] Stonecaper:
Old Thread same problem. Blocking the wakelocks or cleaning the port did not help.

Will replace the usb module from local Mobile shop tomorrow & update
[Xiaomi Poco F1 Guides, News, & Discussion] amn1987:
Update: I kept the wakelocks blocked for well over a year with no issues but I couldn't block them after A12 as the Optimus Drunk kernel had been abandoned by then and the Silvercore kernel included in crDroid didn't support blocking wakelocks (the dev had no interest in adding support as well ). Thankfully idle drain continued to be pretty good less than 0.6%/h despite being on 4G a lot of the time and battery optimization is no longer enabled for Google Play Services. I did try Rockstar kernel which included a wakelock blocker but there wasn't a significant difference. Wakelocks like qcom-step-chg are active for less than a minute or so after a reboot. Also little over a year ago I had got the battery replaced from the authorised service center. I still use the original 18W charger but I have tweaked the battery charging current (& voltage ) so that it's on par (actually a bit slower) with a 10W charger.
[Xiaomi Poco F1 Guides, News, & Discussion] Stonecaper:
What was your total cost for USB Port repair? also location please

@mowtim​
[Xiaomi Poco F1 Guides, News, & Discussion] mizzunet:
I also happened to had this issue. Somehow found workaround. Just want let you guys know if anyone still facing this.

To disable usbpd0 wakelock

```

echo 'disabled' > /sys/devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-00/c440000.qcom,spmi:qcom,pm6150@0:qcom,usb-pdphy@1700/usbpd0/power/wakeup

```

There were still the spamming in the logs. The following prevents this spamming. I don't know what exactly does it do though

```

echo 'sink' > /sys/devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-00/c440000.qcom,spmi:qcom,pm6150@0:qcom,usb-pdphy@1700/usbpd0/typec/port0/port_type

```

Hope it helps
[Xiaomi Poco F1 Guides, News, & Discussion] amn1987:
https://www.reddit.com/r/lgg7/comments/ilptxs
Seems a similar issue and last post mentions a solution.
[Xiaomi Poco F1 Guides, News, & Discussion] imanobuddy01:
I had the same issue. Started sometime in the first week of December. Idle drain overnight would be around 40-50% and no fast charging. What helped me with the idle drain was disabling Play Services when I go to sleep and then enable it again only in the morning. With Play services disabled, my overnight drain was 5-10% max.

And now after almost a month, the issue seems to have fixed itself. Fast charging is back and overnight drain is a few % only.

I was hesitant to go change the battery or the charging board but by some miracle, Im saved.
[Xiaomi Poco F1 Guides, News, & Discussion] rcastril:
TL;DR

Buy a new sub board. Is cheap and will save your phone.

Long version:

Registered here only to post this.

I have a Motorola Edge Plus 2020, wonderful hardware.

Around 1 year ago it started to heat while screen was off and battery drained so fast I had to charge 2 times a day or more.

Bought 3 new batteries, 2 from Aliexpress and 1 from a local store. It had the exact same behavior, except worse as the 2 batteries from Aliexpress were 1 fake and the other had 3600Mah instead of 5000 which is the phone's default.

Fortunately the charging port was bad, charging only 1 side of the usbc connector so I bought also a sub-board or charging board.

I got amazed! Once replaced the board myself (around U$20,00) the problem was gone!!

I also had the USB wakelocks, phone was almost never at deep sleep. Now there is no USB wakelocks and my phone stays 48h with one charge (Ialmost not using it) and a full 24h using normally as I do.
[Xiaomi Poco F1 Guides, News, & Discussion] amn1987:
The issue you faced could be due to this issue.
[MTCD  Android Head Units Q&A] Bright Blue:
Hey, guys! I've got a PX5 unit (android 8) which automutes itself randomly and it's pretty annoying. I had initially installed the halk9 mod. It ran smoothly for a while. I returned to factory settings thinking that might be the culprit. But it seems that, after a while, the problem comes back. I'm attaching a video...

https://www.youtube.com/watch?v=PGK-cP-qlfc&list=UUxUDHBPGpwm_DVBPptUWvwQ&index=1

I also have issues with the unit not connecting the my phone wifi hotspot. It rarely connects from the first attempt. :(

I will attach the MCU version as soon as I get to my car.
[MTCD  Android Head Units Q&A] Bright Blue:
Up!
[MTCD  Android Head Units Q&A] marchnz:
Have you thought about detailing the issues? In this guess-fest, looks like defective hardware to me.
[MTCD  Android Head Units Q&A] Bright Blue:
Ok, so now I get random ghost touches on the unit. It begins when I start the engine. After a while, they settle down. But it is pretty annoying. Should I try to break the unit apart?
[MTCD  Android Head Units Q&A] marchnz:
do you have a hammer adjustment tool.
[MTCD  Android Head Units Q&A] Bright Blue:
I do!:D No other option?
[Android Q&A, Help & Troubleshooting] ItsAllecc:
Hi i have this problem where when i install the twrp official app i can open it once then i get a popup the next time i open it saying "Package installer has stopped"

I am on Android 8.0 Oreo (Go Edition)

Rooted with Magisk version 20.1
[Android Q&A, Help & Troubleshooting] SabasJeff:
Has anyone found this?
[Android Q&A, Help & Troubleshooting] barry6020:
Download older apk versions of the app.
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] mchtt:
Hello, is it possible to install the stable beta V12.0.0.11.QFJMIXM (Global) on a phone with V11.0.5.0.QFJEUXM ?

In the about phone section, my phone says V11.0.5.0.QFJEUXM MIUI Global. i just wonder if there are compatibility issues with different hardware . region ?
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] love4chat:
only if u have unlocked bootloader
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] mchtt:
Thank you I tried with success.
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] GabiML:
Yes you can, but just wait, it is very, very laggy
[Off-topic] ruk_design:
Hi mates.

http://www.myppcworld.com is for sale. its valid till 4 years.

please bid if someone like to make its own professional mobile site., community , blog.. etc.

Bid for this domain. if anyone like..
[Samsung Galaxy S8+ Questions & Answers] SpDmC:
Hello everyone i need help please

I have galaxy s8 plus G955F)(duel sim) after hard reset from inside it stuck on boot galaxy s8+ for hours i tried many firmwares but nothing happens the phone is offiial and new but with no Warenty please im desperate
[OnePlus 5 Questions & Answers] boiQMM:
I have oneplus 5 running latest TWRP for cheeseburger, and latest pixel experience rom

With android 10

My question is can i install magisk manager and app , or is it possible it can cause issues with the rom , as anything above android 8.1 on oneplus 5 is causing really bad issues for me, but this rom fixed them so i dont wanna mess it up .
[OnePlus 5 Questions & Answers] Z-Blade:
In the early stages of Android 10 there was some minor bugs with Magisk but they pretty much has been iron out. I haven't had any issues with Magisk for a while now but I can't say for certain for PE. What usually cause problems is the modules you are using, these is what normally cause lag, stutter, random reboot and etc.
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] J6idot:
Guess what, some noob dev ported OneUI 1.0 to J4 Core without even owning it.

LiteE J4+ PORT 1.0!​

Hello everyone, here's your goddamn OneUI 1.0 port on a device with 1GB of RAM.

Features:

OneUI 1.0

Heavily Debloated (a lot)

Deknoxed

And more...

Bugs:

Back Camera does not work (front works fine)

You tell me.

Download link: https://drive.google.com/file/d/1UUbOvE2YI2-e_bDsfQTcjrLZlVontiOd/view?usp=sharing

All necessary files:

Leo Kernel (by Leonel): http://drive.google.com/file/d/1Dki7FqTsJQU3nbq0613Hb8tP3Fgpn-hd/view?usp=sharing

ZRAM (by korom42): https://drive.google.com/file/d/1y53bPLIjEcG2yXqkEIVYdw9Xt8XGHM8p/view?usp=sharing

Disable Pie Security: https://androidfilehost.com/?fid=1395089523397964680

Magisk 20.4: https://github.com/topjohnwu/Magisk/releases

INSTRUCTIONS:

1. Make a backup just in case something goes wrong.

2. Wipe system, data, cache, dalvik, vendor.

3. Flash the ROM.

4. Flash the Kernel.

5. Reboot to recovery.

6. Flash Disable Pie Security.

7. Flash ZRAM Addon. (You can configure it using Kernel Adiutor)

8. Flash Magisk 20.4 then reboot and enjoy!

WHEN YOU ARE IN SETUP WIZARD, DO NOT PUT IN YOUR GOOGLE ACCOUNT, ONLY DO IT WHEN YOU FINISH THE SETUP.

If you really like this ROM, consider pushing thanks.

Credits:

Me, for almost doing everything, booting, adding optimizazions.

@pablobotty, for fixing almost all the bugs and adding a few other things.

@leohiper10, for his kernel.

@topjohnwu, for Magisk.

XDA:DevDB Information

LiteE J4+ PORT 1.0, ROM for the Samsung Galaxy J4+

Contributors

J6idot, pablobotty, leohiper10

Source Code: https://github.com/LeonelArtuzi/android_kernel_j4core

ROM OS Version: 9.x Pie

ROM Firmware Required: Latest Oreo FW

Version Information

Status: Testing

Created 2020-06-16

Last Updated 2020-06-16
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] J6idot:
Reserved
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] J6idot:
Reserved

Note:​

Please do not come at me saying that you want some features added. I had to remove basically everything and no space is left (almost) in the system partition (due to that 1.4GB partition).
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] J6idot:
yes
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] soomin:
nice job ?

I know it is in testing and some optimization details are missing to correct, but something essential would be the camera. But on the other hand, an excellent job.
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] J6idot:
Thanks for testing the ROM, but i have to say that back camera can actually work, it's just the camera app that closes. Could you download Footej and tell me if it works?
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] Toni33:
First, thank all the developers for the effort you make with these roms so that we can enjoy our j4 ... I wanted to know how I can solve the camera and flashlight failures or if you are going to get any update of this ROM with the corrected errors, thanks again for all. Also m gives error when installing kernel.
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] J6idot:
english mate
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] Toni33:
First, thank all the developers for the effort you make with these roms so that we can enjoy our j4 ... I wanted to know how I can solve the camera and flashlight failures or if you are going to get any update of this ROM with the corrected errors, thanks again for all. Also m gives error when installing kernel
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] J6idot:
For camera, it might be an issue. Try with another camera app and tell me if it works.

The kernel issue, some people didn't get that. Did you follow the instructions?
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] Toni33:
I tried another camera application and it doesn't work .... on whether I followed the instructions well ... I did it as you describe and it keeps giving me an error ....
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] Star Dust:
Really great job sir!!! Thank you very much for this!!
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] Star Dust:
Tried it and it was laggy, frozes frequently even maxing out the online cores. Especially when unlocking it, it takes 3-5 sec before it responds. Can't be use as daily driver. I hope someone would port a custom rom like aex or lineage
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] J6idot:
OneUI 1.0 on 1 GB of RAM dude :laugh:

Don't expect something crazy with performance.

Maybe 1.1 i can optimize it more.
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] charro59:
Thanks man, it´s works.

Thanks man, it´s works.
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] Star Dust:
I'm not expecting a great deal bout performance, I just thought it would be use as daily driver. Until maybe someone would develop a custom rom for j4core. Anyway I got the leokernel work with pie gsi, but can't be use as daily driver also because of bug of incall sound and mtp connection.
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] J6idot:
i mean, why don't you try to port something from J4+?

Something like lineage, havoc.
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] GuilhermeA0:
could help me with the installation, I don't know how to do it?
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] sadyqowl1560:
yes
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] dopewilly:
hello. please i installed the one ui port but my device lags. please qny solution
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] PabloBotty:
I will make a video for ram optimizations.Don't worry,I will ask [MENTION=9725097]J6idot[/MENTION] to leave the video link in the installation guide list.;)
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] dopewilly:
Im using lineage right now and its superb. J410f. No lag at alll. I opened about 20apps at once still no lag. Smooth n fluid
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] Chris_0147:
What is the diference with optimistic kernel
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] José lucas Silva Barbosa:
Bom dia dia

Translation: Good day day
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] ZorEl212:
If anyone here have incall audio, Bluetooth audio or major problems with any 9/10 GSIs flash this ROM then flash the GSI (don't wipe vendor) and everything will be as good as it can be with GSI systems.

Incall audio fixed with GSI roms

Bluetooth audio fixed with GSI roms

Some minor bugs like incorrect network signal bar status (looks empty) but all network functions work correctly.

Default camera app problem.(other camera apps work well)

I'm currently using Lineage 17.1 without any problems thanks to this ROM's vendor 🙂
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] NsovoXD:
Hi, could you please assist, been looking for a custom kernel for j4 core lte j410f. no luck so far.
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] Oshigami Tsukizume:
My phone struggles to run Footej for some reason, but with Open Camera, it works.

Edit: Sort of. The app can still access the camera, but can't capture or save. Weird.

Edit 2: Any other apps that capture images just halt, but video record works.
[Samsung Galaxy J4+ ROMs, Kernels, Recoveries, & Ot] Imtoostupidtocreateauser:
Does it work with the phizero kernel?
[Android Q&A, Help & Troubleshooting] Longobz:
Lot of time ago my brother decided to try and flash a new ROM on his Motorola Moto g 2nd, something went wrong and he decided to give up. I'm trying to restore it BUT it seems to be impossible, i've gone trial and error flashing lot of compatible ROMs after the stock one didn't work, even tried to use mfastboot v2, even if everything seems to work fine, flashing goes all the way trough with no problem, when i restart the phone it's still stucked on "Warning Bootloader Unlocked" screen.

Version: XT1068 dual sim
[Android Q&A, Help & Troubleshooting] Deleted member 1890170:
https://xdaforums.com/showthread.php?t=2662719
[Android Q&A, Help & Troubleshooting] Longobz:
Thank you for your reply but didn't have any success with those solutions, any other advice?
[Android Q&A, Help & Troubleshooting] MPK99:
There are some methods to extract the partition layouts...one can be using dd cloning & extracting img files...another can be through B2bSupportLg Tool, also calleld BoardDiag. It does have MSM8226 chipset option, but that device is W7 G2MDS. Take a working Moto G 2014 from someone, ask them to use this tool to extract the partition schemes, then you'll get .mbn files, especially prog_emmc_filehorse_msm8226.mbn . Use that to dump into the bricked device using either QFIL Tool or use this blankflash tool, replace it's singleimage files with the one you got, then execute blank-flash.bat.

Also I had some emmc prog firehorse files, all 4 related to 8x26...You can try those & confirm me if they work or not
[Android Q&A, Help & Troubleshooting] Raghujadhav20:
Two Mi A1, 1 note 9 pro, 1 Lg stylus, 1 Samsung at.

It started two days back phone restarts and goes initial factory reset. Yes all of the same day .

Tried with sim , without sim.

With google account and without google account.

With wifi and without wifi.

Hard reset many times.

Still problem. When goes to factory reset I have to setup again and makes calls or down load apps.

After 1 hour or so after locking when checked again phone back to factory reset .

Again repet same process ........

Some times not all the times when connect to charger immediately resets to factory default.

Checked with MI and samsung service they say they have not heard this issue before.

Any help ... what to do :(
[Android Q&A, Help & Troubleshooting] Raiz:
That's scary, your place must be haunted lol.

That's really uncommon and you tried every idea I had in mind. Sorry to say, but I can do nothing for you. Hope this message will cheer you up anyway,

Have a good day :)
[Android Q&A, Help & Troubleshooting] Raghujadhav20:
I bought another new android phone added sim card and Google account , same day it started rebooting to factory default :(.

Is there a way stop factory reset.
[Android Q&A, Help & Troubleshooting] Raiz:
IDK, do you buy them from the same person each time? You may wanna consider buying them elsewhere, or try to get refunded and buy another one. That's really curious...
[Android Q&A, Help & Troubleshooting] Raghujadhav20:
All are from different shops, online , some of them are 3 yrs old and two new from different shops.
[Android Q&A, Help & Troubleshooting] Deleted member 1890170:
[MENTION=10891505]Raghujadhav20[/MENTION]

I think it's not the Android OS but the buttons. Order a back cover which basically has slots for the buttons. Thus probability of them being pressed when in jeans pocket - starting a Facatory Reset - should get reduced dramatically.
[Android Q&A, Help & Troubleshooting] TNSMANI:
Just a thought, not a solution. Did you try without Sim, wifi, Google account, Location/scanning, BT everything off at the same time? If not, try it.
[Android Q&A, Help & Troubleshooting] Raghujadhav20:
It's happening for all 5 phones,