[Asus Transformer TF700] Ananasnonym:
Update to 12.04

Hello guys,

Could be that there was a problem packing my 12.04 rootfs so that it does not install the way it should with the aroma installer! Fatal is also that there is no /media/ folder so it fails to boot. I corrected these errors and more, I followed [MENTION=1626944]cogano[/MENTION] suggestions concerning using _that's kernel v10 for linux (as it is more stable and flexible), changed the shortcut for switching from Fkeys to special keys to Ctrl-Alt-x and a few more improvements. I also tested the installation process from the beginning and it succeeded for me. (I tested with make /dev/mmcblk0p8 home = no)

Exact changelog:

"-" means remove line

"+" means add line

/etc/JoinTheRealms/overclock/bootoc.sh

- . Ocsetting.sh
+ . /etc/JoinTheRealms/overclock/OCsettings.sh

/etc/JoinTheRealms/overclock/OCsettings.sh

- cores=4
+ core=4

Make mount point for all external and internal devices (there is

an error without it):

sudo mkdir /media/

use that10-cogano3 kernel (copy zImage to /boot and /lib to / )

Home key is now per default Windows (Super_L) key, Menu key

opens pcmanfm

rc.local:

- sleep 10s
- /etc/JoinTheRealms/overclock/bootoc.sh
echo balanced > /sys/devices/system/cpu/cpuquiet/current_governor

+ echo 12 > /sys/module/asusdec/parameters/key_flags

Create new Fkeys1.1.sh script to toggle Fkeys:

#!/bin/bash
# If Fkeys and Escape are enabled, disable them by substracting
3 and invoke custom Xmodmap
# else enable them by clearing Xmodmap and adding 3
state=$( cat /sys/module/asusdec/parameters/key_flags )

if [[ $state == 15 || $state == 11 || state == 7 || state == 3
]]; then
echo $(( $state - 3 )) >
/sys/module/asusdec/parameters/key_flags
/etc/Ananasnonym/layoutswitcher_wrapper.sh
else
setxkbmap
echo $(( $state + 3 )) >
/sys/module/asusdec/parameters/key_flags
fi

set permissions:

sudo chmod -R 711 /etc/Ananasnonym/

Change toggle Fkeys from Ctrl-Alt-y to Ctrl-Alt-x

~/.config/openbox/lubuntu-rc.xml

- <keybind key="C-A-y">
+<keybind key="C-A-x">
- <command>/etc/Ananasnonym/Fkeys.sh</command>
+<command>/etc/Ananasnonym/v1.1/Fkeys1.1.sh</command>

- <keybind key="XF86MyComputer">
+<keybind key="XF86MenuPB">
+{<keybind key="XF86MenuKB">
<action name="Execute">
<command>pcmanfm</command>
</action>
</keybind>}

Change sudoers file to support toggle Fkeys without password

sudo visudo

add after %sudo ALL=(ALL:ALL) ALL

# All users may change Fkeys with a shortcut
ALL ALL=(root) NOPASSWD: /etc/Ananasnonym/v1.1/Fkeys1.1.sh

change .Xmodmap to:

! This file is necessary to eliminate Fkeys completely out of
the top row when _that's kernel's Fkeys are not active
keycode 68 = XF86Terminal
keycode 69 = XF86ContrastAdjust
keycode 70 = XF86MenuPB

layoutswitcher.sh is now more flexible

- HOME=...
+ # get current user
+ USER=$(ps -ef | grep '/usr/bin/lxsession' | grep ? | cut -d' ' -f1 | head -n 1)
HOME=/home/$USER
xmodmap $HOME/.Xmodmap
echo 12 > /sys/module/asusdec/parameters/key_flags

copy all of /home/ubuntu to /etc/skel

sudo rm -r /etc/skel/*
sudo cp -a /home/ubuntu/* /etc/skel
sudo chown root.root /etc/skel/*

EDIT: THIS POST IS OUTDATED!! Please use http://xdaforums.com/showpost.php?p=53334572&postcount=968

v1.1

Link1: http://d-h.st/TUa

Link2: https://mega.co.nz/#!PZIT2CZT!wdjvNJkdg7figOphQRTn8bpt5j9TReyLTIFNVlkYO74

sha1sum: a5eebfba7d7f893cdf0ba1e0bbe2c17774b7da77 or Download: http://d-h.st/DJN

[MENTION=3971563]workdowg[/MENTION] please update OP