yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] hacktrix2006:
Hi dk just done the whole flashing of rom and your app still have the issue even after removing anything to do with the SDcard same errors show so i think its down to rom, its working like without issues other then accounts and sync loosing the accounts after a reboot. So unsure on why its still saying about SD-EXT is being used before mount2sd can touch it. Going back to CM anyhow was just testing the Sense rom.

Thanks for reply.
[Android Software/Hacking General [Developers Only]] c.r.e.e.d:
Hi guys...

I cant figure out how to install this through the app. Can u please help?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Menu -> Application Settings -> Big button that says "Install startup script"
[Android Software/Hacking General [Developers Only]] c.r.e.e.d:
I did that... Whats next?
[Android Software/Hacking General [Developers Only]] Daniel D.:
Do you have an idea what this script is about and how it works?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
I have to agree with the comment above. You should not be attempting this if you have no idea what it is. Please fallow this link, and read all of the sections, especially those explaining what this is and how it works.

About your question, if you installed the script, then you just reboot. After that you can use the application to setup the script the way that you want it. But do read from the link that I posted above first.
[Android Software/Hacking General [Developers Only]] Dr.SAM88:
Hi there, this is a great app but I'm having a few problems and questions I wanted to ask you for optimal performance on my phone.

I got an Xperia ARC S with custom rom and kernel obviously.

The internal memory on ARC S is about 1gb divided into different yaffs2 partitions. Very small memory but I've heard yaffs2 is really fast filesystem, faster than my microsd, true?

I've added a 32GB class UHS microsd. All of it Fat32 apart from a 3GB ext4 partition. No SWAP partition.

I've installed your latest app on Google Play, configured busybox, installed script in init.d and then went into configuration.

To test i've ticked Apps, Data and Dalvik to sd-ext, Cache on auto. All in safe mode.

Rebooted

Then checked on mounts2sd again and it seems only the Apps have been moved to sd-ext. Tried again the settings and rebooted but still only APK have been moved. What's going wrong?

Also i've set read ahead value to 4000 something for my sd. What values do you reccomend?

Also i don't quite see all the options mentioned in your instruction page. like app-system, libraries and others.

I've tried accessing it through terminal typing:

su

m2sd help

and m2sd data enable / m2sd dalvik enable

but i get - sh: m2sd: not found for all of them.

So to sum up all my doubts i'm gonna ask.

For an old phone like mine with the above mentioned type of microsd, in order to have many apps but with general maximum speed and performance, what settings do you reccomend?

Thanks a lot in advance. Have a nice day.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
The script is working fine. Android can't see the sd-ext partition (Not part of Android), so you can't use the settings to check the storages, use the app.

If you check the OP, you will see that the current version is 3.x whereas you are running 2.x from Play Store (Have not uploaded it yet), that's why you are missing some options.

Also, your config is being auto changed because you have safe-mode enabled. If you want to move other things besides apps, you need to disable safe-mode.

You can't check or configure the script from the terminal, this was removed in script version 5 when I added the application.

About the best configurations, I cannot say. The card speed is different depeding on so many things and I cannot say what the best configs are for your card. Just try different things and get a feel yourself.
[Android Software/Hacking General [Developers Only]] c.r.e.e.d:
And how would i move apps?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
You already have

v/script - Attaching /sd-ext/app to /data/app

From your own log
[Android Software/Hacking General [Developers Only]] Dr.SAM88:
Okey dokey, thanks a lot man!
[Android Software/Hacking General [Developers Only]] delegreg:
Hi guys,

i recently got a SGS i9000 (GB 2.3.6 XJVU, rooted) with an internal sdcard problem, card is read-only (...) meaning FC on multiple apps as soon as the phone gets booted (ie as soon as it tries to write to /data or /datadata). I've tried quite a few things, reformating the SD, repartitioning it, nothing seems to work, no error but exit and all changes are gone. The phone is quasi-bricked (soft-bricked) as android is launching, but FCs make it unuseable, unable to flash roms as /data and /datadata are RO etc...

This goes for a weird experience. I can uninstall apps, but they magically reappear at next boot. I can install apks, but the apps disappear as soon as i reboot, and most of them FC as soon as some data must be written...

