yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] ITesAndroid:
wifi problem =(

Hey guys! Thanks for keeping up your awesome work here!

After having some good times with stock asus JB 4.2.1 + Ubuntu (old dual-boot stuff, v0.8.3), I've decided to go for CROMi-X + Lubuntu 12.04 (minimal install)... everything boots well, but Lubuntu doesn't see my wifi-router :( It does see all of my neighbours' wifi-routers though, just not my home wifi)... Android has no problems connecting to my router, and all other devices work fine with it as well. It's just Lubuntu=( I've tried to manually configure my network connections -> wireless by adding it's SSID & password, etc, but had no luck with it( ..The old Ubuntu/Lubuntu (wich I tried on stock kernel before going for kexecboot) worked perfectly well, so it's a bit frustrating... any tips on this issue?
[Asus Transformer TF700] JoinTheRealms:
Erm sound like your router is operating on channel 12-14, if thats the case its probably easier to change it to something like channel 6, than changing wlan location settings in tablet, more info: http://en.wikipedia.org/wiki/List_of_WLAN_channels
[Asus Transformer TF700] ITesAndroid:
Thanks for reply! In my router settings I've got:

Wireless mode: Auto

Channel bandwidth: 20/40MHz

Channel: Auto

This used to work fine before... So shall I change the "channel" setting to 6?

EDIT^: wow, thanks, that actually worked=) Thanks mate)

One more question - is there any way I can change dpi? It's sometimes hard to hit the "x" or url bar in chromium, for example =P Is there any way to change screen resolution?
[Asus Transformer TF700] Ananasnonym:
I can confirm the issue with channel 13. Channel 10 and 6 work fine for me.

---------- Post added at 01:28 PM ---------- Previous post was at 01:20 PM ----------

For me it does not work even with sudo. What did you do exactly? Are all issues resolved for you?

---------- Post added at 01:34 PM ---------- Previous post was at 01:28 PM ----------

It is a known issue of chromium that it is not affected of the user dpi settings. You can use "system bar style" from chromium settings to get bigger window buttons.

If you want to play with dpi values here is the place: /etc/lightdm/lightdm.conf

Edit the line xserver-command=X -dpi 224 to whatever dpi value you would like. Note that it is an issue of Lubuntu that not everything is changed correctly but mostly only the font size. You can play with xrandr as well, but I never managed to get acceptable results.
[Asus Transformer TF700] Ananasnonym:
for the keyboard to change permanently edit /etc/x11/Xorg.conf from at to us
[Asus Transformer TF700] ITesAndroid:
One more question - how do I add more keyboard layouts? I need 3 languages, but Lxkeymap only allows one at a time... I've tried every method I managed to find on Lubuntu forums, like editing /etc/default/keyboard, etc... nothing seems to work=( Do I have to add something to xorg.config?
[Asus Transformer TF700] Ananasnonym:
I give you 2 possibilities confirmed working for their own or together:

Right click on the panel -> Add/Remove -> Add -> Keyboard layout switcher

Add following line to /etc/xdg/lxsession/Lubuntu/autostart

@setxkbmap -layout "fr,us,ru"

You can test it by running the line without @ in a terminal. The Keyboard layout switcher should work.

If you add

@setxkbmap -option grp:ctrl_shift_toggle "fr,us,ru"

to the file as well, you can switch between layouts by pressing Ctrl and shift.

PS: I followed this guide:https://help.ubuntu.com/community/Lubuntu/Keyboard#Multiple_keyboard_layouts

---------- Post added at 12:10 AM ---------- Previous post was at 12:04 AM ----------

If I run the resulting a.out file with

sudo ./a.out

it terminates almost immediately.

Are you on Lubuntu v1.3 with that10-cogano6 kernel and latest gcc? Did you compile pm.c with following command?

gcc pm.c
[Asus Transformer TF700] JoinTheRealms:
Just chuck the output binary from pm.c into the system binaries directory, /sbin this will run it as root on boot. Its been working fantastically for me, one charge has held in this tablet for about a month in standby(with very little use in that time period, mainly checking if its still running and battery levels).
[Asus Transformer TF700] Ananasnonym:
Could you please post your a.out?
[Asus Transformer TF700] cogano:
Just a few notes on linux processes and file system hierarchy. If you're aware of these matters, no offence meant and sorry!

If you run a script as a privileged user (root), all subprocesses normally run as root, too. You would have to use "su" to modify the root privileges to some other user.

If you compile your own binary program, do not forget to add the "execute" permission to it (chmod +x myfile), otherwise it cannot be executed.

Binaries or scripts, which you put to /sbin will not automagically run with root privileges. (It is possible to modify the file permissions so that it always runs as root, however it has nothing to do with the directory it resides in.) The process calling the binary must run as root already or it has to use sudo.

It is a mere agreement of developers described in FHS that /sbin /usr/sbin /usr/local/sbin directories hold binary files and scripts, which are _supposed_ to be used only by the privileged user. (And therefore these dirs may sometimes be excluded from PATH variable for the normal user.) Some linux distributions ignore the recommendation and put everything in a single directory.

Especially in boot scripts, always use the full path to run a script or binary. (e.g. /usr/local/sbin/pm), instead of relying that PATH variable is already set and that it points also to your directory (although /sbin might be a safe bet).
[Asus Transformer TF700] Ananasnonym:
[MENTION=1626944]cogano[/MENTION] could you please post your source for that10-cogano6 kernel? I need to compile a module for an external AC wifi adapter and for that I need the kernel source. [MENTION=6020138]slim_satoshi[/MENTION] I do an upgrade to our WLAN at home and now I fully understand your request ;) Maybe if you post your USB Adapter Model then I can include a driver module (If I succeed building a kernel, I never did that before haha)

I want to use the Asus USB-AC56.
[Asus Transformer TF700] cogano:
[MENTION=4258909]Ananasnonym[/MENTION], here is the README I originally included in the zipped kernel file (I do not have a permanent web storage for the original binary, sorry...). Does it help?

kernel-that10-cogano6

Source code:
[url]https://github.com/that1/android_kernel_asus_tf700t/releases/tag/release-that10[/url]

License:
GPL 2.0
[url]https://www.gnu.org/licenses/gpl-2.0.html[/url]

=== Installation

Copy boot/ to your rootfs /boot
Copy lib/ to your rootfs /lib

Do not forget to add /boot/initrd.img to your rootfs from some other system. If
you need the modules during early stage of booting, add them to your initrd.img.

=== Keyboard hint

Add the following to /etc/rc.local to enable PC keyboard mapping on Asus TF201 dock:

echo 15 > /sys/module/asusdec/parameters/key_flags &> /dev/null
echo 1 > /sys/module/asusdec/parameters/key_autorepeat &> /dev/null

See Documentation for more info:
[url]http://xdaforums.com/showpost.php?p=40168242&postcount=3[/url]

=== Config

I used the some older config (I guess it comes originally from JoinTheRealms kernel v5 or 7).
CONFIG_ANDROID_PARANOID_NETWORK" is not set
CONFIG_F2FS=y to support F2FS
CONFIG_BT_RFCOMM=y
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=y

=== Compilation

Cross compiled on Arch Linux x86_64 with linaro-gcc 4.7 2014-04
[Asus Transformer TF700] Ananasnonym:
Deleted
[Asus Transformer TF700] Ananasnonym:
Yes, it worked perfectly! For everyone else who wants to use the ASUS USB-AC56 Wifi Adaptor on our TF700 (Lubuntu with that10-cogano6) here is the compiled module for the kernel.

To load it type into a terminal:

sudo insmod asus-usb-ac56-wlan.ko

After that you can use it with the Network Manager!

EDIT: Forgot to attach the file ;)
[Asus Transformer TF700] JoinTheRealms:
slightly cleaned up the host initrd and removed unfinished boot.cfg options https://drive.google.com/file/d/0B_oeOAvJTvExNXJHb3hEcVA0YTA/view?usp=sharing - not tested but should be fine :silly:
[Asus Transformer TF700] Drizzt396:
Arch?

