yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] JoinTheRealms:
Just flash an android kernel, then remove the files from OP(rootfs.img mainly) and you will be back to normal.
[Asus Transformer TF700] burningcf:
Thanks a lot for all the work!

I've started cleaning up parts of that's kernel code a bit, specifically the very spammy asusdec, asuspec and asus battery status functionality. Is someone interested in these patches?

I've also bugfixed the in-image initramdisk a slight bit and fixed a bug here and there. Most are bugs in the init-scripts in the ramdisk occuring if you run different kernel with the same ramdisk, or if you use CROMBi-kk and that10's or corgano's kernels. None of them actually actually prevent you from booting, though i found it annoying to debug with warnings and errors around.

Again, thanks for making my infinity useful again. I'll probably see about getting fedora or ubuntu 14 to run (properly). For fedora, systemd support is a problem and was just not fully there yet when kernel 3.1.10 was around. I'll keep you updated if someone is interested.
[Asus Transformer TF700] bsammon:
So, I'm suspecting that if I'm willing to live without Android, then it doesn't matter whether I have CROMBi or CROMi installed--even if the "Boot android" kexecboot menu option doesn't work, the "boot ubuntu" menu option will work fine.

Has anybody tried this, or does anyone know of a reason why this shouldn't work as I'm expecting?

My working nvflash setup is making me feel pretty adventurous -- I'll probably try this whether it's supported or not -- but any extra information would be appreciated.
[Asus Transformer TF700] Ananasnonym:
it should work as you expect
[Asus Transformer TF700] RedishBlue:
Help Please

I have a tf700 and just went through the process of unlocking, rooting, and then flashing my tablet with ubuntu. When I try and boot into linux from the list of 3 options I get

trying to mount virtual disk rootfs file:

FSCK checking . . .

possibly non-existent filesystem doesn't have required /sbin/init or /init.

umount: cant umount root: Invalid argument

it then tries to boot into clean rom and then hangs forever. If I try and boot into cleanrom right away it just hangs as well. I can use busybox, but I am not familiar enough with linux to figure this one out on my own. Hoping that someone here has some advice on what I can do. It seems to me that I am missing some sort of critical filesystem, but I feel like that goes without saying.

Thanks,

Sean
[Asus Transformer TF700] workdowg:
Sorry for the late reply. To get yourself a working tablet just flash CROMi or that10 from recovery.

That said, yes you are missing/misnamed files. On the Linux side, did you name the rootfs... rootfs.img? That is what the default boot.cfg name is. (I'm trying to find a way to insert that to make it easier).Once you can boot to Android again, use the installer script to reinstall the kexecboot blob, a kernel that matches your Android setup and modifiy the boot.cfg with the name of your rootfs.img (check the name in /data/media/linux).
[Asus Transformer TF700] RedishBlue:
Hey, thanks for the response. I was able to get ubuntu working by just booting the tablet into recovery mode and then going through the install process again. The android side still doesn't work, but I am fine with that because all I really wanted out of this was a usable linux distro on my tablet. I may look into fixing the android side once I have a bit more free time.

Sean
[Asus Transformer TF700] workdowg:
OP updated

TF700t-AKBI v2.5.6 posted

TF700t-AKBI-v2.5.6.zip

md5 b48b52707fe4be378319f0bb794904d9

TF700t-AKBI Change log:

Also, the OP got too big so I had to cut out the old dualboot stuff for now. Also Firefox won't let me see the post in the editor, so it is a little harder to sort out by html only. ;)
[Asus Transformer TF700] laod:
Need help

I keep running into errors trying to get this to work. I am on the latest crombi-kk and twrp v2.6.3-that3. My problem is that when I try to run the script I cannot install the android hexec kernel. It keeps telling me I'm in the wrong directory. Also after installing lubuntu using the rootfs zip in twrp, my tablet will not boot. Can somebody please help. I really want to get this working.
[Asus Transformer TF700] workdowg:
Sorry, I'm at work but I'll try to be helpful. The script is telling you are trying to run it from a different directory, maybe you are trying like this: sh /sdcard/TF700t-AKBI.sh? You must cd into the directory you extracted it to.

The tablet not booting sound like you are using rabits old installer. Use the rootfs installer in the android script installer.

I'll check with you later or more likely in the morning.

From my Debloated Stock LG-G3, VS985 4G VZN
[Asus Transformer TF700] laod:
Yeah I changed the current directory to where I extracted the script. Also I know for a fact I'm not using the old rootfs
[Asus Transformer TF700] cogano:
Why do you install (extract, in fact) the rootfs archive (tar.lzma) with a standalone rootfs-installer...zip via TWRP, when you can (should) install it with the Android KexecBoot Installer script from a running Android as workdowg suggests?
[Asus Transformer TF700] laod:
What I did was download TF700t-ALBI-v2.5.6 and extracted it to my external sd. Then I opened my terminal emulator, gained root access, then cd'd to the directory I extracted the folder to. Then I ran TF700t-AKBI.sh. I can successfully install the kexec blob, however when I try to install the kexec kernel, I get an error message saying I'm not running the script in the right directory. This didn't make any sense so I looked in the kexec_kernel_installer script to see what was causing that. From what I understand the script will print out that error if boot.cfg is not in the same directory (someone correct me if I'm wrong), which it is. Anybody know what I'm doing wrong?
[Asus Transformer TF700] workdowg:
Ahhh... external sd. Never experimented with that. Should just extract to internal. I'll look at my scripts again to see why it doesn't work from the external...
[Asus Transformer TF700] laod:
I also tried it on internal and that gave me the same error
[Asus Transformer TF700] workdowg:
Sorry, I looked over the scripts I rewrote... It is my bad. I renamed the kernel directories. Here is the fixed file... https://dl.dropboxusercontent.com/u/19353225/kexec_kernel_installer.sh ... Put it in your extracted directory and run the installer again.
[Asus Transformer TF700] laod:
Thank you, I will let you know if that works :)
[Asus Transformer TF700] workdowg:
OP updated

