yashsingh1/xdaforums huggingface dataset:
[Transformer TF300T Android Development] pe1dnn:
There is a long standing problem with Bluetooth, somehow the driver starts throttling which makes packets arrive in bursts. My experience is that this happens for example when updates are downloaded over WiFi while using Bluetooth.

It feels a bit like queue saturation after which the inflow starts to get regulated. What I mean is a sequence like this: queue reaches a high watermark, filling the queue is suspended, a read process reads from the queue until a lower water mark is reached, filling the queue is resumed but this fills the queue so quickly the high watermark is reached again and the process is repeated. So instead of a steady flow of data it becomes bursts of data.. Once this condition is reached it does not snap out of it any more.

I cannot confirm any of this, but I know a bit about queuing and low level device drivers and this is just wat the symptoms look like to me. To find out somebody would have to dive into the kernel, drivers and buffer management. The code could be in the WiFi/Bluetooth driver or even in the firmware of the chip of which we do not have sources. Also there is no clear reproduction scenario, sometimes is doesn't happen for days and then two times in a row.

Bottom line however, once it starts this behavior is does not stop. The only way I can get it into normal operation again is to switch off the tablet (not reboot, but real power off) and then switch it on by holding the power button until it starts.

What for me extends the time until it happens again is manually install updates from Google Play instead of automatic. So I just save the updates up so it does not download at an inconvenient time breaking my Bluetooth. Then every once in a while I start the download and installation and when done I reboot via a full power down.

So if you have this shuttering, completely power down, power up, enable Bluetooth and the tablet will work fine. When it starts fine it will stay fine. Standby/resume and disconnecting/reconnecting Bluetooth will occasionally start the problem again; in that case repeat the recovery by powering down to get it back into the stable state.

Anyway, It has been in this rom for ages so going back to the previous version doesn't help. Maybe the stock rom does not have it, but back in the day I did not have Bluetooth audio so I really can't tell. I use this rom now with a JBL Bluetooth headphone and most of the time it works fine and otherwise I just need to do a reboot. I can live with it, this rom has too many benefits not to use it.

Long story. Although I do not have a solution I hope it helps.
[Transformer TF300T Android Development] cristobal.digital:
Vibrator

Hi Timduru: your ROMs rock!

Sorry but, the tablet has vibrator.

I was not allowed to post the weblink, but please find enclosed pictures from a TF300 repair guide by the "how-fixit" site

I have a TF300T. Years ago, when I was on stock ROM I barely remember the tablet vibrating with a game (I quit video games years ago) and also at that time I was so frustrated with the tablet performance (stock rom) that I even disassembled it and I (barely too!) remember to have seen the vibrator

Anyway, my gamer reborn and few weeks ago I started playing GTA Vice City I wondered why the tabled did not vibrate, so I decided to pay it attention (I was on your KK5.1b29).

Short story, I even flashed the Asus stock rom WW 4.2.1 and the vibrator never worked.

I guess mine got damaged (maybe because having it forgotten for years??)

I don't make any plan to disassembly the tablet just to validate if it broke and replace it: Too much work! Better than that, I'm working on to upgrade to KK7.1.1b15! :)

But just for curious: You or anybody else reading this, could make some testing to validate the vibrator exist and also work?

Some vibration related apps:

- Phone doctor: Did not detect it

- Z-device: Nothing happens when "press to vibrate"

- Games: GTA Vice City

Thank you & regards
[Transformer TF300T Android Development] Vincss:
Maybe it's about the bitrate of the audio... On my sports watch when trying to play at 320kbps, it shutters, and with 192kbps, it's smoother... It may be the same kind of problems.
[Transformer TF300T Android Development] RudeboyXL:
TF300T never had vibrate - Your memory is faulty.
[Transformer TF300T Android Development] Rodepo:
Thanks guys. I finally managed to get things installed and the Tab is now booting for the first time. :D

Several attempts to fix partitions lead to instant rebooting into recovery when trying to flash the ROM. I still don't know what was wrong with the /system partition, because I verified that it was unmounted before flashing. And I never had any problems using Katshmallow. So following [MENTION=3951330]timduru[/MENTION]'s tip to use ADB, I took a different approach and used [MENTION=3110798]WugFresh[/MENTION]'s famous Nexus Root toolkit. In this way I managed to push the ROM, the pico GApps (nano is too big) and SuperSU onto the Tab and flash them using an open recovery script.
[Transformer TF300T Android Development] BrateloSlava:
Try to change TCP Congestion Control Algorithm from default veno to some another. You may use something like Kernel Adiutor for this.
[Transformer TF300T Android Development] BrateloSlava:
[MENTION=3951330]timduru[/MENTION]

