Comments (3)
The problem appears to be located at the fuse readdir()
implementation of fuse-ext2
$ fuse-ext2 -o uid=$EUID,ro system.img.raw system
$ ls system/app
BasicDreams CloudPrint2 GoogleHome LatinImeGoogle PrebuiltDeskClockGoogle Tycho qcrilmsgtunnel
Bluetooth DMAgent GoogleJapaneseInput LiveWallpapersPicker PrebuiltExchange3Google UserDictionaryProvider talkback
BluetoothMidiService DocumentsUI GooglePinyinIME NfcNci PrebuiltGmail Videos
CalculatorGoogle DownloadProviderUi GoogleTTS PacProcessor PrintSpooler Wallet
CaptivePortalLogin Drive HTMLViewer PlayAutoInstallConfig SetupSmartDeviceOverlay WebViewGoogle
CertInstaller FaceLock Hangouts PlayGames Stk YouTube
Chrome GoogleHindiIME KeyChain PrebuiltBugle TimeService atfwd
$ ls system/app/HiddenMenu
HiddenMenu.apk oat
$ gstat system/app/HiddenMenu
File: system/app/HiddenMenu
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 3600003eh/905969726d Inode: 2059 Links: 3
Access: (0755/drwxr-xr-x) Uid: ( 501/anestisb) Gid: ( 0/ wheel)
Access: 2009-01-01 10:00:00.000000000 +0200
Modify: 2009-01-01 10:00:00.000000000 +0200
Change: 2009-01-01 10:00:00.000000000 +0200
Birth: -
$ find system/app -name "*Hidden*"
from android-prepare-vendor.
Using the older walk_dir()
implementation instead of new default walk_dir2()
seems to resolve the problem.
anestisb at khaos in ~/Tools/Misc/fuse-ext2 on master [!?] [2.7] $
$ git diff
diff --git a/fuse-ext2/op_readdir.c b/fuse-ext2/op_readdir.c
index 60e1890..203d60f 100644
--- a/fuse-ext2/op_readdir.c
+++ b/fuse-ext2/op_readdir.c
@@ -25,7 +25,7 @@ struct dir_walk_data {
fuse_fill_dir_t filler;
};
-#define _USE_DIR_ITERATE2 1
+//#define _USE_DIR_ITERATE2 1
#if defined(_USE_DIR_ITERATE2) && (_USE_DIR_ITERATE2 == 1)
static int walk_dir2 (ext2_ino_t dir, int entry, struct ext2_dir_entry *dirent, int offset, int blocksize, char *buf, void *vpsid)
{
from android-prepare-vendor.
Upstream fuse-ext2 has also implemented the temporarily fix - alperakcan/fuse-ext2@48cc22e
from android-prepare-vendor.
Related Issues (20)
- Audio not working in crosshatch HOT 3
- oatdump dependencies download failed HOT 2
- Bytecode repair fails for a Google Nexus factory image HOT 3
- Setup wizard HOT 2
- product.img already appears to be generated by AOSP and ends up as a duplicate
- include files for product.img for full configuration similar to vendor.img
- sargo (Pixel 3a) support HOT 15
- eSIM manager crashes on sargo HOT 7
- 'dexrepair' command not found HOT 2
- No valid OS found HOT 4
- syntax error, unexpected QQSTRING_START with jq 1.3 from Ubuntu 14.04 repos HOT 1
- cannot verify dl.google.com's certificate HOT 1
- API 29 support (Android 10.0) HOT 18
- 404 causes download-nexus-image.sh to always report ToS accept failure HOT 1
- Nexus ToS accept request failed - Images download failed HOT 2
- ext4fuse command not found HOT 1
- How to unlock bootloader in custom rom evolution x HOT 1
- download_nexus_image.sh error Image URL not found HOT 2
- Stuck in bootloader HOT 20
- Doesn't work with Python3.7 HOT 2
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 android-prepare-vendor.