[Data2SD-EXT] *Automated* Dalvik Left Internal - Desire Android Development

Yup, another data2sd script
Dalvik-cache is left internal on mtdblock5 (formerly /data)
/cache linked to mtdblock5 (so you can use cMTD to shrink the original cache partition down to 2MB leaving 302MB to be shared by cache and dalvik-cache)
I've only tested with a clean install but in theory it should be automated to add to your existing ROM in the /system/etc/init.d/ scripts (presuming your ROM is already setup to run scripts from that directory on boot). Also, this does NOT play well with existing apps2sd solutions or data2sd solutions. If you are already running one of those you would probably want to use Titanium Backup then do a clean install.
Here it is pre-installed into the 12/4 nightly of The Ultimate Droid for CDMA Desire. If don't know how to implement it manually in your existing ROM or you are having problems getting it implemented you can always use this instead.
Edit: Updated script with a bug-fix for the dalvik-cache on reboots

Thank you for sharing!

I have only to insert the file in the init.d folder and flash rom?
Can i try with any rom?

tnx bro ... for the script
testing it ...

If i'm on auraxTsense do i have to delete stuff2sd file and paste yours ? After that just reboot and i'll have data2ext? I have 512 ext2 and the rest is fat32
Sent from my HTC Desire using Tapatalk

script works, but i cant install any apps from market

RobakRatz said:
If i'm on auraxTsense do i have to delete stuff2sd file and paste yours ? After that just reboot and i'll have data2ext? I have 512 ext2 and the rest is fat32
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Yes, you would need to remove any apps2sd scripts. This is only been tested by me using two fat32 partitions (not an ext2 partition) and I'm not sure how nice this will play if you already used an apps2sd solution.

Can someone explain to me how to add this to a preexisting rom? I currently am running firerat's cmtd.. do I need to disable that, or are they compatible?
Additionally, if needed, how do I reverse it?

Am currently running LeeDrOid 2.2f, so what if I want to run this script? I've done a clockwork backup with ROM manager and Titanium backups on my SD card so what steps do I now need to take?
Sent from my HTC Desire using XDA App

live_0978 said:
Am currently running LeeDrOid 2.2f, so what if I want to run this script? I've done a clockwork backup with ROM manager and Titanium backups on my SD card so what steps do I now need to take?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Hi I'm interested too to know what i need to do for apply your script please ?
Regards.

Well the way it should theoretically work is partitioning your card and copying the file to /system/etc/init.d . When I did that I had to force the script to start from terminal emulator and after about 10 minutes the phone showed a lot more space, but everything was FCing, so I rebooted, got stuck in a boot loop, pulled battery after 15 min or so and it booted fine, although all of my settings/apps/widgets were gone. I also saw no performance increase in quadrant, running a class 6 16gb card. It might need to be integrated or something for it to work.

I think on existing rom with a2sd+ it should work like this:
Make a backup on your apps and settings (MyBackup, Titanium, etc)
Boot in recovery.
Make a nandroid backup.
Via adb or QtAdb (easier) delete a2sd script from init.d
Copy script from first post to init.d.
Optional, but could be essential, do it if other way don't work: wipe sd-ext, dalvik-cache.
Reboot.
The first boot will take some minutes until loop is created and data is being moved.
Restore MyBackup or Titanium backup if you done wipes.
If FC's occur try to solve them with RomManager.

Akilldema said:
Well the way it should theoretically work is partitioning your card and copying the file to /system/etc/init.d . When I did that I had to force the script to start from terminal emulator and after about 10 minutes the phone showed a lot more space, but everything was FCing, so I rebooted, got stuck in a boot loop, pulled battery after 15 min or so and it booted fine, although all of my settings/apps/widgets were gone. I also saw no performance increase in quadrant, running a class 6 16gb card. It might need to be integrated or something for it to work.
Click to expand...
Click to collapse
You should put the script when in recovery.
Then reboot and it should do the work.

bg_man said:
You should put the script when in recovery.
Then reboot and it should do the work.
Click to expand...
Click to collapse
?? From ADB? I essentially did the same thing from terminal emulator.. I got the extra space, etc. Just no performance boost.

No, what you did was NOT essentially the same. you were doing it from within the OS. doing it from recovery the system is not booted and files are not being modified as your trying to move them.
I haven't tried using the script with another rom, but i was scoring over 2100 in quadrant using Navalynt's ultimate droid rom he posted with the script integrated.
I'm using a class 6 sd card.
Akilldema said:
?? From ADB? I essentially did the same thing from terminal emulator.. I got the extra space, etc. Just no performance boost.
Click to expand...
Click to collapse

ipfreelytech said:
No, what you did was NOT essentially the same. you were doing it from within the OS. doing it from recovery the system is not booted and files are not being modified as your trying to move them.
I haven't tried using the script with another rom, but i was scoring over 2100 in quadrant using Navalynt's ultimate droid rom he posted with the script integrated.
I'm using a class 6 sd card.
Click to expand...
Click to collapse
In that case I'd suggest trying what you're suggesting before recommending it.
Edit: Sorry for the attitude, I know you were trying to help. I ended up deciding against it because I don't want the stress on my card doubt I'd notice any difference.

Hi navalynt,
Great script and very well written/commented. Switched to this script this morning, but like a previous poster, now apps won't install from market - starts to download then just stops. Thought it might have something to do with the market cache section at the end, so I removed it but no dice - still can't install apps.
Any ideas?
Jay.

