yashsingh1/xdaforums huggingface dataset:
[Eee Pad Transformer Android Development] x3maniac:
this is taken from jhinta's thread

Bluetooth setup

There are 3 file needed from android space, to get this,

Enable bluetooth(from android)

Rename you bluetooth name to what ever you want ( once in Ubuntu you cant change this !!!! )

Leave it on !! and boot to Ubuntu

/data/misc/bluetooth/{bcm4329.hcd,mac.txt}(android partition) -> /lib/firmware

brcm_patchram_plus (lives on the net) -> /usr/sbin/brcm_patchram_plus (already in)

As last edit /etc/init.d/bsp-tf101 and correct your mac adress --bd_addr ***** (replac *** with mac !!!, mac is located in mac.txt)

his instructions are not super clear so i have not tried this yet.
[Eee Pad Transformer Android Development] Mn5612:
Hey x3maniac, I'm trying to compile your kernel and I keep running across this error:

/tmp/cc2ek4gp.s: Assembler messages:
/tmp/cc2ek4gp.s: Error: .size expression for __tegra_cpu_reset_handler_data does not evaluate to a constant
make[1]: *** [arch/arm/mach-tegra/headsmp.o] Error 1
make: *** [arch/arm/mach-tegra] Error 2

I get this while compiling on my TF and cross-compiling on Ubuntu 64bit.

Any ideas?

EDIT: Looks like my google-fu was a bit rusty, found the fix here
[Eee Pad Transformer Android Development] x3maniac:
what compiler are you using? i just switch to using linaro so i had to change the code abit

edit: opps i didnt commit that change.. it's the same as your link. fix it in your code to add the __ in headsamp.c and should be fine. you might get another error if you are using linaro with compiling modules for wifi. have to remove -werror from a file i don't remember i'll get back to you on that
[Eee Pad Transformer Android Development] Mn5612:
Yeah, had to remove -werror from the bcm4329 makefile. Ive got it up and running now, thanks for all your hard work, ubuntu is running great!
[Eee Pad Transformer Android Development] x3maniac:
i just patched a few more things, and updated the tf101-linux_defconfig.. i don't have a dock yet so i can't test if hot plug is working yet. can anyone verify?

edit: my newest patch fixes the -werror issue so it wont matter if your removed it or not
[Eee Pad Transformer Android Development] Mn5612:
Still had to remove the -werror flag, other than that it compiled fine. It boots and hotplug works (hooray) but it freezes within a couple of minutes on every boot. Also, conky shows that the cpu doesnt reach over 1ghz, not sure if thats intentional or not. Good work x, you're almost there.
[Eee Pad Transformer Android Development] x3maniac:
Yea I left it on stock clock. I will overclock it later when I get a stable build out in th mean time im using linaro 4.5.2 yo compile. What are you using?
[Eee Pad Transformer Android Development] x3maniac:
Im think about starting anew thread for the ubuntu image and kernel. Or shoudl I justleave everything on here?
[Eee Pad Transformer Android Development] TomTcom:
I'd say stay here for the moment. Get to the development point you wish to reach with stability and kernel before new threads.

XDA tends to get a lot of threads sometimes adding to confusion. Just my 2 cents..
[Eee Pad Transformer Android Development] Mn5612:
Just the default gcc compiler. I've never used linaro before, would you mind posting instructions for how to set it up? Thanks
[Eee Pad Transformer Android Development] x3maniac:
When I get home tonight ill post up my toolchain to my githib so u can just clone it :D
[Eee Pad Transformer Android Development] Mn5612:
Thanks, do you cross-compile yours from a desktop or just compile it on your tf?
[Eee Pad Transformer Android Development] x3maniac:
i mainly use a laptop to cross-compile. i tried once or twice to native compile with the tf... but it's slowwww and i don't know if it's any better.
[Eee Pad Transformer Android Development] Mn5612:
I've been natively compiling, takes close to half an hour usually. I'll switch to cross-compiling with the new toolchain.
[Eee Pad Transformer Android Development] x3maniac:
finally i got my keyboard!!!!!

horay for me!

so as you all know if you have been following this thread i waited for 2 months now and finally got my keyboard. Amazon screw up and didn't send my product forcing me to end that sale and get a stupid giftcard from them. so i ended up buying one from ebay Used. Enought about me.. what i have done since i got my keyboard.

SOUND!!! =) working!

