yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 10.1 General] awe215:
Internal sdcard

The easiest way to make sure you are installing to the internal sd card, is to remove the external sdcard, plug in the tablet to your computer, and copy the linux.img over to the only available sd drive path.

No mixing it up then.

Also, just a note. The linux.img often gets corrupted because shutting down archlinux can be a bit buggy. I often boot back into android and extract the linux.img from the linux.zip (copying over the old one)...to solve this problem.

My point is, it is a good habit to keep both the linux.zip and linux.img on the internal sdcard. Just in case :fingers-crossed:
[Galaxy Note 10.1 General] hiruna:
you misunderstood

U misunderstood the fact that in JB or at least 4.2.2 they have multi user. And the REAL sd card path is seperate fron what you see when you go on mass storage.

I just use otg with a keyboard to run fsck to fix the linux.img

Lets keep the post about installation and its issues only :)
[Galaxy Note 10.1 General] darkserjoa:
hello, when i go into recovery after i typed the dd terminal command, and start the recovery its just stuck for hours

any ideas what iam doing wrong?

edit: it works i misspelled big o with zero

now iam trying to install eclipse thro pacman but no success
[Galaxy Note 10.1 General] hiruna:
good job

im glad u fixed the issue :)
[Galaxy Note 10.1 General] darkserjoa:
now i have another problem , it wont boot , wants to start fsck manually and i dont have otg usb adapter

and it wont connect to adb

plus now even after reboot it wont boot android so iam stuck

plz help
[Galaxy Note 10.1 General] hiruna:
uh oh.

This is quite embarrassing to say that i can not think of any possible way of getting out of this and boot back to android. You can always put tablet into download mode and flash stock tar. But i wouldnt do that. The best you could try is wait till the battery drains. But that will take a while since the capacity is large. Try to reboot it to download mode and then press continue and then hold down power to reboot. That may work. Without an otg, dont think there is a way :/ at least for now.

I'll try my best to find a solution or get in touch with the developer. Since i dont like to keep using the otg with a keyboard everytime.
[Galaxy Note 10.1 General] darkserjoa:
thank you

ps i can enter adb from the cwm recovery but i run fsck /dev/loop0 and fsck dev/block/loo0 but it wont work
[Galaxy Note 10.1 General] hiruna:
run it in the recovery

You need to run that when the linux.img is corrupted and when its prompted to run fsck
[Galaxy Note 10.1 General] darkserjoa:
it does promt me to run it, because i dont have otb usb keyboard i reboot into recovery and try thro adb but with no success

any ideas?
[Galaxy Note 10.1 General] hiruna:
didnt u try what i said ?

didnt you try what i told you ? umm try booting it to download mode (Power + Volume down) and Continue, then reboot it (hold down power)

that may work.

other options : flash stock firmware using odin

OR

Let the battery drain
[Galaxy Note 10.1 General] mdalacu:
It is working great from stock 4.1.2 rom.

Recovery and linux image files should be put in /mnt/sdcard
[Galaxy Note 10.1 General] darkserjoa:
well i reflashed stock rom and installed it again

thanks anyway bro, keep up the good work, it works almost great
[Galaxy Note 10.1 General] darksabre_x:
By any chance did you choose the "reboot to recovery" option when you booted from Android into Linux?

If you did, that's your problem. Android sets a flag to reboot into recovery and Linux cannot remove the flag, so it will just keep trying to boot to recovery, which in this case is your Linux install.

You don't need to reflash Android. You only need to flash a recovery back. Grab CWM or TWRP and boot to download mode (Power+Vol Down) then use odin to flash your recovery image.

Then instead of looping back to linux, you'll boot to recovery where you can reboot to android, which will remove the flag.

In the future, only select the shut down option from within Android.

Also, if your linux.img gets corrupted and you don't have an OTG adapter you can fix it from in Android.

Open terminal emulator and run e2fsck on your linux img

