Quote:
Originally Posted by angusc
Hi Jayman007 can you or someone else help me out here...I have a rom that has the maps.apk located at "/sd-ext/app_s" the "packages.xml" file is still located at "/data/system/packages.xml" so i tried to change the front end of your "updater-script" from the flashable zip that you posted, but now in Recovery i get the error (Status 6), Installation aborted".
Can you advise the correct syntax for my above ROM and package locations?
This is the script that i ended up with:
Code:
ui_print("Packaged by Jayman007"); ui_print(">>> Mounting partitions");
run_program("/sbin/busybox", "mount", "/dev/block/mmcblk0p2", "/sd-ext");
delete("/sd-ext/app_s/maps.apk");
ui_print(">>> Writing System"); package_extract_dir("system", "/sd-ext/app_s");
ui_print(">>> Cleanup packages.xml"); run_program("/sbin/busybox", "mount", "/data"); run_program("/sbin/sed", "-i", "/<shared-user name=\"com.google.android.apps.maps/,/<\/shared-user>/d", "/data/system/packages.xml");
run_program("/sbin/sed", "-i", "/<package name=\"com.google.android.apps.maps/,/<\/package>/d", "/data/system/packages.xml");
run_program("/sbin/sed", "-i", "/com.google.android.apps.maps.permission.C2D_MESSAGE/d", "/data/system/packages.xml");
ui_print(">>> Unmounting partitions"); run_program("/sbin/busybox", "umount", "/sd-ext"); run_program("/sbin/busybox", "umount", "/data");
ui_print("Done!");
Oh and i changed the file structure of the flashable zip by only having the "maps.apk" file within the "systems" folder inside the zip file.
Thanx for any help.
|
Jayman007
Can you advise on this I've that i posted yesterday.....maybe you missed it.
Sent with Desire.
Sent witH desire from One-X
Device: HTC ONE-X... soon to be 64GB Dev Edition ONE.
ROM: ARHD 21.0
HBOOT: 0.1.39
________________________________________
Oldies: O2 Atom/Atom Life/HTC Topaz/Desire/One-X
I'm not Muslim, I'm not Christian, I have no religion, I'm just humane.....what are you?
|