yashsingh1/xdaforums huggingface dataset:
[Eee Pad Transformer Q&A, Help & Troubleshooting] Jazztrmpter:
So, Shaola, just to make sure I understand the process that we're working on.. These commands that you've given me:

Mount the ubuntu image,

runs the ARM Ubuntu image virtually

updates to 12.04 while in the 'virtual' or emulated Ubuntu.img.

Then when it's done, we have a new ARM Ubuntu image updated to 12.04, ready to be flashed with OLiFE.

Is that right?

ASUS Transformer tf101 32gb + dock.
[Eee Pad Transformer Q&A, Help & Troubleshooting] shaola:
Sorry, if you are talking about windows or mac i have no idea, but you can use waht you used to install ubuntu to reinstall, dualboot or go back to stock

More or less, but yes. Tecnically is not running virtual ubuntu arm, actually chroot command means "change root" the original purpose is to run another instalation with the kernel you are running right now if that image or any filesystem is the same architecture as you are running actually you just chroot and for practical purposes is running natively that system with your current kernel.

This is very useful to fix problems when your system does not boot (for example). You boot with a livecd then chroot to your hardrive and you can fix things install or remove packages... whatever. But in this case, because you are running x86 system and the target is arm you need qemu to emulate arm kernel with your x86 kernel. And taht is why you need qemu in the host and qemu-usr-static in the target.

Because when you chroot to the target in that terminal your host system does not exist literally.

I don't know how can i explain better in my not native language :o
[Eee Pad Transformer Q&A, Help & Troubleshooting] Jazztrmpter:
Okay, great. No worries about your English, I understand you. And if I don't, I'll just ask you.

EDIT: A little side question... I can remote login to my PC from my TF in Android running Splashtop, and I can run my virtual ubuntu machine on my desktop remotely....so it's almost like remotely viewing Ubuntu. Do you think I can chroot in my virtual computer (ubuntu) to my other hard drive where Backtrack is installed? I'm kind of doubting this because it's a virtual box.
[Eee Pad Transformer Q&A, Help & Troubleshooting] thewarpigghost:
that doesnt work

I tried to do that but device manager says its not in APX mode which it still will not let me get into device manager says its a ASUS Android MTP Device.
[Eee Pad Transformer Q&A, Help & Troubleshooting] shaola:
that depends. do you have acces to the partition/filesystem from the virtual machine? if you do you can chroot but remeber the question about diferent architectures. And depending what you want to do with your backtrack it may not be a good idea. Remember, the kernel you are running is the one is in the host machine (in this case a virtual one) so you will only have acces to de devices detected and managed from the virtual machine.

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

try to do it when it's not plugged
[Eee Pad Transformer Q&A, Help & Troubleshooting] Jazztrmpter:
Shaola, here it is:

root@bt:~# dpkg -l | grep qemu
ii qemu-common 0.12.3+noroms-0ubuntu9.6 qemu common functionality (bios, documentation, etc)
ii qemu-kvm 0.12.3+noroms-0ubuntu9.6 Full virtualization on i386 and amd64 hardware
ii qemu-kvm-extras-static 0.12.3+noroms-0ubuntu9.6 static QEMU user mode emulation binaries
root@bt:~#
[Eee Pad Transformer Q&A, Help & Troubleshooting] thewarpigghost:
password help

so I got ubuntu to work but it askes for a password and the user is called asus ive tried many things nothing works for me. Also I need to get in to a wpa2 internet and the tutorial are to compicated for me to understand please help
[Eee Pad Transformer Q&A, Help & Troubleshooting] Jazztrmpter:
What asks for a password?

Please, you've gotta be more descriptive if you need help.
[Eee Pad Transformer Q&A, Help & Troubleshooting] thewarpigghost:
any system changes and to log on after it has been put to sleep its just the normal password and when it started it was allready put in during the install not by me.
[Eee Pad Transformer Q&A, Help & Troubleshooting] Jazztrmpter:
Okay...can you get root access? Type in su in to get root access, and try your password. If not, type in

sudo passwd

, and try your password there too.

Let me know how that goes.

EDIT: The password you chose when you installed Ubuntu should work for sudo commands...it probably won't work for su, but it's worth a try.

To change the su password, you need to type

