yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 10.1 General] ncc74656:
For me it doesn't work, I get this output:

sh-4.2# dd if=./recovery_menu.img of=/dev/block/mmcblk0p6

dd if=./recovery_menu.img of=/dev/block/mmcblk0p6

dd: can't open './recovery_menu.img': No such file or directory

I think it could relate to swapped internal and external memory cards. I have files from step 3 on external card. What would be the path instead of /data/media?
[Galaxy Note 10.1 General] loki495:
The "no such file..." means the recovery_menu.img is not being found on your current directory. Make sure you are in the directory where the file is, or change the command to dd if=<DIR>/recovery_menu.img of=/dev/block/mmcblk0p6, where <DIR> is where the recovery_menu.img is (for example /sdcard/download if you downloaded from a browser on your note and haven't changed your default download folder)
[Galaxy Note 10.1 General] X-Stranger:
What files did you upload? Did you rename recovery_menu.img to recovery.img as I mentioned in steps? You can also type "ls" command to get the idea what is in your current folder and "pwd" to check what is the path you are at.
[Galaxy Note 10.1 General] diga1001:
Great work again! Going to test it today or tomorrow. I asked myself if it is necesserry to run commands using adb or if terminal emulator would be fine, too.
[Galaxy Note 10.1 General] X-Stranger:
Well, copy-pasting from forum way more convenient than typing in terminal emulator :) But it is really up to you
[Galaxy Note 10.1 General] diga1001:
So basic process of getting it up worked in second try after doing it via terminal emulator failed. As many others I'm stuck at No ExtSdCard found

:/

-I'm not sure but i think it is exFat which might be the problem?!

-Would you mind it to tell me how to add a 4. line in bootmenu to start to android without going the way trough "native" recovery?

-Can I use any other recovery instead of the provided one? liked touchrecoverys more

edit: l am unable to save the edited FSTAB

edit2: Even if trying to chmod fstab or whole ubuntu folder I'm not able to save edited fstab neither using vi in terminal nor with any text app. It is also impossible to push a edited version of fstab via adb :/
[Galaxy Note 10.1 General] X-Stranger:
Yes, it might be.

DId you try 3rd line which is simple reboot? It should make your device booting normally, at least for me it is so, e.g. without going to native recovery.

Yes, you can. Unpack touchrecovery files to some folder, make /sbin/init symlink pointing to /init script, and replace "native" recovery folder.

Change file permissions to allow editing, currently it is owned by root (RootExplorer should help with that, or use chmod from ADB shell).
[Galaxy Note 10.1 General] X-Stranger:
I've prepared the TWRP recovery image

Download, unpack it to /data/media the same as native recovery, then make rootdev file looking like this:

Ubuntu=/media/ubuntu
Recovery=/media/recovery
TWRP=/media/twrp
Reboot=reboot

And you will get the touch recovery in addition to native.
[Galaxy Note 10.1 General] X-Stranger:
adb shell
su -
cd /data/media/ubuntu/etc
sed -i 's#/dev/mmcblk1p1#\#/dev/mmcblk1p1#g' fstab
exit
exit
adb kill-server
[Galaxy Note 10.1 General] diga1001:
well your last advice worked and I'm able to boot. After logging in I tried to connect to Wi Fi at University but if I try to enter login data it freezes :(

the reboot thing does not work for me as it just reloads this 3 lines boot menu
[Galaxy Note 10.1 General] X-Stranger:
From Gnome session? Did you try to move window?

Did you boot to recovery using hardware buttons? Or selected "reboot to recovery" in some application?
[Galaxy Note 10.1 General] diga1001:
well if you ask like that you might be right. l think that l always tried to move the window to see whole settings.

What do you mean? I long pressed pwr button and selected reboot and choose reboot to recovery. At the point where it hung I longpressed pwr button until it rebooted. If then selecting reboot in 3 lines menu it shows tons of commands passing and then reboots to the menu.
[Galaxy Note 10.1 General] X-Stranger:
Currently window moving in normal Gnome session does not work properly and hung your device. It is known issue for now.

