[Q] [URGENT HELP NEEDED] Xperia M Dual Swap - Sony Xperia M

How to swap data (SD and Internal) for Xperia M Dual 15.2.A.1.12.
Is there a solution.

Mate, I'd tried to edit vold.fstab from system/etc/ but sytem ui force stop occured. Also tried all the avail scripts but no success yet.
Sent from my C2005 using XDA Premium 4 mobile app

pankaj.gaikar said:
Mate, I'd tried to edit vold.fstab from system/etc/ but sytem ui force stop occured. Also tried all the avail scripts but no success yet.
Sent from my C2005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Good Luck:good:

MahaDEVELOPER said:
Good Luck:good:
Click to expand...
Click to collapse
No success at all

[URGENT HELP NEEDED] Xperia M Dual Swap
Can any body give a solution for swapping External to Internal memory, I'm also using Xperia M Dual(C2004 Model) unable to swap memory.
Tried in many ways using Root External 2 Internal SD App also. My phone is rooted but unable to install big games like NFS most wanted.
I'm a newbie in this field. Can anyone figure it out ?

LakshmanAys said:
Can any body give a solution for swapping External to Internal memory, I'm also using Xperia M Dual(C2004 Model) unable to swap memory.
Tried in many ways using Root External 2 Internal SD App also. My phone is rooted but unable to install big games like NFS most wanted.
I'm a newbie in this field. Can anyone figure it out ?
Click to expand...
Click to collapse
There is no luck for anyone, but we are working on it, you can join us here...
http://forum.xda-developers.com/showthread.php?p=49550357
Sent from my C2005 using XDA Premium 4 mobile app

sony m duel original vold.fstab file. how to edit it??
# Copyright (c) 2011, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of The Linux Foundation nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
dev_mount sdcard /storage/sdcard1 auto /devices/platform/msm_sdcc.3/mmc_host

king Aj said:
# Copyright (c) 2011, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of The Linux Foundation nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
dev_mount sdcard /storage/sdcard1 auto /devices/platform/msm_sdcc.3/mmc_host
Click to expand...
Click to collapse
O no no no you don't use vold.fstab for XM. Idk why but its impossible because theres only one line there (from what I heard). Use this
http://forum.xda-developers.com/showthread.php?t=2711280
I think it's because you cant revert the mounting of the sdcard to the internal or something like that. Anyway use dat link I gave you and follow the steps carefully :good: Here's a good tip: Check if you're sdcard is FAT32 or not. If it is, no need to format it and if it is not FAT32, format the sdcard.

Related

Where can I find the camera binary for 4.1.1?

