yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Do you use an official cm, or have you switched the busy box binary after flashing the ROM?

It sounds like one or more commands in your busy box is missing or to limited.
[Android Software/Hacking General [Developers Only]] SCoUT80:
How can I switch the busy box?

When I first use the app it asked me to do something with the busy box.

I' m using the cyanogemMod 10 n1 3.7
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Just search the marked an see if from there makes any diff
[Android Software/Hacking General [Developers Only]] MetinKale38:
It's really a good script but I miss two things (which no scripts have) :

On some Roms market downloads are on /data/data/com.android.providers.downloads/cache. These should be moved too.

In 4.2 libs are on a seperate folder /data/app-lib. This should be added for moving. Would save some more space on internal.

Tapatalked with my HTC Desire
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Providers cache is already being handled by this script. And data-lib is being added in the next version along with support for data/media for fuse controlled internal SD storage.
[Android Software/Hacking General [Developers Only]] Krunal1313:
I installed your API from play store..

After I configured the busy box and installed script but when I rebooted it always shows script successfully not executed.

Help me.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
That means that the script was not executed during boot, so I would make sure that your ROM/boot.img supports init.d
[Android Software/Hacking General [Developers Only]] Krunal1313:
Ya..my rom supports init.d and i installed several scripts before and all worked perfectly except this one..
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
What does the log say? You can see it from within the app
[Android Software/Hacking General [Developers Only]] Krunal1313:
I changed the kernel.

Now the script is executing bt app data is as usual.its not moving to sd-ext.
[Android Software/Hacking General [Developers Only]] 4D3:
I have the same problem, when I check the log it just says

"script did not execute fully during boot"

My rom definitely use init.d how can I check the boot.img?

Any ideas.?

Sent from my Evo 3D GSM using Xparent Cyan Tapatalk 2
[Android Software/Hacking General [Developers Only]] mixednuts:
lol... man, you don't have any luck with these scripts! :D

Don't feel so bad this time, I get stuck at boot animation with this one... real shame as it really looks like the best one out there.
[Android Software/Hacking General [Developers Only]] 4D3:
could this be a recovery problem of a kernel problem?
[Android Software/Hacking General [Developers Only]] mixednuts:
Sorry, no idea... don't even know why mine is refusing to get past boot.
[Android Software/Hacking General [Developers Only]] LazyDroid:
Had similar problem, phone would get stuck on boot once I enabled the script.

Seemed like it may have been because I was doing a factory reset in ClockworkMod recovery before doing a fresh install of ROM and then script. Realized that the recovery formats /sd-ext when you do that. But, maybe it doesn't do it correctly because if I then re-format the card on a Linux PC it seems to fix the problem.

Only issue now is that the script/app reports a filesystem error every time the phone boots. But, I checked the filesystem from adb shell with phone in recovery and the error is that the filesystem isn't unmounted properly when the phone is rebooted. Doesn't seem like a big deal (I hope). Using EXT4 with journaling disabled for this partition.

On Nexus One with CM 7.2 (20121209 Nightly).
[Android Software/Hacking General [Developers Only]] MetinKale38:
The app shows me an error/warning each boot but I can't find anything on log or somewhere else.

What's that? How to fix that?

Tapatalked with my HTC Desire
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
You will need to check the logcat during boot. Also, like mentioned above, if you are using CWM Recovery, please format sd-ext using something else. That recovery is well known to f*** up while formatting sd-ext and the regular sdcard partitions.

I had this issue on my Galaxy S3 as well before I added proper init.d support (When the script is executed in safe-mode). The issue was that the script did not get to complete before android started to boot the UI, so Android started loading all of the applications before the script was done moving them and linking sd-ext folders to data.

If you have a fast booting phone as well, then try the new version. I have added a major fix to safe-mode which fixes boot loop issues on fast booting devices.

EDIT:

Note that Play Store might not yet be up-to-date. It takes a few hours for it to update.

