yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 10.1 General] diga1001:
Ok I'll try the latest fix and report if it helped ;)

I think you understood me wrong. I had to flash Clockworkrecovery everytime the linux wasn't able to shut down caus it was the only way for me to boot back to android.
[Galaxy Note 10.1 General] jojo1419:
So where exactly do you change the echo0 line? I did it with terminal (because i did not have permission with a normal editor), removed the line then saved it. But it didnt work....
[Galaxy Note 10.1 General] hiruna:
use gedit

so what i do is, i use gedit to edit it. download gedit (pacman -S gedit ) and on terminal, type ( sudo gedit /etc/rc.local ) it will open it with su permissions. so u can save it :)
[Galaxy Note 10.1 General] jojo1419:
Yeah thats what I did too but i didnt change anything :/ even try to delete everything and copy pasting xstragers rc.local file but it didnt do anything :/
[Galaxy Note 10.1 General] hiruna:
ummm

i think its not open with root permissions. :/ check on that again
[Galaxy Note 10.1 General] diga1001:
might one of you devs be so kind and explain me how I can enable a VNC server to use my pc to enter it. I already tried vncserver but it failed.

Edit:// Never mind. I remembered that you implemented adb so I'll use this.
[Galaxy Note 10.1 General] DF5JT:
Congratulations on this wonderful piece of work and your effort in getting piece after piece working.

Since the Hardware of the Galaxy S3 is pretty similar to the Note 10.1 I wonder what will be necessary to port this thing over to the S3. Any ideas?
[Galaxy Note 10.1 General] Arutemu:
Hi guys)

Are there anything new?

Your Debian is much more comfortable than Kali Linux from other thread)
[Galaxy Note 10.1 General] X-Stranger:
Fresh kernel versions

Posting updated Kernel versions + modules:

for the systems on mmcblk0p13: http://d-h.st/YLP

for the systems on mmcblk1p1: http://d-h.st/Abz

Based on Samsung offiical opensource kernel Update7 + our patches. You need to unpack the archive, put modules to the right place, update initramfs image, update recovery with fresh kernel and updated initramfs files.
[Galaxy Note 10.1 General] seb7o:
is it possible to get android and gnu installed, like when booting device: being asked which system to boot?
[Galaxy Note 10.1 General] X-Stranger:
This requires boot loader to be changed. Currently we use only stock boot loader.

One of good possibilities to implement "boot loader" alike functionality is to setup special type of boot partition containing kernel with kexec-support and some menu utiity in initrd image. I've tried this, but looks like kexec does not work. If somebody knows how to fix it - please send me working kernel patch.
[Galaxy Note 10.1 General] A1taiR:
Kali linux on Galaxy note 10.1

I'll just leave this link here

http://xdaforums.com/showthread.php?t=2222498&page=2
[Galaxy Note 10.1 General] Arutemu:
Any news, guys?)

Hope this project isn't abandoned.
[Galaxy Note 10.1 General] r_e_v:
Patches and Config

Hello guys, huge thanks for this great job!! :highfive:

I'm interested to run Debian on my upcoming n8010..could you post kernel's config and patches? I definitely want to give it a try!
[Galaxy Note 10.1 General] cctoro:
Conflicting Dependencies

Wow, impressive! Very nice job.

I keep getting dependency conflicts when trying to update though. I'm new to Arch Linux, its going to take some getting use to.

Here is the error:

error: unresolvable package conflict detected

error: failed to prepare transaction (conflicting dependencies)

:: bluez an obexd-client are in conflict

Not sure how to resolve this.
[Galaxy Note 10.1 General] evilx_systems:
I'm having similar issues trying to upgrade this image. The current upgrade for archlinux involves an intervention as discussed here:

*URL can't be listed because I'm a noob with < 10 posts :/ Go to the archlinux website...it's there *

