yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 10.1 General] pwatkins:
Sorry to jump in on a very interesting thread but just a comment about printing.

Use Google Cloud Print and you can print to ANY printer which is attached to any computer running the same Google account as your Note 10.1. Not just computers on your local WiFi network but, via the "cloud", to any of your computers, anywhere in the world! Printing is trivial. Once you have loaded the app, "Cloud Print" appears, when you call Share, from nearly all app pages which include a Share Icon (arrow head) or Share in the main menu. Now I have upgraded to Jellybean 4.1.2 and Samsung's Premium Suite this is virtually all programs I use. Stock, Chrome and Firefox browsers, Aquamail Email, SNote, Office Suite Pro, Gallery and lots more. As long as your printer is switched on the printing starts in about 5secs. If you have a native file stored on your Note, or attached to an email, you can always print to Cloud Print with two clicks.You have access to the basic printer settings, portrait/landscape, black/ colour, paper size etc.More flexible printing than on my PC!

In the latest upgrade to Cloud Print the app now intercepts all calls to the "Print" command included in most Samsung apps, which previosly only worked with Samsung printers, and allows a direct Print command to any printer.

One of my favourite apps. Don't need Linux to print, but still a very interesting thread!
[Galaxy Note 10.1 General] aletheus:
hey, my russian is worse than your english, but i could help with translation.
[Galaxy Note 10.1 General] exception13:
it's need computer. i'm use my wi-fi router with jet direct daemon sharing usb printer and i can print from any device and don't need standalone computer.
[Galaxy Note 10.1 General] X-Stranger:
Quick question: after you've replaced stock recovery, do official updates work? (the ones you can check for from settings->about)

Actually I've done almost the same thing, but a bit different: using LinuxDeploy I've got installed ArchLinux to disk image file, then configured the things including Xorg + fbdev-driver for screen + evdev-driver for S-pen and hardware buttons + wacom-driver for touchscreen. Then you just need to start Linux from LinuxDeploy, run Xorg session and stop media/zygote from ADB and - voila! - you get working chroot-ed linux environment with native screen support without any VNC nightmares. When you need your Android env back - just start zygote/media via ADB and stop xserver.

The only problem that touchscreen (Wacom w8008 based on Atmel mXT1664S) does not work by default, because stock kernel does not provide correct ABS axis values for it, so I did a little dirty hack to xf86-input-wacom code to set xmax=1280 and ymax=800, then it has started to work, but is still not completely correct (precision and sensivity looks badly - probably there are some others things to be set correctly).

For sure topicstarter's method looks better, however I'm still worried about official updates... But anyway I would like at least to test dualboot method.
[Galaxy Note 10.1 General] mdalacu:
I think that you can always reflash original recovery by flashing a stock rom, so no problem here.

Can you try it and paste a guide here because the op is missing from his thread :) ?
[Galaxy Note 10.1 General] Jojo1992:
Something new ... ?
[Galaxy Note 10.1 General] Thyhack:
Just post your russian version, i will translate it.
[Galaxy Note 10.1 General] X-Stranger:
Current rootfs does not pretent to be working 100%. Camera/gyro/rotation do not work yet. Not all programs are working stable due to video driver and acceleration things (aplha 3D acceleration version). Also, previous rootfs was XFCE based, this one is Gnome3 based. If you feel XFCE working better for you now - feel free to install it. Or you can also switch to Gnome Fallback mode, it should also work better. Currently I would not recommend to remove Android at all.

Regarding OTG: I also have such kind of adapter, but it works for me. However this adapter is not official, I have bought it at DealExtreme. Have some thoughts, going to check.
[Galaxy Note 10.1 General] hiruna:
I understand

Yeah i understand you. I wudnt get rid of gnome though, its sexier :)

my otg is not also official. its from ebay. :/
[Galaxy Note 10.1 General] manmademagic:
Amazing work so far, everything seems to be working well enough to use semi-regularly.

It took a little bit of playing around, but I eventually managed to get wifi working properly using dhcp with netcfg, and now it's as simple as clicking on a launcher icon to connect to the wifi I need (Work, home, phone tether)

