yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 10.1 General] fabioganga:
I will definitely follow this project with great interest.... trhanks!!!
[Galaxy Note 10.1 General] X-Stranger:
You should not do that. The archives unpacking must be done on the device. But looks like you don't have busybox toolset installed, e.g. don't have gunzip/tar. Please try installing it and then check from ADB shell if you can run gunzip and tar.
[Galaxy Note 10.1 General] X-Stranger:
First of all it seems that you have non-stock ROM, thus it is not obvious what is the data partition for it and how internal sdcard is mounted. Secondarily, your screenshot shows me that rootdev file is not found. Probably you missed step creating it, or, as I already said, the paths on your device are different from original. At last, if I remember correctly, somebody from that thread told me before that 8020 might have different partition order and I was creating special version of recovery partition for him - please try search the topic messages.
[Galaxy Note 10.1 General] Yanluk:
Yes I did see that post. Can you tell me what should I do with the initrd.img file. I can' understand the "burn it to correct recovery..." bit.

Cheers
[Galaxy Note 10.1 General] rtunru:
Ubuntu-touch

Is Ubuntu Touch ( latest build is 12/30/2013 ) off topic here??
[Galaxy Note 10.1 General] X-Stranger:
That bit means that you should put initrd.img inside recovery.img using abootimg utility. I did this for you, please see attached and let me know if this helps.
[Galaxy Note 10.1 General] X-Stranger:
This topic is about normal Ubuntu, not Touch version, sorry.
[Galaxy Note 10.1 General] Cykon:
Finally! I've been wanting to run a full version of Ubuntu on my note tablet since it came out...

However, I'd still like to keep android on it if possible... Does this method allow me to dual boot android? Samsungs stock? Cm?
[Galaxy Note 10.1 General] zander21510:
Yes it does, if you use the recovery with menu. All you have to do to run Linux is to reboot to recovery and select ubuntu. By default it will boot to android if you restart in case anything goes wrong. He really did an awesome job
[Galaxy Note 10.1 General] Cykon:
This is purely amazing.

Can't wait until the ubuntu image is more stable (and hopefully finger touch support gets added).

Thanks a bunch X-Stranger^^
[Galaxy Note 10.1 General] rtunru:
He just replied to me yesterday that this thread is NOT for the touch version :rolleyes:
[Galaxy Note 10.1 General] X-Stranger:
Ubuntu Touch and touch support in regular Ubuntu - are different things.
[Galaxy Note 10.1 General] raaiman:
Works on N8000 stock rom.

Guys, it works for me using the stock rom,

for CM 10.2, when you adb push to the /sdcard/,

the location for is actually at /sdcard/recovery.img instead of ./recovery.img

hope this helps. LXDE,XFCE works, GNOME is horrid.

those trying to run aircrack, it seems the driver can't enable monitor mode, so hope

there is a patch for this.
[Galaxy Note 10.1 General] driekus33:
Works great for me except that once I reboot to Android and then try to reboot to recovery mode it gives me the standard recovery mode.

I am running stock Android and think it may be Samsung meddling.

Any advice?
[Galaxy Note 10.1 General] vns_firefly:
Hi, hope you haven't given up yet. I installed this last night and encountered the same error as you did. But then I tried again and manually typed every command line, and noticed that the extraction of ubuntu.tar.gz took much longer (it completed almost instantly during the previous copy/paste attempt), which made sense for a >700 MB file.

To save time, you can manually copy recovery.img, recovery.tar.gz, ubuntu.tar.gz to the internal SD card, and skip the 3rd step (basically doing the same thing via ADB). You can also skip the last step and try to shutdown // boot to recovery, if not successful you don't have to copy the files again. :fingers-crossed:

@X-Stranger, while typing, I noticed that the command line in # 9.2 had this 'inconsistency' (just a guess),

echo "Ubuntu=/media/ubuntu" > ./rootdev

echo "Recovery=/media/recovery" >> ./rootdev

echo "Reboot=reboot" >> ./rootdev

I didn't know if this could affect anything but I added a 2nd 'Ubuntu' with >> anyway, which resulted in the 4th option in the boot menu. So far, the two options have no difference.

Thanks to you and this awesome guide, I have a chance to try Ubuntu/Linux out for the first time. :laugh: I've seen Ubuntu on my professor's laptop but only now can I personally touch it, the experience is great.
[Galaxy Note 10.1 General] younix258:
I actually asked my physics professor about this today. As he explained it, one > indicates replace everything in the file; two of them, >>, means append to the file, like add another line at the end.