I'd really like to upgrade this image so that I can install libreoffice from the repositories, which I currently can't do. From my attempt at following the instructions I was stopped because rc.d remained in sbin and was owned by the filesystem and initscripts. I tried moving sbin to sbin_old and forcing the upgrade, but I broke my image. It's not clear if it was broken due to the forced upgrade or having it hang afterwards after reboot or the subsequent e2fsck that gave me more problems than I've ever seen. Perhaps X-stranger has updated his image successfully and can post a new one, or walk us through what the problem is?:confused:

Also I've noticed that this image has something strange with gnome-games that's giving me problems doing a full update as well.

-jason
[Galaxy Note 10.1 General] evilx_systems:
I went back to my backup image and now I'm getting the same bluez conflict that you are, something must have changed in the repos in the last two days and I have no idea either how to fix it....
[Galaxy Note 10.1 General] cctoro:
I ran #pacman -Rdd *filename* to get rid of any problem files like bluez and/or obexd-client. I was going to reinstall/update them after I updated the system, but I got a new error "file conflicts" in filesystem. So I ran #pacman -Syyu --ignore filesystem, this updated most of the files but gave more errors (don't remember what they were) and broke the image. The "file conflict" error in the filesystem seems to be a common problem in Arch Linux (its all over the Arch forums), I haven't been able to find a solution to.

If you want to save changes you've made, copy the revised linux.img to sdcard and if your image gets broken just replace the broken image with the backup.

Anyone get any other distro's working? Does anyone have a copy of the Debian image?
[Galaxy Note 10.1 General] cctoro:
Has this been abandoned? I have not heard anything in a while.
[Galaxy Note 10.1 General] evilx_systems:
I've been talking with X-STRANGER over email...he's using a different image now and manually updated all of his packages. He says he's really busy right now and can't post a new image. He did say that we shouldn't uninstall initscripts since he's using them...not sure how to proceed...I'm thinking maybe we should try starting with a new image and patch everything again.
[Galaxy Note 10.1 General] written_tabletpc:
This are awesome news :)

How difficult is it, to port this to the Samsung Galaxy Note 8.0 (GT-N5110)?

Thanks for your answers.
[Galaxy Note 10.1 General] heavylildude:
Framebuffer

Hi all, been tracking down this amazing thread for awhile.. KUDOS for this amazing work!

Btw I've managed to successfully use framebuffer with ubuntu raring 'dual-boot' (not really sure if its dual boot) using Linux Deploy.. s-pen works, networking works etc..

How is this project different from Linux Deploy Framebuffer?
[Galaxy Note 10.1 General] darksabre_x:
This preceded the framebuffer mode. It allows you to dualboot, however framebuffer mode on Linux Deploy is pretty awesome. While it's functionally similar, this setup is without all the android bits running underneath.
[Galaxy Note 10.1 General] heavylildude:
I see that..

Personally I love the easiness of framebuffer mode for its “no-set-up“ environment, no need to reconfigure wifi, 3g, bluetooth whatsoever.. just load up your xorg.conf and its done..

Is there any significant 'speed-boost' between 'real dual-boot' and framebuffer mode? Cos as far as my experience, my framebuffer set up run even smoother than Raring on Pineview/Cedarview Atom Netbooks! :D

Anyhow HUGE respect to everyone involved here! Someday we'll have X and mobile-environment running side by side.. Imagine Win 8 like Metro & Desktop mode applications running on an affordable double-octa-core processor, what a dream phablet it will become :laugh:
[Galaxy Note 10.1 General] evilx_systems:
I've been unable to get frame buffer mode to work on the galaxy note 10.1. Can you tell me how you've got it configured? I can get graphics when I suppress the android UI, but I can't get any touch input. Any tips?
[Galaxy Note 10.1 General] chachmar:
help

