ads

Affichage des articles dont le libellé est Ext4. Afficher tous les articles
Affichage des articles dont le libellé est Ext4. Afficher tous les articles

dimanche 27 septembre 2015

The correct way to mount an ext4 sdcard on the stock 5.1 firmware+root?



So I have an unlockable bootloader on my Sony Z1C, so I can't (easily) run Cyanogen without doing some fun kernel repacking or finding the right rom. So far, I'm okay with the stock firmware. It does what I need it to do now that it's rooted.

The only issue, my SD card from my previous (now broken) phone is in ext4. Cyanogen automounts ext4 fine, but the stock firmware doesn't. I can use adb shell to mount it as root using the following:


Code:


mount -t ext4 /dev/block/mmcblk1p1 /storage/sdcard1

It mounts, but it's totally not viewable by any apps or in the Android storage menu. I found some threads that say to do the following:


Code:


am broadcast -a android.intent.action.MEDIA_MOUNTED -d file:///sdcard

But that doesn't cause my sdcard to show up.

All the instructions I've found are for older 4.x android versions and have tons of zip files and init scripts, vold files that don't exist on my rom, fstabs that don't exist on my rom, and garbage for all other versions of Android. What is the right way to mount my ext4 sdcard on the Stock+root Sony rom so it shows up correctly in Android OS for all my apps.

I really don't want to reformat it in vfat. It's a 128GB sdcard and is quite literally filled with all my music (well, A-W. I ran out of space. X-Z will have to wait..). I can mount it manually, so the kernel supports it. Is there something in build.prop I can enable so the stock auto-mounter will recognize ext4?



[ROM][5.1.1][Grouper EXT4 Only (for now)][AOSP] Desolation Rom [Layers]




for Nexus 7 2012


Welcome to Desolation Rom!! Our goal is to provide users with a unique staple in android development which aims at stability and optimizations with what we feel is the perfect amount of features. We hope you enjoy this rom as much as we have enjoyed working as a great team building it.


Features:




Optimizations:
* 4.8 Google Prebuilt ToolChain for Rom
* Layers 2.1 Support
* Strict Aliasing
* 03 Optimizations
* Krait Optimizations
* Various Speed Optimizations

Rom Specific Tweaks:
* Custom Battery Styles and Options
* Clock And Date Customizations
* Boot Animation Options ( Boot Selection Still a work in progress)
* Slims Navigation Customizations
* Hardware Key Support
* SlimPie
* Heads Up Options
* Network Traffic Options
* Notification Drawer Tweaks
* Power Menu Options
* Recent Apps Options
* Custom Carrier Label
* DPI Changer
* Expanded Desktop
* Notification LED Color Changer

And much more to come




Instructions:

1. Download the Rom and Gapps and place in the root of your internal storage
2. Boot into TWRP. (Making a backup before flashing is always recommended)
3. I always recoomend clean flashing coming from any rom. To do so go to Wipe and swipe to perform a factory reset. I also personaly go to advanced wipe and checkmark all but internal storage and wipe there too.
4. Flash ROM and Gapps under Install
5. Reboot and enjoy.



Downloads:

Rom: Download Here!

Gapps: Download Here!



Special Thanks:
@ SlimRoms (For Navbar Customizations, Hardware Key Support and SlimPie)
@ BitSyko Team (For Layers support)
@BaNkS (For Gapps)
@ Google (For the Android Open Source Project)
@ All of the Open Source Community
@ All of our testers

Moderators: If there is trolling, bashing or any high negativity please feel free to do as you wish.

We are a Drama Free group and would like to keep it that way. That being said if you have any issues you can ask in Q&A section or by PM'ing me personally and will do what we can to resolve any issues or concerns. PLEASE if you have any bugs that you are on a clean flash of the rom and provide proper logs or we cannot help you. To be fair, Just saying "oh this or that happenned fix it" does not help us. So help us to help you and provide these. Thanks.

Also feel free to join our g+ community Here for other rom related stuff.


XDA:DevDB Information
DesolationROM, ROM for the Nexus 7

Contributors
Snuzzo, REV3NT3CH, liquid0624, bshiznit, izzaeroth
Source Code: Rom , Device

ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.1.x
Based On: AOSP, CAF

Version Information
Status: Stable

Created 2015-09-27
Last Updated 2015-09-27