I started a PM to workdowg but figured it'd probably be better served as a post here:

So I just got a tf700 a few days ago and really want to dual-boot arch with it. I'd like to experiment with that arch rootfs.lzma, but it looks like on the eleventh workdowg took his site down. Is there any chance someone could shoot me a download link for that rootfs?
[Asus Transformer TF700] cogano:
rootfs-minimal-Lubuntu-12.04-v1.3.tar.lzma

Anybody got the rootfs-minimal-Lubuntu-12.04-v1.3.tar.lzma file available for download? (@workgdowg's site is still down.)
[Asus Transformer TF700] cullenmq1:
Also would like to know if it still doesn't support f2fs
[Asus Transformer TF700] workdowg:
If fixed the links in the opening post. They are on andriodfilehost now.

Sent from my VS985 4G
[Asus Transformer TF700] gardiol:
Unable to boot linux?

Hi all!

ok, i am trying to boot lubuntu-minimal but failt after kexecboot menu.

I have done a full format/clean, installed latest CROMBI-KK (11-0-20140921), it runs good. Then i downloaded TF700t-AKBI-v2.6.4.zip from this thread and unpacked it.

Downloaded rootfs-minimal-Lubuntu-12.04-v1.3.zip from this thead, unpacked and renamed to rootfs.tar.lzma. Put it into the unzipped scripts (under /sdcard).

Run the script: don't work, it seems a WRONG check on kexec.blob being a directory, fixed changing test flag from -d to -f in firstinstall.sh. Now it works, does everything, kexec, format, copy root, sync... ready to reboot.

After reboot, the kexecboot menu appears, good! I can start CROMI-KK, but if i try to start lubuntu i get immediately to a second text menu with options to reboot, repair, shell or edit config. No other error message anywhere.

I tried a bit to poke around, with no luck. Shell works, but it seems the kexec environment, clearly the root img has not been mounted... Maybe this is why it is not booting.

Can anybody help me out on this? What should i try? Where should i look if the image is mounted?
[Asus Transformer TF700] gardiol:
Update...

Ok, i managed to get some more log from the boot.

When i select linux from the kexecboot menu, it fails loading with this error message:

Cannot open /root/boot/zImage: no such file or directory

And in that folder actually there is nothing, no kernel, no initrd. So my guess is that something failed to mount OR to copy proper files...

I am bit at a loss now, where should i get those files from? And why are they missing?

If anybody can help...
[Asus Transformer TF700] workdowg:
Sorry I didn't get back to you sooner... Looks like the lzma file I upped was the wrong one (I had fixed it and can't find it...). His directory structure was wrong. I'm going to fix the image and post a temp link to my dropbox...