I boot to recovery by long pressing vol/pwr buttons (as usual). When selecting reboot from menu it boots device normally. There are some application that you can use from Android to select what to boot. They do change something which tells device what to boot and this might be frozen. Currently I'm searching what is this thing to change to ask device to boot normally. As soon as I find it, I might add it to reboot option.
[Galaxy Note 10.1 General] Redeemed A.I.:
Hello,

I'm new to ubuntu for tablets.I currently have a note 10.1 2012 edition and I'd like to ask what features should I expect after installing this?For instance:

Can it run matlab?

Can it run eclipse?

Does it suppport steam games?

Thanks a lot for the effort you put in this app.I was also really happy to read spen button works for right clicking,which is awesome.
[Galaxy Note 10.1 General] dvijetrecine:
if anybody is interested, lubuntu, xubuntu and kubuntu are working... kubuntu is little jerky, but other two work flawlessly
[Galaxy Note 10.1 General] X-Stranger:
KDE is running, really? With 3D acceleration? If so - good news!
[Galaxy Note 10.1 General] X-Stranger:
You'll get real Linux on your tablet :) If you are not Linux user - probably you don't need it.

You can run all programs from Ubuntu armhf repository.

If Steam support ARMv7 processors / Mali400 graphics and have games compiled for it - then yes. But I would not expect it.

Thanks, glad to help :)
[Galaxy Note 10.1 General] dvijetrecine:
yeah, kind of... it does have some of 3d effects but it's nearly useless without title bar. there is openbox mode for kde but it doesn't improve much... you should try yourself and see
[Galaxy Note 10.1 General] X-Stranger:
Ahh, in that case it does not work.
[Galaxy Note 10.1 General] Arutemu:
"Broken" Ubuntu

Hi, X-Stranger :)

A lot of thanks for your work on this project!

I'm not Linux user, but i've managed to install Ubuntu with your instructions :)

Everything was fine at first, but after trying Gnome Openbox and reboot i've got a message that my notification daemon is not able to start ("another notification xndaemon is already running") and after that all i have is black screen.

Is there any way to resolve this in a simple way? :) (it means without wiping etc.)

EDIT. In the end resolve it by copying ubuntu image once again... But i think there was an easier way.

Sorry ifor such stupid question but how to acces extSdCard? :)

One more time thanks to you :)
[Galaxy Note 10.1 General] dvijetrecine:
for accessing extSdCard, edit fstab, uncomment mmcblk1p1 (or is it mmblk1p0?) and set uid and gid to 3008.
[Galaxy Note 10.1 General] dwegiel:
Gnome is absolutely horrid. Restarts or crashes with almost anything being done. KDE works much better.

REPORTING IN: GNOME FLASHBACK (no effects) WORKS PERFECTLY!
[Galaxy Note 10.1 General] Arutemu:
As for me Xfce session is the best option.

Everything works smooth enough.

Another dumb question - are there any way to raise perfomance?
[Galaxy Note 10.1 General] dvijetrecine:
well, if we have a fully working hw acceleration... try lubuntu, it's smoother/faster than xfce, at least for me
[Galaxy Note 10.1 General] Haabba:
please help me :)

soory for my bad english

can i do this (setup ubuntu in n8000) by this method by "Linux Deploy" program from Google Play or by terminal emulator

dd if=/dev/block/mmcblk0p6 of=/boot/recovery.img

because i cant use ADB tools an i cant setup it :(

you give us 3 files :

1>recovery_menu.img

2>recovery.tar.gz

3>ubuntu.tar.gz

can u mix 2>recovery.tar.gz + 3>ubuntu.tar.gz to be one file as liunx.img to be easy to set up by this method by terminal emulator

dd if=/dev/block/mmcblk0p6 of=/boot/recovery.img

---------- Post added at 11:25 PM ---------- Previous post was at 11:19 PM ----------

1) Copied linux.img and recovery.img to /storage/sdcard0

