How do i make a flashable theme?
#1
Posted 02 December 2012 - 12:16 AM
ui_print("Dark Theme");
run_program("/sbin/busybox", "mount", "/system");
delete("/system/framework/framework-res.apk");
package_extract_dir("framework", "/system/framework");
set_perm(0, 0, 06755, "/system/framework/framework-res.apk");
run_program("/sbin/busybox", "umount", "/system");
ui_print("Dark theme installed");
#2
Posted 02 December 2012 - 12:25 AM
Please do not Personal Message me for help or troubleshooting. They will be ignored. Post in threads or start one in Q&A sections.
#3
Posted 02 December 2012 - 12:33 AM
yes safestrap 3.05.20... maybe i have the wrong update script...Is this for using in Safestrap 3 for DROID RAZR M?
#4
Posted 02 December 2012 - 12:35 AM
Yeah Safestrap 3 uses some crazy mount commands that are not normal at all.yes safestrap 3.05.20
I am making you a reference to what they are when this CM10 RAZR M Rom finishes downloading on my end.
Please do not Personal Message me for help or troubleshooting. They will be ignored. Post in threads or start one in Q&A sections.
#5
Posted 02 December 2012 - 12:39 AM
This is what the CM10 RAZR M Rom uses.
Please do not Personal Message me for help or troubleshooting. They will be ignored. Post in threads or start one in Q&A sections.
#6
Posted 02 December 2012 - 12:39 AM
thank you.Yeah Safestrap 3 uses some crazy mount commands that are not normal at all.
I am making you a reference to what they are when this CM10 RAZR M Rom finishes downloading on my end.
#7
Posted 02 December 2012 - 12:42 AM
so it should look something like this?
This is what the CM10 RAZR M Rom uses.
ui_print("Dark Theme");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
package_extract_dir("system", "/system");
unmount("/system");
ui_print("Dark theme installed");
#8
Posted 02 December 2012 - 12:49 AM
Yeah, that should work fine.so it should look something like this?
ui_print("Dark Theme");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
package_extract_dir("system", "/system");
unmount("/system");
ui_print("Dark theme installed");
Your root directory of the flashable zip will look like this:
/META-INF/
/system/
Inside of /system/ you have:
/framework/
and inside of that you have:
framework.res.apk
and whatever else you are doing.
- jvasquezhhi likes this
Please do not Personal Message me for help or troubleshooting. They will be ignored. Post in threads or start one in Q&A sections.
#9
Posted 02 December 2012 - 12:52 AM
that is what i have will be trying it soon... now inside the META-INF i could use everything that was used to flash the rom in first place right? just change the update-script..Yeah, that should work fine.
Your root directory of the flashable zip will look like this:
/META-INF/
/system/
Inside of /system/ you have:
/framework/
and inside of that you have:
framework.res.apk
and whatever else you are doing.
#10
Posted 02 December 2012 - 12:55 AM
Yeah, just the updater-script.that is what i have will be trying it soon... now inside the META-INF i could use everything that was used to flash the rom in first place right? just change the update-script..
Please do not Personal Message me for help or troubleshooting. They will be ignored. Post in threads or start one in Q&A sections.
#11
Posted 02 December 2012 - 01:02 AM
ok i tried it... i might have something wrong somewhere... dont know what it is... this is the file i got so far... i updated the update-script i think... not sure but i think the zip was singed .. ut when i go flash it to test it it gives me error message and says aborted because file not found or something of that nature. thank you for all your help and patience...Yeah, just the updater-script.
#12
Posted 02 December 2012 - 01:31 AM
Don't put a space in the name of the .zip.ok i tried it... i might have something wrong somewhere... dont know what it is...
this is the file i got so far... i updated the update-script i think... not sure but i think the zip was singed .. ut when i go flash it to test it it gives me error message and says aborted because file not found or something of that nature. thank you for all your help and patience...
Please do not Personal Message me for help or troubleshooting. They will be ignored. Post in threads or start one in Q&A sections.
#13
Posted 02 December 2012 - 08:24 AM
Visit DRDevs.com hosting site for all official Droidrzr.com ROMs, Apps, GApps and other mods/files!!
Please PM me if you need help!
I will be hosting AOSP-Based ROM GApps packages!
Download the most Up-to-Date GApps Packages for AOSP ROMs from me here!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users