yashsingh1/xdaforums huggingface dataset:
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] nash_activ:
I wanted to wipe the boot partition to do a clean install of the latest build, since the camera app kept crashing(I taught it was due to a dirty flash). Did a clean install but It still crashes, so I reverted to an older build. I Hope the camera crashing issue is fixed in the next build.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] galets:
what is going on with encryption? I have successfully encrypted Leeco Le Pro3 with Lineage 14.1, but this one just won't budge. Anybody knows how to solve?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] XNTPbIY:
Good afternoon. Lineage 14.1 from 2017.06.01 not working.

1) the Camera crashes .

2) In call history lost the first digit +7 or 8 for Russia.

3) Mobile network is not available after you reboot the phone , the Internet works.

I write to you here through the translator of the English language does not know.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] DarknessKiller:
1) The Camera Crashes Sometimes

2) Dont Know About That

3) Dont Get You...
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] XNTPbIY:
htt:// cs5-1.4pda.to/10432821/Screenshot_20170604-080344.png
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] DMage:
Having an issue here with battery failing to charge. I have a USB-C wireless pad under my case, and use a dual charging pad for the phone. It is a lower speed charge, the receiver is 1 amp, the pad is less. I placed it on the pad and the battery icon showed the charging symbol, however the LED did not light. Came back the next morning to a dead phone. Phone worked fine before the flash. My wifes LE S3 X522 on the stock ROM charges fine, swapped wireless pads to test, no change. Running the latest Lineage 14.1 6-1 nightly with a fresh install. Fast charger on the OEM charger works fine.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] decentguy49:
I had successfully unlocked bootloader and flashed TWRP, but when i boot into recovery it ask for password to decrypt, i can cancel it but when I select install to install any zips, it show sdcard blank
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] zoneryder:
That's absolutely normal. Internal storage is encrypted. That's why it asks for password & dhows blank. You need to format data partition, but that will erase everything from internal storage
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] decentguy49:
do i need to flash modem or firmware files provided in the downloads section in OP
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] codeworkx:
No. Normally not.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] lambhurricane:
I have a big issue with gps [MENTION=3208754]codeworkx[/MENTION] can u check GPS ?

In latest its not showing my position
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Lavin_A:
What's wrong? Works perfectly for me

Try using "High Accuracy" instead of "GPS only"
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] codeworkx:
Its fine.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] galets:
Perhaps, somebody can recommend me how to encrypt device via adb? Recovery? I just need to get encrypted data partition started, it's OK if I don't have data restored
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] lambhurricane:
[IMG="current gps status"]/storage/emulated/0/Pictures/Screenshots[/IMG]@codeworkx sir this is my situation
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] FridrufHau:
Hello,

just a few lines before I start complaining. I never used Lineage or cyanogen before and I am now using latest Lineage build instead 5.9.19s and it is amazing. It is so much more fluid, the start up so fast, so many more gb's on my hard disk. Don't have to complain about camera, I made a zoom comparison of old pictures to footej now and even if I can just take picture with 12 megpix now its at least as sharp as 16 pix before. No 4k video recording, but ok, hopefully later. Stock camera always crashing. So stock rom will never see me again on this phone for sure. Thx a lot, some beer on my cost will follow this week :p

I have a little problem concerning my bluetooth headset, it is not showing its accu state as a small symbol in status bar any more, which was quite useful to avoid sudden emptyness. You not have to start programming, but is someone knowing an app which could be able to show? Secondly the bluetooth volume is jumping too much between its steps, so that I can just choose between too loud or too silent sometimes. Usual headphones are ok.

Kind regards.

p.s. google safety update from may, before was october, very nice
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] piku 123:
Switch off your phone then try to charge your phone if it charges then charging issues are caused by phone temperature just switch off your phone let it cool down then charge your phone if phone is not charging even with switched off then charging cable is faulty.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] DMage:
Correction as I just went to check on the phone:

The phone will not charge when off at slow speeds with the USB-C QI adapter/pad.

When powered on: fast charge via the OEM cable/charger works fine, when switched to the USB-C QI adapter the battery indicator in the system tray shows charging, yet the LED does not light and it will not charge.

When powered off: fast charge via the OEM cable/charger works fine, when switched to the USB-C QI adapter the screen shows the battery bar indicator as charging, the LED is lit, yet it does not take a charge and decreases. 2% in 20 minutes decrease.

USB-C QI adapter swapped to my wifes X522 using OEM ROM charges fine, her working adapter swapped to my phone fails to work.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] decentguy49:
Is video still broken or its working?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] CpaoV:
we've had security updates monthly with this ROM
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] codeworkx:
encryption and screen brightness should be fixed on next build.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] FridrufHau:
Oh sorry I meant my old stock version was safety level october, I know you are faster here.

