yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] moreD_cn:
Hi rabits,

I have been playing with your package for a few days and I want to share with you what I found.

I've successfully compiled Android 4.2 kernel, which can be used in both ubuntu and android.

The framebuffer bugs in Android 4.2 kernel: There are some changes in tegra fb_info stucture concerning panning. Though I don't fully understand the code I made a patch that partially revert the effect of the changes. Now we have fbcon at boot but strangely displayed: the screen is vertically splitted and have the same text in both sides. Anyway at least it is usable for now.

The suspend bug:

It look like that this bug is partially related to the wakelock and earlysuspend machanism introduced by Android. When the device wake up we should echo on > /sys/power/state in order to get main_lock, otherwise it will re-suspend immediately. It seems that in Android the power management work is done in userspace, so I wrote a program that monitors GPIO events (/dev/input/even4) and do this switch while power button is pressed. for now it just worked as expected but it's not the ideal solution.

A strange thing is that sometimes the device suspended will be woken up by bcmsdh_sdmmc intterupt, but I know neither what's going on nor how to solve it.

the boot script:

I made the installer zip with your script but it didn't copy the modules I compiled. This end up in a disastrous result that it cannot find any module thus the boot script wiped all the data on the sdcard... I think in boot_linux script it's better to have a test before doing rm works.

I'm using Hundsbuah's latest tf700t_10_6_1_14_4 kernel and my patch to kernel is in the attachment..

Hopefully the information would be helpful for the development. I'm looking forward to a better release!

Another question: is it possible to dual boot ubuntu with a kexec kernel?

