yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] steffenbakke:
Okay, so I followed all steps in the OP, after I've done it all and reboot, I happen to get into an Options screen, in there I have the following options:

Reboot to Kexeckernel

Repair

Modify boot.cfg

Shell"

If I then click Reboot to Kexeckernel, I get into a Window saying "No boot device found", Repair bassicly just shows the images I have, if I press repair rootfs.img and reboot it fixes nothing. I've tried to redo the guide on a fresh install, I've tried to reflash kernel so I could boot into Android and redo some of the steps. None of this has helped. Any ideas?
[Asus Transformer TF700] workdowg:
@JoinTheRealms... You have any ideas? I'm stumped. See the OP also, maybe I wrote a step wrong?
[Asus Transformer TF700] workdowg:
Got SOD again, no screen in ubuntu, I am going to wait until this weekend when I can get logs and try to figure this all out.
[Asus Transformer TF700] JoinTheRealms:
Hopefully you have more luck than me, ive been reading though logs all day and haven't found anything usefull. I feel like theres an issue with which vt its trying to run on, for example running lightdm, or gdm would occasionally *merge* in the current terminal and id have a terminal/ gui hybrid lol (lightdms gui but terminal clearing its way through it..... kinda hard to explain) the weird thing is on this kernel we are allowed to switch into vt2, on the old kernel this would have froze the tablet.

Now if im im vt2 and run sudo lightdm it brings me back to vt1 but no gui will run, just completes the command with no errors(/var/log/Xorg1.log shows the above error inplace). seems like a simple problem causing big issues. Im resorting to distro-upgrade to see if that helps (might re-build xorg for me?)
[Asus Transformer TF700] JoinTheRealms:
ahh.... ok.. just compiled a kernel, i couldn't get the installer working so i just thought id flash the blob, and it worked but it must have been really out of date the one found on rabits github or something as fsck just wiped everything on /data lol well that sucks suppose ill start again :crying:
[Asus Transformer TF700] moreD_cn:
SOD in android? or ubuntu? For now there's no solution to linux SOD...

---------- Post added at 12:49 PM ---------- Previous post was at 12:41 PM ----------

So sad to hear that.. Did you forget to copy kernel modules to boot/ramdisk/multi/lib or something else is missing? Maby you can look at all `rm` commands in rabits' script.

I just installed a fresh ubuntu 12.10 (rabits' rootfs) and with kexec kernel X started without error.. Seems that you didn't boot ubuntu with my linux kexec kernel? I tried boot with android kernel and X got exactly the same error as yours...
[Asus Transformer TF700] JoinTheRealms:
Well im not really sure what i did wrong rabits commands finished correctly and the blob flashed fine and android as was working (wifi etc) but when i booted into linux it hung during mounting, and after a reboot /data had been wiped (There was nothing of importance there which was lucky, just an inconvenience)

Ive just move my zImage and ramdisk into the newest version of the installer so hopefully it works this time :)

So with your kexec kernel, the linux kernel is responsible for the loop mount and a proper fs (mmcblk08)? i was assuming that if the kernel didn't find a filesystem on mmcblk0p8 it would fallback to the normal hybrid kernel which would be in charge of booting the loop mounted filesystem(or android)?

I know in the initrd menu, it found my rootfs in /data/linux , would this be it booting from andorid (hybrid kernel) or linux kernel?
[Asus Transformer TF700] moreD_cn:
I looked through rabits' commands..and perhaps I found something was wrong...

Here you copy your module to ramdisk..

Copy modules to Multi:
$ rm -rf boot/img/ramdisk/lib/modules && cp -a source/kernel/out_modules/lib/modules boot/img/ramdisk/lib/

And then when prepare ramdisk image:

