yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Android Development] megaman:
It work ! but little problem...

hello.

after a lot of issue, I managed to make it work.

I've installed latest omega rom (v12),and everything seems ok...except one issue.

I've tested with a game which came with a obb file.

I put the obb in sdcard/android/obb and installed the apk.

the game won't launch with this method.

Do you have any clue ?

More problem, when i install an app, the same amount of memory decrease from sd and external sd...

Hope you can help.

Megaman
[Galaxy S 4 i9505 Android Development] BestRaider:
how does it work ?

I'm on Omega Rom but i can't manage to instal this mod ...what is the installation method ? . Cause i tried to flash it but no result.:(

I saw in the storage tab the internal memory and the SD memory were one and the same. By one and the same i meant that it was the internal memory of the phone ...i'm using a 64 GB exfat Samsung ... i would appreciate some help on this
[Galaxy S 4 i9505 Android Development] mattiadj:
Which kernel do you have? Which recovery? Are u sure you have exfat file system ?

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] BestRaider:
the kernel is the one on Omega v12 ...Abyss 1.6 and the recovery PhilZ Advanced CWM v5.17.7 ..i formatted the microsd in exfat
[Galaxy S 4 i9505 Android Development] mattiadj:
Uhm very strange but honestly I never have tried with the kernel built in with omega.

Try Adams kernel

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] BestRaider:
I will try install Omega again with full wipe.. Then flash Adams kernel... To see if it works
[Galaxy S 4 i9505 Android Development] Maurinho_84:
All resolved ..... I had to flash rom, kernel, and finally the Mod, at the same time, and only after restarting the phone! Thank you very much Mattiadj! PS: When I install the programs, at times, even with the Mod V2, part of the data are installed in external Sd (in phone memory) .... you only have to solve this problem!

Inviato dal mio GT-I9505 usando XDA Premium HD app
[Galaxy S 4 i9505 Android Development] mattiadj:
I think you haven't understand what this mod does!!!

It's normal behavior! Not all can be on external sd!

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] Maurinho_84:
I thought the Mod V2 allows you to record all data on the external SD (now inside the phone)! .... I hope that this happens in Mod V3 ... if you can Mattiadj!

Inviato dal mio GT-I9505 usando XDA Premium HD app
[Galaxy S 4 i9505 Android Development] mattiadj:
It's not possible! As i have teached you before, some core files app MUST remains! Also with v2 you can move some specific apps into sd with "move to sd" function.

Some native apps are automatically installed on sd (into .android_secure folder), others can me moved manually and others are not designed to be moved. This is a native android app2sd functions.

Now i have 248apps installed, 3.8free on internal and 24gb free on external. I think is a good result :D
[Galaxy S 4 i9505 Android Development] popab:
Hello,

Does this mod works with FoxHound 2.0 ausdim kernel?
[Galaxy S 4 i9505 Android Development] mattiadj:
I think yes mate
[Galaxy S 4 i9505 Android Development] zhuchella:
Can U add the support for the MIUI rom (CM base) on the next release of your app?
[Galaxy S 4 i9505 Android Development] lazer9:
On ME7 with SafeStrap. Installed in Rom Slot - HyperDrive v10. Re-formated ExtSD to Fat32 this time and trying with that version.

When I go into root/sdcard, I do see my external SD contents but I don't find /sdcard/internal_sd/0 anywhere in there. Also under Settings/Storage, the respective card contents and avail space are different numbers with my Internal having 1.83GB left and my Ext having 14.87GB free.

I don't believe this is working for me? :rolleyes:
[Galaxy S 4 i9505 Android Development] mattiadj:
Founded some problems with last official 4.3. I'm working on fix. I think tomorrow or day after tomorrow I'll v3 will be out.

Stay tuned

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] nonentity:
Finally got it to work for exfat... i've tried flashing every single custom kernel available, and apparently only ausdim kernel allows my phone to pick up exfat... don't ask me why... just in case i'm not the only one having problem with that...

an also, i found an easier way to remount the extSdCard, thanks to mattiadj!!!

this is my code:

#!/system/bin/sh
sleep 35
mount -o remount,rw /
#link the external sd to internal path
mount -t exfat -o dmask=0002,fmask=0002,gid=1023,uid=1023 /dev/block/mmcblk1p1 /data/media/
mount -o bind /data/media/0/Android/obb /data/media/obb