i'm actually not too sure how i did this. but it works no settings needed. since user @Mn5612 was talking about how it's stock 1.0ghz i decided to recompile the kernel with 1.2ghz and instead of lzma as compression for the kernel i switch it to gzip. i uploaded a fresh base of my tubuntu image followed this guide to get touch pad work. resized my file system updated my pcmanfm added xcompmgr. rebooted... played a mp3 and it worked(little garbled cause i think left and right sound sources are playing only on left speaker. i'll look into that soon, it is Christmas eve)

kernel: http://novaspirit.com/tubuntu/r15gzlinux.img.tar.gz

the version of pcmanfm we are using is 1.0.1

this version is pulled from ubuntu 13.04: pcmanfm 1.1.0

sudo dpkg -i pcmanfm_1.1.0-0ubuntu1_armhf.deb

from where ever you download it and reboot

the version you apt-get

xcompmgr 1.1.0 (this has bugs with openbox so drop shadow doesn't work)

this version xcompmgr 1.1.5-1 fixes the bugs and drop shadow works great!

sudo dpkg -i xcompmgr_1.1.5-1_armhf.deb

then to add xcompmgr to your autostart

sudo nano /etc/xdg/lxsession/Lubuntu/autostart

and add the following line to the end

@xcompmgr -fF -I-.002 -O-.003 -D1 -cC -t-5 -l-6 -r8

save file with ctrl+x and y

logout

to fix conky

sudo nano /etc/conkyrc

and edit these two lines

background no
own_windows_type desktop

and this will remove the dropshadow from conky

please let me know if it was updating the pcmanfm that fixed the sound. or was it cause i changed the compression for the kernel? i'm not too sure how this happen but i did not touch anything in alsamixer or anything related to sound. all i know that pcmanfm new version fixed alot of bugs so i was like OK lets update it =)

edit: i did not install nvidia drivers yet

edit 2 : i think installing lubuntu-restricted-extras broke the sound again... i don't feel like reflashing a fresh base to see if that's the problem.. so not sure. but after i installed it.. no more sound...

-don
[Eee Pad Transformer Android Development] TomTcom:
Thanks x3. I have to work on Christmas and the night shift at that so I'll give what I can a shot and probably post since it won't be very busy then. Thanks!
[Eee Pad Transformer Android Development] Mn5612:
x3maniac can you post the kernel source or push the updates to github? I need to compile with support for a gzip initrd, it doesn't like it when i edit the lzma initrd.
[Eee Pad Transformer Android Development] x3maniac:
cool I hope its fixed so I can work on more stuff

Ok il post it up as soon as I can. I tried to do gzip kernel and gzip initrd but it was too big so I just gzip the kernel and left the initrd lzma. Im trying to play around with the defconfig to sqeeze bith as gzip when I get a chance to figure out what we dont need. I believe there is a webcam module that I can prob take out. Im also trying to redo the asusec for different keyboard mapping.. cause we dont have a delete key. Lol really where is it?! I might change the lock button
[Eee Pad Transformer Android Development] Mn5612:
ahaha no worries, whenever you can get round to it
[Eee Pad Transformer Android Development] x3maniac:
Since u compile the kernel natively do u exeperence any freezing during the use of the image? And I have some bad news. I left my usb data cable at my inlaws which is a 1 hr drive and tolls. So I just ordered a new one from newegg. Hopfully I get is soon and contiune my work
[Eee Pad Transformer Android Development] Mn5612:
Do you mean freezing while I'm compiling it? sometimes it does and sometimes it doesn't. Also, you were talking before about trying to cut down the kernel size, I ended up adding a few megabytes to the kernel partition when I flashed my transformer so that it could larger kernels.
[Eee Pad Transformer Android Development] Gary13579:
Audio has been working fine on Arch since before your latest kernel. Just had to install alsa-utils to get access to alsamixer, then unmute several channels. I can't remember which ones solved it, as I just unmuted until I heard music.
[Eee Pad Transformer Android Development] x3maniac:
how sre you packing the kernel? Wuth abootimg? Cause abootimg stops me from making anything over 9mb for kernel

thanks. I havnt been able to test until the most recent kernel cause I finally got my keyboard.. too bad I dont have my usb cable
[Eee Pad Transformer Android Development] x3maniac:
git updated
[Eee Pad Transformer Android Development] Cali_03:
Hi,

I have playes with the dual boot but now i wan't uninstall and just use android ...

How to uninstall and get back my 16gb free for only android?

Thanks
[Eee Pad Transformer Android Development] wtfcr0w:
I tried this and everytime I click the flash button it crashes in win xp. I would try it on my win 8 machine but the apx drivers cant be installed (says something about file hash is corrupt or the files were tampered with.

I downloaded the tubuntu 0.1 from your link, also the Prime rom (stock hc with root), renamed it system.img, downloaded the net installer v0.6 and renamed it ubuntu.img and placed both files in the /images folder of the tubuntu installer.

Did I miss something?

forgot to add: when I click flash, in the console to the right theres a bunch of info that prints to screen then at the bottom it reads something like "your device is now ready for nvflash"

then I get the windows error, showing it crashed. on the tablet I get the 3 little lines of text in apx mode saying that its complete. I reboot tablet and it boots up normally. CWM is still installed and functional.
[Eee Pad Transformer Android Development] x3maniac:
does your tablet show any text when starting to flash before crash?

if no text you might have sbk1 not sbk2.. or not in APX mode. check devicemanager should say nvidia APX somewhere

are you running with administrative right?

i have not ran this with windows xp. i believe this might need admin rights.
[Eee Pad Transformer Android Development] wtfcr0w:
It shows a lot of text in your program in the console view. And the process finishes as fast as it starts. I click flash, I see a bunch of stuff pop up in the right at the same time the crash window appears. I look down at the tablet and there are the 3 small lines of white text. Ill try it with admin rights in just a sec and let you know how it goes.

---------- Post added at 03:14 AM ---------- Previous post was at 03:12 AM ----------

Right before I started this I wanted to make sure it was an sbk2, booted a linux live cd and checked using sbkchecker. It is in fact an sbk2.
[Eee Pad Transformer Android Development] x3maniac:
yup you are indeed SBK2. if you don't see any white text on your transformer then you are SBK1. but since you see the text. your are SBK2
[Eee Pad Transformer Android Development] wtfcr0w:
Yep. I just tried again using admin rights, same result. After crash the tablet says nvflash somethin something/nv3d service

Uid: ...

!!!phone update complete!!!

Is there a way to do this in Linux? I really like the idea of dual booting and being able to temporarily install twrp.
[Eee Pad Transformer Android Development] x3maniac:
take a look at post #17 http://xdaforums.com/showpost.php?p=34225113&postcount=17 i put a link for linux version. you can use the same system.img and ubuntu.img

This program is using simular idea/scripts to flash dual boot
[Eee Pad Transformer Android Development] wtfcr0w:
Right on. I'll give it a whirl and let you know the results. Thanks!
[Eee Pad Transformer Android Development] LeoBloom.:
The tool works flawlessly on my Win 7 set up and for the first time I've been able to get ubuntu on the tf101. Very good work!

Of course, lilstevie's ubuntu is a bit too cpu-intensive so I eagerly await your lubuntu version for a nice fast and responsive linux on this tablet.
[Eee Pad Transformer Android Development] wtfcr0w:
I think he has the link up for lubuntu.... if im not wrong its in the first post.
[Eee Pad Transformer Android Development] x3maniac:
you are right lubuntu is up. but with stock 2.6x kernel it doesn't work as i was told.

i have updated my app, now has the ablilty to flash new kernel to recovery or default partitions.

flashing 3.x jhanti kernel should get lubuntu working.
[Eee Pad Transformer Android Development] wtfcr0w:
Alright!

So I installed it. Ill explain the process and where I'm at.

I had to use a windows 7 machine. Win xp wouldnt work at all (tried a million methods)

I flashed everything (I used net-installer 0.6) and it restarted into android. I went through the setup, tried out honeycomb (never used it before) and rebooted into "recovery"

after it started, I was prompted to press enter for the keyboard then I had a window for wifi config

I scanned, entered password and tried to connect. It wouldnt connect and it just stayed at "authenticating" or whatever it said.

I saved config anyway after a few million tries and decided to go through anyway. the tablet rebooted

Came back up to the config asking me if I want to use kde,gde, jhinta etc. I chose the options I wanted and it started trying to download packages. Everything failed and the problem was:

"error connecting to ports.ubuntu.com"

I pinged this on my desktop and it was fine.

restarted tablet into ubuntu again, got command line

tried installing gdm by running

sudo apt-get install gdm

all packages downloaded fine, and it installed

tried to login, wouldnt let me. Got an error that it couldnt start Ubuntu session.

flashed via APX again,

this time I thought it may have been the wifi auth type.

it was wpa2 personal, changed to wpa personal.

same thing.

After typing that, I realize that may have been a bunch of unnecessary info.... but I dont want to revise it for the fear that ill leave something important out or you may need to know something else. Android works fine connecting to wifi. I am writing this reply in HC (i miss my JB).
[Eee Pad Transformer Android Development] i9apps:
Same problam here...

Same problam here... Keep getting "error connecting to ports.ubuntu.com"

Any solution? :(
[Eee Pad Transformer Android Development] x3maniac:
so.. my program worked installing the dual boot. =)

the problem now is getting netinstaller v0.6 to get connected to the internet. i'll try to explain it here but it really should be asked in his thread http://xdaforums.com/showthread.php?t=1852702

explanation

wpa connections are very tricky using ubuntu. there are several ways to connect WPA WPA2 ASE TPK MIXED MODE.. so without knowing the exact configuration it's hard to make a wpa_supplicant.conf..

the program that boots up asking about the internet is trying to do what i just explained. if you just want to get your net install setup really quick and tinker with it when you have a full desktop (that's what i did). have it join a OPEN network. either modify your router configs to open or just tether your phone to be open. downloads to get the os running is roughly 180mb

hope this help =)

if you really want to try to get this to work.. google wpa_supplicant.conf --- with your type of security. then adb into your device and modify the file manually located at /etc/wpa_supplicant/wpa_supplicant.conf
[Eee Pad Transformer Android Development] djlenoir:
Hi. First off, thanks for your time and efforts in creating this. It works great! I have no problems with the install, but Ubuntu crashes after I get it installed.

What I am using:

1) Tubuntu v0.2alpha

2) Prime ROM (stock hc w/ root)

3) Lubuntu (renamed to ubuntu.img)