It's sad that I'm unable to post my reply on dev thread :(
[Asus Transformer TF700] adri13:
hidden files

hello !

I tried many times to install ubuntu... And now my phone show that 15 gb is taken and when i select all the files and hidden files it shows 3.7 gb. An idea where these files could be ??
[Asus Transformer TF700] workdowg:
[MENTION=4972873]rabits[/MENTION] - I would try this but I don't have nvflash.... can't afford a hard brick. Anyone else what to confirm this is functional? I would really love to restart developing my Arch install.

Sent from my ASUS Transformer Pad TF700t - CROMi-X 4.7.0 ODEX
[Asus Transformer TF700] moreD_cn:
You don't need to have nvflash...The worst case is the kernel won't boot. but with a custom recovery, re-flash a working kernel such as rabit's latest release can fix anything. Maybe I can send my installer to you if needed.

I have one question: did you ever try to suspend in arch? It looks like that we should manually set /sys/power/state to on to avoid endless suspend-wake loop... any idea to solve it? for now I'm modifying the kernel to provide current power state interface and a system daemon to check if power button is pressed.. but indeed it's not a graceful solution

BTW I'd like to announce that after modifying some kernel config options the strange framebuffer issue, though I stiil have no idea why, have been fixed.. and I'm going to post my config file here too.
[Asus Transformer TF700] TitanUranus:
I would like to test this, can you post a flashable kernel.zip for me to install please?
[Asus Transformer TF700] workdowg:
I'll look at this later, go to work tonight. I will build the kernel and try it... suspend in arch always resulted in having to reboot. Once I get it to boot I can work on all the odds and ends like suspend....

Sent from my ASUS Transformer Pad TF700t - CROMi-X 4.7.0 ODEX
[Asus Transformer TF700] moreD_cn:
https://docs.google.com/file/d/0BxIjwIbdGGSMdWROWmwtWUFpcEk/edit?usp=sharing
[Asus Transformer TF700] workdowg:
This link only shows a directory preview no files.
[Asus Transformer TF700] JoinTheRealms:
You can download, its the little drop down arrow on the far left. Ive added the zImage to my dropbox here: https://www.dropbox.com/s/ne89fvenr07zu8p/zImage
[Asus Transformer TF700] workdowg:
Um at work right now. I'll see what I can accomplish this afternoon. Thanks
[Asus Transformer TF700] workdowg:
[MENTION=5363490]moreD_cn[/MENTION] - My bad. I was trying from my tablet and it didn't like docs... I got the aroma installer and will test soon. Thanks

Edit: I got linux to boot and android. I assume i can't install a rootfs as it is looking in sdcard which is now a symlink to /storage/emulated/legacy. I will look at modifying the installer to look there. Got to stop for today...
[Asus Transformer TF700] moreD_cn:
Nice to know it's working.. Maybe I should warn that I set kernel message level to 7 for debugging purpose, so the log file may get fairly big :eek:
[Asus Transformer TF700] workdowg:
Noticed it was large. I restored _that's kernel for the moment, I don't have time to play for a few days. The kernel you compiled doesn't seem to want to be tweaked... It runs though, Yay! I really need to find out why it won't look where I tell it to. And rabits seems to have dropped off the face of the earth... lol :P
[Asus Transformer TF700] JoinTheRealms:
Could you share the blob dude, Id love to give it a try
[Asus Transformer TF700] workdowg:
Do a nandroid and then install from recovery. Choose no rootfs, it won't install that. http://db.tt/nIMwfpHU

---------- Post added at 02:02 AM ---------- Previous post was at 01:13 AM ----------

hold off on this... someone posted a fix for the installer...

Sent from my ASUS Transformer Pad TF700t - CROMi-X 4.7.0 ODEX
[Asus Transformer TF700] JoinTheRealms:
Cool i gave it a try, its not finding the rootfs(created a soft link between /data/media/linux and /data/media/0/linux) just shows a black line for option 1, tries to boot it but kernel panics. I start a scripting class tomorrow so i might be able to help out more... lol
[Asus Transformer TF700] workdowg:
yeah, it finds and installs the rootfs(yay) if you put the rootfs***tar.lzma file on your microsd. But still won't find it to boot. I'll keep looking through the installer.

Sent from my ASUS Transformer Pad TF700t - CROMi-X 4.7.0 ODEX
[Asus Transformer TF700] Keshukas:
Cheat 2 for boot Linux

You need to remove link to directory

Check if dir are link

ls -l /data/media/l*

And see if linux -> /data/media/0/linux

Then remove

rm /data/media/linux

and create directory

mkdir /data/media/linux

Then make link for roofs.img

ln -s /data/media/0/linux/roofs.img /data/media/linux/roofs.img

kernel can't use link to dir ?
[Asus Transformer TF700] rabits:
So...

Guys, I'm really won't have a time to support dualbooting. If anyone already or want to support this project - it's really terrific))

Sorry, but for now I would target only on UbuntuTouch port.
[Asus Transformer TF700] workdowg:
1) In Terminal Emulator:

# su

# mkdir /data/media/linux

2) Copy moreD_cn installer.zip to /sdcard (In my Dropbox...for now - http://db.tt/nIMwfpHU )

3) Copy rootfs***.tar.lzma to microsd

4) Boot to recovery

5) NANDROID BACKUP!!!

5) Install installer.zip

6) Enjoy dual-boot Linux Again...

Someone what to volunteer to start a new thread for the mutli linux version. I will update my Arch threads!

BTW... Thanks to [MENTION=4972873]rabits[/MENTION] for all his hard work! I will definitely follow your Buntu Touch effort. I'm sure it will be a big help to us!
[Asus Transformer TF700] Hundsbuah:
dont forget to write a 1 to the following interface to notify the kernel that boot to OS was done to unlock higher frequencies:

echo 1 > /sys/module/cpu_tegra/parameters/boot_finished

here you can change to oc frequencies (this is the upper limit what is allowed, even if there is a frequency table, the real frequency will not go higher than defined here:)

echo 1600000 > /sys/module/cpu_tegra/parameters/pwr_cap_limit_1
echo 1500000 > /sys/module/cpu_tegra/parameters/pwr_cap_limit_2
echo 1500000 > /sys/module/cpu_tegra/parameters/pwr_cap_limit_3
echo 1500000 > /sys/module/cpu_tegra/parameters/pwr_cap_limit_4

