yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Negroid:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

I use this app and it works great. One problem though: when I reboot my device, the script sometimes undoes itself and I have to reflash the zip. After I do that, it functions normally but this is really inconvenient. I tried converting the mounts2sd to a system app with titanium backup but that's not preventing the issue. Any suggestions?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Okay that's new, what do you mean by undoes itself?
[Android Software/Hacking General [Developers Only]] post-mortem:
When it undoes itself, is the script still present in init.d?
[Android Software/Hacking General [Developers Only]] frankfurts:
Hi does this app support SDXC cards? I have a 32Gb SDXC card partitioned with 30gb fat32 and 2gb ext2, mounts2sd doesnt recognise my sd card at all however the stock ROM and Links2SD do.

thanks for any help

Im using a motorola Razr V XT885
[Android Software/Hacking General [Developers Only]] lichan:
I am using it in an HTC EVO 4G with a 64 GB micro SDXC, so Mounts2SD does work. I partitioned my card in the recovery (smelkusmod_amon_ra) and converted the sdext partition (2GB) to ext4 and m2sd had no problems recognizing and using it.
[Android Software/Hacking General [Developers Only]] frankfurts:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Hmm mine is ext2 what is your main partition? Fat32 or exfat?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Can you provide output from the folder /dev/block/ ? Maybe your kernel uses a different device file name than normally used.
[Android Software/Hacking General [Developers Only]] frankfurts:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Sorry but how do I do that? Is it the output from ls /dev/block? I'm a bit un educated using the terminal lol

If it helps mounts2sd was working fine on my class 4 16gb card in the same phone.
[Android Software/Hacking General [Developers Only]] Hotfingers:
works perfectly on Sony Experia ARC (2011)

Thanks @dk_zero-cool,

Installed from the play store.

App configured busybox and init.d perfectly without reboots.

Suddenly I lave plenty extra system and data space (all my games and more - no more errors about space running out). :victory:

I'm leaving the default options alone because they work 100%

(my SD card has a 2GB ext partition, no swap partition).

Again, thank-you :)
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Just use root explorer or solid explorer and take a screen shot, but yes "ls /dev/block" if you use terminal.

Also provide log from m2sd while you are at it, you can copy this to the sdcard from the app :)
[Android Software/Hacking General [Developers Only]] lichan:
I originally reformatted the card in my phone (in the Android settings) to get it to recognize the full 64 GB which I think made it into FAT32 and then went into the recovery to partition. I don't have it with me right now to check.
[Android Software/Hacking General [Developers Only]] frankfurts:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

root@umts_yangtze:/ # ls /dev/block
boot mmcblk1 mmcblk1p22 ram15
cache mmcblk1boot0 mmcblk1p3 ram2
cdrom mmcblk1boot1 mmcblk1p4 ram3
cid mmcblk1p1 mmcblk1p5 ram4
kpanic mmcblk1p10 mmcblk1p6 ram5
loop0 mmcblk1p11 mmcblk1p7 ram6
loop1 mmcblk1p12 mmcblk1p8 ram7
loop2 mmcblk1p13 mmcblk1p9 ram8
loop3 mmcblk1p14 pds ram9
loop4 mmcblk1p15 platform recovery
loop5 mmcblk1p16 ram0 system
loop6 mmcblk1p17 ram1 userdata
loop7 mmcblk1p18 ram10 utags
misc mmcblk1p19 ram11 vold
mmcblk0 mmcblk1p2 ram12 zram0
mmcblk0p1 mmcblk1p20 ram13
mmcblk0p2 mmcblk1p21 ram14

---------- Post added at 10:09 PM ---------- Previous post was at 09:55 PM ----------

The script just says

E: the script has not been allowed to fully run at boot.

I checked and the script is in the init.d folder. The Links2sd script runs fine but I did delete this now incase it was interfering but it still won't recognise my SD.
[Android Software/Hacking General [Developers Only]] frankfurts:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

In appreciate your help but I found a solution. In installed a different init.d script over the mounts2sd one and it all works fine :) thanks for helping out.
[Android Software/Hacking General [Developers Only]] gu5t3r:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Link2SD installs in 2 places, init.d & /system/etc/install_recovery.sh

You need to delete them both and also delete /data/sdext2 folder to get rid of link2sd...
[Android Software/Hacking General [Developers Only]] frankfurts:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Cheers I was trying to work out why my sd ext was still in use by another script. In didn't realise about the recovery.sh

Edit : All fixed thank you :D
[Android Software/Hacking General [Developers Only]] Negroid:
the script fails to start up properly and the link to the sd ext is lost, resulting in my apps not being loaded during start up of my device. only system apps are shown. since i converted mounts2sd into a system app, i am able to see the app and read its status, and it is in safe mode when this happens.

