How do I install xubuntu? - Transformer TF300T Q&A, Help & Troubleshooting

Do i just make like a folder right on the sd card called linux, or boot, or whatever it was? Would that work with the img and an/or extracted rootfs?
I may be thinking about it too hard and it could very well be super obvious but idek
Also is the latest kernel the lolli dual boot or the cool selector kernel?

I figured it out relatively quickly after reading through 185 pages of linux installs

Relatively quickly? Well, what do I do? Can you explain how have you made it work? PLEASE. I really want this.

danek731 said:
Relatively quickly? Well, what do I do? Can you explain how have you made it work? PLEASE. I really want this.
Click to expand...
Click to collapse
Alright,
You need adb working first of all, you need that to install linux. Somewhere floating around theres asus drivers that will work with it.
Next, you need to have a KitKat 4.4.4 rom. Kexec kernel works right out of the box with a 4.4.4 rom, however you can modify a lollipop kernel to get that working.
Here is the kernel
After you flash all of that, you should have the Kexec menu come up with System Menu and Android as an option. You can use the volume buttons to highlight a choice and press power to boot your selection.
The linux build i used was from Geometry, that can be found in his post here http://forum.xda-developers.com/showpost.php?p=57529347&postcount=15
now once that is done downloading, transfer it to your internal memory, and once that is done transfering you now need ADB
Make sure USB Debugging is enabled and you allow adb to run on the device Something with RSA keys will pop up on the tablet, just press ok (at least i had to do that)
You may need to CD to where ever you installed ADB. I have mine kinda universal so i can just type adb without cd'ing into where it is. Now press enter after each thing you type
type adb devices to make sure your computer can see the tablet.
Next type adb shell then su
that will give you root access in order to extract and move linux to its home.
Now type mkdir /data/media/linux if it is there, itll say its there.
now type tar -xzvf /storage/sdcard0/tf300t-xubuntu-rootfs.tar.gz -C /data/media/linux
That'll take a good 30 minutes to extract and move everything. Once that is done you should be able to reboot and select Xubuntu 14.04 in the Kexec boot menu. Itll reboot into linux and should get you into the login screen after a minute or so of booting.
Now I have everything pretty much working like how I want it to, except for suspend/sleep. Ill carefully move onto maybe full ubuntu or something to see if suspend works or not, in ubuntu or any other distro I might try
Something I need to do is probably install it on the SD card I have, and format it so that the rootfs lives on a ext4 partition and have a swap partition up and running too

Thank you.

Related