/edit:

here you can limit the upper limit of the gpu:

(remeber this is a voltage value, look at tegra3_dvfs.c vdd_core voltages for the other valid voltages)

echo 1300 > /sys/kernel/tegra_cap/core_cap_level
echo 1 > /sys/kernel/tegra_cap/core_cap_state
[Asus Transformer TF700] moreD_cn:
Thanks Hunds for your kernel!

[MENTION=3971563]workdowg[/MENTION] I've made a fork and submitted my patch on github: https://github.com/moreD/tf700t_10_6_1_14_4

The framebuffer issue had gone but the kernel should be compiled with a proper config just like the one I posted before.

To deal with android's wakelocks, I've implemented an interface in kernel providing "current" power state to enable us to write a power management daemon in userspace. But now I faced a problem that my tablet keeps being waken by my microsd controller (bcmsdh_sdmmc) and didn't know how to solve it yet... (I've installed ubuntu on my microsd)

Now I'm wondering if we can use kexec to run another kernel just for linux? Maybe this can solve some problems.

There's also a problem that I got really many messages in kmsg looks like "init: * changed state from * to *". This made my log files get large very quickly. Did I make something wrong with my kernel config?

Sadly, being a university freshman I'm afraid that I won't have enough time to maintain this project now and in the near future. But I'd keep an eye on it and try to do something in my spare time...

Also thanks [MENTION=4972873]rabits[/MENTION] for all your work!
[Asus Transformer TF700] workdowg:
New thread started - http://xdaforums.com/showthread.php?t=2387133
[Asus Transformer TF700] noahvt:
working on TF300T?
[Asus Transformer TF700] JoinTheRealms:
It does on the 4.1 bootloader, you just need the xubuntu kernel in the tf300t development thread http://www.youtube.com/watch?v=oRHXsG2G3c8
[Asus Transformer TF700] noahvt:
So just download the installer but flash the xubuntu kernel from tf300?

I'm a litlle bit confused about this, if i install xubuntu from tf300t thread on 4.1 bl will it also be dualboot?
[Asus Transformer TF700] JoinTheRealms:
Yes just download the installer and the rootfs, follow rabits instructions for the installer, once down reboot back into twrp and go advanced/ terminal, and run dd if=nameofblob of=/dev/block/mmcblk0p4

reboot and ull have a working ubuntu/ android dualboot