- The tablet does not charge from dock-station. (Battery of dock-station = 100%. Battery of tablet = 72%. But charging not started.)

- Does not work no key combination to switch the input language on the hardware keyboard. (Languages to switch on a hardware keyboard is set in the Settings.)

P.S.

Uncover the Big Mystery. :) How did you make such a very fast boot for this PAD on 7.x? ;)
[Transformer TF300T Android Development] Gomsss:
I try this with Kang TWRP 2.8.7.2 and the result is the same!

My tab doesn't boot on Nougatella and stay on Asus log before a bootloop to recovery

I do:

Full wipe + reboot to recovery

Format /data to EXT4 + reboot into recovery

Format /data to F2FS + reboot into recovery

Install from external SD - KatKiss-7.0_TF300T_006.zip + open_gapps-arm-7.0-pico-20160904.zip + UPDATE-SuperSU-v2.76-20160630161323.zip

NB: Coming from Katkiss KatshMallow #27

For information, I tried the same procedure to upgrade my tab on KatshMallow #29 and result is the same. It's work fine on #27 but not on build #28 and #29.
[Transformer TF300T Android Development] BrateloSlava:
IMO, this - not a big problem.

Download file, attached to my post.

Extract this archive to disk C of your PC. You will receive a new folder (adb-t).

Connect PAD to PC via cable and start part1.cmd

If PAD not boot within 5 minutes - reboot PAD in fastboot mode and flash recovery via start part2.cmd
[Transformer TF300T Android Development] ebonit:
First of all many thanks to Timduru for the fast upgrade on Android 7.0.0. I'm very grateful for that great work. In my view it's a kind of art.

Following Tim's instruction exactly the installation on my tablet has been running successfully without any problems. After the first boot I restored the data backup and everything was like MM #29 and works well. #06 seems to be very stable on a first glance. BTW I miss the wallpapers from MM 6.0.
[Transformer TF300T Android Development] kjwaugh:
Working good but no dock battery

Until 29 the dock was charging normally for me. Dock is connected as is the case all the time but it seems invisible to the charging process. Obviously the keyboard is fine as is the touchpad. Maybe it's just on the way....I trust the immortal and flawless dev Timdru - who has once more batted one out of the park. Updating signature now....
[Transformer TF300T Android Development] timduru:
That's always been the case, tablet will charge from the dock when it's <70%

You were able to set multiple languages for the dock ?

I was actually not able to select more than one in Nougat myself, so the switch will definitely not work if there's only one language set.

Seems to be something google changed in Nougat unfortunately.

I'll see about bringing that back because yeah, I like to switch layouts on the dock keyboard too ;)

to speed up 1st boot, It's odexed

I'll see if I keep it that way or not, but I think it benefits us.

Only downside is that it takes a bit more space in /system

not much of a problem for the TF300 I'd say.

But will be a problem for TF101...

For the dock icon, yes it's on the way,

as mentionned in the 1st post, what is crossed in the feature list is not there yet ;)

So I'm aware of that, just need time to bring things back and fix stuff here and there ;)

For this 1st version I'm mostly looking after feedback to make sure it works and is on the good way.

And in what doesn't work/ is not there, I mostly need to know what is not already known (not listed in the 1st post), or has not been posted here yet.

I read every post here, and will take things into account as time permit.

So no need to post multiple times an issue if it's already been posted.

If I can't reproduce the issue I'll then need logs. ;)
[Transformer TF300T Android Development] BrateloSlava:
I'm set English and Russian as input language in asusec keyboard. How to switch languages with this keyboard?
[Transformer TF300T Android Development] timduru:
interesting, on mine it doesn't even show the checkboxes in front to select multiple keyboards.

Can you take a screen cap of the settings on yours ?

switching used to be done by ctrl + space

EDIT:

okie, I think I see how they changed it :

- 1st you need to add another language in the general Language & input settings

- then go to physical keyboard => asusdec, and there'll be 2 lines , one per language, and for each "general" language you can choose a layout.

Switching with ctrl + space doesn't seem to work anymore though,

but you can switch using the keyboard icon that appears in the navbar for the moment.
[Transformer TF300T Android Development] BrateloSlava:
At the moment I switch between input languages by pressing keyboard icon. This is uncomfortable, but - working.