2) dd if=/dev/block/mmcblk0p6 of=recovery.img_orig

3) dd if=recovery.img of=/dev/block/mmcblk0p6

4) reboot into recovery-mode
[Galaxy Note 10.1 General] Arutemu:
Yeah, you can install ubuntu by terminal emulator :D
[Galaxy Note 10.1 General] codral:
nvm, sorted this out, brilliant, massive props to dev, amazing.
[Galaxy Note 10.1 General] Haabba:
okay

how i can do this please ???? can u tell me
[Galaxy Note 10.1 General] Liquidmetal6:
I need some help please...

I thought I followed the instructions exactly but...I get

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

Bailing out, you are on your own. Good luck. "

And it boots directly to this and I can't it to do anything else besides give me this error message or to boot into download mode.

Edit:

Okay, I restored the normal android boot by flashing a new custom recovery via Odin, but now I am afraid to continue...can anyone give any help or advice?

Yep I've tried multiple times...no go. I get the same error listed above.
[Galaxy Note 10.1 General] codral:
Hey mate, the same thing happened to me and it turned out it was because I didn't rename the file recovery_nomenu.img or recovery_menu.img to simply recovery.img. Whichever you choose you need to make it recovery.img... hope that helps.
[Galaxy Note 10.1 General] Liquidmetal6:
I thought for sure I did that...I think I'll re-download everything and restart from scratch. Thanks for the response!
[Galaxy Note 10.1 General] codral:
has anyone got wine working yet? http://forum.winehq.org/viewtopic.php?f=2&t=17701

theres someone with it running through qemu on an ARM processor... but its possibly a little intense for me to figure out

edit: found a hp elitebook version with wine included, dont know if this would work on note ?

http://xdaforums.com/showthread.php?t=1304475&page=86

ALso this guy http://xdaforums.com/showthread.php?t=1258506 claiming running on 400mhz processor this was about 2 years ago o.0
[Galaxy Note 10.1 General] Liquidmetal6:
Yep I went through again, no luck.

I don't really get what I'm doing wrong...I basically copy-pasted each line into the terminal.
[Galaxy Note 10.1 General] codral:
Hey mate, this fix half works for me, i see my wireless mouse and keyboard now and can connect, but input doesnt work, any suggestions?
[Galaxy Note 10.1 General] Arutemu:
All steps from the instruction are working in the terminal as well as in ADB. If you are using stock rom (or stock based) all will be fine.

If you are using using cyanogen based rom then you should use path like this

gunzip -c ./0/recovery.tar.gz | tar -x

In case I am wrong please correct me)

P.s. Any way to make pressure sensivity working?
[Galaxy Note 10.1 General] Haabba:
i cant understand any thing !!!! please tell me the full way to setup ubuntu by terminal ??
[Galaxy Note 10.1 General] X-Stranger:
Confirmed that reboot options boots custom recovery again. To fix this I've composed small reboot program which should reboot our device properly. So I've prepared fixed recovery_menu.img version and uploaded it to the hosting. Please download, test and let me know how it works for you.
[Galaxy Note 10.1 General] X-Stranger:
Wine will not work on ARM processor, so you should try QEMU.

I did run "WinXP Mini" from QEMU within my previous ArchLinux, and it was really slow. Not sure if things changed.
[Galaxy Note 10.1 General] X-Stranger:
Fine that it works. However I also had to add one line in the very beginning of the /etc/rc.local file:

#!/bin/bash

# prevent rc.local.from being running twice
if [ `ps -A | grep adbd | wc -l` -gt 0 ]; then exit 0; fi

# start ADB service
...