the new 4.2 kernel might work but wifi wont so stick with the 4.1 bootloader for the moment
[Asus Transformer TF700] noahvt:
Sorry for all the questions but this is the last one (since i don't want to brick my tablet and want to know as much info as i can get)

so follow installer instructions install the rootfs with the installer and then flash xubuntu boot after the installer flashes the tf700 kernel doesn't that cause a brick?
[Asus Transformer TF700] JoinTheRealms:
Its fine just if you have anymore questions create a thread in the tf300t forum, as this *should* be for the tf700. Ok the point of using rabits installer (make sure it is the

0.8.1

installer from this thread) is only to extract the rootfs.lzma and and create a mount point for your ubuntu's /home. The installer will also install a tf700 kernel, and this kernel will work on the tf300t (the tf300t and tf700t are nearly exactly the same) but wifi wont work with the tf700 kernel so you have to flash the xubuntu kernel which has the correct wifi modules.

You can boot into android and use the terminal emulator or use fastboot or use the terminal to flash the xubuntu kernel the command for terminal is dd if=nameofkernel.blob of=/dev/block/mmcblk0p4

At worse if something goes wrong (highly unlikly and never has for me), it will be the kernel and you will always be able to flash another kernel with fastboot or recovery to fix the issue(or remove the dualboot). U'll most likely encounter a few issues with the rootfs, but create a thread over on the tf300t forum and ill help you there :good:
[Asus Transformer TF700] noahvt:
ok i'll do so, do you have the rootfs package left on your pc? if so: can you upload it to another link (d-h.st, etc) because it takes 2 days to download the rootfs from goo.im and the mirror doesn't work either :(
[Asus Transformer TF700] JoinTheRealms:
Well im uploading it to mega.co.nz now but it will take a couple hours, my upload speed isnt great
[Asus Transformer TF700] noahvt:
at least it's better then 2 days lol :)

PM me if it's done!

thanks,

nnvt
[Asus Transformer TF700] DovendyrE:
Android not booting after installing ubuntu

Hello!

I have tried to search, but cant find what Im looking for... I have installed cyanogenmod 10 on my tf700, worsk flawlessly, and thereafter installed ubuntu 12.04 with also works great. But after I install ubuntu (with the linux-installer-8.0.3) the dualboot system will not boot the android canogenmod 10.

The android shows in the multiboot menu, but when selected it says Starting android cyanogenmod and just hangs there.

Does someone know the command for booting android form the busybox multiboot shell? Or how to fix?

Help mutch apresiated :)

(sorry for bad english, hope you understand)
[Asus Transformer TF700] Pedo_Bear_Man:
Help with Tf700t dual boot linux installation.

Every time I download the installer and kernel and put it to my /sdcard of my Tf700t and go to recovery in twrp 2.5.0.0 and install the installer.zip it says it cannot find the kernel on any of the 3 you provided and if I try to use the 7.1.1 version it wont mount it on booting! Please Help!
[Asus Transformer TF700] JoinTheRealms:
You mean it cant find the compressed rootfs(.lzma) please post the output of "ls /data/media"
[Asus Transformer TF700] workdowg:
rabits moved on. JoinTheRealms and moreD_cn have taken over the installer/kernel work and I've updated Ubuntu and Lubuntu to 13.04. I also have an Arch rootfs that is missing auto-wifi support right now....

http://xdaforums.com/showthread.php?p=44154795

Sent from my ASUS Transformer Pad TF700t - CROMi-X 5.0.2 DEODEX -_that4
[Asus Transformer TF700] oliverthered:
Thanks, I'm getter half decent internet connected next week (I'm currently using my phone as a wifi hotspot) and I'll also get a few more blank SDCards (at least 1 or 2 that have 50Mb/s performance to see if that makes a worthy difference in performance). I've noticed the build in SD in the Transformer Infinity seems to be quite slow (around the 10meg mark), I'm not sure if this is due to cheap components or the bus it's running on which may be a SOC issue over component choice.
[Asus Transformer TF700] JoinTheRealms:
In one of the tf101 linux threads, io benchmarks are posted that show a class 10 sd in roughly halve that of internal (dont think its internal sd is much different to the tf700.) The issue is the loopmount method we are currently using. Booting straight from a directory will vastly improve io performance. Im working on this atm :)
[Asus Transformer TF700] oliverthered:
I had issues on a pc doing loopback with ubuntu on a sdcard (slow as a dog).

SD Cards give class ratings usually as MB/s minimum, so class 10 would be 10MB/s +

sudo hdparm -tT mmcblk0p3

[sudo] password for ubuntu:

mmcblk0p3:

Timing cached reads: 964 MB in 2.00 seconds = 481.95 MB/sec

Timing buffered disk reads: 2 MB in 0.08 seconds = 26.61 MB/sec

---------- Post added at 09:01 PM ---------- Previous post was at 08:44 PM ----------

ubuntu@tf700:/dev/disk/by-label$ sudo hdparm -tT swapspace

swapspace:

Timing cached reads: 668 MB in 2.00 seconds = 334.06 MB/sec

Timing buffered disk reads: 42 MB in 3.10 seconds = 13.55 MB/sec

I think it's Class 4 or 6,

I realize hdparm isn't the worlds most wonderful of tests but I think getting a fast sdcard would be a wise move.

actaully many of the rest of the internal partitions seem ok (ones 4MB) but since I'm using an SD card 50Mb/s one would definatily be better than I'm using atm and I wouldn't be running an extra swap partition on my internal device.