sleep 10
mkdir -p /data/media/extSdCard
rm /data/media/extSdCard/*
mount -o bind /data/media/extSdCard /storage/extSdCard
done

if anyone's interested, and as usual, try it at your own risk!!!

it directly mounts the entire micro SD to /data/media

the only thing i have to do is to move all my stuff into the folder 0 on my microSD... that solved the size problem for me...

GREAT JOB MATTIADJ!! KEEP UP THE :good: WORK!!!
[Galaxy S 4 i9505 Android Development] mattiadj:
Mate good job but why this code? I don't understand.if you see my latest version you will found a similar approach.

Also have you checked if you have duplicates in gallery?

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] nonentity:
i have tried your v2 codes, but i just can't get the size right... probably i'm the only one having this problem, the system kept thinking that there isn't anymore space left in the internal sd (microSD) therefore it refuses any large transfer of files... my guess is, it is because my microSD contents are already more than 16GB...

as for the duplicates, i learnt it from your script... it is ingenious to create an additional folder and bind it to extSdCard...
[Galaxy S 4 i9505 Android Development] mattiadj:
Ok but what are the advantages of mount ext sdcard directly in data/media ??
[Galaxy S 4 i9505 Android Development] franci79:
V3 version for the 4.3 android....please please please:cool:
[Galaxy S 4 i9505 Android Development] nonentity:
not much differences in advantages, it does serve the same purposes... just that it happens to work for me in terms of the SD sizes... there are still much to work on... ;)
[Galaxy S 4 i9505 Android Development] mattiadj:
Have you lost the ability to manage internal sd right?

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] nonentity:
that is true... i'm trying a way to wipe the int SD before mount or bind it to somewhere else useful instead of keep managing it... i mean, that is what your thread is about right? utilizing the microSD as default..
[Galaxy S 4 i9505 Android Development] mattiadj:
Yes of course but the internal sd card must remains accessible at least from phone.

On latest 4.3 my trick of mount it into internal_sd folder on external doesn't work but i have made a workaround which make it accessible only by phone but is a way to manage it.

When you mount external sd directly in data/media you have 0, legacy and obb folder or not?

It's very curious that's it works mounting it directly in data/media

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] birleytweet:
I tried with the latest Omega 13.1, 4.3 ROM. Installed Universal Init.d and set it on boot. Aren't exactly sure what the default file system is when you format it going to storage and format SD Card. I ended up getting both internal and external storage showing up the same size. I tried the internal 2 external app from the Play store and it did the same thing. Not sure if fat32 makes a difference.
[Galaxy S 4 i9505 Android Development] nonentity:
yups, it doesn't have the mount folders on a new microSD card... i'm trying to add cp or mkdir into the script and see how it goes... other than that, all goes well for the last few days...
[Galaxy S 4 i9505 Android Development] mattiadj:
I have to try.

For now on 4.3 I'm hanging to make accessible from a folder in external, the internal sd but seems to be impossible!

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] nonentity:
Try this... this seems to work... the scripts are very basic but straight-forward... please edit the code as u deem fit and share if you discover any better way...;)

#!/system/bin/sh
sleep 35
mount -o remount,rw /
#link the external sd to internal path
mount -t exfat -o dmask=0002,fmask=0002,gid=1023,uid=1023 /dev/block/mmcblk1p1 /data/media

#preparing mount folders
sleep 5
mkdir -p /data/media/0
mkdir -p /data/media/0/Android
mkdir -p /data/media/0/Android/obb
mkdir -p /data/media/extSdCard
mkdir -p /data/media/legacy
mkdir -p /data/media/obb
cp -r /data/media/.android_secure /data/media/0
cp -r /data/media/Android /data/media/0
rm -rf /data/media/.android_secure
rm -rf /data/media/Android
rm /data/media/extSdCard/*

sleep 5
mount -o bind /data/media/0/Android/obb /data/media/obb
mount -o bind /data/media/extSdCard /storage/extSdCard
done

at the end of the day i want it to automatically move all files from MicroSD roots to the 0 folder except for the mount folders, "0", "legacy", "extSdCard", "obb"... and eventually umount the extSdCard automatically (which it still works when you unmount it from the settings...
[Galaxy S 4 i9505 Android Development] Dai323:
Mod is working well for me, except that when I attempt to push Samsung keyboard to system, it doesnt let me. I tried flashing a zip file for the keyboard in recovery, but this results in repeated FCs that force me to remove it or switch to another keyboard. I understand that it seems keyboard file must remain on true internal memory, but which path would I directly need to push it to to get it to work? Just a bit confused on where exactly it needs to go. It was working fine until I rebooted the phone for the first time, and now Im unsure exactly where to put it.

Asides from that, and the known issue of memory not showing as swapped in storage, all is working great!
[Galaxy S 4 i9505 Android Development] nonentity:
actually the memory swap has nothing to do with samsung keyboard no matter how you pushed...

the default location of the keyboard should be at /system/app/SamsungIME.apk

pemission: rw-r--r--

and also try to clear the data of the keyboard at settings..

see if it helps...
[Galaxy S 4 i9505 Android Development] mattiadj:
Sorry mate but I don't understand the logic beside your code.

We have all folder that you create just here. Why make these into real external sd card?

I don't understand why for you is better to use directly data/media and make all these stuffs. I'm just confused ...

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] nonentity:
It is because of the size issue I mentioned in the previous post... I don't know why it doesn't work for me..
[Galaxy S 4 i9505 Android Development] mattiadj:
Ok and then now you can see inverted or normal situation or what?
[Galaxy S 4 i9505 Android Development] nonentity:
now with my script, both internal and ext SD shows 60GB... I can unmount the external SD from the settings without affecting anything...
[Galaxy S 4 i9505 Android Development] mattiadj:
But in this way you have lost the info about how much space you have left on internal sd...right? I never tried to unmount my external sd...is always in. Is there a problem about this with v2?

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] Roshi69:
I followed all the steps correctly but when i open the app drawer some of the apps are greyed out and have a small sd simbol. what can i do?

im on the latest foxhound rom
[Galaxy S 4 i9505 Android Development] nonentity:
this is what i'm referring to...
[Galaxy S 4 i9505 Android Development] mattiadj:
V3 version online.

Finally android 4.3 users can enojy it :)

Report any bug
[Galaxy S 4 i9505 Android Development] ronaldo9_r9:
Thank you so much. I tried this and it looks like it worked but storage still says that device memory is 9gb but when i check the folder it looks like main folder is my sd card folder now. Not sure if its meant to be like this.

---------- Post added at 02:08 PM ---------- Previous post was at 02:04 PM ----------

I am running omega 13.2 (4.3) and its running stock kernel.
[Galaxy S 4 i9505 Android Development] mattiadj:
All is ok. I have made the mod to not invert the situation under memory storage since we can always take a right look to how much free and used space we have in /data/data

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] ronaldo9_r9:
Thanks for quick reply. My 64gb folder which is main sdcard folder now is showing 9gb but its my sdcard folder not internal memory folder. Is that okay also.
[Galaxy S 4 i9505 Android Development] mattiadj:
Not really understand. What are your situation in memory settings?

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] ronaldo9_r9:
That folder is my 64gb and showing as sdcard. Another thing is my pictures have disappeared maybe due to folder location being changed. How can i bring the pictures back in my gallery. Second image is my device storage.
[Galaxy S 4 i9505 Android Development] mattiadj:
Ok all is working as it should. Download and run this to restore media files https://play.google.com/store/apps/details?id=com.clypher.mediascanner

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] ronaldo9_r9:
Yep. That has bought all the media back. But its bit laggy gallery and videos. Thank you so much.
[Galaxy S 4 i9505 Android Development] Maryna:
Download ExtSd2InternalSd v3 extfat version

Wrong "Download ExtSd2InternalSd v3 extfat version" download link. It should be http://d-h.st/fIC not http://d-h.st/fICj.

Thank You very much for your work.
[Galaxy S 4 i9505 Android Development] ronaldo9_r9:
I am sure i have fat32 and not exfat format. I will double check any way. Did u mean if i flash extfat version i wouldnt have problems? Or were u talking to mattiadj
[Galaxy S 4 i9505 Android Development] Maryna:
I was talking to mattiadj. :)

http://xdaforums.com/member.php?u=2596418
[Galaxy S 4 i9505 Android Development] atarum0r0:
istalled on omega 13.2 4.3 and its very fine.

thx bro
[Galaxy S 4 i9505 Android Development] kab89:
Does v3 also work on 4.2.2?
[Galaxy S 4 i9505 Android Development] mattiadj:
May be I never tested it. In negative case please report and I add v2 which is ok with 4.2.2

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] kab89:
Couldn't access internal SD card via the destination provided, just shows an empty folder(4.2.2)
[Galaxy S 4 i9505 Android Development] Dwama:
it work greats on galaxy grand duos.

but one thing that confused my mind which that i cant find the internal memory mount path ?
[Galaxy S 4 i9505 Android Development] mattiadj:
Internal memory is accessible in /data/media/intSdcard/0 and be sure you have the permission given by your file explorer to navigate into /data/media.

Also take attention...when you open /data/media/intSdcard you will see all folder of upper directory...but go into 0 directory and you will have access to internal sd. This is tested on Tw 4.3 Rom for I9505 I haven't tested on other scenarios

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] Maurinho_84:
This MOD v3 Works with FauxKernel?
[Galaxy S 4 i9505 Android Development] mattiadj:
I think yes but personally I never tried. Try and report

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] Maurinho_84:
It works, however, I prefer to opt for the V2 Mod ...! .. Appoposito, for mod V2, I copy what I have in / sdcard/internal_sd/0 to / sdcard overwrite everything.

Then gate content / sdcard/internal_sd/0 ... right? ... Or confuse me with the process of Mod v1? Thank you!
[Galaxy S 4 i9505 Android Development] mattiadj:
It's correct

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] Maurinho_84:
I decided to test the v3 Mod and I installed 1) Omega Rom 2) Mod v3 and FauxKernel and everything works! I just have one question: if within up / date the content is empty, why? I should not copy the contents of /data to /sdcard?
[Galaxy S 4 i9505 Android Development] :
Not working. There is an other mod which also uses init.d and this one works fine for me.
[Galaxy S 4 i9505 Android Development] Maurinho_84:
what is the mod that works properly? Do you mean the MOD ExtSd2internalSd V2?
[Galaxy S 4 i9505 Android Development] :
http://xdaforums.com/showthread.php?t=2363670

This mod did work before, then i changed rom to cm then back to samsung, now its no more working.

Only the one in link works.
[Galaxy S 4 i9505 Android Development] kab89:
Could I have a link to v2 please? As I can't seem to access the internal folder in the directory data/intsdcard/0 , it's just blank, presuming this is because I ain't updated to 4.3 yet
[Galaxy S 4 i9505 Android Development] Dwama:
Ok i go to /data/media/intSdcard/0 but it displays nothing and it shows the capacity of internal memory card not external memory card

can u reupload v2 i wanna try on my device, and im running 4.2.2 anyways
[Galaxy S 4 i9505 Android Development] Dai323:
Link to V3 exfat version is showing "files not found" for me.

Anyone else?
[Galaxy S 4 i9505 Android Development] mattiadj:
Link restored.

Thanks for reporting
[Galaxy S 4 i9505 Android Development] Dai323:
Got a bit of an odd issue. My apologies if its been discussed. The mod is working fine, but certain apps after a reboot have a black arrow and when I click on them it says its not installed. So I install it again but the same happens after a reboot. Its really strange. Its always he same 8 or 9 apps that do it.

I'm really not sure why I have to reinstall them on every reboot, as they work fine until I restart the phone. They don't even show up under applications in settings anymore.

Some of them seem to be apps installed from Amazon's app market. Maybe they are being installed at default to 4.3's native external storage? If so, moving them to "device storage" could solve it?

Any ideas?

-Sent from my Galaxy Note 2 that's actually now a Galaxy Note 3. GET INVOLVED.
[Galaxy S 4 i9505 Android Development] mattiadj:
New version online!

v4- 14/11/2013

Completely new code

Changed the mount point of internal to /sdard/intSdCard/0

Fixed problem of app2sd apps which disappear

Fixed bootloop problem

Fixed first boot camera lag

Fixed timing problem for switch on some rom/kernel combo
[Galaxy S 4 i9505 Android Development] Maurinho_84:
The new V4 Mod also works on version 4.2.2? ...THANKS!!!

Inviato dal mio GT-I9505 usando XDA Premium HD app
[Galaxy S 4 i9505 Android Development] mattiadj:
Not tested. 4.2 is old

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] atarum0r0:
yes, its work very fine:good::laugh:
[Galaxy S 4 i9505 Android Development] scorpion175:
Not working for me on Echoe Rom MJ8, working fine with 1.3, but in 1.4 my extSdcard i see my external sd, and in sdcard/intSdCard/0 i see my internal (which i think is right).

All games that i have stop working, because is installing on internal again.

Is anyone with the same prob??

Thanks
[Galaxy S 4 i9505 Android Development] atarum0r0:
whit Echoe Rom MJ8 no working i had same problem, but whit FoxHound_Diamond_Dogs_3.2 works very fine
[Galaxy S 4 i9505 Android Development] Zoran1:
All my aps crash I can't do nothing. Had to nandroid restore.... Using goldeneye v11. Any advice on how to get this working?
[Galaxy S 4 i9505 Android Development] mattiadj:
For all people with problems: be sure you are using a kernel with initi.d support and not the stock one. I'm on omega 14 with the built in kernel (talexop 1.3) and all is perfect.

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] scorpion175:
Still not working for me, and i have the talexop 1.3 kernel too.

Anymore advice to get this working?
[Galaxy S 4 i9505 Android Development] mattiadj:
Have you downloaded the correct version for your file system?

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] ting1975:
I am also have same problem with scorpion 175.

I am using Omega 14 with built kernel talexop 1.3

and i am using SD with exfat format . Unfortunately still not working

Any idea on it what is the issue ?

Thanks
[Galaxy S 4 i9505 Android Development] scorpion175:
Yes exfat.
[Galaxy S 4 i9505 Android Development] ting1975:
Actually from my side, it is not working when i used omega 14

with SD exfat.

rgds
[Galaxy S 4 i9505 Android Development] mattiadj:
I think the problem is extfat related.

I will look into it....Is your kernel have exfat support?
[Galaxy S 4 i9505 Android Development] ting1975:
Have you try using Omega 14 with SD Exfat format ?

rgds

---------- Post added at 02:56 PM ---------- Previous post was at 02:20 PM ----------

Hi, Also having problem for fat32 format for Omega 14 too.
[Galaxy S 4 i9505 Android Development] jun_ng_1208:
I've tried this v4 script with my Samsung GS3 ARHD 4.3 JellyBean ROM & it works fine but in storage it still show 16GB as internal. Not a big matter to me ;)
[Galaxy S 4 i9505 Android Development] mattiadj:
It is exactly what I want. The situation in settings must be correct since I only swapped sd cards not all /data

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] _ray_:
Same setup as your but still NOT working
[Galaxy S 4 i9505 Android Development] mattiadj:
Exfat or Fat32?
[Galaxy S 4 i9505 Android Development] _ray_:
sadly both, tried installing both after fresh rom installation but no luck. Even tried KT latest kernel but still no go.

Can you specify your full setup under which this mod is working ?
[Galaxy S 4 i9505 Android Development] mattiadj:
I'm simply on omega 14 with built in kernel.

No other mods or things.

Full wiped all, then flashed omega then (before first boot) the mod. All is ok
[Galaxy S 4 i9505 Android Development] ting1975:
Hi, mattiadj

Just want to clarify again the method as follow :-

Example.

1) Full Wiped all

2) Then Flashed Omega or other Rom

3) Before first boot onto Omega or other Rom

4) Go to Recovery

5) Then Flashed the MOD (ExtSd2InternalSd) either exFat or Fat 32

6) After Flashed the MOD

7) Then Reboot

Is it correct the above method of flashing the MOD ?

Thanks
[Galaxy S 4 i9505 Android Development] mattiadj:
Yes I have followed this procedure and not problem at all.

I'm omega fan so I didn't tried other roms but the critical needed is the init.d support so... If your combo rom/kernel has this all must work without problem.

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] _ray_:
Its all good now I am using the folder mount app from Play store and it works fine. At least I don't have to worry about lost data when i flash new rom. Thanks OP for your replies
[Galaxy S 4 i9505 Android Development] scorpion175:
Still not working for me, i have tried KT kernel but is the same, for now i revert to 1.3 version of the script, until a solution is found.
[Galaxy S 4 i9505 Android Development] mattiadj:
People with problems please report here the rom used, the file system of external SD card and attach here the log file stored in data/extsd2internalsd.

Thanks

From universe with my gs4 snapdragon powered!
[Galaxy S 4 i9505 Android Development] mattiadj:
I don't use folder mount since it creates lags on my phone. But if you feel all OK... I'm happy for you :)

From universe with my gs4 snapdragon powered!