Edit:

temp link - https://dl.dropboxusercontent.com/u/19353225/rootfs-minimal-Lubuntu-12.04-v1.3.dirfixed.tar.lzma

Edit2:

File fixed in OP
[Asus Transformer TF700] gardiol:
I had most got to the same conclusion. After decomposing the multi boot process and scripts I got to the point where it was clear something was wrong with the roots. Just did not got yet to try messing the structure up.

What about the issue with test -d on kexec.blob? In the first boot ah script?
[Asus Transformer TF700] workdowg:
I fixed on my github, I'll make a new zip when I get the chance. Nice catch!
[Asus Transformer TF700] gardiol:
I will try to make a Gentoo rootfs (i already have one which i used to chroot into from the tablet) and share if anybody is interested.

A couple of questions on the rootfs:

- of course, i shall not setup a kernel inside, but for Gentoo kernel sources are important, should i get the sources of "that10+" kernel? Do you have any links?

- What about udev and the like? Should it work or better leave it alone?

we will see.

thanks so far for the great job!
[Asus Transformer TF700] workdowg:
I know next to nothing about gentoo. [MENTION=1626944]cogano[/MENTION] built the last Linux kernel from _that10+ for us. He might have an idea. As far as roofs building... I can give you my build instructions.

Sent from my VS985 4G
[Asus Transformer TF700] gardiol:
I wrote to cogano, let's see. Of course, your build instructions can be very useful! I was looking to a way to install linux not on an image but on a real partition, maybe splitting mmblk0p8 in two, since it's huge for my needs? Do you have any insight or suggestion on such a task?
[Asus Transformer TF700] Ananasnonym:
I don't think that is possible, correct me if I'm wrong, but for what I know the internal memory table is proprietary and cannot be changed
[Asus Transformer TF700] _that:
Well, there are two partition tables - one is proprietary in the PT partition (and used by the bootloader for flashing blobs and probably for nvflash), and the other one is a standard GPT which is used by the kernel. I think in some situations the bootloader rewrites the GPT based on PT.

---------- Post added at 11:07 PM ---------- Previous post was at 11:04 PM ----------

AFAIK Gentoo uses the kernel sources only for compiling the kernel. But you need the kernel headers for compiling userspace libraries; for this you might want to use sys-kernel/linux-headers-3.1.

I'd start with trying to bring up a minimal system and if that works, extend it with what you need.
[Asus Transformer TF700] gardiol:
Ok, i will try bring up a minimal system on an internal loopback image for the moment, with gentoo, next week.

But i not yet giving up on the partition stuff...

When you say there is a proprietary partition scheme and a GPT under that you mean that changing the mmblk0 partition sacheme might work to split p8 to p8 and p9 unless i flash a new rom?

Can i actually brick the device for good if i try that? This is something i would strongly not like...
[Asus Transformer TF700] _that:
Splitting p8 in the GPT might work - but I don't know for how long. ;) There is a thread in the dev section (quite old) that describes the full flash layout of the TF700.

