yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] workdowg:
I have problems with restoring my current setup, so I only updated the basic rootfs this week. I will keep trying as time permits this week.
[Asus Transformer TF700] joshparrisjosh:
g++ error

delete
[Asus Transformer TF700] darkreaper476:
So I might be doing something wrong here... I've been running arch for years now on my PC's and I have used openbox before, but when I log in I get a blank blue screen [openbox]. I am able to right click and access the menus but NOTHING will run with the exception of the calculator... I can't even get a terminal open to work on anything..

Any help would be great, THANKS!
[Asus Transformer TF700] workdowg:
you need to download the home directory files and untar them... I'm at work right now and that is the best answer for the moment. also look back through this and the dev thread, it has been discussed before.

Sent from my ASUS Transformer Pad TF700t - CROMi-X 4.7.0 ODEX
[Asus Transformer TF700] darkreaper476:
But I didn't install to the SDcard. Also how/where would I put files if I can't do anything in linux. I can move stuff via android but I cant get into Arch image that is on my storage.

Thanks.
[Asus Transformer TF700] Hydranix:
Why do I know believe the former...

If you cannot figure out how to mount and access the image, try reinstalling with adherence to these instructions. Replacing ubuntu with the arch files respectively.

--------------------8<-------------------------
Process:
I.....Get linux-install-0.8.3.zip
--------------------8<-------------------------
II.....Copy linux-install-*.zip and rootfs-*.tar.lzma to your SDcard or /sdcard on your tf700
III....Reboot to recovery mode
IV...Run linux-install-*.zip
V....[Complete the installation as per normal]
VI...Done, now you can reboot and see four penguins!
--------------------8<-------------------------
[Asus Transformer TF700] darkreaper476:
While running Arch NOTHING but the calculator runs, how would I be able to even use cp without a terminal?

If I open the .img file what good would it do to put the home folder where it is supposed /home/user...... When the installation installs to androids /data

Obviously This arch install doesn't understand where home is being put by the installer... SO........ What am I todo? I'm back on Ubuntu/cleanrom for now... I am no expert, but with proper instruction I can get this to work.

Thanks.
[Asus Transformer TF700] workdowg:
Did you use my modified installer from the op ? If not, didn't use the modified installer see roscop2k's excellent Linux tutorial
[Asus Transformer TF700] darkreaper476:
Oh holy cow, so unless using the modified installer for and SDcard home, we have to inject the home files into the tf700t data folder... ok, now that I can dualboot properly again (wrong rom) I'll do just that... lol... ok.. Thanks fellas! I'll give this another shot. lol
[Asus Transformer TF700] workdowg:
4.2 Kernel WORKING

[FONT=Verdana, sans-serif]ATTENTION: July 30th 2013

Thanks to [MENTION=5363490]moreD_cn[/MENTION] we have Linux on our tablets again. See the instructions below. I will work on a new rootfs[/FONT] real soon. For now v8.0 does FULLY FUNCTION. See the op.

I only quickly modified these instructions... Please let me know if I made errors. :silly:
[Asus Transformer TF700] workdowg:
Found my installer changes to fix installing /home to mmcblk0p8 problems. See op. Also the new dual-boot kernel currently has Android SOD (sleep of death) issues. You have been warned....
[Asus Transformer TF700] cogano:
Thanks workdowg for the Arch rootfs image, OpenBox seems to work better than Ubuntu w/ Unity. Also the default home dir is nice.

Let me just report, that I had problems using your arch-42-installer -> all went fine, but after reboot, the linux loader did not find any rootfs. (I guess the directory did not even mount. I have more images in the same directory and also the new one for Arch was correctly created there.) I tried twice :)

Finally, I used the rabits' installer 0.8.3, which worked flawlesly.
[Asus Transformer TF700] workdowg:
I'm curious that you said you have other images in the same dir. I assume they were from a previous install. What directory were they in? /sdcard/linux, /data/media/linux, /data/media/0/linux? Are you on the new bootloader/CROMi-X4? Because on 4.2JB /data/media/linux does not exsist and has to be created.... Thank you.

