Just flashed this, and noticed there is no exFAT support compiled into the kernel. Is this something that can be added easily? The email app is quite useful for some people - for the Exchange ActiveSync support for corporate email accounts.
Other than the above - really nice job on the ROM though. Feels like a Nexus device.
diff --git a/exfat_super.c b/exfat_super.c
index 5175473..9eccc55 100644
--- a/exfat_super.c
+++ b/exfat_super.c
@@ -1543,7 +1543,7 @@ static void exfat_evict_inode(struct inode *inode)
//mark_inode_dirty(inode);
}
invalidate_inode_buffers(inode);
- clear_inode(inode);
+ end_writeback(inode);
exfat_detach(inode);
/*
struct exfat_sb_info *sbi = EXFAT_SB(inode->i_sb);
You can cross compile https://github.com/rxrz/exfat-nofuse with this patch:
Code:diff --git a/exfat_super.c b/exfat_super.c index 5175473..9eccc55 100644 --- a/exfat_super.c +++ b/exfat_super.c @@ -1543,7 +1543,7 @@ static void exfat_evict_inode(struct inode *inode) //mark_inode_dirty(inode); } invalidate_inode_buffers(inode); - clear_inode(inode); + end_writeback(inode); exfat_detach(inode); /* struct exfat_sb_info *sbi = EXFAT_SB(inode->i_sb);
But IMO there is no real reason to use exFAT on any android device: If you are using a large sd-card just use ext4: Android will share the filesystem via MTP anyway. Also note that the legal status of reverse engineered exFAT implementations is 'unknown'.
Fair point - decided to go with your suggestion of formatting with ext4 (once I've backed up the data on the sdcard). The reason I'd chosen exfat was that the stock ROMs had a module available for exfat, and that 4.2.2 seems to support it natively, whereas ext4 has not been supported on the sdcard. (I'll admit I'm lazy)
Thanks for making the sources available too.
Sony ships with the 'Tuxera exFat' kernel driver. Tuxera has a contract with Microsoft so they are allowed to ship their own exFat implementation.
The code linked in my previous post on github is in a grey-area as Microsoft *requires* you to pay them in order to distribute exFat implementations.
The vanilla linux kernel (and AOSP) never included exFat support and probably never will.
With a 64GB ext4 formatted SD card, it's not automatically mounted - listed as blank or has unsupported filesystem. I can mount the filesystem manually when connected via adb - although it seems that 'correct' way to do this in Android is to mount it somewhere and then use sdcard to 'remount' it in the location that the OS will actually use (sdcard seems to be similar to a bind mount but mounts via fuse in a way to remove permissions and case sensitivity).
The source for sdcard suggests this should work, so I guess I'm missing something somewhere else...
It doesn't get mounted because vold only expects fat32 sdcards. I hacked up a small patch and this makes the automount work:
http://pastebin.com/yM2aHhcG
However: You'll run into permission issues - setting a default ACL doesn't work as android apps will just override it with their 'more secure' umask.
So i guess yeah: The only real solution would be to launch the sdcard-daemon for the external sdcard.
CM has a patch for this: http://review.cyanogenmod.org/#/c/31215/ - but i wonder if it wouldn't be simpler to solve this in the kernel. (the sdcard daemon is just a big hack of google to simulate the old there-are-no-permissions-on-/sdcard behaviour)
Hey pabx
Is your Rom based on the latest official Sony AOSP Workshop Rom?
Anyone running this ROM please give me Settings.apk and SystemUI like ASAP.
You will give us the google play edition Rom from the Xperia Z?Anyone running this ROM please give me Settings.apk and SystemUI like ASAP. Even if you aren't flash it and give it to me. In return I'll give you a 4.3 Google Play Edition ROM. But I need these for cross checking.
How do you do that? Flash the ROM. Get any root file explorer. Go to System/App. Copy the two APKS to your internal memory. Upload it to DropBox or equivalent and PM me the link
Sent from my Sony Xperia Z using XDA Premium HD
And what are you planning to do with them? There is nothing special about Settings and SystemUI in this ROM:
System-UI is compiled from the unmodified 4.2.2 sources and my changes for Settings are here: https://github.com/adrian-bl-yuga/android_packages_apps_Settings (and 100% useless if you are not using qc-fqd)
For now im just playing around... Where ever it leads me too i guess. I ported 4.3 and it booted with FXP's 4.2 kernel so im surprised so im just going with the flow. Thanks bro
$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.3_r2.x
# copy-n-paste the local-manifest from: https://github.com/adrian-bl-yuga/device-sony-c6603
$ repo sync
# Download the v3 blobs from sony and extract them
$ ( cd kernel/sony/k253 && ./_build.sh )
$ lunch full_c6603-userdebug
$ make -j 8