Stock Camera is taking good 16 megpix pictures if I don't play around in settings too much or s.th :p

Footej for hd Video.... I'm fine
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] mdfarazb2:
WoW! Great..Tqsm Sir!
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Harsimran084:
Is there anyway to prevent hardware keys( menu home and back) from lighting up whenever i touch screen. I mean to make them work as they work in eui i.e they lit only when keys are touched not when u touch your phones screen..

Thanks in advance.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] adicteda1:
Camera is rigged

When i record video with insta or snapchat, its just fine

But when i record video with stock camera or google camera, the video doesn't play only audio runs
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] galets:
I built the code change you checked in and it worked! omfg thanks. I spent so much time trying to fix this snafu :)
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] adicteda1:
my phone is not turning on after i powered off, its not showing any signs.

any solution?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] piku 123:
Broken use vlc for now
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Real_Rosch:
Great! Thanks!

Beside of the camera thing (presently not working for me eg. in google translate) the most annoying thing for me is the problem with leaving flight mode.

Every second time when leaving flight mode I have to reenter the PINs of both SIM Cards. This is unusal and a little annoying. I am always putting my phone

to flightmode before going to sleep and have to reeenter the pins every second day. The problem can easily be reproduced. Just enter/leave flightmode 2 times.

Any idea where this is coming from?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Sam aka:
Unable to record video from camera app

Tried google camera too

Only sound plays, but the frames dont get recorded
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] barath.k:
Use footej camera for recording video:)
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ganu6000:
Sometimes the cpu frequencies get locked at 400MGHZ and the big cores turn off , the phone becomes very slow . Can only fix it through kernel auditor
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] azoksky:
Oh okay
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] harsh_hk:
Need help

I am thinking about flashing lineage but before I do I'd appreciate if someone answers a few things I wanted to know.

Is there an option to switch between hardware navigation keys and soft keys? Do the hardware keys stay backlit only on touch (like stock rom) or they light up whenever the screen is on?

What is the approximate free ram when the phone is boot up for the first time?

How big (size) are the OTA updates?

Does magiskSU and xposed work well?

Does VoLTE work well?

How much SoT can I expect? (I don't use fb and snapchat and other intensive background apps)
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] :
Encryption works [MENTION=3208754]codeworkx[/MENTION] Thanks :victory:
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] maddy26k:
Hey guys,

I found a way to use the IR Blaster. Just set your SELinux status to permissive and use ZaZa Remote App. Enjoy people.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Lavin_A:
Already found out 4 months ago in this same thread.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] maddy26k:
Sorry, didn't check it.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] FridrufHau:
Hello,

I would like to tell in first night off using lineage I change nothing to the daily use and didn't switch off phone and got almost no battery drain over night. Both nights after with airplane mode about 15% drop over night.

Last night just leave it on again, almost no battery drop.

I never had the failure of logging in and crashing airplane no matter how often I switch on or off.

Kind regards
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] CpaoV:
1.Yes there is an option, and the backlight only turns on when touched (although I thing you can configure that)

2. Free RAM is usually between 1.8-2Gb on the first boot up, and with apps installed around 1.7- 1.3Gb

3. OTA files are around 500mb because it's the whole ROM.

4.Magisk works perfectly and Xposed I haven't tried

5. I don't have VoLTE in my area so I can't tell... LTE works no issue.

6.SOT is usually around 3hrs of heavy usage and 5-6hrs light usage.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Sam aka:
Yes u can switch navigation keys.

No they light up when u touch screen but u can disable them to never light up .

RAM management is good

No idea abt OTA updates size

Xposed isnt for Nougat and hvnt tried SU

VoLTE is fine though it shows LTE rather VoLte

Battery backup decent

---------- Post added at 01:18 PM ---------- Previous post was at 01:17 PM ----------

SELinux?? Can u guide in a detailed way please
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] maddy26k:
I don't know much about it... For details, you may ask senior developers, because I just searched this on the internet...

There is a SELinux status when you go in About Settings. By default, it is set to enforcing and to change it you need root access which is not enabled by default in Lineage OS 14.1.

To do so, download SuperSU zip package or the Lineage Official Root add-on and flash it using TWRP Recovery.

Now Reboot your phone and download Terminal Emulator.

Type these commands there :-

1.) su

2.) setenforce 0

Also grant root access to apps in the Developer Options in setting.

You are all set now.. Just download ZaZa Remote App to use Remote.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] sebastian1978:
Many thanks to developers for their great work!

I installed version from 8 June. The main problem for me is crackles during listening music from leeco usb earpods. Also don't work microphone and answer button in earpods. Sound quality also worse than in stock.

Any news about better sound quality and Dolby Atmos? Is it possible to fix?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] piku 123:
You can easily flash dolby atmos on this ROM just search XDA.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] CpaoV:
Is it just me, or latest nightly is not charging?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Red_Man 898:
is airplane mode bug fixed
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Sam aka:
Music Player is not showing lyrics