Steps I followed:

1) Downloaded files above, extracted archives, renamed files and place into tubuntu /images folder.

2) Booted TF101 using Power + Volume Up

3) Launch Tubuntu --> Flash Tab --> Android/Ubuntu --> Flash Button

4) Waited for flash to complete

5) Booted TF101 using Power+Volume Down, followed by Volume Up

6) Ubuntu started to load but then failed

7) Booted TF101 using Power + Volume Up

8) Launch Tubuntu --> Flash Tab --> Advanced --> 3.x jhanti kernel --> Recovery Partition --> Flash Button

9) Booted TF101 using Power+Volume Down, followed by Volume Up

10) Ubuntu started to load but then failed

Unfortunately, it appears that the Lubuntu image does not boot, even if I flashed the jhanti kernel. Am I doing something wrong, or should I just use a different (aka - netinstaller) ubuntu image?
[Eee Pad Transformer Android Development] x3maniac:
sorry lubuntu is broken for now as i was told. i don't have a dock/keyboard to even test the image. i know it boots but that's as far as i got. until i get a keyboard i wont be able to fix it. try using lilstevies image or netinstaller for now.
[Eee Pad Transformer Android Development] djlenoir:
No need to apologize, you got the installer working perfectly! Technically, that is all this thread is for. :)