The on screen keyboard is a bit of a hassle, and it's quite painful at first trying to use nano to edit config files :P

I've found xvkbd is quite useful because it has arrow keys, which help so much in the terminal.

I've also had a little bit of trouble trying to increase the size of the linux.img filesystem, is there a way to run the fsck and resize2fs from inside of Arch? As I don't have access to a linux machine at the moment, but I can create a vm if it's absolutely necessary.

Keep up the excellent work either way!
[Galaxy Note 10.1 General] hiruna:
maybe, maybe not

There was no issues with WiFi in the new rootfs image other than taking a bit of time to appear the wifi networks (i rekon this is just loading of the drivers). It connects automatically.

About the resizing, I think you should grab a preinstalled arch vm image and use that to resize it. Other wise we can wait for X-Stranger to reply :)

But im that you can run fsck and resize2fs in arch. You will see that when sometimes when it fails to shutdown properly and when you reboot it, the recovery starts loading stuff the It asks you to run fsck. Oh maybe you can resize it from there. im not too sure.

Im going to resize as soon as i remove some junk from my tablet. Sucks to have 16gb version.

I hope it gives you some idea.
[Galaxy Note 10.1 General] manmademagic:
I had a few non-issues connecting using the new rootfs(at least I think it was the new one), nothing with the wireless interface itself, more to do with the hassles of manually configuring the SSID and key using nano.

Where is it automatic, by the way? I couldn't really find anything related to connecting to wireless, apart from modifying the wpa_supplicant/rc.local files, or adding the networks to the network.d folder for use with netcfg.

The fsck I need to do outside of arch, since it fails when it tries to automatically do it at boot, so it won't load the OS, and I'm too lazy to go about reconfiguring stuff from scratch again.

I think I might make a linux VM at work and see if I can repair the img file.
[Galaxy Note 10.1 General] hiruna:
hope this works

Woahhhh... I have no idea what's going on here. It perfectly connects to my WiFi networks automatically. I have two WiFi networks at home.they are both saved.

It takes bit of time to load WiFi inside. But as soon as its able to search networks, it connects to my network automatically.

fsck works on the boot. When it fails to boot and asks me to run fsck on the recovery terminal like thing, i just use my otg adapter to plug in the wireless keyboard and type in fsck .... /dev/loop0 and ye follow it.

U dont need to do it from outside to run fsck

I hope this helps.

If u dont have wireless, just use usb keyboard. It shud work. :)
[Galaxy Note 10.1 General] manmademagic:
Haha, sorry, I phrased that pretty badly.

Where can you configure the WiFi settings?

I'll try running fsck using OTG when I get home, didn't even think of that before.

Thanks
[Galaxy Note 10.1 General] hiruna:
:)

*fingers crossed* it should work,

if it worked, hit thanks :)
[Galaxy Note 10.1 General] hiruna:
any progress ? improvements ?

Hello X-Stranger,

any upgrades, improvements or progress with this ?
[Galaxy Note 10.1 General] ncc74656:
How do you install this? I copied linux.img to root of internal memory card, but what do I do with recovery.img?
[Galaxy Note 10.1 General] hiruna:
do this

linux.img must be in real sd card (internal)

use adb shell or terminal emulator and

do this:

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

hit thanks when it works :)
[Galaxy Note 10.1 General] X-Stranger:
Still trying to get OTG working again.
[Galaxy Note 10.1 General] hiruna:
ohh

oh okay then
[Galaxy Note 10.1 General] sutek484:
When i try the dd command i get /dev/block/mmcblk0p6 cannot open for write permission denied.

I have clockwork recovery mod installed but no idea if thats causing the problem.

Can anyone offer a suggestion please?
[Galaxy Note 10.1 General] hiruna:
superuser

You need to grant super user permissions

Before typing that, you need to type this : su

This will grant super user

It will return with nothing

Then use the dd command

