yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] daniel_m:
Nice, I think I "bricked" my phone ... and I would appreciate some help :rolleyes:

Yes, I have a full backup of my system, but it is some weeks old and I would prefer to get my current system up and running again.

I am using FXP extended by M66B (CM10) on a Sony Xperia Mini Pro and my SD-card has one Fat and one ext4 partition. After opening Mounts2SD, my phone rebooted and now my internal memory is inaccessible to the system.

Unfortunately, Terminal is inaccessible too. Fortunately, my file manager still works and I can browse the internal and the external memory. My phone has an init.d directory with some files in it, but a test file that was supposed to create a file on /data failed. Of course it could have failed because it might not have been able to access /data, and I will change the script to create the file on my SD card later ... that didn't work either, so I do not know if init.d is actually doing anything ...

Mounts2SD is working as well, and I configured it to not move any content to the SD card. The log file also doesn't give any error messages, except one while "checking sd-ext" that is being corrected automatically.

Any clues on how I could proceed?

Edit:

Never mind, I reverted to my last backup and am now trying to get rid of Mounts2SD and "whatever link2SD has been doing since I have an ext4 partition on my SD card". Holy crap, that was another Android adventure I could have done without ...
[Android Software/Hacking General [Developers Only]] uf0999:
I really like mount2sd because we can move also system apps to sd-ext (i.e. gapps) but I think this will cause some problems.

When I reboot phone I can't see my apps. Then after another reboot I can see everything but all my gapps data are gone and I need to reconfigure my accounts...
[Android Software/Hacking General [Developers Only]] mixednuts:
Did you move the system apps to the user app section or did you symlink them as system apps?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
First post (OP), the section about "Safe-mode". Read that and it will explain everything to you.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
That would be your options yes. But disabling safe-mode (Using the work-around) seams to be working on most devices, so I would start by giving that a try. It is working fine on my HTC Wildfire test phone (Not the S module), so chances are that it will on yours as well. Just don't try using R-Mount with the work-around. That part only works on non-service init.d implementations.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Year well it does seam to help the non-danish people quite a bit :)

Nah, that is just a warning to indicate that you COULD get into trouble by disabling it. However do note that this warnings was not updated after I added the work-around. Before the work-around there was a bigger chance that things could go wrong. I will rewrite the warning at some point, I just needed to see how stable the hack really was first. I could only test it on two different devices myself.
[Android Software/Hacking General [Developers Only]] hanut1:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

