yashsingh1/xdaforums huggingface dataset:
[Transformer TF300T Android Development] Reksho:
The flickering lines returned after a reboot. Did not flash anything besides that, really weird. I also can't reach the login page of my router. It just loads the page endlessly where the flickering lines are the worst. I can reach the router page with other devices so I don't think it's the router itself. Maybe this has something to do with the Wi-Fi drops? I recall version 10 and below working fine Wi-Fi-wise.
[Transformer TF300T Android Development] timduru:
flash -t1 kernel http://xdaforums.com/showpost.php?p=64676116&postcount=699
[Transformer TF300T Android Development] Reksho:
I did. It returned after a reboot.
[Transformer TF300T Android Development] desireleß:
flickering / katkernel_gpu-t1

my "flickering-experience" with #14 and t1-kernel (screen on time >6h):

- I would say -75% flickering, but it's still present for a few seconds each time it happens

- when I activate bluetooth from settings (not quick-settings), it's flickering quite heavy (most of the time reproducable)

- most flickering generally happens in system "settings"

- google chrome, especially when loading a new website, it seems to be gone in 90%

- other apps, like netflix, amazon, camera, google maps, wps-office, quickpick did not show flickering

- on #12 no problems concerning this matter

best wishes,

desireleß
[Transformer TF300T Android Development] vfrvulcan:
Anyone else having issues casting to Chromecast?

I had this issue a couple of months ago on 009, just tried again and still get just a blank screen on the TV even though it says connected.

Other than that, great ROM, thanks Tim
[Transformer TF300T Android Development] rftimoteo:
I am also experiencing a lot of flickering and it worsens in YouTube app. This started after installing the latest version of this ROM.

---------- Post added at 11:01 PM ---------- Previous post was at 10:51 PM ----------

Installed -t1 and so far the flickering disappeared.
[Transformer TF300T Android Development] Ctrl-Alt-Del:
Flickering issue;

New observations testing V014 with kernel patch gpu-t1.

-Changing governor to performance make the flickering dissappear in my case.

-Changing min frequency to more than 475mhz make flickering also dissappear even if using any governor available.

Ctrl-Alt-Del
[Transformer TF300T Android Development] desireleß:
I can confirm this!

Set min freq. to 475 (interactive, row) and flickering disappear completerly
[Transformer TF300T Android Development] lohtse:
Whilst I liked mm6.0.1 have actually gone back to lp as I am having way to many app issues not seeing my sd card.... This is a major issue for me as I have a 64gig card in the tablet with maps and OBB data(moved via foldermount) And of course the issue I was having with titanium not seeing card too... I also had a flicker issue and many of the others mentioned in this thread..... What puzzles me is why we have to mess around with hacks for sdcards as I have a Samsung s5 and a Redmi note2 both with custom MM roms and apps on both have no issues with apps seeing card:confused::confused: I really do appreciate all the hard work thats gone in to this rom but for me its back to LP till the issues here are fixed etc...

PLEASE KEEP UP THE FANTSTIC WORK!!!!!!!!!!!!
[Transformer TF300T Android Development] wetbiker7:
You have to set up the sd card. After flashing the ROM you'll see the sd icon in the status bar. Pull the dropdown menu and tap the sd card. You'll see an option to set it up. Choose the 1st option (the one for transferring pics and stuff) . I'm using a 64 GB SanDisk card and I'm able to access it via Root Explorer under storage.

An afterthought.....

You may have to reformat the card. I had to do that a few builds back. The sd card set up will let you know if a reformat is needed. Just backup your card to a pc, let the tablet format the card, then put the data back on the card. I admit, it was a PITA because I had a lot of data on my card. I haven't had any issues since letting the tablet reformat though.

EDIT: Titanium and other apps besides Root Explorer read my 64 GB card.
[Transformer TF300T Android Development] Reksho:
Bit of a side question but do you guys have the SD card formatted as FAT32? I have a 32gb SD card but as Android doesn't natively support anything besides FAT32, I'm stuck with the 4gb file limit. You guys have this too with the bigger SD cards?
[Transformer TF300T Android Development] timduru:
okie, that's actually giving me a better lead , thanks for that info :)

Here are 2 tests kernels based on that :)

Before going further in my tests / tweaks, if you could test these 2 in order and see if it fixes your issue :)

Put the frequencies/governor back to the default ones of course before testing and reboot :D

Also run this in a terminal and paste the output here

so that I see if we have something different between our models

su