Hit the thanks button if it helped :)
[Galaxy Note 10.1 General] diga1001:
I have a little issue. When I trie to reboot or shut down from your latest Arch img it stucks and won't do anything even after waiting (litterally) hours
[Galaxy Note 10.1 General] hiruna:
same here :/

So it happens to me too. Not sure why but. Only way to fix it is (the only way that I know) , hold down power until it restarts. It shud restart back to archlinux. If it boots normally, login and after its logged in. Hold down the power until it restarts then when it loads, it should be on like a command line and ask you to run fsck because it shutdown was forced or something

Then plug in ur otg cable/adapter along with a USB keyboard or a wireless keyboard and run ' fsck /dev/loop0 ' and it will ask you yes or no questions. Hold down enter until its finished or just keep pressing enter.

When its back on rootfs# , hold down Ctrl+Alt+Del

This will boot to android :)

So somehow need to boot to that rootfs# recovery terminal like thing to do it :/

I hope this gets fixed

If it works, hit the thanks button :)
[Galaxy Note 10.1 General] axxaax113:
Help

How to install??????

video tutorials?

Thank.....
[Galaxy Note 10.1 General] hiruna:
read this

here : http://code.google.com/p/opensgn/

hit the thanks button if it helps :good:
[Galaxy Note 10.1 General] axxaax113:
What "dd" ?

You tutorals?

I can speak english

N8000
[Galaxy Note 10.1 General] hiruna:
Here you go

Firstly, your device need to be rooted.

Second, I personally prefer you flashing cyanogenmod 10.1

Third download the rootfs and recovery img files

*NOTE* it is advised to do a full backup of the current rom (i didnt do it because its not neccessary)

Then, plug in your tablet to pc, copy over the recovery and linux img files (they will be inside the recovery.zip and rootfs.zip)

Open up a file browser in the tablet with root access. (i used the cyanogenmod file manager)

Move the linux.img to /mnt/shell/emulated <THIS IS THE ACTUAL 'sdcard' path, (because jellybean have multiusers)

once thats done, adb into the device from PC, " adb shell " in the command prompt or terminal

grant super user permissions by typing " su " <<<< this will return nothing

then type " dd if=/path/to/recovery.img of=/dev/block/mmcblk0p6 " (replace the path to recovery)

then it will say if was successful

then simply unplug your device and boot to recovery mode (which will boot archlinux)

This will work :)

Hit the thanks button when it works :) :good:
[Galaxy Note 10.1 General] A1taiR:
Hello

Could anyone with native linux on Note 10.1 capture the video of painting in Gimp with stylus pressure. I would lile to see, how the stylus feels in linux in compare to Android and how much is painting delay.

Thank you very much!!!
[Galaxy Note 10.1 General] FlamingGoat:
You need to install a terminal on your Note, eg Terminal Emulator from the store. Then type dd and the instructions from within there.
[Galaxy Note 10.1 General] ziprar:
haha this is revolutional, but the whole process needs to be simplified,

anyway thanks for excellent work
[Galaxy Note 10.1 General] Equilibrio:
Thanks :) it s work
[Galaxy Note 10.1 General] axxaax113:
Where to copy file recovery.img ??

Gửi từ GT-N8000 của tôi bằng cách sử dụng Tapatalk 2

---------- Post added at 07:04 AM ---------- Previous post was at 06:25 AM ----------

open terminal emulator and write

u0_a41@android:/ $ su

u0_a41@android:/ # if=recovery.img of=/dev/block/mmcblk0p6

u0_a41@android:/ # dd if=recovery.img of=/dev/block/mmcblk0p6

recovery.img: cannot open for read: No such file or directory

1|u0_a41@android:/ #

Gửi từ GT-N8000 của tôi bằng cách sử dụng Tapatalk 2
[Galaxy Note 10.1 General] hiruna:
replace the path

you need to replace the path. for an example.

if you copied the recovery image to internal storage (/storage/sdcard0) you would type dd if=/storage/sdcard0 of=/dev/block/mmcblk0p6

im not sure if that location is the same for your device. check it thru a file manager.
[Galaxy Note 10.1 General] axxaax113:
error