TF700t-AKBI-v2.5.7.zip

md5 e93adc61ee565b00e72574aa6e1ab
[Asus Transformer TF700] laod:
Thanks, everything is working now :)

edit: Now I'm having an issue with option 3. When it says "Select desired rootfs image size" No matter what I select I get the following error.

"./rootfs_installer.sh[139]: 22.7 unexpected "."

Not enough room on internal sd. Choose installer again and choose a smaller size for the image"
[Asus Transformer TF700] workdowg:
that is error checking 4 the amount of space free on your internal sd card. I'm on my way to work, again. Let me look at the script I may have slipped a finger.

From my Debloated Stock LG-G3, VS985 4G VZN
[Asus Transformer TF700] workdowg:
At the selection menu it should tell you just about that how much internal free space do you have. What does that say?

From my Debloated Stock LG-G3, VS985 4G VZN
[Asus Transformer TF700] laod:
22.7gb
[Asus Transformer TF700] workdowg:
I thought I fix that so that it displays a whole number. I'm driving right now can't really edit that file sorry. I'm about a half hour from work I'll see what I can do when I get there. Sorry.

From my Debloated Stock LG-G3, VS985 4G VZN
[Asus Transformer TF700] laod:
No problem. I appreciate the help
[Asus Transformer TF700] workdowg:
try this. copy it to your extracted directory.

https://www.dropbox.com/s/84tcetlvz2ic3jk/rootfs_installer.sh

From my Debloated Stock LG-G3, VS985 4G VZN
[Asus Transformer TF700] laod:
rootfs_installer.sh[1]: syntax error: '<' unexpected
[Asus Transformer TF700] workdowg:
Sorry. It will have to wait until tomorrow when i get up...
[Asus Transformer TF700] laod:
No problem :)
[Asus Transformer TF700] workdowg:
@laod

First, are you using the TF700t? I ask this because the changes I made for you, now don't work on my tablet. I had to revert back to v2.5.6 to make it work. I'm going to post an update to v2.6.8 which I made some better error checking and exiting procedures.

Please delete the old TF700t-AKBI folder and extract the new installer when I upload it. Should be about 15 minutes, I have to sync it with my github first...

http://xdaforums.com/member.php?u=4119993
[Asus Transformer TF700] laod:
[MENTION=3971563]workdowg[/MENTION] yeah I'm using a TF700t
[Asus Transformer TF700] workdowg:
OP updated

TF700t-AKBI-v2.5.8.zip

md5 25b40d267ac00958aedea1f7e8b98bcf

TF700t-AKBI Change log:
[Asus Transformer TF700] laod:
./rootfs_installer.sh[156]: 22.2: unexpected '.'

Not enough room on internal sd. Run installer

again and choose a smaller size for the image

It's still giving me this error. I know that I have enough storage, the script even shows that I have 23gb
[Asus Transformer TF700] workdowg:
Let me try installing CROMBi-KK again and try running the script.

From my Debloated Stock LG-G3, VS985 4G VZN
[Asus Transformer TF700] workdowg:
I got the same thing under CROMBi-KK... I'll have to delve deeper at some other time. I don't see why the JB rom shell and the KK rom shell would get 2 different answers to the same question