sudo e2fsck -y /mnt/sdcard/linux.img

This will fix it and allow you to boot back into the img.
[Galaxy Note 10.1 General] darkserjoa:
thank you
[Galaxy Note 10.1 General] walidbang:
AW: [HOW TO] Install Native ArchLinux on N80XX [HOW TO]

What about wifi? Its not working

Edit: sry my mistake. Its working
[Galaxy Note 10.1 General] hiruna:
wow

QUOTE=darksabre_x;39399368]By any chance did you choose the "reboot to recovery" option when you booted from Android into Linux?

If you did, that's your problem. Android sets a flag to reboot into recovery and Linux cannot remove the flag, so it will just keep trying to boot to recovery, which in this case is your Linux install.

You don't need to reflash Android. You only need to flash a recovery back. Grab CWM or TWRP and boot to download mode (Power+Vol Down) then use odin to flash your recovery image.

Then instead of looping back to linux, you'll boot to recovery where you can reboot to android, which will remove the flag.

In the future, only select the shut down option from within Android.

Also, if your linux.img gets corrupted and you don't have an OTG adapter you can fix it from in Android.

Open terminal emulator and run e2fsck on your linux img

sudo e2fsck -y /mnt/sdcard/linux.img

This will fix it and allow you to boot back into the img.[/QUOTE]

Wow... I completely forgot about tar versions of cwm twrp :P
[Galaxy Note 10.1 General] jojo1419:
So will this remove the Android rom and only be linux or you'll be able to dualboot? Choose between android or linux? Thanks :P
[Galaxy Note 10.1 General] hiruna:
it wont :)

This will not remove android as its only booting the image file from your internal sdcard. When you use the dd command to install the recovery image file it just writes onto the current recovery and gets rid of it. Of course you can reinstall your old recovery likw cwm or twrp.

To boot to native linux, you need to reboot it to recovery (which will automatically boot to arch linux)

To get back to android. Just reboot device from archlinux and it will reboot back to android. If it fails to boot onto android and if you dont want to try and fix the issue, you can flash back your recovery using heimdall or odin.

:good:
[Galaxy Note 10.1 General] jojo1419:
Thanks, I'll maybe try it! Looks complicated a bit haha
[Galaxy Note 10.1 General] hiruna:
:)

I'm sure you'll be fine :)
[Galaxy Note 10.1 General] jojo1419:
Easier than it looks like haha :) pretty easy actually as you only had to download 2 files and type something in terminal... but im having a problem when I try to turn off my tablet, something like loop1 cant be detached... and also im having such a hard time installing other apps, like dropbox (if its even possible to do) haha :P
[Galaxy Note 10.1 General] hiruna:
this should fix it

firstly, if you're getting loop1 is not detected or something, it means you have not placed the linux.img file in the real sd card.

what rom are you using ?

install drop box on arch linux ? ummm just use the website :P im not sure if theres a dropbox app for it. maybe there its.

:good::good:
[Galaxy Note 10.1 General] jojo1419:
I dont remember precisely but its jelly bean 4.1.2 stock german rom so I put the linux file in the root of my internal card (tablet memory) and not in my removable sdcard.

And for dropbox I can type : yaourt dropbox and it starts to install but then it say : please add $EDITOR to variable environement, in the bash.bashrc file but I dont know what to do exactly
[Galaxy Note 10.1 General] hiruna:
heres the path

If its stock rom/firmware then linux.img should be in /storage/sdcard0

And about dropbox im not really sure. :/
[Galaxy Note 10.1 General] jojo1419:
Which is in the root of the internal sdcard right? That's where I put it :P
[Galaxy Note 10.1 General] hiruna:
hmmm