u0_a41@android:/ $ su

u0_a41@android:/ # dd if=/storage/sdcard0 of=/dev/block/mmcblk0p6

/storage/sdcard0: read error: Is a directory

0+0 records in

0+0 records out

0 bytes transferred in 0.001 secs (0 bytes/sec)

1|u0_a41@android:/ #

Gửi từ GT-N8000 của tôi bằng cách sử dụng Tapatalk 2
[Galaxy Note 10.1 General] mdalacu:
dd if=/storage/sdcard0/recovery.img of=/dev/block/mmcblk0p6
[Galaxy Note 10.1 General] hiruna:
missing recovery.img

You need to include recovery.img in the line

So : dd if=/storage/sdcard0/recovery.img of=/dev/block/mmcblk0p6

It will work :) :good:
[Galaxy Note 10.1 General] axxaax113:
ok,thank

Gửi từ GT-N8000 của tôi bằng cách sử dụng Tapatalk 2
[Galaxy Note 10.1 General] hiruna:
installation tutorial + discussion about just installation

New thread on how to install archlinux. Hopefully this will cut down the number of people asking about the installation here.

http://xdaforums.com/showthread.php?t=2195778

:)
[Galaxy Note 10.1 General] axxaax113:
i want open 3g on linux?

Gửi từ GT-N8000 của tôi bằng cách sử dụng Tapatalk 2
[Galaxy Note 10.1 General] hiruna:
Still to come

I believe that features like 3G are still being developed.

Any updates X-Stranger ?
[Galaxy Note 10.1 General] jcolinzheng:
Is there any way to have palm rejection?

I've tried xournal and mypaint, etc. Xinput seems to take inputs from both fingers and S-Pen.
[Galaxy Note 10.1 General] hiruna:
still at a early stage

Since this is still at an early stage of the development, those features are yet to come.

We'll have to wait for X-Stanger to reply back with an update
[Galaxy Note 10.1 General] axxaax113:
Interface

No other interface is not?

---------- Post added at 10:12 AM ---------- Previous post was at 09:46 AM ----------

i can install app on linux in terminal
[Galaxy Note 10.1 General] diga1001:
Probably a problem concerning the linux.img

while trying to reboot to android or even just to shut it down, the gui closes an i see the comandlince I also see at startup.

but than it hangs at:

[ 11.254429] c0 cpufreq_min_limit_store: Unlock request is ignored

/usr/sbin/alscatl: set_control:1464: Cannot write control '2:0:0:AIF1DAC1 DRC Switch:0' : Invalid argument

[ 11.706022] c3 Bluetooth: hci_uart_register_dev

after about 10 minutes it writes:

Sending SIGTERM to remaining processes...

Sending SIGKILL to remaining processes...

Unmounting file system.

Now it lists some things which are unmounted now

After that it deactivates swaps.

By detaching loop devices it errors that one is left.

This left one is obviously /dev/loop1.

Cannot finalize remaining file systems and devices, giving up.

[13270.855113] c2 (sec_debug_set_upload_magic) 0
[Galaxy Note 10.1 General] awe215:
same problem

I get the same problem here. It has something to do with the linux.img not shutting down properly. I keep the linux.zip on my external sd and unzip it into the internal sd (while in android) to fix this. Of course I lose all my changes to archlinux and have to set everything up again, which sucks.

I think turning off all wifi and bt and also picking "shutdown" instead of "restart" may fix this. But, that being said, I always forget and end up corrupting mu linux.img fairly often.

I would suggest saving all your work to the external sd card while in linux, that way you don't lose that each time linux goes kaput :-/
[Galaxy Note 10.1 General] axxaax113:
You can share linux.img on the clip?

Thank...

Gửi từ GT-N8000 của tôi bằng cách sử dụng Tapatalk 2
[Galaxy Note 10.1 General] thermatk:
easy guide

After a week of tries uploaded what I got to github and started a new thread:

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

Devs, please help us :angel:
[Galaxy Note 10.1 General] exception13:
good news. i'm write firmware loader for libsamsung-ipc for our modem and it's like works