df /data | awk 'NR==2{print$4}'|sed 's/.$//'

in JB I get 24 , in KK I get 24.7.

Another big problem for me is CROMBi-KK didn't boot from kexec the first time I installed the kexec blob. I had to reinstall KK to get it working. It boots now, but I may just have to drop KK support until I get more time or build a separate installer for KK...
[Asus Transformer TF700] laod:
OK well thank you for all your help. I will just downgrade to jb for now.
[Asus Transformer TF700] Ananasnonym:
maybe i didn't see it, but have you tried the old installer? rootfs only, download kexec kernel blob and after that, from a shell in android:

su

dd if=/pathtokexecblob.blob of=/dev/block/mmcblk0p4
[Asus Transformer TF700] _that:
Don't do this, it will overwrite your serial number and probably other important stuff!

The staging partition is mmcblk0p4.
[Asus Transformer TF700] Ananasnonym:
thanks, such typo late at night... [emoji33]
[Asus Transformer TF700] odiseuz:
Need to install stock rom to sell my tf700

Hi, any of you can guide me in how to wipe out the multiboot and install the factory rom?

I did a wipe on twrp and tryed to install factory rom zip from TWRP and i got a FAIL msg...

Help plz!!
[Asus Transformer TF700] C288:
In twrp you should be able to go to the wipe tab and swipe to factory reset and then afterwards you can go to the wipe tab --> Advanced wipe and wipe your data and everything. That should do the trick.
[Asus Transformer TF700] odiseuz:
did not work

Hey! thanks for the quick response... i did the swipe for factory reset and then the advanced wipe with everything marked down.

It did not work, i still got the failed message. asked me to reboot and i can see the linux penguins and all the commands running n the screen...

did i miss anything? plz help
[Asus Transformer TF700] C288:
So does the dualboot menu still pop up. If it does try this. Re-install the rom or kernel you are running. (Ex. -If running Kitkat- Re-flash Kitkat rom.zip) The dualboot should go away then try the factory reset from recovery. If that doesn't work reinstall twrp and try the wipe again. Hope it works for you this time :good:

---------- Post added at 10:05 PM ---------- Previous post was at 10:03 PM ----------

@workdowg I am running kitkat and will help you out with getting the installer working. I am going to try it tomorrow and see if it works.
[Asus Transformer TF700] workdowg:
thanks. Sounds great. I had issues with installing kk this time around, like dpi not setting, so I removed it again. I need the stableness of CROMi to work on.

From my Debloated Stock LG-G3, VS985 4G VZN
[Asus Transformer TF700] sbdags:
Yes there is a bug I need to fix.
[Asus Transformer TF700] odiseuz:
worked like a charm!

Thanks Bro! You ROCK!!

it worked like a charm!! thanks again!
[Asus Transformer TF700] Big_Woofer:
I would love to hear the answer to this. I have the same problem but have not touched it in a while while I was trying to figure this out.

---------- Post added at 05:54 PM ---------- Previous post was at 05:32 PM ----------

I managed to get an older version of the installer script to work. I switched from Ubuntu to Lubuntu. A major issue I am having now is that I cannot install any programs from the Ubuntu Software Center. I thought perhaps it was a permissions or server thing. I have tried all of the advice I could find online including apt-get update, apt-get upgrade, changing servers, and a 404 error fix. I thought I had seen a fix somewhere in the forums and scanned back through and found nothing. Can anybody tell me if they have had this issue and if they found a fix. I really need to see if I can get octave installed which is why I want Linux on my tablet.

Another related issue I had was that I created another user with sudo permissions. I could not log in as that user and again I thought I saw a fix of creating a folder for the user. I checked the folder structure and it seemed to be okay. When I log in it says "Failed to load session"ubuntu"". Any Ideas? If I am missing this in another post somewhere I apologize. I went online to look this up and others were saying that I needed to do something in the terminal, but, in their case they could not get in to any account and I can still get in to the default ubuntu account. I was also not sure if there was a permissions issue with the built in account that was affecting the program installation.
[Asus Transformer TF700] C288:
I need older version

The new zip doesn't work. @workdowg can you give access to the older versions. Please.
[Asus Transformer TF700] workdowg:
Sorry... I wasn't felling too well and slept forever. Here are all the older versions I have... Let me know which ones work. It should be at least v2.5.4.

https://dl.dropboxusercontent.com/u/19353225/TF700t-AKBI-v2.5.7.zip

https://dl.dropboxusercontent.com/u/19353225/TF700t-AKBI-v2.5.6.zip

https://dl.dropboxusercontent.com/u/19353225/TF700t-AKBI-v2.5.5.zip