I can still flash kernels, and so i tried quite a few solutions depending on CWM or adb shell to modify vold.fstab, but i'm stuck at the point where i now believe i need to use something like move2sd. Problem is, i can install the app just fine, but can't use it (FC when it tries to set properties in /data) and as soon as i reboot, app is gone...

What i got :

-external sd that i can format and partition however i want

-external sd is mounted on /sdcard/external_sd by default

-access adb with su, rw access to /system and /system/etc

What i need :

-some way to "move" /data /datadata and all content on the internal sd to the external sd.

-some way to map /sdcard to one partition on the external sd and /sdcard/external_sd on another partition

-mounting all these at bootloader time so the system allows me to use the phone and configure it

If anyone reading this thread may help, i'll glably buy you a beer.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
First of all, you cannot use this as it only moves some of the content. A lot of it will still be on the internal data. What you need is to change your ramdisk for both ROM and Recovery to force them both to use your second sdcard partition as the data partition.

But, since you can still write to system and boot, this is not a problem with the internal nand. It seams more to be a problem with the internal partition table. On HTC devices you can use fastboot to flash new tables called hboot to the nand. Samsung however uses Odin to do these things. I would start by trying to look for a new table (Can't remember what they are called on Samsung devices) to flash to your internal nand, which will properly fix this issue. Try creating a question on your device's forum section. Sure that someone there would be able to help.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
New release is out, and Play Store is finally updated as well. Just missing the recovery package, which I will have ready during the weekend.

One notice about this release.

I have added an additional tab entry with the feature of converting apps into system apps. This feature is a paid one, as this seamed like a good way of adding some donations. And because this is only more or less meant as a donation, the downloads on XDA is fully unlocked. Just note that if you install or update from Play Store, you will get a locked version without this additional feature.

Also, the current feature is only a small start. I am going to add more individual application features to this tab.
[Android Software/Hacking General [Developers Only]] tomaasz:
bought ;)

Could you add filter to log tab ? For "I", "V", "W" ...etc

Could you to log tab add option: send logs to developer ?

Could you add sort (size, name, date) tool for applications tab?

tomaasz

tomaasz
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Might, will look into it.
[Android Software/Hacking General [Developers Only]] viditbhargava:
Great...waiting for the recovery package. :cowboy:
[Android Software/Hacking General [Developers Only]] bayustev:
hi sir. i had partitions my sdcard to fat32 (main) ,ext4, linux swap using mini partitions tools..seem mount2sd work for gt-s6310..without any error on log..but sir, option on swap,zram can't be enable..may i know why? thanks in advance..

(i use stockrom rooted)
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Because your kernel needs to support these things before you can use it. Stock kernels don't have that support. You can try flashing a custom one instead (Some of them works on Stock ROM's).
[Android Software/Hacking General [Developers Only]] Masrepus:
I saw u got a new version on playstore, so i decided to use this one if it works this time for me. Now i first deleted the script from init folder, cause i thought it would maybe help. Then i installed the new script from the app settings and rebootes. This time with letting all settings like they were before. But then it gave me bootloop, i have no idea why... now i also got the two logs from te two boot attempts, ill paste them here, but i dont see anything that could help, but u must decide.

Maybe this helps you...

---------------------------------

Phone : Samsung Galaxy Mini S5570

OS:

•AOSP ICS Touchwiz V5 by A_U

•Android 4.0.4

•Baseband XWKS2

•Kernel: 2.6.37.6 Badass v1.9 by alin.p

•Recovery CWM v4.0.0.5

Mods:

PureAudio, Mounts2SD, ODEX through Universal ODEX script, AdBlock by AdAway

---------------------------------

Gesendet von Tapatalk 4 beta

---------- Post added at 04:59 PM ---------- Previous post was at 04:55 PM ----------

Ah one question, i made my phone boot again by just restoring a /system image from a month ago, and this worked but now i somehow lost es file explorer, i cant find it anywhere, but installing from play store gave me 'invalid package'. Is that because of the script or did i mess it up some other way?

---------------------------------

Phone : Samsung Galaxy Mini S5570

OS:

•AOSP ICS Touchwiz V5 by A_U

•Android 4.0.4

•Baseband XWKS2

•Kernel: 2.6.37.6 Badass v1.9 by alin.p

•Recovery CWM v4.0.0.5

Mods:

PureAudio, Mounts2SD, ODEX through Universal ODEX script, AdBlock by AdAway