Thanks for your great work !
I removed app2sd from init.d and copied 30data2sd to there.
I changed busybox to new one.
All process looks fine work on my MIUI 0.12.3. ;D
I'm using EXT4 partition, so quad score is 2000+- but I'm fully satisfied.
Thanks !

iroironz said:
Hi navalynt,
Great script and very well written/commented. Switched to this script this morning, but like a previous poster, now apps won't install from market - starts to download then just stops. Thought it might have something to do with the market cache section at the end, so I removed it but no dice - still can't install apps.
Any ideas?
Jay.
Click to expand...
Click to collapse
Apparently you don't have enough space in cache.
Reboot in recovery.
Restore the original script in init.d.
Wipe cache partition.
Reboot.

bg_man said:
Apparently you don't have enough space in cache.
Reboot in recovery.
Restore the original script in init.d.
Wipe cache partition.
Reboot.
Click to expand...
Click to collapse
Hi bg_man,
Good suggestion, unfortunately doesn't work. Rebooted into recovery and cleared cache but still no go. In Quick system info it shows system cache as "Total:148MB, Free:106MB", so don't think it's the cache.
Jay.
UPDATE: Not sure what the problem was but I decided to start fresh (after a titanium backup) and wiped everything and then ran this script - working awesome (including installing from market now).
UPDATE2: scrap that - half way through the titanium backup restore everything start fc'ing. Now titanium backup won't start. Will give it another go tonight.

Related

[Q] Multi-Booting

