yashsingh1/xdaforums huggingface dataset:
[Transformer TF300T Android Development] Big_Drew:
It works for me at least in some cases. If the window loses focus, the video pauses though. There could also be a problem if the other app competes with YouTube for the audio sink.
[Transformer TF300T Android Development] matt1500:
Hey scanno how's KitKat feel on the tf300t. Is it smooth yet?
[Transformer TF300T Android Development] That Baker Guy:
he cant flash it. his tablet is KIA
[Transformer TF300T Android Development] Drahric:
It was MIA but he restored it (or am I wrong?;))
[Transformer TF300T Android Development] That Baker Guy:
i just read back through the thread, it appears he cant get it to flash anything other than stock ics. idk we'll have to see
[Transformer TF300T Android Development] joelalmeidaptg:
His tablet is working. His absence can only mean one thing... Heavy development :)
[Transformer TF300T Android Development] That Baker Guy:
good to hear.
[Transformer TF300T Android Development] tobiascuypers:
In a few other threads he stated that his tablet is fully functional once again:D
[Transformer TF300T Android Development] ebildude123:
if omnirom doesn't work out, try compiling CM11 :D cm11 works on my s3 :p
[Transformer TF300T Android Development] That Baker Guy:
im currently trying to compile cm11, i have pm'd scanno for help, also getting help from tf700t guys
[Transformer TF300T Android Development] scanno:
I finally got my tablet back working. The order of flashing things marters a lot with my tablet. Finally found the magic order.

Heavy development.. Not yet. First have to deal with this f** migraine.
[Transformer TF300T Android Development] pcoussa:
I hate those mongrels!!!!
[Transformer TF300T Android Development] joelalmeidaptg:
https://twitter.com/xplodwild/status/400372050780368897

Can't wait for our turn :) I'm really interested in this...

Enviado do meu GT-I8190
[Transformer TF300T Android Development] scanno:
Still a lot of stuff to do.
[Transformer TF300T Android Development] joelalmeidaptg:
I'm not in a hurry :)

Enviado do meu GT-I8190
[Transformer TF300T Android Development] matt1500:
I know waiting is crazy I'm so excited to run KitKat on my tf300t I think it will feel like I've got a new tablet with the performance increase.

Wish I could help scanno. Dam this is gunna be good.
[Transformer TF300T Android Development] joelalmeidaptg:
Yes, KitKat is so new and shiny! I'm already using a build on my S3 Mini and I'm loving it!

Enviado do meu GT-I8190
[Transformer TF300T Android Development] matt1500:
Sorry scanno no pressure dude. Take your time. Soooo worth the wait. Have KitKat on my nexus 4 but must admit I'm way more excited to have it on my tf300t. Know you won't disappoint Omnirom.
[Transformer TF300T Android Development] toolhas4degrees:
http://xdaforums.com/showthread.php?t=2520076

they have everything working except sound quality and the IR blaster on cm11 on the htc one
[Transformer TF300T Android Development] scanno:
Hi All,

Just to let you know that I am still working on the TF300T.

Currently I am working on getting TWRP to work so we will be able to flash a kitkat rom in recovery. When that is finished I will be able to flash my build results and also be able to restore a backup without problems.

Hopefully I will be able to get TWRP working soon.
[Transformer TF300T Android Development] joelalmeidaptg:
Thank you! I'm waiting for it! The developer of my SGSIII Mini also had issues with TWRP, he had to make an odin package with a modified recovery by him. I guess it isn't so easy with our tablet. I'm really eager to 4.4 on the tablet, the battery life of it is awesome (really, my phone looks like an old battery-rock-solid Nokia!). Good luck scanno :)

If you want any help on testing, just talk to me :)
[Transformer TF300T Android Development] Dredz:
[MENTION=905572]scanno[/MENTION], have you seen this recovery listed here http://xdaforums.com/showpost.php?p=47255667&postcount=1 ? It was needed for KK on that device.

It may help.

:cool:
[Transformer TF300T Android Development] scanno:
i have twrp working now :)
[Transformer TF300T Android Development] matt1500:
Wow well done Scanno things have come along way this week, we are all keenly following this thread. So what are the next steps as I have no idea?

No askingan ETA just wondering what other processes you need to go through