---------------------------------

Gesendet von Tapatalk 4 beta
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
You need to get a logcat from the boot process if I am to see what is going on. The M2SD logs look fine, so they don't say much
[Android Software/Hacking General [Developers Only]] Masrepus:
Hm yes thats what i also thought... but they obviously cant say that much, like after some seconds the boot process started again..

---------------------------------

Phone : Samsung Galaxy Mini S5570

OS:

•AOSP ICS Touchwiz V5 by A_U

•Android 4.0.4

•Baseband XWKS2

•Kernel: 2.6.37.6 Badass v1.9 by alin.p

•Recovery CWM v4.0.0.5

Mods:

PureAudio, Mounts2SD, ODEX through Universal ODEX script, AdBlock by AdAway

---------------------------------

Gesendet von Tapatalk 4 beta
[Android Software/Hacking General [Developers Only]] gu5t3r:
On latest 3.4.1 version I cannot change internal scheduler or read_ahead cache from app. It worked fine on previous versions.

Old settings from previous app versions applies on boot.

http://i.imgur.com/Jy4EFgc.png
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
The new app has a debug builder option in the menu if you go to the log tab. Use it and attach the debug.txt file here. It could help locate the issue.
[Android Software/Hacking General [Developers Only]] gu5t3r:
Here
[Android Software/Hacking General [Developers Only]] TopperBG:
Here too.
[Android Software/Hacking General [Developers Only]] gu5t3r:
[MENTION=3147360]dk_zero-cool[/MENTION]

Why don't you remove debug info from before compiling app.

dex size fell down from 1.12MB to 0.52MB

I also saved 19 kB (17%) on PNG files with my GOptimize script...
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
This has been resolved in 3.4.2

Well good question. Just haven't thought about it.
[Android Software/Hacking General [Developers Only]] fgghjjkll:
I'm actually not entirely sure if Mounts2SD is formally supported by Android 4.3 yet, but Mounts2SD keeps crashing on my CM 10.2 tablet (Gadmei E8HD) immediately after every time I try to launch it.

I have attached the relevant(?) log

I think this is a wonderful app. It works perfectly fine on my Galaxy Note!

Thanks for developing this app :)

PS: Sorry if I felt a bit egotistical or rude or something... I don't lurk here often so I don't know much about this forum culture...
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
It is well supported on 4.3, using it on my own CM10.2 SGS3.

I will have a look at the log, thanks for attaching it, it helps
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
First of all, I need some more of this logcat, it does not display it all. Then make sure that you did not partition or format your sd-ext partition from CWM. And last, try with a clean install, it often helps.
[Android Software/Hacking General [Developers Only]] Old User:
dk_zero-cool, is there any advice for me, please? (eight posts above, 213)

Thanks in advance.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Yes. Use debug option, or check logcat.
[Android Software/Hacking General [Developers Only]] RichmondoUK:
Anyone?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Here you go.
[Android Software/Hacking General [Developers Only]] RichmondoUK:
Thankyou matey. :)
[Android Software/Hacking General [Developers Only]] Old User:
Thank you for helping me, but there is no debug.logcat in /system/etc/m2sd/ folder, only files like: .debug .apps .data. In text editor for all of these files only says "enable".

Tnank you for support.
[Android Software/Hacking General [Developers Only]] KindofBlues71:
I'm running Backside IHO ROM on my LG Optimus V, SD is partitioned as Fat/ext3 (2048). Every time I install m2sd I lose root (permission denied when entering su in Terminal) and cannot change any of the script's settings. After installing m2sd all my non-system app icons in the drawer are gone. Is there a way to get this script to work on my phone without being connected to a computer?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
http://xdaforums.com/showpost.php?p=24138810&postcount=209

New upload with fixes. Hope this one helps.
[Android Software/Hacking General [Developers Only]] EViollet:
Hi.

Seems to be working.

The partitions seem to be correctly mounted.

Regards,
[Android Software/Hacking General [Developers Only]] RichmondoUK:
3.0.0 ok and so is 3.0.4. 3.02 has been very naughty lol.
[Android Software/Hacking General [Developers Only]] romitchell:
EXT4 not mounting

Hi,

Thanks for the script, unfortunately I seem to be having some issues. It seemed to install ok however it doesnt seem to be mounting the EXT4 partition (p2) on the SD card. Ive confirmed the partition is formatted and reformatted it with no luck.