So in X-Stranger's code, first you write the first line of the file (rootdev), then you append to it the next two lines.
[Galaxy Note 10.1 General] vns_firefly:
That explains a lot. :D I may consider learning more about code after this.
[Galaxy Note 10.1 General] younix258:
It certainly inspired me a bit lol.

If you wanna see something cool i learned yesterday, jump on terminal when you get a chance and type in "top" and hit enter. Its esp useful since task manager crashes (at least for me)
[Galaxy Note 10.1 General] raaiman:
Keyboard Dock support?

Guys,

I've got this keyboard dock for n8000 and it works for the android os, but when booting into ubuntu, it can't work. However using a normal USB keyboard it works. Any ideas?
[Galaxy Note 10.1 General] Liquidmetal6:
Really hoping for some help...followed the OP exactly after messing up at different parts..I literally copied and pasted the terminal commands in order.

It gets to the ubuntu screen but it says that it failed mounting sd-ext...when I have a sd in there and formatted to ext4.

I think my issue is the ubuntu and recoveyr folders that are created...they are write protected and I can not get rid of them, I even tried wiping the internal memory and they remained. Can anyone tell me how I can start over and do this properly? I really want ot make this work for me for school.
[Galaxy Note 10.1 General] vns_firefly:
I don't know much about code, so I just backed up things from Android side, migrated all important files/folders from internal SD card, then went to CWM, 'Mounts and Storage' and selected 'Format /data and /data/media (/sdcard)', and flashed stock ROM again. Not sure if there is any easier way. You can try typing the code manually during the installation of Ubuntu, it's really not that much, but I noticed a significant difference in the extraction time of ubuntu.tar.gz between typing and copying, the latter barely lasted a second (it wasn't executed).

One funny thing: After installing Ubuntu with dual boot option, if you flash CWM then it will stay there instead of being replaced by stock recovery every time you reboot. Not sure why, but it's more convenient that way.
[Galaxy Note 10.1 General] X-Stranger:
The Ubuntu expects external sdcard to be vfat formatted. To fix the error you can just disable sd-ext mounting (the solution was posted in this thread, just read it or search it), or fix the fstab entry to mount ext4 instead of vfat.
[Galaxy Note 10.1 General] joerenes:
wacom driver?

this is truly fantastic! I installed from cyanogenmod and didn't have any troubles.

my main goal is actually just to run xournal (a note taking program), but after setting up ubuntu and installing it, I noticed that the pen accuracy isn't very good. Looking at xorg.conf, I notice that the pen is handled by the evdev driver. Would it be possible to switch this to the linux wacom driver? I will try to compile this myself, but it may take some time before I figure out how to do that exactly, so I thought I'd at least ask first.
[Galaxy Note 10.1 General] X-Stranger:
I've tried wacom driver with ArchLinux initially with no luck, and Exception13 has recommended using evdev. If you can get it working better - please share your steps.
[Galaxy Note 10.1 General] joerenes:
I can report some partial success already. There was no need to compile anything. To get the wacom driver, I installed xserver-xorg-input-wacom (at least I have it installed now). Then I modified the Mouse0 section of /etc/X11/xorg.conf to point to driver "wacom" and also added the line Option "Type" "stylus". I also moved the file 10-evdev.conf out of /usr/share/X11/xorg.conf.d, since it was picking up the stylus as well, giving a duplicate xinput device.

This improved the writing quality immensely in xournal, I believe because the wacom driver has different default settings (and possibly more settings) than evdev, including a pressure threshold, automatic smoothing of raw data from the digitizer, etc. [ note: to write in xournal i turn off the touch input, using xinput --disable <touch input id> ]

The above steps should get the stylus working, not the side button or eraser. I suppose some additional options are required in xorg.conf for these. I may have forgotten some steps in the above, so let me know if it doesn't work for you.
[Galaxy Note 10.1 General] X-Stranger:
Hmm, interesting results.. what about multi-touch?
[Galaxy Note 10.1 General] joerenes:
I'm afraid I haven't tried that yet, though it would be nice. My immediate goal is to get the stylus into a useable state, including calibration, automatic touchscreen deactivation when the pen is detected, and screen rotation (not necessarily automatic), but after that I should look at multi-touch.
[Galaxy Note 10.1 General] joerenes:
calibration works fine with the package xinput-calibrate, and a simple script suffices to turn off the touchscreen when the pen is detected, but apparently rotation under xrandr isn't supported for mali. Does anyone know if it will be soon or a different way to accomplish the same? I tried a suggestion using the fbdev driver and option rotate CW, but all I got was a black screen at the login page, though there was a old-style X cursor and it was apparent when using the stylus that the screen was rotated.
[Galaxy Note 10.1 General] X-Stranger:
Unfortunately I don't know any way to implement rotation right now. I'm trying to fight with Mali userspace and kernel drivers with no luck.

Btw, you should share your scripts, if anyone else would like using it.

If I remember correctly, with this driver multitouch will not work...
[Galaxy Note 10.1 General] joerenes:
Any tips for working with the fbdev driver? As I mentioned, the screen appears to rotate, but I think the rotation clashes with gdm somehow (I'm not really knowledgeable about X).

For deactivating the touchscreen when the pen is sensed, I followed the directions at the manjaro forum, topic 9671. As I've just joined this forum, I'm afraid I can't yet post the direct link.

I'll have to give up on multitouch for the time being.
[Galaxy Note 10.1 General] joerenes:
Playing around a bit more, i can get xfce4 to run once I kill off gdm, so fbdev is fine. now I'll try to figure out how to replace gdm with something that works with the fbdev driver out of the box. I'm hoping an install of lightdm or similar will do the trick, but won't have time to test until tomorrow.
[Galaxy Note 10.1 General] dvijetrecine:
One question for you, [MENTION=1185900]X-Stranger[/MENTION], how do you compress whole system in tar.gz archive? I've tried several times to compress Debian wheezy with tar command in terminal but it just hangs on sys folder
[Galaxy Note 10.1 General] halcyonabraham:
Can u use an external usb on this?
[Galaxy Note 10.1 General] X-Stranger:
If you follow my idea, the root filesystem is relatively put to data partition which is also mounted to /mnt/intSdCard path but top level. E.g. you can go to the folder where the Ubuntu files are living and see it without /sys, /proc, /dev, etc mounted. So you can directly make the tar.gz from here ;)
[Galaxy Note 10.1 General] X-Stranger:
Did you face any troubles with it?
[Galaxy Note 10.1 General] dvijetrecine:
hmmm, i don't quite understand what you mean, so i will describe what i done. i downloaded debian wheezy from linux deploy in form of img file, then i logged via ssh and try to make tar.gz from filesystem, and ofcourse i failed. so now you are trying to say that i need to install debian on separate partition and then make tar.gz of that partition when i'm on android. is that correct?
[Galaxy Note 10.1 General] X-Stranger:
I was expecting you are trying to build the archive of the Linux the same as mine, but you are playing with your own. To make the full arch of your distro including special folders you must boot to another system, mount partition with initial system, and make the tar.gz. Otherwise you must exclude at least sys/proc/dev folders from being added to the archive.
[Galaxy Note 10.1 General] dvijetrecine:
i tried to mount img file as partition but then half of the files were missing in archive. can it be that way because i tried to compress it as zip file, not tar.gz? i should try again as tar.gz, maybe it will work that way
[Galaxy Note 10.1 General] X-Stranger:
What files are missing?

Making zip of Linux system files is usually bad idea because it does not save all the Linux file attributes.
[Galaxy Note 10.1 General] dvijetrecine:
it looks like any app that i install was missing. for example, installed lightdm, and when compressed, it wasn't there, but when i mount img file through linux deploy and log via ssh it is there
[Galaxy Note 10.1 General] X-Stranger:
So you do login to Linux deploy, then install lightdm, then try to build zip and lightdm files are missing in that zip? Or what? I don't fully understand what is going on at your system.
[Galaxy Note 10.1 General] dvijetrecine:
sorry i forgot to mention it. when lightdm was installed i copied the img file to pc and mount it as partition, copied all files to zip, and lightdm dissapeared. i didn't try yet installing on separate partition on note so i don't know what would happen in that case
[Galaxy Note 10.1 General] X-Stranger:
Did you stop LinuxDeploy before copying img to PC? I no, please do. Also you should mount img from Linux only, Windows might not see all the files if you are using some special software.
[Galaxy Note 10.1 General] dvijetrecine:
i am not quite sure that i stoped linux deploy. and yes img is mounted from linux.

hmmm i think i should take another shot and start again. it looks like i messed up something
[Galaxy Note 10.1 General] halcyonabraham:
Well not yet really.

Im getting sick of kali

Cuz sooooooo many bugssssssssss

Plug in an otg and it freezes

Bluetooth doesnt work

Audio doesnt work

External usb doesnt work either

And man that image was almost a year old and no improvement

I seriously wanna try ubuntu ang add the kali repos for the tools is that possible?

If so how?
[Galaxy Note 10.1 General] dvijetrecine:
ok, moved from debian back to ubuntu, but not 13.10. I read somewhere that compiz is broken on 13.10 so my new mission is to boot ubuntu 12.04 on tablet.

it went smooth on begining (downloaded it from linux deploy, mounted img file, made a tar.gz, unpacked it on tablet), but when i tried to boot in it, it shows me "init:failed to create pty - disabling logging for job" error.

then i searched the web, founded that there is bug with upstart, but because we don't have grub on our tablet, provided fix is not helpful. is there any way to fix this error [MENTION=1185900]X-Stranger[/MENTION], or i have bad luck with this?

edit: i found fix for upstart, but again, it doesn't boot to login screen, it just hangs on /dev/mmcblk0p12 and says it is clean or something
[Galaxy Note 10.1 General] X-Stranger:
The problem is not with Compiz itself, but with Mali driver and the functionality it provides and supports, so keeping that in mind I'm not really sure your movement to 12.04 will help. But you could try of course.

If you need to add some kernel parameter you can re-compile kernel itself and update boot image, or directly go that place where some program is looking for special parameter and force the program to act like it is set.

Booting to login screen requires the Xorg Mali driver and libraries to be set and configured, which I don't think you already have on your 12.04. So you could temporary switch to using framebuffer driver, and I suggest you need to do that.
[Galaxy Note 10.1 General] dvijetrecine:
i was talking about standard 64/32-bit verison of ubuntu that have broken compiz, and i know that unity doesn't work because of missing drivers.

about booting to login screen: it doesn't even boot to tty screen like debian does, that is what concerns me. it just freezes on fsck screen. and, yes, i switched to fbdev, and modified xorg.conf to look for it.
[Galaxy Note 10.1 General] X-Stranger:
Thanks for the details, good to know that you already did the obvious things :good: Are you using one of mine menu or menu-less booting method? After filesystem check it is trying to run /sbin/init, probably you are missing it?
[Galaxy Note 10.1 General] dvijetrecine:
i'm using the menu-less booting method, and i'm gonna check if /sbin/init is missing later afternoon because i need to calm myself down first after contless hours of no success with booting it up :eek:
[Galaxy Note 10.1 General] X-Stranger:
You could also share your images with me, so I can check what is happening.

One more thing that you probably did, but just in case: when copying 12.04 files to your device, hope you did copy the tar.gz archive and unpack it at device itself.
[Galaxy Note 10.1 General] dvijetrecine:
okay, i'll upload img files later :good:

and, yes, ofcourse i unpack archives on device, just like you write in your how-to on first page

edit: here you go [MENTION=1185900]X-Stranger[/MENTION], i uploaded ubuntu img, but without drivers, modules, zimage, because i was using them from yours ubuntu (and i don't know if that might be the reason of my failures)

https://www.dropbox.com/s/t3c975d0gmaqnye/ubuntu.img.tar.bz2
[Galaxy Note 10.1 General] mogvo:
No pen...

This Image worked fine for my n8020, only my pen doesn´t work.

I got some errors when I run dmesg that says "c0 [E-PEN] I2C send failed(-6)"

and: "c0 [E-PEN wacom_i2c_query, failed"

Got any ideas for why this is happening?

Also wifi only works half of the way, I can see networks but I am unable to connect to them, just keeps timing out.

And thanks for the great work!
[Galaxy Note 10.1 General] :
Ubuntu doesn't start

Hello,

I've just followed this guide, but I have 2 problems:

First: When I select Ubuntu nothing happens, and i'm forced to power off the Note. (Recovery and reboot option work)

Second: I tried to remove Ubuntu folder, but:

AROMA FM hangs

ES Explorer counts files for about 10 minutes and then shows an error (can't remove ubuntu)

Oh, one more thing. First time i was extracting ubuntu i had not enough space, but i removed it with no problems.

Please help :)

EDIT: when i tap twice with SPen in boot menu, some text (device [11] already locked cpufreq) appears. I also found a way to remove files one by one via terminal.

EDIT2: tried recovery_nomenu, but I get:

ERROR: root device mounted successfully but /sbin/init does not exist

Bailing out, you are on your own. Good luck.
[Galaxy Note 10.1 General] X-Stranger:
Sorry for delay - was on vacation without access to the Internet.

I was suggesting to get the full image of your Ubuntu with all modules, recovery partition, etc. E.g. all the stuff you are using to check it.
[Galaxy Note 10.1 General] X-Stranger:
Looks like your device has a bit different hardware and you need a different kernel - Samsung has posted sources GT-N8020_JB_Opensource_Update1.zip on their site.

My kernel supposed to work (more or less) for n8000, n8010 and n8013 (it has different sources).
[Galaxy Note 10.1 General] X-Stranger:
Looks like the kernel is not able to find Ubuntu files. Please double check that you follow instructions.
[Galaxy Note 10.1 General] dvijetrecine:
Well, like I said in post before, i'm using your modules, opt and boot folders, and your recovery because i tought it will work that way. Guess I was wrong
[Galaxy Note 10.1 General] X-Stranger:
If you want using all the things from my distro - there is another stuff that also need to be put, rc.local file for example, which takes care about drivers loading, parameters setting, etc. I also did a few tricks to GLX libraries - all these was previously discussed in original thread about Linux on our device. I've just took them and adopted to Ubuntu.
[Galaxy Note 10.1 General] :
Removed all ubuntu files via ADB and unpacked again, now works. Thanks :)
[Galaxy Note 10.1 General] czikus:
Front camera

I'm using this image on my tablet and it works great. Thanks!

Could you tell me what would it take to get the camera running? Where should I begin?
[Galaxy Note 10.1 General] jika23:
Hi there, first of all I want to congrat you to make this awesome work, and allow us to get Ubuntu on our Note.

I've a N 8010 and I'm using the no-menu boot method it boots great but hangs a lot, forcing me to reboot with hardware keys. But once I reboot it brings me back to ubuntu even if I don't make the combination of volume key and power button, just a normal boot.

Only after I flash again cwm or twrp or philz recovery that I'm able to boot to regular android

Is this normal or should I clear all files and try again from the start?
[Galaxy Note 10.1 General] dvijetrecine:
If you reboot in ubuntu via power menu and choose recovery, then it will always go to recovery when you reboot tablet. And that's why you're stuck in rebooting to ubuntu. So next time when you wanna boot ubuntu do it with key combination not with power menu > reboot to recovery
[Galaxy Note 10.1 General] X-Stranger:
Correct. You could also use menu-based recovery which has reboot command to back to normal boot.
[Galaxy Note 10.1 General] X-Stranger:
I did not try to get it working. At least need to check if the camera device is already present in /dev and make sure it is possible to get images from it using some software. But I suggest it still requires some work in kernel driver and/or some special blob to be loaded with camera driver and/or using specially modified software to get pictures.
[MDA II, XDA II, 2060 General] thegeezer:
im not sure how to install this plug-in 1.80, can someone help me please 8)
[Samsung Galaxy S Relay 4G] mazak23:
I tried this with stock ROM and it's not working.