cat /sys/kernel/target_info/info

cat /proc/cpuinfo

(only needed once with either one of the new test kernels)
[Transformer TF300T Android Development] Ctrl-Alt-Del:
Hi Tim,

Here's the results ;

Governor and freq to defaults.

u0_a51@tf300t:/ $ su

root@tf300t:/ # cat /sys/kernel/target_info/info

soc_speedo:1, cpu_speedo:7, cpu_process:2, core_process:0, project_id:2

root@tf300t:/ # cat /proc/cpuinfo

Processor : ARMv7 Processor rev 9 (v7l)

processor : 0

BogoMIPS : 1993.93

processor : 1

BogoMIPS : 1993.93

processor : 2

BogoMIPS : 1993.93

processor : 3

BogoMIPS : 1993.93

Features : swp half thumb fastmult vfp edsp neon vfpv3 tls

CPU implementer : 0x41

CPU architecture: 7

CPU variant : 0x2

CPU part : 0xc09

CPU revision : 9

Hardware : cardhu

Revision : 0000

Serial : 0245801980034500

root@tf300t:/ #

Kernel gpu-t3 = flickering

Kernel gpu-t4 = flickering

Flickering issue seems equal between the two kernel. Thank you for the hard work and dedication.
[Transformer TF300T Android Development] timduru:
ok, so you definitely have a different model than mine.

I am:

soc_speedo:1, cpu_speedo:7, cpu_process:4, core_process:0, project_id:2

your model is using a different table entry to choose its voltages from.

will look further.

But if those having the issue could also install one of the 2 new test kernel and get me the output of

cat /sys/kernel/target_info/info

that way I see if that confirms the pattern.
[Transformer TF300T Android Development] lj50036:
Yes, [MENTION=2158597]hardslog[/MENTION] and I found out there are like 3 or 4 different TF201T... :p

Silly Asus/Nvidia

Thx Josh
[Transformer TF300T Android Development] timduru:
here are moar test kernels. ;)
[Transformer TF300T Android Development] Ctrl-Alt-Del:
Here's the results;

gpu-t5 = flickering

gpu-t6 = flickering

Overall the tablet seems slow with theses kernel especially with t6, max freq is 1200mhz.
[Transformer TF300T Android Development] xxxericxxx:
[/QRCODE]

I can't check the kernel info, I first tried before test kernel, then after flashing kernel 3, aand get no such file or directory, what amI doing wrong? I just went into recovery and flashed, didn't wipe anything after since it was just a kernel, is that wrong? on version 14 with latest kang twrp.
[Transformer TF300T Android Development] Ctrl-Alt-Del:
Typo error, no " :" after the word cat. ;)

Sorry my bad I looked to fast, the typo at the end of the line info missing the o
[Transformer TF300T Android Development] timduru:
Yeah -t6 is stock kernel clocks.

that's weird that it flickers...

I think I'll just go the other way around,

I will restart from the kernel from V012 and add things back one by one ;)

And then you'll tell me when it starts to flicker ;P
[Transformer TF300T Android Development] timduru:
it's missing the o of info in the end
[Transformer TF300T Android Development] Ctrl-Alt-Del:
Dirty flash or clean / format data?
[Transformer TF300T Android Development] timduru:
just one more before I go back from V012:

I had forgotten something in -t5

just to make sure something is not "sticking" between tests too,

shut down the tablet after flashing before booting to the rom.

No I mean , after that if it still flickers,

I will restart from V012 code then add things back into the code and build new version. :)
[Transformer TF300T Android Development] xxxericxxx:
ok, there was no typo in first attempt, but i guess it only works after flashing kernel, here are results:

u0_a51@tf300t:/ $ su

root@tf300t:/ # cat /sys/kernel/target_info/info

soc_speedo:1, cpu_speedo:7, cpu

_process:2, core_process:0, project_id:2

root@tf300t:/ #
[Transformer TF300T Android Development] Ctrl-Alt-Del:
OK, so I have flash gpu-t7, shutdown and reboot.

Result = flickering :(

I was thinking if I go back to V012 myself and flash different clock speed to see when it flicker. Maybe it's not possible that way. Let me know the way it will be the most helpful. But for now I have to go to bed, I'm supposed to be asleep already :) I'll be back pretty soon.
[Transformer TF300T Android Development] wetbiker7:
Yep.
[Transformer TF300T Android Development] Reksho:
I attached some logs to this message that have to do with the Wi-Fi reconnects. I tried to screenshot logcat as soon as they happened. I also attached the full log as a txt file in case it's needed. Will try the kernel fixes later.
[Transformer TF300T Android Development] timduru:
It doesn't have the logs for when the issue occurred.

