yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 10.1 General] shocksofmighty:
Might want to edit first post

FYI, you might want to edit the first post. The recovery files are named recovery_nomenu.img or recovery_menu.img, but the commands refer to just recovery.img. This threw me for a loop because I didn't realize I had another recovery.img in the same download directory where I downloaded the nomenu version. Of course, I was cutting and pasting and pushed the wrong recovery and was getting strange errors.
[Galaxy Note 10.1 General] jika23:
If some of you like me, upgraded to official 4.4.2, the step 5 of the tutorial

" # 5. go to the internal sdcard real path, where you uploaded files

cd /data/media"

Should be

cd /data/media/0

Edit:

Unfortunately with this new directory, 0, it doesn't boot cause can't find the path of the folders.

Do you know of any workaround to make this work.

Edit 2:

Stupid me, I just made a backup some time ago of the rootdev file, and just copy paste from a fat 32 partition, so the permissions were all messed up.

And after all it can be data/media , wich actually it's better making my internal memory card much cleaner, from a file browser point of view.

Enviado do meu GT-N8000 através de Tapatalk
[Galaxy Note 10.1 General] theprogram1:
Hey guys, so I feel as though I'm close but yet so far. So the recovery and the ubuntu files are extracted in the root of the sd card and rootdev is in /data/media. Now how would I set the directory of the extracted files in the rootdev? I have tried /data/media , /ubuntu, /sdcard/ubuntu, but none of them seem to work. :/ It says it cannot find the folder and doesn't exist.
[Galaxy Note 10.1 General] jika23:
Wich version of Android are you using?

Cause when I was at 4.1.2 I just needed to follow the tutorial and all works fine.

The issue started when I upgraded to 4.4.2.

Enviado do meu GT-N8000 através de Tapatalk
[Galaxy Note 10.1 General] awesomefireduck:
Upgrading and/or bluetooth

Would it be possible to get this to work with ubuntu 14.04? (for LTS)

and can bluetooth be fixed? because that would be fantastic.(bluetooth audio/tethering to tablet via bluetooth)
[Galaxy Note 10.1 General] Navybound95:
Is there any way to install a virtual machine on this? Maybe install windows xp or something. I know it wouldn't really be usable but more of a novelty thing.
[Galaxy Note 10.1 General] diga1001:
I think it's not possible due to the fact that the Note 10.1 has an ARM processor but windows would need an x32/x64 processor.
[Galaxy Note 10.1 General] Vihru:
will that tutorial work with if i have kitkat now on my note 10.1?
[Galaxy Note 10.1 General] miamo:
For me it didn't work being on kit kat on my n8010.
[Galaxy Note 10.1 General] dvijetrecine:
Guess, what. i got decorations on kde working. now it is usable to some point, but i don't have enough knowledge to get notifications clickable (most of the buttons when you expand notifications are unresponsive)

anybody who is interested in kde, to make decorations appear you need to change window manager, in default apps in settings, to metacity

oh, and compiz is kinda running. installed mali drivers from odroid and compiz didn't return any egl errors, just when i try unity --replace it freezes after showing unity desktop

---------- Post added at 04:44 PM ---------- Previous post was at 04:43 PM ----------

it works on kitkat. you need to put files in /data/media

a little update. today i updated to 14.04.1 and guess what? it works. at least i got graphical login and xfce. it would be very nice if you, [MENTION=1185900]X-Stranger[/MENTION], would like to mess a little bit with it, because lots of things are half-working, and my knowledge is not so good as yours. so, if you find some time in future it'll be nice to have 14.04 ubuntu working on tablet :D
[Galaxy Note 10.1 General] lucasasus:
ubuntu 13.1 in gt-n8010, working but too slow

I installed ubuntu 13.1 in gt-n8010. working ok, but too slow. It is not possible to upgrade to 14.04 because always i tried to upgrade the installation failed.

