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

Root Possible to Change the IMG Image number Sequence in Camera App??

scudder

Android Expert
May 21, 2010
1,281
364
State of Confusion (FL too)
Hi all...

I'm rooted (in case that info helps with my present situation) and had to wipe/reset my phone recently. In doing so, the my picture and video numbering was also reset...clicked the camera and I was back at "IMG0001.jpg."

Now the problem I'm having is that I was obviously at a different number...whatever it was IMG2475.jpg...IMG3473.jpg...and would, before my wipe/resent...routinely back up my pictures and videos. NOW, however, since the phone was reset, I do the same routine backup to my "EVO Picture Folder" on my computer but I'm hit with "over-write warnings" because some of the picture files, thought NEW and DIFFERENT, are the SAME NAME as older pictures I had downloaded from my phone previously.

Now, I know, I know I can rename one file or the other or download to another folder on my computer but, for various reasons, that's a bit tedious and not what I want to do right now.

Is there any way to "tell" the phone to start with IMG####.jpg" instead of starting over at IMG0001.jpg??

THANKS!!
 
Hi all...

I'm rooted (in case that info helps with my present situation) and had to wipe/reset my phone recently. In doing so, the my picture and video numbering was also reset...clicked the camera and I was back at "IMG0001.jpg."

Now the problem I'm having is that I was obviously at a different number...whatever it was IMG2475.jpg...IMG3473.jpg...and would, before my wipe/resent...routinely back up my pictures and videos. NOW, however, since the phone was reset, I do the same routine backup to my "EVO Picture Folder" on my computer but I'm hit with "over-write warnings" because some of the picture files, thought NEW and DIFFERENT, are the SAME NAME as older pictures I had downloaded from my phone previously.

Now, I know, I know I can rename one file or the other or download to another folder on my computer but, for various reasons, that's a bit tedious and not what I want to do right now.

Is there any way to "tell" the phone to start with IMG####.jpg" instead of starting over at IMG0001.jpg??

THANKS!!

Bumping up my own question...

Hey, Scott did you get an answer for this? No, Scott, I did not. Well, if you hear anything, Scott, be sure to tell me. Ok, Scott. See ya Scott.

(I'm burnt...)
 
Upvote 0
who is scott? and why is scott talking to himself? LMOA!

well not sure on this one as i do not really take a lot of pictures with my phone. what rom are you on? maybe try and use tb to save the camera app plus data. and when you wipe you can just restore the data from that app.

I did not think about that at all! However, do you think I should have any concern refreshing the current camera app data which is a (1) *system app* and doing so with data that is (2) from my froyo install before I flashed gingerbread. I've done many nandroid restores but I have not screwed around with a specific system app data re-install.

So, I just reinstall the data...any concerns?
 
Upvote 0
Reposting my solution here:
I'm rooted, and this solution worked for me:

1. In Root Explorer (or any root file manager), browse to "/data/data/com.android.camera/shared_prefs".
2. Open "com.android.camera_preferences.xml" with a text editor.
3. Toward the end of the file, find this line (where "9" is the index number of the last picture taken):
<string name="counter_image">9</string>
4. Change the "9" (or whatever it is) to the number you want. (Personally, I changed it to "209", and later I manually renumbered the 9 images I had already taken as 0201, 0202, etc.)
5. Save changes and exit.
6. REBOOT THE PHONE.
7. Try taking a picture. It should start at the new number and go sequentially from there.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones