Comments (9)
To be honest, I have no idea what is Dual Boot Patcher. How exactly does it use fuse-exfat?
Could you get the log from fuse-exfat? It prints errors into syslog, but it seems that Android does not have it. Hint: make logging functions in libexfat/log.c
use __android_log_vprint
.
from exfat.
Here you can read about Dual Boot Patcher:
https://dbp.noobdev.io
It makes possible to install multiple ROMs onto the same Android phone.
One solution is to flash the ROM external sdcard. Since my sdcard is 64GB, it should use exFAT.
Well, if it is formatted to exFAT, then gives the errors above.
However, if I format to FAT32, then boots without problems.
This is why I thought, that exFAT driver may cause the problem.
Personally I don't develop in C++, so I don't know how to implement your suggestion.
But if I get exact code, I will implement into the Dual Boot Patcher code and compile it.
I know that I should place the debugging code into mount_fstab.cpp, under method mount_fstab():
https://github.com/chenxiaolong/DualBootPatcher/blob/e3366791f3ff06aa46a26f354e298fe43fc99ecb/mbtool/mount_fstab.cpp
from exfat.
The following issue is discussing the problem:
chenxiaolong/DualBootPatcher#375
from exfat.
Here you can read about Dual Boot Patcher: https://dbp.noobdev.io
There's zero info about its internals.
But if I get exact code, I will implement into the Dual Boot Patcher code and compile it.
Good time for you to start learning C. :) In libexfat/log.c:
- replace
vsyslog(LOG_ERR, format, aq);
with__android_log_vprint(ANDROID_LOG_ERROR, "exfat", fmt, aq);
- add
#include <android/log.h>
from exfat.
@relan: I saw the android branch. Is it finished? Will it be merged into next release?
from exfat.
The external 64Gb sdcard now was formatted using TWRP v3.0.2 to exFAT.
Attaching logs about kernel booting process.
I see the following in /multiboot/sdcard/logs/kmsg.log:
<3>[ 9.297454] mblog: 1 fstab entries for the external SD
<3>[ 9.297576] mblog: [Attempt 1/10] Finding and mounting external SD
<3>[ 9.297790] mblog: Matching devices against pattern: /devices/platform/msm_sdcc.2/mmc_host/mmc2*
<3>[ 9.301574] mblog: /default.prop contains fuse-exfat override: false
<6>[ 9.312347] synaptics_rmi4_i2c 3-0020: synaptics_init_power_on: until lcd does not turn on.
<3>[ 9.391937] mblog: Using fuse-exfat: 0
<3>[ 9.392089] mblog: Failed to mount /dev/block/mmcblk1p1 (exfat) at /raw/extsd: No such device
<3>[ 9.395996] mblog: /default.prop contains fuse-exfat override: false
<3>[ 9.482238] FAT-fs (mmcblk1): invalid media value (0x01)
<6>[ 9.482330] FAT-fs (mmcblk1): Can't find a valid FAT filesystem
<3>[ 9.482757] mblog: Failed to mount /dev/block/mmcblk1 (vfat) at /raw/extsd: Invalid argument
<6>[ 10.312316] synaptics_rmi4_i2c 3-0020: synaptics_init_power_on: until lcd does not turn on.
<3>[ 10.483032] mblog: [Attempt 2/10] Finding and mounting external SD
<3>[ 10.483215] mblog: Matching devices against pattern: /devices/platform/msm_sdcc.2/mmc_host/mmc2*
<3>[ 10.486938] mblog: /default.prop contains fuse-exfat override: false
<3>[ 10.577423] mblog: Using fuse-exfat: 0
<3>[ 10.577606] mblog: Failed to mount /dev/block/mmcblk1p1 (exfat) at /raw/extsd: No such device
<3>[ 10.581420] mblog: /default.prop contains fuse-exfat override: false
<3>[ 10.667724] FAT-fs (mmcblk1): invalid media value (0x01)
<6>[ 10.667816] FAT-fs (mmcblk1): Can't find a valid FAT filesystem
<3>[ 10.668151] mblog: Failed to mount /dev/block/mmcblk1 (vfat) at /raw/extsd: Invalid argument
<6>[ 10.912353] max77693-muic max77693-muic: func:max77693_muic_usb_detect info->muic_data->sw_path:0
<6>[ 11.312316] synaptics_rmi4_i2c 3-0020: synaptics_init_power_on: until lcd does not turn on.
Does it help you?
kmsg.log.txt
20170328.084614.tar.gz
from exfat.
I saw the android branch. Is it finished?
It's a work-in-progress.
Will it be merged into next release?
It depends. I need to test those changes before I merge them.
Does it help you?
I'm afraid no. I don't see any error messages from fuse-exfat here.
from exfat.
No new info for over a year, closing.
from exfat.
I will reopen the issue if I will have time to test exFAT again.
from exfat.
Related Issues (20)
- [tools][feature request] Allow To Change Volume Serial Number ("ID")
- exfat 1.3 Transport endpoint is not connected HOT 10
- mount.exfat needs a man page on FreeBSD HOT 2
- High CPU usage with exfat HOT 3
- Context option is ignored HOT 1
- Do not treat "permission denied" as filesystem error HOT 1
- 3 years gone after last release (September 2018) ! HOT 3
- we meet "configure: error: Package requirements (fuse) were not met" on ubuntu16.04 about exfat HOT 4
- Security contact HOT 2
- concurrent reads of the same file are slow
- warning when autoreconf --install @ubuntu 22.04 LTS HOT 1
- Make error: [Makefile:445: mount_exfat_fuse-main.o] Error 1 HOT 8
- Information disclosure in fuse-exfat HOT 5
- mount fail HOT 2
- Fsck.exfat -y flag not working HOT 1
- How to create exfat partitions/drives on FreeBSD? HOT 1
- Sry, im stupid but how do install on Mac? HOT 1
- I execute command"brew install --HEAD exfat" got an error.This is the log HOT 2
- Please give homebrew support HOT 1
- ERROR: unknown entry type 0xff HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exfat.