saying storage threshold not changed sqlite binary returning error code '255' ......any solutions ??
[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

Not a big deal, but you can install and run SQLite Installer for Root from the Play Store and the error will disappear.
[Android Software/Hacking General [Developers Only]] marko94:
Hy..

I have a problem..i am using CM10 ,latest build from liverpool_fan,TWRP Recovery 2.2.2.0.. and i download script mount2sd from google play..and there show me the problem when I configure all and restart my phone : the sd-ext partition could not be mounted..where is the problem?

I using ext 4
[Android Software/Hacking General [Developers Only]] post-mortem:
Look at the log file, or post it here so we can see it.
[Android Software/Hacking General [Developers Only]] marko94:
here is a log file :

http://imageshack.us/a/img201/8938/screenshot2013022519020.png,http://imageshack.us/a/img822/9637/screenshot2013022519014.png
[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

You have a bad busybox binary. Try updating. Search busybox on Play Store, or better yet from this forum.
[Android Software/Hacking General [Developers Only]] marko94:
Is there flashable busybox ?

edit.. updating busybox from playstore, and the same thing again :(
[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

Which is why I said xda link would be better. Try my binary from my busybox integration thread

http://www.mediafire.com/?c9ne73z33dxrs82
[Android Software/Hacking General [Developers Only]] marko94:
Thanks.. I try flash new rom,than busybox ,So we'll see

edit :

i try flash that busybox,but i got E:Error in/sdcard/update.zip(status 0)
[Android Software/Hacking General [Developers Only]] BleedingIris:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Try putting update ~binary from the Rom to the busybox binaryzip you downloaded.

The update binary should be found in meta ~inf /com /google /update binary in the Rom zip.. copy and paste it in the busybox in the exact folder.

New to forum?

cm10 htc a310e Smoother than butter and broke Cam/corder

---------- Post added at 01:44 AM ---------- Previous post was at 01:41 AM ----------

Shouldn't the busybox from your app be sufficient?

New to forum?

cm10 htc a310e Smoother than butter and broke Cam/corder
[Android Software/Hacking General [Developers Only]] marko94:
thanks man.. :) I did so
[Android Software/Hacking General [Developers Only]] marko94:
I tried to put a new BusyBox, this one on this board and with Google Play, and the same thing .. And, as for example, the CM9 does everything perfectly .. the only ones with this Rom CM10, the real problems of this
[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

There is no busybox in the app. There is only a busybox configuration script that will configure the available busybox

That is strange. Then try putting your CM9 busybox into your CM10 rom.
[Android Software/Hacking General [Developers Only]] BleedingIris:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

@marko94

Just to make sure kernel 3 isn't at fault...

Can you flash kernel 2.6 over cm10 and see...?

you did say before that you had this problem after flashing kernel 3 on cm9

May be kernel 3 is incompatible with your ext4 partition..

@dkzerocool ,

Thanks

how can we take busybox from cm9 ? Any specific methods...

I can see all binary symlinked files in system /bin and /xbin ...

New to forum?

cm10 htc a310e Smoother than butter and broke Cam/corder
[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 grab it from /system/xbin/busybox and replace it in the cm10 zip or after flashing cm10
[Android Software/Hacking General [Developers Only]] Paxy:
First of all, dk_zero-cool great job and well done for such a great support.

After a lot of reinstalls and reboots of Energy HD2 ROM, I made it work on your sd-ext script.

But still have one big problem. I still can not make it transfer app data to sd-ext and this is only reason I have started with sd-ext as Energy HD2 already move apps on sd-ext.

I check option Data and DalvikCache to move on sd-ext and reboot ROM. But after reboot system still just move apps not Data and DalvikC.

On log there is no errors, just I,D,V. When I start againd M2SD after reboot, this options is unchecked again.

When I check options, close application, and open again, options are checked, but after reboot they become disabled again.

Any idea, what could be issue ?
[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

First post. Read the part about safe-mode
[Android Software/Hacking General [Developers Only]] Paxy:
Tnx a lot.

Spent hours trying to fix issues at HD2 and Energy ROM. Solution was on first page :eek: .

Short summary for someone like me with HD2 Energy ROM.

1. Install M2SD (I have installed from Google Play)

2. Start M2SD

3. Config busybox

4. Install init.d script

5. Check options you need

6. Disable safe-mode

7. You have to manual delete init.d script created by ROM a2sd in /etc/init.d/40a2sd (remount system to R/W, access shell, delete file)

8. Reboot device

9. From recovery mode, Delete Dalvik-cache and Fix Permissions

10. Reboot and wait a while for files to copy on sd-ext and Dalvik-cache recreate
[Android Software/Hacking General [Developers Only]] NeoFox69:
Hello DK again...

Any solution for this yet? Maybe you can take a look at the ROM? Sorry, but the ROM is very good, and your script is the best for me!

related post on ROM

with this ROM (same base 4.2.2) it works OK!

Thanks again, and be cool!
[Android Software/Hacking General [Developers Only]] marko94:
I try this,and the same thing :(
[Android Software/Hacking General [Developers Only]] BleedingIris:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Did you try flashing kernel 2.6?

…………………………………………………………………………………………​

If my post is empty,Click here

Latest links here

cm10 htc a310e

Butter smooth&brokeCam/corder
[Android Software/Hacking General [Developers Only]] marko94:
I flash kernel 2.6 over CM10,and everithyng works :))

but where is the problem , ??
[Android Software/Hacking General [Developers Only]] BleedingIris:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Probably kernel 3. It somehow doesn't support ext 4 partition I think. But I'm sure no one will be able to report it(because of low number of people using ext4). And it probably won't be fixed.:p

…………………………………………………………………………………………​

If my post is empty,Click here

Latest links here

cm10 htc a310e

Butter smooth&brokeCam/corder
[Android Software/Hacking General [Developers Only]] marko94:
then I try with ext3? and kernel 3 ?
[Android Software/Hacking General [Developers Only]] BleedingIris:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Should work..

Works for me..

But temple run2 reboots random reboots still present..

Go to discussion threads.

http://xdaforums.com/showthread.php?t=1893134

…………………………………………………………………………………………​

If my post is empty,Click here

Latest links here

cm10 htc a310e

Butter smooth&brokeCam/corder
[Android Software/Hacking General [Developers Only]] marko94:
Thanks bro, it's finally work :D

:good:
[Android Software/Hacking General [Developers Only]] rush2ashu:
I need your help.... please

I am new to Mount2SD. In fact this is my first visit.

I have a LG P500 and lately there has been many new developments in P500 related to GB 4.2.2 + Kernel 3

I have bought a new 32GB memory card. I want to use Mount2SD.

Sorry I couldn't read through complete thread.

I have some quick question ...

1. What should be the swap partition size

2. How much should be the EXT partition size and which is the best EXT2\EXT3\EXT4? Should this be Primary partition or Logical .. set to Active? I am using Minitool Partition Software to partition my SD card.

3. When to flash the ZIP file.. I mean after each ROM install. or before every ROM install... or After Gaps zip is flashed.?

Thanks in Advance ... and sorry for all the trouble I am giving you.
[Android Software/Hacking General [Developers Only]] lichan:
1. 0, you don't need a swap partition.

2. Depends on how many apps you intend to install. 1 GB is probably plenty, 2 GB if you intend to install over a hundred. You should be able

to partition the card in your recovery especially Amon Ra. It should be a primary not logical partition. Not active and ext4 if your ROM will

handle it.

3. ROM, gapps,Mounts2SD, restore/install desired apps (each ROM install)
[Android Software/Hacking General [Developers Only]] post-mortem:
I read somewhere that Mounts2SD isn't compatible with Android 4.2.x. I don't know if that's true, but if you can't get it working, try Int2ext.
[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

Of cause it is. It's the only script that is fully compatible with 4.2, CM's Dalvik Cache as well as Androids new /data/media system and many other different device setups.
[Android Software/Hacking General [Developers Only]] Nightshadow931:
It doesn't work for me on my HTC wildfire S, android 2.3.5, sense 3.5.

I've tried several times, with app and with flashable zip.I have ext4 partition, my kernel does support init.d, but whenever I install your script, my apps just disappear, and nothing happens with memory.It doesn't take a lot to boot, min or two, like without the script.
[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

Try disabling safe-mode
[Android Software/Hacking General [Developers Only]] daemonarch21:
size issue

Hello.

First of all I wanna thank you for this script.works perfect.

Second I wanna report something strange.if I backup using recovery and then restore I will have more free space then before.

Near 100mb.I am moving data/app/dalvik/cache to sd-ext.I backup and restore everything even cache.temporary downloads from play store are always clear so it can't be this.

Anyone has any clue?

HTC desire with cm7 nightly
[Android Software/Hacking General [Developers Only]] Nightshadow931:
Re: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 201

Alright.But I've already flashed data2sd, and it's working, although, I'm not really happy with the speed.If i install Mounts2SD, will it remove my data2sd, and transfer all apps to itself? :)
[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

It will remove data2sd and apply it's own configurations, yes

Just make sure to disable safe-mode and apply your setup before rebooting
[Android Software/Hacking General [Developers Only]] iamsankalp:
Issue in HTC Pico(Explorer)

Can someone please help regarding mounts2sd (Playstore version)

I have flashed CM10 and i am having ext3 partition while using mounts2sd.

I have installed each app that i wished.

The issue is:

At every reboot, "Android is upgrading. Optimizing this many apps" Is there a way that it can be bound to not happen again?

I am not using reverse mount right now...
[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

Reboot into recovery and wipe dalvik-cache
[Android Software/Hacking General [Developers Only]] ponemania82:
R: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 2013

I tried this app on my galaxy mini s3, the reversal of the memories but there is a problem my external card is 8 gigabytes, but when that becomes internal 4 giga becomes, why?
[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

You can only reverse /data with /sd-ext, but the script has been made not to touch /data/media because it is not meant to touch any of the storage partitions, only the partitions storing apps and app related content.

If you want to reverse the internal storage with the external, you will need a different script, although I can't see why anyone would want that.
[Android Software/Hacking General [Developers Only]] ponemania82:
R: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 2013

my internal sd card is already 5 giga, reverse the memory with the card (if then he gets 4 giga) what can serve me?
[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

I am sorry, but I don't know what you mean?
[Android Software/Hacking General [Developers Only]] ponemania82:
R: [App/Script] Mounts2SD - An All-in-one sd-ext solution (2.2.0/5.5.0 - Jan 26, 2013

my sd card is 5 giga internal and external of 8 giga, when the invert sd card the external I becomes of 4 giga, then becomes little more than the capacity of the inner one, and what advantages this may take if I go to decrease the capacity?
[Android Software/Hacking General [Developers Only]] manuthomas:
"optimizing application" loop!

Hi,

I have the same problem. Running ported CM9. Every time i reboot, the "optimizing application" gets evoked. And it take some 5-10 minutes to get over!

Tried rebooting into recovery and wiping dalvik-cache. It is not helping.

Please advice on how to sort this out.

Regards
[Android Software/Hacking General [Developers Only]] post-mortem:
It could be an issue with the ROM. Arjen's ROM for the P500 series had this problem. Make sure everyone else with the same ROM doesn't have the same problem.

-- Sent from my TouchPad using Communities
[Android Software/Hacking General [Developers Only]] gu5t3r:
Hello dk_zero-cool,

I would like to move from Link2SD to Mounts2SD...I moded LuPuSv10 kernel to run init.d with exec from init.rc...

If anybody wants to try here is the LINK.

I know how to get rid of Link2SD and it's scripts.

The problem is that Link2SD creates symlinks for .apk, lib files from data and .dex files. First problem is that it puts .apk files in root of sd-ext, which I can solve by moving all .apk to /sd-ext/app/ directory.

BIG Questions:

1. If I select to move app and data to sd-ext, will Mount2SD merge them correctly?

2. Will it figure out that in /data/app are symlinks and that it should not overwrite apks in /sd-ext/app with symlinks (which will result in deletion of them)?

3. Will it figure out that in /data/data are symlinks and that it should replace them with real libs from /sd-ext/data?

4. Or should I delete all apk symlinks, move all dex to sd-ext and manually merge all /data/data from /sd-ext/data and then later restore dex to /data and /data/data to sd-ext?

5. If /data/app has some apks and /sd-ext/app has some apks will script merge all to /sd-ext/app correctly?

Thanks in advance, I'm asking these questions because I don't want to reinstall rom (I have 70+ apps and 10+ games), I would like to preserve it just the way it is...
[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

I need a log from the app after you have enabled debug

Try disabling safe-mode

It will handle all symlinks correctly. Just make sure that apps are in /sd-ext/app and not in the root of the partition. My script will do the rest :)
[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

Thanks, two more questions, is it better to leave /data/data or dalvik-cache on internal for speed?

Does speed differ from ext2 and ext4, and which is better?
[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

That depends on your sdcard. You will have to test this yourself.
[Android Software/Hacking General [Developers Only]] efuzone:
I installed mounts2sd play store version, and i am using cyanogen 9 unofficial rom but its awesome working fine.. i have disabled safemod, i have cleared dalvik cache and cache partition from recovery but also tried to disable dalvik from application but still getting same trouble on reboot it optimize everytime 107 files... please help
[Android Software/Hacking General [Developers Only]] gu5t3r:
Could not move dalvik until turned of safe-mode? Is this normal because I have proper init.d method?

Some apps FC after merge, needed to reinstall them? Some linked lib folder were not properly merged...
[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

Disabling safe-mode does not work for all. Nothing to do about that other than implementing proper init.d to your ROM

You may have a double init.d implementation (init.d being executed from two places, overlapping each other). This has been seen before with similar issues after custom alterations to the ramdisk.
[Android Software/Hacking General [Developers Only]] gu5t3r:
No, I removed code from lupus-script.sh and created /sbin/sysinit which I run from init.rc....and made init.d script "echo test >> /data/_test.log" and test only outputted once to log...

The first time I left it to script to manage files....that was a mess...due to lack of space or script I don't know....half of apps FC...

Restored CWM backup...

The second time I disabled safe mode and fschk and enabled app and dalvik...Then I rebooted to CWM and opened "adb shell" in CWM just before the first run of your script....Moved apk files from /sd-ext/ to /sd-ext/app....

mkdir /sd-ext/app
mv /sd-ext/*.apk /sd-ext/app/

Copied /sd-ext/data to /data with cp -Rf and then deleted /sd-ext/data...

cp -Rf /sd-ext/data /data/
rm -Rf /sd-ext/data

removed all symlinks from /data/app, and move all real apks to /sd-ext/app...

for sym in `ls /data/app/`; do if [ -L /data/app/$sym ]; then rm /data/app/$sym; fi ; done
mv /data/app/* /sd-ext/app/

moved everything from /data/dalvik-cache to /sd-ext/dalvik-cache...rebooted

mv /data/dalvik-cache/* /sd-ext/dalvik-cache/

Didn't figure it out why it was optimizing 170 apps as I moved everythin but after 3rd reboot it stabilized and i can say:

I SUCCESSFULLY MIGRATED FROM LINK2SD TO MOUNTS2SD
[Android Software/Hacking General [Developers Only]] efuzone:
How do i fix it then?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Well either you learn how to split an reassemble ramdisk images so that you can add proper init.d, or you disable safe-mode and just move applications while leaving dalvik on internal.

The ramdisk cannot be altered while the device is booted, so I cannot add any magic to it from within the app. This needs to be done by the user of the device. And the ramdisk is not the same across devices and ROM's, so I cannot add a global custom one that people can download from this thread.

It all depends on your ROM developer, nothing I can do.