To make your device brick safe, you should find the "Flatline" thread and go through the procedure of acquiring the necessary images from your tablet.
[Asus Transformer TF700] videogamefanatic89:
I'm using the Lubuntu image (great work BTW) but I'm stuck on the DE QWERTZ keyboard layout (it should be US QWERTY for my keyboard). y and z are switched, and every single one of the symbol buttons is wrong.

I can change my layout per session, but the settings never stick after reboot, regardless of every single method and workaround I've tried. I could add a login script, but then I still can't easily type in a password with symbols on the login screen. Is there any way to make this work right?
[Asus Transformer TF700] cogano:
Look at /etc/X11/xorg.conf

[I]... cut ...[/I]
Option "XkbLayout" "at"
[I]... cut ...[/I]

and modify it to your liking ("us", I guess).
[Asus Transformer TF700] pmaxis00:
Stuck On Bootanimation

{DELETE}
[Asus Transformer TF700] gardiol:
Good, i finally managed to give a go at the flatline stuff and now i should be reasonably brick-safe, love that stuff!

Anyway, i am building my gentoo image (it's a pleasure to work from lubuntu, at least it's a real linux and not an android-crap).

Do anybody knows of a way to boot the kexecboot stuff using a chroot instead of a image?

Basically, i am trying to figure out an alternate way to put my linux outside a rootfs image. I don't want to use the microSD due to speed issues, and i still cannot figure out how to partition mmblk0p8 (seems fdisk and parted does not know how to handle that)... so i was guessing, do anybody knows if it's possible to setup the multiboot so that instead of mounting in loopback an image, it does a chroot inside an existing partition? In this way i can instlal my gentoo image under /data/gentoo (android path, or /mnt/host/gentoo on lubuntu)... without having to decide the image size beforehand?
[Asus Transformer TF700] Keshukas:
To mount directory don't use -o loop "mount /data/media/gento /" instead of "mount -o loop /data/media/gento/rootfs.img /"
[Asus Transformer TF700] gardiol:
Ok, it makes sense in a way, how to i specify that? in the boot.cfg file on mmblk0p4? how?
[Asus Transformer TF700] Keshukas:
I need to look in that file to found what and where.

OK

put this to yours boot.cfg

#Linux ext directory on data#

LABEL=Mount Directory /data/media/gentoo

BOOT=3 ### mounts partition or directory

DEVICE=/dev/mmcblk0p4 ### You ask for partition 4

DIR=/data/media/gentoo

KERNEL=/boot/zImage

INITRD=/boot/initrd.img

PRIORITY=94 ### change for you needs

and check

i not shore about DIR=/data/media/gentoo or DIR=/data/media/gentoo/

P.S. i think you heave extracted yours rootfs.img to /data/media/gentoo directory and heave zImage and initrd.img in /data/media/gentoo/boot/
[Asus Transformer TF700] gardiol:
Ok i am proceeding in building my gentoo image, for the time being i will just use a large rootfs image (12gb) for that.

I have some troughts on the kernel. Of course i need the kernel sources and kernel configuration to build some Gentoo stuff, so i googled for the that kernel sources, and i guess i found them on github (if anybody knows of the "official" link, please let me know). I also found the NVIDIA Tegra3 sources and binaries packages...

Now, is there any special reason why only a few selected kernels have been used in this kexecboot project? If i reocompile the that kernel on my gentoo, should that work? Luckly, that left the /proc/config.gz file so i can get the kernel config from there.

As a second question... i was thinking of giving a try with a more recent kernel, do anybody knows of any known issues or reasons why it should not work? Of course, hoping that the NVIDIA binary stuff works with it...

We will see!

thanks so far :)
[Asus Transformer TF700] Keshukas:
I like yours drastisk progres to make gento Linux for TF700 and can by used on TF300 to. I think you can check multiboot for tf300 with can working on TF700

You don't need to make 12 GB rootfs.img - 4 GB recommendet you always can resize ?

Different kernels need to patch with different multi boot pach and more.
[Asus Transformer TF700] cogano:
On Monday, I sent you PM through XDA messaging system. The links on kernel sources and info on config were included.
[Asus Transformer TF700] 2ral:
Hi guys,

Half of year ago I was installing lubuntu minimal but i guess then there was a kexecboot script posted on first page. Now instead I have downloaded the archive runned step 2 and 3 afterwise tablet doesn't boot in android mode. In step 3 I select _that kernel. During fresh crombi-kk setup I have selected tweaked _that kernel with OC. any suggestions how to correctly install lubuntu. By the way I run aroma based recovery installer for lubuntu to create 12gb linux image
[Asus Transformer TF700] 2ral:
guys please describe steps to follow. It's pretty annoying to reinstall the whole system each time. I've done it 4 times already. Have not succeeded expected results. I have crombi-kk now with _that Modded Asus OC Kernel v11. I need the linux image with more than 3 gigs of storage. So as I read i should follow aroma recovery installer way. Which steps should I perform ? I don't remember the order which i followed by awesome guide 4-5 months ago. Now I can't find it on the first post.
[Asus Transformer TF700] workdowg:
Let me extract the _that11 kernel. I'm at work right now but can do it on the morning... I'll give you the files to get it running. :)