Well, open the app and check the status on each option. In one of the options you will see a message. Otherwise, try sharing the complete log. You can save it to the sdcard from within the app and then paste it here.
[Android Software/Hacking General [Developers Only]] MetinKale38:
The app-libs are moved by default. It should be selectable!

Tapatalked with my HTC Desire
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
It is selectable with the apps option along with all app(-*) folders
[Android Software/Hacking General [Developers Only]] itsmebhupendra:
Not Worked For Me

Hi DK,

I have downloaded you app.apk and installed on my phone. I am using Runnymede AIO 6.0.4.3 a2sd version (because its faster than other versions).

Here is the log cat I am attching.

Please help me increase my internal memory.

I have a HTC desire.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Could you provide the output of the file /proc/mounts please (After booting android, while you have the script installed of cause)
[Android Software/Hacking General [Developers Only]] MetinKale38:
Is there a way to move system apps to /data? Tried app-system but it's mounted to ext.

Tapatalked with my HTC Desire
[Android Software/Hacking General [Developers Only]] mixednuts:
That's another topic altogether... try /system/app mover from the Play Store.

---------- Post added at 12:22 PM ---------- Previous post was at 12:19 PM ----------

Was attempting with your latest version when experiencing the issue... currently in talks with the ROM cook regarding INIT.d support. Any suggestions with regards to adding INIT.d support to the ROM I'm attempting to use your scripts with?
[Android Software/Hacking General [Developers Only]] MetinKale38:
That is not what I want. I want to odex my system apps and put them to internal. Otherwise they are on ext which isn't as fast as the nand. On system I haven't enough space.

Tapatalked with my HTC Desire
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
No. You have an option for apps (All app folders app,app-private,app-system,app-lib,app-asec etc), dalvik and data. There are no separate options for each sub-type.

What app-system does, is allowing you to store APK's on /data or /sd-ext while having them registered as system apps (Apps normally placed in /system/app). The option was mostly made for ROM devs that built newer android ROM's for old devices with very limited nand space. Placing a lot of the system APK's in /data/app-system made it possible to flash ICS and JB on devices with less than 200MB system space, without reducing the ROM it self.
[Android Software/Hacking General [Developers Only]] mixednuts:
Oh yes, that's right, while using the scripts the apps situated under /data will be moved to EXT. You could try NOT moving the /data apps to EXT, but I guess that defeats the purpose.

---------- Post added at 12:28 PM ---------- Previous post was at 12:26 PM ----------

Hmmm... maybe future features? ;)
[Android Software/Hacking General [Developers Only]] mixednuts:
Thanks for the advice... didn't solve the issue for me, but, nevertheless, good practise that I'll continue with. I'll use the Aroma file manager to delete the contents of the EXT if need be.
[Android Software/Hacking General [Developers Only]] biska:
installed the newest update

It worked fine until i selected to move /data/data.

In short i had to re-install my rom
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Did you disable safe-mode? Cause if your ROM runs m2sd in safe-mode and you disable it, then I can't help. Otherwise, what problems did you have?
[Android Software/Hacking General [Developers Only]] 4D3:
Hi,

I formatted it with 4EXT, I dont have a linux system, should I try with minitool partition wizard on windows?

Also on a 32Gb card can I use the following:

Part 1: FAT32 @ 29.5Gb

Part 2: EXT4 @ 2Gb

Part 3: SWAP @ 500Mb

or are they too big/small?

within the software i check the log and it says "Script not executed fully on boot"

I have CATLOG how do i capture a logcat during boot?

thanks
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
The partitions are fine and so are 4EXT Recovery.

To capture logcat during boot you need to use ADB. You should be able to find how to grab log cat from windows via Google.
[Android Software/Hacking General [Developers Only]] 4D3:
does it make a difference if i install the APK or flash the zip?

thanks
[Android Software/Hacking General [Developers Only]] 4D3:
ok,

I flashed a fresh rom wiping ALL partitions except sd card.

Flashed a rom, flashed gapps, booted, enabled USB debugging, allowed apps from unknown locations, rebooted.