[0] Starting modem on FMT client
[1] Starting modem_read_loop on FMT client
[2] Phone is powered up (LPM)!
[I] SIM card found
[3] SIM init complete
[4] Modem is ready, requesting normal power mode
[I] SIM card found
[3] SIM init complete
[I] Registered with network successfully!
[6] Registered with network! Got PLMN (Mobile Network Code): '25001'
[I] Registered with network successfully!
[I] Registered with network successfully!
[6] Registered with network! Got PLMN (Mobile Network Code): '25001'
[I] Registered with network successfully!
[I] Registered with network successfully!
[I] SIM Phone Book init complete
[I] Got an incoming call!
[I] CALL STATE RELEASED!!!
[I] Got an incoming call!
[I] CALL STATE RELEASED!!!
[Galaxy Note 10.1 General] thermatk:
You are a genius, seriously. I'll try to get more people to the project but can you share you bash_history about setting up debian on PC and chroot? I still can't recreate the consequence of your steps and get anything to work.

---------- Post added at 05:58 PM ---------- Previous post was at 05:54 PM ----------

exception13, what do you think of sunxifb video driver? http://ssvb.github.com/2013/02/01/new-xf86-video-sunxifb-ddx-driver.html

AFAIK it needs only fixes for working with multiple cores of Mali to show it's full potential but even in one core mode should be faster...
[Galaxy Note 10.1 General] hiruna:
i fixed the OTG issue :D

So hello everyone, i fixed the OTG issue which was really annoying.

I'm still testing if theres any issues but so far its all good :good:
[Galaxy Note 10.1 General] Rodney_51:
This is really good news, I finally will be able to connect mouse and keyboard.

Now, i am working on setting up local network (trying to add device to the network) and solve the problem with lack of space, because i can not install netbeans and correctly compile vcmi.
[Galaxy Note 10.1 General] hiruna:
how to fix it

Its really easy to fix the otg issue. But there's some sacrifice to it. which havent caused me any issues though. You need to edit the etc/rc.local file and comment out some lines. I personally think they dont do anything..(they probably do but its fine to me) im not currently in front of my desk so when I get back I'll post what it should look like

:laugh:

Oh BTW. You can resize the Linux.img from your computer.

Just like xstranger mentioned somewhere.

"

dd if=/dev/zero of=./piece_of_space.bin bs=1M count=100M

cat ./piece_of_space.bin >> ./linux.img

fsck -f ./linux.img

resize2fs ./linux.img

This will add 100 Mb of disk space to the image. "
[Galaxy Note 10.1 General] X-Stranger:
Arreyou talking about "echo 0 > /sys/devices/platform/s5p-ehci/ehci_power" line? It was added to save some power and it is USB related. Yes, disabling or removing that line should get system not hanging on connecting OTG and possibly fix reboot/poweroff hang issue.

Currently my rc.local looks like this and I have OTG working:

# cat rc.local
#!/bin/bash

echo 4 > /proc/cpu/alignment
echo 3 > /sys/module/cpuidle_exynos4/parameters/enable_mask

# restore brightness
echo 1 > /sys/class/backlight/panel/dimming
cat /var/local/brightness.state > /sys/class/backlight/panel/brightness&

# disable USB host power
#echo 0 > /sys/devices/platform/s5p-ehci/ehci_power

#ip link set p2p0 down
#ip link set wlan0 up
#wpa_supplicant -B -i wlan0 -Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf
#ip addr add 192.168.1.33/24 dev wlan0
#ip route add default via 192.168.1.1
#echo "nameserver 8.8.8.8" > /etc/resolv.conf
#echo "nameserver 8.8.4.4" >> /etc/resolv.conf

rfkill block 0
rfkill unblock 0

/opt/bluez/brcm_patchram_plus --bd_addr `cat /opt/bluez/bt_addr` --enable_hci --enable_lpm --no2bytes --tosleep 50000 --baudrate 4000000 --use_baudrate_for_download --patchram /opt/bluez/bcm4334.hcd --i2s=1,0,0,0 /dev/ttySAC0 >/dev/null 2>&1 &