Use the "How to report" procedure to grab logs
[Transformer TF300T Android Development] timduru:
External storage / permissions system

As I see the question coming back every now and then

I've added it in the Tips in post #2

External storage

The Marshmallow version has per app permissions / security.

Meaning that unless the app has root access it can only access a special folder on the external storage.

If it needs to access another location the app needs to request it at runtime (so the app needs to be compatible with the new request method)

You also need to navigate with the Android Storage/Document Provider (If your external storage / cards don't show up, click on the 3dots menu at the top right of the window => show SD cards)

If the app is not compatible you can also try to grant the storage access permission in Settings => apps => click on the app => Permissions

It might help

In addition, by default all apps can also write to a special Location on the external storage in the form of :

/storage/<STORAGE_NAME>/Android/data/<APP_PACKAGE_NAME>/

where <APP_PACKAGE_NAME> is com.keramidas.TitaniumBackup for TiB for example

Titanium Backup - External storage use

To be able to get write access on the external storage you can use one of these 2 solutions:

1) In TiB preferences => Backup Folder Location => click on Storage Provider at the top (click to change)

Choose DocumentProvider Storage

If your external storage / cards don't show up, click on the 3dots menu at the top right of the window => show SD cards

Click on your SD card then click on Select

Titanium will now have access granted to that location and you can choose / create a folder for TiB on your external storage

Note: only TiB will have access to that location , so if ever you decide to go back to Lollipop or another android version it won't be backward compatible.

2) By Default like all other apps TiB can write to its own dedicated folder on the external storage.

iso if you move your TiB backup folder to the location : /storage/<STORAGE_NAME>/Android/data/com.keramidas.TitaniumBackup/

it'll be seen by Titanium Backup and still be accessible from Lollipop if ever you go back.
[Transformer TF300T Android Development] Reksho:
Sorry. Here you go.
[Transformer TF300T Android Development] Nicolas Love:
You are welcome. :)

I'm sorry for blaming doze mode initially.

It turned out that the problem was in the setting "Keep Wi-Fi on during sleep", which didn't keep Wi-Fi on with the selected parameter "Always", but not in doze mode.

The problem was fixed in #12.

That's the case.

But I use my tablet a lot! It is my everyday friend and lifesaver.
[Transformer TF300T Android Development] Nicolas Love:
With all my respect, I totally disagree with you. Moreover, the release of #12 prooved that I am right. Now, Wi-Fi works fine. Finally, I can use my tablet normally.

By the time of the publishing of my previous post, I had been using #11 already.
[Transformer TF300T Android Development] Nicolas Love:
Wi-Fi Investigation

These things I've found can help you, Tim, to see where the problem is. I made the investigation before you released #12, but publish it now, in case it can help others, if they still have Wi-Fi issues after #12.

Also should mention that by TF300T in the text I mean three TF300T with different hardware (the first is light green board with GPS and GLONASS chip, processor made in Taiwan; the other one has 32 GB RAM and the last one has 16 GB RAM, both dark green boards are from different series and have different LED behaviours, but processors are made in Korea, both have only GPS and the components are more similar). Wi-Fi behaved equally on all three boards, so I generalise them to one for the convenience.

Problems happened equally with at least three different routers, one hotspot and different public Wi-Fi locations.

One more note. By "problems" I mean different issues with Wi-Fi, including turning off after going to sleep mode, same thing with doze mode, brief disconnections. Sometimes I had to "kick" Wi-Fi to make it working again, like turn off / turn on and going to Wi-Fi settings menu, which mysteriously helped.

I had been using KatKiss Lollipop on TF101 up to #27, and since #25 - on TF300T. Since the first release, I have been using KatKiss Marshmallow, on TF300T only.

So, here is interesting thing. I've never had Wi-Fi problems with TF101 on all ROMs, and with TF300T on stock ROM. I had Wi-Fi problems with TF300T on all ROMs starting KatKiss Lollipop #25 up to KatKiss Marshmallow #11.

It means that with the same ROM Wi-Fi worked well on TF101 and not well - on TF300T.

Tim, please look what's the difference between same ROM for TF101 and TF300T. Especially, look into KatKiss Lollipop from #25 to #27. Maybe there is the key to salvation. :)

I guess it's kernel. But maybe there is something more than that.