Installed your apk and the device bootloops, logcat just sits saying "waiting for devices"
[Android Software/Hacking General [Developers Only]] mixednuts:
Don't wipe SD-EXT... leave it as-is after formatting with 4EXT.
[Android Software/Hacking General [Developers Only]] itsmebhupendra:
Hi,

here the file I found under /proc directory.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Not at all. The ZIP files is just for people who need to install M2SD after flashing a new ROM, before rebooting into the system

That means that the phone stops before ADB is started. This makes it a lot harder to debug the issue, to many ROM's starts ADB to late in the process. I always set my devices to start ADB before running init.d or anything else not statically placed in the init.rc files.

What device and ROM are you using?

Yes I thought so. Your device uses random data in your proc file. Easy to fix, and in the meanwhile just ignorer the log errors. The script is working just fine on your device based on the rest of the log and the proc file.

But I would not mind getting a "df -h" command output as well just to be 100% sure? Just type the command in a shell from ADB or a terminal on your phone
[Android Software/Hacking General [Developers Only]] itsmebhupendra:
Here is the "df -h" out put.

My internal memory is still showing 68MB free only. How can I use re-mount feature to extend my internal memory?

Thanks for quick replies and support.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Great, yep everything is as it should be. So I just need to do a very small change to stop the log from showing errors where there is none.

The script is running in safe-mode on your phone, which means that your ROM's init.d method will not work with R-Mount. You could disable safe-mode which would make it possible to enable the dalvik option. This would provide you with about 100MB additional internal space, and the dalvik option often works on these init.d methods. R-Mount however would properly give you either boot loop or unending app force close issues.
[Android Software/Hacking General [Developers Only]] 4D3:
I have an evo 3d with this: http://xdaforums.com/showthread.php?t=1826747 rom
[Android Software/Hacking General [Developers Only]] itsmebhupendra:
So, I will not be able to use R-mount with the current Rom?

What about enabling "DATA" also with "Dalvik" option?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Okay, I have repacked the Vanilla kernel from the latest release of that ROM so that it now starts ADB before executing init.d

Flash THIS in your recovery and then you should be able to get a logcat of your problem
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Well since I am currently in the works of repacking different boot.img for the people in here :D provide me with a ROM link and I can repack yours to work with all the M2SD options. You can then later on see if your ROM dev would be so kind of doing this by default on future releases.
[Android Software/Hacking General [Developers Only]] itsmebhupendra:
After enabling the dalvik option now I have 200 MB Free. :laugh: Can I also enable the "Data" option with the current setup?

My ROM's thread is closed now if you want the rom I can upload it somewhere:good:
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
I would not try data with your current init.d support.

All I need is the boot.img
[Android Software/Hacking General [Developers Only]] itsmebhupendra:
Here is the boot.img file of the ROM.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
And HERE is the fixed one with proper init.d

You need to put the sysinit file into /system/bin/ and then just flash the boot.img from fastboot using "fastboot flash boot boot.img"
[Android Software/Hacking General [Developers Only]] itsmebhupendra:
Thanks DK! Will try and revert you the status!
[Android Software/Hacking General [Developers Only]] PerfectSlayer:
Hi DK,

I have Desire with CM VJ Jelly Bean 4.1.2 v3.0 ROM and your lastest apk.

I got a FC when I open the developpers settings. I post the logcat in the ROM thread but it appears the error comes when we use mounts2sd with R-mount.

Did you have any idea to solve this ?

Thanks you a lot ;)
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Will look at the cm source later and see what it is complaining about
[Android Software/Hacking General [Developers Only]] MetinKale38:
This is a rom issue, hasn't do to anything with mount2sd

Tapatalked with my HTC Desire
[Android Software/Hacking General [Developers Only]] mixednuts:
I can't get passed the boot animation with the particular ROM I'm trying it with... tried two different versions. Unfortunately, there is no official XDA thread for the ROM version in which I'd like to try it with (the official website only lists the odexed version, but I'd like to try it with the version that's been deodexed by another member).