sudo passwd

This will prompt you to enter your current password, then a new password for the root user. You can change the root password to whatever you want. Just keep in mind that your sudo password is your regular user account password, and the one you type in when it says "Enter new UNIX password:" is the password for the root account...(the one you use when you type su)
[Eee Pad Transformer Q&A, Help & Troubleshooting] shaola:
ok, remove those packages and after that install binfmt-support and debootstrap

those packages are dependencies for the packages you are going to install from ubuntu's repository but we don't want to mess to much with backtrack's packages

after having those installed add precise repository to the /etc/apt/sources.list file.

update list with apt-get update and install qemu-user-static (apt will install the dependencies automatically). Once installed remove again ubuntu's repository and update list again an you are done, you will be able to continue the process by copying /usr/bin/qemu-arm-static to target.
[Eee Pad Transformer Q&A, Help & Troubleshooting] CaffeineHead:
multiboot

I don't mean to change topics, however I am interested in getting multiboot working.

Would it be possible to build a kernel with smp disabled just to load other kernels for Ubuntu or Android from the sd? This would make changing kernels easier and still give us access to the SOS partition.
[Eee Pad Transformer Q&A, Help & Troubleshooting] braernoch:
Go here.
[Eee Pad Transformer Q&A, Help & Troubleshooting] shaola:
You can fix that easily

http://aziest.wordpress.com/2011/01/24/how-to-increase-your-apt-cache-limit/

it's better if you get ready your usual instalation to be able to chroot the image, you never now when you are going to need it.
[Eee Pad Transformer Q&A, Help & Troubleshooting] nailmind:
sorry to ask but i tried using search to find the answer but couldnt find it.

i am trying to remove ubuntu so i can install ics but Im not sure if i have removed ubuntu properly. I use olife and choose the android option only and i went well, but my memory still says i only have 12gb of memory.

Again sorry to ask but im not sure if i done it properly

Cheers
[Eee Pad Transformer Q&A, Help & Troubleshooting] yalkowni:
If it went through successfuly then it is off.... most likely the 4gb is used for system files.......

Sent from my SGH-T989
[Eee Pad Transformer Q&A, Help & Troubleshooting] Azure_d:
Size limit?

Hi,

I've edited the dualboot.cfg to expand the size of ubuntu partition. I've edited the size to

size=17179869184

But it seems to get stuck for a very long time at

Formatting partition 16 UBT please wait.. done!

then cursor just sits there for the longest time. I have to shutdown the terminal and unplug the tablet then restart. But it would get stuck at the same point again.

Am I setting the size too big? I have a 32GB tablet.

Thanks
[Eee Pad Transformer Q&A, Help & Troubleshooting] Jazztrmpter:
Edit:

I tried using your instructions on a friend's laptop running Ubuntu 11.10 and everything worked well until I did do-release-upgrade -d.

The computer said "Checking for a new ubuntu release Segmentation fault"

Then the root prompt came up like it finished doing something. Any idea what this means? I'm going to try fixing the repository later on my Backtrack installation and trying again.
[Eee Pad Transformer Q&A, Help & Troubleshooting] Jazztrmpter:
Thanks. I'll stick to my BackTrack installation from here on.

Okay, that fixed that issue. Now here's another one (in BackTrack). When trying to chroot target, I get this:

root@bt:~/Documents# sudo chroot target
/bin/bash: xmalloc: ../bash/make_cmd.c:76: cannot allocate 240 bytes (0 bytes allocated)
[Eee Pad Transformer Q&A, Help & Troubleshooting] shaola:
ufff, maybe there is too much difference between precise and lucyd, try to remove all qemu packages (remeber dpkg -l | grep qemu to locate them) remove precise repositories and try with natty ones, the version is a bit older but should work, if not try with oniric's.
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
that is because UDA has not been changed, the way you have it UDA is all but the last 6ish gb of eMMC and you are trying to allocate 16GB in that 6GB
[Eee Pad Transformer Q&A, Help & Troubleshooting] pettrel:
Bad Config Entry

I don't know what the problem is but I get this error:

reading config file dualboot.cfg
[device]: bad config entry

Nvflash started

Because some of the scripts don't work properly, I use:

sh flash.sh 1