This line checks if ADB is already running and exits from script if so. Without that check some process in Ubuntu is trying to run rc.local script twice, and this might cause small weird issues. Probably that is your issue too. Also try to unpair/pair back your devices and check Gnome bluetooth options regarding those keyboard/mouse.
[Galaxy Note 10.1 General] X-Stranger:
Just interesting thing: I was able to implement the dual boot with CM 10.2 on my device. That is not so easy to do right now (e.g. not for newbies in Linux) because it requires 2 additional partitions creation and CM is using its own kernel which should be boot instead of mine. This means that currently booting CM from my custom menu will not work, but is possible when rewriting boot partition with CM boot image (with a little fix to use additional partitions as system and data partitions).

P.S. Why I did dual-boot? Don't want to purge original firmware, I like Samsung virtual keyboard, S-Pen applications and TouchWiz shell. But want to give a try CM 10.2 - it works, more or less. But after test-drive I'm going to keep it as a second firmware on my device.
[Galaxy Note 10.1 General] X-Stranger:
Just FYI: have tried to build CM 10.2 kernel with our fixes merged for my Ubuntu - it is newer (3.0.64) than ours (3.0.31), but has old Mali (r17 while we have r19), so the graphics did not want to work properly. Still want to check HardKernel sources and try to merge latest Mali drivers if there were any updates since I've seen it last time.
[Galaxy Note 10.1 General] codral:
Ah excellent, thanks for that i'll take a shot and let you know how i go

---------- Post added 17th December 2013 at 12:09 AM ---------- Previous post was 16th December 2013 at 11:53 PM ----------

I'll try QEMU, this is admittedly basically my first experience with Linux, so I'm learning as I go, took me half of yesterday just to figure out that ARM processors won't run x86 stuff without emulation...

FYI for anyone keen to give this a shot, if you can google then this will work, follow the instructions on the first page exactly and you'll eventually get there.

Also FYI for anyone with graphical issues, the GNOME flashback version mentioned earlier in this topic can be accessed by choosing Session> under login and selecting it.
[Galaxy Note 10.1 General] Arutemu:
My Gnome flashback isn't working :(

Just black screen, white borders and any reaction on "mouse" buttons.

What am I doing wrong?
[Galaxy Note 10.1 General] X-Stranger:
You do not read the first post in that thread.

I've mentioned that there might be issue like that. Login to normal Gnome mode, then logout and login to the Fallback.
[Galaxy Note 10.1 General] dvijetrecine:
guys, i made custom onboard layout, anybody interested?
[Galaxy Note 10.1 General] Arutemu:
I'm sorry, I paid too much attention to the installation process and missed some tips;)

Are there any chances for working pressure sensivity?

And one more problem - sometomes virtual keyboard doesn't appear (like on lock screen).
[Galaxy Note 10.1 General] younix258:
I am
[Galaxy Note 10.1 General] dvijetrecine:
here you go :) extract and copy to /home/android (or what username you use)/.local/share/onboard/layouts/
[Galaxy Note 10.1 General] Blue Prague:
I have a question.

I wonder how to set the ubuntu file to the extsdcard..
[Galaxy Note 10.1 General] X-Stranger:
Do you mean Ubuntu install to external sdcard? Well, in this topic the Ubuntu comes as a set of Linux files, e.g. your SD card must be ext4 formatted or have ext4 partition. As soon as you get it, I might generate special initrd.img for you to boot from sdcard, or you can even edit initrd.img using abootimg tools, if you have experience.
[Galaxy Note 10.1 General] Blue Prague:
Thamk you for youe reply.

At first,I'm sorry for my English skill because I'm a Chinese ,so please forgive me .

Actually ,I'm just a freshman .so iI don't think I can edit it by myself .If you can generate it for me ,I will appreciative for your help .