Thanx so much will be amazing when it arrives
[Transformer TF300T Android Development] scanno:
Next step is getting kitkat to boot. Flashing the build is working. But my current build is bootlooping. So I have to find out whatis causing the bootloop. The cm team got the TF700T working so it should be possible to get the TF300T to boot.
[Transformer TF300T Android Development] burt_ie:
Looking forward to seeing kitkat on my TF300T. Happy to hear that things are progressing.

Thanks for your hard work and effort... it's really appreciated mate :D

I have no plans to get rid of my TF300T for quite some time as I have a lot of other things I need to spend money on first, so I am chuffed to hear that you are working on keeping it updated.
[Transformer TF300T Android Development] stenc55:
Scanno, just a little feedback about your work.

I'm using your latest Omni build, I'm somewhere in the middle of nowhere for 2 weeks now and I have no option to do any upgrade, install apps or anything. I have this ROM sleek and smooth like it was the first day I installed it. All CM based ROMs I had had tendency to start lagging after some period of time, this one doesn't.

Good work and take your time with next build, I will still be here for next 2 weeks. :D
[Transformer TF300T Android Development] That Baker Guy:
mine too is stuck in a boot loop, I've been trying to pull a logcat with no luck. you have a link to the recovery?
[Transformer TF300T Android Development] Bastaerd:
Nm, I am tired ;)
[Transformer TF300T Android Development] scanno:
https://mega.co.nz/#!aQZUgR6A!fc_-3H8fUgjt6pA26yjLSmVr5AqhChzIOFYf6CGs0T8
[Transformer TF300T Android Development] matt1500:
You guys at omnirom ate amazing Thanx for all the hard work cant wait to test drive this.
[Transformer TF300T Android Development] scanno:
Kitkat booting. But systemui is crashing so no screenshot yet :eek:
[Transformer TF300T Android Development] Drahric:
I can send you a small apk that will help in navigating kitkat if you need it...

Good work though, keep it up
[Transformer TF300T Android Development] matt1500:
That's amazing well done mate I'm loving KitKat on my nexus 4 but way more excited about getting it on tf300t. Do you recon a release it close?? Any thing us noobs can do to help?

Very ready to test and report bugs!!!
[Transformer TF300T Android Development] scanno:
One step at a time. I do not know what will happen when the systemui problem is solved. So no idea yet
[Transformer TF300T Android Development] matt1500:
No worries OK well really hope that goes well. With just sit on my hands and follow the progress. Thanx for all the updates on what's happening.
[Transformer TF300T Android Development] ebildude123:
Is there any logcat related to it?
[Transformer TF300T Android Development] scanno:
Yup

https://mega.co.nz/#!vN4UjSIb!SmtWL4SylwqJz4AhtKe1raXZRPvB1gvSBAZeJjWeku0
[Transformer TF300T Android Development] ebildude123:
What's this based off of? Directly from CM source or from another device?

E/AndroidRuntime( 1279): FATAL EXCEPTION: main
E/AndroidRuntime( 1279): Process: com.android.systemui, PID: 1279
E/AndroidRuntime( 1279): java.lang.IllegalStateException: eglMakeCurrent failed EGL_SUCCESS
E/AndroidRuntime( 1279):	at android.view.HardwareRenderer$GlRenderer.createSurface(HardwareRenderer.java:1354)
E/AndroidRuntime( 1279):	at android.view.HardwareRenderer$GlRenderer.createEglSurface(HardwareRenderer.java:1241)
E/AndroidRuntime( 1279):	at android.view.HardwareRenderer$GlRenderer.initialize(HardwareRenderer.java:1058)
E/AndroidRuntime( 1279):	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1548)
E/AndroidRuntime( 1279):	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:998)
E/AndroidRuntime( 1279):	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5582)
E/AndroidRuntime( 1279):	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
E/AndroidRuntime( 1279):	at android.view.Choreographer.doCallbacks(Choreographer.java:562)
E/AndroidRuntime( 1279):	at android.view.Choreographer.doFrame(Choreographer.java:532)
E/AndroidRuntime( 1279):	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)
E/AndroidRuntime( 1279):	at android.os.Handler.handleCallback(Handler.java:733)
E/AndroidRuntime( 1279):	at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 1279):	at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1279):	at android.app.ActivityThread.main(ActivityThread.java:4998)
E/AndroidRuntime( 1279):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1279):	at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 1279):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
E/AndroidRuntime( 1279):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
E/AndroidRuntime( 1279):	at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 839): Process com.android.systemui has crashed too many times: killing!
D/dalvikvm( 1423): GC_CONCURRENT freed 274K, 7% free 4516K/4824K, paused 4ms+18ms, total 47ms
D/AndroidRuntime( 1423): Shutting down VM
[Transformer TF300T Android Development] scanno:
Based of cm10.2
[Transformer TF300T Android Development] Drahric:
I'm I reading this correctly?