I had to modify the scripts because they really don't work for me. I don't know about you guys, but for me, they don't work. I don't mean to be mean or anything, but whoever wrote the scripts, there is a difference between

./<file name>

and

../<file name>
[Eee Pad Transformer Q&A, Help & Troubleshooting] Jazztrmpter:
Hey Shaola, so I tried this on my Ubuntu virtual machine and everything prior to the upgrade worked. However, when actually doing the upgrade, no new devel release was found.

root@VirtualBox:/# do-release-upgrade -d
Checking for a new ubuntu release
No new release found

Also, I flashed my tablet again last night with OLiFE Prime and ran update-manager -c -d to update from the tablet itself. It upgraded fine and worked properly until I tried installing Gnome desktop. First, I had to fix broken packages. Then, it said in order to install Gnome there were package dependencies, so I installed those. Then I could finally install Gnome desktop environment, and change my user account to NOT automatically login. After rebooting, the login screen came up and now the screen flashes between code (like when the TF boots) and the login screen. This is the same problem I had when I updated to 12.04 last week, hence why I'm trying to get the update working.

Perhaps you know of the flashing-login bug?
[Eee Pad Transformer Q&A, Help & Troubleshooting] braernoch:
Just do what you need to do to make it work for you. The scripts work fine for most of us with a few minor exceptions:

Since you know how to edit the scripts, find "flash.sh" and remove the extra ".cfg" from the layout variable near the top. There's also a typo in one of the cfgs. It's a one-of-these-things-is-not-like-the-other fix.

In the future, if you "don't want to be mean," search to see if (read: how many times) your complaint has already been mentioned. Then fix it silently, or post a constructive comment like, "Hey, guys, I found this error, and this is how you fix it." Typos are part of coding.
[Eee Pad Transformer Q&A, Help & Troubleshooting] pettrel:
DesvTest LOOP and on screen keyboard.

Thanks for the heads-up...

I am still experiencing problems trying to get the "on screen keyboard".

I really don't know how to get it up and running.

Also, I am not sure if everyone gets this error as well, but the Devtest loop does not work...
[Eee Pad Transformer Q&A, Help & Troubleshooting] Ke1evraTi:
Hey, would anybody who has compiled a newer kernel be able to post the zip? I tried using the kernel-updater script but it doesn't work.
[Eee Pad Transformer Q&A, Help & Troubleshooting] shaola:
Sorry, no idea about login screen. About not finding new ubuntu release, it may be because ubuntu.img is oem one and i don't know how works oem instalation at all. Remember that in the first boot ubuntu makes a lot of thing for finishing the installation process
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
you are right, there is a difference between ../ and ./ but do you know what that difference is? all file paths are run from OLiFE/ not OLiFE/scripts because when you run OLiFE.sh that is the root dir, from what you are saying you are running the scripts from inside the scripts directory, which is not normal behaviour
[Eee Pad Transformer Q&A, Help & Troubleshooting] Jazztrmpter:
Alright, well thanks for the help anyways. I'll keep that guide for later on when I know I'll need it. Now I'll just try re-flashing and upgrading with upgrade-manager -c -d. :)
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
Please tell me exactly which part of the script doesn't work. I can't just give you a CWM zip because without the kernel modules, you have no wifi/bluetooth.

Also, because the git version of the kernel is very much in beta, we're not going to be posting zips of it. (The logic being that this way, only people who know how to compile it will be using a (potentially) unstable version and will be more likely to know how to fix it.)
[Eee Pad Transformer Q&A, Help & Troubleshooting] Ke1evraTi:
Okay, so all I am trying to do at this point is just get a kernel image. I tried running the kernel updater script as well as following your commands rdnetto on an earlier post but nothing works. Everything seems to go well and when I compile I dont get any errors. I however never get a message that the kernel was compiled successfully and there is no zImage in the folder. It all just seems to suddenly stop without any warning.

I am on 12.04 but I cant imagine that would cause any problems.
[Eee Pad Transformer Q&A, Help & Troubleshooting] braernoch:
Are you using multiple threads to compile (i.e. adding the "-j2" option to "make")? Each thread works on a different built-in.o independently, and any errors during compile time on one built-in.o will print with a message about waiting for the other process to finish. The screen keeps scrolling with the status of the other running built-in.o, and it will halt much further down with no other errors.