This looks wrong :/ look back at the old posts on this theread. People have talked about working this on stock. I don't get why this is not working. Do you have a sdcard over 8gb and class 10 would be better? If so you can read thermatk's guide to install it and boot from sd card :). Ive done it. Works fine.but we started from scratch. Compiled our own kernels and made new rootfs. Im working on sound atm. But this is off topic. Ill edit the thread with links to his guide soon.
[Galaxy Note 10.1 General] jojo1419:
Well everythings working fine, except when I want to reboot or power off then it get stucks. I attached a picture of what I got!
[Galaxy Note 10.1 General] ncc74656:
Odp: [HOW TO] Install Native ArchLinux on N80XX [HOW TO]

After powering off it refused booting android. Had to flash recovery.
[Galaxy Note 10.1 General] hiruna:
unsolved

This is an unsolved mystery. Its the xstrangers kernel problem. and probably might be issue with rootfs. I decided to buy a 32gb samsung ultra sd card and install archlinux on it from linux deploy freshly and compiled a kernel which boot it from sdcard :) and I have no issues with booting or shutting down.its also faster because the class is the max you can get. (Correct me if im wromg) im going off topic again :P

Anyway the easiest method I found to boot into android after what you mentioned is to connect a otg cable/adapter and plug in a keyboard and do Crtl+Alt+Del

This will reboot it :)
[Galaxy Note 10.1 General] jojo1419:
I also have a 32gb sdcard but is not the best class available and everytime i plug my otg cable, it freezes and I have to reboot so I cant use a keyboard or mouse with it
[Galaxy Note 10.1 General] hiruna:
off topic

This is really off topic. Therefore you should follow my posts on the original thread. I fixed the otg issue. But im sure otg works when it goes to that kernel/recovery (black screen like a terminal) screen. Thats how i used to fix it.
[Galaxy Note 10.1 General] AlexP3:
Cannot Open for read :s

I dont know whats wrong, i have cm 10 N8000 Nightly latest version

in terminal i type dd if=/mnt/shell/emulated/recovery.img of =/dev/block/mmcblkOp6 and then press enter.

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

what am I doing wrong?

Ok and now I rebooted in recovery:

ERROR: fsck failed on '/dev/loop0'

ERROR: Failed to mount the real root device.

sh: can't access tty; job control turned off

[rootfs /]#
[Galaxy Note 10.1 General] darksabre_x:
Did you double check the path to your recovery.img? Use a file explorer with root access to double check. I don't have CM10 installed, so I can't tell you 100% if your /mnt/shell/emulated/ path is right. Seems about right from what I've read.

I did notice you have mmcblkOp6 up there. That should be a zero (0) not a letter (O). So it should read mmcblk0p6.
[Galaxy Note 10.1 General] hiruna:
hmmm

Okay firstly, recovery.img should be somewhere else like your downloads folder or normal internal storage point. (Not /mnt/shell/emulated)

Secondly your linux.img should be at that point ( /mnt/shell/emulated )

Thirdly you need to grant superuser permission before using dd command.

So type "su" then hit enter. And then type " dd if=/path/to/recovery.img of=/dev/block/mmcblk0p6 "

THE CHARACTER AFTER "mmcblk" is a zero ( 0 ) NOT the letter O

Hope this helps :good:
[Galaxy Note 10.1 General] AlexP3:
What I did, restored cwm recovery and started over. I tried mnt/shell/emulated/ but I said again no such file/directory, then I tried the following:

1: Connect tablet with computer gtn8000, internal storage, "paste" linux.img and recovery.img then disconnect

2: Open Root File Manager (installed from playstore), path internalsd? : storage/emulated/0/ ?

3: select linux.img, "cut", path: mnt/shell/emulated "paste"

4: Open Terminal, type "su" allow

Type: dd if=/storage/emulated/0/recovery.img of=/dev/block/mmcblk0p6

Now it says : 16384+0 records in

16384+0 records out

8388608 bytes transferred in 1.698 secs (4940287 bytes/sec)

---------- Post added at 01:08 AM ---------- Previous post was at 12:28 AM ----------

It is so confusing with so many storage paths : storage/ usbdisk0, sdcard1 , emulated/0 - legacy/ also the same with mnt/shell/emulated /0 - /legacy - /obb...