---------- Post added at 09:48 ---------- Previous post was at 09:36 ----------

Previously (in 5.x and 6.x), your ROM have been deodexed? As I see, ODEX in 7.x is very helped for us.

And, you had not thought, to repartition the internal memory and allocate more space for the system partition?
[Transformer TF300T Android Development] timduru:
yes, well it was not "pre-odexed". Once art processes it, it's "odexed" on the 1st boot but stored in dalvik-cache in /data basically.

yes, you need to do that if you want bigger gapps currently on the TF101, only pico will fit.

But still, not everyone will feel comfortable with repartitionning their storage.

So I'll see what I can do when / if I work on the TF101 ;)
[Transformer TF300T Android Development] Smackeroni:
Hey Tim, thank you for that great rom! I never thought we might see 7.0 on the tf300. Just Awesome!

But I have problems with Youtube. I can't play Videos in 720p 60fps.

The Video freeze but the sound continue playing. Overclocking to 1700mhz did not help. Do you have any idea? Thanks in advance!
[Transformer TF300T Android Development] timduru:
Yeah , OMX codecs are not working currently, so 720p60fps is too high to play atm.

Simply select another lower res/fps manually.

There's not much point in playing 60fps material on the TF300t anyway.
[Transformer TF300T Android Development] Smackeroni:
Thank you!

Any hopes of getting these codecs to work sometime?

...I hate watching Videos in 480p [emoji1]
[Transformer TF300T Android Development] Jonyboots:
Unable to install nano gapps package. File was too big. Working fine with pico.
[Transformer TF300T Android Development] Gomsss:
My recovery is the same as your zip but I tried it and the result is the same. My tab boot on recovery after Asus logo.
[Transformer TF300T Android Development] BrateloSlava:
Are you launched part1.cmd?
[Transformer TF300T Android Development] Gomsss:
Yes
[Transformer TF300T Android Development] Clamor:
Sorry, have no other choise.

Made a custom kernel. Packed zImage + katkernel ramdisk.

Flashed, boot to system, tablet waits 15 sec and reboots to recovery, like here: http://xdaforums.com/showpost.php?p=68543189&postcount=44

here is my last_kmsg:

[ 3.948680] rtc_tps6591x rtc_tps6591x.0: RTC Time : 9/5/2016 17:10:16
[ 3.948779] rtc_tps6591x rtc_tps6591x.0: setting system clock to 2016-09-05 17:10:16 UTC (1473095416)
[ 3.949187] Warning: unable to open an initial console.
[ 3.953810] init: init first stage started!
[ 3.961725] SELinux: 2048 avtab hash slots, 6431 rules.
[ 3.961915] SELinux: avtab: invalid type or class
[ 3.964414] init: SELinux: Could not load policy: Invalid argument
[ 3.964677] init: failed to load policy: Invalid argument
[ 3.964884] init: Security failure; rebooting into recovery mode...
[ 3.965548] SysRq : Emergency Remount R/O
[ 3.965877] Emergency Remount complete
[ 3.967493] asus_gps_shutdown
[ 4.183136] ami306_init- #####
[ 4.183493] i2c i2c-2: Installing compassirq irq using 400
[ 4.183897] rtc_shutdown: clean alarm
[ 4.184966] ami306_mod_delay_init: Probe name ami306_mod
[ 4.185302] ami306_mod_delay_init- #####
[ 4.186662] rt5631_i2c_shutdown+ #####
[ 4.188760] rt5631_i2c_shutdown- #####
[ 4.189121] tegra_dc_shutdown+, ndev->name=tegradc ####
[ 4.189381] tegra_dc_shutdown-, ndev->name=tegradc ####
[ 4.189722] tegra_dc_shutdown+, ndev->name=tegradc ####
[ 4.679396] tegra_dc_shutdown-, ndev->name=tegradc ####
[ 4.679548] tegra_ehci_hcd_shutdown instance 2 +
[ 4.679614] tegra_ehci_shutdown instance 2 +
[ 4.679919] tegra_ehci_shutdown instance 2 -
[ 4.680023] tegra_ehci_hcd_shutdown instance 2 -
[ 4.680104] Restarting system with command 'recovery'.

Maybe you can advice how to fix this? It's ramdisk issue, as zImage works with MM fine
[Transformer TF300T Android Development] wxsgt:
so i finally got it installed, had to do a full wipe of absolutely everything on my tablet but its working now. problem is i dont have play store or anything. anyone have a good apk for that so that i can install it or am i screwed?