I thank you for KatKiss Marshmallow #12 for finally fixing the issue with "Keep Wi-Fi on during sleep" option! You are the master! You are the king! :victory:

Now my Wi-Fi works normally. It doesn't turn off after the tablet goes sleep. Still have problems with doze mode, though.

But it's more interesting! Since #12 I don't have lags in my system, and there is no message during booting "Optimising x app of n". And it's all with ext4 file system.
[Transformer TF300T Android Development] timduru:
It looks like it's switching/alternating between the networks:

"Sitecom40D6BF"WPA_PSK

and "UPC594108"WPA_PSK

Most likely because it considers one of the signal to be better than the other at some point.

If you need only one of these , do 'forget network" on the other one.

Try to see if their wifi channels are not overlapping too with wifi analyzer

Also try to uncheck "Network notification" in Wifi => Advanced

What is your setting of "Keep wifi during sleep" ?
[Transformer TF300T Android Development] MiniBlu:
While you have collected a lot of interesting information. I'm not quite sure how or why you think any of that will help Tim fix anything. You clearly went to a lot of effort to test multiple tf300s in multiple locations but have failed to supply any logcats or kernel messages or anything that might prove useful to him. Since tf101 and tf300 use completely different socs comparing results between them tells nothing.:sly:
[Transformer TF300T Android Development] timduru:
Well it's still hardware related.

And as we see with the "flicker issue", there are 4 different cpu types too...

In addition to that who knows how many different wifi/BT chip combination we have...

What "fixed" the keep wifi during sleep issue in V012 is to update the wifi driver.

that's the thing, you cannot mix everything in one big "problems" bag.

that doesn't help at all, that even create more confusion for me and everyone who might have "problems" too.

because you're all talking about different things.

The Keep wifi during sleep not respecting the always setting, I could reproduce it so that helped to fix it in V012.

For the rest of the issues I don't have them.

a complete different kernel and different rom build options..

too many basically.

Why 25 to 27 ?

I don't understand the logic as you say your issue started in V025 ?

Now having a precise version number when it started to happen could be very interesting information.

But before I waste numerous hours following that lead I really need you to verify that it is the case in a deterministic way:

1) Do a full wipe and go back to V024b or the latest version that you are sure had no issue (and indicate the correct version number to me)

- Stay on that version for let's say 1 day, and make sure you do not have the issue.

Grab me a full set of logs on that version as reference.

2) switch to the next version: if your hypothesis is correct it should be V025.

And verify that the issue starts with that version.

As soon as you notice the issue:

- write the time it occured, describe in detail what issue it is.

and grab a full set of logs *per issue*

post all that to me.

what "problems" ?

That's not related, and that most likely disappeared with V011 not V012

after the first boot with V011, meaning that the first time you booted into V011 it did the optimizing,

then shouldn't have done it anymore after the subsequent reboots , because it succeeded.

The fact that you are using ext4 is interesting though.

As it could be an indication too, maybe since it's slower than f2fs something with wifi has a different timing or something as it takes more time to write / read things down.
[Transformer TF300T Android Development] Reksho:
So here's the thing:

The UPC router is the main router where the internet comes from. The Sitecom one is connected via bridged mode so it basically acts as a Wi-Fi repeater. When I connect directly to the UPC one, I have internet but it disconnects every couple of minutes. The Sitecom one almost never has internet so I disabled that one on the tablet. Almost all devices at home are connected to the Sitecom router though and have no problems whatsoever.

"Network notification" has been off since I installed the rom. "Keep wifi during sleep" is switched on but doesn't seem to work. I notice that the tablet always is disconnected after 5 minutes of sleep.
[Transformer TF300T Android Development] timduru:
Hmmm, maybe it's mixing the different packets as it's bridged or something,

because it's weird if it's disabled, as it still tries to connect to it.

But how can one not have internet access if it's bridged from the main router ?

Are the other devices on Marshmallow ?

It seems that it disconnects even when not sleeping,

or what is your exact issue ?

only disconnecting during sleep ?
[Transformer TF300T Android Development] Reksho:
I selected the bridged router as I wanted to try again whether it works or not. When I saw that it didn't, I disabled it and only used the main router after that. Sorry for the confusion.

No, they're on Lollipop. I tried using the legacy DHCP client in developer options of the tablet so it uses the Lollipop manner of connecting but that doesn't work either.

