In this guide I will explain how to install RemixOS on PC with multiboot with any other OS. (Grub needed for multiboot)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
First some points to get clear:
1- Can I use the hole partition as data and not a restricted size data.img? Yes, you can.
2- Can partition be ext4 ? Yes it can and it must. (I've seen people over xda saying you need fat32 for RemixOS. That's not true. RemixOS is android-x86 based and it inherits its ext4 support.
3-Can I make system files editable? Yes, although they will use much more space than when system is compressed.
Let's start: (START UBUNTU OR WHATEVER OS YOU CAN USE TO WRITE GRUB )
1-First use your preferred partition manager to create an ext4 partition where RemixOS will be installed.(8GB or more recommended).
2-Create a folder called "android" in the new created partition.
3- Download latest RemixOS ISO from official page.
4-Decompress ISO contents and copy all to android folder in new partition.
5-Create "data" folder into android so it would look like /android/data.
6- Add new grub entry to /etc/grub.d/40_custom (OR WATHEVER FILE YOUR GRUB INSTALLER USE) like this:
Code:
menuentry "Remix-OS" {
set root='(hdx,y)'
linux/android/kernel root=/dev/ram0 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive quiet SRC=android DATA=/data
initrd/android/initrd.img}
PAY ATTENTION IN THE CODE ABOVE - (hdx,y) makes reference to the partition where you are installing RemixOS, Generally it is (hd0,y) where 'y' is the number of the partition
7-Execute on terminal
Code:
sudo update-grub
(OR WATHEVER CODE YOU NEED TO UPDATE YOUR GRUB )
8-Reboot and boot into RemixOS .
For the ones who want editable system files:
ATTENTION: WE WILL NEED A DEBIAN DISTRO LIKE UBUNTU OR ANY OTHER DISTRO WITH squashfs-tools
1-Move system.sfs from android folder to whatever folder you want (outside RemixOS partition).
2-Open terminal and install squashfs-tools with
Code:
sudo apt-get install squashfs-tools
3-In terminal go to the folder where you put sytem.sfs and execute
Code:
unsquashfs -d system system.sfs
We'll see a new folder is created with a file called system.img inside.
4-Copy system.img to /android folder in RemixOS partition
5-Mount unsquashed system.img:
Code:
sudo mkdir /media/tmp && sudo mount system.img /media/tmp
We now can see system.img was mounted and you can access it through file explorer and edit files aswell.
6-Reboot and enjoy RemixOS with editable system files.
(you can start Ubuntu and edit files mounting system.img)
Going to try it now :fingers-crossed:
i have a little error
so i did like you said with lubuntu on a sd.
used an old eee PC (ASUS Eee PC 904HA) i had around. should work on it i think.
after i did everything i get
Code:
error: file '/boot/grub/i386-pc/normal.mod' not found.
Entering rescue mode...
i used i386 version...
did i fail to set up grub correctly?
thx for any help
Edit: rebooted in live sd and my 40_custom is as default. will try again.
gr44b said:
so i did like you said with lubuntu on a sd.
used an old eee PC (ASUS Eee PC 904HA) i had around. should work on it i think..
Click to expand...
Click to collapse
You need to use "sudo" to edit 40_custom...
By SD you mean SD Card?
If you are installing GRUB on an SD Card form the PC, I think you will need to copy /boot/grub folder in the root of your SD Card. I've never done that.. but those are the files Grub needs to work properly and when booting from SD Card I think the root for Grub is the SD Card so you need /boot/grub and all the files in there on your SD Card
If this not work read carefully the second answer here
I have windows and ubuntu with grub in uefi boot, is this tutorial valid with my grub?
languedoc said:
I have windows and ubuntu with grub in uefi boot, is this tutorial valid with my grub?
Click to expand...
Click to collapse
I don't have any UEFI compatible PC to test... If you handle to add the entry to your grub it could work. Test and report :crossfingers:
I heard a lot of times that secure boot on uefi usually prevents chain boot...so think on disabling it if you find an error during the test.
install remix os for pc?not sound hdmi tv((( (intel hd4000) all working good by, not sound((((
OTA update working?
Will an OTA update work for a system which has been set up with your method?
remixtester said:
Will an OTA update work for a system which has been set up with your method?
Click to expand...
Click to collapse
Guessing not, until out of BETA, when hopefully a more user friendly install method will be issued
remixtester said:
Will an OTA update work for a system which has been set up with your method?
Click to expand...
Click to collapse
Actually OTA works with system.img
Related
So I finally got the guts to install the SDE on my 101. What cool stuff can I do now with root privs?
This: http://forum.xda-developers.com/showthread.php?t=895599
caseym said:
So I finally got the guts to install the SDE on my 101. What cool stuff can I do now with root privs?
Click to expand...
Click to collapse
I installed SDE, and am LOST! cant get su permission, (probably did something wrong, dev recovery is not finding the kernel initfram to flash for some reason.
caseym said:
So I finally got the guts to install the SDE on my 101. What cool stuff can I do now with root privs?
Click to expand...
Click to collapse
The SDE does not give you root. The SDE allows you to install a secondary OS, which you can root.
For example, the post that dewthat refers to is how to install a modified version of the Android OS as compiled by Archos, allowing you to have root access to that OS (not the original OS shipped on the tablet).
After you root and get su, you can overclock with setcpu
Thanks for all the replies!
My Archos 101 After SDE & Temp Root
SETCPU / Titanium Backup / Root Explorer / CacheMate for Root Users
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And Access to Market with Paid App by MarketAccess
Thank you very must to @chulri, @ardatdat, @dogmaphobia, @$aur0n and all developer here
elmerohueso said:
The SDE does not give you root. The SDE allows you to install a secondary OS, which you can root.
For example, the post that dewthat refers to is how to install a modified version of the Android OS as compiled by Archos, allowing you to have root access to that OS (not the original OS shipped on the tablet).
Click to expand...
Click to collapse
I'm not sure I understand that statement. It's possible then to have superuser without root??? When I installed the SDE, I got superuser permissions in the Development Edition.
Again, SDE is there to give you the possibility to install another Android ( or any type of Linux for armc8 ).
It doesn't give you su or anything, that is something YOU have to do by installing another system, like the linked one.
I have done by this step.
chulri said:
It's simple:
download SDE: http://www.archos.com/support/download/firm_dev/firmware_archos_android_gen8.aos
download the custom kernel from the thread mentioned above
reboot archos device and hold down "Vol-" button after screen went black
choose "Update firmware"
connect your archos device by usb to your computer
upload the firmware file to your device
safely disconnect the usb connection
press ok on archos device
reboot and hold down "Vol-" button after screen went black
Go to recovery menu and choose flash kernel / initramfs.cpio.gz
connect your archos device by usb to your computer
upload zImage and initramfs.cpio.gz to your device
safely disconnect the usb connection
press ok on archos device
reboot and hold down "Vol-" button after screen went black
choose "Developer Edition"
...
run terminal app
type "su"
have fun...
Click to expand...
Click to collapse
[Kernel] Archos Gen8 Kernel (EXT4 fix; min/max: 250/1200Mhz) (Updated: 6-JAN-2011)
http://forum.xda-developers.com/showthread.php?t=897877
jakkrith said:
I have done by this step.
[Kernel] Archos Gen8 Kernel (EXT4 fix; min/max: 250/1200Mhz) (Updated: 6-JAN-2011)
http://forum.xda-developers.com/showthread.php?t=897877
Click to expand...
Click to collapse
Cool...it looks like that kernel can only be used with ext4 booting from an sdcard, correct?
dewthat said:
This: http://forum.xda-developers.com/showthread.php?t=895599
Click to expand...
Click to collapse
I, too, am confused. I have installed SDE and booted to it. I tried to continue and follow the instructions from above link but in SDE's terminal screen, I cannot create partitions on my SD card which is already inserted. There is no entry for sdb in /dev. I can su from the terminal screen but "fdisk" is not found as a command!
How do I format the sdcard?
Thanks in advance.
Another question: Can we mount the Android file system from SDE so we can modify things in it? Instead of running another Android OS?
elmerohueso said:
The SDE allows you to install a secondary OS, which you can root.
Click to expand...
Click to collapse
By this, I assume you mean custom ROM's also?
@caseym : That kernel can use with ext4 booting from an sdcard but my device not used ext4 and booting from internal stroage not sdcard.
I need only temp root.
@ crc111: I though you need to manage partition of SD Card in Linux OS on your PC/Notebook. Not in you device.
jakkrith said:
@caseym : That kernel can use with ext4 booting from an sdcard but my device not used ext4 and booting from internal stroage not sdcard.
I need only temp root.
@ crc111: I though you need to manage partition of SD Card in Linux OS on your PC/Notebook. Not in you device.
Click to expand...
Click to collapse
jakkrith, thanks. I don't have a Linux PC. I will have to build one to proceed with this project.
crc111 said:
jakkrith, thanks. I don't have a Linux PC. I will have to build one to proceed with this project.
Click to expand...
Click to collapse
Okay. I installed the VMWarePlayer and the Ubuntu 10 image. But Ubuntu does not see the SD card reader device in my laptop. I tried to edit the configuration of the VM but VMWarePlayer does not show a SD card as a available device to add to the VM. It shows Floppy, CD Rom, etc drives even though there is none in my laptop!
I want to be able to copy files >4Gb to my Touchpad. This is so I can watch HD movies on the device.
I already tried adding resizing the media partition and adding an ext3fs partition using "Tailor" (a webOS app). Although this is easy and it worked, I couldn't find any way to have this partition mount at boot time and be seen by my Android apps.
There are a couple of posts out there on the web from people claiming that they "reformated" the shared partition (/media/internal) to ext3fs successfully.
Has anyone here done that, and if so (a) how? and (b) were you able to have it mount and be visible from android apps?
Otherwise does anyone have any suggestions please?
cheers
Paul
+1
Sent from my HTC Desire HD using XDA App
Getting somewhere...
I tried again having found out that the ext3 partition I created in webOS is found at /dev/mapper/store-ext3fs
Under Android - everything below is done in Android
I am able to mount this partition to my fake sd card (I just created a folder there called "ext").
Code:
su
mount /dev/mapper/store-ext3fs /sdcard/ext
I found that copying files by USB doesn't work while my ext3 partition is mounted, which is a pain - would be good to get that fixed. Anyone have any ideas?
I am now testing copying over a >4Gb file to my ext3 partition using ftp client. Will take some time on my crappy wifi, hence the comment about fixing USB.
I found that in order to make the ftp process work, I had to give full permissions to this folder.
Code:
chmod /sdcard/ext
I am a noob, so if anyone can help me with a less insecure set of permissions I would be grateful.
I'll post an update later on.
Nah, didn't work. After a few hours of copying I went to bed, this morning the folder is empty. I'm not sure if there was an error or anything.
My suspicion is that it crapped out when it got to 4Gb because even though the partition is ext3, it is mounted at a mount point on a FAT32 partition.
I realised I can test this more easily and eliminate possible network errors or ftp client instability, I'm running
Code:
dd if=/dev/zero of=output.dat bs=1024 count=51200000
within my /sdcard/ext folder (my mount point), this should create a 5Gb file.
I'm expecting this to fail, again because even though the partition is ext3, it is mounted at a mount point on a FAT32 partition. If anyone can help me to mount the partition some other way so its not mounted in a FAT32 partition, or point to another method to overcome the file size limit, I would be grateful.
thanks
Paul
That worked!
dd-ing a large file worked. I think I got my calculations wrong so when it got to >7Gb I just stopped it.
Now it would be great to get this working such that I can use USB instead of ftp to get my movies across.... Anyone?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
USB transfers not working
Anyone help me identify partition number for my ext3 partition please?
My ext3 partition is all working except when mounted I cannot use USB transfer.
Believe this is because my vold.fstab mounts the first available partition as SD card.
So would like to know correct partition number for SD card and ext3 partition.
I gave up on this in the end. Assured by clearly very clever jcsullins over on the cm touchpad IRC that the partition doesn't get a number and I would not be able to get my USB file transfer working. I also found the available media players (or maybe CM itself at the moment?) unable to cope with my 720P movies.
All is not lost though. I'm having more luck over on webOS using touchplayer and an overclocked kernel.
Thanks to those who tried to help with this!
Hi everyone,
After several hours I've installed RemixOS 2.0.402 on my 1 Tb hard drive, I installed it on a 12 Gb partition which appears as 3.7 Gb of storage space in RemixOS, so I resized the partition to 1 Tb (all in FAT32) but RemixOS still diplays 3.7 Gb.
How can I extend the size of it ?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Cheers.
CMfanuser said:
Hi everyone,
After several hours I've installed RemixOS 2.0.402 on my 1 Tb hard drive, I installed it on a 12 Gb partition which appears as 3.7 Gb of storage space in RemixOS, so I resized the partition to 1 Tb (all in FAT32) but RemixOS still diplays 3.7 Gb.
How can I extend the size of it ?
Cheers.
Click to expand...
Click to collapse
Please refer to this article http://support.jide.com/hc/en-us/articles/218463867-How-to-increase-the-memory-size-
I think you had to keep the 12GB partition and alter to an 8GB storage.
Read the instructions carefully,and choose a storage size of your choice. I'd prefer 8GB or 16GB since a bigger size will cost you a longer boot time.
You can use a 20GB partition if you want 16GB storage.
And you can make more partitions with the rest of the HDD or leave it as a single partition if you like.
It will be mounted at the boot time and you can store your other stuff there.
The RemixOs storage (data.img) is actually for installing apps and storing there data. You don't need an unnecessarily big data image.
(Use NTFS for partitioning, Fat32 doesn't allow you to make files larger than 4GB )
Thisu said:
Please refer to this article http://support.jide.com/hc/en-us/articles/218463867-How-to-increase-the-memory-size-
I think you had to keep the 12GB partition and alter to an 8GB storage.
Read the instructions carefully,and choose a storage size of your choice. I'd prefer 8GB or 16GB since a bigger size will cost you a longer boot time.
You can use a 20GB partition if you want 16GB storage.
And you can make more partitions with the rest of the HDD or leave it as a single partition if you like.
It will be mounted at the boot time and you can store your other stuff there.
The RemixOs storage (data.img) is actually for installing apps and storing there data. You don't need an unnecessarily big data image.
(Use NTFS for partitioning, Fat32 doesn't allow you to make files larger than 4GB )
Click to expand...
Click to collapse
Great, thank you very much for your help, and please, I've got a BIG problem.
When I use the RemixOS install tool under my Windows-PC to install RemixOS on the hard drive which will go into my Laptop-PC, the tool makes the hard drive bootable from my Windows-PC by adding the RemixOS bootloader with 2 options (Windows or RemixOS) as a dualboot but I don't want this. I just want to install RemixOS on a hard drive which will be the only OS on my Laptop-PC. How can I do this ? I want the hard drive to be bootable by itself because I won't use it on my Windows-PC but on my Laptop-PC. (PS : my Laptop-PC doesn't have any OS, I want it running RemixOS, alone).
CMfanuser said:
Great, thank you very much for your help, and please, I've got a BIG problem.
When I use the RemixOS install tool under my Windows-PC to install RemixOS on the hard drive which will go into my Laptop-PC, the tool makes the hard drive bootable from my Windows-PC by adding the RemixOS bootloader with 2 options (Windows or RemixOS) as a dualboot but I don't want this. I just want to install RemixOS on a hard drive which will be the only OS on my Laptop-PC. How can I do this ? I want the hard drive to be bootable by itself because I won't use it on my Windows-PC but on my Laptop-PC. (PS : my Laptop-PC doesn't have any OS, I want it running RemixOS, alone).
Click to expand...
Click to collapse
Since you are using Windows,you don't have much control over the bootloader. Are you on using EFI? If so,try mounting your EFI partition. refer to this http://superuser.com/questions/6628...-windows-8-1-so-that-it-is-readable-and-write
There's a grub.cfg file there in the EFI partition,you'll have to edit it by hand.
Or,use a linux live cd like Ubuntu and you can access the EFI partition of your HDD through it.
Thisu said:
Since you are using Windows,you don't have much control over the bootloader. Are you on using EFI? If so,try mounting your EFI partition. refer to this http://superuser.com/questions/6628...-windows-8-1-so-that-it-is-readable-and-write
There's a grub.cfg file there in the EFI partition,you'll have to edit it by hand.
Or,use a linux live cd like Ubuntu and you can access the EFI partition of your HDD through it.
Click to expand...
Click to collapse
There's no EFI partition on my external hard drive, this partition is on my Windows-PC but I want to use the hard drive on Another computer.. but I need a bootloader for it.
CMfanuser said:
There's no EFI partition on my external hard drive, this partition is on my Windows-PC but I want to use the hard drive on Another computer.. but I need a bootloader for it.
Click to expand...
Click to collapse
You don't need an EFI/ESP partition just an efi folder
That obviously relates to UEFI systems - for bios it installs grub1 to the mbr.
Thisu said:
Please refer to this article http://support.jide.com/hc/en-us/articles/218463867-How-to-increase-the-memory-size-
I think you had to keep the 12GB partition and alter to an 8GB storage.
Read the instructions carefully,and choose a storage size of your choice. I'd prefer 8GB or 16GB since a bigger size will cost you a longer boot time.
You can use a 20GB partition if you want 16GB storage.
And you can make more partitions with the rest of the HDD or leave it as a single partition if you like.
It will be mounted at the boot time and you can store your other stuff there.
The RemixOs storage (data.img) is actually for installing apps and storing there data. You don't need an unnecessarily big data image.
(Use NTFS for partitioning, Fat32 doesn't allow you to make files larger than 4GB )
Click to expand...
Click to collapse
please help me. On step 3 when I type the command cd/mnt/RemixOS
There is the warning: "the directory not found"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
every time i post it at reddit it gets removed, so was getting difficult sharing it
What works
audio
video
wifi
keyboard
trackpoint
touch
android apps
linux
What doesn't work yet
acpi (needs linux people help to make a kernel to chrome os)
bluetooth (easy fix)
battery level
What do you need
one 16gb pendrive
one 8gb pendrive or higher
one gpd pocket (duh)
a lots of patience and free time
First step
Go to CrOS page and download pyro
Download EmydeOS
Download SWTPM.tar and chromefy script
Second step
use a linux or mac pc and dd EmedyOS image to a 16gb pendrive
List all disks:
Code:
in linux: lsblk
in mac : diskutil list
sudo dd if=/path to emedy os/ of=/dev/sdx (where x is your pendrive disk nummber)
Third Step
Boot the flashed pendrive in dev mode
enter in shell pressing press ctrl + alt+fn + f2
type in chronos
in shell follow this:
Code:
sudo su
lsblk (find your drive , usually its mmcblk0)
sudo /usr/sbin/chromeos-install --dst YOURDRIVE (Ex: /dev/mmcblk0)
wait and check if boots
fourth step
download mate ubuntu
flash it into 8gb usb using the mentioned dd command
boot in live usb
open gparted
delete mmcblk0p5
extend mmcblk0p3 to 4gb
fifth step
format ubuntu mate pendrive to extfat
extract pyro image and copy the bin file to pendrive
copy chromefy sh and swtpm to pendrive
boot emedyos pendrive
press ctrl fn alt f2
enter chronos
Code:
sudo su
sudo mkdir /home/chronos/tempfolder
lsblk ( find the 8gb with pyro files, mine was sdb)
sudo mount /dev/YOURDRIVEHERE /home/chronos/tempfolder
cd /home/chronos/tempfolder
sudo bash /home/chronos/temfolder/chromefy.sh /dev/mmcblk0p3 /home/chronos/tempfolderNAMEOFpyro.bin /home/chronos/tempfolderswtpm.tar
sudo mkfs.ext4 /dev/mmcblk0p1
Sixth step
boot into chrome os and boot into shell again
Code:
sudo su
cd /usr/share/vboot/bin/ ./make_dev_ssd.sh --remove_rootfs_verification --f --partitions 2 reboot
Upon reboot go back into shell
Code:
sudo su -
mount -o remount,rw /
mount -o remount,exec /mnt/stateful_partition
download [URL="https://fedorapeople.org/~jwrdegoede/brcmfmac4356-pcie.txt"]this[/URL] file and copy to 8gb pendrive
mount the pendrive
sudo su
sudo mkdir /home/chronos/tempfolder
lsblk ( find the 8gb with file, mine was sda)
sudo mount /dev/YOURDRIVEHERE /home/chronos/tempfolder
cd /home/chronos/tempfolder
cp /home/chronos/tempfolder/brcmfmac4356-pcie.txt /lib/firmware/brcm
reboot into dev mode and complete steup
seventh step
to get sound working
press ctrl alt t into chrome
Code:
type shell
sudo su
mkdir /usr/share/alsa/ucm/chtrt5645 directory and copy the 2 .conf files from here into that dir.
What needs to be done
with the help of linux fans we need to patch the kernel
Kernel patches needed:
MAX17047 Fuel Gauge
BATTERY_MAX17042
BQ24190 Charger
CHARGER_BQ24190
GPIO for Fan Control
GPD_POCKET_FAN
Intel Graphics
CONFIG_DRM_I915
UEFI Framebuffer
CONFIG_FB_EFI
ALSA Sound Card Support
CONFIG_SND_SST_ATOM_HIFI2_PLATFORM_ACPI
eMMC Block Device (ACPI SDIO)
CONFIG_MMC_SDHCI
CONFIG_MMC_SDHCI_ACPI
Wireless
CONFIG_B43
CONFIG_BRCMFMAC
CONFIG_BRCMFMAC_SDIO
CONFIG_BRCMFMAC_PCIE[/INDENT]
References
https://hansdegoede.livejournal.com/17445.html
https://forum.xda-developers.com/ha...talling-official-chrome-os-pc-t3865697/page92
https://github.com/imperador/chromefy
https://wiki.gentoo.org/wiki/GPD_Pocket
thank you so much for taking the time to write a tutorial!
I'm going to try it on my gpd pocket as soon as possible that at the moment is running this build https://kmyers.me/blog/computers/public-preview-chromiumos-for-the-gpd-pocket-1/ .
By chance, in the meanwhile, are there any news about a new kernel with working acpi/bluetooth/battery meter?
Thanks again for the great work you did!
I have an f2fs volume I want to mount. The problem is, every time I look up "Android" and "f2fs", what comes up is internal storage. I'd rather stick to ext4 storage for the time being. What I want is to mount my f2fs volume just like my Linux laptop can without any issues. I know if I want things to work with windows I need exfat, but I have no interest in windows functionality. I just need my storage drive to work on Linux based systems. Windows doesn't interest me.
I'm on a rooted OnePlus 7 Pro and am willing to flash. Oxygen OS 10 OB5. (latest beta)
If mounting f2fs volumes is impossible on Android - a system based on the Linux kernel, I'd love to know why is that so. I was considering building a kernel from source, as I've written a game in C and believe I'm experienced enough to build a kernel at this point.
Thanks in advance!
NĂ³ information. sadly
Check the below reply.
Instead of editing this message, i mistakenly replied again.
so, erased this message
@namhoang235
Its possible to mount f2fs/ext4 microSD / usb-otg on android.
i use f2fs since 2017 for microSD on Android.
u need to be rooted, and, a your need to have kernel f2fs-support.
if you can format /data as f2fs and mount it.
then, youtl already have f2fs support.
else you can use any custom kernel with f2fs support.
as (on 2018) for my asus x00td device, i requested @Sakhtlonda69 to add f2fs support in his custom kernel build.
(and, he did it!)
----
these are few values , which u need to know, to execute the below commands
# YOUR_DEVICE_NUMBER = the exact partition which is your memory card's 1st partition.
# If you have a device with UFS storage (not eMMC), then, microSD will be most likely at "mmcblk0p1"
# If you have a device with eMMC Storage (not UFS), then, microSD will be most likely at "mmcblk1p1"
# If you still can't understand what I'm saying,
# Make sure your memory card is inserted,
# then,
# just go to /dev/block from any rooted file manager
# search "mmcblk1" there.
# if it only shows these 2 files: mmcblk1 and mmcblk1p1
# then, "YOUR_DEVICE_NUMBER" is "mmcblk1p1"
but, if you can't find anything with "mmcblk1"
#then, search "mmcblk0" there.
# if it only shows these 2 files: mmcblk0 and mmcblk0p1
# then, "YOUR_DEVICE_NUMBER" is "mmcblk0p1"
so, "YOUR_DEVICE_NUMBER" is actually either "mmcblk0p1" or "mmcblk1p1"
WARNING: (If you format any wrong system's internal storages partition, your device will most likely be bricked!)
Understand?
---
#---Format your microSD part with f2fs---#
simply unmount the memory card from Settings > Storage.
then, launch Terminal Emulator/ Termux App
(make sure you have root)
enter below 2 commands one by one:
su
make_f2fs -f /dev/block/YOUR_DEVICE_NUMBER
#---Formated successfully---#
-----
Now reboot your device
After reboot your device show a notification that your Memory Card is corrupted!
(because most of the android system can't mount anything except fat/exFAT for Memory Card - it's normal)
---
to mount the microSD (Memory Card),
Launch Terminal/Termux: and, enter below lines one by one:
(YOU NEED TO ENTER THESE LINES EVERY TIME AFTER YOU REBOOT YOUR DEVICE)
su
mkdir -p /mnt/extsd
mkdir -p /sdcard/_MemoryCard_
# Mount f2fs-microSD at /mnt/extsd
mount -t f2fs -o rw,nosuid,nodev,noatime,noexec,discard,fsync_mode=nobarrier /dev/block/platform/soc/*.sdhci/mmcblk*p1 /mnt/extsd
# Bind using sdcardfs f2fs-microSD from /mnt/extsd to /sdcard/_MemoryCard_
mount -t sdcardfs -o rw,nosuid,nodev,noatime,noexec,fsuid=1023,fsgid=1023,gid=9997,mask=2 /mnt/microSD /mnt/runtime/default/emulated/0/_MemoryCard_
----
Now,
microSD is mounted under Internal Storage's _MemoryCard_ folder.
---------
(Extra things)
If you dont want to show Memory Card Corrupted (annoying) Notification on each boot,
simply edit your /vendor/etc/fstab* file.
(it will be under : /vendor/etc/fstab.qcom or /vendor/etc/fstab.default or /vendor/etc/fstab.emmc)
(if you have more that one fstab, edit all)
Edit fstab* :
Find the line contains
"/devices/platform/soc/ ......... /mmc_host*"
add a "#" at the starting of that line (without quotation marks)
and save that file.
Reboot your device.
Now, It won't show any corruption device notification.
afridi.shahriar said:
@namhoang235
...
Click to expand...
Click to collapse
thank for your suggest, but i use android 11 and sdcardfs and mnt/extsd seem like changed,
i try to replace by storage/sdcard1 but it doesnot work
also try to edit fstab from auto to f2fs but it not show my sdcard, my rom support f2fs already
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}