ubuntu@tf700:/dev$ sudo hdparm -tT ./mmcblk0p1

./mmcblk0p1:

Timing cached reads: 676 MB in 2.00 seconds = 337.69 MB/sec

Timing buffered disk reads: 76 MB in 3.01 seconds = 25.27 MB/sec

ubuntu@tf700:/dev$ sudo hdparm -tT ./mmcblk0p8

./mmcblk0p8:

Timing cached reads: 618 MB in 2.00 seconds = 308.63 MB/sec

Timing buffered disk reads: 84 MB in 3.00 seconds = 27.98 MB/sec

ubuntu@tf700:/dev$ sudo hdparm -tT ./mmcblk0p5

./mmcblk0p5:

Timing cached reads: 612 MB in 2.00 seconds = 305.99 MB/sec

Timing buffered disk reads: 4 MB in 0.32 seconds = 12.49 MB/sec

ubuntu@tf700:/dev$ sudo hdparm -tT ./mmcblk0p2

./mmcblk0p2:

Timing cached reads: 604 MB in 2.00 seconds = 302.04 MB/sec

Timing buffered disk reads: 76 MB in 3.02 seconds = 25.14 MB/sec

ubuntu@tf700:/dev$ sudo hdparm -tT ./mmcblk0p5
[Asus Transformer TF700] JoinTheRealms:
Thanks for posting! My tests match up to yours, although my swap partition:

mmcblk1p1:

cache read 888mb in 2 sec = 444.09 mb/sec

buff read 50mb in 3.05 sec = 16.42 MB/sec

(strontium 32gb class10)
[Asus Transformer TF700] _that:
Yes - for sequential writing, but not for anything else. Try random 4k writes and you see performance drop to < 1 MB/s with many cards.
[Asus Transformer TF700] oliverthered:
that would be quite an atypical load, for instance I'd expect background tasks that aren't doing much to get pages in and out in reasonable sized sequential chunks. but non the less replacing the 10MB/s sdcard I'm using with a faster one should help a good bit as I don't really fancy running things that are continuously paging even if it was 100MB/s

---------- Post added at 03:20 AM ---------- Previous post was at 03:11 AM ----------

my main reason is that the card I have to 10MB/s, I would like to be able to have various cards with different setups to try and tinker with that I can swap in and out, when I do have paging issue it would be nice to be able to close something to free up memory a bit quicker and see if it improves startup time of applications (which is a bit sluggish in 12.04). Given SDD have limited write cycles I prefer something that didn't involve major surgery to the tablet to replace.

it may be that a faster sd card does nothing or little to improve performance, that's certainly an experiment worth doing

---------- Post added at 04:03 AM ---------- Previous post was at 03:20 AM ----------

SanDisk Extreme has quite goo benchmarks for SDHC according to Toms hardware some cards to have quite significantly worse performance, so i'll get a few SanDisk Extreme cards.
[Asus Transformer TF700] _that:
Right, it would be the worst case scenario. I've never tried to measure typical I/O sizes for paging, but it could be interesting.

Faster cards are definitely better, just keep in mind that the class rating can be misleading if you don't use the card only for storing photos and videos.
[Asus Transformer TF700] luca2280:
help me tf700

I ask for help at all, please I'm desperate, today I tried to install the multiboot rabit on my asus TF700 but I messed up and now I hold the tetminale stuck on the main screen, where you select the OS does.

It should not be piùà forward as I do? how can I reset everything?

Please help me.

thanks
[Asus Transformer TF700] jcutler92:
Files

Hi

I would love to attempt to do this to my Transformer Infinity but most of the links for the files are dead I was wondering if someone could please post new links for the files.

Thanks
[Asus Transformer TF700] workdowg:
http://xdaforums.com/showthread.php?p=44154795

From my Debloated Stock Kitkat VS980 4G VZN
[Asus Transformer TF700] jcutler92:
Files