NVM i cant read i got it
[Transformer TF300T Android Development] timduru:
New Version #018

New rom version available: KatKiss-7.1_TF300T_018.zip

Note that apps are going to get optimized in the background after the first boot into android,

so better wait and let the tablet settle down for a bit.

Changelog:

- Update to February Nougat Release

- Bluetooth: prevent crash when turning off if Gatt not init

- tf701: use sf encoding for screen cast and lower profile

KatKernel TF300T, TF700, TF201 #043

- mmc: sdhci: Do not allow tuning procedure to be interrupted

KatKernel TF701 #007:

- add cifs support

- mmc: sdhci: Do not allow tuning procedure to be interrupted

- net: wireless: bcmdhd: Disable OOB interrupt when WLAN is off

- net: wireless: bcmdhd: Add WIPHY_WOWLAN_ANY support

- net: wireless: bcmdhd: Set MAX_DTIM_ALLOWED_INTERVAL to 600

- net: wireless: bcmdhd: Change DTIM skip policy in suspend

- net: wireless: bcmdhd: cancel current PNO if connection will happen

- net: wireless: bcmdhd: reduced the wakelock time of RX packet

- net: wireless: bcmdhd: Fixed a problem of buganizer issue (11190960)

- net: wireless: bcmdhd: Fix country checking

- net: wireless: bcmdhd: fix for negative padding

- net: wireless: bcmdhd: Fixed Wi-Fi Location Service issues.

- net: wireless: bcmdhd: add code for WLS service.
[Transformer TF300T Android Development] wxsgt:
I have got everything installed but now no apps will install. I didn't do the file system convert, how do i?
[Transformer TF300T Android Development] ddd3astra:
I tried #18 and after successfully installing the OS, I can't stay connected to Wifi long enough to install apps. I have seen this on Nougat as far back as #14, I think, but I seem to remember #13 working well. I'm not sure. I don't see this same problem with Wifi drops on KM#29, so I don't think it is hardware-related. I have tried it with both a WPA-2 secured connection and also an Open public connection and the result is the same.

One interesting thing is that it seems to work much better if I leave the Wifi Settings page open. I noticed before that when it disconnected, it would almost always reconnect as soon as I opened the settings page to check on it. Maybe it is a Quantum effect - it only drops if I'm not watching?
[Transformer TF300T Android Development] katan123:
Atuck in twrp loop

Hey and thanks for everything

I had sone trouble with the installation, came feom lollipop

Now the asus tf300t is atuck booting to recovery and then reseting again...

I can't even enter the recovery

Is the tablet dead?

EDIT:

USING THIS LINK MANAGED TO FIX IT

https://youtu.be/ieJMy7LIXQk
[Transformer TF300T Android Development] pe1dnn:
You can try to hold Volume Down for a while while it is looping. The normal way to enter recovery is to hold Volume Down and Power, but since your tablet is looping it does the Power on for you so just hold Volume Down.

Once it is in the menu you can try to start TWRP. If that does not work do a full recovery. I use the guide her: https://xdaforums.com/showthread.php?t=2528976 but there are many more like it, just search the site.

One of the causes is filesystem corruption. When during boot the rom tries to mount it, it fails and there is nothing the rom can do but shut down. And then it happens again because the filesystem does not magically repairs itself.

Anyway, bringing it back to stock makes you regain control, after that you can proceed doing whatever you want, like installing TWRP and this ROM.
[Transformer TF300T Android Development] Nicholasm5581:
Does Netflix offline viewing work in this version?

EDIT: I gave it a shot, and I installed this ROM. I can confirm that with 7.1.1 #018 netflix lets you download movies in SD for offline viewing. Thanks timduru for all your work! I guess widevine DRM L1 is required for HD viewing.
[Transformer TF300T Android Development] nbenm:
Hi there,

I'm trying to use serial over usb with no success.

I didn't find /dev/ttyUSB* devices

I can't load usbserial module (monolitic kernel?)

I've found an app that does that, but I would like to do it in CLI.

Is there a way to use serial over usb in command line easyly ?

Thanks in advance

Noury
[Transformer TF300T Android Development] yannmrt:
Good day to all,

I'm back to try to install the ROM on my TG.

Since it was kind of mess in the partition, I would like to make sure all partition are with the right system :

System partition need to be EXT4

Data Partition need to be F2FS

Cache partition need to be EXT4

Thanks for your time
[Transformer TF300T Android Development] Matchless 2015:
Dirty flashed over 015 and my TF300TG is running like a charm!