excuse me, i misspoke, it takes a few reboots, not reflashing of the zip to get it to work again. when i reboot, i think the script is still there, as the app shows the portion of the partition thats full (sometimes) but it boots up in 'safe mode.' i havent formerly check, because my file explorer is gone with all my other apps.

some additional info: something similar happens when i flash a rom update, but to my understanding thats because the new flash removes the current init.d fikder configurations. however, that isnt the problem im referring to. after like 2-3 reboots. the app functions normally but im at a loss because all of my homescreen's widgets and log in info for some of my apps disappear and i have to reapply that stuff manually.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Since you converted the app to a system app, could you provide a log from the app next time it boots with this issue? That would help. Also turn on debug mode to get a useful log entry
[Android Software/Hacking General [Developers Only]] mixednuts:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Been using dk's script / app for a while and it totally takes the cake! Once again, great work.

Do any successful users of Mounts2SD make use of the CM File Manager (included in CM10 based ROMs and above)? Just wanted to take stock of whether they've experienced any root browsing / system RW issues directly after the busy box configuration.

And, dk, any ideas for the future as to how you may work around the increasing instances of improper kernel init.d implementation?
[Android Software/Hacking General [Developers Only]] moparman1969:
what is max size of sd ext partition

is there are a ratio or max size of certain sd cards to use sd ext to
[Android Software/Hacking General [Developers Only]] gps3dx:
Although I still have that problem with CMFileManager as you described, I managed to fix the "developer options" crash problem I had with v2.20 ( v5.50 from inside the script ) of m2sd script.

Look here for details about a fix that some other fellow told me.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Never used CM Filemanager (Solid Explorer is the killer explorer for Android, even better than any PC Explorer in Windows, Linux and OSX), what is the problem with it?

No, I have a bad feeling about the future of init.d as it seams to get further away from any standard. But the current work-around seams to be working okay so far. But I am still testing different things to find a better way, if there is any. The problem with init.d is that it needs to be implemented in the ramdisk which is not easy to hack without manual flashing by the end user.
[Android Software/Hacking General [Developers Only]] mixednuts:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

I'll grab a logcat if your interested... as you said there are plenty of great file managers out there, so I'm really not all that worked up about it. :p Just more curious than anything else.

Essentially, the app's root options become grayed out rendering it kinda useless (can still browse storage).

I find it encouraging that you're still looking at ways around it... glad to hear it. ;)
[Android Software/Hacking General [Developers Only]] axymk:
I have installed apk. There are 2 files already in init.d folder- 00banner & 90userinit

IF I-

1. delete these 2 files, phone works the same & no problem occurs.

2. don't delete them, I can't configure busybox & copy script to system partition.

3. delete them, Busybox can be configured & script gets written but when rebooted, phone stucks at either htc logo or bootanimation.

So what should I do?

HTC Pico Rom: holo sandwich 1.3
[Android Software/Hacking General [Developers Only]] CCuber:
AW: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

I have just installed the Mount2SD.apk set it to move everything without /data to sd-ext. I rebooted into recovery wiped dalvik and cache and booted the phone.

It then was optimizing the apps.

But I have got am error saying it "could not attach CM's /cache/dalvik-cache to sd-ext/cache/dalvik-cache"

What should i do now?

HTC Desire: Paranoid 3.00+
[Android Software/Hacking General [Developers Only]] MetinKale38:
AW: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Everybody is asking why to enable (or let it enabled) safe mode, but I have a different questions.

What could be reason to disable it?

Does it increase the boot time? Even if you have a proper init.d?

Why do everybody want to disable it/why do you have added an option to disable it?

Tapatalked with my JellyBean powered HTC Desire
[Android Software/Hacking General [Developers Only]] mixednuts:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

What did you use to create and format your EXT partition?

From my understanding, disabling the safe mode will have the script / app ignore certain errors that could potentially cause data loss... by ignoring these errors it enables functionality that would've otherwise been disabled... thus, it's left up to the user.
[Android Software/Hacking General [Developers Only]] mixednuts:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Try running SQLite for Root installer from the Play Store.
[Android Software/Hacking General [Developers Only]] guastucci:
Nothing. The Sqlite for root says that sqlit3 is r,/o , but I mount as r/w and still nothing.
[Android Software/Hacking General [Developers Only]] mixednuts:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

I usually have to run the install twice, back-to-back, then it's successful.
[Android Software/Hacking General [Developers Only]] post-mortem:
What about these lines:

i/script - The script is running in safe-mode!
...
w/script - The sd-ext partition could not be located!

