yashsingh1/xdaforums huggingface dataset:
[Transformer TF300T Android Development] slackware87:
Can someone please reupload the links because are invalid now?

Thank you
[Transformer TF300T Android Development] stekarson:
I'm really tempted to try this out! Have to wait until after my final hah. Just out of curiosity; how's the battery life?
[Transformer TF300T Android Development] ahbvrh:
GCC toolchain

so I have downloaded the kernel source and the gcc toolchain.

I choose the modules I wanted to add in the menuconfig.

after ~hour I got an error for the gcc (somet generic error about libgcc)

I install the gcc toolchain by using configure , make and make install .

is there an argument that I need to specify while compiling the gcc toolchain ? .

Nevertheless , I tried simply compiling the kernel module without specifying the toolchain using :

make ARCH=arm -j9 modules

and the modules did compile but I couldn't load them with insmod (I guess because they were not compiled using the gcc toolchain).

I would really appreciate some guidance on how to install the gcc toolchain on the device.
[Transformer TF300T Android Development] unfnknblvbl:
The touch screen works fine for me?
[Transformer TF300T Android Development] secosan:
Does it? :)) Haha

Just kidding. So, it does work for me too, but not as you would like to, like in tablets, so trying to scroll a website, would select text, instead of scrolling.
[Transformer TF300T Android Development] cb22:
This is indeed correct - the USB port works great with mass storage / HID devices already.

During use, pretty much on par with Android actually - hardware acceleration is used for video, clockgating etc is all done by the kernel, and the low power tegra core is used. However, we don't have suspend / resume yet, so idle life is significantly less.

My mistake, I linked to the wrong file in my post. You want to use this, which is the GCC toolchain compiled for x86. Hence, you'll need a Linux desktop or VM to compile the modules.
[Transformer TF300T Android Development] afzalarsalan:
You didn't by any chance include maliit-server in this release because its not starting from /etc/profile
[Transformer TF300T Android Development] Valantur:
get the microphone to work

Thanks CB22 for another awesome release!

At some point you should give away some of your "secrets" :) and publish the packages that you installed manually using pacman, I believe they're called "tegra-customizations and nvidia-tegra". At this point, I've changed my system so much that I can't afford overwriting the whole thing with a future release, so the more documented the changes are the better, so I and other people can replicate them without loosing customized settings.

Now back to the mic issue:

I don't know about you guys but the internal mic on my tf300t was muted and it took me a while to find out which value I had to change in alsamixer to get it to work.

First of all let me tell you that I uninstalled pulseaudio cause I don't like it... I don't like how it piggybacks on Alsa so I'm not sure if things would have been easier had I left pulseaudio installed.

So... to enable the int microphone in alsa:

enable switch "int mic"

enable and set to 100% "Digital Capture"

change the value of "ADC input" to "DMIC"

that should be it.. I'm sure there are other options and switches to get it to be more sensitive to sound and/or improve the quality.

Cheers

