Post Reply

Startup speedup

26th June 2014, 09:44 AM   |  #1  
OP Senior Member
Flag Milano
Thanks Meter: 168
 
120 posts
Join Date:Joined: Jun 2010
More
Hi,

I've noticed that some apps uses the old "private apk" feature which requires a mountpoint for every app:

Code:
# grep dm- /proc/mounts                                  
/dev/block/dm-0 /mnt/asec/com.melodis.midomiMusicIdentifier-2 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-1 /mnt/asec/com.wolfram.android.alpha-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-2 /mnt/asec/com.shinycore.picsaypro-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-3 /mnt/asec/com.tfiver.obd2sound-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-4 /mnt/asec/it.itentropy.fswidget-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-5 /mnt/asec/com.teslacoilsw.quicksshd-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-6 /mnt/asec/org.prowl.torque-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
I wrote a script which reinstalles them in the common way, reducing the mountpoint, here is the source:

https://github.com/teknoraver/misc/blob/master/apkmove

after running it on the PC the mountpoints are 0:

Code:
# grep dm- /proc/mounts                                      
#
and the boot is faster
Post Reply Subscribe to Thread

Tags
boot, speed
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Software and Hacking General [Developers Only] by ThreadRank