If you open it up and don't see anything relating to dta2sd.log (will be on the first five lines), then it must be something else. In that case, reflash and see if that works.
Quote:
Originally Posted by hacketbt
I do have that file. That is currently while using older a2sd. I am unsure if I have this with 2.7.5.2. Should I reflash and check?
So I have searched every thread and forum I can find, read every bit of info, and I can't figure this out.
Running CM6 Nightly (happen to be on #110 at the moment) on my Evo. 8GB Toshiba SD Card - Class 6. Card works just fine. Partitioned/upgraded to Ext3 with AmonRa. Tried both standard and alt installers for Darktremor.
Yet every time I boot and run 'a2sd check', it tells me "Ext partition found, but not mounted".
It's crazy. Works perfectly with the a2sd implementation found in Fresh ROM, but I can't for the life of me get it working on cm6. Managed to fix every other problem I've run into, except for this one!
What do you need from me to help me figure this out?
[QUOTE=hacketbt;8454504]Any ideas why 2.7.5.2 breaks my a2sd? Running CM6 with 2.7.5.1 now and after installing 2.7.5.2 I have none of my apps after boot. Running "a2sd check" says there is an sd-ext partition but it cannot be mounted. Was forced to restore from nandroid to get everything back.QUOTE]
This happened to me too, all i did is redo the ext, but leave it at ext2 dont upgrade to ext3 and it should work fine, well it did to me at least xD
Any ideas why 2.7.5.2 breaks my a2sd? Running CM6 with 2.7.5.1 now and after installing 2.7.5.2 I have none of my apps after boot. Running "a2sd check" says there is an sd-ext partition but it cannot be mounted. Was forced to restore from nandroid to get everything back.QUOTE]
This happened to me too, all i did is redo the ext, but leave it at ext2 dont upgrade to ext3 and it should work fine, well it did to me at least xD
Sent from my PC36100 using Tapatalk
Sent from my PC36100 using XDA App
Used AmonRa to partition. Still no luck.
Strangely, when I run 'a2sd partlist' it spits out that EXT2 EXT3 and EXT4 are all not supported by this ROM. That doesn't seem right, does it? (aside from maybe EXT4).
A few pastes from my terminal:
Code:
# a2sd check
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2 (2010-09-30)
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /sd-ext
[ ] Starting Apps2SD Check Program.
[ ] Checking for ext partition
[X] Ext partition found, but not mounted.
Your rom may not be setup to run Apps2SD.
Check with your rom developer if the boot image
is programmed to run Apps2SD.
Your partition may be using an EXT4 partition,
but your rom may not support EXT4. Repartition
your SD card to use EXT2 or EXT3.
Code:
# a2sd repair
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2 (2010-09-30)
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /sd-ext
[ ] Starting Darktremor Apps2SD Version 2.7.5.2
[ ] Launching Apps2SD Start Program with repair
[ ] Starting Darktremor Apps2SD in repair mode
[X] EXT partition not mounted
[ ] Resetting Apps and Private Apps to Internal Storage
[ ] Setting No Apps2SD flag file
[ ] Setting File System Ready property to 1.
Code:
# a2sd partlist
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2 (2010-09-30)
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /sd-ext
[ ] Starting Darktremor Apps2SD Version 2.7.5.2
[ ] Launching Apps2SD Start Program with partlist
[ ] Starting Darktremor Apps2SD in partlist mode
[ ] Partitions Supported with this ROM:
(X) EXT2 Partition Not Supported
(X) EXT3 Partition Not Supported
(X) EXT4 Partition Not Supported
[ ] Setting File System Ready property to 1.
In the root of your Evo, there's a file called init.rc. Although this file, even if you were to edit it, cannot be saved (it will be replaced upon reboot of the phone), it may give me an idea of why it is not mounting.
If you want to get ahead of me on this:
a. Open the file in a text editor.
b. Follow this link: http://forum.xda-developers.com/show...31&postcount=4
c. Read the contents of this link and see if any of those lines in the code section are in the init.rc. If not, then either it isn't launching Apps2SD (usually CyanogenMod runs a file called sysinit from /system/bin. It is marked in init.rc as exec /system/bin/sysinit) or your version is using something different to launch (which isn't a big deal...I can add support for that quickly).
Quote:
Originally Posted by kevinbear
Argh…
So I have searched every thread and forum I can find, read every bit of info, and I can't figure this out.
Running CM6 Nightly (happen to be on #110 at the moment) on my Evo. 8GB Toshiba SD Card - Class 6. Card works just fine. Partitioned/upgraded to Ext3 with AmonRa. Tried both standard and alt installers for Darktremor.
Yet every time I boot and run 'a2sd check', it tells me "Ext partition found, but not mounted".
It's crazy. Works perfectly with the a2sd implementation found in Fresh ROM, but I can't for the life of me get it working on cm6. Managed to fix every other problem I've run into, except for this one!
What do you need from me to help me figure this out?
Any ideas why 2.7.5.2 breaks my a2sd? Running CM6 with 2.7.5.1 now and after installing 2.7.5.2 I have none of my apps after boot. Running "a2sd check" says there is an sd-ext partition but it cannot be mounted. Was forced to restore from nandroid to get everything back.QUOTE]
This happened to me too, all i did is redo the ext, but leave it at ext2 dont upgrade to ext3 and it should work fine, well it did to me at least xD
(Last edited by tkirton; 13th October 2010 at 09:42 AM.)
Reason: Stated filesystem information is in /proc/partitions when it is really in /proc/filesystems.
That is odd that your kernel doesn't even support EXT2.
The information related to determining if the EXT2/3/4 filesystems are supported comes from /proc/filesystems. When you posted the a2sd sysinfo, it runs busybox cat /proc/partitions and puts that in the log, which didn't look like it has any of the EXT filesystem types.
I guess those were turned off in the kernel you are using (you can tell the kernel to turn off EXT2/EXT3/EXT4 support before it is compiled...all other developers I've encountered leave EXT2 on at the very minimum)...which sucks because no Apps2SD other than the Froyo version will work.
[QUOTE=kevinbear;8565661]
Quote:
Originally Posted by LC_Nab
Used AmonRa to partition. Still no luck.
Strangely, when I run 'a2sd partlist' it spits out that EXT2 EXT3 and EXT4 are all not supported by this ROM. That doesn't seem right, does it? (aside from maybe EXT4).
A few pastes from my terminal:
Code:
# a2sd check
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2 (2010-09-30)
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /sd-ext
[ ] Starting Apps2SD Check Program.
[ ] Checking for ext partition
[X] Ext partition found, but not mounted.
Your rom may not be setup to run Apps2SD.
Check with your rom developer if the boot image
is programmed to run Apps2SD.
Your partition may be using an EXT4 partition,
but your rom may not support EXT4. Repartition
your SD card to use EXT2 or EXT3.
Code:
# a2sd repair
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2 (2010-09-30)
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /sd-ext
[ ] Starting Darktremor Apps2SD Version 2.7.5.2
[ ] Launching Apps2SD Start Program with repair
[ ] Starting Darktremor Apps2SD in repair mode
[X] EXT partition not mounted
[ ] Resetting Apps and Private Apps to Internal Storage
[ ] Setting No Apps2SD flag file
[ ] Setting File System Ready property to 1.
Code:
# a2sd partlist
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2 (2010-09-30)
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /sd-ext
[ ] Starting Darktremor Apps2SD Version 2.7.5.2
[ ] Launching Apps2SD Start Program with partlist
[ ] Starting Darktremor Apps2SD in partlist mode
[ ] Partitions Supported with this ROM:
(X) EXT2 Partition Not Supported
(X) EXT3 Partition Not Supported
(X) EXT4 Partition Not Supported
[ ] Setting File System Ready property to 1.
No. That's done for safety reasons. Zipalign has been known to cause issues with a small percentage of programs. /system/app was excluded in the event that any of the core apps could not be zipaligned correctly, causing an instability in the system.
Also, some phones (i.e. Desire) will not allow modifications to the /system partition unless the phone is in recovery, thus making any modifications to /system/app a moot point.
Rom developers, who are better suited to test for this zipalign issue, have zipaligned /system/app...however, the extent of what is zipaligned in that directory varies per rom developer. I made a decision when I integrated zipalign to leave the core programs (ones in /system/app) for the rom developers and I would only focus on /data/app and /data/app-private.
But if you are truly serious about it, here's the modified code. Put this in a file, transfer to /system/bin (or /system/xbin), change the permission to grant execution rights (chmod 755), and run it.
Code:
#!/system/bin/sh
echo "[ ] Zipaligning all .apk files in /data/app"
for apk in /system/app/*.apk ; do
/system/bin/zipalign -c 4 $apk
if [ $? == 1 ];
then
echo -e "[ ] ZipAligning $(basename $apk)"
/system/bin/zipalign -f 4 $apk /cache/$(basename $apk)
if [ -e /cache/$(basename $apk) ];
then
busybox cp -fp /cache/$(basename $apk) $apk;
busybox rm /cache/$(basename $apk);
echo "[*] ZipAligning $(basename $apk) complete."
else
echo "[X] ZipAligning $(basename $apk) failed."
fi;
else
echo "[!] ZipAlign already completed on $apk"
fi;
done;
Nandroid backup first.
Quote:
Originally Posted by freeza
Hi, is there anyway the align command can be used to zipalign apps in system/app as well? :-p
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?