Mytouch wont boot past mytouch3g screen:(

so i tried flashing with a new rom and when i restarted the phone it went to the green mytouch3g screen and just hangs there. i tried everything to restore the phone using the android recovery menu by holding the home and power button. but now im left with a phone with no operating system so it wont boot. i dont have a mini SD adapter either so is there any options that i can take to fix it or at least bring it back to stock ROM. thanks
If you have adb you can ums_enable after a format of your card to place an update that way.
how do you do that? im pretty new to this whole thing
Do you have adb installed?
snowmaniac22 said:
how do you do that? im pretty new to this whole thing
Click to expand...
Click to collapse
1. Download the rom you want to flash the phone with.
2. Download androidsdk if you don’t have it installed yet.
3. Copy the rom file to your androidsdk folder to keep things simple.
For example:
C:\androidsdk\tools
Place the rom in the tools folder
4. Once that has been completed, place your phone back into recovery mode.
5. Connect your phone with your usb cable, one side to the phone and the other to your computer usb port.
6. Now go to start/run and type cmd followed by the enter key.
7. Then type c: followed by the enter key.
8. Then type cd androidsdk\tools followed by the enter key. (this will depend on your location of your androidsdk folder.
9. Then type the following to connect to your phone.
10. Type adb devices to start up the services.
11. Type adb remount, followed by the enter key. (This might now work in recovery mode, but I'm use to adding it.
12. Type adb shell, followed by the enter key.
13. While in adb, type mount /sdcard or mount /system, followed by the enter key
14. Now exit from adb
15. Now you should be back in the tools folder of your androidsdk folder.
16. Lets get started with pushing the rom over to your phone.
17. Type adb push rom.zip /sdcard
18. Press the enter key
19. The file should start to copy to your phone.
20. Wait until it completes before moving forward.
21. Once the file has been copied type reboot recovery, followed by the enter key.
22. You should do this to insure that the recovery mode see your new rom.
23. Once back in, simply choose your new rom from the menu options and flash away.
I hope this helps,
*Edit
What he said.
htcclay said:
Boot your phone into recovery and on your command line in adb type
ums_enable
Now your mytouch's sd card should pop up like it normally does when you mount it.
Click to expand...
Click to collapse
lol,
And I've been doing it the long way the entire time.
ttran001 said:
lol,
And I've been doing it the long way the entire time.
Click to expand...
Click to collapse
You know its good to learn your way.
It teaches people rather then the quick fix.
Teach a man to fish....something like that...lol
ok does it make a difference im on a MAC haha i download the tools for MAC but im also using RAv1.2.1G if that makes a difference. i understand the PC side but still on the Mac side so little lost
Not sure on mac. Maybe it's the same?
Sorry
snowmaniac22 said:
ok does it make a difference im on a MAC haha i download the tools for MAC but im also using RAv1.2.1G if that makes a difference. i understand the PC side but still on the Mac side so little lost
Click to expand...
Click to collapse
I only use Linux and windows, but I did find this.
The steps provided in this thread should work once your androidsdk has been setup correctly.
Setup Androidsdk

[US/WW/JP/TW/DE/TB] One-Click Universal root for stock firmware - V4

Here I am again...
This time I have written a shell script (linux only) and made a live-cd (for all windows/linux users) to automatically root the stock firmware on the TF101. Every stock firmware.
Today in Europe Asus rolled out the 3.2 upgrade. If you are on stock and you have alredy upgraded then download attached tar file and do as follows:
NOTE: Unfortunately, this script won't work with the latest revision of TF101 (3G version, B80 and some B70)
NOTE2: As someone pointed out (thank you Pieter) you need to be root on your linux box in order to make it work.
Code:
tar -xvf universal.tar
cd universal
./universal.sh
In Ubuntu the last command would be:
Code:
sudo ./universal.sh
Follow the instructions and you're done.
If you have a stock US/DE/TW/JP/TB firmware you can do the same.
If you are running an older version of Honeycomb the process is the same.
When ASUS will pull out another upgrade... same commands as above.
So this probably is the closest thing to one-click-root for the Transformer.
This won't install custom rom/CWM/strange other things (V2 version added the support for CWM); it's only root.
I've tested this morning after the 3.2 upgrade and it worked like a charm.
However this is in testing stage so, as always, if you brick/ruin/burn/crash something don't blame on me.
This package includes the Bootunpack tool, courtesy of Rayman84
LIVE CD INSTRUCTIONS
It's based on slitaz (http://www.slitaz.org/).
Burn the image into a cd or if you want it on a thumb usb drive follow this (http://doc.slitaz.org/en:guides:liveusb).
Put the cd/usb in your pc and reboot.
Follow the indication on screen (for setting locale and keymap).
When the desktop shows up, double click on "Universal Root for ASUS TF101".
Again follow the indication and you'll be ok.
For a guide on how to boot from cd/usb try this: http://www.passwordunlocker.com/knowledge/change-bios-settings.html
or search with google.
The option to install a stock boot/recovery (added on V3) is working even if not fully tested.
The program has correctly rebuilt a stock recovery on my WW version.
From version V4 root checker correctly says that the rom is not rooted after you do an unroot.
If you like the work i did take a look at that funny button under my name with the "donate to me" caption
Seriously, I appreciate even only a "Thanks".
FAQ
[Q] I'm running on Windows, how can I burn the live-cd?
[A] Try with cdburnerxp (it's the easiest way).
You can download one installer frome here:
http://cdburnerxp.se/en/download
or the portable package if you don't want to install other software:
http://download.cdburnerxp.se/portable/CDBurnerXP-4.3.8.2568.zip
Start the program (for the portable version the file is cdbxpp.exe) and click on "Burn iso image". Then select the .iso file you have downloaded and click "burn disk". All Done.
[Q] How can I reboot in APX/recovery mode?
[A] Do as follows:
VOL UP + POWER BUTTON for ~5sec = boot in APX mode. The screen will stay black as if it is turned off. This mode is used only when you use nvflash to flash boot/recovery/data partition (this is the first step in my script).
VOL DOWN + POWER BUTTON ~5sec = will appear a screen where it says to press vol down again to wipe all data (obviously you don't want to do it now), or press up to enter RCK (recovery mode). If you installed CWM you will see the main menu navigable with vol up / vol down / power button.
If you have the stock recovery you will see a green android with a esclamation mark on a yellow triangle.
[Q] Help! I can't reboot in recovery mode!
[A] I think the main problem here is that it is a bit tricky to get into CWM recovery, once you see the small text come up don't try to read anything, just hit volume up.
Hold volume down plus power until the text in upper left shows,if you let go too early it just boots up and you never see the text. If you wait too long you don't get the option to boot into recovery. Hope that helps..
Thx to ckuke4 for this answer http://forum.xda-developers.com/showpost.php?p=16306342&postcount=60
[Q] The live-cd gave me this error: "connection failed NvError 0x8" what is it?
[A] This means that either you are not in APX mode (read above), or that you have one of the latest revision of the tf101 (B7O) which have an unknown (for now) sbk.
For what i know, there's no knew method for rooting your device.
Maybe someone will find a way, but for now you have to be patient.
[Q] I'm running your scripts from my linux box, but it keep me saying "Permission Denied". Why?
[A] You need the root privileges on your local machine.
If you are running Ubuntu:
Code:
sudo ./universal.sh
[I](it will asks for your password)[/I]
If you are running another linux distro:
Code:
su
[I](it will asks for your password)[/I]
./universal.sh
[Q] I have rooted my tablet with this method, but I can't find the superuser app and Titanium Backup says that I am not rooted.
[A] The root script will asks you to reboot your tablet, make sure that usb debugging is turned on and then press any key.
You have to wait until you see a little bee on the bottom right of your tablet's screen, near the clock. Then press any key.
[Q] I've installed CWM but every time i try to do a backup, it says it can't find sdcard. But my microsd card work fine with root explorer!
[A] Don't get me wrong but, are you sure?
In root explorer you see a sdcard folder but it's not your microsd, it's the internal memory (it's weird, i know). In root explorer the microsd card is mounted under the "/removable/microsd" folder. You should also see a little sd card icon in the bottom right, near the clock.
Also you need to make sure the card is formatted correctly. Try reformat it with this: https://www.sdcard.org/consumers/formatter_3/
Thanks to skeeterpro for the link (http://forum.xda-developers.com/showpost.php?p=16385872&postcount=6)
[Q] The live cd stops at the command prompt, I can't see the desktop.
[A]The live cd doesn't include every driver for every video card, mouse, keyboard, etc.. (keep in mind that the original slitaz livecd is only 30MB).
You can do all the process in the text console, it's not much more difficult.
If it asks for a login insert "tux" (without quotes).
At the command line enter the following:
Code:
cd
cd universal
./universal.sh
Then the magic will start. The unroot script is called ./unroot.sh
CHANGELOG:
V4:
- Corrected some text
- Added a link on the Desktop to this thread
- Added stock ramdisk for all SKU (though JP, CN and DE are not the latest versions) (thanks to kovla for the latest TB recovery)
- Added a script on the Desktop to increase the font size on the fly for those who are using a very high dpi monitor/tv.
- Changed compression algoritm. Now the iso is ~10MB smaller.
- Maybe I have found the way to make everyone read the faq...
V3:
- [BETA] added a second script to come back to stock.
V2:
- added the option to install CWM (thanks Roach!)
- more error check
V1:
First version
=====> DOWNLOAD LIVE-CD V4 - (Mirror)<=====
DOWNLOAD LIVE-CD V3 (previous version)
DOWNLOAD LIVE-CD V2
As always, keep your eyes open and
Have Fun!
Hey, how about an equivalent windows script for those who prefer msft's os. Ok?
awesome -one root to rule them all!
ondoy1943 said:
Hey, how about an equivalent windows script for those who prefer msft's os. Ok?
Click to expand...
Click to collapse
In linux there's no need for drivers to work with tf101.
Windows seems to be problematic with driver (for someone seems to be way too difficult install the right ones).
As i stated above, adding this to a live linux cd will be the final one-click-root (put a live cd/usb-memory on your computer, reboot, follow the easy instructions and you're rooted).
Sincerely I don't know how to modify a livecd to add these scripts and programs.
If anyone wants to try, he is welcome.
Anyway I don't plan to do a windows port of this.
Disappointed! No windows support!
Will probably be trying this method from my PCLOS partition, if I can hold off the OTA update which has just begun pestering me.
Got to find out whether the modded adhoc wpa_supplicant works with 3.2 first, thanks for the effort HF
Excellent, glad to avoid having to dig out my old Windows box to root the TF Would advise people to drop it, new Mint/Ubuntu is much nicer visually than Win7 and my startup times are fantastic, not to mention the slick media support.
Does you script give also install CWM?
Will give this a go later and see how it works.
belrik said:
Excellent, glad to avoid having to dig out my old Windows box to root the TF Would advise people to drop it, new Mint/Ubuntu is much nicer visually than Win7 and my startup times are fantastic, not to mention the slick media support.
Does you script give also install CWM?
Will give this a go later and see how it works.
Click to expand...
Click to collapse
I was thinking on it, but perhaps it's better no.
Installing cwm means no more ota, since the update relies on the stock recovery.
This script was meant to leave all as stock as possible.
For all the windows folks:
I have added to the first post a live-cd with all the necessary tools.
Just run it and you'll be fine. (anyway, you are always in time to switch to linux)
Hallo and thanks!!!
what about mac's Users?
Can you explain a bit about what it does? So we can all learn.
Thank you,
Hi !
Will it work under wmware or virtual pc ?
Sorry if this is a dumb questions, but would this work in Terminal in OS X?
RayYung said:
Can you explain a bit about what it does? So we can all learn.
Thank you,
Click to expand...
Click to collapse
So you wanna learn? Good!
First i learned how to root the stock firmware from here: http://forum.xda-developers.com/showthread.php?t=1125714 .
Essentially the steps are:
1 - download a modified boot image into the tablet
2 - install the su and superuser packages.
My scripts do these 2 steps. I wrote a small howto that explains how to modify a boot image (http://forum.xda-developers.com/showthread.php?t=1193737)
Caramel said:
Hi !
Will it work under wmware or virtual pc ?
Click to expand...
Click to collapse
scirio said:
Sorry if this is a dumb questions, but would this work in Terminal in OS X?
Click to expand...
Click to collapse
I really would like to have an answer to these questions...
The Mac should have a layer of compatibility with linux (can't tell you more), but i really don't know the mac world.
*Maybe* the live cd will work under virtual machine; there should be some options to enable the usb feature. In Virtual Box there's an option to enable the usb controller and an option to filter what device will be accessible to the guest os; don't know vmware and virtual pc.
I don't know if an Intel based Macintosh is able to boot from a x86 live-cd, you could try.
I'm sorry i can't help you much more.
scirio said:
Sorry if this is a dumb questions, but would this work in Terminal in OS X?
Click to expand...
Click to collapse
Oops- no- there is no Nvflash for Mac. Sorry.
Created a live usb, booted via windows, and voila i am looking at a linux desktop, which i have not seen for a long time. Started going to its paces to root my tf, but did not push thru to the end, in as much as my tf is already rooted beforehand. But i can sense that barring any unforeseen miscues by the |op|, this almost one-click rooting procedure should produce its desired result. Highly recommended; good job |op|.
Looks like this calls for an "unrooting" routine to complement the rooting process. How about it?
Nice script! I just completed one of my own for unrooting the TF
One thing: why not just use adb reboot recovery instead of telling them how to do it manually?
brando56894 said:
Nice script! I just completed one of my own for unrooting the TF
One thing: why not just use adb reboot recovery instead of telling them how to do it manually?
Click to expand...
Click to collapse
I have already tried this, but seems it doesn't work.
if i write "adb reboot recovery" or "adb reboot bootloader" my tablet reboot in normal mode.
It's more reliable do it manually.
how can install ClockworkMod recovery
i rooted my transformer with your one click tool from live cd.
if i want install ClockworkMod recovery how can do ?
zulu99 said:
i rooted my transformer with your one click tool from live cd.
if i want install ClockworkMod recovery how can do ?
Click to expand...
Click to collapse
For now if you are running on windows, you can use one of these methods:
http://forum.xda-developers.com/showthread.php?t=1125714
http://forum.xda-developers.com/showthread.php?t=1185104
you are already rooted, so just need the cwm.
Since i had many requests on adding cwm, i am going to update the scripts and live-cd for adding this feature.
I'll keep you updated.

Noob Tutorial: Ubuntu on Transformer

I've been looking around for some good tutorials, but in my opinion, almost everything was pretty difficult to understand for me.
But finally I found out how things are working (except of wifi, can You help me?
http://forum.xda-developers.com/showthread.php?t=1295718)
So I want to share my knowledge with You all and try to make it easy to understand.
1. The ony way in the moment to install Ubuntu on Your Transformer is over a Ubuntu or other Linux PC. (I easily installed Ubuntu virtually in VMware Workstation)
2. Get the required files on Your Linux machine:
http://forum.xda-developers.com/showthread.php?t=1191141
On this link, in the second post is written flash kit for linux:
klick on "here" to download the flash kit.
3. Extract the flash kit into a folder (e.g. Desktop)
4. Now download the Ubuntu root files. They are located here:
http://rootzwiki.com/showthread.php?1072-ubuntu-on-the-transformer
You have to scroll a bit down then You see
"ubuntu-rootfs:
is available here md5sum(95eda389e64461533c51fd1e4e237a30)"
Again, click on "here" to download the rootfiles. (It'll take a while, since the file is 950mb)
4. Once this is done, extract the rootfiles into linux-flash-kit/images. (This folder is the one You have extracted in 3.
5. When You want to Dual-Boot Your device with Andoid AND Ubuntu, read on, otherwise go to point 6.
You have to download a nvflashable rom like for example "PRIME!"
http://forum.xda-developers.com/showthread.php?t=1251044
There You download the NVflash version and extract the image files in it, to linux-flash-kit/images, like You have done it with the ubuntu image file.
6. Now You have to choose.
If You want only linux: remember flash-purelinux.sh
If You want linux and Android Dual-Booting with Android as default OS:
flash-linux-android.sh
If You want linux and Android Dual-Booting with Linux as default OS:
flash-linux.sh
If You want to restore back to android: flash-android.sh
If You want to get to factory state: restore-default.sh
Now You have to install the APX drivers. How to do this, You can read in other threads. Basically download the NVflash file from this thread, in it, You'll find the drivers: http://forum.xda-developers.com/showthread.php?t=1123429
So connect Your tablet to Your PC, turn it off, and turn it on while holding down the Power Button and the Volume+ button.
What You'll see is nothing. Now Your device is in APX mode.
In Your Linux Computer, open up the console and go to the linux-flash-kit directory (In my case it is on the Desktop)
so I do:
cd Desktop\linux-flash-kit
So now You are in Your linux-flash-kit directory. From here You have to type:
sudo sh flash-linux-android.sh
OR You type this in what You have remembered in Point 6.
e.g.
sudo sh flash-purelinux.sh
or
sudo sh flash-linux.sh
This will take a while because the files are transfered to Your device.
7.
When it's done, Your device will start.
Turn it off, and start into Your Ubuntu.
When Ubuntu is Your main system, You start it up normally by pressing the power button.
When Android is Your main system and You are Dual-Booting it, hold down the power button and the Volume down key until the device says that Your have to press the Volume-up key. Do this and You will see a Linux code with two penguins on the top running down Your screen. That's just good like it is.
Finally You should see the Ubuntu Setup with the language selection.
Now You can go on, and now You can set up Your Ubuntu PC!
FYI:
When You have not got a keyboard-dock, Connect Your tablet with Your pc and enter the adb shell
When You don't know how to enter it:
open up Your console, get into the directory of the android-sdk and into the platform-tools.
Then You type:
adb shell
Now You should be in the ADB shell
Now You can type:
DISPLAY=:0 onboard
Then a virtual keyboard should appear on Your tablet and You're ready to go!
Just to create a vocal point, This requires root doesn't it?
Also, is the wifi and stuff working? What's not working?
Mr.Ox said:
1. The ony way in the moment to install Ubuntu on Your Transformer is over a Ubuntu or other Linux PC. (I easily installed Ubuntu virtually in VMware Workstation)
Click to expand...
Click to collapse
Nice guide. There is one correction: it took me a while to find this but there is a windows-flash kit that I've used to install ubuntu on the transformer from Windows 7.
roflcopterofl said:
Just to create a vocal point, This requires root doesn't it?
Click to expand...
Click to collapse
I don't think so, because everything is flashed via nvflash. This way, You can flash a rom without having it rooted, too.
But I'm not quite sure..
moseskim said:
Nice guide. There is one correction: it took me a while to find this but there is a windows-flash kit that I've used to install ubuntu on the transformer from Windows 7.
Click to expand...
Click to collapse
Oh, that's a nice one, I haven't seen this yet! Thank You!
asdfuogh said:
Also, is the wifi and stuff working? What's not working?
Click to expand...
Click to collapse
What's working and not You can read in the Q&A Thread, there is written everything, I just tried to explain it a littlebit easier.
The thread is here:
http://forum.xda-developers.com/showthread.php?t=1191141
There You can see what's working, what not, and how to connect to a WiFi network (For me it doesn't work...)
Thank for this, I am itching to try this... Is there any "easy" way to get back to stock honeycomb after i try this ?
(sorry for this stupid question, I do no know much about these things)
In my opinion it's very easy.
On the one hand, run the command
Flash-android.sh
Or
Restore-default.sh
Or your use nvflash to wipe the device and get a normal rom on it.
Sent from my HTC Desire using xda premium
Thanks, I will try this later today then
tombolek said:
Thanks, I will try this later today then
Click to expand...
Click to collapse
Yeah, when You get Your wifi working, please tell me how because mine does not work
Sent from my HTC Desire using xda premium
Hello yesterday i've try to put linux and android on transformer, all work's great but after 5 minut nvidia apx was disconnected because battery load 0%; i work on vmware machine; after I've charged my dock e tablet and run again the script but that's is the result
sudo sh '/media/Nuovo volume/linux-flash-kit/flash-linux-android.sh'
/media/Nuovo volume/linux-flash-kit/flash-linux-android.sh: 2: /ubuntu/abootimg-i386: not found
/media/Nuovo volume/linux-flash-kit/flash-linux-android.sh: 3: /nvflash: not found
rm: impossibile rimuovere "linux.img": File o directory non esistente
why?
I've already tryed to restore with nvflash all partition and download all in new virtual hdd but not work.

teamwin flashing, device can't connect to fastboot

So I screwed up. I was trying to flash Zombi-Pop and I wasn't careful to say the least. I was trying to format /data to f2fs so I could do ROM2SD. When I did this I wasn't thinking straight and all my data got deleted (duh). I had already formatted my sdcard properly so all of my data on there got deleted as well (idiot!).
After booting the device it got stuck at crombi-kk as if it was trying to boot. It never did. I was then able to get into recovery by entering fastboot. I tried flashing Zombi-pop from my sdcard but it failed even though it said it was a success. I think the problem was after thinking about it was the fact that I also forgot to flash Kang's TWRP and was still using the one I flashed Crombi-kk. I have the log for successful installation of Zombi-pop, if anyone wants to take a look, which was suspiciously fast which made me think it wasn't successful at all.
Now when I boot, it flashes teamwin and nothing happens. I can still enter fastboot on the tablet, but I can't get a connection. It says key driver not found.. booting os. Android cardhu_user bootloader <1.00 e> released by "US_epad-10.6.14.10-20130801" A03. Starting Fastboot USB download protocol. RCK flashes and when I enter recovery this way teamwin continues to flash.
The idea is to get zombi-pop up and running. If that means I need to reflash crombi-kk and do it all over again I am willing. If anyone could help out, it would be greatly appreciated.
Thanks in advance.
What do you mean: You cannot get a fastboot connection? What is the return for 'fastboot devices'?
Reboot your PC, try a different USB port. You need to establish fastboot or your tablet is a brick.
And then slow down. From your description up there ^^ I cannot tell what you are doing wrong, but you are doing something screwy....
Flash the latest Kang TWRP then read the script when booting. It should tell you in which file format you have on data and cache.
Do not use the rom2sd partitioned microSD! That is a level of complexity you don't need right now.... Use a plain vanilla micoSD to flash ZOMBi-POP from.
Zombi is better flashed internally with data on f2fs anyway....
Sent from my ASUS Transformer Pad TF700T using Tapatalk
berndblb said:
What do you mean: You cannot get a fastboot connection? What is the return for 'fastboot devices'?
Reboot your PC, try a different USB port. You need to establish fastboot or your tablet is a brick.
And then slow down. From your description up there ^^ I cannot tell what you are doing wrong, but you are doing something screwy....
Flash the latest Kang TWRP then read the script when booting. It should tell you in which file format you have on data and cache.
Do not use the rom2sd partitioned microSD! That is a level of complexity you don't need right now.... Use a plain vanilla micoSD to flash ZOMBi-POP from.
Zombi is better flashed internally with data on f2fs anyway....
Sent from my ASUS Transformer Pad TF700T using Tapatalk
Click to expand...
Click to collapse
Hi! Thanks for the reply. When I type in 'fastboot devices' it returns 'no permissions fastboot'. Just to make sure, I type this in while my tablet has the three options for RCK, Android, and Wipe Data, correct? Otherwise there isn't another place I could do it unless I do it while teamwin is flashling. Also, I'm not sure if this matters but I'm running Ubuntu.
10 seconds on Google gave me this: http://ubuntuforums.org/showthread.php?t=1890861
You gotta learn how to do research before you do stuff...
berndblb said:
10 seconds on Google gave me this: http://ubuntuforums.org/showthread.php?t=1890861
You gotta learn how to do research before you do stuff...
Click to expand...
Click to collapse
Yea, you're right. I got caught up in browsing the xda forums that I forgot about Google! Well anyway your post reminded me about permissions and everything I did and I was able to figure out how to get my computer to recognize my device. Now when I type in fastboot devices it returns a serial number which is my device. Now when I try to flash TWRP it says "error: cannot load 'twrp_tf700t_kang_2.8.7.2.img': No such file or directory"
I've been searching forums (not just xda this time) and I can't seem to figure out where to put TWRP. I've followed these directions where they say put it with the fastboot.exe and binaries but, and I'm embarrassed to say, I don't know where that is. I've tried putting it with the SDK and that doesn't work. I've tried putting it my sdcard and putting it into my tablet and that doesn't work either. I'm not sure what to do next here. Should I try to find a way to move where fastboot is located on my computer and place twrp with it? Or is there something else going on here?
Thanks in advance.
Okum4 said:
Yea, you're right. I got caught up in browsing the xda forums that I forgot about Google! Well anyway your post reminded me about permissions and everything I did and I was able to figure out how to get my computer to recognize my device. Now when I type in fastboot devices it returns a serial number which is my device. Now when I try to flash TWRP it says "error: cannot load 'twrp_tf700t_kang_2.8.7.2.img': No such file or directory"
I've been searching forums (not just xda this time) and I can't seem to figure out where to put TWRP. I've followed these directions where they say put it with the fastboot.exe and binaries but, and I'm embarrassed to say, I don't know where that is. I've tried putting it with the SDK and that doesn't work. I've tried putting it my sdcard and putting it into my tablet and that doesn't work either. I'm not sure what to do next here. Should I try to find a way to move where fastboot is located on my computer and place twrp with it? Or is there something else going on here?
Thanks in advance.
Click to expand...
Click to collapse
If I remember correctly you should have the file in your Home directory.
The command is
Code:
fastboot flash recovery twrp_tf700t_kang_2.8.7.2.img
berndblb said:
If I remember correctly you should have the file in your Home directory.
The command is
Code:
fastboot flash recovery twrp_tf700t_kang_2.8.7.2.img
Click to expand...
Click to collapse
Awesome! It works! Thanks a bunch!
Now. I feel that the last thing I need to do is format /data since it cannot be mounted. I check my internal storage and it is at 0. I found this and I wanted to hear your thoughts on it.
I want to format the /data since it can't be mounted. First of all I want to make sure this is the step I need to take. Secondly, I am confused to whether I need to follow this command,
You'll need to manually format it using the terminal in TWRP
Make sure data is umounted then run this command. Make sure you have charged it as well or leave it plugged in.
It can take a number of hours to complete.
Code:
mke2fs -T ext4 /dev/block/mmcblk0p8
Click to expand...
Click to collapse
Or this command.
Code:
adb shell
killall -19 recovery
make_ext4fs /dev/block/mmcblk0p8
reboot
Type in those commands via a usb connection to your device whilst it is in recovery.
Click to expand...
Click to collapse
I am assuming I should follow the first one first to see if that works, then try the second one, but I thought I might as well make sure from someone who is knowledgeable. I also realize this TWRP is probably newer than the one that was used in this thread, therefore there may be a different way in doing things.
Thanks again!
Or should I just go to Wipe, advanced wipe, check data, then press repair or change file system, then resize file system? It says there is 0MB for size. It says it is present, and that it is ext4.
Okum4 said:
Awesome! It works! Thanks a bunch!
Now. I feel that the last thing I need to do is format /data since it cannot be mounted. I check my internal storage and it is at 0. I found this and I wanted to here your thoughts on it.
I want to format the /data since it can't be mounted. First of all I want to make sure this is the step I need to take. Secondly, I am confused to whether I need to follow this command,
Or this command.
I am assuming I should follow the first one first to see if that works, then try the second one, but I thought I might as well make sure from someone who is knowledgeable. I also realize this TWRP is probably newer than the one that was used in this thread, therefore there may be a different way in doing things.
Thanks again!
Click to expand...
Click to collapse
Okum4 said:
Or should I just go to Wipe, advanced wipe, check data, then press repair or change file system, then resize file system? It says there is 0MB for size. It says it is present, and that it is ext4.
Click to expand...
Click to collapse
You need to format data and there are several ways to go about it.
Have you tried doing it in TWRP? Wipe > Format data > type yes
This will take upwards of an hour. Do NOT interrupt it. Make sure the battery has sufficient charge!
The mke2fs command is the same thing just issued from TWRP's build in terminal.
If both don't work try the last one from your computer, while in recovery, in an adb shell.
The killall -19 recovery just suspends the recovery so that it does not interfere with the formatting. I don't think that's your problem, but it won't hurt either.
Oh, and once you got it going your data partition will be ext4 again. If you want to run ZOMBi-POP use TWRP to convert data (and only data) to f2fs before you flash.
Good luck!
berndblb said:
You need to format data and there are several ways to go about it.
Have you tried doing it in TWRP? Wipe > Format data > type yes
This will take upwards of an hour. Do NOT interrupt it. Make sure the battery has sufficient charge!
The mke2fs command is the same thing just issued from TWRP's build in terminal.
If both don't work try the last one from your computer, while in recovery, in an adb shell.
The killall -19 recovery just suspends the recovery so that it does not interfere with the formatting. I don't think that's your problem, but it won't hurt either.
Oh, and once you got it going your data partition will be ext4 again. If you want to run ZOMBi-POP use TWRP to convert data (and only data) to f2fs before you flash.
Good luck!
Click to expand...
Click to collapse
Alright! It seemed to have worked! It's up and running and it's so snappy that it seems as if it's running in turbo mode! Many many thanks.
Also I don't close the thread right? That's a moderator?
Okum4 said:
Alright! It seemed to have worked! It's up and running and it's so snappy that it seems as if it's running in turbo mode! Many many thanks.
Also I don't close the thread right? That's a moderator?
Click to expand...
Click to collapse
Yep, you're all good. Glad to see you back in business!

Dualboot Android/Linux for Yoga Tab 2 830F

ALARM: the device could be bricked if something will go wrong.
Actually should work for 10' and 13' as well
Introduction
The Yoga Tab 2 devices are built on the Intel Baytrail SOC, which makes them not very different from cheap Intel Atom laptops and idea to make them run something more serious than Android is too tempting to resist. Even more interesting, the Windows version of the devices do exist, so running of the full desktop OS is definitely possible.
Beginning
The easiest method to boot Linux on the Yoga is to unlock bootloader and replace standard EFI loader with GRUB. To do it, use the set of files, available here.. Unzip the file, put the tablet into fastboot mode, connect to PC and use script hack.cmd to flash the ESP with GRUB. Now, the system will be booting the GRUB, which will normally boot Android (if no buttons is pressed). The volume buttons are configured as hotkeys in grub.cfg, so it is possible to load arbitrary system, supported by GRUB.
To modify the grub.cfg from Android, mount the ESP partition:
Code:
su
mkdir /esp
busybox mount /dev/block/by-name/ESP /esp
vi /esp/boot/grub.cfg
Kernel
The device is able to boot mainline Linux kernel in the described way, but due to erroneous ACPI tables majority of hardware won't work. I did my best to repair the tables to make system usable. Still, not everything is working, mainly screen brightness control and sound. The kernel development info is available at https://github.com/Trel725/yoga2linux
System
I've chosen Manjaro Linux as a distro to work with because of my own taste. It shouldn't be a problem to run any other distro with modified kernel, but I provide rootfs only for Manjaro.
How to get it working
1. Flash the modified ESP as desribed above.
2. Download the archive, create folder /factory/manjaro (folder /factory should be already present in the tablet) and unzip archive to that folder. It is necessary because GRUB can't access the external SD, so kernel need to be loaded from internal memory and then find SD card. /factory is just a partition, used for storing tablet configuration, and as it is usually empty for 90-99 % it is convenient to use it to store the kernel and initramfs.
3. Find a good SD card, format it to the ext3 or ext4 FS and unzip RootFS to the SD card. Insert card to the tablet.
4. Reboot and press Volume+ to boot Linux.
Some ideas
1. After tablet has booted Linux and USB is initialized, it keep it's state on reboot. This means that following trick is possible:
boot linux -> reboot -> get to GRUB (by pressing Volume-) -> USB keyboard should work as it was initialized -> go to the GRUB command line (press c) -> type exit, press enter -> should get to BIOS with working keyboard -> if USB flash disk was inserted before entering the BIOS (usb hub is needed as device has only one port) it is possible to boot from it.
2. TODO
Hello, do you have any Linux tutorials installed here?
Wordowg's post failed
Thanks for this, @Trel725.
No problem with 5.2 kernel? isn't it too new for such an old device?
Also -- maybe some stuff from here is relevant? e.g., WM5102.
NaEpoch said:
Hello, do you have any Linux tutorials installed here?
Wordowg's post failed
Click to expand...
Click to collapse
Which tutorials do you mean? Linux usage in general?
raenye said:
Thanks for this, @Trel725.
No problem with 5.2 kernel? isn't it too new for such an old device?
Click to expand...
Click to collapse
Linux is very good in backward compatibility, even support for 80386 (released in 1985) was discontinued only in kernel 3.8. Moreover, I am particularly interested in mainline kernel without need to support ancient code (like for majority of android devices).
raenye said:
Also -- maybe some stuff from here is relevant? e.g., WM5102.
Click to expand...
Click to collapse
Thank you for the suggestion. I didn't try the patch for WM5102 from github, hopefully it will work for mainline kernel. I will try to find some time for it in the future.
sorry,my bad
i mean install linux for yoga tablet2 ' tutorials.
The tutorials in the forums all failed.
If you are free, can you teach me how to install it?
Thanks very much.
Unfortunately I don't have time for complete guidance, but if you have any questions I will readily answer them. The more details you provide the easier to help you.
alright, Thank you all the same.
But if you have time, please help.
My E-mail is [email protected]
Just a simple tutorial.
thank you
I can get Manjaro to boot but it can't load LightDM. I'm on 1050L.
I cant get this to work... All i get is a shell command line. no dual boot. Doesnt default into Android if nothing is imputed.
I tried connecting a keyboard. And cant type anything in.
I feel some steps have been skipped.
Tried this and now can't do anything but sit in empty shell. Can't type, volume buttons do nothing

Categories

Resources