thanks
[Galaxy Note 10.1 General] polzavotel:
I stuck. I followed instuction (but I used data/media/0 instead of data/media because my internal sd card files was there for some reason) and ended up with console-like black screen saying it can't find some directories. I fugured out I should move rootdev file from data/media/0 to data/media. I got into menu and recovery and rebooting into android works but when I choose "Ubuntu" option ut just stucks at black screen saying:

"An error occured while mounting /mnt/extSdCard

keys:Press S to skip mounting or M for manual recovery"

The problem is I don't have a keyboard (obviously) and I don't know what file I have to configure.
[Galaxy Note 10.1 General] Calvin4all:
bluetooth still not working

Hi, i just wondered if anybody here was able to set up bluetooth correctly.. in the last two weeks i went through dozens of hints and tips how to set up bluez to work correctly, but the Microsoft wedge keyboard just won't cooperate :crying:

the device can be found with hcitool scan, and i already set it trusted, i get correct information with hcitool info <bt MAC addr> of hci0 device, but as soon as i connect via bluez-test-input connect the dbus throws the above mentioned dbus.exception and i was not able to fix it..

tail -f /var/log/syslog | grep blue

shows

...
bluetoothd[PID]: HCI dev 0 up
bluetoothd[PID]: Could not get the contens of DMI chassis type
bluetoothd[PID]: Unable to load keys to adapter_ops: Function not implemented (38)
...
bluetoothd[PID]: HCI dev 0 down
...
[Galaxy Note 10.1 General] nando88:
recovery

I used the recovery that has a menu, but when I'm in the last step, I get: sh: can't create ./rootdev: read-only filesystem. How can I fix this? I'm using cyanogenmod 10.1.

Thanks in advance.
[Galaxy Note 10.1 General] nando88:
Boot Error

When I try to boot ubuntu, I get an error that says: device mounted successfully, but can`t find sbin/init, and ubuntu wont start, because it stays on the menu screenwith the error.

I placed the files in mnt/shell/emulated, and I ran the commands with this path. I`m using cyanogenmod in my note 10.1.

I also tried placing the files in the sdcard, and changing the path to sdcard in the echo commands, but I still receive an error that says:

root device mounted successfully, but /sbin/init does not exist.

Can someone please help?

Thanks in advance.
[Galaxy Note 10.1 General] xxxTy3uKxxx:
Place rootdev file into /data/media and add into rootdev file "/media/0/ubuntu" or just place ubuntu folder into /data/media folder with Total Commander or Root Explorer, etc.
[Galaxy Note 10.1 General] atlas356:
Where is /data/media located? I don't have it in android 4.4.2? I have stored files in /emulated/0/
[Galaxy Note 10.1 General] X-Stranger:
If anyone is still interested in..... Going to update Ubuntu for N8000 tablet soon.... Probably without Gnome - just LXDE or XFCE....

Collecting feedback on what version of Android you guys are using to post correct step to get it working.
[Galaxy Note 10.1 General] X-Stranger:
Okay, nobody is interested. So I'll focus on my own device in that case
[Galaxy Note 10.1 General] vihash:
Man I just read your post.

I'm very interested.

Vince
[Galaxy Note 10.1 General] jika23:
Yeah plus one, I would love to see a updated Ubuntu on our tablet

Enviado do meu GT-N8013 através de Tapatalk
[Galaxy Note 10.1 General] :
This is pretty sweet indeed. Im pretty interested in this, hacking this device since i bought years ago.

So the challenge is that im coming from a custom cyanogenmod lollipop build. Following your guide from the original post, I think the dd command writes to an invalid partition.. i guess... the command "works" but I cant notice a difference in booting regular android or recovery or download mode... but as a nerd.... i want this.

This is the output of the blkid command, maybe you could use this info:

root@p4noteltevzw:/ # blkid

/dev/block/mmcblk0p3: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"

/dev/block/mmcblk0p10: SEC_TYPE="msdos" UUID="29B2-ACBF" TYPE="vfat"

/dev/block/mmcblk0p11: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"

/dev/block/mmcblk0p12: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"

/dev/block/mmcblk0p13: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"

/dev/block/mmcblk0p14: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"

/dev/block/mmcblk0p16: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"

Output of df:

root@p4noteltevzw:/ # df

Filesystem Size Used Free Blksize

/dev 910.0M 40.0K 909.9M 4096

/sys/fs/cgroup 910.0M 12.0K 910.0M 4096

/mnt/asec 910.0M 0.0K 910.0M 4096

/mnt/obb 910.0M 0.0K 910.0M 4096

/system 1.5G 683.9M 828.0M 4096

/efs 19.7M 4.3M 15.3M 4096

/cache 1007.9M 17.4M 990.5M 4096

/tombstones 252.0M 18.2M 233.8M 4096

/firmware 199.8M 45.3M 154.4M 4096

/data 11.0G 8.5G 2.5G 4096

/mnt/shell/emulated 11.0G 8.5G 2.5G 4096

/storage/emulated 910.0M 0.0K 910.0M 4096

/storage/emulated/0 11.0G 8.5G 2.5G 4096

/storage/emulated/0/Android/obb 11.0G 8.5G 2.5G 4096

/storage/emulated/legacy 11.0G 8.5G 2.5G 4096

/storage/emulated/legacy/Android/obb 11.0G 8.5G 2.5G 4096

Edit: Allright, i've used the recovery cache log to determine which partition is used, in my case it was mmcblk0p9. The challenge now is the data partition... It aint mounted in mmcblk0p12 like other people have already experienced this. Is there a possibility to flash the custom recovery via Odin mode?
[Galaxy Note 10.1 General] :
Alright, after going to stock on my 8020, i've rooted it, flashed recovery and installed busybox.

I'm now able to boot ubuntu...s loading screen (the one with foot-icon) but it stays there... any clues?

Note: I've flahed the recovery menu which boots mmcblk0p16, not mmcblk0p12. My Android version is 4.4.2.

Edit: When im booting ubuntu via menu, i'll get a screen which says:

"The disk drive for /mnt/extSdCard is not ready yet or not present, keys: continiue to wait, or press S to skip mounting or M for the manual recovery" ... i can toggle between the loading and this screen using the volume buttons - is this keeping the os from booting?

---------- Post added at 12:59 PM ---------- Previous post was at 12:51 PM ----------

Allright, after inserting a microsdcard into the sdcard slot, it boots... I'll try to boot the device without an sdcard, if someone has an idea how to do it... cheers!

Edit2: It boots nicely :) There are several other challenges now... the spen isn't working and i'm only able to use single-touch and virtual keyboard for input, which is enough for hacking at least. Its also impossible to move windows in xfce, gnome and lxde..

x-stranger, any ideas?
[Galaxy Note 10.1 General] :
I think my problems are similar to mogvo - so I've to compile my own kernel? This wouldn't be a problem, because I'm a long time arch linux user - what was your workflow for compiling this kernel? I don't think i just can download the GT-N8020_JB_Opensource_Update1.zip file from samsung, compile and push it to the device, am i right?

PS: I know this thread is old, anyway, were hackers.
[Galaxy Note 10.1 General] X-Stranger:
I have just updated to latest Ubuntu 14.04 LTS. Think that keeping on stable version makes more sense...
[Galaxy Note 10.1 General] X-Stranger:
8020 is something different, probably it requires different kernel even though it boots nicely. Or need to play with touchscreen drivers at least... I'm thinking about compiling the latest available Samsung kernel, but this requires a lots of effort to port our patches to it. Need time...
[Galaxy Note 10.1 General] X-Stranger:
Was able to make Samsung keyboard dock working from Ubuntu. Now tablet is acting like a regular desktop with touchscreen :) Looks really funny :cool:
[Galaxy Note 10.1 General] Anathem4:
i getting error if i use external sd card for unzip recovery and ubuntu . sd is ext4 .

"tar: can't create symlink from ......... . init: function not implemented . rooted and busybox installed . i use cm12 .

with data/media/0 i have errors on location 0 not found when booting to recovery and also it dont let me move or delete ubunto and recovery folder . even with root explorer .

can u make a clear instructions on how u installed 14.4 pls ?
[Galaxy Note 10.1 General] marco9333:
Thanks for this X-Stranger :D