Valantur
[Transformer TF300T Android Development] cb22:
No secrets here :) I've uploaded the scripts I use for building the rootfs to https://bitbucket.org/cb22/toroidal - I named them toroidal, electrical engineers should get the joke :p (hint, it's a type of transformer). They're really simple, and do need to be run as root. While I don't think there are any BumbleBee style rm -Rf / hanging around, the standard disclaimer applies. Also, these scripts will only run on Arch at the moment. (if you have pacman on another distro, it should work too, but creating a VM is the safest bet - it's what I do)

At the moment, building the rootfs itself is completely automated, things are configured in toroidal.conf - and running toroidal.sh simply sucks in the various files under packages/ and installs the packages listed, as well as runs the code in the configure section.

Under tmp/ you'll find build.sh, update/ and initrd/. initrd/ contains the initrd used, you can build this by running

find . -print0 | cpio --null -ov --format=newc | gzip -9 > ../built/custom.cpio.gz

from within the directory

build.sh is a simple script which builds the kernel blob from the initrd and the zImage - you'll need to modify the paths to make it work. update/ contains the skeleton for creating the update.zip

Under skel/ you'll find the configuration files that are preloaded. helpers/ will eventually contain scripts that will automate things like building the kernel, initrd and update.zip.

pkgbuilds/ contains the custom PKGBUILDS, as well as the binary packages

Good work on figuring out the mic - I haven't actually tested that at all. Pulseaudio would require those settings to be tweaked too, I think I need to add a default alsa configuration that has those changes, as well as the internal speaker unmuted, so audio works out the box. Figuring out jack detection would be a good one too.
[Transformer TF300T Android Development] schplade:
hey guys, just trying to flash the update.zip in twrp, how long should it take to finish the flash? it has taken around 15minutes at the moment and the bar doesn't seem to have moved for around 10.

also, with the new update.zip, the only thing we have to do to install is flash it from recovery right?
[Transformer TF300T Android Development] secosan:
Yes, you only need to install it from recovery. It should not take longer that 2 3 minutes. Any error messages? Did you check the logs?
[Transformer TF300T Android Development] schplade:
its worked now, not sure why it took so long, was around 30mins in total.

There were no errors in the recovery menu, but i haven't checked elsewhere yet.

Working great so far!
[Transformer TF300T Android Development] secosan:
Great! If you need to go back to Android, as there is no dual boot with the update.zip version, you just flash the kernel you were using before, and you should be ok.

Also, if then you want to go back to linux, just reflash the update.zip.
[Transformer TF300T Android Development] -angel*:
Anybody planning on making a video review of this where you see performance and functions of Arch on Tegra 3? :fingers-crossed:
[Transformer TF300T Android Development] doubljdog:
Did you happen to install the update.zip from the built-in storage? I think installing it from microsd is much faster since it isn't the same chip writing to itself

ETA: I don't have this problem with my phone but since the IO is so slow on these tabs i'm just guessing it may have something to do with the long install time.
[Transformer TF300T Android Development] doubljdog:
Sound working?

I have seen conflicting posts whether or not sound is working. I've tried entering alsamixer but can't seem to change any settings in there. Any tips?
[Transformer TF300T Android Development] hamed_tt:
Good work thanks

Sound does not work for me and also drives appear on the desktop, but not mounted!

Is it possible to install other programs on it?
[Transformer TF300T Android Development] d1dd1:
pacman is your friend...

Here you can find a guide how it works compared to Debian/Ubuntu

http://archlinuxarm.org/support/guides/applications/package-management
[Transformer TF300T Android Development] bilange:
Ive tackled the problem where the Escape and F keys arent working as a regular keyboard. By looking at it with xev (type 'pacman -Ss xev' to see the right package to install, xev wasnt bundled into the update.zip file), it seems that the keys are bound to the closest Xorg equivalent (XF86WLAN, XF86Bluetooth, etc).

So I attached to this post a tentative 'patch' (loosely said) about this issue so the keys reacts as ESC, F1-F12, and also the Search button acts as an Alt key now). Note that for the F4, F5, F6 and F8 keys, it seems that xev isnt even detecting a keystroke and something (kernel?) is forcing the screen brightness adjustment action for those keys (as for the F8 key, the default browser shows up). So I wasnt able at first glance to patch those Fkeys, but the rest are working.

Personally, I needed an escape key working because I use vim as my text editor of choice. (Escape is vital for this editor).

How to use:

- Send this .txt onto your Linux installation, and type the command 'xmodmap Fkeys.txt'. Note that the changes will be done LIVE after pressing enter.

- Rebooting doesn't keep your keymap change, of course. You would need to add that line into the right .xSomething file for your logged on user, or perhaps onto the global x startup file (whatever that is, i havent looked that up yet)

- I suggest you to keep a backup of the original keymap by typing 'xmodmap -pke > original.conf'. You can always switch back to that keymap config by typing 'xmodmap original.conf' if everything fails.

--

Changes done over the original keymap:

- The 'back' button is now an Escape button

- Wifi through 'Multimedia Next' are bound to F1-F12, with the exceptions of F4, F5, F6, F8

- 'Search' is now an Alt key.
[Transformer TF300T Android Development] bilange:
Forgot to ask this: have you guys noticed the tablet isnt actually shutting down by choosing to shut down Linux? My LCD panel stays opened even though this is black.

Of course there were no way to further diagnose since there are not framebuffer console built into that kernel, and of course wifi/ssh were shut down at that moment. So im just asking if I'm alone with that issue.
[Transformer TF300T Android Development] dragonnn:
cb22 so I get my kernel to work with the hybrid initramfs, but I have problems to get wifi working - my question with modules I need to load? And with option in kernel config enable to build cardhu_wifi.ko? I don't see it :/.

EDIT