Thanks
[Transformer TF300T Android Development] katan123:
Hey

another problem in my end...

after getting the rom to work i tried to restore the apps from my gmail account

but iv'e noticed that it takes forever to install the apps

so i tried installing them manually and gotten ERROR 963

couldn't find any helpful ideas online

does anyone have any suggestions? did you experience same problems?
[Transformer TF300T Android Development] henk-jan:
Same here with een TF300T
[Transformer TF300T Android Development] robgee789:
hey guys im just about to flash this to my tf300 but i was wondering if there is a way to disable the touch screen because i have a dead strip on there and it keeps giving me ghost touches? i want to disable the touch screen but still the trackpad on the dock
[Transformer TF300T Android Development] Matchless 2015:
You will have to remove the back cover.

First switch off the power, find the tiny switch marked on off in the right top corner or unplug battery

Then release the 2 white clips on the touch screen ribbon cable and gently pull them out.

Switch on power on small switch

Temporary replace back cover

Boot tablet

You may actually find that removing and reseating the ribbon cable properly has helped to clear ghost flashes for some people.
[Transformer TF300T Android Development] robgee789:
Do you know which ribbon cable it is mate?
[Transformer TF300T Android Development] Matchless 2015:
Here it is, remove flat cable from both connectors. Don't forget to put the service switch off before removing the cable. Once removed you can switch on again, otherwise you may cause damage.
[Transformer TF300T Android Development] robgee789:
Cheers mate I just tried to make sure there in properly and it made no difference but at least I can disconnect them like I planned, one last question does twrp work with the track pad?
[Transformer TF300T Android Development] robgee789:
hey mate i tried unplugging the ribbons but it just went crazy, it was like ther was lots of touches all over the screen constantly, is there a way to do it by editing the buildprop file or something like that?
[Transformer TF300T Android Development] Matchless 2015:
I do not know. I unplugged the two ribbon cables on mine due to a cracked touch screen and it worked fine by using a mouse in the keyboard dock USB port. I used it like that for a few weeks until my replacement touchscreen G01 arrived from China, updated the touchscreen firmware after replacement and it is still working.
[Transformer TF300T Android Development] Matchless 2015:
Just tried TWRP on the track pad and it works, but is not responsive, sort of opens things that could be dangerous. A USB mouse works perfectly as well as the touchscreen which in your case is a problem.

Have you thought about reflashing the touch firmware on the controller? Not sure if it will help though or cause other problems.
[Transformer TF300T Android Development] kelltech:
Does anyone have any advice on getting rid of the overall lag on the TF300T? Running the latest KK 7 and light games lag out, Kindle reader lags big time, and overall use is just a big nasty lagfest. I know this is not a KK 7 issue, this stinking tablet is laggy on KK MM, and was laggy on stock as well.
[Transformer TF300T Android Development] jokemeister:
I suspect you're not alone. I for one have also been somewhat disappointed for some time now with lag issues and have suspected that when the OS moved to having split screen functionality things slowed down and have progressively been getting worse. From memory the early KK 6 (or maybe it was even 5) releases were still single window and pretty spritely. I'm seriously considering downgrading to an earlier version of KK for this reason. Don't get me wrong, Tim has done a fantastic job but I suspect the OS is slowly but surely leaving older devices behind no matter what efforts are made.

If there is something I've done that can account for this problem, would love to hear what it might be.
[Transformer TF300T Android Development] kelltech:
I might downgrade then to a 5.x version of KK or Omni or something and see how that runs.
[Transformer TF300T Android Development] Catscratch:
Same for me. It's laggy. I also enabled floating window mode. I'll try to disable it, but as you mentioned the multi window feature may cause this issue.
[Transformer TF300T Android Development] robgee789:
hey guys any other ideas on how to disable the touch screen on this ?
[Transformer TF300T Android Development] Matchless 2015:
If your touchscreen is disconnected it cannot cause any ghost touches. Then such behavior could possibly be related to the touch screen controller module which has the touch screen firmware written to it. Check all the connectors going to the right hand board, determine its not the LCD, then find a replacement digitizer controller board, install and flash the proper (02-3011-4820.ekt or matching) .ekt file that matches your touch screen version.

It may also be the LCD screen, but should show up differently and not cause ghost touches.

Hope this helps a bit.
[Transformer TF300T Android Development] robgee789:
hey mate i went to check what touch firmware i had in stalled but whe i try to go to /system/etc/firmware there is no touch folder? is it somewhere else or would taht be the issue?