I've attached the boot.img for both my preferred deodexed version, and a past version that was originally released as deodexed from the developer, although I wouldn't be surprised if they were exactly the same. My device is an LG Optimus One (p500h)

Other links that may be helpful:

ROM Sources

Official ROM Website (with only odexed - most recent version - posted)

Your help is greatly appreciated.
[Android Software/Hacking General [Developers Only]] ForMartha:
last update isent good! the rom dosent boot after updating...

i did it 2-nd time - dunno why :[

using Nexus one, evervolv's JB 4.2,

R-mount, cache, dalivk enable (all rest disable)

was working good (except some errors and minor rebots that started a 2 days ago) until the last update..
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Disable rmount and it will boot. I am working on it. My latest safe-mode fix for fast booting devices seams to have done something to rmount, at least on jb ROMs.

Fix one thing and you break another :(
[Android Software/Hacking General [Developers Only]] MetinKale38:
Anything is working but I ever get a warning after boot

In logs everything is a green V, but under sd-ext is the journaling orange.

Tried to deactivate activate and automate journaling but nothing helped.

Tapatalked with my HTC Desire
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
That means that the current status does not match your settings. In this case it would mean that journal should be disabled but is still enabled. However auto should not show neither error nor warning.
[Android Software/Hacking General [Developers Only]] 4D3:
thanks a lot dude! your the first dev out of all the scripts that has been pro-active in trying to get this working on EVO 3D!

you need a beer, where is the donate button?>
[Android Software/Hacking General [Developers Only]] lukakas:
What's the difference about Link2sd?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
What would you like me to do with these boot images? Happy to do it, but not sure what it is

I would rather have a log donated so that I can fix your issue :D

Have never used Link2sd so you tell me?
[Android Software/Hacking General [Developers Only]] itsmebhupendra:
After copying the sysinit to /system/bin, through es file explorer I changed the permission to rwx-r_x-r_x. Then through fastboot pushed the boot.IMG you provided.

And rebooted manually. The phone stck at HTC screen even before boot animation.
[Android Software/Hacking General [Developers Only]] 4D3:
Hi,

I am on windows 8 x64 and i cant seem to get ADB working!!

FCUKING MS....
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Strange, can you get logcat from adb?

Can't help you there, I use Linux only. Have not been on windows since its 2k version
[Android Software/Hacking General [Developers Only]] arunsai123:
stuck at boot animation(15 minutes)

after installing script via apk , phone stuck at boot animation in cm9

if i delete the 10mounts2sd script from init.d folder using aroma file manager, phone boots less than 15 secs.

logcat attached.

I tried this after flashing new rom.tried several times after installing and deleting script
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
I forgot to add support for CMs /cache/dalvik-cache. If you disable the cache option in m2sd, it will work fine. I will add the missing support during the day.
[Android Software/Hacking General [Developers Only]] TVT73:
I think this will also solve my boot stuck, when using the app from market with cm10 beta3 on HTC Pico. Busybox modify is ok, script install also, but after the reboot it stucks on cm boot logo.
[Android Software/Hacking General [Developers Only]] LazyDroid:
Running Win8 x64 and ADB works fine with my Nexus1 and Galaxy Nexus. I suspect you need the driver for your phone or something.
[Android Software/Hacking General [Developers Only]] 4D3:
I willl use my pc at work tomorrow! it is windows 7!

thanks
[Android Software/Hacking General [Developers Only]] mixednuts:
Lol... happy to do it?? My apologies, failed to mention that the device hung at the boot animation before the PC could recognize it, so I wasn't able to produce a log via ADB. Thought you could take a look at the boot.img regarding the timing of things so that I could try and get a log using ADB.

On another note, noticed your previous post regarding CM9... the ROM I'm trying it with is also a CM9 build.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
The problem is not CM ROM's, but CM ROM's that placed system dalvik files in /cache/dalvik-cache instead of /data/dalvik-cache. So the question is, where do your system dalvik files get stored?

However, an update is on it's way to fix the CM dalvik issue
[Android Software/Hacking General [Developers Only]] mixednuts:
Looks as though Dalvik sits in /data as when I wipe it within the custom recovery the /data partition unmounts. During the preceding reboot Android does optimize the apps indicating that it did actually wipe Dalvik.
[Android Software/Hacking General [Developers Only]] MetinKale38:
Won't you provide aroma installer anymore?

I like the idea of aroma installer because you can flash it directly after the Rom and it's already configured when you first boot it

Tapatalked with my HTC Desire
[Android Software/Hacking General [Developers Only]] PerfectSlayer:
Same for me too ;)
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Aroma takes longer to setup and does not work for all, and I see no point in managing 4 different zip files. If you flash the zip without wiping data, then your prev settings are saved. If you do wipe, then you only need to do one additional reboot to set your prefered settings after configuring them from the app.
[Android Software/Hacking General [Developers Only]] pantsman28:
Could do with a little help. newbie here so still at learning stage...

My questions is for installation of M2SD....

Nexus One using Rom evervolv.com Evervolv-Perdo-3.2.0-Nightly-2013.01.05-passion.zip

and gapps-jb-20121212-signed.

Followed the guide on here 'Complete Installation Guide for JB or ICS on a Nexus One (Updated 12/29/12)'

*BlackRose - Made by Lecahe(dla5244) *

JB-260/10/166

Nexusone PUT ENG S-OFF

Hboot-7.35.5017 (PB9910000)

Microp-0b15

Touch Panel-Synt0103

Radio-5.08.00.04

Installed Mounts2SD I followed the guide but I can't the init.d boot script is either missing or out of date??? the init.d startup script could not be copied to the system partition.

I am a little lost on what I need to do to get this working? Help would be much appreciated!
[Android Software/Hacking General [Developers Only]] MetinKale38:
Evervolv should have init.d integrated.

Do you have flashed via recovery? Then make sure you flashed the mtd version not the ext one.

Tapatalked with my HTC Desire
[Android Software/Hacking General [Developers Only]] HTCDreamOn:
Fantastic

Wow, absolutely awesome, can't believe I never found this before; best app/ script for all sd-ext operations. Only problem is the script is running in safe mode, the only reason that I can think of is that in the app an orange ! is next to "Ext(3/4) Journal". I have set this option is to automatic though. The only data I have moved to sd-ext is app apk files from /data/app/ so far.

I have attached the log, which doesn't contain anything untoward as far as I can see.

Also, will moving /data/data/ to /sd-ext affect performance in any way? Thanks :)
[Android Software/Hacking General [Developers Only]] eep1:
Error on Evo 3d with Tribs Solid ROM