It would be helpfully too when some one post my the output of lsmod command when you are connect to wifi on Arch.

EDIT

cb22 and about the reboot problem, I think I find a way to fix it - if we use on Arch the binary /system/bin/toolbox from Android it reboots fine, I think making a systemd .service file that runs it after sync and umounting the file systems should reboot the tablet.
[Transformer TF300T Android Development] brayann16k:
great job but the download links doesn't work for me :(
[Transformer TF300T Android Development] hamed_tt:
Use these.

http://xdaforums.com/showpost.php?p=36362624&postcount=217

---------- Post added at 12:07 PM ---------- Previous post was at 11:47 AM ----------

Is it possible to dual boot update.zip enabled ?
[Transformer TF300T Android Development] dragonnn:
I am working on dual boot kernel, and I can made an update.zip for it, but first I need to fix wifi, so I need the output of lsmod from latest cb22 kernel ruining on Arch.
[Transformer TF300T Android Development] teufelschultz:
Output of lsmod:

Module Size Used by

cardhu_wifi 1420 0

brcmfmac 116641 0

cfg80211 387291 1 brcmfmac

brcmutil 2858 1 brcmfmac

compat 13456 2 cfg80211,brcmfmac
[Transformer TF300T Android Development] cb22:
Sorry, missed your post -

cardhu_wifi is enabled by the config option CONFIG_CARDHU_WIFI (see https://bitbucket.org/cb22/tf300tg-kernel-source/commits/82cdc59b5127b2595fb1470547099b1623bfab41 )

Basically, while brcmfmac (from compat-wireless) works well with out WiFi card, we need an "activator" to actually turn on the SDIO interface and such - this is the task that cardhu_wifi performs. If you unload it, it deactivates the WiFi, as you'd except.

As for rebooting - this is all very strange. My tablet both reboots and powers off with no issues..
[Transformer TF300T Android Development] tailormoon:
Thank you for your hard work

Please make the onscreen keyboard. please
[Transformer TF300T Android Development] matonka007:
I am flashing the update.zip trought CWM (from internal storage) and have the same problem, the tablet does not shutdown, the display is still on

Can it be that I used CWM? Is TWRP better for this?

Thank you for everything :)
[Transformer TF300T Android Development] Psierra117:
If you usw twrp you can shut down through recovery, thats how i do this.

Whats strange, for me the display suspends after some time and is reactivating du to interaction.

I dont know what i did for getting this

Gesendet von meinem Xperia P mit Tapatalk 2
[Transformer TF300T Android Development] hamed_tt:
How to install the GDM to enable switch user on (Linux.tar.gz)?
[Transformer TF300T Android Development] doubljdog:
a lot of people buying keyboard docks

I noticed a lot of people picking up the keyboard dock for this tablet with the sale going on at best buy. I'm hoping it'll get more people interested in linux on these devices. This arch build already works really well for such an early build.
[Transformer TF300T Android Development] vanist_19:
tanks and help

thanks everyone this is a great job!!