I think I read that you were waiting for the keyboard to be delivered. Do you have plans to try to get Lubuntu working on your TF101 when you get the keyboard? I like the idea of a lightweight ubuntu load for performance reasons.

In the meantime, do you have a recommendation by any chance between lilstevies or netinstaller?
[Eee Pad Transformer Android Development] x3maniac:
yes i plan on turning my tf101 to a full functinal laptop / and stable. i plan on making this my lightweight laptop instead of having to lug around my "laptop".. beside battery life will be much better.

i will be getting a light weight distro out either lubuntu or arch. with desktop environmnet

i would use netinstaller. but it's annoying to setup.
[Eee Pad Transformer Android Development] Franz.Hendrik:
For some reason I can't flash ubuntu only or Android/Ubuntu. I do have SBK2, but my tablet resets during the copying process

/ 536870912/536870912 bytes sent

.\images\system.img sent successfully

file not found: .\images\ubuntu.img

failed executing command 2147483647 NvError 0x4

command failure: create failed

I know for fact it didn't copy the file cause the tablet reboot during the copy.
[Eee Pad Transformer Android Development] djlenoir:
Donation sent to say thanks. :good:

Confirmation number: 7SF2438834142393D
[Eee Pad Transformer Android Development] x3maniac:
I'll look into that when I get home
[Eee Pad Transformer Android Development] TomTcom:
I gave it a shot and sound didn't work for me. I tried playing sound after the fresh base install and kernel you posted. Then I tried pcmanfm and xcomp install with no luck. The only thing I noticed is I do hear a pop start and stop when playing a wav file when I didn't hear that before. I tried a few mute/unmute in alsa but reverted everything back to what it originally was before each time. It's probably something I'm doing unless playing an mp3 is any different than playing the wav files included in /usr/shared/sounds folder. Also, I did not install the Tegra drivers or codecs either.