Sent from my ASUS Transformer Pad TF700t - CROMi-X 4.7.0 ODEX
[Asus Transformer TF700] workdowg:
Ooops

Sent from my ASUS Transformer Pad TF700t - CROMi-X 4.7.0 ODEX
[Asus Transformer TF700] workdowg:
Tried working on the rootfs today... Wifi is not responding.

ip link set wlan0 up
RTNETLINK answers operation not permitted

I'm not giving up, I'm just googled out for today. Between this and trying most of the day to compile a new kernel based on _that4....
[Asus Transformer TF700] prefect47:
Just wanted to add that I see the same behavior, with only one rootfs image in /data/media/linux. I've tried both installer.zip and arch-42-installer.zip from page 1 of this thread. Have not tried rabits original installer as I thought it had an incompatible kernel for 4.2 or something. Also have not trued the Ubuntu 12.10 image, only the Arch one (btw, does the keyboard mapping work if you install another window manager on Arch or Ubuntu)?

The installer.zip completed normally, with the expected freeze at 90%. The arch-42-installer.zip rebooted the first time when I pressed the final button to start the actual install/unpacking, but worked fine the second time.

The only setting I changed was to set Android as the default.

When I select to boot Linux, I always get an fsck on the partition, then I get the menu to select the image and it contains one with no name. When seleted, Linux tries to boot but quickly fails. 10s later it reboots.
[Asus Transformer TF700] JoinTheRealms:
Same here man, been trying for too long now out of interest do you have a 64gb tf700?
[Asus Transformer TF700] prefect47:
Yes, it's a 64GB device. Got it too early for too much money, it only got interesting when the dual boot started to arrive. :)
[Asus Transformer TF700] JoinTheRealms:
yeah mines 64gb too might be an issue with 64gb devices, im going back to 10.4.x.xx for the time being i need my dualboot ;)
[Asus Transformer TF700] workdowg:
Mine is 32gb. I had success following the instructions in my op with my rootfs from April (other than no wifi). When I built a new rootfs and installed it, it shows in the menu, but won't boot.My bad, it has been soo long i forgot I made a mistake in my own instructions when building rootfs's... I may get time again today to try some more.

Is anyone else that has a working install have wifi working in Arch? When I was playing with kernel building yesterday I noticed the wifi driver changed in the kernel sources. Arch see's it but won't let it turn on, even as root.

Sent from my ASUS Transformer Pad TF700t - CROMi-X 4.7.0 ODEX
[Asus Transformer TF700] workdowg:
I fixed the arch installer. You should be using either moreD_cn's or mine when on JB 4.2...
[Asus Transformer TF700] workdowg:
Today's snag in the process is Arch changed sbin to a symlink. Apparently rabits script doesn't like it. The old roofs(April) works fine(no wifi yet). I'll keep on trying...

Sent from my ASUS Transformer Pad TF700t - CROMi-X 4.7.0 ODEX
[Asus Transformer TF700] workdowg:
Got the base rootfs from today booted. Now to work on wireless....
[Asus Transformer TF700] cogano:
EDIT2: I probably use the stock Android (or Clean ROM 3.x? I cannot really say). It is definitely not JB 4.2, but 4.1 with kernel 3.1.10-tf700 from March 2013. Sorry for the fuzz, I guess this thread is just about JB 4.2.

I have 64GB TF700t + dock.

Originally, I used rabits' tutorial to get dual boot with TWRP and CROMi 3.x. Now, I tried to follow the steps in OP of this thread. The only additional step I did was that I renamed the Ubuntu rootfs.img beforehand to my own blabla.img (anything seems to work). I also do not have any microSD card, I therefore put the lzma rootfs image into data/media (I am actually hard-linking the file to a subdir to avoid mess). I do not recall if I created the data/media/linux directory myself or not.

EDIT1:

I booted to Arch now, so I cannot say what directory it really is on Android. I recall there are more symlinks anyway. One of the dirs I recall is The dirs are /data/media/linux or /storage/media/linux or /sdcard/linux or /storage/sdcard0.

During install: I use home dirs on /data/media, always requested to create also rootfs.img from the packed lzma image you created for Arch Linux (the version from April). To my surprise, also ubuntu image in /mnt/android/data/media/linux appeared in the list of multiboot option (Linux) after reboot.

During my tests, I rolled-forward the Arch updates (with --ignore xorg-server and the xf86-..-evdev) but then after reboot GDM did not start and no tty was available. I tried to debug through SSH, but the logs did not say anything usable (Xorg.log did not show any Error). I also tried LXDM, LightDM, but to no avail.
[Asus Transformer TF700] workdowg:
Wireless at a stand still... Is it working for anyone? Here is my dmesg from my arch install - http://pastebin.com/1JsLScHq . The mac address for the wlan0 is not the mac address of my wireless card. None of the devices listed using "ip link" match my wireless card. I'm really thinking this kernel was compiled with the wrong wifi driver....
[Asus Transformer TF700] workdowg:
Good to see someone else play... Right now I'm really just working from a minimal Arch base install to get wifi working first.
[Asus Transformer TF700] cogano:
The initiation of wireless seems to be two step matter, the latter sets the actual MAC for wlan0 and in your dmesg, it is the missing part. See http://pastebin.com/J6DdqAZ3, time 10 sec and 38 sec. While this is from previous kernel, I assume the situation would not change so much. Though the driver may have gotten updated a bit (e.g. the DHD abbreviation is different between the two dmesgs).
[Asus Transformer TF700] yew123:
Hey [MENTION=3971563]workdowg[/MENTION] is there any progress on a that dual-boot kernel?
[Asus Transformer TF700] cogano:
[MENTION=3971563]workdowg[/MENTION]: can you clarify which versions of kernel and rootfs works for you?

CROMi 3.x + rootfs from April = that should IMHO work flawlessly.

CROMi 3.x + current rootfs (not published yet) = does everything work?

CROMi 4.x + rootfs from April = wifi does not work.

CROMi 4.x + current rootfs (not published yet) = wifi does not work.

Is my understanding correct? (When I say "everything works", I mean "everything" but the known problems like power saving, suspend, etc.)

I am mainly interested in the second combination, since the Arch rootfs from April cannot be reasonably used for installing other packages - too many changes happened in the base since then...
[Asus Transformer TF700] workdowg:
I didn't have enough time to keep working on it this past weekend... I'm going to get it though. Got some good advice. moreD_cn is still working on his based on Hunds. Apparently he has the sod solved and is working on kexec. I would still like to use _that's patches for stability...

Sent from my ASUS Transformer Pad TF700t - CROMi-X 4.7.0 ODEX
[Asus Transformer TF700] workdowg:
Yes...lol. I haven't booted 3.x with the new rootfs.... good idea. For Arch, wifi is not working on the new kernel. JoinTheRealms has it working with 'buntu 12.04 rootfs, that leads me to believe it IS an Arch issue. The real problem is getting Arch people to help... this only fits in the ArchArm community which is limited.... I'll keep trying though.

Sent from my ASUS Transformer Pad TF700t - CROMi-X 4.7.0 ODEX
[Asus Transformer TF700] workdowg:
OP Updated... Version 0.9 with (untested kexec) is up.
[Asus Transformer TF700] DertayRoccstar:
First time....

This is my first time trying to get Native Linux to work on my tablet. I have flashed before many times, tablets, and phones. Do I really need to flash a custom rom first(like the one mentioned) in the thread before following the other steps ?