i need help i cant oppen usb devices or sd cards because i need a password and i dont know who is it... i dont create any password...and i need instal flash player for chrome and i cant.....:(

thanks
[Transformer TF300T Android Development] dragonnn:
Try root or initial password.
[Transformer TF300T Android Development] vanist_19:
doesn't work :(

thanks

on arch Linux i have no soud, no flash player, and no usb devices because i need to know password...anyone can help me pleaseeeeeeeeeeee??
[Transformer TF300T Android Development] dragonnn:
Maybe you need to setup sudo - search in Google, best use Arch wiki.
[Transformer TF300T Android Development] vanist_19:
i already try but i'm portuguese and i cant understand everything...so if you can do a tutorial most shortly i apreciatte so much...

:(
[Transformer TF300T Android Development] secosan:
password is "initial"

without the brackets
[Transformer TF300T Android Development] vanist_19:
initial doesn't work....i quit wathever....thanks a lot to your concern
[Transformer TF300T Android Development] shaban123:
How about a videotutorial? i am new to this dual booting things :D
[Transformer TF300T Android Development] ttouch:
how did you do that? a small guide?

did you just decompressed zImage in rootfs?
[Transformer TF300T Android Development] dragonnn:
Guys! Really good news, I have found an amazing way to dual boot! Just by using the volume up key - when you device boot the charging led goes for 5s into green - when you press in this time the volume up key the tablet boots into Arch, if you press nothing it continue to boot into Android! Only bug, sometimes the charging led doesn't turn off (but mostly yes), so no need to delete or create any file. But still no wifi, waiting for an answer from cb22, I need his advice how to compile compat-wireless, hope he will help my.
[Transformer TF300T Android Development] doubljdog:
I used a dual-boot method mentioned earlier in the thread:

Pretty much when I had only android installed, I boot into recovery and backup JUST the boot partition and named it android. Then I installed archlinux, rebooted into recovery, made a backup of boot partition again and named it arch. When I want to boot into one or the other I just have to boot into recovery and restore whichever boot partition I want to load into to. The partition is only 8mb so the flashing is almost instant.

Cheers
[Transformer TF300T Android Development] dragonnn:
I know that this work, but native dual boot is much better - you don't lose time to reboot to recovery, flashing, and anything more. And using the volume button works really amazing, I will made a video how it works tomorrow ;).
[Transformer TF300T Android Development] Spark1223:
Can't wait for this to come out.
[Transformer TF300T Android Development] brayann16k:
how much the update.zip needs to be flashed ?
[Transformer TF300T Android Development] hamed_tt:
It's great

Please upload the files.
[Transformer TF300T Android Development] dragonnn:
Odp: [DEV] ArchLinux on the TF300T(G)

I will upload it when I fix wifi (it is mostly unusefull without wifi).

Wysyłane z mojego ASUS Transformer Pad TF300T za pomocą Tapatalk 2
[Transformer TF300T Android Development] hamed_tt:
This is good

But my only problem is how to dual boot (update.zip) and WiFi works on both (update.zip & linux.tar.gz) for me.
[Transformer TF300T Android Development] vanist_19:
help

for me wirless works on both. i lost file linux.tar.gz and i can't do download now...how i can get a file?? i don't want update.zip because i need dual boot or i can do dual boot ? if yes, how?

on first page dev says audio work but on me audio dont work..........why?? device was not muted!!!

thaks
[Transformer TF300T Android Development] cb22:
Hi Dragonnn,

Getting compat-drivers (the new version of compat-wireless) to compile against our kernel source was quite the mission. It seems as if it ignores some headers or similar, even when pointed to the correct location with KLIB= on the command line.

This results in those errors about "THIS_MODULE"

My ugly hack to get it to work:

First, find where THIS_MODULE is #define, then in include/linux/device.h on your Arch tree, find the first instance of THIS_MODULE and add the #define line before it.

Unfortunately, I don't have access to my dev box - I'm away from home, so I can't give you any more exact details, and I'm just going from memory here...

I've also sent in my TF300, hoping that they will be able to fix the touch screen.
[Transformer TF300T Android Development] realaxed:
cb22 let me know if you would like to run any test on my tf300. I am still running the original version of your build with the wifi workaround, but I want to help keep this project moving forward anyway I can.
[Transformer TF300T Android Development] pendragon11:
I'm eager to get my hands on this with dualboot and wifi. that's going to be a gamechanger for this already stellar tablet.
[Transformer TF300T Android Development] dragonnn:
Looks better, I have success when building the driver, but have troubles when loading it, first I load compat.ko, then I try to load brcmfmac and I get an error in dmesg:

Unknown symbol compat_dependency_symbol (err 0)

Looks like the driver (and any other module from the compat-drivers) doesn't find the right symbol, but the symbol looks like it is exported:

cat /proc/kallsyms | grep compat_dependency_symbol
00000000 t compat_dependency_symbol	[compat]

cb22 with version of compat-driver did you exactly use? I have tried the lates from 2013 and 2012 with no success :/.

EDIT

Finally! After a next dirty hack in the sources (copied the complete export.h to compat-2.6.h) Wifi is working!! :D Now I need to do some cleanup and prepare the zip for flashing! I think I will find enough time at this weekend.
[Transformer TF300T Android Development] cb22:
Great! That was the exact same issue I had too I recall now, after fixing the THIS_MODULE one. I'm sure there must be a better way of getting compat-driver to compile, but if it works you can't really argue with it :)
[Transformer TF300T Android Development] rickavers42:
Audio

Would someone be able to provide a WORKING method to getting audio working? I've tried everything I could find in this thread and the support thread with no luck.
[Transformer TF300T Android Development] toshi95:
I've been eying this thread for a while, I'm DEFINITELY Going to check it out once dual booting gets worked out! Does it work with cm10.1?
[Transformer TF300T Android Development] Spark1223:
Please release something! I really wanna try this with dual boot and wifi!
[Transformer TF300T Android Development] notea:
for people waiting for dual boot, you can just backup your boot partition in twrp (while you have your android rom of choice installed) and then install Arch, you can go back to your android setup (all data) just by restoring the boot partition.

This is an amazing 'nix setup, but i'd not say it's ready for daily use, mostly curiosity. the more people use and post constructive feedback on here, the sooner it will get there.
[Transformer TF300T Android Development] Spark1223:
I'd rather NOT do that. Continually flashing a the same sectors can't be good for flash memory. Plus its a pain.
[Transformer TF300T Android Development] doubljdog:
It's not good for flash memory? I'm not arguing that it is good, but people tend to be flashaholics whilst maintaining their data partitions all the time. Wouldn't this be a similar scenario?
[Transformer TF300T Android Development] cb22:
It's perfectly fine for flash memory - the eMMC chip in our devices has a FTL (flash transition layer) that handles wear leveling and everything automatically. Even if you're writing to the same partition, you're not writing to the same blocks, as everything is automatically shifted around. Flashing the 8MB partition 100 times is like copying one 800MB file onto the device... (well, mostly)

As far as I know, I've seen reports that it doesn't work with cm10.1 - but that shouldn't be too hard to fix. Just a matter of adding one or two kernel options in.

First off, are you running the latest beta update.zip that was posted? If you run alsamixer -c1 and see the "Int Spk" control, and it's unmuted, you really should be getting sound. If not, some further digging will be needed

Thanks for the offer - it's just that debugging over the network is pretty tricky compared to when I actually have the device in my hands...

I've created an issue tracker on BitBucket: https://bitbucket.org/cb22/archlinuxarm-tf300/issues

If you have any problems (sound not working, wifi not working, etc) please go and have a look through there first, and if your bug isn't listed, create one. This is a much better way to keep track of what needs to be done than shuffling through forum posts :)

It allows anonymous access, so you don't need to register to report a bug. Feel free to submit feature requests too, and mark them as such.
[Transformer TF300T Android Development] rickavers42:
Ya it's bad!

It's been proven that it's bad to keep re-writing the flash. After so many flashes, I can guarantee you'll fry that flash chip.
[Transformer TF300T Android Development] Spark1223:
I actually wasn't 100% sure. Cb22 has confirmed it's ok. However, doesn't change the fact that its a pain in the ass to flash 2 different kernel whenever I wanna boot.
[Transformer TF300T Android Development] dragonnn:
As I promised - I have found some free time to do cleanup in my sources and prepare the zip for flashing.

So here you go https://dl.dropbox.com/u/1664131/firekernel-TF300T.zip

How to install -

1. First flash the latest rootfs from cb22 (the one without dual boot). http://xdaforums.com/showpost.php?p=36362624&postcount=217

2. Flash my zip - ready!

How to dual boot:

1. Reboot you device

2. When you device boots and the charging led goes green press volume up - you tablet will boot into Arch - if you don't press it you tablet will continue boot into Android after 5s.

Note! Do not press the volume up before the led goes green - this won't work.

Know bugs:

The dual boot works only when you tablet is docked to the docking station, a fix will come.

Sometimes the led won't turn off, reboot you device again should fix it

Futures of this kernel:

- full based on untermensch kernel

- UKSM patchset

- Entropy patch

- Basic compiling optimization (like O3, mtune=cortex-a9, hard-float etc.)

- OC to 1,7Ghz (note it is disabled on Arch - on it the tablets run in the "balanced mode" like this on Android (if you enable the tf300-cpu.service)

Thats all for now. Note this is first version, so pleas note this as beta. For now only for stock, I will try to made CM10/10.1 version later, but I don't promise that I will can do this.
[Transformer TF300T Android Development] okrasitna:
Im waiting for a long time a way to have dualboot (noob friendly)

Thanks a lot for this great job

I just dl your zip, but where can i find the latest rootfs (rapidshare link broken in first page)

Envoyé depuis mon ASUS Transformer Pad TF300T avec Tapatalk
[Transformer TF300T Android Development] dragonnn:
Add link in previous post.
[Transformer TF300T Android Development] okrasitna:
On the road

Envoyé depuis mon ASUS Transformer Pad TF300T avec Tapatalk