Running v3.0.4.

Ive posted the status and log output below. Any suggestions would be much appreciated.

Thanks!

export PATH=/data/local/bin:$PATH
$ export PATH=/data/local/bin:$PATH
$ su
# m2sd log

v/Initiating Mounts2SD (v:3.0.4) [Fri Mar 30 19:47:10 BST 2012]
v/Checking configurations...
v/Disabling /system atime & diratime...
v/Waiting for sdcard to initiate...
v/sdcard found at /sys/block/mmcblk1...
v/Setting sdcard readahead to 512kb...
w/The sd-ext partition is already mounted!
v/Mounts2SD has been loaded!

Registered properties:
----------------------
[mounts2sd.swap.device]: [/dev/block/mmcblk1p3]

Mount Points:
-------------
/dev/block/mmcblk1p2 503.9M 16.4M 462.0M 3% /sd-ext

# m2sd status

Status:
-------
Mounts2SD [loaded]
- Apps []
- Data []
- Dalvik []
- CmDalvik []
- Cache []
- SWAP []
- RMount []

Device info:
------------
SD-EXT device []
Cache device []
- Location []
Swap device [/dev/block/mmcblk1p3]

#
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
The answer is in the log "

w/The sd-ext partition is already mounted!

"

You have another a2sd script somewhere in your init.d folder. When m2sd detects that the sd-ext partition is already mounted, it skips the sd-ext part so that there is no conflicts and data corruption.
[Android Software/Hacking General [Developers Only]] DirkStorck:
Hi :) What has happened to the aroma version ?

Thank you :)
[Android Software/Hacking General [Developers Only]] ufukes:
thank you :)
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
It's coming back. Just wanted to make sure that there was no more problems with the script. Also I want to rebuild the Aroma script and upgrade the Aroma binary for better device support.
[Android Software/Hacking General [Developers Only]] DirkStorck:
Thank you :) I am asking because I want to set up my phone new and I want to use your scripts with the latest CM7.2.0 :)
[Android Software/Hacking General [Developers Only]] DirkStorck:
Hi. It looks like the apps and the dalvic isn't moved to sd-ext :((((

Any help please!

m2sd log

v/Initiating Mounts2SD (v:3.0.4) [Tue Apr 3 10:55:17 CEST 2012]
v/Checking configurations...
v/Optimizing /system readahead...
v/Disabling /system atime & diratime...
v/Optimizing /data readahead...
v/Disabling /data atime & diratime...
v/Waiting for sdcard to initiate...
v/sdcard found at /sys/block/mmcblk0...
v/Setting sdcard readahead to 512kb...
w/The sd-ext partition is already mounted!
v/Creating link between /cache/dalvik-cache and /data/dalvik-cache...
v/Mounts2SD has been loaded!

Registered properties:
----------------------
[mounts2sd.cmdalvik.status]: [loaded]

Mount Points:
-------------
/dev/block/mmcblk0p2 1.5G 32.0M 1.4G 2% /sd-ext

# m2sd status
m2sd status

Status:
-------
Mounts2SD [loaded]
- Apps []
- Data []
- Dalvik []
- CmDalvik [loaded]
- Cache []
- SWAP []
- RMount []

Device info:
------------
SD-EXT device []
Cache device []
- Location []
Swap device []

# df -h
df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 203.2M 32.0K 203.1M 0% /dev
tmpfs 203.2M 0 203.2M 0% /mnt/asec
tmpfs 203.2M 0 203.2M 0% /mnt/obb
/dev/block/mtdblock3 180.0M 133.1M 46.9M 74% /system
/dev/block/mtdblock5 217.6M 149.4M 68.2M 69% /data
/dev/block/mtdblock4 40.0M 1.5M 38.5M 4% /cache
/dev/block/mmcblk0p2 1.5G 32.0M 1.4G 2% /sd-ext
/dev/block/mtdblock5 217.6M 149.4M 68.2M 69% /cache/dalvik-cache
/dev/block/vold/179:1
28.4G 25.7G 2.7G 90% /mnt/sdcard
/dev/block/vold/179:1
28.4G 25.7G 2.7G 90% /mnt/secure/asec
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
When the script is executed, the sd-ext partition has already been mounted by another script (Read the log). This makes Mount2SD cancel it self to avoid issues with other A2SD scripts on your phone. Find and delete the other script, then it will work.