# enable wakelocks
echo "power-supply" > /sys/power/wake_lock
echo "batt_work wake lock" > /sys/power/wake_lock
echo "fullcharge wake lock" > /sys/power/wake_lock
echo "sec_jack_det" > /sys/power/wake_lock
echo "mmc0_detect" > /sys/power/wake_lock
echo "mmc1_detect" > /sys/power/wake_lock

# some hack
echo 'cfq' > /sys/block/mmcblk0/queue/scheduler
echo 'cfq' > /sys/block/mmcblk1/queue/scheduler
echo 2048 > /sys/block/mmcblk0/queue/read_ahead_kb
echo 2048 > /sys/block/mmcblk1/queue/read_ahead_kb
echo '-1' > /sys/power/cpufreq_min_limit

echo '116' > /sys/class/sec/sec_key/wakeup_keys

# set wacom sampling rate
echo 133 > /sys/class/sec/sec_epen/epen_sampling_rate

# allow user access to vibrator (current use for haptic feedback with my patch for florance on-screen keyboard)
chmod 0666 /sys/class/timed_output/vibrator/enable

# start ADB service
/system/bin/adb_service&

# start bluetooth service
/usr/bin/valgrind /usr/sbin/bluetoothd --noplugin=mgmr >/dev/null 2>&1 &

/usr/sbin/alsactl restore -f /usr/share/alsa/ucm/Midas_WM1811/init.state

/usr/bin/alsaucm -c Midas_WM1811 set _verb HiFi set _enadev Speaker
/usr/bin/alsaucm -c Midas_WM1811 set _verb HiFi set _enadev Mic

exit 0
[Galaxy Note 10.1 General] hiruna:
Okay i'll check it out

Thanks for that :)

Okay so im freshly starting again. with your image. after the "dd" proccess is finished I'll get rid of that power off line and see. what i did was i got rid of some other lines too :P i thought they wern't neccassary but it still worked :)

anyway, how can i get rid of the fancy graphics in gnome ? i just want gnome they way it installed ? how can i do that ?

im going to xfce4 to avoid the laggin.
[Galaxy Note 10.1 General] X-Stranger:
You can use Gnome in fallback mode to avoid "laggin". My image has 3D acceleration tricky enabled, so to get fallback mode you need:

cd /lib/gnome-session
mv ./gnome-session-is-accelerated ./gnome-session-is-accelerated_saved
mv ./gnome-session-is-accelerated_ ./gnome-session-is-accelerated

Or something like that. The trick was to persuade Gnome that there is graphics acceleration by replacing special script it uses for check and keeping original aside. So to get it back you just move out my script and return back original file.
[Galaxy Note 10.1 General] diga1001:
For us "out-of-the-box (or better zip) users" might you upload a new img which is at the last updated point? for me it is realy hard to follow some of these steps especially because english isn't my motherlanguage.

Oh and again a big thanks to your work!
[Galaxy Note 10.1 General] X-Stranger:
Well, current builds are far from being used "out-of-the-box", it is still in very early alpha stage, so building new image for every small change is just a waste of time which I don't have so much free. So for you it is good challenge to grow your experience in Linux and especially in English, which is my native neither :)
[Galaxy Note 10.1 General] diga1001:
Well I have some linux experiences but they end at the point where it is different from my ubuntu (or if there is no gui) but I'll see how far I can get. But for me it is frustrating that I have to flash recovery every time after using newest build, because it won't shut down or even reboot (wrote it one or two pages before) but I can understand your point, too.

I think that I can speak English fluently and even can write most things without making it unreadable but especially Linux is full of technical terms which are different to the German ones I've learned ;)
[Galaxy Note 10.1 General] X-Stranger:
Well, latest change to rc.local should possibly fix reboot issue (at least it is so for me).

Recovery image needs update every time new kernel is built. There were only 2 rootfs images releases so you had to rewrite recovery only twice :) I am testing a lots of kernel versions, so I update recovery more often.