You might have other problems which need attention.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
You do not have enough space left on /system. That's why you can't configure or install script without deleting those files first. And that is why you end up boot looping when installing the script, because the whole script is not written to do mising space. Make sure to have at least one MB left on your /system partiton. Delete one or two system apps that you don't use.

I need the debug log to see the problem

Disabling safe-mode using the proper init.d will have no affect. However, disabling it while using the service init.d method will trigger a new hack which will simulate a proper init.d as well as possible by stalling init to ensure that services are kept from starting until the script has finished. This will allow users to use all of the options. However the hack does not work on all devices, so this is why safe-mode is enabled by default with the option to disable it.

You have not yet created the sd-ext partition. You need to create this in order to use m2sd.
[Android Software/Hacking General [Developers Only]] axymk:
Minitool partition wizard & partition is ext4. When I flash the zip file nothing happens.
[Android Software/Hacking General [Developers Only]] mixednuts:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

In addition to dk's advice posted above, make sure that you do not use CWM to handle the EXT in any way after you've created and formated it using MiniTool. That means no wiping, including factory resets... CWM tends to mess with EXT partitions.
[Android Software/Hacking General [Developers Only]] axymk:
Not working even then. I reflashed the rom still no success. BTW cwm recovery changes ext4 to ext3. When I had tried the initial version of apk it worked. Can you provide that version of apk?(probably 1.0.8)
[Android Software/Hacking General [Developers Only]] mixednuts:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Sorry, only been using the latest and greatest.
[Android Software/Hacking General [Developers Only]] post-mortem:
All versions of Mounts2SD are here:

http://sourceforge.net/projects/mounts2sd/files/
[Android Software/Hacking General [Developers Only]] manpildo:
How can I find out if I have proper init.d or not? In other words how can I determine whether it's safe to disable safe mode?
[Android Software/Hacking General [Developers Only]] post-mortem:
Just try it, then reboot & look at the log.

If in doubt, do a nandroid backup first.
[Android Software/Hacking General [Developers Only]] Negroid:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

I attached screen shots of the log, as my SD card wasn't found when I tried to import it.
[Android Software/Hacking General [Developers Only]] sverfaillie:
Settings - developer options not accessible - patch to 10mount2sd

I was a long time user of mount2sd. Until recently I had no issue with it.

Recently when switching to JB roms, and using r-mount mode only, the developer screens were not accessible anymore

"Pekaka" found out that there is something missing in the 10mount2sd script. ( see link )

I have been applying these changes manually, rebooted the phone, and I could again access the settings.

Sidephenomen : the apk version 2.2.0 complains now that the script is outdated.... If I again update it, these changes are gone...

My question : Are these proposed changes sufficient, without causing new problems ?

If they are ok, can they be incorporated permanently into the scripts ?

thank you

http://xdaforums.com/showpost.php?p=38063979&postcount=316
[Android Software/Hacking General [Developers Only]] axymk:
It's working now. I flashed twrp recovery & created partition from it. Means CWM caused the error.
[Android Software/Hacking General [Developers Only]] vpidroid:
Error / Warning on Startup and Google Play Error

Hello all fellow members....

Require your assistance with my CM10 JB 4.1.2 P500.

Flashing and Mounts2SD installation went smoothly and all was working perfectly.

Suddenly, out of the blue, I am facing 2 issues with Mounts2SD and Google Play (Error 492).

I do not know if the two issues are connected / related. That is why I am also posting details about the Google Play error as well.

Mounts2SD issue

================

After startup, when I unlock the screen, I get the normal message that Mounts2SD has been granted superuser permission. Then the phone does a vibrate and I get a Mounts2SD notification "An Error/Warning was detected".

When I click on it and go to Mounts2SD, the status shows an Orange Exclamation mark. It used to be green before.

When I view the log, there is one Orange "W" entry which says,

"Error detected while checking sd_ext. Everything was left uncorrected."

However, later entries in the log indicate that sd-ext was mounted with alternate parameters.

This is not causing any issues with the functioning of the phone, or the already installed software, as far as I can see.

However, I am puzzled as to why this is happening out of the blue, for no rhyme or reason.

Google Play Issue

=================

Again, out of the blue, I am unable to update existing apps or install new apps. I am getting Error 492.

"Update for <app name> could not be downloaded due to an error(492)"

"<app name> could not be downloaded due to an error (492)"

================================================== ========================

I really can't figure out what has changed in the phone,or what has caused these two malfunctions all of a sudden.

Are these two issues related ????

Looking forward to your assistance in resolving this.

Thanks and Regards,

Venkat
[Android Software/Hacking General [Developers Only]] mixednuts:
Figured as much... that's something I learned just recently too :eek:

Have you disabled safe-mode?
[Android Software/Hacking General [Developers Only]] vpidroid:
Mixed Nuts,