Hi all I have tried the aforementioned method but havent had any luck booting. I must inform you that I am using the stock image rooted. Steps I have taken are as follows, downloaded source for 5110 from opensource.samsung and compiled with patches using the config specified by the readme (supplied config not for my device), modified initrd as described, remade recovery image with abootimg, after all of this when I boot into recovery it shows the samsung logo pauses at black screen for a second shows samsumg logo again and then reboots into android. Has anyone ran into this problem? My device in its current state can run cwm recovery so I know it supports custom boot.img. I donk know where I go wrong. Is there any way to debug at boot obviously logcat is not an option?
[Galaxy Note 10.1 General] heavylildude:
What rom are u on and what distro did u use? I'm on custom stock (self debloat) 4.1.2 using ubuntu raring 13.04 set your video to fb0 and drop the android UI, you'll be able to boot back to android after you logout from ubuntu.. make sure you set your xorg accordingly.. match your xorg.config with your android input.. you can take a look at your android's via android terminal typing cat proc/bus/input/devices

Simply include input event for spen, bluetooth keyboard, mouse, etc.. :good:
[Galaxy Note 10.1 General] evilx_systems:
I'm on the stock rom 4.1.2, ive tried several distros the one im using right now is arch with lxde. Can you link me to something explaining how to set up the xorg.conf? That cat command you listed didnt return anything in android.
[Galaxy Note 10.1 General] mdalacu:
[MENTION=3656471]heavylildude[/MENTION] Please, can you write a complete guide how to install Raring using Linux Deploy and framebuffer? And also posting all the necessary files. Thanks.
[Galaxy Note 10.1 General] heavylildude:
alrite mate, will try to write about this but gimme some time.. office works gone bizzare these few days.. :silly:
[Galaxy Note 10.1 General] heavylildude:
thats strange, below's me cat results.. will try to write about mine in few days mate.. hands quite full rite now, sorry..
[Galaxy Note 10.1 General] evilx_systems:
it works now...not sure what I screwed up before...ill search around and see if I can get it xorg configured now...thanks!
[Galaxy Note 10.1 General] mdalacu:
Thaks again, but please can you post just xorg.conf.

I have managed to get Ubuntu Raring on my N7100 using framebuffer and also the SPen, by setting the input into Linux Deploy (/dev/input/event12). I can't seem to get working any onscreen keyboard (gnome/kde). How are you doing it?

Also, were you able to get system-center in any DE working?

Thanks.
[Galaxy Note 10.1 General] heavylildude:
aaah good for ya mate! So I wont need to write anymore LOL... okay here's my xorg.conf

Section "ServerLayout"
Identifier "Layout0"
Screen "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "evdev"
Option "Device" "/dev/input/event6"
Option "ButtonMapping" "1 3 0"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "evdev"
Option "Device" "/dev/input/event8"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "evdev"
Option "Device" "/dev/input/event9"
EndSection

Section "Device"
Identifier "Card0"
Driver "fbdev"
Option "fbdev" "/dev/graphics/fb0" #linuxdeploy
#Option "Rotate" "CW"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
[Galaxy Note 10.1 General] mdalacu:
[MENTION=3656471]heavylildude[/MENTION], Thank you again for replying but can you post a screenshot with the end of the file /proc/bus/input because on my N8000 i don't have anything over event7. So i need this to see the name of the devices for the event mapping. Event6 i think it is your SPen mapped as mouse0, but i don't make the rest of them.

What about an onscreen keyboad. What are you using?

Thanks.
[Galaxy Note 10.1 General] heavylildude:
Yep, event6 is spen mapped as mouse with pen button click as right-click, event 8 and 9 are bluetooth mouse and keyboard, event 7 is compass sensor which i didnt use..

I'm using xkvbd as my onscreen keyboard..
[Galaxy Note 10.1 General] mdalacu:
Hi [MENTION=3656471]heavylildude[/MENTION] I thought that you have mapped the touch buttons or the touchscreen some how. I don't have any bluetooth devices, so that's why the missing events.