Also provide me with the name of that script so that I can update the auto detection script I have that should delete any existing scripts during install.
[Android Software/Hacking General [Developers Only]] DirkStorck:
Hi. I get the same message but it can't be. I wiped everything except SD-card, flashed the ROM and than flash your legazy zip.....:confused: :(
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
That does not matter if your ROM comes with an existing A2SD script (Most do). My detection script will detect any script name [name]2sd, but not all A2SD scripts are.

Check your /system/etc/init.d folder to locate the script that should not be there.
[Android Software/Hacking General [Developers Only]] Generalil:
The problem is that is all logcat shows then it exits. No i did not partition it from CWM i used my linux laptop. Is there a way it hangs on checking the partitions as they are pretty big (16gb) ?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
That you could check.

Reboot into recovery, plug the phone into your linux laptop and try the fallowing commands

adb shell mount /data
adb shell echo 0 > /data/property/m2sd.run_sdext_fschk

It will disable the file system check.
[Android Software/Hacking General [Developers Only]] noradoor:
how to do while flashing a new rom

Thanks for developing this fantastic app.:good:

I switch to this from Link2SD since Mounts2SD allows me to move more files to SD-ext,which means I'll have more available space.

But after doing some searches here,I still cannot figure out how to restore it after flashing a new rom.

Do I need to flash the "recovery package" in CWM?

Or may I use Titanium Backup to restore it , and run the script again?Then what about the data in SD-ext?Will it be overwritten or something?

Thanks in advance.
[Android Software/Hacking General [Developers Only]] TopperBG:
Good question!

Will be very helpful in few rows to be described recovery procedure.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
If you don't do a full wipe, then just install the ROM and Flash the ZIP. Otherwise it does not really mater.
[Android Software/Hacking General [Developers Only]] TopperBG:
If we change ROM or install fresh new version (almost all users here do it) - we must do full wipe/format.

What after that ?

And where in OP is the CWM zip ?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Not sure what you mean. If you flash a ROM but don't wipe data, then flash the ZIP. If you do wipe data, then it does not mater if you flash the zip or you do it from the app.

The ZIP is in the download section in the OP. Remember that this is the Q&A section, you must go to the OP in the main section (Look in the top panel).
[Android Software/Hacking General [Developers Only]] TopperBG:
Sorry if I sound lame but... can't find recovery zip anywhere even tried search before post that.

Oh my, I found it but it's little bit confusing:

It's described like APK, not like ZIP.
[Android Software/Hacking General [Developers Only]] noradoor:
Here you go,man.;)

It's a zip file actually.

So it doesn't matter once I fully wipe it and flash a new rom. Got it.

And I don't have to care about those data previously stored in SD-ext,either.Right?Just execute it again like I did in the past.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Your right, and it is fixed :)

That is correct. The only reason to use the ZIP if you don't wipe, is to have your apps and data available during first boot. If you don't have any apps or data because you did a full wipe, then it does not really mater.
[Android Software/Hacking General [Developers Only]] acestars:
sorry for no respond for a long time, until today my device still bootloop for several times before actually boot. Today instead look on logcat i look on dmesg too. Before bootloop on dmesg show "ext4-fs: cannot change data mode on remount", after some research i found the problems is on option "data=ordered". After i changed it into data=writeback the bootloop stopped.

still thanks for your great apps :D :good::good::good:
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Thanks for this feedback. I will have a look at this as you may have resolved an issue that I am currently working on :)
[Android Software/Hacking General [Developers Only]] mixednuts:
repeatedly rebooting into recovery...

hi dk - I've downloaded the latest unlocked version from here. I've also created the EXT4 partition using Minitool, and never reformatted / wiped using CWM. I also used the init.d injector successfully (no errors found within the log and made sure it wasn't just the template :) ).

My device is repeatedly rebooting into recovery without getting to the boot animation (just kernel logo). Here are some details that may help:

LG Optimus Black (p970)

4.1.2 SlimROM V3.0

custom kernel (version 3.2)

I can get Android booting again after I've removed the Mounts2sd script. So far, I've tried removing all scripts within init.d folder, leaving just the Mounts2sd script, but the results are the same.

Not quite sure how to get a log without going into boot animation. :o