I did stumble on a bug. When using the dock, the brightness controls do work (the keys right above 4 and 5) however if you go down to farr the screen will go out and no brightness button presses get the screen to come back on.

My guide for SBK1 installation has been updated and includes instructions for installing the kernel using the wheelie and nvflash utilities.

http://xdaforums.com/showthread.php?p=35895490#post35895490
​
[Eee Pad Transformer Android Development] Mn5612:
yeah, and my kernel image ends up as 9.3mb
[Eee Pad Transformer Android Development] Mn5612:
Just compiled with the updates from github, still having the system freeze within a few minutes of booting, unfortunately.
[Eee Pad Transformer Android Development] x3maniac:
anyway to pull a log?
[Eee Pad Transformer Android Development] Mn5612:
Where would it be on ubuntu?
[Eee Pad Transformer Android Development] x3maniac:
logs are stashed away in /var/log

once it freezes reboot and look for a /var/log/dmesg

or run command

dmesg

hopfully i can see what's going on and fix it

remember to use "

"

so we wont spam the thread =)
[Eee Pad Transformer Android Development] Kingzak34:
Hey ! I'm trying to make a bootable img of Plasma Active ( Not Ubuntu )

If anyone can help :)

I'll keep you updated if I got it working
[Eee Pad Transformer Android Development] transformador:
Could you shre your script to decrease/increase brightness with me (im not using your .img and installer, but this one: http://xdaforums.com/showthread.php?t=1537566

also, how is your sound? In my installation it sounds like when you are between two radio station.

Offtopic, but is there a apache server working with arm?(localhost), need it for school.
[Eee Pad Transformer Android Development] x3maniac:
i'm stil llooking at it.. so far looks good. but i'll let you know later when i finish looking at the dmesg

me pick me! lols i'll give it a try

i remember i had to echo a value some where in /proc for brightness. i'll dig it up for you. but i can't remember it right now..

edit:

#!/bin/bash
a=`cat /sys/devices/platform/pwm-backlight/backlight/pwm-backlight/brightness`
num=`expr $a + 10`
echo $num > /sys/devices/platform/pwm-backlight/backlight/pwm-backlight/brightness

#!/bin/bash
a=`cat /sys/devices/platform/pwm-backlight/backlight/pwm-backlight/brightness`
num=`expr $a - 10`
echo $num > /sys/devices/platform/pwm-backlight/backlight/pwm-backlight/brightness

don't let your brightness turnoff all the way or it will be stuck with screen off. i havn't looked into a fix yet but i think placing a IF statement inside this code for darkness should fix it. something like if a >= 20 do nothing.

apache2 2.2.22 is working for armhf. just apt-get it
[Eee Pad Transformer Android Development] Kingzak34:
Rootfs from here http://share.basyskom.com/plasma-active/archos_gen9.html Integrated in an img file almost boot and I didint get any of raw image working ( from here http://community.kde.org/Plasma/Act...n9_Mer_Plasma_Active_root_filesystem_tarballs ) I think it's cause it search for mmcblkp0 instead of mmcblkp8 ( if you know how to use it it may be better )
[Eee Pad Transformer Android Development] x3maniac:
the bootflags from the kernel tells it's on mmcblk0p8 so it wouldn't be search for mmcblkp0

did you convert the raw disk to a ext4 img?

i looked at the raw image and it's a ext3(which doesn't matter) i converted to a ext4 slapped it into a smaller image instead of 2gb it's now 1.3gb and removed the msdos partition they had in there.. i don't have my usb cable so i can't flash to see if it works. but if you want to try what i just did

let me know if you want me to do a write up
[Eee Pad Transformer Android Development] x3maniac:
how cool is this

http://tinycorelinux.net/arm.html

tinycore for arm?!?!?! this os will be like crack for the transformer lols

only 8MB!!!!!
[Eee Pad Transformer Android Development] Kingzak34:
Of course I want ! :D

I said I thought he searched for mmcblkp0 cause it talked about it saying that wasnt good format for partition and was unable to mount.

Anyway I'm verry interesting to test your file. What I've done is installed the raw file on a usb stick, copy / partition to your ubuntu img ( wich was "emptied" )

It can be great to test it :) But I think Lubuntu is better

BTW I'll test your new kernel !