No. I have not disabled SAFE MODE in Mounts2SD configuration.

Thanks,

Venkat
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

The warning is just what it says, there is some problems with the partition (properly some bad blocks) that could not be fixed. Other than that it is working fine.

About play store, check available space on /data. Also how many apps do you have installed?
[Android Software/Hacking General [Developers Only]] mixednuts:
Also, try removing your Google account, rebooting, and add it again.
[Android Software/Hacking General [Developers Only]] post-mortem:
So, is fsck running at boot, but not fixing errors?
[Android Software/Hacking General [Developers Only]] vpidroid:
dk_zero-cool,

How do i check available space on /data ???? I have ES File Explorer installed....But when I long press on /Data and tap "Properties" it shows size as zero. What am I doing wrong ???

I have 40 odd apps installed. But these also include Google Play store and other system apps converted into user apps by the OOne ROM Editor, such as Calculator, Email etc.

Thanks,

Venkat
[Android Software/Hacking General [Developers Only]] mixednuts:
Download any storage info app... they'll shed more light.

So, dk, whenever the script detects physical bad blocks the app will always indicate the error?
[Android Software/Hacking General [Developers Only]] lichan:
I wsa getting the same 492 Play Store error and none of the usual fixes (as found by google - wipe caches, fix permissions,

delete and redo Play Store and/or account, roll back updates, etc.) worked. What did work was not putting app data to the

sd-ext card. It's generally a small amount of data but something was causing the problem in my HTC EVO 4G. I did not disable

Safe Mode and I have over 130 apps (I'm an app hoarder).
[Android Software/Hacking General [Developers Only]] mixednuts:
The Play Store as a user app or symlinked as a system app?
[Android Software/Hacking General [Developers Only]] lichan:
I just meant all app data in the Mounts2SD options.I think Play Store is a system app on the ROM but I am not sure.
[Android Software/Hacking General [Developers Only]] vpidroid:
Dear Lord.....

Now how do I find that out now ????? :confused:

Venkat

---------- Post added at 12:04 AM ---------- Previous post was at 12:00 AM ----------

The problem is Google Play Store is not working.....so downloading new apps is not an option.....

Thanks,

Venkat
[Android Software/Hacking General [Developers Only]] post-mortem:
In a terminal, try unmounting the sd card, then run

e2fsck -fv /dev/block/mmcblk0p1

or whatever the proper partition is.

You can also do it through an adb shell. umount the card (or unmount it in CWM), then run the command.
[Android Software/Hacking General [Developers Only]] mixednuts:
oh, my bad... if I run across an apk I'll point you to it.
[Android Software/Hacking General [Developers Only]] vpidroid:
I think I found an easier way....viewing the Mounts2SD Log.

The relevant log entries are as below....

Running File System Check on sd-ext.

Error detected while checking sd-ext. Everything was left uncorrected!

Shell Error Message [e2fsck 1.41.11(14-Mar-2010) /dev/block/mmcblk0p2 contains a file system with errors, check forced. Pass 1: Checking inodes, blocks, and sizes Pass 2:...]

Then it goes on to mount sd-ext and succeeds after a couple of attempts with alternate parameters.

Is this what you wanted to know ???

Thanks,

Venkat

---------- Post added at 12:18 AM ---------- Previous post was at 12:14 AM ----------

lichan,

In my Mounts2SD configuration screen, only Applications is checked as Move to sd-ext/app. Data is not checked. Are you saying Applications should also be unchecked ???? That doesn't sound right.

I think my configuration is already the way you are saying it should be...is it not ???

Thanks,

Venkat

---------- Post added at 12:33 AM ---------- Previous post was at 12:18 AM ----------

Also, I am still not clear if the two issues are actually related.....I am guessing they are not.....

What do you guys think ???

Thanks,

Venkat
[Android Software/Hacking General [Developers Only]] lichan:
No, unchecking the "move apps" option would remove the reason for using Mounts2SD in the first place, so your 492 error cause may actually be

one of the many which can be found mentioned out on the net. Specifically, one solution mentioned somewhere was to reformat the sd card as

errors on it could cause the Play Store 492 error. Several people said it corrected the Play Store problem. I was skeptical but did it anyway and

it did not help in my case. I took a nandroid backup including the sd-ext partition, a titanium Backup of the apps and app data, backed up the sdcard

partition to my Windows PC and reformatted and repartitioned the card in the recovery. After restoring the contents to the card and restoring apps I

continued to get the 492 error, but it evidently corrected the problem for some. Good luck.
[Android Software/Hacking General [Developers Only]] vpidroid:
Tried that now....did not work.

Am I supposed to sync after deleting the account ??? Though it doesn't make sense, since there is no account to sync with.

Thanks,

Venkat