Our tablet is on a different level with linux on it. By the way can I ask you which mali binaries are you using (I'm trying to find some that are behaving well, I've also tested with the ones at sunxi but they aren't working)?

Using the guide in opensgn github and your kernel I've managed to boot fedora 23 (it's working well enough excluding bluetooth).

PS:

If someone is interested I've modified the original version of xournal adding a filter input (it actually smooth the strokes and remove the little jitters/commas that appear when raising the pen from the screen). My sources are https://github.com/marco9333/xournal-code
[Galaxy Note 10.1 General] erwin1983:
Dear guys,

I have tried flashing [MENTION=1185900]X-Stranger[/MENTION] 's image and it worked (gt-n8000; stock 4.x). After full wipe, flashing to cm12.1 and repeating the procedure obviously mounting did not work. Since I get to a shell and I do not find rootdev oder ubuntu files. What to do? [MENTION=6357879]theWicket[/MENTION] You told, there were used a different partition instead of mmcblk0p12 and you used a recovery booting another one. How did you do this?

rootdev resides in /data/media and /data/media/0, so I should see the menu if booted correctly.

Sincerely, erwin.

Afterwars a commandprompt [rootfs /]#
[Galaxy Note 10.1 General] ml11ML:
Hey guys,

i tried installing this on my note today but when i go into the recovery it gives the same errors as the guy above this post has. The other thing is that now it always reboots to recovery from where i cant do anything to get it to boot to system. Its a real pain as it cant be turned off either it just keeps rebooting into the recovery text that ends up with same errors.

Can anyone at least help me with some ideas to get it to boot back into android?

Thanks

---------- Post added at 10:49 PM ---------- Previous post was at 10:13 PM ----------