Try to fix Camera Recording issue (provide support for google camera)

Add option to disable the vibration when unlocking with fingerprint succesfully.

Please consider these things in the next build.

Good work. Keep it up. Best stable ROM
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] DarknessKiller:
Hello this is lineage official not unofficial

We cant modify anything it will make us unofficial support

Lineage Music Player wont display lyric :v

You Think This Is Fancy Eui Fancy MiUi ?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] CpaoV:
anyone with their phone not charging in latest official update?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] dback31:
Works fine for me
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Sam aka:
But there is option in the music player to show lyric...but it is nit showing them though i hv the .lrc file

And what about vibration on fingerprint scanner and camera fix
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] DarknessKiller:
Use other music player retard..

Fingerprint vibrate is on every single device it a good thing

Camera cant be fix welcome to le 2 it sux
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] JamBax:
maybe it is disbled for some people?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] sebastian1978:
I installed Dolby Atmos module for Le 3 Pro in Magisk, but clicks during listening still stay(
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ijcly:
Not charging for me either!! Any fix for this?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] codeworkx:
Without logs and infos nobody will be able to fix it.

Which phone model?

Charger?

Cable?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Sam aka:
Front cam doesnt works sometime in any camera app
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] piku 123:
Turn off touch sound.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Mouratti:
Good work develop

Any know issues or bug?

I use 13.0 rom, any big changes to this rom, that i need to change ASAP :) :)

Know bugs flashlight and camera still the same?

Thanks
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] CpaoV:
I just can't believe how we went from having a 95% stable camera, to having what basically is one that works 1/10 times....

also, I sorted out the charging issue, just re downloaded the ROM and clean flashed it, charging works fine now, I think.

but the camera, I've lost some important moments due yo it working after resetting ANY app (even footej) at least 10 times until it finally connects to the camera....
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] godfire2203:
I am using le x526 indian version. My adapter is letv's. And cable is mivi type-c. I don't think that there is any problem with adapter or cable. My phone is not charging. It charges whenever I put it in charging 20-30 times. I don't know whether its's ROM problem or other. Someone please check this out and reply as soon as possible.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Jay7383:
Which ROM is stable

Lineage 14.0

Lineage 13.0

Pure Nexus

Resurrection Remix 14.0
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] codeworkx:
That's not true. The kernel driver and cam hal didn't change.

Some apps do work most of the time others don't.

Try Open Camera with API2.

Cam never was fun to work with because of their ****ed up libraries. Even on 13.0.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] CpaoV:
Yeah, but 2 builds ago, the camera apps opened almost always, and I always have at least 4 camera apps to try, the Google camera, Footej, the Stock Snap camera, Manual Camera, I even try Telegram's and Whatsapp's in built camera... and all of them worked 95-98% of the time 2 builds ago...

these last 2 builds, all camera apps open like 1 in 15 times I try, and sometimes I just give up using it...

---------- Post added at 06:18 PM ---------- Previous post was at 06:17 PM ----------

Footej camera always worked perfectly...
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Lakku:
For me .... Camera is fine... Same as earlier build...
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] CpaoV:
this is a new error message coming from the camera apps.. this appeared after 20 tries (yes, I did all of them and then rebooted the phone so maybe I could use the camera for a very important moment)
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] codeworkx:
What was the last stock rom or stock based rom you were running?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] RoguishOfficial:
Go to settings. Applications. Camera(stock camera), remove all the permissions and reboot. If doesn't work, uninstall stock cam using system app remover. Reboot.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] sebastian1978:
Touch sound already turned off. Clicks during listening audio present in earpods and via dinamics of telephone.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] RoguishOfficial:
Delete Dolby and use Viper4Android driver. Dolby is **** anyway.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] CpaoV:
I've been in Lineage for a long time.. as I mentioned.. I think it was the last May Build (Lineage) that the camera worked flawlessly for me, every June build has left the camera useless...
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] skullman_247:
Is the battery charging on the latest build guys?
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] TDINater:
Of course it is....
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ganeshmanyam:
Its true . It is not charging at normal rates . when first connected its giving a juice of 850ma instead of 1400ma and then after sometime it just drops to 150ma and the type c head is heated up. It seems the issue of new kernel can anyone check. Also some people on XDA checked these charging rates and because of new 7.1.2 during the phone is powered up the charging is too slow or not happening but if the phone is turned off or in recovery mode its charging at qc-2.0 rate.

---------- Post added at 05:16 AM ---------- Previous post was at 05:10 AM ----------