Also the guide seems pretty straight forward but could someone be so kind as to possibly help me out with this a little bit?:good::good:
[Asus Transformer TF700] JoinTheRealms:
Sure happy to help :) No the only requirement of android at the moment is the it be stock based(wont be hard to get cyanogenmod etc working but for now we just working with stock). 4.2 bootloaders are only recently supported, but i think arch is having issues with wifi (i posted a kernel that may fix it) Just download the rootfs place it in /sdcard , Im not sure if you'll be able to boot arch with the installer posted in the op successfully(the kexec method requires a seprate kernel placed inside of the rootfs, but we are getting technical here :)) so you could give my installer a try https://www.dropbox.com/s/lc15mdjv9l89bzl/installer.zip (ive only tested it with ubuntu, inwhich it works fine, but im not developer so insert general disclaimer here lol) and follow the instructions in the installer.

You may need to then reboot into android and move /data/media/linux/rootfs.img to /data/linux/rootfs.img

Sorry the instructions might be hard to understand, im being distracted by Jeremy Kyle;)
[Asus Transformer TF700] DertayRoccstar:
Thanks!

The link you provided for your installer gave me a 404.... I like the idea of Arch but may just go with my original idea of native Ubuntu, I got Ubuntu running on a VNC but thats a virtual disaster.... I just want to get linux working on the tab... Might be too much for me... Might need some PM step by step from someone who has the time....
[Asus Transformer TF700] JoinTheRealms:
You can choose beween arch and ubuntu at start up:) the modifed init looks for .img files at /data/linux/ . If your fine with 4.1(10.4.x.xx bootloader) just have a look in rabits thread for the 0.8.3 installer. 4.2 is still *beta* and some stuff needs to be cleaned up, but it is working
[Asus Transformer TF700] workdowg:
I will re-word the OP this weekend. All I am basically saying is this is what I and a couple others confirmed worked. As others try, I will add it to the OP. For now I am still stating that this thread is dedicated to getting it to work correctly with the new 4.2 bootloader and "stock" rom...

Older roms and bootloader should look through rabits old multiboot Linux thread.

Edit: I think JoinTheRealms said it better. Just saw that. ;)
[Asus Transformer TF700] DertayRoccstar:
any possibility

I know you are probably very busy but have been very helpful, could you link me or PM me with the best steps, walkthrough to get this started....

EDIT: If Arch has working wifi I'd prefer to use it over the other choice...
[Asus Transformer TF700] JoinTheRealms:
[MENTION=3971563]workdowg[/MENTION] did you get the chance to try my kernel (https://www.dropbox.com/s/lc15mdjv9l89bzl/installer.zip) im interested if it has fixed wifi on arch.

Edit: nevermind just saw your post :)
[Asus Transformer TF700] workdowg:
It got A 6054 on quadrant. Not too bad.

I'm still pretty sure wifi is a firmware issue. The Ubuntu rootfs has a full OS set up already. That is probably why it just seems to work. I'm on my way home from work right now I'll play again later today!
[Asus Transformer TF700] DertayRoccstar:
Stuck now

SO I put the installer zip then put the rootfs file on the rood of my microSD it worked that way and went through the installation. It wouldnt read the rootfs any other way. Now when I turn it on I press 1 for Linux, then it cycles through and asks me to press a button between 1 and 9. I dont know which one to select to get to Arch Linux..... It just boots up a black screen when I select 1
[Asus Transformer TF700] workdowg:
We are still having development issues right now. That is why I took all the files down... JoinTheRealms is working on a new version of the installer. In the mean time the Dual-boot Linux thread - http://xdaforums.com/showthread.php?p=44154795 - has his latest test and there is a link to rabits Ubuntu rootfs, which is working. My last attempt at a new rootfs failed to boot into openbox or gdm... I'm going to have to build it from scratch again... I will keep notes this time....

Sent from my ASUS Transformer Pad TF700t - CROMi-X 4.7.0 ODEX
[Asus Transformer TF700] DertayRoccstar:
Installer

Im using a different installer that JoinTheRealms sent me to try and reinstall. It seems as if the first time it didnt install, I've been stuck on 90% now for a little bit so I think its working this time.. I just hope its not really stuck.....