Here is a logcat from Tribs' ROM on an EVO 3d. I was able to use this in Mean ROM with no problems. On this I get 'This script has not been fully executed during boot.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
It seams that you are having problems copying the script to the system partition. Try using the MTD recovery installation instead

Safe-mode means that you do not have proper init.d support in your ROM and therefore some options will not be available to you as they would create problems.

Your ROM does not execute anything init.d releated, in other words, your ROM does not have init.d support. That's why it worked on the other ROM. That one DID have init.d
[Android Software/Hacking General [Developers Only]] abhishek046:
I'm running on stock rooted rom & I'm getting error that Script was not executed properly during boot. Any ideas on how I can make it work?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
You need a custom boot.img with init.d support
[Android Software/Hacking General [Developers Only]] pantsman28:
The mtd version?

I can flash via recovery. I am using 4ext recovery. Do you have a link to the version you mention?

---------- Post added at 05:53 PM ---------- Previous post was at 05:38 PM ----------

Could you point me in the right direction for a custom boot image please. There are so many about?
[Android Software/Hacking General [Developers Only]] eep1:
I just used this to enable init.d

http://xdaforums.com/showthread.php?p=32716399
[Android Software/Hacking General [Developers Only]] MetinKale38:
Just take a look at the first post. There is a mtd version to download

Gesendet von meinem HTC Desire mit Tapatalk 2