Guest toka1977 Posted April 27, 2011 Report Posted April 27, 2011 Hello, after flashing a new rom, the camera counter begins with 1 (IMAGE001.JPG i. e.). Is it possible to change the counter to begin with another number than 1? Or is it possible that pictures automaticaly get the actual date and time as filename (20110427_164230.JPG, i. e.) Sorry for my english, i know it could be better ... :-)
Guest zmszaman Posted May 22, 2011 Report Posted May 22, 2011 Hello, Today, I was the same problem. I don't know if my method will be work with your devices but you can try it (you need to have Android SDK installed). 1. Check if you make at least 1 photo and 1 video after flashing new rom. 2. Activate USB Debugging (Settings -> Application -> Development -> USB Debugging) and connect your phone to PC. 3. Open terminal (in linux) or cmd (in windows) and type: adb pull /data/data/com.android.camera/shared_prefs/com.android.camera_preferences.xml com.android.camera_preferences.xml - this command download file from your phone to your PC. 4. Open directory where the file was downloaded (directory path is show in terminal) and open com.android.camera_preferences.xml file using text editor. 6. Find line similar to: <string name="counter_video">28</string> and change value (28 in this example) as you want (this value is the last used number for video so if you want to have next video number 40 you should type here 39) 7. Find line similar to: <string name="counter_image">285</string> and change value (285 in this example) as you want (this value is the last used number for picture so if you want to have next picture number 300 you should type here 299) 8. Go back to terminal and type: adb push com.android.camera_preferences.xml /data/data/com.android.camera/shared_prefs/com.android.camera_preferences.xml - this command upload file back to your phone. 9. Reboot your phone Sorry for my english :P
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now