W/ActivityManager( 839): Process com.android.systemui has crashed too many times: killing!

That the system ui has a death limit?

Let the ring-bearer decide...
[Transformer TF300T Android Development] ebildude123:
Nvm .
[Transformer TF300T Android Development] scanno:
No it is all build from source. It is an EGL problem.

The nvidia blobs are not compatible.
[Transformer TF300T Android Development] ebildude123:
On an unrelated note; I have no custom recovery, even though I can boot into CM10.2 right now.

Selecting RCK only lets me select the android image to cold boot linux, which goes into android.

Flashing a recovery doesn't work, same thing happens.

I think my misc partition is messed up, is the only way to fix to flash the asus blob? Or can someone somehow get me their misc partition?

Wanted to flash your recovery.img, but then i remembered... :(
[Transformer TF300T Android Development] batwingnz:
Looking good @ the omni gerrit
[Transformer TF300T Android Development] scanno:
Well my commits that were merged are the commits to make TWRP and to boot. But the current problem still remains there. I asked XplodWild to merge them.
[Transformer TF300T Android Development] ebildude123:
Any new developments?
[Transformer TF300T Android Development] scanno:
Well there is a TF700T version of the OmniRom that boots on the TF300T and does not have the problems I have (but has other problems) . Tried the TF700T proprietary files but again got the same problem.

So this means that the proprietary files are not causing the problems and the is something else that is causing it. I am going to compare the TF300T and TF700T device trees and see what the differences are and this way find the reason of the fc'ing.
[Transformer TF300T Android Development] bagadj:
hope that this rom will be supported in the future!
[Transformer TF300T Android Development] scanno:
It will be. It is just a matter of time. Read through this thread and you can see that there has been progress. I build a TWRP recovery that will flash 4.4 roms. The tablet is booting into 4.4 without fatal error when flashing a TF700T rom, but with the wrong resolution.

Progress is slow but my time is limited to a few hours a week that I am able to spend on this.
[Transformer TF300T Android Development] ebildude123:
:good:

Need to get wifi working though.
[Transformer TF300T Android Development] scanno:
What are the changes you made? Did you use the TF700T device tree or did you make modifications to the TF300T device tree?

To get wifi working, I have seen that changes are needed I the way wpa_supplicant is called. Also there might be changes needed in the selinux configuration.
[Transformer TF300T Android Development] That Baker Guy:
awe man you beat me to it, have been trying to get here for a while now
[Transformer TF300T Android Development] ebildude123:
Think I figured out how to fix WiFi but I can't test it till tonight
[Transformer TF300T Android Development] l.m.prowse:
How's everything else work? Camera etc... Soo excited for this :D
[Transformer TF300T Android Development] k-kuchen:
Is this Recovery Image safe to use on a daily basis or will there be a "final version" in the future?
[Transformer TF300T Android Development] joelalmeidaptg:
The recovery isn't flashing any zip here... :| Only backups and wipes work
[Transformer TF300T Android Development] scanno:
I am flashing my test builds with it.
[Transformer TF300T Android Development] k-kuchen:
Ok, now I am confused xD
[Transformer TF300T Android Development] joelalmeidaptg:
Maybe only the 4.4 zips are flashing ;) I tried various CM nightlies and none flashed with his recovery.
[Transformer TF300T Android Development] That Baker Guy:
It might have something to do with the selinux changes made.
[Transformer TF300T Android Development] ebildude123:
My VM ran out of disk space in the middle of compiling :rolleyes:
[Transformer TF300T Android Development] l.m.prowse:
Nooooooo can't wait to try this :3 if you need a tester feel free to pm me :)
[Transformer TF300T Android Development] scanno:
Why not work together. That Baker Guy and myself exchange information about progress. Besides I am building native and can build in 45 minutes from a make clean.

We all have a booting 4.4 and no wifi, so we are at the same level.

All my changes are pushed to gerrit so you all can use it. It would be nice if progress would be shared so we can move along quicker without all trying to solve the same problem when the problem has already been solved by someone.
[Transformer TF300T Android Development] scanno:
You sent me some recovery logging about that right?

Looking at the piece of log, it seems that the TF300T is not recognised as a TF300T. That is the assert failed. That is a bit strange and would mean that the is some string mismatch. But at first glance I cannot see why.
[Transformer TF300T Android Development] ebildude123:
Nice, it seems you fixed WiFi, beat me to it :P checked the repo just now since I didn't know you were committing your changes.

Is it working smooth? (no random connection drops)
[Transformer TF300T Android Development] scanno:
Sadly I did not fix wifi. XplodWild merged it too quickly and i should have put a -1 to it. Wifi still fails to init.

It is working for the TF700T but it uses a different wifi card.

If you have some ideas.
[Transformer TF300T Android Development] That Baker Guy:
yeah i applied those changes and it just gets stuck turning on
[Transformer TF300T Android Development] scanno:
Been talking on IRC and it seems that /data/misc/wifi/sockets is removed each time. The wifi fix commit should work and the changes in the command line of wpa_supplicant should ensure creation of the sockets directory. But still somehow it is deleted. We should find out why it is deleted.
[Transformer TF300T Android Development] ebildude123:
Are any of the other directories being created? Like /data/misc/dhcp; or is it only the sockets directory?
[Transformer TF300T Android Development] ebildude123:
Haha same result here, tried to fix wifi but instead I'm stuck on boot animation :p
[Transformer TF300T Android Development] scanno:
To be honest I have not looked there. Was talking with XplodWild and more busy with providing the info they were asking about. Anyway the changes made in init.cardhu.rc are needed because they are upstream changes. One of the options is - O /data/misc/wifi/sockets. That should have ensured that the sockets directory is there. So somewhere the sockets dir gets removed. Where and how that is is the question.
[Transformer TF300T Android Development] scanno:
People just for the record.

All the changes have been merged into the repository that are needed to build a kitkat version of OmniRom.

At the moment there is still one show stopper for a test release and that is the fact that WiFi is not working yet.

Hopefully this is solved soon.
[Transformer TF300T Android Development] ebildude123:
Wanna try an old commit?

https://github.com/omnirom/android_...mmit/bbb300097fbbb2b7533b4a22a1943da45788bc48
[Transformer TF300T Android Development] elesbb:
Hey do you have a GitHub for this? I would like to help/start compiling for our tablet.
[Transformer TF300T Android Development] That Baker Guy:
here's the omnirom github

https://github.com/omnirom/android_device_asus_tf300t/tree/android-4.4
[Transformer TF300T Android Development] elesbb:
Thanks, i knew that much, i was just wondering if the OP has a separate repo with specific commits for our device that he has already started to work on so i don't have to start directly from scratch. However, if the OP is doing nothing but building the code, then yes this is what i need :)
[Transformer TF300T Android Development] That Baker Guy:
that should have all the commits that we have added to our local copy. its the tf300t device repo.
[Transformer TF300T Android Development] elesbb:
Is that just the kernel or the ROM components itself? Almost looks like just a kernel.
[Transformer TF300T Android Development] That Baker Guy:
that should just be the device tree, the changes to the rom should be merged already, in theory you should just be able to compile from source with that device tree and it should work. but scanno knows for sure, i dont.
[Transformer TF300T Android Development] elesbb:
Okay, thanks! Haven't really dove too much into yet, too busy with school, but I am getting pretty decent with android coding and wanna improve this mulitwindow feature that OmniROM has, figured i'd start with this device since its one i have haha. Hows the stability of the ROM so far?
[Transformer TF300T Android Development] andrewnelson23:
You'd also need the vendor tree, right?
[Transformer TF300T Android Development] scanno:
All my commits are done to gerrit.omnirom.org

So if you want to have the latest changes go there.

I do not have a separate github, that is what gerrit is for. Once a commit is merged it is added to the github repository.

If you want to start compiling, the best thing to do is to use repo to download All the repositories needed to compile and add the TF300T device tree in the local_manifests. Just as the vendor tree. See DonkeyCoyoty on github.

The kernel will be downloaded automatically.
[Transformer TF300T Android Development] scanno:
Did you have any results with that commit? From what I can see most of the changes are now in the vendor repository. The copying of the files are done there. The wpa_supplicant stuff that is in the latest commit are needed because of changes in wpa_supplicant.
[Transformer TF300T Android Development] elesbb:
Thanks, i wasn't sure cause i know some people have their own private builds, hence the "unofficial" tag :)
[Transformer TF300T Android Development] andrewnelson23:
well after 6 or 7 failed repo syncs, I'm done for today. Not really sure what the heck the problem is. -_- It keeps hanging at 99%. Even tried repo syncing without my local_manifest first, still didn't work. keeps hanging at 99%. Repo synced with -j1 flag and it hangs at 54% == android_frameworks_base. Don't know what the deal is. Was gonna try editing this myself and compiling to try out, but since I can't get the source downloaded I'll just post it here.