Also, xvkbd was the only onscreen keyboard that worked.

Have a nice day and thank you for all your help!
[Galaxy Note 10.1 General] heavylildude:
Not really mate, Florence Keyboard is working as well.. Its just rather ugly for me taste (It has bubbly skin whatsoever LOL) Glad its working on ya mate, cheers! :highfive:
[Galaxy Note 10.1 General] Sendora:
Fedora 18 arm on N8000

Yay after weeks of efforts I can boot the selfcompiled kernel ...

Fedora 18 - KDM/ KDE

Try to write a Howto soon ... :)

Video is on youtube
[Galaxy Note 10.1 General] cctoro:
Nice Job. Looking forward to a guide. Can you share your image files with us? Can we just flash them like the Arch files?

Here is the link to the videohttp://www.youtube.com/watch?v=EzE-D3u3ulA
[Galaxy Note 10.1 General] awe215:
Fairly excited about the prospect of KDE and Krita running on the note.....any chance we could get that how-to ? Thanks :)
[Galaxy Note 10.1 General] hiruna:
Request for updated links

Hello

I havent been able to work with this project for a few months as I was busy with school

Can someone please link the updated rootfs image and recovery image

And please mention whats working and any bugs

Thanks
[Galaxy Note 10.1 General] shocksofmighty:
The most recent combo of linux.img/recovery.img doesn't work too well. It will boot, but many things can't be installed/updated. A complete update fails miserably. One main thing seems to be the need to update the mali driver with the most recent xorg server version. No one has posted how that was done originally, so I'm a bit at a loss on how to get that accomplished. Here are the steps I've done to get close, but still stuck on the video driver:

Edit /etc/pacman.d/mirrorlist to get the closest mirror, edit /etc/pacman.conf to point cache to either mounted ext sdcard or /tmp (not enough space in the default to deal with all packages; ignore if you have expanded the size of the image)

pacman -Rdd bluez gnome-games

(removes some conflicts and annoying replacement messages)

pacman -Su --ignore filesystem,bash

(downloads a bunch of stuff, installs)

pacman -S bash

rm -Rf /usr/sbin (needed to get filesystem installed)

pacman -Su

(installs filesystem)

System reboots but fails to load mali driver (either no loading of X or get the sad computer screen face).

I think an updated version of mali driver is likely all that is needed in this case. Looking into how to compile that now.

relevant part from Xorg.log.0:
[Galaxy Note 10.1 General] leal81:
debian is working, but in external sdcard

First of all, thank you very much to you and exception13. You rocks!

I follow your instructions and build a Debian/Gnu Linux perfectly. But without mali support.

Can you please share the pacthes ? Because, i'm not using rootfs in internal, but in a external sdcard.

Thankyou again.
[Galaxy Note 10.1 General] dwegiel:
Is there any chance of seeing a more popular OS, like Fedora, Linux Mint, Debian or Ubuntu being released? I've looked all over XDA and with Google but to no avail. Everything is either ArchLinux (absolutely foreign to me and the releases become crippled after any sort of update) and Kali (really? sacrificing 7GB of space?). Someone please help us out, this tablet is great with Android, it can be greater with Linux.
[Galaxy Note 10.1 General] hiruna:
Ubuntu

I've been working on Ubuntu and got it partially worked but not fully. I decided to abandon the project as I got no help from anyone. If anyone wants to help me out, I'm happy to sacrifice my time again for this.

Thanks
[Galaxy Note 10.1 General] dwegiel:
Please by all means release what you have working. Arch is even worse than kali for me, as everything I attempt to do crashes it. Chromium cant even load pages fully.
[Galaxy Note 10.1 General] hiruna:
Yes i can

