Hardware button to open new note? - General Topics

Ultimately, I want to press a hardware button on my phone, and have it open a new note, ready for my scrawling. Basically, to emulate the "New -> Note" function.
I'm assuming I need to launch notes with some kind of command line parameter, but I don't know what.
I've read -new launches a new note, but it dosen't. I've tried putting in a path to an existing note, with no luck. I keep getting "Cannot open note. It has been renamed, moved, or has been deleted." Yes, I am using quotation marks.
I've had a look at the new menu in the registry, but all it seems to have is a GUID key for each option, which containts a string for the selection title, and a binary option of "enable".
I have a feeling there's something simple I'm missing. Anyone got any ideas?

What command line are you using that isn't working with -new?
v

\Windows\Notes.exe -new
"\Windows\Notes.exe" -new
\Windows\Notes.exe "-new"
"\Windows\Notes.exe" "-new"
All give the error I described. This is when using a shortcut. The button software I have allows you to specify the exe, and "optional parameters" to pass to the executable. It gives the same error. Gnnnnargh!

Use -n parameter. Work fine for new notes
Bye

Related

USB to PC settings shortcut location?

I have been attempting to re-cook a ROM (famewolf's latest) and for some reason I keep getting the 'USB to PC' icon in Settings\System as opposed to Settings\Connections. I thought it was a HTCCPL issue (with provxml and/or registry settings but I am not sure now. What is the actual application that starts when you click this icon so I can attempt to locate which file is causing it to appear where it is?
Thanks
Andy
OK, fixed it. For some reason it looks like there is a typo in one of the .RGU files. This is in the there:
Code:
[HKEY_LOCAL_MACHINE\ControlPanel\PC Connection]
"Group"=dword:2
However the space between the PC and Connection needs removing:
Code:
[HKEY_LOCAL_MACHINE\ControlPanel\PCConnection]
"Group"=dword:2
Now if I could work out how to get Button 4 to launch Voice Command I would be sorted....
Currently my .RGU file that installs the registry entries for Voice Command contains this:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40C4]
@="\"\\Windows\\AppButtons\\Voice Command.lnk\""
"Name"="Button 4"
"Icon"="\\windows\\voicecmd.exe, 0"
"ResetCmd"="\"\\Windows\\AppButtons\\Voice Command.lnk\""
"Flags"=dword:00000000
In re-cookings of other ROMs this has worked fine. With famewolfs latest the entries in the registry are not there. I have tried creating a 'provxml' which is half working, what I can't get it to do is include the quotation marks when the settings are added to the registry. Does anyone know how? Doing this via a .RGU file you need the extra '\', but this doesn't seem to work with a provxml file.
Any takers?
Andy

Work around for AT&T Fuse PTT button assignment.