Its happening for me also. I have just rooted and flash lineage 7.1.2. This problem is happening for me too. [MENTION=3208754]codeworkx[/MENTION] Is it the problem with new car kernel as it is not supporting quick charge.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] godfire2203:
Anyone knows how to fix this issue or should i change the ROM. I am 100% sure that this is ROM's problem. Mine adapter and cable are ok. [MENTION=3208754]codeworkx[/MENTION] please take a look at these small problems. Since many are facing this problem.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ganeshmanyam:
I thought it was but I checked with Galaxy s8 charger and it works fine and also I swapped the cable with leeco adapter and quick charge works fine. It's the problem off cable for me. Try swapping the cable and check if it's working.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] godfire2203:
It charges with the same cable but after sometimes. This is my third cable. I cant afford changing cables every month. This is ROM's problem. When this ROM was unofficial it works fantastic and now, it is pathetic. Worst ROM ever.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] ganeshmanyam:
Yeah I had this issue with my leeco cable. I don't know what to do now as it is working with other cable. Gonna buy a new one.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] godfire2203:
I am using mivi type-c cable worth rs 500. And it is working. If it's cable problem then it never charge my phone. But when I reboot 3-4 times, then my phone starts charging fast.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] :
No one except you have this issue so no one knows how to fix this issue so please consider changing this ROM or phone or your cable. I am 100% sure that this ROM has no problem with charging. Your adapter and cable might be broken.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] godfire2203:
You better read previous comment before quoting. Everyone has this issue. And yeah, I am going to change this worst ROM
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] :
Good for you :good:
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] mankish29:
guys please any working link for xposed framework foe lineage 14.1..
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] Lavin_A:
Xposed is not supported on 7.0+
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] :
Xposed is not yet released for nougat.
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] codeworkx:
I can't find any problem.

Here's the result with stock LeEco USB cable and my Aukey Qualcomm Quick Charge 3.0 Charger:

<7>[ 692.663145] SMBCHG: smbchg_hvdcp3_confirmed: Retracting HVDCP vote for ICL
<7>[ 692.663171] SMBCHG: smbchg_set_usb_current_max: USB current_ma = [B]3000[/B]
<7>[ 692.663310] SMBCHG: smbchg_set_usb_current_max: usb [B]type = 8[/B] current set to [B]3000 mA[/B]
<7>[ 692.718087] SMBCHG: smbchg_change_usb_supply_type: [B]Type 9[/B]: setting mA = [B]3000[/B]

Type 8 = POWER_SUPPLY_TYPE_USB_HVDCP,	/* High Voltage DCP */

Type 9 = POWER_SUPPLY_TYPE_USB_HVDCP_3,	/* Efficient High Voltage DCP */

HVDCP = High Voltage Dedicated Charging Port (HVDCP)

Here's the result with stock LeEco Cable and LeEco Charger:

<7>[ 938.961311] SMBCHG: smbchg_hvdcp3_confirmed: Retracting HVDCP vote for ICL
<7>[ 938.961340] SMBCHG: smbchg_set_usb_current_max: USB current_ma = [B]3000[/B]
<7>[ 938.961483] SMBCHG: smbchg_set_usb_current_max: usb [B]type = 8[/B] current set to [B]3000 mA[/B]

Looks pretty good to me.

Change your Charger + Cable.

The LeEco charger and cable are known to be cheap crap.

Another reason could be temperature of battery.

<!-- charging -->
<configuration sensor="battery">
<threshold>
<mitigation name="charging" level="off" />
</threshold>
<threshold trigger="41000" clear="40000">
<mitigation name="charging" level="1" />
</threshold>
<threshold trigger="42000" clear="41000">
<mitigation name="charging" level="2" />
</threshold>
<threshold trigger="43000" clear="42000">
<mitigation name="charging" level="3" />
</threshold>
<threshold trigger="44000" clear="43000">
<mitigation name="charging" level="4" />
</threshold>
<threshold trigger="45000" clear="44000">
<mitigation name="charging" level="5" />
</threshold>
</configuration

0 = 4500mA - normal

1 = 3000mA - 41°C

2 = 2000mA - 42°C

3 = 1000mA - 43°C

4 = 900mA - 44°C

5 = 600mA - 45°C

At 62°C charging will be stopped, at 67°C phone will shut down.

If you're charging li ion batts on temps higher than 45°C then you won't get it to full capacity of 3000mAh.

Instead it will loose around 30% capacity and show 100% at only 2100mAh.

So you have two options:

a) Your cable/charger is broken

b) Your battery/phone is damn hot
[LeEco Le 2 ROMs, Kernels, Recoveries, & Other Deve] codeworkx:
You've never heard about something like "loose connection"?

It usually sometimes works, sometimes doesn't. Maybe it works for a full week and then stops for 1 day and magically again works for a full week.

In short: It's broken and should be replaced.

Good cables:

AUKEY USB Type C USB 3.0 1M Nylon

Anker PowerLine USB Type C USB 3.0

Cabletex USB 3.1 Type C Nylon