Its not included with the ones Google provides and I can't get my camera working on the ROM I built from source.
you need to get it from the official factory image. maguro or toro?
Sent from my i9250
edit: this is maguro's script updated for jb paths, create it under your own branch of /device/samsung/maguro, chmod +x it, git add/git commit, flash official factory images, connect device to adb, execute extract-files.sh.
Code:
#!/bin/sh
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This file is generated by device/common/generate-blob-scripts.sh - DO NOT EDIT
DEVICE=maguro
MANUFACTURER=samsung
mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE/proprietary
adb pull /system/bin/fRom ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/fRom
chmod 755 ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/fRom
adb pull /system/lib/libsecril-client.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libsecril-client.so
adb pull /system/vendor/bin/pvrsrvctl ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/pvrsrvctl
chmod 755 ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/pvrsrvctl
adb pull /system/vendor/etc/sirfgps.conf ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/sirfgps.conf
adb pull /system/vendor/firmware/bcm4330.hcd ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/bcm4330.hcd
adb pull /system/vendor/firmware/ducati-m3.bin ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/ducati-m3.bin
adb pull /system/vendor/firmware/libpn544_fw.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libpn544_fw.so
adb pull /system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libEGL_POWERVR_SGX540_120.so
adb pull /system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libGLESv1_CM_POWERVR_SGX540_120.so
adb pull /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libGLESv2_POWERVR_SGX540_120.so
adb pull /system/vendor/lib/hw/gps.omap4.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/gps.omap4.so
adb pull /system/vendor/lib/hw/gralloc.omap4.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/gralloc.omap4.so
adb pull /system/vendor/lib/libglslcompiler.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libglslcompiler.so
adb pull /system/vendor/lib/libIMGegl.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libIMGegl.so
adb pull /system/vendor/lib/libinvensense_mpl.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libinvensense_mpl.so
adb pull /system/vendor/lib/libpvr2d.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libpvr2d.so
adb pull /system/vendor/lib/libpvrANDROID_WSEGL.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libpvrANDROID_WSEGL.so
adb pull /system/vendor/lib/libPVRScopeServices.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libPVRScopeServices.so
adb pull /system/vendor/lib/libsec-ril.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libsec-ril.so
adb pull /system/vendor/lib/libsrv_init.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libsrv_init.so
adb pull /system/vendor/lib/libsrv_um.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libsrv_um.so
adb pull /system/vendor/lib/libusc.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libusc.so
(cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/device-vendor-blobs.mk
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This file is generated by device/__MANUFACTURER__/__DEVICE__/extract-files.sh - DO NOT EDIT
# Prebuilt libraries that are needed to build open-source libraries
PRODUCT_COPY_FILES := \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libsecril-client.so:obj/lib/libsecril-client.so
# All the blobs necessary for maguro
PRODUCT_COPY_FILES += \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/fRom:system/bin/fRom \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libsecril-client.so:system/lib/libsecril-client.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/pvrsrvctl:system/vendor/bin/pvrsrvctl \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/sirfgps.conf:system/vendor/etc/sirfgps.conf \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/bcm4330.hcd:system/vendor/firmware/bcm4330.hcd \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/ducati-m3.bin:system/vendor/firmware/ducati-m3.bin \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libpn544_fw.so:system/vendor/firmware/libpn544_fw.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libEGL_POWERVR_SGX540_120.so:system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libGLESv1_CM_POWERVR_SGX540_120.so:system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libGLESv2_POWERVR_SGX540_120.so:system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/gps.omap4.so:system/vendor/lib/hw/gps.omap4.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/gralloc.omap4.so:system/vendor/lib/hw/gralloc.omap4.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libglslcompiler.so:system/vendor/lib/libglslcompiler.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libIMGegl.so:system/vendor/lib/libIMGegl.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libinvensense_mpl.so:system/vendor/lib/libinvensense_mpl.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libpvr2d.so:system/vendor/lib/libpvr2d.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libpvrANDROID_WSEGL.so:system/vendor/lib/libpvrANDROID_WSEGL.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libPVRScopeServices.so:system/vendor/lib/libPVRScopeServices.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libsec-ril.so:system/vendor/lib/libsec-ril.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libsrv_init.so:system/vendor/lib/libsrv_init.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libsrv_um.so:system/vendor/lib/libsrv_um.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libusc.so:system/vendor/lib/libusc.so
EOF
(cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/Android.mk
# Copyright (C) 2011 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This file is generated by device/__MANUFACTURER__/__DEVICE__/extract-files.sh - DO NOT EDIT
ifeq (\$(TARGET_DEVICE),maguro)
LOCAL_PATH:=\$(call my-dir)
endif
EOF
./setup-makefiles.sh
Serious_Beans said:
Its not included with the ones Google provides and I can't get my camera working on the ROM I built from source.
Click to expand...
Click to collapse
If you get your ROM working, can you send me a link? I'm desperately trying to get mine working again and the problem appears to be the binaries. I think you new to do the extractfiles.sh or whatever it is called. I don't remember exactly.
Sent from my Galaxy Nexus using Tapatalk 2
rm2011 said:
If you get your ROM working, can you send me a link? I'm desperately trying to get mine working again and the problem appears to be the binaries. I think you new to do the extractfiles.sh or whatever it is called. I don't remember exactly.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Which binaries you missing? you can use the script posted above to get the ones you need and you can get the rest from Google.
https://developers.google.com/android/nexus/drivers
Serious_Beans said:
Which binaries you missing? you can use the script posted above to get the ones you need and you can get the rest from Google.
https://developers.google.com/android/nexus/drivers
Click to expand...
Click to collapse
with extract-files.sh, you don't need the ones google provides. google doesn't have the permissions to distribute the rest of the binaries.
bk201doesntexist said:
you need to get it from the official factory image. maguro or toro?
Sent from my i9250
edit: this is maguro's script updated for jb paths, create it under your own branch of /device/samsung/maguro, chmod +x it, git add/git commit, flash official factory images, connect device to adb, execute extract-files.sh.
Code:
#!/bin/sh
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This file is generated by device/common/generate-blob-scripts.sh - DO NOT EDIT
DEVICE=maguro
MANUFACTURER=samsung
mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE/proprietary
adb pull /system/bin/fRom ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/fRom
chmod 755 ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/fRom
adb pull /system/lib/libsecril-client.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libsecril-client.so
adb pull /system/vendor/bin/pvrsrvctl ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/pvrsrvctl
chmod 755 ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/pvrsrvctl
adb pull /system/vendor/etc/sirfgps.conf ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/sirfgps.conf
adb pull /system/vendor/firmware/bcm4330.hcd ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/bcm4330.hcd
adb pull /system/vendor/firmware/ducati-m3.bin ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/ducati-m3.bin
adb pull /system/vendor/firmware/libpn544_fw.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libpn544_fw.so
adb pull /system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libEGL_POWERVR_SGX540_120.so
adb pull /system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libGLESv1_CM_POWERVR_SGX540_120.so
adb pull /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libGLESv2_POWERVR_SGX540_120.so
adb pull /system/vendor/lib/hw/gps.omap4.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/gps.omap4.so
adb pull /system/vendor/lib/hw/gralloc.omap4.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/gralloc.omap4.so
adb pull /system/vendor/lib/libglslcompiler.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libglslcompiler.so
adb pull /system/vendor/lib/libIMGegl.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libIMGegl.so
adb pull /system/vendor/lib/libinvensense_mpl.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libinvensense_mpl.so
adb pull /system/vendor/lib/libpvr2d.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libpvr2d.so
adb pull /system/vendor/lib/libpvrANDROID_WSEGL.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libpvrANDROID_WSEGL.so
adb pull /system/vendor/lib/libPVRScopeServices.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libPVRScopeServices.so
adb pull /system/vendor/lib/libsec-ril.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libsec-ril.so
adb pull /system/vendor/lib/libsrv_init.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libsrv_init.so
adb pull /system/vendor/lib/libsrv_um.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libsrv_um.so
adb pull /system/vendor/lib/libusc.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libusc.so
(cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/device-vendor-blobs.mk
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This file is generated by device/__MANUFACTURER__/__DEVICE__/extract-files.sh - DO NOT EDIT
# Prebuilt libraries that are needed to build open-source libraries
PRODUCT_COPY_FILES := \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libsecril-client.so:obj/lib/libsecril-client.so
# All the blobs necessary for maguro
PRODUCT_COPY_FILES += \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/fRom:system/bin/fRom \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libsecril-client.so:system/lib/libsecril-client.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/pvrsrvctl:system/vendor/bin/pvrsrvctl \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/sirfgps.conf:system/vendor/etc/sirfgps.conf \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/bcm4330.hcd:system/vendor/firmware/bcm4330.hcd \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/ducati-m3.bin:system/vendor/firmware/ducati-m3.bin \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libpn544_fw.so:system/vendor/firmware/libpn544_fw.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libEGL_POWERVR_SGX540_120.so:system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libGLESv1_CM_POWERVR_SGX540_120.so:system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libGLESv2_POWERVR_SGX540_120.so:system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/gps.omap4.so:system/vendor/lib/hw/gps.omap4.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/gralloc.omap4.so:system/vendor/lib/hw/gralloc.omap4.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libglslcompiler.so:system/vendor/lib/libglslcompiler.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libIMGegl.so:system/vendor/lib/libIMGegl.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libinvensense_mpl.so:system/vendor/lib/libinvensense_mpl.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libpvr2d.so:system/vendor/lib/libpvr2d.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libpvrANDROID_WSEGL.so:system/vendor/lib/libpvrANDROID_WSEGL.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libPVRScopeServices.so:system/vendor/lib/libPVRScopeServices.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libsec-ril.so:system/vendor/lib/libsec-ril.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libsrv_init.so:system/vendor/lib/libsrv_init.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libsrv_um.so:system/vendor/lib/libsrv_um.so \\
vendor/__MANUFACTURER__/__DEVICE__/proprietary/libusc.so:system/vendor/lib/libusc.so
EOF
(cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/Android.mk
# Copyright (C) 2011 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This file is generated by device/__MANUFACTURER__/__DEVICE__/extract-files.sh - DO NOT EDIT
ifeq (\$(TARGET_DEVICE),maguro)
LOCAL_PATH:=\$(call my-dir)
endif
EOF
./setup-makefiles.sh
Click to expand...
Click to collapse
extract-files.sh: 121: extract-files.sh: ./setup-makefiles.sh: not found
Where does it extract the files to?
obviously, you are also missing that one
sorry, i'll post that one later. and files should go into /vendor/samsung/maguro/proprietary. if you read the code, you'll see what its doing.
Sent from my i9250
bk201doesntexist said:
obviously, you are also missing that one
sorry, i'll post that one later. and files should go into /vendor/samsung/maguro/proprietary. if you read the code, you'll see what its doing.
Sent from my i9250
Click to expand...
Click to collapse
Alright, I was confused, I didn't realize it was going into that folder because I didn't know I had the vendor folder in my source lol. Sorry was late last night and I was out of it >_<.
Anyways, thanks for the script, I guess I have the files I need now, last question is, how do I get them onto the ROM? When I build from source will it just compile with the drivers?
Serious_Beans said:
Alright, I was confused, I didn't realize it was going into that folder because I didn't know I had the vendor folder in my source lol. Sorry was late last night and I was out of it >_<.
Anyways, thanks for the script, I guess I have the files I need now, last question is, how do I get them onto the ROM? When I build from source will it just compile with the drivers?
Click to expand...
Click to collapse
setup-makefiles.sh
Code:
#!/bin/sh
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
DEVICE=maguro
MANUFACTURER=samsung
mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE
(cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/device-vendor.mk
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This file is generated by device/__MANUFACTURER__/__DEVICE__/setup-makefiles.sh
\$(call inherit-product, vendor/__MANUFACTURER__/__DEVICE__/device-vendor-blobs.mk)
EOF
(cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/BoardConfigVendor.mk
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This file is generated by device/__MANUFACTURER__/__DEVICE__/setup-makefiles.sh
EOF
just run 'make clobber' and 'make installclean', and rebuild.

Use an SDcard as internal storage - JellyBean

Hey guys,
This guide is how to reverse the external and internal storages, AKA, use an sdcard as internal storage, and vice versa.
I CANNOT BE HELD RESPONSIBLE IF YOU BRICK YOUR PHONE, OR DAMAGE YOUR SDCARD.
In vold.fstab, in the directory /system/etc/, you have two lines. Edit them with Root explorer's included "text editor", or any other good (root) text editor. Make sure you have r/w on. Find the below two lines:
Code:
dev_mount internal /storage/sdcard0 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 encryptable_nonremovable
and
Code:
dev_mount sdcard /storage/sdcard1 auto /devices/virtual/block/cyasblkdevblk0
Now, replace the regular lines, with the below red lines:
Code:
dev_mount internal [COLOR="red"]/storage/sdcard1[/COLOR] 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 encryptable_nonremovable
and
Code:
dev_mount sdcard [COLOR="Red"]/storage/sdcard0[/COLOR] auto /devices/virtual/block/cyasblkdevblk0
Save, reboot your phone, and BAM, your internal is now marked as external, and your external, is now your internal
____________
This is for AOSP JellyBean
Enjoy, and press the thanks button
Hey ever since i did this, i cant seem to delete files. Do i need to un-do to be able to delete files?
Sent from my SPH-D710 using Tapatalk 2
jinwu57 said:
Hey ever since i did this, i cant seem to delete files. Do i need to un-do to be able to delete files?
Sent from my SPH-D710 using Tapatalk 2
Click to expand...
Click to collapse
Hello,
This mod will have no effect on that.
I didn't change the r/w settings. Silly me. Thanks
Sent from my SPH-D710 using Tapatalk 2
Hi,
Will this work on a galaxy tab2 7.0 with jelly bean?
I tried it but I cannot find the first line reference to internal
Thanks for your feedabck
D2dyno said:
Hey guys,
This guide is how to reverse the external and internal storages, AKA, use an sdcard as internal storage, and vice versa.
I CANNOT BE HELD RESPONSIBLE IF YOU BRICK YOUR PHONE, OR DAMAGE YOUR SDCARD.
In vold.fstab, in the directory /system/etc/, you have two lines. Edit them with Root explorer's included "text editor", or any other good (root) text editor. Make sure you have r/w on. Find the below two lines:
Code:
dev_mount internal /storage/sdcard0 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 encryptable_nonremovable
and
Code:
dev_mount sdcard /storage/sdcard1 auto /devices/virtual/block/cyasblkdevblk0
Now, replace the regular lines, with the below red lines:
Code:
dev_mount internal [COLOR="red"]/storage/sdcard1[/COLOR] 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 encryptable_nonremovable
and
Code:
dev_mount sdcard [COLOR="Red"]/storage/sdcard0[/COLOR] auto /devices/virtual/block/cyasblkdevblk0
Save, reboot your phone, and BAM, your internal is now marked as external, and your external, is now your internal
____________
This is for AOSP JellyBean
Enjoy, and press the thanks button
Click to expand...
Click to collapse
mandylmn said:
Hi,
Will this work on a galaxy tab2 7.0 with jelly bean?
I tried it but I cannot find the first line reference to internal
Thanks for your feedabck
Click to expand...
Click to collapse
Hello,
Could you post your vold.fstab contents here in a code BBCode? I can help you then
Hi,
Here is the content of the file. Thanks in advance
# Copyright (c) 2011, Code Aurora Forum. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of Code Aurora Forum, Inc. nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
#storage_struct = series, "/storage/sdcard/extStorages"
#storage_struct = parallel
{
supported_exfat = yes
}
dev_mount sdcard /storage/extSdCard auto /devices/platform/omap/omap_hsmmc.0/mmc_host/mmc1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sda /storage/UsbDriveA auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdb /storage/UsbDriveB auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdc /storage/UsbDriveC auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdd /storage/UsbDriveD auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sde /storage/UsbDriveE auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdf /storage/UsbDriveF auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1
#EOF
D2dyno said:
Hello,
Could you post your vold.fstab contents here in a code BBCode? I can help you then
Click to expand...
Click to collapse
Wow, that's some really weird code. I wonder why they pulled it from a forum...
Anyway, yeah, as you said, I can't find the internal storage listed in any way. You could try changing the external one, to whatever the internal storage is... I really have no clue how your tablet can even have internal storage with this code... Odd.

Make external storage the internal storage

For anybody who wants alot of internal space by switching your external sd to internal storage do the following: First find the vold.fstab file in system/etc. Once you find it you will need to edit it with an app like root explorer. Scroll down the file until you see the internal sd card line change the 0 to 1. Then in the line that says external sd change the 1 to 0. That's it very simple. Now your external sd will be your internal space. Make sure the vold.fstab file has r-w-.r-r or 644 permissions and owner is root. Now reboot and your done. You should now have switched your external space for internal space successfully!!!
Sent from my SGH-T989 using Tapatalk
Where do I make the edit
GSII T989
AOKP 3/22/13 NIGHTLY NOS'D UP
I was wondering if this was possible on the galaxy reverb. Here is the vold.fstab.
Code:
# Copyright (c) 2011, Code Aurora Forum. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of Code Aurora Forum, Inc. nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
#storage_struct = series, "/mnt/sdcard"
#storage_struct = parallel
{
supported_exfat = yes
}
dev_mount sdcard /mnt/extSdCard auto /devices/platform/msm_sdcc.4/mmc_host
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sda /mnt/UsbDriveA auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdb /mnt/UsbDriveB auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdc /mnt/UsbDriveC auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdd /mnt/UsbDriveD auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sde /mnt/UsbDriveE auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdf /mnt/UsbDriveF auto /devices/platform/msm_hsusb_host/usb
#EOF
Sent from my HTC One XL using xda premium
hatememarkz said:
Where do I make the edit
GSII T989
AOKP 3/22/13 NIGHTLY NOS'D UP
Click to expand...
Click to collapse
Where it says sdcard 0 change it to 1 and where it says external_sd 1 change it to 0. Reboot.
Sent from my SGH-T989 using Tapatalk
johnwayne007 said:
I was wondering if this was possible on the galaxy reverb. Here is the vold.fstab.
Code:
# Copyright (c) 2011, Code Aurora Forum. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of Code Aurora Forum, Inc. nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
#storage_struct = series, "/mnt/sdcard"
#storage_struct = parallel
{
supported_exfat = yes
}
dev_mount sdcard /mnt/extSdCard auto /devices/platform/msm_sdcc.4/mmc_host
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sda /mnt/UsbDriveA auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdb /mnt/UsbDriveB auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdc /mnt/UsbDriveC auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdd /mnt/UsbDriveD auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sde /mnt/UsbDriveE auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdf /mnt/UsbDriveF auto /devices/platform/msm_hsusb_host/usb
#EOF
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
Not familiar with the phone but it looks like all you have to do for this is switch the dev mount sd card with ex sdcard just switch the order so it reads the mount differently. The s2 uses 0 and 1 but basically it should be the same except it uses the words sd and ex instead.
Sent from my SGH-T989 using Tapatalk
richardlibeau said:
Not familiar with the phone but it looks like all you have to do for this is switch the dev mount sd card with ex sdcard just switch the order so it reads the mount differently. The s2 uses 0 and 1 but basically it should be the same except it uses the words sd and ex instead.
Sent from my SGH-T989 using Tapatalk
Click to expand...
Click to collapse
CM9 actually have the option to do it. It was cool i actually swapped and work great. Anyway I am on P.A.C RoM 4.2.2 is it possible to do it with this rom?
FwaZ said:
CM9 actually have the option to do it. It was cool i actually swapped and work great. Anyway I am on P.A.C RoM 4.2.2 is it possible to do it with this rom?
Click to expand...
Click to collapse
Use this zip just unzip and take the file out and place it in system/etc. With 644 or r-w-r-r permissions and owner as root. Then reboot
How is this an app or theme?
Sent from my SAMSUNG-SGH-T989 using xda premium
Spastic909 said:
How is this an app or theme?
Sent from my SAMSUNG-SGH-T989 using xda premium
Click to expand...
Click to collapse
Just a file located in your system/etc that I modified to make your phone mount external sd as internal sd to give you way more space for apps and data files for games or music etc.
Sent from my SGH-T989 using Tapatalk
richardlibeau said:
Just a file located in your system/etc that I modified to make your phone mount external sd as internal sd to give you way more space for apps and data files for games or music etc.
Sent from my SGH-T989 using Tapatalk
Click to expand...
Click to collapse
What happens to the current data? Is it transferred to the external SD? Or just for new data that is written to the "internal memory"?
Damn, looks like I wasted money on FolderMount. Worked great and so simple. Now lets see if my TWRP backups stick to the 64GB now. Could never flash a backup from the external sd card before, always got a "failure".Worked fine from the internal card. Could never figure that one out.
I can't get it to work.
Sent from my SGH-T989 using xda app-developers app
TU Homer said:
I can't get it to work.
Sent from my SGH-T989 using xda app-developers app
Click to expand...
Click to collapse
Have to give the file 644 or r-w-r-r permissions and owner is root
Sent from my SGH-M919 using Tapatalk 2
---------- Post added at 06:04 PM ---------- Previous post was at 06:02 PM ----------
crz6662 said:
Damn, looks like I wasted money on FolderMount. Worked great and so simple. Now lets see if my TWRP backups stick to the 64GB now. Could never flash a backup from the external sd card before, always got a "failure".Worked fine from the internal card. Could never figure that one out.
Click to expand...
Click to collapse
It will flash backup from external sd no problem
Sent from my SGH-M919 using Tapatalk 2
Miami8906 said:
Have to give the file 644 or r-w-r-r permissions and owner is root
Sent from my SGH-M919 using Tapatalk 2
---------- Post added at 06:04 PM ---------- Previous post was at 06:02 PM ----------
It will flash backup from external sd no problem
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
I'll try it, but the problem with me is the actual syntax was not exactly the same. But I am to take your attached file, give it r-w-r-r and owner root, and replace with my existing file, correct?
Backin up now...
TU Homer said:
I'll try it, but the problem with me is the actual syntax was not exactly the same. But I am to take your attached file, give it r-w-r-r and owner root, and replace with my existing file, correct?
Backin up now...
Click to expand...
Click to collapse
Yes that's it should work fine after reboot.
Sent from my SGH-M919 using Tapatalk 2
Miami8906 said:
Yes that's it should work fine after reboot.
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
Thanks.
I'm using ES File Explorer File Manager, and I'm struggling with changing the new files permissions.
I went ahead and bought Root Explorer, and it handled my permissions. Hope running Infamous 3.0 will work fine. Fixed permissions and it's booting now.
richardlibeau said:
Just a file located in your system/etc that I modified to make your phone mount external sd as internal sd to give you way more space for apps and data files for games or music etc.
Sent from my SGH-T989 using Tapatalk
Click to expand...
Click to collapse
Hi can u help me will you modify my vold file please its from jb 4.2.2 S4 i9505
http://goo.gl/DsS0c
Thanks man
XDA Premium on GT-I9505
LyuboA said:
Hi can u help me will you modify my vold file please its from jb 4.2.2 S4 i9505
http://goo.gl/DsS0c
Thanks man
XDA Premium on GT-I9505
Click to expand...
Click to collapse
Having same issue on my s4 myself working on a fix to make it work like the s2 but it's set up differently. For now I have been using GL to SD Root to move game data to ex card and it works great. I freed up 7 gb's of internal space using the app until I figure the voldfstab file out.
Sent from my SGH-M919 using Tapatalk 2
TU Homer said:
Thanks.
I'm using ES File Explorer File Manager, and I'm struggling with changing the new files permissions.
I went ahead and bought Root Explorer, and it handled my permissions. Hope running Infamous 3.0 will work fine. Fixed permissions and it's booting now.
Click to expand...
Click to collapse
Just not booting up. Stuck at the boot screen for Infamous. Dang.
Any thoughts?
TU Homer said:
Just not booting up. Stuck at the boot screen for Infamous. Dang.
Any thoughts?
Click to expand...
Click to collapse
Should boot up fine unless you didn't change permissions or had owner as root incorrectly. I used this for almost a year when I hsd the s2. Try wiping dalvik and cache partition then reboot this should fix it.
Sent from my SGH-M919 using Tapatalk 2

SD as internal storage - Modifying the vold.fstab file

She could anyone help with editing vold.fstab to exchange storage to the SD card as an internal storage? :good:
# Copyright (C) 2009 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
## Vold 2.0 fstab for HTC Dream or Sapphire
#
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
# Mounts the first usable partition of the specified device
dev_mount sdcard /mnt/ext_sdcard auto /devices/platform/hi_mci.0/mmc_host/mmc1
dev_mount usbotg /mnt/usb auto /devices/hisik3-usb-otg/usb1
Can't fins this file?
Where is it located?
DonCarlosis said:
Where is it located?
Click to expand...
Click to collapse
Location:
system/etc/vold.fstab
I still use ROM B116 , where you can set the internal storage , I would like to use ROM B118 , but there is the possibility to use the SD card as an internal storage is not .
Interestingly, vold.fstab is the same in the B116 and the B118
I do not understand

[ROM] [NXT-L29] B581 Rooted[currently stoped]

Here is a TWRP flashable B581 ROM. The rom is completely stock for you stock lovers with only a few addons.​
Disclaimer:
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this TUTO
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
*/
Features:
-Pre-Rooted with SuperSU
-Alpha (NEVER TESTED)
Instructions:
-You must be on stock B5xx (Nougat) to flash this
-Make BACKUP BACKUP BACKUP via TWRP
-Boot into TWRP
-Factory Reset
-Flash ROM
-Profit
--------------------------------------------------------------------
Download link(s):
-NXT-L29-B581-STOCK-ROOTED-ALPHA-1-17/05/24
--------------------------------------------------------------------
--------------------------------------------------------------------
update_data_full_public.zip link if necessary (missing apps):
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G753/g104/v84296/f1/full/public/update_data_full_public.zip
--------------------------------------------------------------------
Changelogs:
Code:
ALPHA-1-17/05/24
* Based on [URL="https://forum.xda-developers.com/mate-8/development/rom-stock-b162-rooted-t3336931"]this one[/URL] (a bit)
* Integrated [URL="https://forum.xda-developers.com/mate-8/general/how-to-root-nxt-l29c432b560-official-t3555364"]this modified boot[/URL] in order to root fine
* Integrated supersu Emui5.0
Last big constraint:
Code:
I would like to start with a test for seasoned people
* Able to restore without being obliged paying tools
* Being on the B580/ B581 to begin
* People not affraid mishaps
* Of course.. Who does not reproach me for any worries that can happen to them
I ask that because like I said above... IT IS NOT TESTED
Information:
Status: ALPHA 1
Created: 2017-05-24
Last Updated: 2017-05-24
If you like that, hit the THANKS button below !​
The download in progress gives us the time to reflect if YES or NO I have to continue this thread!
Will gps work in canada with this rom?can we add kang vip b587 to this ? What firmware cyst should we be on? I'm on dl0017 ...
why not continuing this rom? nice idea
I would test it ^^
c|nder said:
Will gps work in canada with this rom?can we add kang vip b587 to this ? What firmware cyst should we be on? I'm on dl0017 ...
Click to expand...
Click to collapse
I've not tested it, it's why I said it is for seasoned testers to begin. So I don't know.
B. R
harryhase said:
why not continuing this rom? nice idea
Click to expand...
Click to collapse
The upload has to be finished. I put the link soon. When I'm on my PC.
Thanks
plzhelpimannob said:
I would test it ^^
Click to expand...
Click to collapse
Same like above.
ROM AVAILABLE IN THE OP POST!!!!
Little reminder:
Have the TWRP, this one is better because it's for this firmware.
Be a SEASONED tester, I prefer to begin
Make a backup of your system via TWRP or Hisuite to be sure in the case
I will prefer that the first tester(s) is, at least, with a C432B580+
Does not reproach me if the first test is wrong
Finally, that you know what you do!
Thanks for comprehension!
If you're not sure... Please abstain!
B.R
Thanks!
Edit:
I removed "international" in the title because I noticed, unlike the B320, that I had only put that package to the C432. So for the moment, it's only for the NXT-L29C432 testers.
Sorry for the others!
Edit 2:
Possible too some apps is missing, so need others, install this in addition.
update_data_full_public.zip
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G753/g104/v84296/f1/full/public/update_data_full_public.zip
I will work on more complete version.
I would like to ask if @ajsmsg78 can help and explain me how make an international version. How he made the B320 international rooted. What files he used.
I'm unable to boot this ROM. Stuck on "Your device is booting..." screen (tried the zip from OP and also tried to flash stock boot.img over it).
Boosik said:
I'm unable to boot this ROM. Stuck on "Your device is booting..." screen (tried the zip from OP and also tried to flash stock boot.img over it).
Click to expand...
Click to collapse
Thanks to have tried! :good:
Can you explain me what you made?
What firmware do you have before?
If you made the wipes. What wipes?
If you saw some errors during the installation process.
And all others things that you have noticed.
Thanks! :good:
franzyroy said:
Thanks to have tried! :good:
Can you explain me what you made?
What firmware do you have before?
If you made the wipes. What wipes?
If you saw some errors during the installation process.
And all others things that you have noticed.
Thanks! :good:
Click to expand...
Click to collapse
I had B560, flashed this ROM and got stuck on that screen with "Your phone was unlocked and can't be trusted". I wiped cache and dalvik cache and installation process was without any error.
Boosik said:
I had B560, flashed this ROM and got stuck on that screen with "Your phone was unlocked and can't be trusted". I wiped cache and dalvik cache.
Click to expand...
Click to collapse
So you didn't make the wipe factory reset?! Maybe the cause even if you are already on Nougat.
What if you try to factory reset the phone ? Will it keep root ?
c|nder said:
What if you try to factory reset the phone ? Will it keep root ?
Click to expand...
Click to collapse
No but this rom is supposed to be rooted.:laugh: Of course, the factory reset is before installation. I preconize the installation of update data public also for that... because, there is a keyboard in the rom but like never installed, I prefer to take the precautions with people.
In addition, like you know, I can help you to root again.
Can someone send me the GPSCONFIG files and all other gps files for this international rom ? I will work on this too , as of EVER I have always never had gps ,,, I live in canada thou , but should not matter , please uload gps files , franzeroy should know what I am looking for
---------- Post added at 06:00 PM ---------- Previous post was at 05:53 PM ----------
Franzroy , what did u do that makes this rom international ? Please explain , is it just google service or is it satalite and cell tower altered. I wanna help if i can understand it.
c|nder said:
Can someone send me the GPSCONFIG files and all other gps files for this international rom ? I will work on this too , as of EVER I have always never had gps ,,, I live in canada thou , but should not matter , please uload gps files , franzeroy should know what I am looking for
---------- Post added at 06:00 PM ---------- Previous post was at 05:53 PM ----------
Franzroy , what did u do that makes this rom international ? Please explain , is it just google service or is it satalite and cell tower altered. I wanna help if i can understand it.
Click to expand...
Click to collapse
No, there are lots of other things in order to make an international rom.
For the GPS, the file that you have to modify, it's gps.conf in /system/etc folder. You can do it after installation if you are rooted or even via TWRP. You have to find the configuration for this file for your country. You can find it on Google. I made a version for the Europe. If you want, I can send you the file that you see how it is.
This one works for several countries
Code:
#Uncommenting these urls would only enable
#the power up auto injection and force injection(test case).
XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra2.bin
XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra2.bin
XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra2.bin
#Version check for XTRA
#DISABLE = 0
#AUTO = 1
#XTRA2 = 2
#XTRA3 = 3
XTRA_VERSION_CHECK=0
# Error Estimate
# _SET = 1
# _CLEAR = 0
ERR_ESTIMATE=0
#Test
NTP_SERVER=time.gpsonextra.net
#Asia
# NTP_SERVER=asia.pool.ntp.org
#Europe
# NTP_SERVER=europe.pool.ntp.org
#North America
# NTP_SERVER=north-america.pool.ntp.org
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
# If DEBUG_LEVEL is commented, Android's logging levels will be used
DEBUG_LEVEL = 4
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
# Below bit mask configures how GPS functionalities
# should be locked when user turns off GPS on Settings
# Set bit 0x1 if MO GPS functionalities are to be locked
# Set bit 0x2 if NI GPS functionalities are to be locked
# default - non is locked for backward compatibility
#GPS_LOCK = 0
# supl version 1.0
SUPL_VER=0x10000
# Emergency SUPL, 1=enable, 0=disable
SUPL_ES=1
#Choose PDN for Emergency SUPL
#1 - Use emergency PDN
#0 - Use regular SUPL PDN for Emergency SUPL
USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1
#SUPL_MODE is a bit mask set in config.xml per carrier by default.
#If it is uncommented here, this value will over write the value from
#config.xml.
#MSA=0X2
#MSB=0X1
#SUPL_MODE=
# GPS Capabilities bit mask
# SCHEDULING = 0x01
# MSB = 0x02
# MSA = 0x04
# ON_DEMAND_TIME = 0x10
# GEOFENCE = 0x20
# default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING | GEOFENCE
CAPABILITIES=0x37
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
# ACCURACY_THRES=5000
################################
##### AGPS server settings #####
################################
# FOR SUPL SUPPORT, set the following
# SUPL_HOST=supl.host.com or IP
# SUPL_PORT=1234
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234
# Bitmask of slots that are available
# for write/install to, where 1s indicate writable,
# and the default value is 0 where no slots
# are writable. For example, AGPS_CERT_WRITABLE_MASK
# of b1000001010 makes 3 slots available
# and the remaining 7 slots unwritable.
#AGPS_CERT_WRITABLE_MASK=0
####################################
# LTE Positioning Profile Settings
####################################
# 0: Enable RRLP on LTE(Default)
# 1: Enable LPP_User_Plane on LTE
# 2: Enable LPP_Control_Plane
# 3: Enable both LPP_User_Plane and LPP_Control_Plane
LPP_PROFILE = 0 # Sensor R&D : This will not be injected to MODEM
################################
# EXTRA SETTINGS
################################
# NMEA provider (1=Modem Processor, 0=Application Processor)
NMEA_PROVIDER=1
# Mark if it is a SGLTE target (1=SGLTE, 0=nonSGLTE)
SGLTE_TARGET=0
##################################################
# Select Positioning Protocol on A-GLONASS system
##################################################
# 0x1: RRC CPlane
# 0x2: RRLP UPlane
# 0x4: LLP Uplane
A_GLONASS_POS_PROTOCOL_SELECT = 0 #Sensor R&D : This will not be injected to MODEM
-Asia
-Europe
-North America
When I will be on my PC, I could send you the file to install via TWRP.
Edit:
Like you're rooted, recover your current file in /system/etc in order to have a backup in the case where mine doesn't work correctly for you. I've not the time to make a script to backup it.
@franzyroy unfortunatelly I can't factory reset just now.

Categories

Resources