I talked with scanno about this earlier, but if anyone else wanted to try this out, it'd be cool if you'd let us know if this works to fix wifi:

In the ramdisk, init.cardhu.rc, delete this:

service wpa_supplicant /system/bin/wpa_supplicant \
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
-I/system/etc/wifi/wpa_supplicant_overlay.conf \
-O/data/misc/wifi/sockets \
-e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0
# we will start as root and wpa_supplicant will switch to user wifi
# after setting up the capabilities required for WEXT
# user wifi
# group wifi inet keystore
class main
socket wpa_wlan0 dgram 660 wifi wifi
disabled
oneshot

service p2p_supplicant /system/bin/wpa_supplicant \
-iwlan0 -Dnl80211 -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf \
-I/system/etc/wifi/wpa_supplicant_overlay.conf \
-O/data/misc/wifi/sockets -N \
-ip2p0 -Dnl80211 -c /data/misc/wifi/p2p_supplicant.conf \
-I/system/etc/wifi/p2p_supplicant_overlay.conf \
-puse_p2p_group_interface=1 -e/data/misc/wifi/entropy.bin \
-g@android:wpa_wlan0
# we will start as root and wpa_supplicant will switch to user wifi
# after setting up the capabilities required for WEXT
# user wifi
# group wifi inet keystore
class main
socket wpa_wlan0 dgram 660 wifi wifi
disabled
oneshot

and paste this:

service p2p_supplicant /system/bin/wpa_supplicant \
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
-I/system/etc/wifi/wpa_supplicant_overlay.conf -N \
-ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf \
-I/system/etc/wifi/wpa_supplicant_overlay.conf \
-O/data/misc/wifi/sockets -puse_p2p_group_interface=1 \
-e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0
# we will start as root and wpa_supplicant will switch to user wifi
# after setting up the capabilities required for WEXT
# user wifi
# group wifi inet keystore
class main
socket wpa_wlan0 dgram 660 wifi wifi
disabled
oneshot

service wpa_supplicant /system/bin/wpa_supplicant \
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
-I/system/etc/wifi/wpa_supplicant_overlay.conf \
-O/data/misc/wifi/sockets \
-e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0
# we will start as root and wpa_supplicant will switch to user wifi
# after setting up the capabilities required for WEXT
# user wifi
# group wifi inet keystore
class main
socket wpa_wlan0 dgram 660 wifi wifi
disabled
oneshot

The service wpa_supplicant /system/bin/wpa_supplicant isn't actually changed from the original, so if you just replace the service p2p_supplicant /system/bin/wpa_supplicant that should be the same thing.
[Transformer TF300T Android Development] scanno:
Repo sometimes has hickups. I had to comment out In InCallUI in default.xml because the repository was not added to github yet but was already in default.xml.

Oh and when you have a successfull build, you also have the TWRP recovery image that I posted. It is part of the build process.

So now off to work.
[Transformer TF300T Android Development] scanno:
Sadly this did not solve the WiFi problem.
[Transformer TF300T Android Development] matt1500:
I did not realise how difficult and complicated this would be. Thanx for your work guys. Can out device run KitKat, its not that old and I understood that it had been streamlined to run on more devices.

Once WiFi is sorted will you be able to release a useable rom, or is that still a way off?
[Transformer TF300T Android Development] scanno:
WiFi is the only thing that is holding back a release. The camera works., bluetooth seems to work also. Dock should work also, but will need the usual stuff done.

I still have no idea why wifi is not working.

[MENTION=2162789]XpLoDWilD[/MENTION] mentioned that he would take a look at wifi.

But for the rest kitkat will not be a problem.
[Transformer TF300T Android Development] Drahric:
You beat me in saying what has been done (from what i gathered here). IMO I think we can expect this problem sorted by christmas, im not part of the dev tram and these are my thoughts/speculation...

Sent from my TF300T
[Transformer TF300T Android Development] joelalmeidaptg:
Good to know you're looking into it :) My smartphone and Nexus 7 both have KitKat already, but I bet that in this tablet we will see quite a improvement, even without ART. Let's hope XpLoDWilD is able to help us