If you want to use that PTT button for something on your AT&T Fuze without buying software to do it, follow my instructions below.
Warning. Editing the registry can be dangerous if you don't know what you are doing. I suggest backing up your device before starting this. It isn't at all complicated, but mistakes can have unintended results. This will disable PTT.
-Set your PTT button to <None> in Start, Settings, Buttons (un-needed step)
-In registry export or delete: HKCU\Software\HTC\PTT and HKLM/Services/PTT.
-Rename Windows\PTT to something else (you can't delete it...yet)
-Create a blank file called PTT in \Windows\, set the properties to System, Read Only
If you happen to go into Start, Settings, Buttons and try to assign the button there to something, the PTT directory you just renamed will get recreated. This Null file will prevent the directory from being recreated due to a name conflict.​
-Create two shortcut links: short_PTT.lnk, and long_PTT.lnk in \Windows\, that point to the apps you want to run for each of those types of presses. For example: "\Windows\Camera.exe"
-Power Off
-Power On
-Your PTT button should now be functional without any errors, or PTT service messages.
-A short press will run whatever you have defined in short_PTT.lnk (I have it set to voice command: "\windows\VoiceCMD.exe" -min
-A long press will run whatever you have defined in long_PTT.lnk (I have it set to the camera: "\Windows\Camera.exe"
I used Total Commander for all registry and file operations. Assignments stick after soft resets and power off reboots. Setting the Button under Start, Settings, Buttons will have no effect. As a matter of cleanup you can go back and delete the folder you renamed in step3 if you want.
Other hard button press shortcuts include: Long_End.lnk, Long_Send.lnk, Long_Power.lnk, Short_Power.lnk
You ROCK!
This worked like a charm. Thanks for posting!
Wow, great job, I will try it later. Thanks!!
So Awesome!
Can anyone explain to me why under Start...Settings...Buttons...1. Select a button It only shows Button 1(Hold). All other buttons are gone...is this normal?
Thresher said:
Can anyone explain to me why under Start...Settings...Buttons...1. Select a button It only shows Button 1(Hold). All other buttons are gone...is this normal?
Click to expand...
Click to collapse
Yes. Out of the box the Fuze only allows customization of Button 1 (Hold).
Little Confused
I'm good with all the registry changes, but if the button isn't there to choose in step 1, should I do something before these steps to make it appear, then follow these steps? Thanks, sounds like an awesome fix.
cparkhorn said:
I'm good with all the registry changes, but if the button isn't there to choose in step 1, should I do something before these steps to make it appear, then follow these steps? Thanks, sounds like an awesome fix.
Click to expand...
Click to collapse
Yeah, step 1 doesn't really apply. I skipped it and followed the other steps and it worked great!
Sorry to be whining but I don't understand. The first post does not indicate anything else is needed. What do I need to see all the buttons within the winmo6.1 Settings/Buttons?
Okay will try with skipping part 1. Thanks!
correction
True, Step one isn't necessary it was one of the steps I had written down while testing all the scenarios and failed to remove at the end.
You will not use Start, Settings, Buttons for anything at all after this work around. the Null file will prevent PTT from reinserting itself if you should forget and assign something fro Start, Settings, Buttons ... or some other software install auto assigns a button.
Thanks Proto for your time. So I am having trouble following along, in an attempt to help others in my scenario can you or someone help me understand the following items?
Step 1 - My Fuze doesn't allow any button changes except for button 1.
***Solution***Skip Step 1
Step 2 - HKLM\Software\HTC\ does not have a PTT folder; however HKCU does; HKCU\Software\HTC\PTT has a bunch of values in it
***Solution***?
Step 3 - What type of blank file do we create within Windows folder? I already have a PTT folder that has a few items in it.
***Solution***?
Maybe TorchButton, TF3d config, Total commander, or J.S advanced Config tool changed these settings?
Thresher said:
Thanks Proto for your time. So I am having trouble following along, in an attempt to help others in my scenario can you or someone help me understand the following items?
Step 1 - My Fuze doesn't allow any button changes except for button 1.
***Solution***Skip Step 1
Step 2 - HKLM\Software\HTC\ does not have a PTT folder; however HKCU does; HKCU\Software\HTC\PTT has a bunch of values in it
***Solution***?
Step 3 - What type of blank file do we create within Windows folder? I already have a PTT folder that has a few items in it.
***Solution***?
Maybe TorchButton, TF3d config, Total commander, or J.S advanced Config tool changed these settings?
Click to expand...
Click to collapse
Thresher-
Step 2 - I also didn't have an HKLM\Software\HTC\PTT key but did have a HKCU\Software\HTC\PTT key. I left the one in HKCU alone and went through the rest of the procedure without any adverse effects. I think that was a leftover instruction also.
Step 3 - I had a 0KB file called OK.txt already in my \Windows folder so I just made a copy of that and called it PTT and then gave it the settings he suggested. Seemed to work fine and was easier than getting Total Commander to create a new file in \Windows. If you don't have an OK.txt file, you can copy any txt file and then just delete all the contents.
Thresher
as for step 2 ... yes I could have goofed on HKLM vs HKCU ... since I already performed it I can't verify ... looking back at my notes HKCU is likely correct. The values in there are exactly what you are trying to get rid of.
as for step 3 ... you should have renamed the PTT directory to something else as the steps indicate. Then you are free to create a null file called PTT. There is no file extension for this file.
added corrections to 1st post
Proto732 said:
Thresher
as for step 2 ... yes I could have goofed on HKLM vs HKCU ... since I already performed it I can't verify ... looking back at my notes HKCU is likely correct. The values in there are exactly what you are trying to get rid of.
as for step 3 ... you should have renamed the PTT directory to something else as the steps indicate. Then you are free to create a null file called PTT. There is no file extension for this file.
Click to expand...
Click to collapse
For what it's worth, I didn't delete the registry key (I was looking under HKLM) and followed the rest of the steps. Everything seems to be working fine for me. Is it possible that since the \Windows\PTT directory is gone and there are .lnk files for short_PTT and long_PTT that nothing is checking that registry location now so it doesn't matter if it's there or not?
when I started digging around on this I looked at the fix for the same issue on the Tilt. On the Tilt fix the reg removals were necessary. They might not be critical but if you will never use PTT I would just assume take them out.
Hey, thanks for the info on how to do this... one thing i've noticed is that when i don't have a cell signal (or when its searching for one), and I use the PTT button, even though its remapped per the instructions, a PTT error msg still comes up (its just a message saying "the PTT service is not available"). This isn't i huge deal obviously b/c most people always have a strong signal.. I, however, sometimes lose my signal in my apt (dead zone) so i was wondering if there was some kind of easy fix for this? Thanks
Proto + ITnv, you are awesome, thank you for your quick and kind replies. You are good examples of what I and all new incoming members should emulate.
I'm using total commander v2.51 and i've been trying to create shortcuts but they just wont appear no matter what I do. is this a bug or am i just doing it wrong. I highlight camera.exe then went to file--> A --> Create shortcut
then i named it short_PTT.lnk
after the wait, i scroll down looking for the shortcut and... it's not there...
am i just crazy or am i missing something... completely?

[APP] Gscript * Easily launch/save shell scripts from within Android UI *

2013-05-17 ( 1.0.0-alpha3 )
New features:
* Basic terminal emulation ( input handling, color support, cursor control ) etc.
The terminal has 2 gesture modes ( scroll, cursor ) and additional soft-input methods for keys like ctrl, escape etc.
Scroll-mode:
Normal scrolling, auto-scrolling and fast-scrolling (right-edge), double tap on top/bottom to jump.
Cursor-mode:
Edges of the screen will send d-pad (up/down/left/right) keys ( multiple pointers/fingers to control speed of repetition ).
Swipe up/down for page-up, page-down and swipe left/right for home and end keys.
Currently the emulator has no utf-8 support and some other features might be missing.
* The ability to start a terminal/process directly.
* The ability to create aliases directly to a profile.
Enabling an alias will add a shortcut in the launcher directly to the selected profile.
Currently 3 aliases can be set (terminal, su, sh). Sadly android is pretty limited in this area and it only allows enabled/disabling of components so there is no way to change titles, but i guess these 3 are most common. Be aware that you might need to re-start your launcher/phone before changes are visible ( this also depends on the launcher active ).
* Updated icon.
Notice:
Because of major changes happening during the alpha-state it is required to do a reinstall instead of an upgrade ( because of possible database/preference changes ).
2013-04-12 ( 1.0.0-alpha2 )
- Cleanup of list items in the history tab ( date/time added ).
- Basic history view which shows the history transcript and allows to email it.
- Ability to create desktop shortcuts from library items added ( contextual actionbar of an item ).
- If a input dialog (gscript-input) is dismissed it now shows a notification that there is a input request pending and clicking it will bring the user straight back to the dialog.
2013-04-10 ( 1.0.0-alpha1 )
Gscript is currently in an alpha state so features might be missing or broken.
The current progress:
Basics of the new library interface.
Scripts are no longer stored within gscript but instead access is now handled through libraries.
Basically the library decides how to browse through files and get their content and the only thing
that is stored within gscript are the additional item attributes and conditions.
Currently this is limited to a LocalStorage library type, but other options might come later on.
Basic process / history management.
Processes now run in a background service and can be accessed through the 'active'-tab in gscript or
by clicking on their notification (if enabled).
Custom shell profiles ( editable in settings )
Instead of a fixed option for sh / su you can now create Shell Profiles which allow changing of the actual
command including color schemes and additional extras like path appending etc.
Launching scripts directly from most file managers ( if they handle files the way they should... Astro works for me )
Launching scripts from anywhere else (terminal, adb etc) using gscript-exec ( found in /data/data/org.gscript/bin )
First start on the dialog framework to allow graphical user input from shell using gscript-input, which should also work outside gscript.
Very minimal console view ( output only and no input methods yet )
What is WIP:
A lot...
A decent console view which will allow user input
History tab only shows the files that have been executed but no way to see the output, time etc
Additional features to the library interface to edit scripts etc
Additional features to the dialog framework ( to allow file selection etc, numeric input )
Additional item conditions like schedules ( now only has a boot condition )
Desktop shortcuts / widget
Backwards compatibility to android 2.2 ( now 2.3 )
More...
Who should install this?
Users who want to help make this better and can live with the fact that things might not be 100% finished
How to start?
Install
Within Gscript click the + sign in the action bar to add a new library.
Select Local Storage
Give the Library a name
And set the path to a folder you want as the root view ( It does not create the folder so make sure it exists ).
Browse the folder from within Gscript and click an item to execute or long click an item to set attributes/condtions ( shell, boot etc )
In settings new Shell profiles can be created or deleted and a default can be set.
The command-line of a shell profile can have %path% in it. If this is the case it will replace this with the final executable script.
If it does not have a %path% argument the script will be send as input.
The binaries gscript-exec, gscript-input can be found in /data/data/org.gscript/bin ( if everything went right and it is a supported ABI )
Usage
gscript-exec filename
gscript-input types
will list available input types
gscript-input [type]
will list the expected arguments
Sample script which uses gscript-input
Code:
# items are ; seperated key:value pairs
# keys with a * prefix are pre-selected
# in case of radiobuttons only the first
# selected item will actually get selected
RESULT=$(gscript-input \
list \
"Choose" \
"Select multiple" \
"0:The first option;
*1:The second option;
*2:The third option;
*3:The last option;")
gscript-input \
toast \
"Selected items: $RESULT"
echo "Selected: $RESULT"
SELECTED=$(gscript-input \
list \
"Choose" \
"Select single" \
"0:The first option;
*1:The second option;
2:The third option;
3:The last option;" \
radio)
if [ $? -eq 1 ]; then
gscript-input \
toast \
"You selected $SELECTED"
fi
echo "Selected: $SELECTED"
NAME=$(gscript-input \
text-entry \
"Name" \
"Please enter your name")
if [ $? -eq 1 ]; then
gscript-input \
dialog-info \
"Welcome" \
"Welcome back $NAME"
echo "$NAME"
fi
gscript-input \
dialog-message \
"Finished" \
"Finished processing script.. do you want to exit now?" \
yesno
if [ $? -eq 1 ]; then
gscript-input \
toast \
"Goodbye $NAME"
exit
fi
* In case of issues please be clear and give as many details as possible.
* During the alpha-state i will keep multiple versions available for download ( so be sure to check version numbers ).
* During the alpha-state it is required to do a re-install instead of an upgrade ( because of possible breaking changes ).
Fantastic, you got my full support ^^;
Very cool. I was going to make something similar to this for mounting\unmounting debian but I don't need to now.
Already uploaded the source... ill create an apk as soon as I have the time.
Link to source repository
Ok ive created an apk.. Ill update the first post with the zip-file attached.
Please be aware that its still beta and that executing scripts without knowing what they do could harm your system!
I just use it to execute "reboot", "tether start/stop", but you can use it to just execute any shell script either as normal shell or as su.
Let me know if it works and if its usefull for anyone.. thanks.
Exactly what I was trying to find time to write!
Great idea.
Thanks!
awesome
perfect for backing up ALL apps thanks
I must be missing something. I put in the script to launch Debian but it dosent appear to launch. Its just a simple command-
cd /sdcard/debian
su
modprobe ext2
su ./bootdeb
Any suggestions?
you shouldnt need the su commands as you are executing it as su... havent tested multilines a lot other then a few simple calls, but maybe thats where it goes wrong.
Can you try making one .sh file and execute that from within the script field?
That actually how i intended it... that way you can easy backup your larger scripts without having to rely on the database used in my app.
So i just use the commands "tether start" and "tether stop" and leave the actual scripts intact.
Or try it without the su commands and do something like this:
/sdcard/debian/modprobe ext2
/sdcard/debian/bootdeb
Let me know if it works else ill look further into it.
Any chance of adding support for shortcuts to run these commands on the desktop?
Already was thinking about that feature..
I'll try to add an option "Create shortcut" that will create a desktop shortcut to run the selected script.
Ok ive been thinking a bit last night and ill add the following features:
Load from file ( from sdcard .sh files )
Create shortcut ( will create a shortcut to the specified script on the home screen )
Save to file ( will save specified script to sdcard )
Ill also change some things in how things are executed to make it more stable ( im going to save the selected script into a temporary .sh file and execute that one ).
Ok ive made some changes:
* Added ability to create a shortcut to a script from the home screen ( long press home screen -> shortcut -> gscript and then select the script you want to create a shortcut of )
* Added ability to save the selected script to sdcard as .sh file
* Changed the way scripts are executed. The script is now first saved to /sdcard/gscript_tmp.sh and then executed using either sh or su.
Todo:
Load .sh files from sd.
Ill update the first post with a new zip and the latest changes.
New zip file in the first post... and also added some screenshots so people know what it does.
New code is also committed to the source repository.
Let me know if all is working ok.
rogro82 said:
Hi all,
Ive created a small application, for people like me who dont like typing the same thing over and over. I use it for things like tethering and reboot.
Its basically a small database in which you can save your scripts and run them easily from within Android ( either with normal shell or su ).
Ive decided to make it open source ( project can be found on google code, a link is listed below ), so people don't have to be afraid something else is executed as root.
[/URL]
Click to expand...
Click to collapse
Damn you beat me to it! I've been working on this exact same thing but I've not had much free time lately (I have a two month old at home). I think the only thing that I'd planned that I'm not sure if you've integrated is the abaility to import scripts, so a *nix guru could write a script and share it with others, and for other applications to call a script via this application. Still AWSOME!
Damn you beat me to it! I've been working on this exact same thing but I've not had much free time lately (I have a two month old at home). I think the only thing that I'd planned that I'm not sure if you've integrated is the abaility to import scripts, so a *nix guru could write a script and share it with others, and for other applications to call a script via this application. Still AWSOME!
Click to expand...
Click to collapse
Todo:
Load .sh files from sd.
Click to expand...
Click to collapse
Ill add that feature tonight or tomorrow but its coming soon... the shortcut feature took most of my time so didnt had time to complete loading ( although I already started some work on it )
About the calling script from within other applications. I dont know if people would like having other apps running script and as other apps dont know what script a user has its almost impossible to create a solid solution. So yes it is possible, but if its actually workable is another thing.
Glad you like it!
package file
Can someone just upload the package file so we can load this from our android devices?
oops sorry
When I downloaded gscript.zip on my iMac it unpacked it as a folder. Stupid Mac...
Anyway here is the link to the .apk file for people on their androids....
Thanks for posting a link for people to use straight from there mobile. Ill add it to the first post.
Added the ability to load .sh files from the sdcard.
Just put your .sh file in the root of the sdcard and add or edit a script and select "Load file". You will now see the file. Click it and the content of the file will be used as the script.
This way you can easily create .sh files on your pc or share them and eventually execute them as shortcuts
Update is in the first post... About to upload the source to the repository

Edit Lockscreen Text - Not Carrier Text - CM7

Apologies in advance if I am posting in the wrong section.
I've been talking to some people over on the CM forums about this and we haven't found an answer yet.
If you look in my screenshot, right below the alarm, my name is on my lockscreen. This was put here using an old setting on CyanogenMod 6.1.2 on my HTC Evo 4g. You did this on CM6 by going to Settings > Location & Security. Then there was a checkbox to "Show Custom Message". You then put in text!
Does anyone know which file stores this value on CM7/Android 2.3? I've pulled the eri.xml file from my phone and I can edit my carrier text but I have not been able to find my name. I like being able to edit that text and I wanted to update it to something new but the settings no longer exist under CM7. Thanks for looking!
I have found a ton of utils for editing carrier text but nothing for the text pointed to in the red arrow.
.
.
.
.
.
.
.
*bump*
re
Not the answer you are looking for here but wouldnt it be easier and less annoying and stressful to just flash back to the rom where you could change it, change it to what you want and then flash back ?
that is if i am understanding you correctly and your name shows up now of course with the new rom...
i would think if you changed your name to whatever you wanted then you could go back to the new rom and it would appear the way you want it.
I'm going to give that a try tomorrow. Not sure if it sticks through an upgrade or not but worth a try. Im just curious at this point what confit file it is. Wish there was a filemon or similar tool for Android. Although, if can dump all the files off the phone before and after I should be able to do comparisons....hrm. Project for tomorrow.
OK, finally took the time to work on this a little further.
I reflashed CM6, booted and confirmed there was no lockscreen text. Took a nandroid and copied off the system.img
I then put a lockscreen text in - used a custom phrase that would not be in any of the config files normally. Rebooted, took a nandroid and copied off this system.img.
Extracted both system.img files using unyaffs.
I did a binary and CRC comparison off all the files, no differences. So apparently this setting is stored somewhere else. Hrm......
AHA. Found the little bugger finally.
Had to pull the data.img and extract that. The setting is located in
/data/com.android.providers.settings/databases/settings.db
lock_screen_custom_msgTESTTEXT
lock_screen_show_custome_msg1
These are the two options that I found. So, now to see if I can safely edit that DB file and modify the text on CM7. I already have the text on my screen so the data fields are in the DB file already so I suspect I can just edit that file and then replace it on my phone.
Hm. Editing is no good. Blew away all my settings and I not longer can enable any lockscreen.
Hah. Got it! Using ADB works. Instructions:
adb shell
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
.tables (you should see a secure table listed)
.header on
.mode column
select * from secure;
Now scroll through the results. Find the "lock_screen_custom_m" item under name. Note the ID number to the left. Write the ID number down.
update secure set value='your custom message here' where _ID=NN;
NN is the ID number you wrote down.
.quit
Reboot your phone.
There you go, just in case anyone else is interested.
jdostal said:
Hah. Got it! Using ADB works. Instructions:
adb shell
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
.tables (you should see a secure table listed)
.header on
.mode column
select * from secure;
Now scroll through the results. Find the "lock_screen_custom_m" item under name. Note the ID number to the left. Write the ID number down.
update secure set value='your custom message here' where _ID=NN;
NN is the ID number you wrote down.
.quit
Reboot your phone.
There you go, just in case anyone else is interested.
Click to expand...
Click to collapse
Nice find!
I used a derivative of your method to reset the alarm notification on the GB lockscreen when the buggy POS alarm app G-Alarm left it there after removing all the alarms and uninstalling it.
That one is in system instead of secure, and it can be set to a blank string per http://developer.android.com/reference/android/provider/Settings.System.html#NEXT_ALARM_FORMATTED to clear it
Neat! Glad it could help someone out.
jdostal said:
Neat! Glad it could help someone out.
Click to expand...
Click to collapse
Yup, much appreciated! Also great to learn how to edit databases on Android.
Also, I didn't have a USB cable so I did it with the terminal editor. For convenience (i.e. having a real keyboard) I used Webkey for PC access to my phone and its built-in terminal editor to make the changes.
That sounds painful!
I don't know where I read the guide, but definitely use ADB. With ADB you can basically connect to the shell on your phone from your PC through a command prompt. Makes doing this sort of thing MUCH easier!
jdostal said:
That sounds painful!
I don't know where I read the guide, but definitely use ADB. With ADB you can basically connect to the shell on your phone from your PC through a command prompt. Makes doing this sort of thing MUCH easier!
Click to expand...
Click to collapse
Did you miss the part where I didn't have a USB cable?

[Q] Merge 2 Whatsapp Backups

Hey Guys,
I read a bit through this forum and i see you guys know a lot so I wanted to ask for help here .
Soo like the titel says i want to merge 2 Whatsapp Chatbackups together because i have 1 Chatbackup from my old Smartphone and one from my new One...I googled first and tried some methods i found there. First i tried SQlite Browser but it didnt work because my databases are like this: "msgstore.db.crypt7 or msgstore.db.crypt5 but they are supposed to be like this msgstore.db" correct me if im wrong ;p...so i tried WhatsappXtract and Sqlite Admin but it didnt work aswell...I tried to convert from crypt 7 and crypt 5 to crypt with Whatcrypt but it always failed. My Idea now is to 1. decrypt my Msgstores from msgstore.db.crypt7 to msgstore.db
2. To use this Instruction :
HOW TO MERGE SQLITE DATABASE FILES WITH SQLite Compare: 1. Open the old database file in SQLite Database Browser. Open the table messages in Browse Data. Press the Button " > " as often as necessary to get to the last page. Scroll down to the last message. Now write down the number (_id) of that last message, e.g. 65422 2. Now open the new database file in SQLite Database Browser. Open the table messages in Browse Data. Click on the first entry (which has most fields with value "-1"). Click on Delete Record. Have a look at the now first entry and write down the number (_id) of that first message, e.g. 12 Now Click on Execute SQL and execute the following SQL statement: UPDATE messages set _id = (65422 + 1 + _id - 12) (replace 65422 by your last message _id in the old database and 12 by your first message _id in the new database) 3. Now all messages in the new database have the correct _id`s. Click on Save. Close all windows of SQLite Database Browser. 4. Download & Install SQLite Compare. Open SQLite Compare. 5. File - Compare For example: Left file: msgstore-2012-06-01.1.plain.db Right file: msgstore-2012-06-07.1.plain.db (Make sure to have a backup of both files!) x Compare schema and data x Compare BLOB fields OK 6. Double Click on table "messages" in the result window OR left click on table "messages" and hit button "Edit selected difference..." 7. A new window opens, "Table messages" Click on blue button "R" (it`s located after "Refresh Comparison", "L" and before "≠", "=") 8. Now on the right side all messages are shown that aren`t included in the left file. Now you can select multiple messages (first left click on the first message to select, then scroll down to the last message to select and press SHIFT + left click on the last message to select). I noticed that you can`t handle too many messages at once as it produces an error. Just try. I succeeded with about 1000-1500 messages. Now click on the button with the arrow from right to left: ← Now the selected messages are copied from the right database to the left database. 9. Repeat the steps in (8.) until all the messages are copied from the right file to the left file. 10. Maybe you also need to to this for the table chat_list if there are some new chat contacts in the newer backup file. 11. Now the left file (e.g. msgstore-2012-06-01.1.plain.db) contains all the messages from the prior file msgstore-2012-06-01.1.plain.db and the newer file msgstore-2012-06-07.1.plain.db. (No saving necessary as the tool automatically applies the changes to the file after pressing the ← button).
Now i wonder if this would work and how do i do my first Step?
Sorry if this is a totally Wrong Thread im a Newbie
Thanks to everyone who read this!:good: <3
Btw if anyone knows how to merge 2 Whatsapp Backups easier just tell me ^^
Got interesting will try to find a way out..
Thankyou this never came in my mind.
Zeuscluts said:
Got interesting will try to find a way out..
Thankyou this never came in my mind.
Click to expand...
Click to collapse
Okay Thanks man

Categories

Resources