what storage is what....

Feel so noobish lol maybe ill need to learn first what those paths are :)

Anyway, thanks for your help!!!
[Galaxy Note 10.1 General] hiruna:
hey listen

hey, if u have cyanogenmod. the real internal sdcard is /mnt/shell/emulated (NOT WITH THE 0 ) (THE linux.img shud be here )

that shud work now :)
[Galaxy Note 10.1 General] Soul_Est:
For those on a rooted stock ICS ROM, the directory you need to place the linux.img in is /mnt/sdcard.

Written on my Galaxy Note 10.1
[Galaxy Note 10.1 General] diga1001:
you have to delete (or comment out)

echo 0 > /sys/devices/platform/s5p-ehci/ehci_power

in your rc.locale (He mentionded that in the original thread)
[Galaxy Note 10.1 General] jojo1419:
It did fix the OTG problem but still having issues with power off and reboot
[Galaxy Note 10.1 General] conar:
I have tried 2 or 3 times but keep getting the same errors and need to reflash twrp.

I've attached a screenshot. Any ideas?
[Galaxy Note 10.1 General] conar:
I've placed it in /mnt/shell/emulated/0

I'm running CM10.1 if that makes a difference.

Any ideas?

Sorry if this is a pure brain fart.
[Galaxy Note 10.1 General] darksabre_x:
If you have to reflash TWRP then that means you are selecting the "reboot to recovery" option in Android, which is a nono due to the recovery flag Android sets that Linux can't remove. Select shutdown and then boot to linux using pwr+vol up.

Also as Hiruna said, the path to the internal SD card on CM10 is /mnt/shell/emulated (NOT WITH THE 0 ).
[Galaxy Note 10.1 General] Kondra007:
Great work!

Hello! Thanks a lot! Hope you'll add new features soon!
[Galaxy Note 10.1 General] chachmar:
Can this be ported to the galaxy note 8 5110

Hello all I'm wonderingif this method can be used on the galaxy note 8 5110. I've tried it but I only get a black screen when I reboot into recovery
[Galaxy Note 10.1 General] darksabre_x:
The recovery IMG is for a Note 10.1. You'd need to remake the recovery.img in order for it to work on your Note 8. Here's the original thread about this process.

http://xdaforums.com/showthread.php?t=2070139&page=3
[Galaxy Note 10.1 General] chachmar:
Thank you

Thanks for the info this is just what i have been looking for. Your rock:cowboy:
[Galaxy Note 10.1 General] Gogo Yubari:
Is there a way to put desktop Linux on the 10.1?
[Galaxy Note 10.1 General] darksabre_x:
That's exactly what this project does.
[Galaxy Note 10.1 General] raulchik:
what's the right directory? I'm moving linux.img to "mnt/shell/emulated", explorer says "succesfully" but the file does not appear there.

I move it from "mnt/shell/emulated/0".

If i move it from "/sdcard/" (where I have the file) to "/mnt/shell/emulated" it gives me the next message: invalid path

I'm getting the same error than him once and once again

With Cyanogenmod 10.1 / Note N8010

Thanks
[Galaxy Note 10.1 General] Tony84:
Hi, got it working on stock rom 4.1.2, except for turning off/reboot that doesn't seem to work and when I shut down with the hardware button it restarts but is always arch linux.. how to switch between android and linux now?

EDIT: nevermind, red few pages back
[Galaxy Note 10.1 General] Tony84:
Little question: the package manager pacman is missing, why? Is not possible to install packages here?

Also aren't there other versions of linux to use on note 10.1 the same way as arch ?
[Galaxy Note 10.1 General] psylender:
hey.. what about booting without loopback adapter..??

From patition mmcblk0p13 or mmcblk1p1 (sdcard0) ?

how to set it up this way ?

Q: is partition 13 the Place, where the stock Rom is "saved"?