EDIT: Just as I finished typing this, it was done installing I rebooted into Linux everything came up, I logged in but now I just have a blue screen and an arrow
[Asus Transformer TF700] JoinTheRealms:
Sorry im not sure, i did test arch on v5 of the installer and worked ok, can you try rebooting and see if it persists?
[Asus Transformer TF700] workdowg:
See this -

- you need the home files (if you need them I'll link it) copied or you can install again keeping /home/archtf700t in the rootfs.img file. Once we get this working I will modify the installer for Arch again.
[Asus Transformer TF700] workdowg:
I'm building a new rootfs as I type this... Looks like it all works. Give me some time.....

Sent from my ASUS Transformer Pad TF700t - CROMi-X 4.7.0 ODEX
[Asus Transformer TF700] workdowg:
Got to go to bed... Openbox is running! Wifi won't connect now, but I have a new "working" Arch rootfs. need to tweak it and figure out the wireless. I can connect manually but not with NetworkManager or Wicd... Today is another day....
[Asus Transformer TF700] DertayRoccstar:
no go

its doing the same thing, Im going to try that tutorial with the home files and see what happens... every time i log in i just get the solid blue background with a cursor cause I'm docked.
[Asus Transformer TF700] DertayRoccstar:
Up and running

I got it up and running now, only thing is its not detecting any wireless networks and I cant figure out how to change the time since its set to central time. Is there a way to install libre office or some other equivalent....and thunderbird?
[Asus Transformer TF700] JoinTheRealms:
Hmm i think i need to learn more about how wifi works in linux, rabits must have a link somewhere between android. Explaining why wifi is more consistant with ubuntu.....

Ive spent the last 3 days working on this non-stop lol, my brain hurts.

So with v5 of the install did arch wifi work/ scan without anywork? if so ill move my init change to v5.
[Asus Transformer TF700] workdowg:
No, it hasn't worked auto magically since the 4.1 kernel.
[Asus Transformer TF700] workdowg:
Auto wireless just doesn't seem to want to work. Manual wireless setup is tedious...Also, I can't get GDM to start and the log file is empty. Xorg says something about not finding the fbdev driver... When I use startx it works, but everything is huge!!! I also am burnt. Going OUT for the day!!!
[Asus Transformer TF700] workdowg:
Well if Ubuntu works, Arch will too! I have a few ideas and no rootfs to work with right now. I'm going to try to build from my base again this week. I documented every step last time, i may just need to put it in a script for speed sake... ;)
[Asus Transformer TF700] workdowg:
That translates to, I'm a slow typist.
[Asus Transformer TF700] JoinTheRealms:
Cool im looking forward to it. :good:
[Asus Transformer TF700] workdowg:
got lightdm to load today :) X won't start from it though :( and still no dock mouse. off to work, try again tomorrow.

Sent from my ASUS Transformer Pad TF700t - CROMi-X 4.7.0 ODEX
[Asus Transformer TF700] JoinTheRealms:
If you have one of your old working rootfs on the tf700, could you give this a try for me? https://www.dropbox.com/sh/vgmea566ms520y4/YQoT6kc6Bo

They need to be placed in /boot of the rootfs. using my latest installer, boot into the kexec kernel and try to suspend. If theres no gui option to suspend, you can try echo mem > /sys/power/state (as root) and it should go into suspend leave it a wee while (15 seconds or so) and then wake it up (power button)

Does it work for you? on ubuntu it is supending and waking up fine, but not waking xserver or something (backlight comes on but no screen) but im still able to run commands etc (just cant see what im doing :silly:)

But getting close :fingers-crossed: hopefully arch doesnt have this issue, (The kernel is compiled from stock (same as the hybrid one, just with a different ramdisk) but ive removed wakelock support since its just causes problems with linux.)
[Asus Transformer TF700] workdowg:
Got home early... Give me a while. I'm building another new rootfs... About 1 hour....