https://dl.dropboxusercontent.com/u/19353225/TF700t-AKBI-v2.5.4.zip

https://dl.dropboxusercontent.com/u/19353225/TF700t-AKBI-v2.5.3.zip

https://dl.dropboxusercontent.com/u/19353225/TF700t-AKBI-v2.5.2.zip
[Asus Transformer TF700] workdowg:
That issue was my bad. I renamed the kernel directories...
[Asus Transformer TF700] workdowg:
Just to be clear. What are the issues? Thanks
[Asus Transformer TF700] C288:
I had a problem with the kernel installation but for some reason it still created the dualboot menu and still booted into android, but the rootfs installer had some unexpected error.
[Asus Transformer TF700] workdowg:
I May need to remove that error check for disk space. I hate to do that because someone will try to create a image file that will fill their internal ...

Please try this...

https://www.dropbox.com/s/84tcetlvz2ic3jk/rootfs_installer.sh

Copy to your extracted directory and run installer.

From my Debloated Stock LG-G3, VS985 4G VZN
[Asus Transformer TF700] C288:
Ok will try in awhile i just have to make a new backup.
[Asus Transformer TF700] workdowg:
Take your time, I have to nap for work tonight.

From my Debloated Stock LG-G3, VS985 4G VZN
[Asus Transformer TF700] C288:
Ok. Just if you forgot I am running kitkat.
[Asus Transformer TF700] C288:
-The 2nd option doesn't work it says I have no space left on the device. The rootfs installer still doesn't work it says I have no space left on the device.

-I have went to setting and storage it says I have 13 gb left.

-The two Installers rootfs and kexec kernels from version 2.5.7, give the same errors.

-The 2.5.6 gives the same rootfs installer error, but says I am running the kernel installer from the wrong directory.

-the 2.5.5 gives the same errors.

-I am starting to think my system partition is full. I am going to get that cleared out by deleting the system partition from /dev/block. and then reinstall the rom.

-I retried the v2.5.8 kernel installer and it worked now. So the system partition was full.

-The rootfs installer you told me to try still doesn't work though, and this is where I am stuck at. (It says "Not enough room on internal sd. Run installer again and choose a smaller size for the image") I selected the 10 gb option because I have 13 gb left on internal. Not even the 3gb option works.
[Asus Transformer TF700] workdowg:
Great

That is still my fault. I edited the file on my phone and forgot the rest of the problem... try downloading it again I updated the file.

https://dl.dropboxusercontent.com/u/19353225/rootfs_installer.sh
[Asus Transformer TF700] C288:
Ok will try in about 5 minutes.

Ran into the same problem with the kernel installer. Do you know an easier way to clear the system partition.
[Asus Transformer TF700] workdowg:
Really, you are running out of system space? With CROMi-X I have 284mb free... We are only writing (or overwriting) about 7-8mb of data. Let me think about this one.

In the mean time, try this new rootfs installer, I added back the error check a little differently...

https://dl.dropboxusercontent.com/u/19353225/rootfs_installer.sh
[Asus Transformer TF700] workdowg:
[MENTION=4878287]_that[/MENTION] - I'm stumped!

I'm just trying to get the free space on /data (aka /dev/block/mmcblk0p8). Why do I get 2 different results when I run this from the terminal?

df /data | awk 'NR==2{print$4}'|sed 's/.$//'

CROMi-X - "24"

CROMBi-KK - "24.7" (same kind of result on my KK phone.)

Thanks.
[Asus Transformer TF700] C288:
Ok. And how do you view the amount of space you have left on the system partion anyway.

Didn't you mean _that not that.
[Asus Transformer TF700] workdowg:
At the terminal

df /system

From my Debloated Stock LG-G3, VS985 4G VZN
[Asus Transformer TF700] C288:
The post above ( First on this page) you said [MENTION=933916]that[/MENTION] don't you mean @_that. For some reason the new rootfs installer (The one with different error checking) says I only have 1gb left but I still have 13 gb. The one without error checking gets down to creating image then says invalid argument.

For some reason this code gives me 13.0 (Maybe just coincidence but that is the amount of space I have left)

df /data | awk 'NR==2{print$4}'|sed 's/.$//'
[Asus Transformer TF700] workdowg:
I'm at church and then work... I'll try some more in the morning. Thanks for _that ;)

From my Debloated Stock LG-G3, VS985 4G VZN
[Asus Transformer TF700] C288:
Lol. Thanks.
[Asus Transformer TF700] _that:
Looks like something was changed in the output format of the df command in Android's toolbox. And why are you cutting off the last character, which is the unit? Do you think 24M should be treated the same as 24G? :)
[Asus Transformer TF700] workdowg:
Very good point, of course... As a matter of fact that gives me an idea of how to work around this issue. Thanks as always.