my email address is bmxuchao@gmail.com
[Galaxy Note 10.1 General] zander21510:
So I followed the directions exactly, only I had to use /data/media/0 to get it to work right instead of /data/media. Got this when I tried to boot, no menu or any prompt. Could that be causing the issue?
[Galaxy Note 10.1 General] Arutemu:
No, there is something different in your situation. I also am using path "/data/media/0/" and everything works.
[Galaxy Note 10.1 General] zander21510:
I tried the steps twice with the same result, this screen. Andy ideas?
[Galaxy Note 10.1 General] dvijetrecine:
i had an exact problem before and solved it by placing all files to /data/media. it looks like it can't access 0 folder
[Galaxy Note 10.1 General] X-Stranger:
It is looking for the rootdev file in the /data/media folder. You have to put it here, but Ubuntu files can be in /data/media/0/ubuntu. In that case you should also edit rootdev file to contain that path.
[Galaxy Note 10.1 General] dvijetrecine:
yup, it make sense when you say it that way xD but, i like it more in /data/media because my internal sdcard is full of folders... in short it's mess in there. it's simpler for me to separate those two.

oh, and one question - how to access internal sdcard from ubuntu? is it enough to uncomment line in fstab, or i need to set gid and uid also?
[Galaxy Note 10.1 General] zander21510:
Something odd is going on here...my internal storage location is /data/media/0; in /data/media there are only folders 0; legacy; and obb. Wiping internal storage in my recovery (which looks to be trying to wipe /data/media) doesn't do anything. I'm using the N8013 model btw with a 32gb SD card inserted. Ideally I want to put it on that SD card...i'll play around with it and post results thanks for the help! :)

---------- Post added at 12:56 PM ---------- Previous post was at 12:31 PM ----------

All right! Got it working. Just had to manually move the files from /sdcard/ to /data/media within Android. Then all the commands worked fine
[Galaxy Note 10.1 General] zander21510:
I hate to be a bother...but can you make a twrp recovery image for the latest version (2.6.3.0) please? I tried to look into how to do it myself but it's a little beyond my technical skill I think. I just can't figure out how to take the .img file and turn it into a directory inside the tar.gz file. That's what I'm stuck on. Thanks!
[Galaxy Note 10.1 General] X-Stranger:
Attached is recovery img with menu which looks for rootdev file at /data/media/0 folder. Put the file here and modify it to point to correct location of your Ubuntu files.
[Galaxy Note 10.1 General] X-Stranger:
Internal Sdcard should already be mounted to /mnt/intSdCard path. If the mounted folder is not correct - edit /etc/rc.local file in the end and modify the path to be proper.

gid and uid fixes are required for extSdCard
[Galaxy Note 10.1 General] X-Stranger:
See attached
[Galaxy Note 10.1 General] X-Stranger:
Attached is recovery img file, which is trying to mount the first partition of your external sdcard (mmcblk1p1) as ext4 volume and looks for rootdev file on it.
[Galaxy Note 10.1 General] dvijetrecine:
yes, yes, it is mounted but i had a problem that folder 0 (zero) gives me "permission denied" message when i try to access it. i got rid of this error simply by editing permissions for that folder in android and now i can access it.

you talked about dualbooting two android versions, one that boots directly, and one that boots from recovery menu. did you succed in that? because i got other idea on my mind - what if we delete native android (just wipe system folder)? that way tablet will go to recovery menu everytime we turn it off and on. is it possible to add android OS to your boot menu so that it is not installed on system, but on /data/media?
[Galaxy Note 10.1 General] X-Stranger:
No, I did not succeed in adding 2nd Android (CM 10.2) to my boot menu - it uses different kernel and is not able to boot with mine, but I am able to boot it by replacing native boot partition with customized CM boot partition. In details, I have cut a piece of data partition (mmcblk0p12) and created 2 new partitions (mmcblk0p13 - CM "system", mmcblk0p14 - CM "data"). Then I've modified all CM fstabs including those in CM boot partition. Then, if I burn CM boot partition to mmcblk0p5 (replacing native boot), I'll see CyanogenMod booting. If I want to get native firmware - write native boot image back to mmcblk0p5 and reboot. Now I'm thinking about composing a little application which will overwrite boot partition with image I want to boot right now, and install that app into both Android OSes.