Edit: Got side tracked.. again. Can't get wifi to work automatically. Network Manager and WICD do not see any wifi networks. When I am testing I turn off my routers wpa2 and leave it open. I can manually connect just fine. So I didn't get the chance to even copy those kexec files over to my new rootfs. I built my rootfs anyway... Maybe someone can get wifi working... I'll post it later today. :(
[Asus Transformer TF700] workdowg:
OP updated -

8/13/2013

I am putting my old rootfs and home files links back up. They "work" (wifi doesn't, I think). I have a rootfs with no auto wifi upped but not tested yet. Maybe tomorrow.
[Asus Transformer TF700] workdowg:
Kernel panic.... on menu choice of 1) kexec

Edit: Scrath that... Forgot to rename the zImage... Almost 50 yrs old and a 1 1/2 yr old running around me. :)

Sent from my ASUS Transformer Pad TF700t - CROMi-X 4.7.0 ODEX
[Asus Transformer TF700] workdowg:
Still got kernel panic.
[Asus Transformer TF700] JoinTheRealms:
Hmm i just tried it and it booted, although i uploaded the wrong initrd.img to dropbox (fixed now) but arch is having the same trouble as ubuntu, will investigate more.
[Asus Transformer TF700] workdowg:
Still no luck with wifi. I'll keep looking.
[Asus Transformer TF700] workdowg:
Starting dev work again on this project. Currently I'm using "Deploy Linux" app to work on the rootfs while in Android (it is a chroot...). Fixed the DPI issue, edit as root (sudo) /etc/X11/xorg.conf, add the red to the monitor section

Section "Monitor"
Identifier "MonitorLVDS"
VendorName "Nvidia"
ModelName "T33 Tegra3"
Option "DPMS" "true"
[COLOR=Red]Option "DPI" "240 x 240"[/COLOR]
[COLOR=Red]#[/COLOR]DisplaySize 218 136
EndSection

You could use 213 if you wanted smaller... I'll fix the font sizes too in the next update.

Edit2: Onscreen keyboard in lightdm: edit as root (sudo) /etc/lightdm/lightdm-gtk-greeter, remove red - add blue

[COLOR=Red]#[/COLOR]keyboard= [COLOR=Blue]xvkbd -secure -geometry 1500x400+250+750[/COLOR]

Looks like you still have to click the Accessibility icon in the top right to make it show though.
[Asus Transformer TF700] workdowg:
9/2/2013

- Wifi still needs to be connected manually.

From Android, download these two packages: netctl and dialog and place in somewhere you can get to from Arch...

In Arch open a terminal and remove the following (I can't remember which was installed so ignore any errors...):

sudo systemctl stop wicd
sudo systemctl NetworkManager
sudo systemctl disable wicd
sudo systemctl disable NetworkManager
sudo pacman -R wicd-gtk
sudo pacman -R networkmanager

Next install the following:

sudo pacman -U /pathyousavedto/dialog-1.2_20130523-2-armv7h.pkg.tar.xz
sudo pacman -U /pathyousavedto/netctl-1.3-1-any.pkg.tar.xz

Then each time you login (sorry :( ), open a terminal and enter:

sudo wifi-menu wlan0

I'm still trying to figure out what the issue is with wifi...
[Asus Transformer TF700] workdowg:
I need my dock mouse to work to get anymore wifi trouble shooting done... I can't right click on anything in the system tray... GRRRRRR. rabits is probably the only one that knows why it won't work, but no answer from him at all... :(

I'll upload my newest rootfs with the latest fixes for any who want it without automatic wireless connections...
[Asus Transformer TF700] JoinTheRealms:
For trackpad try: sudo apt-get install xserver-xorg-input-mtrack

add this to xorg:

Section "InputClass

Identifier "elantech_touchscreen"

Matchproduct "elantech_touchscreen"

MatchDevicePath "/dev/input/event*"

Driver "mtrack"

EndSection

Edit: lol your using arch so swap that for some pacman stuff