Next time you compile with a "-j<x>" option and it halts with no errors but also no "zImage is ready" printout, immediately follow that with a "make" command with no options. It will retry the erroneous file on a single thread and show you what happened. If you don't see that the zImage is ready, you didn't compile.
[Eee Pad Transformer Q&A, Help & Troubleshooting] Ke1evraTi:
Can I use zips with Olife? I used lilstevies dual boot setup and then just flashed cwm. Now when I try to flash the ubuntu zip it says aborted.
[Eee Pad Transformer Q&A, Help & Troubleshooting] shauni26:
Hello,

Maybe someone in this Thread has the same problem as me, but i don't have the courage to read all previous page.

So, there is my problem.

My asus start only on the Ubuntu partition, and when i want to reinstall a stock android image, i can't put the tablet on APX mode...

Someone know how to reinstall android from ubuntu partition?

Thank you (and sorry for my english, i'm french XD)
[Eee Pad Transformer Q&A, Help & Troubleshooting] bud77:
That is because you made reboot to recovery from android

Search the thread for "cat /dev/zero > /mnt/mm*something*4"
[Eee Pad Transformer Q&A, Help & Troubleshooting] shauni26:
thanks =)

the command is "cat /dev/zero > /dev/mmcblk0p3" but I have this message :

"cat: write error: No space left on device"

do you know what to do?

EDIT : despite the error message, it's running on android so thanks thanks thanks =D

but i have a last question :)

how to "reactivate" the APX mode, because my device is no longer recognized by windows or linux...
[Eee Pad Transformer Q&A, Help & Troubleshooting] conizius:
This error messages is expected, so all is just fine.

As for the APX...

Well as far as I know there is no way to deactivate it... You just have to shut down the tablet and reboot, holding volume up.
[Eee Pad Transformer Q&A, Help & Troubleshooting] shauni26:
that's what i do, but the device is no recognized by my computer... (even after installing drivers)
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
If you're having issues under Windows, try doing so under Linux. You don't need to install the drivers for it, so it's a bit easier.
[Eee Pad Transformer Q&A, Help & Troubleshooting] shauni26:
i've the same issue with linux...

EDIT : something strange...