Nevermind..... after about 10 min of randomly holding buttons i got it to boot into download mode and installed stock android.
[Galaxy Note 10.1 General] theprogram1:
I have a question how did you install 14.04 LTS? I want to get started to install this on my n8013. Is it the same instructions with the provided files in the op?
[Galaxy Note 10.1 General] Sithhy™:
I want to buy the Note 10.1 just to have Ubuntu on it made by you... I know it doesn't offer much in terms of functionality (can't do much on ARM) but I still would love to have it, just because I love stuff like that [emoji1]
[Galaxy Note 10.1 General] ml11ML:
Finally got it to work after re flashing the ROM 5 times (no idea what caused it to fail before) but now pretty much anything i try to install with apt-get gives a 404. Anyone has any approximate idea where else to get stuff like gimp or openoffice/libreoffice for arm? Quick google searching didn't show up anything useful. But at least the Chromium works pretty nicely and is fairly fast.
[Galaxy Note 10.1 General] ya.Moxa:
help please, installed on 8020 all works exept spen and wifi. spen is not necessary, but wifi is. i can see all networks, but i canno connect( help please(
[Galaxy Note 10.1 General] apristel:
[MENTION=1185900]X-Stranger[/MENTION]

This is amazing. Thanks for the hard work.

If you update, I'm interested.

I do have a few questions.

1. Can you give me a n00b guide to repair bluetooth? I saw the fixes but not exactly sure on how to implement them.

2. How do i get the keyboard to pop up when needed?

3. Not critical, but, n00b guide to get the SD card R/W. IDC about reading it from Android, I'll never go back!

Thanks -apristel
[Galaxy Note 10.1 General] X-Stranger:
Unfortunately my 2012 year device is not working anymore: last time the battery was not good, and finally the flash memory has given up. So I'm not able anymore neither to develop new versions, nor compose any guides as soon as I have no possibility to reproduce steps. Sorry about that. But you can read the earlier steps again and try following it.
[Galaxy Note 10.1 General] kevinl7778:
You can lead a a horse to water, but you cant teach it to drink.

Thank you for all of your hard work on this project, I have a n8013 running boefella kernel, gnabo rom v8, twrp 2.6.x.x and native recovery.

Recover fails to mount /data.

Can you tell me what was required to extract the files from the twrp.img.md5 so I can (try to) upload the latest twrp?

Looking forward to 16.04 but I want to get my back up options inline first.

Kevin.
[Galaxy Note 10.1 General] ml11ML:
Does anyone have any idea how to debug this sort of thing? Basically i am running on the linux a program called ExaGear Desktop that allows you to run x86 programs on arm devices. Firstly there seems to be absolutely no usable thing in apt-get update so i had to manually install a few packages with a .deb file to get exagear to even install (coreutils curl realpath). The program runs fine but once i try to open any windowed application in the x86 "world" like firefox or wine and a MS Office installer the problems start... The window opens fine and runs for a few seconds (got the firefox to even load fully one time but it usually lasts shorter time) then without any sort of triggering event or anything the whole os just randomly shuts down and shows the boot text for 0.5sec then puts me back at the login screen. I can reproduce this as many times as i want as nothing else seems to ever happen. On a Raspberry Pi 2 (a computer with a similar cpu to the notes cpu (same architecture and only minor differences other than speed)) this problem never happens so i am sure it must be either due to the system being a outdated version or something else with the OS. I have used linux on desktops but i have no idea about troubleshooting or debugging, so if any one of you could provide me with some directions to maybe find out what causes the thing to freak out, that would be very much appreciated.
[Galaxy Note 10.1 General] UG1988:
Model: GT-N8010

Android v: 4.4.2

Kernel: 3.0.101

Rom: Gnabo.Rom.v8

Step 9 fix and work.

echo "Ubuntu=/media/0/ubuntu" > ./rootdev
echo "Recovery=/media/0/recovery" >> ./rootdev
echo "Reboot=reboot" >> ./rootdev
[Galaxy Note 10.1 General] sharbich:
Samsung Galaxy Note 10.1 (SM-P605)

Hello my dears,

can I install it on a Samsung Galaxy Note 10.1 (SM-P605)?

Can you help me with this?

That would be very nice and great of you.

Best regards from Stefan Harbich
[Galaxy Note 10.1 General] dwegiel:
This is great. Question though, why are ODROID products not experiencing the Mali hardware acceleration issues we are? Pretty sure they have had fully functional acceleration for a while now, along with Allwinner products (I think A10 also has Mali400 core, please correct me if I'm wrong). What is the driver being used, limadriver or something proprietary? Have you updated the HardKernel at all or is it the same port from ArchLinux?
[Galaxy Note 10.1 General] panoz:
For a moment there I forgot I was in native linux! Fstab, mtab, and all the other guys in etc are back where they belong! hahahaha!

As I'm not near the tablet ATM to see for myself, is there a NTFS module for this kernel? Even a read only one? Or perhaps an exFAT?
[Galaxy Note 10.1 General] loki495:
anybody else having issues with bluetooth? when i enable it it still shows as disabled.
[Galaxy Note 10.1 General] younix258:
Wow, thats all very encouraging...

Dont worry about making an image for me, my device is low on space anyways so if anything, ill delete arch altogether and put ubuntu. Will be doing this when i find some time after finals week. Thanks very much for the work and for the answers :D keep it up!

Would love to help if i could. Lemme kno if you need help from a random person with no skills lol
[Galaxy Note 10.1 General] dvijetrecine:
how to make external sdcard mount as rw? i tried editing fstab but i only get it to mount as read only and that realy annoys me -.-
[Galaxy Note 10.1 General] X-Stranger:
I use the same from my ArchLinux: Samsung kernel sources + official Mali kernel patch + official Mali xorg driver, e.g. not from hardkernel, but I think they use the same.

HardKernel sources have support for Exynos4412 chipset for sure, but do not have support for other Samsung things included into device.

However I'm thinking about taking a look at their sources.
[Galaxy Note 10.1 General] X-Stranger:
I did include NTFS support into the kernel (CONFIG_NTFS_FS=m / CONFIG_NTFS_RW=y) but may have forgotten to install Ubuntu NTFS tools. You can do it by yourself.
[Galaxy Note 10.1 General] X-Stranger:
Okay, I've prepared initrd.img which is mounting mmcblk0p16 (see attached). Please burn it to the correct recovery partition, don't forget to edit rootdev file for menu and let me know if this fix helps.
[Galaxy Note 10.1 General] X-Stranger:
Ah, my bad. Please fix fstab extsdcard line by changing uid and gid to 3008 value. This will ask system that extsdcard is owned by android user.

P.S. On ArchLinux where this file was taken from this user has another ids and I've forgotten to change that.
[Galaxy Note 10.1 General] X-Stranger:
Confirmed, the solution I've taken from ArchLinux does not work in Ubuntu. To fix Bluetooth, please overwrite /opt/bluez/brcm_patchram_plus file with attached to this message (don't forget to unpack it before) and make it executable ("chmod +x /opt/bluez/brcm_patchram_plus"). Then go to /etc folder of Ubuntu, find rc.local file and comment out the line starting with "/usr/bin/valgrind ...", save file and reboot.

Please let me know if this helps. As for me, I was able to connect my bluetooth mouse after fix.
[Galaxy Note 10.1 General] loki495:
this is my syslog after restarting the bluetooth service

android@GT-N8000:~$ sudo tail -f /var/log/syslog | grep blue
Dec 9 03:30:01 localhost bluetoothd[4990]: Terminating
Dec 9 03:30:01 localhost bluetoothd[4990]: Stopping SDP server
Dec 9 03:30:01 localhost bluetoothd[4990]: Exit
Dec 9 03:30:01 localhost bluez: Stopping uarts
Dec 9 03:30:01 localhost bluez: Stopping rfcomm
Dec 9 03:30:01 localhost bluetoothd[6064]: Bluetooth daemon 4.101
Dec 9 03:30:01 localhost bluetoothd[6064]: Starting SDP server
Dec 9 03:30:01 localhost bluetoothd[6064]: DIS cannot start: GATT is disabled
Dec 9 03:30:01 localhost bluetoothd[6064]: Failed to init deviceinfo plugin
Dec 9 03:30:01 localhost bluetoothd[6064]: Failed to init proximity plugin
Dec 9 03:30:01 localhost bluetoothd[6064]: Failed to init time plugin
Dec 9 03:30:01 localhost bluetoothd[6064]: Failed to init alert plugin
Dec 9 03:30:01 localhost bluetoothd[6064]: Failed to init thermometer plugin
Dec 9 03:30:01 localhost bluetoothd[6064]: Failed to init gatt_example plugin
Dec 9 03:30:02 localhost dbus[2142]: [system] Activating service name='org.blueman.Mechanism' (using servicehelper)
Dec 9 03:30:03 localhost blueman-mechanism: Starting blueman-mechanism
Dec 9 03:30:03 localhost dbus[2142]: [system] Successfully activated service 'org.blueman.Mechanism'
Dec 9 03:30:03 localhost blueman-mechanism: loading RfKill
Dec 9 03:30:03 localhost blueman-mechanism: loading Network
Dec 9 03:30:03 localhost blueman-mechanism: loading Config
Dec 9 03:30:03 localhost blueman-mechanism: loading Ppp
Dec 9 03:30:33 localhost blueman-mechanism: Exiting
[Galaxy Note 10.1 General] dvijetrecine:
thanks man, it's working now :D
[Galaxy Note 10.1 General] X-Stranger:
P.S. You might also need to set your device bluetooth address in the /opt/bluez/bt_addr file. Currently it holds my own :)
[Galaxy Note 10.1 General] X-Stranger:
Press "thanks" button if so :)
[Galaxy Note 10.1 General] X-Stranger:
I have posted the solution here: http://xdaforums.com/showpost.php?p=48294877&postcount=30
[Galaxy Note 10.1 General] panoz:
Sure can. I'll check how it goes and report back..
[Galaxy Note 10.1 General] ncc74656:
Is the following command correct to have recovery with menu?

dd if=./recovery_menu.img of=/dev/block/mmcblk0p6
[Galaxy Note 10.1 General] dvijetrecine:
yup, it's correct