Yes i dont mind sharing my work and i'm more than happy to help you out. If you can give me some time, i'll set up the enviorment again and re work on it (i have a 32gb ultra samsung sd card so i partition it and install it directly there, since i abandoned this temporarily, i decided to remove it and use it only for storage for the tablet) I'm really busy these days (exams + school)
[Galaxy Note 10.1 General] dwegiel:
Still have the compiled .img rootfs?
[Galaxy Note 10.1 General] dwegiel:
Bump, I've attempted to follow the opensgn-easy tutorial and have a functional debian .img in Linux Deploy. However, the framebuffer still refuses to work and gives me a black screen when starting the system. I've installed LightDM through VNC. Before that a login to tty1 screen did come up, but due to a lack of an OTG cable, I can't log in that way. Any ideas? I think this may be framebuffer related.
[Galaxy Note 10.1 General] saturn_de:
Why "-l" ? This does not make sense.

Oh, and what's the purpose of the initramfs without udev-rules? If all the drivers are compiled in the kernel, you don't need an initramfs at all.
[Galaxy Note 10.1 General] Sendora:
Well ... it works :D
[Galaxy Note 10.1 General] Kondra007:
I don't see Exception13 in this post. Is he gone?
[Galaxy Note 10.1 General] dwegiel:
I assumed so, hence I made a new thread in android development to spread the word about this project.
[Galaxy Note 10.1 General] dgilmore:
Fedora does ship desktop images for KDE, XFCE, LXDE, Mate and Sugar. seems there is some steps in here that are unneeded
[Galaxy Note 10.1 General] Sendora:
/sarcasm on

wget http //fedora. org/$Desktop/image.img

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

reboot recovery and you are welcome to

show me your result :D

/sarcasm off
[Galaxy Note 10.1 General] dwegiel:
Oh god, even I know that would go absolutely nowhere. Sendora, could you please in any way post a compiled .img already? My x86 machines are complete junk, so I can't compile the kernel and modules.

Actually it seems you don't need anything other than the tablet. Wow. I'll have a go at ubuntu then.
[Galaxy Note 10.1 General] Sendora:
What r u going to do with my img?

Is your ext4 on /dev/mmcblk1p2 ?
[Galaxy Note 10.1 General] dwegiel:
I would place on the root of my SD and run it.

I have the ext4 filesystem on an .IMG file that Linux deploy has created. I didn't flash it to a partition.
[Galaxy Note 10.1 General] ZenM:
extSD Partial Booting

There is no way to run the linux img if stored in the extSD?

Using a small img to load the one in the ext Card?

Thanks for your time and all your work.
[Galaxy Note 10.1 General] aytech:
hi all

to sendora

please can you make a full tutorial on how to install a native linux on GN10.1 please

im just a newbie and i want to try it i like linux and it would be cool to have it on my tablet

i have GN10.1 gt8020

thx
[Galaxy Note 10.1 General] dwegiel:
I managed to boot Fedora 19 to the login screen, no success past that unfortunately. I can't use the touchscreen or external keyboard. What have I done wrong?
[Galaxy Note 10.1 General] Sendora:
# VirtualKeyboard

yum install kvkbd

vi /etc/kde/kdm/Xsetup

add "kvkbd --loginhelper &"

Externel keyboard? Is your blueooth activated?
[Galaxy Note 10.1 General] dwegiel:
I meant as with USB otg. And the touchscreen doesn't work at all. Maybe my setup is wrong? I'm using the setup from Arch Linux in terms of the recovery.img... is that fine or do I have to compile another?h
[Galaxy Note 10.1 General] Sendora:
Maybe you forgot to install a xorg driver ...

Can you provide your /var/log/Xorg.log ?
[Galaxy Note 10.1 General] dwegiel:
They are all clear O_o (as in no entries at all, just empty file).
[Galaxy Note 10.1 General] Sendora:
rpm -qa | grep xorg?
[Galaxy Note 10.1 General] dwegiel:
To clarify, I should start it in Linux Deploy, then run these commands through SSH, yes?
[Galaxy Note 10.1 General] Sendora:
:good:
[Galaxy Note 10.1 General] dwegiel:
Will start once more in native mode and report back.