Sent from my VS985 4G
[Asus Transformer TF700] workdowg:
[MENTION=5881624]2ral[/MENTION] - After you run the kexecinstaller script (pick _that10) extract and copy the zImage and initrd.img files in this zip to your android /system/boot directory. These are the _that11 kernel files to boot android. I may update the kexecboot script to include these newer files if i get the chance.

https://dl.dropboxusercontent.com/u/19353225/that11_kexec_android_files.zipForget that. Uploaded a new installer version to the opening post with _that11 support. Have a nice day.
[Asus Transformer TF700] 2ral:
Thanks for your help and for wasted time.

Now it really works. I hope you and other guys will continue to do your best as enthusiasts in Linux development under TF700t
[Asus Transformer TF700] 2ral:
I have forgotten to ask. Has anyone managed to activate Bluetooth on 12.04 since we discussed it 5 months ago ?
[Asus Transformer TF700] 2ral:
Guys I'm facing with the problem of hdmi output. I'm using the original asus hdmi to vga adaptor. It works fine under Android. Also I run Ananasnonym's Lubuntu 12.04 LTS. I've seen the some grey frame on external display but nothing more. The screen resolution in original is 1920 * 1200. The grey box appeared onli if I plugged in the cable before booting. The monitors led indicates blue so it has a signal from hdmi adaptor. The same setup under Android works fine
[Asus Transformer TF700] gardiol:
As for the Gentoo port, at the moment i am banging my head and wasting time.

Basically it works great but only in console. I cannot start X because the NVIDIA binary tegra driver sucks hard. The latest X is not supported, so i switched back to the 1.11 (testes also 1.12, 1.13 and 1.14) all with no success. Screen is borked, but tablet still works (login from ssh and reboot ok).

Them i tryed to recompile everything with gcc 4.6.3 (the same used by the working lubuntu), now the nvidia driver will just segfault on me.... how cool.

Back compiling with 4.8.3 compiler now, then i will try to isolate which library causes the borked screen.

Any insight might be useful.
[Asus Transformer TF700] gardiol:
Ok, now i have my Gentoo with X server running properly.

It seems it was my fault after all... i started off from the wrong foot. I installed, without noticing, the Gentoo arm-softfp base system, instead of the arm-hardfp! Due to this issue, the tegra driver was not working properly.

I finally pinpointed it because going trhough the working ubuntu installation the libc was built against a different looking gcc core than mine... digged a bit, found the difference, installed a Gentoo arm-hardfp test charoot, and it works!

Now will keep playing. At least the good point is that i managed to found quite some resources on the tegra and linux so far, so it was actually well spent time.
[Asus Transformer TF700] workdowg:
^ what xserver version did you get running? Pre 13.1 yes?
[Asus Transformer TF700] gardiol:
Yes, at the moment i am on 1.11.4 because ubuntu was using 1.11.3 and i wanted to be as close to it as possible. I will try again as soon as i have the system all rebuilt for hardfp to move up... ideally, it would be nice to get back up to 1.14, since no driver for API 15 does exist.

Honestly, i would also try the opentegra driver... but this will require a newer kernel (3.8 at least, i would like to try with a 3.10 which is long-term stable)... we will see...
[Asus Transformer TF700] darkreaper476:
Is any one having troubles installling, well anything on Lubuntu? Nothing can reach the repos.. I'm online., typing this on the install.. I can't Apt anything or get anything from the ubuntu software center... I've also tried doing apt-get update....

thanks
[Asus Transformer TF700] gardiol:
I did that, i installed a lot of stuff, like two weeks ago, and it worked great. I doubt they dismantled the update servers in the meanwhile... Are you behind a proxy? In this case you must manually set the proxies ALSO in synaptic / apt in order for them to work.

Also, make sure you have your sources set in apt (check /etc/apt.d if i remember correclty, no ubuntu to check on at this moment)
[Asus Transformer TF700] cogano:
What version of Lubuntu do you have? (Try "uname -a", have a look at /etc/motd, have a look at /etc/apt/... files to find out the name of the release. Sorry for fuzzy guidelines, I am not Ubuntu expert and I do not have a direct access right now.)

IMHO the non-LTS releases will sooner or later disappear from mirrors.