When i connect my asus on my computeur (linux + windows) when the tablet is on, nothing happens (i can't access to the hard drive), maybe it's the cable?
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
If it's off, that's what you'd expect. Run 'while true; do sleep 1; sudo lsusb; done' under Linux, then plug in the TF and hold down POWER + VOL_UP. You should see Nvidia something or other appear. If you see Asus something or other, then it's detecting it but it's not in APX mode.
[Eee Pad Transformer Q&A, Help & Troubleshooting] megacoolrock:
just got ubuntu installed xD now what are some must have repos?
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
Just enable universe, multiverse, etc. and you're good. We don't have any specifically for the TF.
[Eee Pad Transformer Q&A, Help & Troubleshooting] shauni26:
it's doesn't work, nothing happens in the loop :/

but the fact is, when my transformer is on, and plugged, nothing happen to! (i can't have access to the flash drive!)

That's why i think maybe the cable is broken, or the interface where i connect the cable damaged...
[Eee Pad Transformer Q&A, Help & Troubleshooting] megacoolrock:
iany way to get flash working?
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
-official Adobe binary plugin for Firefox (less efficient, but seems to handle audio better)

-gnash

-lightspark (experimental)

Last 2 are in the repos (look at the browser-plugin packages), first can be found if you search the thread.
[Eee Pad Transformer Q&A, Help & Troubleshooting] kolja2012:
Wireless & Bluetooth

[SOLVED]

installed default dual-boot olife prime android, ubuntu 11.10 following wiki 2 days ago. works like a charm. absolutely beautiful!

except: since then trying to get wireless working in ubuntu. tried lots of variations. two different routers. open security, wep, wpa, ...; have ubuntu automatically scan (fine) and connect (breaks down), manually tried workaroung via wpa_supplicant. seems like nothings working at all.

running a laptop with freshly installed ubuntu 11.10 in parallel. automatic wireless-connections no problem. running out of ideas by now. last one: reinstall everything from scratch. might it be - if all others seem to install and have wireless out of the box - that the drivers/firmware weren't properly transferred?

thanks a lot in advance for ideas

ps: bluetooth doesn't work either. injecting firmware didn't seem to work. later it might have worked as the initial and shutdown protocol of ubuntu showed something about bluetooth. patchram /lib/firmware/... didn't work.

---

checked another wireless-network at a friends place. two different routers. worked perfectly. after a wee bit more fiddling: problem is related to a certain router (a vodafone easybox). this one as leading router/dhcp-server and nothing's working anymore.

working with transformer&ubuntu is just great. thanks a lot all.
[Eee Pad Transformer Q&A, Help & Troubleshooting] jhighley:
I have a sbk2 Transformer (B80*) that I've rooted. I understand I can't dual boot with Ubuntu since nvflash isn't supported, but is it possible to completely replace Android with an Ubuntu ROM? For example, by using CWM.
[Eee Pad Transformer Q&A, Help & Troubleshooting] lilstevie:
It is, and I will be happy to walk anyone through the steps (totally manual) if that is what they want, it does come with the disclaimer of only being recommended to advanced users, as it does involve a lot of screwing around. Come visit irc://irc.freenode.net/#asus-transformer and find me if you are interested.
[Eee Pad Transformer Q&A, Help & Troubleshooting] jhighley:
I wouldn't say I'm an advanced user, but I'm not a noob either. Is it possible to 'undo' it and go back to stock ICS? I don't have anything to base "a lot of screwing around" on, so I don't know what level of risk that means. I understand all of this has some risk, but since nvflash isn't supported, I want to be somewhat sure I'm not going brick it. Is it possible to post a "cliff's notes" version (or a link) of the process so I can decide if I feel comfortable?

Regardless, thanks for the offer of help.
[Eee Pad Transformer Q&A, Help & Troubleshooting] masterchiefb117:
So I have been following this for quite sometime now and I have gotten stuck somewhere. My config as of last night was prime as default and Ubuntu 11.10 in recovery. I had heard that the TF is now supported in CyanogenMod for CM9. So I went ahead and downloaded Rom Manager and installed Clockwork. I got into CWM and installed CM9. I kinda like it but has all kinds of annoyances that make me mot want to play with it at all. I did back up Prime install but when I try to restore back to prime it just hangs on boot logo. I'm able to to get into CWM again and restore back to CM9 but not back to Prime. Could it be a kernel issue or am I over working on such a small issue. Also I have seen somewhere to install Linux kernel back in Olife thru updating kernel but I was looking for a mobile way of doing this without being strapped to my computer. Something with installing thru zipps to get Linux kernel back after CWM gets installed. I hate to redo my whole tab again with a lot of tweaks on it, on the ubuntu side.

*UPDATE*

I tried to install my stock back up and loads up fine and was able to updated to ICS. I think its a kernel issue. I may have to wait to get home and play around with updating kernels to boot up correctly.
[Eee Pad Transformer Q&A, Help & Troubleshooting] ssciberras:
i would appreciate also if there was a link to show how to get ubuntu on a sbkv2, even if without dual boot. However, I would have a few questions, namely:

1)is it reversible, even with a nandroid backup & restore? I could then use android for hoe, and ubuntu for when I am away

2) how far is the unlocked bootloader from asus going to take?

I had this idea of hijacking the android ssystem early on in the init.rc to boot a full linux instead of zygote, but am not sure if this is at all possible. I do not know if at this early stage in booting if it is possible to allow a user to choose, like a grub system.

thanks

stephen
[Eee Pad Transformer Q&A, Help & Troubleshooting] QAleader:
Hello guys, Could anyone reupload this file to another sercvice please? Megaupload is down now
[Eee Pad Transformer Q&A, Help & Troubleshooting] masterchiefb117:
Question, is the files you looking for are the ones to flash on the tab to change/modify how the tab boots into? I was looking for something like this but couldnt find anything on this.
[Eee Pad Transformer Q&A, Help & Troubleshooting] rdnetto:
As I understand it, you need nvflash to fully reverse anything, in the event of a brick. I'm not sure if the fastboot method provides this as well.

I don't believe that hijacking the Android system would work, since we have made changes to the kernel to get the framebuffer and sound working.

See attachments.