---------- Post added at 10:23 PM ---------- Previous post was at 09:35 PM ----------

Upon startup:

I have a feeling something is up with it choosing "localhost" as the default login despite the fact I set up "android" user to autologin. Cursor does blink, system doesn't seem crashed.
[Galaxy Note 10.1 General] :
It's choosing localhost, because that's the device name. Not the username:
[Galaxy Note 10.1 General] dwegiel:
Ah ok, I'm starting to confuse myself. I spent close to 15 hours trying to get a distro going.

------------------------

A "duh" moment just took place: I didn't compile the modules. Well that's why mouse and keyboard were non functional. Dammit.
[Galaxy Note 10.1 General] :
Haha I always have duh moments.... I'm currently about to try and install linux onto my Note 10.1 as well, hopefully it works out fine.. Just waiting for Linux Deploy to finish downloading.
[Galaxy Note 10.1 General] dwegiel:
Do everyone a favor and share the .img before you over-personalize it with private details and the like :P
[Galaxy Note 10.1 General] Sendora:
yum install xorg-x11-drv-evdev

should fix your touchscreen problem ...
[Galaxy Note 10.1 General] dwegiel:
I suspect the modules. Will get them in and then install it.
[Galaxy Note 10.1 General] Sendora:
Just execute the command ... ^^

There's no need touching the modules.
[Galaxy Note 10.1 General] dwegiel:
Are you sure? I never added them into my linux.img. I just followed your guide up until the Kernel part.

------------------

Booted up! The external keyboard worked this time (wth it did not before)! However audio is broken (card detected but no sound), along with WiFi and Bluetooth. I did follow what you posted in the tutorial. How should I troubleshoot it?
[Galaxy Note 10.1 General] Sendora:
Sorry for writing stuff like this ... but you

never followed my guide ...

1) I mentioned to install some RPM'S ... you did not !!! ...

now you ask me why your keybpard is working after installing the driver ... Oo

2) modprobe dhd

now your Wifi should work like a charm

3) Please just read this thread

I do not want to describe how to deal with rc.local under fedora ...

There are few things you need to do on your own ... otherwise just wait for my RPM ...
[Galaxy Note 10.1 General] dwegiel:
I did install the RPMs! I don't understand why it didn't process them. I thought fedora was as easy to use as Debian/Ubuntu/Linux Mint... apparently not :P

Sorry for being annoying but there is little resources on most forums since obviously this is a not very well documented thing and Fedora is an OS meant for people who know linux well already. I can manage Debian based distros only right now. These are new grounds.

Also I tried to modprobe dhd but it did not bring up my wifi.
[Galaxy Note 10.1 General] Sendora:
What does "lsmod" say, after "modprobe dhd"?
[Galaxy Note 10.1 General] Sendora:
This command should list some modules ...

Maybe your /lib/modules/3.0.31-$foo is not correct.

It must match with the kernel version "uname -r"
[Galaxy Note 10.1 General] dwegiel:
Kernel version is 3.0.31, this is the modules directory:

It is not the correct modules version from what I can see. How would I go about fixing it?

YEAH, sure enough I need the modules that my x86 machine CAN'T BUILD for some damned reason. FFS linux.
[Galaxy Note 10.1 General] Sendora:
Your modules Version comes with your Fedora arm kernel ...

Please download and install this RPM:

https://docs.google.com/file/d/0B86cg6iC8JLNNGhLV3J1dEVfV1k/edit?usp=sharing

It contains zImage/ initramfs (forget about these files ^^) and the directory

/lib/modules/3.0.31 (important for you)

Remember that this directory name must be equal to your kernel version (uname -r)
[Galaxy Note 10.1 General] dwegiel:
The file downloaded as .bin, is that correct? How would I go about installing it since it isn't a format I'm familiar with?