Prepare ramdisk:
$ rm -rf boot/img/ramdisk; cp -af boot/ramdisk/stock boot/img/ramdisk && cp -af boot/ramdisk/multi/* boot/img/ramdisk/

It looks like that we shouldn't do the first rm, or the modules just copied will be wipe out :(

---------- Post added at 01:26 PM ---------- Previous post was at 01:19 PM ----------

Hum.. when launching kexec it'll pass some extra kernel parameters to kexeced kernel to specify which partition (and path to the image file if needed) should be used. And I should point out that the kernel in installer is designed *only* for android...maybe you can just replace it with yours :)

edit: if your tab reboot and then boot directly into linux, that's linux kexec kernel
[Asus Transformer TF700] JoinTheRealms:
Ha i was looking at that :confused: lol That explains my linux wouldn't boot, while trying to boot linux it was complaining about missing a modules folder i believe, and got stuck there. This time i just downloaded workdowgs installer and replaced the ramdisk and zImage hope this method will work?

Hey and would your kexec patch work on tf300t sources? i wanna re-compile with your .config + 4.2 patch on hundsbuahs tf300t sources and see if we give the tf300t some love but i was sure if the kexec patch would work?

---------- Post added at 12:55 AM ---------- Previous post was at 12:30 AM ----------

Hmm my installer didn't work it isn't preparing the blob, just skips over it...
[Asus Transformer TF700] moreD_cn:
To get kexec work correctly you may need a modified init script. I'm uploading it here.. please replace lib/multi/* with those files

I don't know much about how installer works. Every time I just use the prepare script to generate it :(

It looks like that tf300t and tf700t have nearly the same hardware so it may work? I don't know..
[Asus Transformer TF700] workdowg:
Android.

Sent from my ASUS Transformer Pad TF700t - CROMi-X 4.7.0 ODEX
[Asus Transformer TF700] JoinTheRealms:
I think the issue is hundsbuahs source, i read few people reporting sods in his thread. My kernel compiled from stock hasnt sod in 2 days, i just need to test that the kexec patch is working then ill post it up
[Asus Transformer TF700] JoinTheRealms:
Ok here it is: https://www.dropbox.com/s/lc15mdjv9l89bzl/installer.zip

its compiled from V10.6.1.14.8 with _thats patches, also fixed firmware paths in moreD_cn's config so hopefully wifi will work with arch.

Kexec boot isnt working afaik(@moreD_cn i patched it and used you init fixes but uname -r is still showing the hybrid kernel is being used with linux)

I realised i was placing the kexec zImage and initrd in Android /boot not Linux /boot when i was trying yours lol, so ill re-flash your installer and see if its working :)
[Asus Transformer TF700] moreD_cn:
Oh there's something important but I didn't realize :( if you create installer by your own and want to use kexec, go http://xdaforums.com/showthread.php?p=44077327 and get kexec-tools.zip then copy kexec binary to bin or sbin in initrd (with rabits' installer it should be boot/ramdisk/multi/*)

Sorry for my fault!
[Asus Transformer TF700] JoinTheRealms:
Ahh that thread is quite helpful, but i just used your launcher and replaced replace the modules, and zImage so it already has it there:)

---------- Post added at 12:50 PM ---------- Previous post was at 12:44 PM ----------

Could this be the issue:

I was using your config from before you posted the kexec patch and i didnt touch anything in the .config relating to kexec

heres the kexec part of my .config

CONFIG_KEXEC=y

CONFIG_ATAGS_PROC=y

# CONFIG_KEXEC_HARDBOOT is not set

# CONFIG_CRASH_DUMP is not set

# CONFIG_AUTO_ZRELADDR is not set​

I just read CONFIG_KEXEC_HARDBOOT has to be enabled, so ill retry :)
[Asus Transformer TF700] tailormoon:
You can compile a kernel for tf300t ;)
[Asus Transformer TF700] JoinTheRealms:
Yip working on it at the moment:good:

---------- Post added at 07:26 PM ---------- Previous post was at 06:47 PM ----------

Didnt go as smoothly as i hoped, since the tf700 kernel works on the tf300t, ill try figure out how to how to replace our bcmdhd with the bcm4329 one for the tf300t.
[Asus Transformer TF700] workdowg:
[MENTION=4582979]JoinTheRealms[/MENTION] - Arch boots. wifi comes on, i need to check into some stuff to get it to connect. i only have a base command line rootfs to start with. rabits ubuntu 12.4 boots and works. good job. is it worth trying to copy the kexec files to both? should i just wait for you to recompile....

From the Arch wiki - Note: If it displays "Interface doesn't support scanning" then you probably forgot to install the firmware. In some cases this message is also displayed when not running iw as root.

That was my error in Arch. Is the firmware driver being installed by the installer? I didn't think it was....

Sent from my ASUS Transformer Pad TF700t - CROMi-X 4.7.0 ODEX
[Asus Transformer TF700] JoinTheRealms:
Hmm ill set up a arch rootfs and have a play, but im not sure about wifi this point. Are you able to boot into the kexeced kernel with ubuntu? its not working for me but as far i can tell the kernel and .config are configured correctly, i need to flash moreD_cn's kernel and see what its supposed to look like...
[Asus Transformer TF700] workdowg:
I must be getting old, or I'm just getting forgetful. I used the rootfs I installed the other day. Let me try a new one also.
[Asus Transformer TF700] JoinTheRealms:
Hmm i just stumbled across this site: http://lifeinarootshell.blogspot.it/2013/03/howto.html i like their root_patch idea. I might also try their gentoo out :cool:
[Asus Transformer TF700] workdowg:
Arch wireless up... Now to build a new Openbox rootfs install... No sleep today... I will copy the kexec files over and next reboot we'll see....
[Asus Transformer TF700] JoinTheRealms:
Can you give me an idea of the what OS's and where on your tablet. basically as ive set it up, if there are any issues finding or reading the boot.cfg it falls back to that menu. Can you also give me the contents of the boot.cfg and the path to it.

I really should add some logging to the initrd..
[Asus Transformer TF700] steffenbakke:
If you look in the OP,I just followed them and used the example locations from them in the most cases , the boot.cfg is also from there so you can simply find it there.

Using Cromi-X.

Installed the lubuntu rootfs with the lubuntu installer
[Asus Transformer TF700] steffenbakke:
When I go to reboot kexecboot and then press enter in the window that say no booting device found, and I then click debuginfo this is what it shows
[Asus Transformer TF700] C288:
It looks like to me you are missing the boot.cfg file. Maybe you missed something in step 4 under the "Kexecboot kernels install 1. Android Kernel" section. This is what was there -->

4) Back in Android, mount mmcblk0p5 as root and copy your this example boot.cfg into /mmcblk0p5/multiboot -

BIG RED WARNING - Do not mess with any other files on this partition or you will most likely have yourself a paperweight...

The following assumes you downloaded or copied boot.cfg the the Download folder

Example Code:

su
cd /data/media/0/Download
mkdir kexectemp
mount -t vfat /dev/block/mmcblk0p5 kexectemp/
cp /data/media/0/Download/boot.cfg kexectemp/multiboot/
umount kexectemp/

<--

Maybe you could also try to redo this step.
[Asus Transformer TF700] jcfunk:
does mmcblk0p8 need to be mount to /mnt/android/data by init , in initrd.img?
[Asus Transformer TF700] steffenbakke:
Boot.cfg is there with a 100% chance
[Asus Transformer TF700] workdowg:
I'm still stumped. If you have re-download both the Linux-host.zip and boot.cfg and reinstalled them both and you still have this error, we will need to ask around the other forums. Maybe the tf300 people have a clue.

For the time being, I would flash _that's kernel so you can at least use android and wait out on an answer.

I don't have too much spare time this week, but I will try a complete wipe of my tablet and follow my own instructions to the letter.

From my Debloated Stock Kitkat VS980 4G VZN
[Asus Transformer TF700] Duckman5:
OK...I think I might have some insight into this issue.

Not quite. Is this what you actually ended up doing? That may be why it can't find the boot.cfg file.

Try this instead:

mkdir /data/media/0/temp
mount -t vfat /dev/block/mmcblk0p5 /data/media/0/temp
mkdir /data/media/0/temp/multiboot [COLOR="Red"]<---This may be the source of much of your confusion[/COLOR]
cp /data/media/0/Download/boot.cfg /data/media/0/temp/multiboot/

This, of course, assumes that you have boot.cfg in your default Download folder

Quoted you just to alert you to the problem as well. If you've never installed the multiboot config file before, you won't have a multiboot directory. This one threw me off for a second, too. Might want to update the OP with an "mkdir multiboot." It can't hurt anything, but it can always make things better.
[Asus Transformer TF700] steffenbakke:
Ended up following the examples from the tutorial, so it should all be right...
[Asus Transformer TF700] steffenbakke:
Reflashed that kernel so I could boot into Android, did step 1 under Android, and now I'm just assuring that the multiboot folder is there, so first I tried ti create the multiboot folder it said it already existed as I had expected... But when I try to move the boot.cfg file into it when I'm in the /data/media/0/Download folder it says "kexectemp/multiboot" not a directory, even if I do it like "/data/media/0/Download/kexectemp/multiboot" but when I try to create it, it says it already exists

Cant cd into kexectemp/multiboot neither, but if I do "ls kexectemp" it shows the multiboot is in there
[Asus Transformer TF700] workdowg:
please try running this in a new terminal session after you reboot...don't worry about any errors saying directories exsist..

su
cd /data/media/0/Download
mkdir kexectemp
mount -t vfat /dev/block/mmcblk0p5 kexectemp/
ls kexectemp
ls kexectemp/multiboot
cat kexectemp/multiboot/boot.cfg

What did you get? You can do a screenshot or copy the terminal text to this post.
[Asus Transformer TF700] steffenbakke:
" u0_a3@android:/ $ su

root@android:/ # cd /data/media/0/Download

root@android:/data/media/0/Download # mkdir kexectemp

mkdir failed for kexectemp, File exists

255|root@android:/data/media/0/Download # mount -t vfat /dev/block/mmcblk0p5 kexectemp/

root@android:/data/media/0/Download # ls kexectemp

ISN

PPID

SSN

UUID

lightsensor

multiboot

sensors

root@android:/data/media/0/Download # ls kexectemp/multiboot

kexectemp/multiboot

root@android:/data/media/0/Download # cat kexectemp/multiboot/boot.cfg

sh: cat: kexectemp/multiboot/boot.cfg: Not a directory"

Seems like boot.cfg isn't there but thats what I thought, I think last time I tried to set it up I typed "cp /data/media/0/Download/boot cfg kexectemp/multiboot" because when I do it without the "/" in the end, it gives me nothing back, and I can see it hasnt copied the file there. But When I do it with the "/" it says the directory doesn't exist... Last time I set it up, I might have been tricked by this... But as it looks now, I can't copy files into it or cd into it, but it still is there and looks like a directory, just can't do anything with it
[Asus Transformer TF700] workdowg:
u0_a55@android:/ $ su

root@android:/ # cd /data/media/0/Download

root@android:/data/media/0/Download # mkdir kexectemp

root@android:/data/media/0/Download # mount -t vfat /dev/block/mmcblk0p5 kexectemp/

root@android:/data/media/0/Download # ls kexectemp/

ISN

PPID

SSN

UUID

bak.boot.cfg

lightsensor

multiboot

sensors

root@android:/data/media/0/Download # ls kexectemp/multiboot/

boot.cfg

root@android:/data/media/0/Download # cat kexectemp/multiboot/boot.cfg

#Android#

LABEL=CROMi-X or CROMBi-KK

BOOT=3

DEVICE=/dev/mmcblk0p1

DIR=/

KERNEL=/boot/zImage

INITRD=/boot/initrd.img

PRIORITY=100

#Linux image from installer6.7#

LABEL=rootfs.img file

BOOT=7

DEVICE=/dev/mmcblk0p8

IMAGE=/media/linux/rootfs.img

KERNEL=/boot/zImage

INITRD=/boot/initrd.img

PRIORITY=60

#Linux image from installer6.7#

LABEL=rootfs-old file

BOOT=7

DEVICE=/dev/mmcblk0p8

IMAGE=/media/linux/rootfs-old.img

KERNEL=/boot/zImage

INITRD=/boot/initrd.img

PRIORITY=59

#Linux image copied to root of microsd#

LABEL=rootfs-old file

BOOT=7

DEVICE=/dev/mmcblk1p2

IMAGE=/rootfs.img

KERNEL=/boot/zImage

INITRD=/boot/initrd.img

PRIORITY=58

#Linux ext partition image on microsd partition 2 #

LABEL=microsd-partition

BOOT=3

DEVICE=/dev/mmcblk1p2

DIR=/

KERNEL=/boot/zImage

INITRD=/boot/initrd.img

PRIORITY=57

#Linux ext partition image on docksd partition 2#

LABEL=DockSD sda2 partition

BOOT=3

DEVICE=/dev/sda2

DIR=/

KERNEL=/boot/zImage

INITRD=/boot/initrd.img

PRIORITY=56

#Linux ext partition image on docksd partition 3#

LABEL=DockSD sda3 partition

BOOT=3

DEVICE=/dev/sda3

DIR=/

KERNEL=/boot/zImage

INITRD=/boot/initrd.img

PRIORITY=55root@android:/data/media/0/Download

That is what i get when i type exactly what I had you do. Seeing how you are already in the Download folder lets just copy boot.cfg to kexectemp/multiboot/

I'll remove the ful path from the OP code...
[Asus Transformer TF700] steffenbakke:
Still can't move it just like

"cp boot.cfg kexectemp/multiboot/"

as it still says "'kexectemp/multiboot/': Not a directory"
[Asus Transformer TF700] workdowg:
sorry, i think i got it... try this

ls -l kexectemp/

post it
[Asus Transformer TF700] workdowg:
here's mine

root@android:/data/media/0/Download # ls -l kexectemp/

-rwx------ root root 12 2012-10-15 11:14 ISN

-rwx------ root root 17 2012-10-14 02:29 PPID

-rwx------ root root 12 2012-10-15 11:14 SSN

-rwx------ root root 16 2012-10-15 11:14 UUID

-rwx------ root root 407 2014-04-26 22:25 bak.boot.cfg

drwx------ root root 2012-06-18 06:35 lightsensor

drwx------ root root 2014-05-09 07:25 multiboot

drwx------ root root 2012-06-18 06:57 sensors

root@android:/data/media/0/Download #
[Asus Transformer TF700] steffenbakke:
u0_a3@android:/ $ su

root@android:/ # cd /data/media/0/Download

root@android:/data/media/0/Download # mkdir kexectemp

mkdir failed for kexectemp, File exists

root@android:/data/media/0/Download # mount -t vfat /dev/block/mmcblk0p5 kexectemp/

root@android:/data/media/0/Download # ls -l kexectemp/

-rwx------ root root 17 2000-01-01 00:36 ISN

-rwx------ root root 17 2012-07-22 09:19 PPID

-rwx------ root root 12 2000-01-01 00:36 SSN

-rwx------ root root 16 2012-07-25 19:26 UUID

drwx------ root root 2012-06-18 06:21 lightsensor

-rwx------ root root 1197 2014-05-12 12:09 multiboot

drwx------ root root 2012-06-18 08:00 sensors

root@android:/data/media/0/Download # cp boot.cfg kexectemp/multiboot/

cp: can't stat 'kexectemp/multiboot/': Not a directory

1|root@android:/data/media/0/Download #
[Asus Transformer TF700] workdowg:
Well it kept telling us multiboot wasn't a directory and it isn't. So we are going to get rid of it and make a new one and copy boot.cfg to it.

I assume you are still root and in the download directory

rm kexectemp/multiboot
mkdir kexectemp/multiboot/
cp boot.cfg kexectemp/multiboot/
umount kexectemp/

You can now flash the host blob from the OP and it should boot to the kexecmenu.

I'm off to bed for a few hours... I work nights and with the 2 year old around I sleep when I can... Which usually isn't much.
[Asus Transformer TF700] steffenbakke:
Okay thanks alot... Now I got it booted into Lubuntu, when I type "ubuntu" as password in the login screen, it acts like its about to show the desktop, screen goes dark and a mouse appears (just like it did last update when it logged in), but then it goes back to login screen with no error... And as the OP says ubuntu is the password, even tried typing something else just to make sure, and when I typed something else I got the Invalid password message... Any ideas?
[Asus Transformer TF700] workdowg:
not sure, as usual... I've installed this lubuntu rootfs several times and haven't had that issue. ubuntu is the password and it should bring you quickly to the Lxde desktop. Let me swill some coffee and think....
[Asus Transformer TF700] steffenbakke:
When I get to the login screen, and type in the password, for half a second Or such the terminal appears where I can see its the login screen (from terminal) then quickky closes, comes up with black background and the Mouse for the going back to the normal login screen with no errors given, even plays the booting sound aswell, so it might even perform a reboot when the correct login details is typed
[Asus Transformer TF700] C288:
Recovery

Is it possible to make a recovery option at the startup screen. If so can you give me an example of it.
[Asus Transformer TF700] cogano:
[MENTION=4878287]_that[/MENTION] : I cannot really help here due to lack of know how ;-(

However, I tested my original hack of asusdec.c in tty1 of the Lubuntu image (I was not able to chvt to any other tty, apparently these were not running, hence I disabled lightdm at boot): the $TERM was "linux" and F keys work fine in MC and evtest reports them correctly, too. The only trouble was that keys did not autorepeat.
[Asus Transformer TF700] _that:
After some more reading, my current guess is that I was simply missing the terminfo files in my minimal environment. I'm going to try this again soon. If it works, the next kernel release is near.

Edit: with /etc/terminfo/l/linux and $TERM=linux all function keys work! :victory:

(and I added another parameter to enable autorepeat, which also works fine)
[Asus Transformer TF700] C288:
Recovery

Is it possible to make a recovery option at the start up screen. If so can you give me an example of it.
[Asus Transformer TF700] parwathy:
Hey guys,

I got a weird bug with my install ( latest CromiX so no kitkat + 13.04 rootfs) : first, everything used to work like a charm. But one day, the Wifi I was using at home wasnt detected anymore. Both in Linux and Android. I figured this meant it was a kernel related problem, so I flashed a "standard" (no dual boot) kernel included in CromiX package. Wifi was usable. I did a fresh install of Linux, but the glitch was there again. Anyone ever experienced this?

Before reflashing kernel, i tried to : change SSID, wifi channel, wifi security. Nothing worked. And every other wifi signals seem to be visible, including my free hotspot, coming from the same router as the invisible Wifi signal. Any tips?

Thanks
[Asus Transformer TF700] workdowg:
I'm going to reformat my old Arch server into a 64bit Ubuntu machine without the gui. I would like to know what files I need to make a new Linux kexec kernel from your next release... [MENTION=4582979]JoinTheRealms[/MENTION], [MENTION=5363490]moreD_cn[/MENTION].

From my Debloated Stock Kitkat VS980 4G VZN
[Asus Transformer TF700] steffenbakke:
Okay... So I found someone saying that opening shell and doing the following would fix this

ls -lah
-rw------- 1 root root 53 Nov 29 10:19 .Xauthority
chown username:username .Xauthority

Now my question is... How would I go into shell from the login screen? I know Ctrl+Alt+F3 would get me in, but how does the F buttons work?

And are there anyway to get into shell without the use of a key comb?
[Asus Transformer TF700] Ananasnonym:
[MENTION=4582979]JoinTheRealms[/MENTION] Where are the sources for the Linux Kernel? Or could you please recompile it with CONFIG_NET_RADIO=y? I need iwconfig, so /proc/net/wireless must be present..
[Asus Transformer TF700] workdowg:
You will need to plug a usb keyboard in. Then you can use the f keys. As a matter of fact you will notice you get typematic also. Such as holding the backspace actually keeps backspacing...
[Asus Transformer TF700] cogano:
Does the latest version of Lubuntu rootfs have the other VTs active? If not, switching to VT2 will not help - there will be just a black screen.

IMHO, he has to mount the unpacked FS in android to some tmp dir and disable the execution bit of etc/rc.local so that he gets login prompt on the only active VT instead of lightDM GUI.
[Asus Transformer TF700] workdowg:
Yes, 1-7 are active. Saved me a few times. ^^Good idea for my next revamp...

From my Debloated Stock Kitkat VS980 4G VZN
[Asus Transformer TF700] steffenbakke:
Thank you... Was no help getting into shell tho... None of the threads I've found about people having issues with this has been able to fix my problem...

Forgot to put the quote in...