Q2: for what is partition 6? if i Guess correctly, its for recovery.. cmw, tcwm, stock recovery, ... Recovery BootLoader ?
[Galaxy Note 10.1 General] chachmar:
Tried to port to note 8 with stock immage no luck

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] xxxTy3uKxxx:
WOW! Gonna try this!
[Galaxy Note 10.1 General] honkzongo:
Desktop's benefits.

This forum is already more than I hoped. Fantastic.​

Did anyone try this with encrypted swap, partitions in the linux image?

Entering passwords during boot-up might be tricky at best (, external USB-keyboard?).

Successful encryption would mean "the whole nine yards"!​
[Galaxy Note 10.1 General] Soul_Est:
You would be able to encrypt the entire / partition so yes, it is "successful". I haven't tried it though but it is doable.
[Galaxy Note 10.1 General] honkzongo:
Arch , but encrypted

Pardon me for being imprecise. I surmised it would be possible, however, I merely hoped to see some factual success, maybe even a thread excusion on this.

In my Arch system, I am unable to use external USB-keyboards to enter luks passphrases (for unlocking / in its LVM), such makes me question how feasable this project would be on a Samsung Note 10.1 or Note 8, if one couldn't boot it anymore for lack of input. :eek:

Sadly, I am not a professional (running Arch with solely will-power and its superb documentation), otherwise I'd love to extend hiruna's and exception 13's pioneering with a guide to a native Arch on this tablet, fully encrypted :cyclops:.

Thanks for answering anyway!

I hope this is not high-jacking this thread too much.
[Galaxy Note 10.1 General] sinedius:
..where i can find "real" sdcard

i am inside user@android:/mnt$ ls

UsbDriveA

UsbDriveB

UsbDriveC

UsbDriveD

UsbDriveE

UsbDriveF

asec

extSdCard

obb

sdcard

secure

.. i cant see any shell/emulated .. :( ..please help

many thanks in advance.. br
[Galaxy Note 10.1 General] Aqueon:
BT keyboard

Is there any way to connect a BT keyboard? I have original Samsung one and I don't really want to buy another, different one. I am very well aware that those special keys wouldn't work, but I need it just for typing. The keyboard is visible from the tablet, but it is unable to connect. I will be glad for any response.
[Galaxy Note 10.1 General] seniorivn:
have anybody ready rootfs
[Galaxy Note 10.1 General] seniorivn:
Could you post updated image, when I install this, I can't update it.
[Galaxy Note 10.1 General] seniorivn:
Look /data/media
[Galaxy Note 10.1 General] nando88:
App Installation in Arch Linux

Is there a way to install apps in this linux distro? If there is, please tell me how.

Thanks!
[Galaxy Note 10.1 General] Soul_Est:
1. Open a terminal window.

2. Assuming you have installed and configured sudo:

sudo pacman -Syu <name of program>
[Galaxy Note 10.1 General] nando88:
Software Installation

I tried to use pacman -Syyu, to update packages, but was not able to do so. I also used pacman -Syu amarok, but could not install it.

Please tell me how to fix this. Thanks in advance.
[Galaxy Note 10.1 General] Hunter_Dreams:
I have just seen this thread. Great job with the tuto. I'lll try as soon as i could.
[Galaxy Note 10.1 General] juasjuas:
Will try on my Nook HD when I finish my exams. Thank you!!
[Android General] Hrvoje_V:
Hi

So we're looking for a few programmers to join and work with us on project,

We need someone who has experience in the programing Bluetooth module and connecting with android app.

If some one have will to learn, and no experience is also welcome :)

For more information about project please ask in P.M.

Thanks & Best regards

Hrvoje_V
[Android General] Hrvoje_V:
Anyone interested? :)
[Android General] kaydee:
no exp..
[Android General] Hrvoje_V:
ok :) are you all ready program something in SDK?
[MDA, XDA, 1010 Software Upgrading] digital_1:
Through a goofy error on my part, I lost my original US ENG T-Mobile ROM while upgrading to WM2003.