From my Debloated Stock LG-G3, VS985 4G VZN
[Asus Transformer TF700] workdowg:
[MENTION=5537952]C288[/MENTION] - Well, I am running KK now. I am getting the same errors you got for the rootfs installer, invalid argument. Once I got rid of that I'm getting other errors about "lseek". I'll have to dig deeper tomorrow..
[Asus Transformer TF700] C288:
Ok thanks. Good Luck tomorrow.
[Asus Transformer TF700] Big_Woofer:
[MENTION=408485]work[/MENTION]dog

I apologize for the noobish question. Am I supposed to be able to install everything with just the script or should I still be using the rootfs installer for loading the linux image?

I went through the script and it seemed as if it let me select the image file for installation and it completed. I chose to append the boot.cfg (I believe that was the file name) since I already had a version of lubuntu installed and wanted to try using your installer. It completed and then when I rebooted I had the same options I did before and it booted into my old lubuntu image. I reread the first page of the forum and your readme file for the script and I am afraid I am just not getting it.
[Asus Transformer TF700] C288:
Not the person you wanted but you spelled workdowg wrong. It should have a w.

But I can probably answer the question to. OK, so it looks like you are running jellybean (Since it is only working on JB right Now). So what I find easier to do; is when you download the kexec zip file containing the contents. You extract it as normal but what I normally do is edit the boot.cfg before running the installer script.

So since you want 2 lubuntu images your boot.cfg file might look something like this-

#Android#
LABEL=Android
BOOT=3
DEVICE=/dev/mmcblk0p1
DIR=/
KERNEL=/boot/zImage
INITRD=/boot/initrd.img
PRIORITY=100

#Linux image from installer6.7#
#LABEL=Lubuntu 1
#BOOT=7
#DEVICE=/dev/mmcblk0p8
#IMAGE=/media/linux/Lubuntu 1.img
#KERNEL=/boot/zImage
#INITRD=/boot/initrd.img
#PRIORITY=99

#Linux image from Kexec Installer#
#LABEL=Lubuntu 2
#BOOT=7
#DEVICE=/dev/mmcblk0p8
#IMAGE=/media/linux/Lubuntu 2.img
#KERNEL=/boot/zImage
#INITRD=/boot/initrd.img
#PRIORITY=98

As you can see the first one would be the one you already had installed. (You would change it to correspond with your files) and the second one would be the new one. (Just remember if you want to change the name of it you have to change it under the image. The label is optional name.)

So now when you run the kexec installer script and when it asks you to type the name of your rootfs.img file you would type the name you put under the "#image=". In the case above you would type Lubuntu 2.img. (Make sure it is a different name then the one you have already; So any other name but Lubuntu 1.img)

And when it asks you what you want to do with boot.cfg, you select the 3rd option which says "Continue without modifing"
[Asus Transformer TF700] Big_Woofer:
Thanks for the info. Of course I fail to spell... I am terrible at that...

In general I am trying to get a working installation where I can install Chromium and QT Octave. I have little other interest than this in getting Linux working. I managed to get them to work under Ubuntu, however, I was having performance issues and I needed to customize the interface more than I could manage.

I installed Lubuntu and found the interface pleasing. I realized that I was on workdowg's version and wanted to try the Ananasnonym's version. I also wondered if perhaps I was having issues because I had installed incorrectly. I thought that perhaps while I was playing that I should clarify the installation process. If I have only a single version that is fine.

In my previous post I mentioned having an issue installing programs. I got fetch failed messages with 404 errors on the servers. Internet worked and I tried everything I could find online. I just stink at linux and only use it for limited applications. I am trying to get back in, though.
[Asus Transformer TF700] C288:
I think Ananasnonym's version comes with chromium. So if you follow my steps you can get both. (Sometimes I have gotten internet problems to, all I did was uninstall it and try it again.)

And good luck at linux. This thread was where I really learned about linux; with all the great people here helping. So I thank [MENTION=3971563]workdowg[/MENTION] and all other people for helping me learn Linux.
[Asus Transformer TF700] Big_Woofer:
Thanks for the advice. I managed to get Ananasnonym's version installed. I am still fighting an issue with the Octave install, but I am not having all of the 404 issues I was. I am just getting it on mysql. Hopefully this is a simple fix.

---------- Post added at 09:06 PM ---------- Previous post was at 08:38 PM ----------

Happy Day! Installed and working.
[Asus Transformer TF700] Duckman5:
figured out the problem myself...stupid spacing issue