Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Change default photo file naming way?

    Reply
    Page 2 of 4 | Prev |   1   2   3     4   | Next
    thedead1440 | # 11 | 2012-10-03, 08:52 | Report

    Maybe try the last instead of x79\x79\x79\x79 to become x59\x59\x79\x79 or x79\x79\x59\x59

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to thedead1440 For This Useful Post:
    Schturman

     
    Schturman | # 12 | 2012-10-03, 09:41 | Report

    Originally Posted by thedead1440 View Post
    Maybe try the last instead of x79\x79\x79\x79 to become x59\x59\x79\x79 or x79\x79\x59\x59
    Can't check it now, because i need 2 numbers from original file. Probably it should be the same length.. Or another number instead 59...

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Schturman; 2012-10-03 at 09:43.

     
    thedead1440 | # 13 | 2012-10-03, 09:57 | Report

    The below is how hex values look like hence why I suggested x59...

    Code:
    dd=64 64
    DD=44 44
    mm=6D 6D
    MM=4D 4D
    yy=79 79
    YY=59 59
    I could be wrong but the above is what I got from typing into HxD...

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to thedead1440 For This Useful Post:
    Schturman

     
    Schturman | # 14 | 2012-10-03, 17:53 | Report

    Ok, I did a many tests now... Checked the original file etc...
    Probably we can't to add more then 3 characters !

    Also, maybe we don't need "refhashlist" script, or my phone is crazy after so much tests I tested a few times without "refhashlist" script and it worked, but it can take a few sec on the first opening of camera.. Just will test it without "refhashlist" script...
    Also on the first opening of camera, probably it remember the last string and you will not see the changes in the name of file, just close camera and open it again...
    Some variations that we can do:

    Originally Posted by
    perl -pi -e 's/\x79\x79\x4d\x4d\x00\x00\x00/\x79\x79\x4d\x4d\x64\x64\x5f/g' /usr/lib/libqcamera.so.1.0.0
    121003_0001
    (YYMMDD_0001)

    perl -pi -e 's/\x79\x79\x4d\x4d\x00\x00\x00/\x64\x64\x4d\x4d\x79\x79\x5f/g' /usr/lib/libqcamera.so.1.0.0
    031012_0001
    (DDMMYY_0001)


    perl -pi -e 's/\x79\x79\x4d\x4d\x00\x00\x00/\x64\x64\x4d\x4d\x4d\x79\x79/g' /usr/lib/libqcamera.so.1.0.0
    03Oct120001
    (DDMMMYY0001)

    perl -pi -e 's/\x79\x79\x4d\x4d\x00\x00\x00/\x79\x79\x4d\x4d\x4d\x64\x64/g' /usr/lib/libqcamera.so.1.0.0
    12Oct030001
    (YYMMMDD0001)


    0001
    = number of image

    Someone want another combination ?

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Schturman; 2012-10-03 at 19:28.
    The Following 2 Users Say Thank You to Schturman For This Useful Post:
    death_jax, thedead1440

     
    thedead1440 | # 15 | 2012-10-03, 17:58 | Report

    Schturman,

    You wouldn't need refhashlist.pl as this binary doesn't seem to be in refhaslist in the first place

    You were signing it without it being present

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to thedead1440 For This Useful Post:
    Schturman

     
    nicolai | # 16 | 2012-10-04, 08:14 | Report

    There isn't enough space for every format. The original format
    is YYMM followed by four nul-bytes. But we need at least one
    nul-byte for an null terminated string.
    Therefore yyyymmdd doesn't work.
    0x59 is for the underscore "_"
    You'll have to restart the camera application after
    modifieng the lib:
    killall camera-ui

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by nicolai; 2012-10-04 at 08:20.
    The Following User Says Thank You to nicolai For This Useful Post:
    Schturman

     
    Schturman | # 17 | 2012-10-04, 09:07 | Report

    Yep, i know now (checked the original file)
    We have space only for 3 characters...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    death_jax | # 18 | 2012-10-04, 12:31 | Report

    I tried, without refhashlist.pl, the:

    Code:
    perl -pi -e 's/\x79\x79\x4d\x4d\x00\x00\x00/\x64\x64\x4d\x4d\x79\x79\x5f/g' /usr/lib/libqcamera.so.1.0.0
    for DDMMYY_0001, but it shows me Substitution replacement not terminated at -e line 1

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by death_jax; 2012-10-04 at 12:54.

     
    Schturman | # 19 | 2012-10-04, 14:14 | Report

    Originally Posted by death_jax View Post
    I tried, without refhashlist.pl, the:

    Code:
    perl -pi -e 's/\x79\x79\x4d\x4d\x00\x00\x00/\x64\x64\x4d\x4d\x79\x79\x5f/g' /usr/lib/libqcamera.so.1.0.0
    for DDMMYY_0001, but it shows me Substitution replacement not terminated at -e line 1
    I also use this format and today after reflash i used this command without any problem and without refhashlist.pl, all work. Don't know why you have problem

    Edit | Forward | Quote | Quick Reply | Thanks

     
    death_jax | # 20 | 2012-10-04, 15:34 | Report

    Originally Posted by Schturman View Post
    I also use this format and today after reflash i used this command without any problem and without refhashlist.pl, all work. Don't know why you have problem
    I resolved now, but only after copying the file to the computer and than run that command from terminal of this one. After this, I copied the edited file to phone and from terminal of this one I replaced the original file.. now it works well..
    But I don't understand why the command doesn't work from the phone directly

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 2 of 4 | Prev |   1   2   3     4   | Next
vBulletin® Version 3.8.8
Normal Logout