k3v.4
Fortgeschrittenes Mitglied
- 34
Code:
CM6 with CM5 like apps to sd-ext
that is , built into the framework and not using shell scripts to trick the system
[IMG]http://forum.cyanogenmod.com/index.php?app=core&module=global§ion=login&do=process[/IMG]
[IMG]http://forum.cyanogenmod.com/index.php?app=core&module=attach§ion=attach&attach_id=2889[/IMG]
I'm calling this Magpie, because Magpies 'steal' shinny things.
The Code Base is ported straight from CM5 into CM6, so you have @ctso to thank for this, my changes were minimal
[B]Credits[/B]
[LIST]
[*]Cyanogen + #teamdouche for .. well CM !
[*]ChrisSoyars for the a2sdext in CM5
[*]@NameLessJedi ( aka NLJ ) for fixing the initial moving code + consolidating our twitter / email "cvs" into github
[*]Brut.all for apktool - helped me confirm why some apps go to sd-ext and other don't :)
[*]Google, for Andriod
[*]HTC , for my Dream(G1), I love it.. going to miss it :'(
[*]Anybody and everybody that has contributed to Open Source over the years
[/LIST]
[B]Installation [/B]
[B]This is Beta !! nandbackup[/B]
[LIST]
[*]Nandbackup
[*]flash Magpie ( see below )
[*]if your coming from none CM6, or did a full system wipe flash [URL="http://forum.cyanogenmod.com/index.php?app=core&module=search&do=search&andor_type=and&sid=bdf65ed4fe17669729730d020dd8dd60&search_term=google&search_app=downloads"]gapps[/URL]
[*]boot
[/LIST]
[B]Note[/B],
FR a2sdext 1.34 and higher will automatically uninstall itself on first boot
if your using another a2sdext script you should remove it ( after nandbackup ) before flashing Magpie
if your not currently using an a2sdext script, your fine .. don't worry.
[B]Downloads[/B]
[URL="http://www.mediafire.com/file/4wyfmz8ubjzv3ad/update-cm-6.1.0-Magpie-DS-signed.zip"]update-cm-6.1.0-Magpie-DS-signed.zip[/URL]
[URL="http://www.mediafire.com/file/ogkou4m4vok523p/update-cm-6.1.0-Magpie-Desire-signed.zip"]update-cm-6.1.0-Magpie-Desire-signed.zip[/URL]
[URL="http://www.mediafire.com/file/kmb1aoubgncr2om/update-cm-6.1.0-Magpie-BravoC-signed.zip"]update-cm-6.1.0-Magpie-BravoC-signed.zip[/URL]
[URL="http://www.mediafire.com/file/8irzznpssgs622z/update-cm-6.1.0-Magpie-N1-signed.zip"]update-cm-6.1.0-Magpie-N1-signed.zip[/URL]
[URL="http://www.mediafire.com/file/xw0asmh3tuxrqav/update-cm-6.1.0-Magpie-Droid-signed.zip"]update-cm-6.1.0-Magpie-Droid-signed.zip[/URL]
[B]Patches[/B]
For mdpi devices ( e.g. dream / sapphire )
[URL="http://www.mediafire.com/file/c9b451v99ybz74y/FR-MDPI-HotFix001_S.zip"]FR-MDPI-HotFix001_S.zip[/URL]
For hdpi devices ( e.g. N1 / Desire )
[URL="http://www.mediafire.com/file/yj7846rr1s5e5z6/FR-HDPI-HotFix001_S.zip"]FR-HDPI-HotFix001_S.zip[/URL]
If you Normally use a mdpi gapps, use the mdpi
If you Normally use a hdpi gapps, use the hdpi
HotFix001
[LIST]
[*]fixes issue where sd-ext was not always used when set default ( note does not include app-private apks ! )
[*]_should_ stop apps from disappearing after a move ( let me know if it doesn't ).
[/LIST]
Note ... you may see "Problem loading Widget", if you do sorry.., you will have to setup that widget again
[B]Features/Changelog[/B]
[LIST]
[*]Magpie for Dream/Sapphire (DS) includes AutoKernel
Spoiler The rom zip contains a script which will determine which Kernel you require
one zip supports 32a , 32b and 32b's with [URL="http://forum.xda-developers.com/showthread.php?t=831139"]EzTerry's 15mb radio hack[/URL]
AutoKernel also supports [URL="http://forum.xda-developers.com/showthread.php?p=7061471#post7061471"]customMTD[/URL] setups, so no need to flash boot patcher
[*]apps in /sd-ext/(app/app-private) are recognised by Android
[*]default install location can be set to sd-ext * ( may not work 100% of time )
Settings --> CyanogenMod Settings --> Application Settings --> Install Location
[*]Apps can be moved between internal, sd-ext and sdcard(fat)
Settings --> Applications --> Manage applications --> app
[*]pm ( command line ) can move.install apps to sd-ext as well as internal/sdcard (fat)
see usage of pm command
[*]new in the 6.1 version
[LIST]
[*]6.1 code base
[*]Fix for None English default install location
[*]disabled sd-ext move when sd-ext is not mounted
[*]sd-ext options hidden in pm command when sd-ext not mounted ( + install to sd-ext disabled )
[*]pm error output printed after usage ( so you don't have to scroll up to see error )
[/LIST]
[/LIST]
[B]Known Bugs[/B]
[LIST]
[*]Market updates for apps on /sd-ext go to /data
[*]default install location won't always work HotFix 001 should have fixed that
[*]not possible to move private ( paid ) apps
[*]buttons not aligned
[*]pm can cause a soft reboot Spoiler ( will do that with stock CM6, maybe 5 as well pm install /data/app )
[/LIST]
[B]TODO[/B]
[LIST]
[*]write DDT script ( to cleanly remove dt2sd )
[*]fix moving app-private apps
[*]fix market updates
[*]fix default install location HotFix 001 should have fixed that
[*]instructions for compiling Magpie
[*]tab/filter for apps on sd-ext
[*]disable move button for system apps ( currently it will let you try and fail )
[*]sd-ext in sd and internal Storage info
[*]correct total app size when on sdcard (fat)
[*]Translations
[/LIST]
[B]Source Code[/B]
[URL="https://github.com/Firerat/android_dalvik"]github.com/Firerat/android_dalvik[/URL]
[URL="https://github.com/Firerat/android_frameworks_base"]github.com/Firerat/android_frameworks_base[/URL]
[URL="https://github.com/Firerat/android_packages_apps_Settings"]github.com/Firerat/android_packages_apps_Settings[/URL]
[URL="https://github.com/Firerat/android_packages_apps_CMParts"]github.com/Firerat/android_packages_apps_CMParts[/URL]
Notes,
10apps2sd script also required
05mountsd may require patching if /dev/block/mmcblk0* are not available on boot