Does anyone know of a source where I might be able to obtain a replacement?

:oops:
[MDA, XDA, 1010 Software Upgrading] ntabikha:
Replacement ORIGINAL T-Mobile ROM?

yea, just get it from the T-mobile.com website.

here is the link...

http://www.t-mobileapps.com/downloadcenter/Software_Detail.cfm?ID=15

good luck!

ps: i hope u didnt overwrite your radio!
[Upgrading, Modifying and Unlocking] monster-exodia:
Thanks a lot :good:

this is my boot.img after a full backup :www .mediafire.com/?gmnm65rn65b28c3

i need a CWM image for my GT-I9300 clone.

all the best.
[Upgrading, Modifying and Unlocking] ElectronikHeart:
Hi,

Can I have the exact name of your device ? (it must be in the battery compartment)

Did you tried all the CWM already in the rooting tutorial ? (I added one this morning)

If none of them work, I made this recovery with the boot.img you provided: http://www.mediafire.com/download.php?aj2nman38j5cfip

Please don't forget to tell me what CWM work for you so I can add the name of your phone on the tutorial.
[Upgrading, Modifying and Unlocking] monster-exodia:
@ElectronikHear

phone model (in battery) : N9300

phone model : (system info) GT-I9300

Build number : MT6515M_C909_HT_V14

cpu hardware : SP6820A

..........

I never tried ...:D firslty how to to flash CMW recovery ?

thanks in advance.
[Upgrading, Modifying and Unlocking] ElectronikHeart:
deleted
[Upgrading, Modifying and Unlocking] ElectronikHeart:
Well it's explained in the rooting tutorial.

If your phone have Fastboot you can flash using it. If you don't you can use the Spreadtrum flash utility called ResearchDownload.

Everything is here:

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

As your phone is already rooted it will be a lot more simple to flash using "dd" or some android flashing utilities. Actually it doesn't work that way on theses phones, sorry ... So just do as the rooting tutorial explains.
[Upgrading, Modifying and Unlocking] janzlev:
Hi, I'm succesfully rooted my phone with the "rooted system partition image" method, but none of the CWM images work, so I would be grateful if you can send me the recovery image.

Device Info:

Phone model (in battery) : S6500-TV

Phone model : (system info) S560

Android Version: 4.0.3

Baseband Version: DM_BASE_12A_W12.32|sc8810_modem|08-9-2012 16:47:10

Kernel Version: 2.6.35.7 rgk-bu2-05@rgk-bu2-05-desktop #3

Software Version: T162_JYY_G2_P2_1_W1220P12_DNY_V0.8.1_20121015

Hardware Version: 1.1.0

boot.img : www .dropbox.com/s/ka43sd45em9lu9k/mtd9.boot.img

Thanks in advance.
[Upgrading, Modifying and Unlocking] jvrey5:
Don't even try!

Backup first.
[Upgrading, Modifying and Unlocking] ElectronikHeart:
Hi there,

Here is your new recovery: http://www.mediafire.com/download.php?iahnncpjhm44etn

Please tell me if it works so I can add it to the rooting tutorial ^^

Thank you very much !
[Upgrading, Modifying and Unlocking] janzlev:
Not working, after flashing the recovery, the phone enters into a boot loop.

Anyway thank you.
[Upgrading, Modifying and Unlocking] ElectronikHeart:
A boot loop ?

You mean the recovery is looping ? and if you try to boot as normal everything working ok ?

I don't know what has gone wrong ... Where did you find your boot.img ? Did you extract it from the rom as the tutorial said or extracted from a .pac file ?

Have you flashed it with fastboot or with ResearchDownload ?
[Upgrading, Modifying and Unlocking] janzlev:
Recovery does not start, normal boot enters into a boot loop, the boot.img is extracted from the rom as in the tutorial.

Flashed with ResearchDownload.