• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Adding files to SD card during ROM flash/install

junx

Member
I want to add files to the SD card automatically during a ROM install/flash.

I thought I could just add a directory to the zip file called "/sdcard" with the wanted files but that didn't work.

I tried Google but the results misinterpret my search for wanting to flash a ROM from a sdcard. >:|

If it helps, I am using CTmod zip to install/flash. (I'm trying to make my own personal updated version of Blood's CTmod)
 
Last edited:
Nevermind, took out the ol' text editor and eventually found 'updater-script' in CT3.80_SPH-M820.zip\META-INF\com\google\android

place the following line of coded somewhere at the bottom
Code:
package_extract_dir("sdcard", "/sdcard");
 
Back
Top Bottom