The links on there are dead also
[Asus Transformer TF700] gloops100:
Anyone can upload linux-install-0.8.3.zip please ?
[Asus Transformer TF700] workdowg:
linux-install-0.8.3.zip

---------- Post added at 09:39 AM ---------- Previous post was at 09:38 AM ----------

Also check out - http://xdaforums.com/showthread.php?t=2387133
[Asus Transformer TF700] gloops100:
Thank you workdowg :)

I want to do this :

- Unlock & Root the ROM

- Install Crombi-kk ROM with Rom2SD

- Install dual boot with Linux

Is it possible ?
[Asus Transformer TF700] workdowg:
rabits installer only works for a cromi-x install.

[MENTION=4582979]JoinTheRealms[/MENTION] - The kexecboot might work with rom2sd if you manually copy the crombi-kk kernel to the /system/boot on the sd? Never tried it,so I can't say it would work. It should? The new kexecboot kernel is _that10.
[Asus Transformer TF700] gloops100:
Thank you,

So I can't install Crombi-kk if I want dual boot ?

What is the process to install dual boot with Cromi-x & Linux ? (I don't find tuto)
[Asus Transformer TF700] workdowg:
You can use kexecboot to dualboot from an internal crombi-kk install.. No one has let it be known if rom2sd installs work.
[Asus Transformer TF700] gloops100:
Ok, I will try this ;)

Thank you for your answer :)
[Asus Transformer TF700] slim_satoshi:
help

~~
[Asus Transformer TF700] sbdags:
This project is closed so I doubt you will get much help here.

CROMi-X 6.1 is for the TF701 not the TF700. Are you flashing the correct ROM?
[Asus Transformer TF700] rabits:
Yes, I use AndroidRoot hacked bootloader.
[Asus Transformer TF700] danger-rat:
This is interesting...

I made my nvFlash backups a long time ago, but was reluctant to overwrite the AndroidRoot bootloader afterwards because it obviously had greater permissions over the stock bootloader. I finally updated to the stock 10.x bootloader because of voltage limitations in the 9.x bootloader that restricted the use of clemsyns OC kernel. Hindsight, it may have been wiser to stick with the unsecured 9.x bootloader, and encourage a tweaks to the 9.x AndroidRoot bootloader - unsecure bootloaders are gold to tweakers...

Anyway, what are the implications of this?

Can the Ubuntu boot image still be flashed via fastboot (I only see problems with booting into the image right now)?

Is an unsecured bootloader essential for the Ubuntu install?

Will recovering the nvFlash backup images restore the previous bootloader?

Would love to see some further discussion...
[Asus Transformer TF700] _that:
There were also many ROM announcements that said "you must be on the JB bootloader", but nobody could really explain how the bootloaders were incompatible with the kernels.

I could be possible to do the reverse - port the modifications from the 9.x bootloader to the current one. I have no personal experience with ARM disassembly, but there are 114 changed bytes between the original 9.4.5.30 and the AndroidRoot bootloader (+ some bytes for the changed message text), so if the original code sequences are still in the latest bootloader (which has a lower version number, so it could also be actually older), it would be possible to fully unlock a newer bootloader. Of course this requires NVFlash access, otherwise the old bootloader won't allow flashing the modified bootloader because of a signature mismatch.

Yes, No, Yes (the bootloader is in bricksafe.img).
[Asus Transformer TF700] rabits:
maxal said that he can not flash the boot.img with secured bootloader. But, I'm belive that we can change boot.img from rooted android, because we can write into boot partition (nvflash partition table for tf700 64GB)
[Asus Transformer TF700] singoutout:
Hi :)

Does real Ubuntu/CROMI work with this image •boot.img dualboot initrd Pre-release 0.6.1? (from that thread : http://xdaforums.com/showthread.php?t=2026919&nocache=1)

Has anyone tried? How smooth and stable is Ubuntu?
[Asus Transformer TF700] rabits:
Current rootfs (0.5.0) is not working with it. In near time I release this dualboot boot.img with rootfs.

Ubuntu now pretty stable, but not so smooth...