Both. It disconnects and reconnects every now and then when the screen is on. When the screen is off and the tablet sleeps, it disconnects completely even when "keep wifi on during sleep" is switched on.
[Transformer TF300T Android Development] hardslog:
[MENTION=3951330]timduru[/MENTION]

In my experiences setting any overclocking beyond TF700t stock levels for tf300's and tf201's can sometimes cause the "flickering" that some people have seen. It seems to be either a cause of setting the GPU to 650 or the CPU voltage to 1350 at the 1.8ghz clock as both seemed to happen in this commit https://github.com/timduru/tf300t-katkernel/commit/d89b1a1eebab327fd2081aae475fcee8c320f046

In the past I alleviated the TF201 flickering by having a "lite" kernel that didn't touch any clock speeds above the 1.7GHZ CPU/520MHZ GPU.

In my case any kernels with This commit: https://github.com/Hardslog/grimlock_kernel_asus_tegra3_unified/commit/50a19d0f6d6d03e6187a8fa7273be77755d72324 caused some flickering for a select few.
[Transformer TF300T Android Development] desireleß:
flickering

after 2 days of heavy using my tf300t on #014 with pre-build kernel, I did not notice any flickering with minimum CPU frequency set to 475MHz.

Maximum CPU frequency was tested with 1,5 -1,6 - 1,7 and also 1,8 GHz, no prblems so far =)

I have the same CPU model as [MENTION=6087099]Ctrl-Alt-Del[/MENTION] (cpu_process:2)
[Transformer TF300T Android Development] pastorbob62:
Different opinions are one of the things that keep this world interesting my friend. :) Glad it is working for you. :good:

But I refer you to Tim's response in post 748.
[Transformer TF300T Android Development] vfrvulcan:
Chromecast

I know you guys are working on a flickering/OC kernel problemette, but no on-one else having issues with Chromecast??
[Transformer TF300T Android Development] timduru:
Thanks for the info.

The TF300T has actually the GPU set back to 520 through the sysfs after boot.

And default freq is 1500.

So unless those who have flickering are running at non stock max frequencies they are already in that case :\

What is also weird is that in the -t1 to -t7 kernels I have about tested every combinations ;)

- without the 1p8GHz tablet and back to the previous TF300T version (that includes the 1350 mV rollback to the previous values too)

- set back the boot freq for the PERIPH_CLK to their previous values.

- Remove the GPU sysfs OC

Also tried to change the 475 freq mV and increase earlier as the ones having the issue report that setting their min freq to 475 fixes the issue.

which is weird,

unless there's some hack / bug somewhere that makes the mV not smooth and bumps the mV which would cause the flickering.

It wouldn't be surprising when you see the different asus hacks based on models / revisions everywhere ;)

They even change the mV based on the *aging* of the cpu for some models..

which kinda makes sense as the battery will be less and less able to deliver the correct mV, but bleah not the most accurate ;)

Overall I cannot really find some logic based on the different kernel tests,

unless I messed up one of the test version somewhere, or one didn't flash or something , and we've been testing crap ;)

Another explaination would be that it's a combination of 2 differents things.

While the test kernels were testing each thing individually removed / added back.

One thing that seems to get confirmed is that those who have issues are cpu_process:2

With min freq at 204, when you were having flickering, were you at the default 1500 max freq or did you have it already at 1800 ?

I use the chromecast fine with my TF300T,

but you cannot cast your screen.
[Transformer TF300T Android Development] hardslog:
It it was weird, its almost if having those settings in the kernel itself cause the flickering issues no matter what the user sets it too. Unfortunately for me none of the transformers ever had the flickering issue, however on lollipop 5.x my tf300 would reboot whenever the CPU temperature reached 50C regardless of whatever setting i applied to it.
[Transformer TF300T Android Development] timduru:
Flickering

Ahhhhhh

I think I found the issue.

If those having the issue can test :D
[MENTION=4594874]desireleß[/MENTION] [MENTION=6087099]Ctrl-Alt-Del[/MENTION] [MENTION=4449982]xxxericxxx[/MENTION]
[Transformer TF300T Android Development] desireleß:
First I was at min/max freq 204/1500, then step by step up to 1800. After that I began to raise the min freq to 370 with the same procedure. flickering was still present

Min freq to 470, no matter which additional setting, an the flickering is gone.

now as am tiping this message, I'm on min freq 470, max 760 (!), no flickering and it's smooth, too. :silly:
[Transformer TF300T Android Development] timduru:
okie,

go back to 204/1500 reboot and flash kernel -t8 above :)