Seems that is not working in CM as well as I read somewhere here.

So anybody tried this :

http://xdaforums.com/showthread.php?t=1450298
[Galaxy S 4 Q&A, Help & Troubleshooting] williamats:
Hi! :D

1 - Since I've installed the GE on my S4 I lost 50% of internal storage. I read about this and I saw that it's a GE edition.

Is there any way to get the other 50% of internal storage back?

2 - What exactly is that Gravity Box?

Someone can help me?

Thanks!
[Galaxy Note II Q&A, Help & Troubleshooting] mridang:
My device is running Cyanogenmod 10.2 but over the last few months I can't see any signal bars and my 3G performance is horrible. I've been digging around on XDA and found that this can be resolved by flashing a new firmware but I don't know how and which firmware to use. My baseband is currently XXALIE.

I've made a backup of my EFS and my modem like this:

dd if=/dev/block/mmcblk0p3 of=EFS.img bs=4096
dd if=/dev/block/mmcblk0p10 of=XXALIE.img bs=4096

I now have a backup as everyone recommends. Could anyone guide me as to what to do next? I found this thread containing a list of modems: http://xdaforums.com/showthread.php?t=2044937 I also found another thread that explains about the signal-bar issue but I can't understand it: http://xdaforums.com/showthread.php?t=2332913

I would be really grateful if someone could help me out. Thank you.