It is also possible to write CM boot instead of recovery, and I'll get dual-booting system, however without recovery itself (CM will take its place).

So answerring your question, it is possible to move system to data partition (not to media folder however), but what is the reason for that? Where are you going to move data partition then? Looking more deeply I think it is possible to have both system and data together, this requires a few tricks in fstabs and allowing system to be read-write of course, but I would keep it separated.

P.S. I've also tried to create 2 partitions at external sdcard and put CyanogenMod here, but it is way too slow, so I decided to have it on internal memory.
[Galaxy Note 10.1 General] dvijetrecine:
so, you wanna say that we can't just add another android version to boot from folder like you did with ubuntu? unless, ofcourse, both OS-es use same kernel?
[Galaxy Note 10.1 General] zander21510:
Sweet! Thanks so much! I'm loving having CM and a full blown Ubuntu on my tablet!

edit:nvmd, the capacity is accurate :)
[Galaxy Note 10.1 General] X-Stranger:
Yes, that is correct. I would like to say that currently Ubuntu, Native Recovery, TWRP images I've created - all are using the same kernel. If CM can boot it - then it is possible to add it to menu (playing a little with partitions, but not folders yet). I've tried to build CM 10.2 kernel with my patches - currently it does not work. If you have kernel knowledges - feel free to play with my GitHub-hosted sources.
[Galaxy Note 10.1 General] dvijetrecine:
hmmm i presume that aosp and aokp roms use same kernel as cm so they won't work too. but what about samsung's stock rom?
[Galaxy Note 10.1 General] Blue Prague:
thank you very much!

Besides,i have found another bug ,a little problem .when i run the game （about cards ,i have forget its name ）,the system will reboot .

At last ,Merry Christmas !
[Galaxy Note 10.1 General] X-Stranger:
Well, I did not promise 100% work :) Looks like that game is using something special in graphics. Could you please let us know what is that game exactly?
[Galaxy Note 10.1 General] X-Stranger:
Stock ROM has kernel similar to CM one, e.g. it does not contain all the features required for Linux run.

Btw, while digging CyanogenMod and Linux I've found the way to make dual-boot with CM 10.2. See the separate thread about that
[Galaxy Note 10.1 General] Haabba:
Any one help me please ??? whats problem with me ??

Any one help meee please ??????
[Galaxy Note 10.1 General] X-Stranger:
Please describe what exactly did you do, what version of device and firmware do you have. Without this it is hard to understand what are you doing.
[Galaxy Note 10.1 General] Haabba:
this is my problem !!!!

hey man that is what i did ...

i couldn't use ADB shell by my pc so i used terminal emulator on n8000 after i rooted my device

i did these stips :

1) Copyed all files (recovery.img(with menu), recovery.tar.gz, ubuntu.tar.gz) to my sd-card internal storage

2) Open terminal (with root permissions)

3) In terminal write blue lines one by one

su -

mount -o remount /

cd /data/media

dd if=./recovery.img of=/dev/block/mmcblk0p6

then i when inter this order to unrar recovery.tar.gz, ubuntu.tar.gz

gunzip -c ./recovery.tar.gz | tar -x

gunzip -c ./ubuntu.tar.gz | tar -x

but after

gunzip -c ./recovery.tar.gz | tar -x

and

gunzip -c ./ubuntu.tar.gz | tar -x

it give me >> not Found !!!!

then i unrar recovery.tar.gz, ubuntu.tar.gz on my pc and copy folders "ubuntu" and "recovery" to my sd card

and reboot to recovery mode

this image for my device informations
[Galaxy Note 10.1 General] Yanluk:
Ok I'm stuck here:

ADB doesen't work (no devices attached)

Any idea how i can recover from here?

EDIT: ALL GOOD recovered with odin
[Galaxy Note 10.1 General] Yanluk:
Ok I can't get passed the screen as per my previous post.

I understand that i need change where the software looking for files, but for me it look right.

Im on 8020, anyone have any idea?