Hi,
It just came into my mind. Since we can have custom recovery and android recovery also boots, can we have multi boot option in Defy as like in a PC's
Good question ..............i think there is no answer for this question
rvd_516 said:
Hi,
It just came into my mind. Since we can have custom recovery and android recovery also boots, can we have multi boot option in Defy as like in a PC's
Click to expand...
Click to collapse
some resources would have to be used by both ROMs..
with the current hacks it can't be done easily.
i guess some way of ramdisking the shared resources will have to be used.
basically, if you think about a hack for defy ask first:
can it be done in a completely open (=bootloader not locked) phone like nexus ?
if yes, ask:
is it WORKING?
if yes also, so maybe it can be done.
nevertheless, it's easy enough to create a script to backup & restore NANDROIDS.
but then every switch between roms will take like 25+ minutes, so it won't be a real multiboot.
Somebody at one point on the desire was working on something like this. Run rom from nand and other rom from sdcard.
Ephumuris.
ephumuris said:
Somebody at one point on the desire was working on something like this. Run rom from nand and other rom from sdcard.
Ephumuris.
Click to expand...
Click to collapse
I think there are two possibilities for this to happen: first of all, we should try NAND boot for the primary ROM, and try somehow to load the secondary ROM from the internal memory (it'll be faster than the SD Card, I think). The problem here would be allowing the bootloader to read from internal memory instead of NAND. I know this can be done based on the number of WinMo-Android and iOS-Android dual boot solutions, with a menu to choose which system to load, in the boot screen.
The second option is the method used by Wing Linux to run Android on old WinMo devices. In this method, you MUST boot in WinMo (or, in our case, in the primary ROM), then open the app that loads Android (the secondary ROM, for us). Android does NOT run emulated in this method, but, since the device can't dual boot directly, the app sends a signal for the device to restart running from the bootloader to the SD Card (for us, internal memory). This second option is, somehow, like the System Recovery app (not 2ndInit), that has an option that reboots directly into Recovery. So, if we can tell the phone to load from custom Recovery (which is, in fact, in internal memory, not in NAND), I think it's possible to make it load an entire ROM from the internal memory (without having to mount it everytime and waiting for the dalvik-cache to load).
However, it's surely a hard work to do.
Yes one from nand and one from sd card..........good......can we partition nand and use it both on the nand itself??
it should really work if we use virtual images or sdcard-partitions instead of system, data and cache partitions.
This can be changed in the init.rc-file(of 2nd-init).
The creator of the 2nd-init-bootmenu should implement this feature.
it is possible... just need 2 new partitions ext3 on sdcard for data and system...
you can use 2nd-boot profile in bootmenu to change dev block links and customize mount settings
Epsylon3 said:
it is possible... just need 2 new partitions ext3 on sdcard for data and system...
you can use 2nd-boot profile in bootmenu to change dev block links and customize mount settings
Click to expand...
Click to collapse
Did you try it?
Epsylon3 said:
it is possible... just need 2 new partitions ext3 on sdcard for data and system...
you can use 2nd-boot profile in bootmenu to change dev block links and customize mount settings
Click to expand...
Click to collapse
even i like to know tht did u tried tht?
I managed to boot from virtual system,data and cache partitions with the 2nd-boot-option of bootmenu like ep3 said.
It was a bit difficult because android-init remounts /dev so the changes will be lost but now I found a way.
And: I got recovery working for the virtual system so you don't need to prepare your images, BUT: only the wipe and restore are working. "install zip" will still affect your real system.
My scripts need some testing but after that I will release a first version.
the multboot works for me i writed a cutsom boot sh and init.rc and woila WORKS!
NOT PUBLUC because it not works for all rom
---------- Post added at 04:59 PM ---------- Previous post was at 04:36 PM ----------
this is a dualboot rom
http://forum.xda-developers.com/showthread.php?t=1225179
So here is the first (very early) version of 2nd-boot:
http://www.multiupload.com/Z17M0WO3SU
Before continuing please make a backup of your phone!
Installation:
Just install it via CWM.
This will place the script in your 2nd-boot and replace the "CWM-Lastest"-script so it will install into the images. BUt can still use the "CWM-Stable" option for your normal system.
I've created 3 empty 300MB ext3-images for system,data and cache so you don't have todo that. Download them here:
http://www.multiupload.com/VY3U4IXRO1
Just copy the folder "fsimages" to your sdcard.
Usage:
After installing the update-zip and copying the files to the sdcard you can reboot into bootmenu, select "Lastest Recovery" and Restore an backup.
Please DO NOT install a ROM with a zip-file. Currently this will affect your real system.
After you restored your backup into the virtual file-system you can boot them with the 2nd-boot-option in bootmenu.
I successfully installed CM7.1 and MIUI-Pikachu-Edition in the virtual filesystem.
I uploaded a new version of my multiboot-script(v0.2)
changelog:
- "Install zip from SDcard" works now
- changed hook-method so it works with more ROM's(including ICS)
Download:
http://www.multiupload.com/UT0TLPR3ZW
m11kkaa said:
So here is the first (very early) version of 2nd-boot:
http://www.multiupload.com/Z17M0WO3SU
Before continuing please make a backup of your phone!
Installation:
Just install it via CWM.
This will place the script in your 2nd-boot and replace the "CWM-Lastest"-script so it will install into the images. BUt can still use the "CWM-Stable" option for your normal system.
I've created 3 empty 300MB ext3-images for system,data and cache so you don't have todo that. Download them here:
http://www.multiupload.com/VY3U4IXRO1
Just copy the folder "fsimages" to your sdcard.
Usage:
After installing the update-zip and copying the files to the sdcard you can reboot into bootmenu, select "Lastest Recovery" and Restore an backup.
Please DO NOT install a ROM with a zip-file. Currently this will affect your real system.
After you restored your backup into the virtual file-system you can boot them with the 2nd-boot-option in bootmenu.
I successfully installed CM7.1 and MIUI-Pikachu-Edition in the virtual filesystem.
Click to expand...
Click to collapse
Thanks for your work.
Did the 2nd android system boots from sdcard?
Yes, but it's very flexible. By changing 2 lines you can let it boot from whereever you want.
I prefer storing it at the data-partition because it's over 1gb in size and my apps are using 200mb only.
I'm looking forward to better bootmenu-integration and boot-image-selection but for that I have to figure out how to compile bootmenu.
m11kkaa said:
Yes, but it's very flexible. By changing 2 lines you can let it boot from whereever you want.
I prefer storing it at the data-partition because it's over 1gb in size and my apps are using 200mb only.
I'm looking forward to better bootmenu-integration and boot-image-selection but for that I have to figure out how to compile bootmenu.
Click to expand...
Click to collapse
Ask pedrodh http://forum.xda-developers.com/member.php?u=2098689
He can help.
Nice work, thanks i will add this soon, in the future bootmenu versions
m11kkaa said:
Yes, but it's very flexible. By changing 2 lines you can let it boot from whereever you want.
I prefer storing it at the data-partition because it's over 1gb in size and my apps are using 200mb only.
I'm looking forward to better bootmenu-integration and boot-image-selection but for that I have to figure out how to compile bootmenu.
Click to expand...
Click to collapse
I released a dual boot version that uses 2nd-boot a few months back, hadn't have much time to improve it since.
I was using loop-back mount with /system and bind mount with /data since it's much more space efficient than just use an ext3 image.
Awesome job. I think u shud create a new thread for it. Dual booting cm7 and miui :O
Sent from my Moto Defy

Low memory

I'm running the **SMS* 3.02 by RSK team on my HTC Desire, the rom works great (I wanted the Amaze Cam) but I seem to run out of internal memory really quickly, ROM has only been on (again) for a week and I'm down to 25mb, all apps have been moved to SD.
I do have quite a few apps installed, but surely being on SD internal memory should be empty. The phone has a 16Gb SD card with a 2Gb ext partition created through recovery.
How to I get the memory back? I suspect it's going to be full in a day or 2, leading me to another full wipe
What i did to make more mem is using ''ram manager'' on the market and kill apps running in the background.
Thanks, I'm not sure how killing running apps is going to free phone storage space, though
I suspect I need to find a data2sd rom, ideally with the new cam
getting closer, I notice my Dalvik cache is ~170Mb, so taking up all that space. I installed 2 market apps to move it, the first, S2E just does nothing when IO tell it to move the cache. The second, a2sdgui, exits with the following message
"cannot start for one of these reasons
1. your phone is not rooted (it obviously is to be running custom roms?)
2. A2SD scripts could not be found o
3. No EXT partition found
Did you create a partition on your SD CARD? Does your custom rom support APP2SD (normally is natively included)?
Make sure.
Otherwise, I would suggest to try another rom to see what happen.
frosty68 said:
getting closer, I notice my Dalvik cache is ~170Mb, so taking up all that space. I installed 2 market apps to move it, the first, S2E just does nothing when IO tell it to move the cache. The second, a2sdgui, exits with the following message
"cannot start for one of these reasons
1. your phone is not rooted (it obviously is to be running custom roms?)
2. A2SD scripts could not be found o
3. No EXT partition found
Click to expand...
Click to collapse
Don't assume that because you are running a custom ROM means your phone is rooted - the 2 have absolutely nothing to do with each other. Check that you have superuser installed, and if you do run terminal emulator and type the command su. If you're rooted you should get asked if you want to allow superuser privileges to the app. If it doesn't ask then either you've allowed (and remembered) the permission before or you're not rooted.
If an app's telling you you're not rooted then it's possibly right - always good to be sure.
Thanks, phone definitely rooted, and superuser installed (and titanium backup, which I've just used)
can't see mention of apps2sd on the rom page, though I was running a pretty old version.
Decided to do a full wipe, repartition the SD card and install a later version which has dalvik-cache to sd-ext, hopefully this will solve the problem of it filling.
Showing 174MB free right now, (+8.6Gb)
I take it if the cache does fill again I can just wipe it with no ill effects?
I wipe all my cache periodically with this:
https://market.android.com/details?...sMSwxLDEwMiwiY29tLmFhYy5jYWNoZW1hdGUuZGVtbyJd
I normally free up to 20 MB.

[Q] Best way for app2sd?

Guys I m newbie.
Want to know what is the best script or app or MOD which is best for moving apps and data to external memory and will help improving performance of our phone.
I am using Gingersnap 2.3 by neko, but s2e does not work on it?
Please hepl me with this.
Is this mod is safe to use?( Interactive Data2sd )
http://forum.xda-developers.com/showthread.php?t=1042828
Search for cronmod and you can choose a2sd, d2ext or intext
imloy said:
Guys I m newbie.
Want to know what is the best script or app or MOD which is best for moving apps and data to external memory and will help improving performance of our phone.
I am using Gingersnap 2.3 by neko, but s2e does not work on it?
Please hepl me with this.
Is this mod is safe to use?( Interactive Data2sd )
http://forum.xda-developers.com/showthread.php?t=1042828
Click to expand...
Click to collapse
http://www.xda-developers.com/android/move-selected-apps-to-sd-with-link2sd-app/
Also for me Link2SD is the best solution, I've a rooted phone with stock rom, I followed the guide and I choose to put 1 GB in the second partition for APP. Now after 1 year I've more than 500 addition MB of apps!
rodem77 said:
Also for me Link2SD is the best solution, I've a rooted phone with stock rom, I followed the guide and I choose to put 1 GB in the second partition for APP. Now after 1 year I've more than 500 addition MB of apps!
Click to expand...
Click to collapse
I am a big fan of cronmod's scripts. You can put the script in the init.d folder of the rom's .zip before you flash it, or you can flash one of cronmod's .zips immediately after flashing a ROM (before first boot).
I like them because they are fully automatic. You can install tons of apps, and they get put on your sd-ext without having to link them, or do anything to them. I used link2sd for a long time before I found cronmod's scripts. After a while I still ended up running out of space, and I would have to go back into link2sd to figure out what ELSI I could link.
With cronmod's scripts your internal folders ( like /data or /data/app depending on the script) get automatically mounted to to sd-ext. This effectively adds to your internal storage. I see it as more of a fix, while link2sd is more like a band-aid.
Sent from my LG-VM670 using xda app-developers app
upconvert said:
I am a big fan of cronmod's scripts. You can put the script in the init.d folder of the rom's .zip before you flash it, or you can flash one of cronmod's .zips immediately after flashing a ROM (before first boot).
I like them because they are fully automatic. You can install tons of apps, and they get put on your sd-ext without having to link them, or do anything to them. I used link2sd for a long time before I found cronmod's scripts. After a while I still ended up running out of space, and I would have to go back into link2sd to figure out what ELSI I could link.
With cronmod's scripts your internal folders ( like /data or /data/app depending on the script) get automatically mounted to to sd-ext. This effectively adds to your internal storage. I see it as more of a fix, while link2sd is more like a band-aid.
Sent from my LG-VM670 using xda app-developers app
Click to expand...
Click to collapse
Hi, thankyou for the tips, yes link2sd will not give you infinite space, once you start to have a lot of apps, them continue to write some data (cache, etc.) on your internal memory and this will lead you to fill your internal memory. So in my opinion with a non rooted phone, simple move app to sd is like a band-aid while link2sd on rooted phone is like a powerfull band-aid.
About the script, it will move ALL and let you to install infinite apps? I've readed that these kind of script give you also some stability problem on some apps and also decrease speed of the phone while for now, with link2sd i've no problem at all, I moved also gapps.
rodem77 said:
Hi, thankyou for the tips, yes link2sd will not give you infinite space, once you start to have a lot of apps, them continue to write some data (cache, etc.) on your internal memory and this will lead you to fill your internal memory. So in my opinion with a non rooted phone, simple move app to sd is like a band-aid while link2sd on rooted phone is like a powerfull band-aid.
About the script, it will move ALL and let you to install infinite apps? I've readed that these kind of script give you also some stability problem on some apps and also decrease speed of the phone while for now, with link2sd i've no problem at all, I moved also gapps.
Click to expand...
Click to collapse
Im using cronmod (int2ext+) and I haven't experienced any problems, I guess (haven't tested) they just released a script that will work with 4.2.1 The only app that ive seen with noticeable lag was titanium backup, but other than that its been great
Ive also used link2sd and that works extremely well also.
rodem77 said:
Hi, thankyou for the tips, yes link2sd will not give you infinite space, once you start to have a lot of apps, them continue to write some data (cache, etc.) on your internal memory and this will lead you to fill your internal memory. So in my opinion with a non rooted phone, simple move app to sd is like a band-aid while link2sd on rooted phone is like a powerfull band-aid.
About the script, it will move ALL and let you to install infinite apps? I've readed that these kind of script give you also some stability problem on some apps and also decrease speed of the phone while for now, with link2sd i've no problem at all, I moved also gapps.
Click to expand...
Click to collapse
Obviously, not infinite, but on my ov I have about 180 mb for my data partition. Using the d2ext script with a 2 gb sd-ext partition means that I increase that by literally over 1000%. I have absolutely no stability problems with the scripts. Sometimes a particular rom won't boot with a particular script, but I've always been able to find at least one script that will play nice with any rom I've used.
I really liked link2sd when I started using it, but eventually running out of space again, and constantly having to link apps got old. The script will move ALL of your apps without you having to tell it what to do, and your apps will still "think" they are installed on the phone, so widgets will work fine.
thanks!!!!!
Thanks guys!!!
I m now using int2ext+ by cronmod ....works perfect!!!!
very stable and smooth...:good:
:angel:

[Q] no internal space after installing rom

Need help and can't post in the thread required because i'm new. I installed explorerman's rom xenon system http://forum.xda-developers.com/showthread.php?t=2048312 which installs great but after install and rebooting several times I still have an internal storage issue. I have a 32gig SD partitioned with a 4gig ext3 partition, when the rom boots I get an error about internal storage then I get an error about the m2sd app saying the script is either missing or out of date. I follow the instructions and update through m2sd then, after a few minutes reboot the phone. Next it still say's the internal memory is full, 1mb free and m2sd still showing errors with no data moved to the sd-ext. I tried a 4gig sd card with a 1 gig ext3 partition but still the same problem.
I am doing as said and wiping dalvik cache etc. I have a backup of the ONLY rom that works which is based on android 4.03 but I want the original setup back on the phone so any help needed and please, no stupid comments or immature comments as I have seen from some posts here. i'm not a child but at the same time I am not a tech-head, thanks.
scotslad2k said:
Need help and can't post in the thread required because i'm new. I installed explorerman's rom xenon system http://forum.xda-developers.com/showthread.php?t=2048312 which installs great but after install and rebooting several times I still have an internal storage issue. I have a 32gig SD partitioned with a 4gig ext3 partition, when the rom boots I get an error about internal storage then I get an error about the m2sd app saying the script is either missing or out of date. I follow the instructions and update through m2sd then, after a few minutes reboot the phone. Next it still say's the internal memory is full, 1mb free and m2sd still showing errors with no data moved to the sd-ext. I tried a 4gig sd card with a 1 gig ext3 partition but still the same problem.
I am doing as said and wiping dalvik cache etc. I have a backup of the ONLY rom that works which is based on android 4.03 but I want the original setup back on the phone so any help needed and please, no stupid comments or immature comments as I have seen from some posts here. i'm not a child but at the same time I am not a tech-head, thanks.
Click to expand...
Click to collapse
try other scripts which is supported by that rom
bloodhound42 said:
try other scripts which is supported by that rom
Click to expand...
Click to collapse
I wouldn't know how to, I just trust the developer and since the rom does everything I wouldn't know where to look. the last time I tried editing a rom zip, it wouldn't install because it didn't match the original signature of the zip file. Also, because I am a new forum user, I can't contact the developer directly for some help.
Make 1 gb partition(Enough)! As the script uses 100mb of internal for every 500mb sd-ext....so making 3gb is useless.
Plus while configuring the app disable safe mode and see if that helps
Parth_14 said:
Make 1 gb partition(Enough)! As the script uses 100mb of internal for every 500mb sd-ext....so making 3gb is useless.
Plus while configuring the app disable safe mode and see if that helps
Click to expand...
Click to collapse
Will try that, thankyou
Nope, didn't work, wiped the SD card and made a 1gig ext3 partition, also disabled safe-mode as suggested, still loads EVERYTHING to internal memory with 1mb left, it also comes up with a busybox error and a script error on first boot. I went into M2SD and set apps, data and delvik to use the sd-ext partiotn and waited, nothing, so rebooted the phone, nothing. All with the same message of 'The current status does not match your settings for this option' under Applications, Data and Delvik Cache, also 'Could not set the sdcard readahead' which is set to 512 as default.
scotslad2k said:
Nope, didn't work, wiped the SD card and made a 1gig ext3 partition, also disabled safe-mode as suggested, still loads EVERYTHING to internal memory with 1mb left, it also comes up with a busybox error and a script error on first boot. I went into M2SD and set apps, data and delvik to use the sd-ext partiotn and waited, nothing, so rebooted the phone, nothing. All with the same message of 'The current status does not match your settings for this option' under Applications, Data and Delvik Cache, also 'Could not set the sdcard readahead' which is set to 512 as default.
Click to expand...
Click to collapse
Try this...
http://forum.xda-developers.com/showthread.php?t=1907663
Sent from my Micromax A110 using Tapatalk HD
try this
use INT2EXT
http://forum.xda-developers.com/showthread.php?t=1716124
download the zip file and open it file manager using mobile (root explorer..)(set r/w permission) then find init.d folder inside INT2EXT script copy and put it into
system->etc-> init.d
paste it..
then reboot
Seems like a nand burn flash mimicm9 and see internal memory and tell without any scripts
Sent from my HTC Explorer A310e using xda premium
scotslad2k said:
Need help and can't post in the thread required because i'm new. I installed explorerman's rom xenon system http://forum.xda-developers.com/showthread.php?t=2048312 which installs great but after install and rebooting several times I still have an internal storage issue. I have a 32gig SD partitioned with a 4gig ext3 partition, when the rom boots I get an error about internal storage then I get an error about the m2sd app saying the script is either missing or out of date. I follow the instructions and update through m2sd then, after a few minutes reboot the phone. Next it still say's the internal memory is full, 1mb free and m2sd still showing errors with no data moved to the sd-ext. I tried a 4gig sd card with a 1 gig ext3 partition but still the same problem.
I am doing as said and wiping dalvik cache etc. I have a backup of the ONLY rom that works which is based on android 4.03 but I want the original setup back on the phone so any help needed and please, no stupid comments or immature comments as I have seen from some posts here. i'm not a child but at the same time I am not a tech-head, thanks.
Click to expand...
Click to collapse
u have to freshly install the xenon and after installing and completing setup open mount2sd and it will give u a window says install busybox and install the script somthing like that ...click on the both and after green check mark reboot ur pico....if the problem still there then check the partition ...use recovery to partition ur sd card.
scotslad2k said:
Need help and can't post in the thread required because i'm new. I installed explorerman's rom xenon system http://forum.xda-developers.com/showthread.php?t=2048312 which installs great but after install and rebooting several times I still have an internal storage issue. I have a 32gig SD partitioned with a 4gig ext3 partition, when the rom boots I get an error about internal storage then I get an error about the m2sd app saying the script is either missing or out of date. I follow the instructions and update through m2sd then, after a few minutes reboot the phone. Next it still say's the internal memory is full, 1mb free and m2sd still showing errors with no data moved to the sd-ext. I tried a 4gig sd card with a 1 gig ext3 partition but still the same problem.
I am doing as said and wiping dalvik cache etc. I have a backup of the ONLY rom that works which is based on android 4.03 but I want the original setup back on the phone so any help needed and please, no stupid comments or immature comments as I have seen from some posts here. i'm not a child but at the same time I am not a tech-head, thanks.
Click to expand...
Click to collapse
Why you don't install cm10.1 beta 3. Its great and cool and stable to. Based on 4.2.2. Android os install link2sd and make both partition of fat32 by mini tool and don I have this problems when install the ROM you have then after I do this I have 8 GB SD card 1 GB fat 32 partition and other for data. Alls going good smooth stable. And a have 43 app installed on my pico and remaining internal memory showing 87 mb my good suggestion is to change ROM .
And give a time to the developers of (explorerman's rom xenon system) to make the ROM best
sent from my HTC explorer having ROM cm10.1 beta 3.
using xda app the best developers site for android :thumbup:
rajat836 said:
u have to freshly install the xenon and after installing and completing setup open mount2sd and it will give u a window says install busybox and install the script somthing like that ...click on the both and after green check mark reboot ur pico....if the problem still there then check the partition ...use recovery to partition ur sd card.
Click to expand...
Click to collapse
Did all that, I always do a complete clean of the phone before I try anything but still not working. I think, because it was a T Mobile HTC Explorer rather than a generic one that there is something hard coded into it. I see through the forums so many people having no problems at all but they have generic phones rather than unlocked phones from service providers. I am not a programmer so this is just guess work and from experience, I can't even restore the phone using an RUU because it will only accept a T-Mob one. If there a way to replace the entire software on the phone then I would but it's programmed into the chips at factory level (low level) since the phone was produced by HTC for T-Mobile. If the phone had been bought directly from HTC then there would be less problems. So far, I haven't found a single rom that doesn't have some kind of problem with this phone.
Thanks for all the suggestions but I'm guessing it's time to 'pick a window' for it and just save up for a more modern phone than trying to keep this HTC Pensioner going.

[Q&A] [MOD] SD-EXT Boot MOD - CM12

Q&A for [MOD] SD-EXT Boot MOD - CM12
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [MOD] SD-EXT Boot MOD - CM12. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
I do not know how to use this mod who can help me ?
I do not know how to use this mod who can help me ?
Encryption Unsuccessful Message
I tried both mod1, 2, and 3. Each time I load my rom, load the BOOT-MOD-3.zip, and then my apps (PA Gapps).
I keep getting a Encryption unsuccessful message. Also to note, during the initial boot, it only preps/installs 12-14 apps and not the 70+ that usually need to be done when I don't run the move mod.
Any ideas?
bin8636 said:
I do not know how to use this mod who can help me ?
Click to expand...
Click to collapse
Use google to find how to create a sd-ext, there are many guides.
sillysuliman said:
I tried both mod1, 2, and 3. Each time I load my rom, load the BOOT-MOD-3.zip, and then my apps (PA Gapps).
I keep getting a Encryption unsuccessful message. Also to note, during the initial boot, it only preps/installs 12-14 apps and not the 70+ that usually need to be done when I don't run the move mod.
Any ideas?
Click to expand...
Click to collapse
You need to wipe all partitions except sdcard in recovery, flash rom, gapps, then mod.
When you update rom, flash rom then mod again, that's it.
SD-ext needs to be a second primary partition formatted in ext4 (or f2fs if using cm12/cm12.1).
Note: New versions uploaded. Now supports all ivanich's ROMs (cm11,cm12,cm12.1).
@hinxnz: great mod, thx!
Working great for me, but I got 2 questions:
1) I flashed the newest cm12.1 two days ago and flashed your mod (all in SD except dalvic) afterwards. Now you uploaded a New Version compatible with all ivanich Roms. Does your update make any differences for me with cm12.1? Should I reflash?
2) You just said that the mod should be flashed after gapps, I did it the other way round. Does it matter? Got no problems so far.
Sent from my Sensation using XDA Free mobile app
Tommyfirebird said:
@hinxnz : great mod, thx!
Working great for me, but I got 2 questions:
1) I flashed the newest cm12.1 two days ago and flashed your mod (all in SD except dalvic) afterwards. Now you uploaded a New Version compatible with all ivanich Roms. Does your update make any differences for me with cm12.1? Should I reflash?
2) You just said that the mod should be flashed after gapps, I did it the other way round. Does it matter? Got no problems so far.
Sent from my Sensation using XDA Free mobile app
Click to expand...
Click to collapse
It doesn't matter in what order, as long as the mod is flashed after ROM because it edits ramdisk in the kernel.
Your fine with the version you have, it will act the same. You can flash the newer version when you update your ROM.
Problem with storage size
Thanks very much for the mod.
I wanted to use "All Data excl. Dalvik-Cache" and ivanichs cm 12.1 with 4ext recovery.
I was using delta-roh method on my previous installation.
I wiped all partitions except SD card. clean install the rom, then pico gapps and then this mod. Then i install my backups with titanium backup and it started to say storage is full.
When I checked the storage it was still showin 1.15gb and it was full. But installed app size was showing 2gb. I wast able to get sms because of the storage was full.
Am I missing something with the installation method?
Thanks is advance for the replies.
How can I check free/used space on idata?
Sent from my Sensation using XDA Free mobile app
Same problem
Hey guys, I'm having the same problem than AKAndrew41. It gives me encryption unsuccessful screen after reboot. It keeps loading at bootloop and can't enter recovery neither. Can you help me?
Thank you!
sicko40 said:
Hey guys, I'm having the same problem than AKAndrew41. It gives me encryption unsuccessful screen after reboot. It keeps loading at bootloop and can't enter recovery neither. Can you help me?
Thank you!
Click to expand...
Click to collapse
Hi, I flashed boot.img (this file I unzipped from ivanich ROM 18.04.2015 ROM) from the computer with adb and flashed ivanich ROM 18.04.2015 from TWRP ivanich. It's helped.
Sent from my Sensation using XDA Free mobile app
Tommyfirebird said:
How can I check free/used space on idata?
Sent from my Sensation using XDA Free mobile app
Click to expand...
Click to collapse
You could use a root file explorer and check the properties of /idata or just enter code below into a terminal emulator. To enable terminal in cm12, goto developer options and enable local terminal.
Code:
df /idata
sicko40 said:
Hey guys, I'm having the same problem than AKAndrew41. It gives me encryption unsuccessful screen after reboot. It keeps loading at bootloop and can't enter recovery neither. Can you help me?
Thank you!
Click to expand...
Click to collapse
To enter recovery pull battery out, then reinsert it. Hold down volume down button while powering up device and it will enter bootloader, which then you can enter recovery by selecting recovery.
You must have a second primary partition (sd-ext) of your sdcard formatted as ext4 (or you can choose to use f2fs if using cm12 or cm12.1).
If your formatting your whole sdcard instead of shrinking your fat32 partition, then you need to create the first partition (fat32) first and then the second (ext4 or f2fs), otherwise they will be labelled wrong.
CM11 doesn't support f2fs, so if you format it as f2fs on CM11, you will get an encryption error and same goes I guess if you format a partition in ext2 or ext3 because it's not configured in fstab.
Did you try flashing ROM and then mod again, maybe it was a bad flash, it can happen.
I'm using your MOD Plus V3 with 2 f2fs partitions at the moment, which I created with GParted.
What does TWRP do when wiping sd-ext in recovery? If I need to wipe both is there any posibility without using GParted?
And similar, what is backuped by TWRP when doing a backup of sd-ext?
Multi swap
Hi there,
I love the work you've been doing on the sensation and I'm glad to still be using it 4 years on with the latest CM12.1. I have a problem with lagginess after multiple attempts to install CM12.1 and your boot mod v1.2. It seems to be an issue relating to the memory and swap, and I noticed running the cat /proc/swaps shows BOTH /dev/block/zram0 AND the data partition. Removing the zram0 by using the swapoff command speeds the phone up loads. Is there a permanent fix though to persist after reboots?
Thanks,
Keith
geekshow said:
Hi there,
I love the work you've been doing on the sensation and I'm glad to still be using it 4 years on with the latest CM12.1. I have a problem with lagginess after multiple attempts to install CM12.1 and your boot mod v1.2. It seems to be an issue relating to the memory and swap, and I noticed running the cat /proc/swaps shows BOTH /dev/block/zram0 AND the data partition. Removing the zram0 by using the swapoff command speeds the phone up loads. Is there a permanent fix though to persist after reboots?
Thanks,
Keith
Click to expand...
Click to collapse
Hi Keith, zram shouldn't be active, my mod disables it in fstab.pyramid, found in the root directory.
I don't know why it's activated on your side, maybe an app or init.d script.
To disable it, you could use an init.d script.
Code:
#!/sbin/sh
# Disable ZRAM
swapoff /dev/block/zram0
ZRAM sorted
Thanks for the reply mate. I installed TWRP (from 4ext) and used it to reformat everything and start from scratch which sorted out the ZRAM0 issue.
After reinstalling ivanich's CM12.1 and your boot mod v1.2 it was much better. I'm still having intermittent lag and slow network speeds so I reverted to CM11 this morning (with your boot mod) to see if it was any quicker. Seems to be much quicker but the lag persists. Weirdly I get the lag most in the settings, and it bombs out sometimes. I'm wondering if it could be to do with my SD card partitions which were created in GParted, not TWRP.
If you've got any ideas of things to check I'm all ears.
Thanks for the kind support!
geekshow said:
Thanks for the reply mate. I installed TWRP (from 4ext) and used it to reformat everything and start from scratch which sorted out the ZRAM0 issue.
After reinstalling ivanich's CM12.1 and your boot mod v1.2 it was much better. I'm still having intermittent lag and slow network speeds so I reverted to CM11 this morning (with your boot mod) to see if it was any quicker. Seems to be much quicker but the lag persists. Weirdly I get the lag most in the settings, and it bombs out sometimes. I'm wondering if it could be to do with my SD card partitions which were created in GParted, not TWRP.
If you've got any ideas of things to check I'm all ears.
Thanks for the kind support!
Click to expand...
Click to collapse
No worries, first try a lower swappiness value by lowering value in /cache/swap.conf, save it and then reboot.
Try 30 or 40, default is 60. See how it goes.
If you still have lag then your memory could be running very low, use an app or init.d script to raise minfree values slighty higher.
I don't think it has to do with your sd partitions, could be your sdcard is a little slow maybe.
You could probably check the partitions in twrp or gparted though.
If you sort it, post what you did :good:
hinxnz said:
No worries, first try a lower swappiness value by lowering value in /cache/swap.conf, save it and then reboot.
Try 30 or 40, default is 60. See how it goes.
If you still have lag then your memory could be running very low, use an app or init.d script to raise minfree values slighty higher.
I don't think it has to do with your sd partitions, could be your sdcard is a little slow maybe.
You could probably check the partitions in twrp or gparted though.
If you sort it, post what you did :good:
Click to expand...
Click to collapse
Update: Blew everything away again and installed cm12.1 fresh without the SD-EXT mod and it runs fast and lag-free. Installed the sd-ext and lagginess came back. :-/
I had previously tried a fresh install with another SD partitioned by TWRP, made no difference to lagginess. Lower swappiness values seemed to have a minor difference but still laggy.
The lagginess seemed to be mostly when loading from disk. Applications in RAM seemed to run fine until they needed to load something. Downloads very slow on WiFi or 3g, titanium backup very slow too. Strange...
It would be nice to get it working but this is a tad baffling. Thanks for your kind support!
Keith
geekshow said:
Update: Blew everything away again and installed cm12.1 fresh without the SD-EXT mod and it runs fast and lag-free. Installed the sd-ext and lagginess came back. :-/
I had previously tried a fresh install with another SD partitioned by TWRP, made no difference to lagginess. Lower swappiness values seemed to have a minor difference but still laggy.
The lagginess seemed to be mostly when loading from disk. Applications in RAM seemed to run fine until they needed to load something. Downloads very slow on WiFi or 3g, titanium backup very slow too. Strange...
It would be nice to get it working but this is a tad baffling. Thanks for your kind support!
Keith
Click to expand...
Click to collapse
Seems to me that your sdcard is not fast enough, what make and kind of card do you have?
SDHC or SDXC and UHS-I or UHS-II
I have a Sandisk Ultra SDHC UHS-I and it's only just fast enough for this mod, I need a faster one really.
I have no issues with download speeds with wifi, not really related to mod though, could be slow at writing to sdcard.
Titanium could be slow due to slower writing speeds on sdcard too as it has to build dalvik-caches on sdcard when restoring apps.
Edit: Can you try BOOT-MOD-1.1.zip, it's the non-plus version. It would be good to know if you still experience lags with it, if you do, then sdcard is not fast enough, otherwise could be something to do with the plus version, cheers.
hinxnz said:
Seems to me that your sdcard is not fast enough, what make and kind of card do you have?
SDHC or SDXC and UHS-I or UHS-II
I have a Sandisk Ultra SDHC UHS-I and it's only just fast enough for this mod, I need a faster one really.
I have no issues with download speeds with wifi, not really related to mod though, could be slow at writing to sdcard.
Titanium could be slow due to slower writing speeds on sdcard too as it has to build dalvik-caches on sdcard when restoring apps.
Edit: Can you try BOOT-MOD-1.1.zip, it's the non-plus version. It would be good to know if you still experience lags with it, if you do, then sdcard is not fast enough, otherwise could be something to do with the plus version, cheers.
Click to expand...
Click to collapse
I'm using a Lexar 32GB class 10 SDHC, had no issues with it. I ran the A1 SD card benchmarking tool and it measured reads of 17 and writes of 11 MB/s. The internal flash reported speeds of 25MB/s read and 7MB/s write by comparison.
I'll try the BOOT-MOD v1.1 and report back...

Categories

Resources