Related
I am starting this thread as there seem to be a lot of smart people on this forum that have a lot more knowledge about the BlueAngle device than I do and I hope that they will be able to come up with a better solution to my problem.
Problem:
1) Every time I update my device I need to run a lot of setup.exe to reload all of my software.
2) I have to create new folders under "Programs"
3) As I don’t like the default location of the links, I have to move the links into my new folders
4) I have to enter registration codes on a number of applications.
I would like to be able to automat this were possible.
I would like to share with you my solution in the hope that it helps you
and I would like it to be inproved by anybody who has a better understanding of this than me.
I have had to break this up into 3 parts and post then each seperatly.
Part 1:
Auto Install of applications based on a config file
http://forum.xda-developers.com/viewtopic.php?p=83120#83120
Part 2:
Dos add-on that allows me to make folders, copy and delete links from a batch file
http://forum.xda-developers.com/viewtopic.php?p=83121#83121
Part 3
Macro to enter the Reg codes of software.
http://forum.xda-developers.com/viewtopic.php?p=83122#83122
I base all of these on an application called "Splashphoto" which is a demo version and can be found on www.handango.com
(the link was to long to copy as it messed up the view)
You can find the files under:
ftp://xda:[email protected]/BlueAngel/Tools
I hope I can also add them as downloads.
Comments, sugestions and better ideas are welcome.
edited 18/01/04 Finished part 3 Macros
Auto Install of applications based on a config file
Problem:
1) Every time I update my device I need to run a lot of setup.exe to reload all of my software.
Now this has got on my nerves and I would like to share the solution that I have found in the hope that somebody SMART can simplify it.
I base this example on the application "Splashphoto" in the combination of the autorun.exe found in the Extended_ROM.
You can modify the concept to your own liking by changing the install location, the number of install files
**Note** the supplied config.txt files is set to turn the touch screen off when you install.
Thus it will ONLY work if your cab file does NOT come up with a message that requires you to confirm it by hand on installation.
Such as "written for older version.." or "Is already installed reinstall?.." You can change that as written below.
Although you are able to install software from your desktop onto any location of your device I have not found a switch for this and am already way out of my depth. I would think that there has to be some command line that that the Cab file reacts to. I hope somebody SMART can Work this part out.
I have added all the needed files to: AutoInstall_Beta.rar and have tried to go into a deep explanation based my own limited understanding.
ftp://xda:[email protected]/BlueAngel/Tools/Autoinstall_Beta/AutoInstall_Beta.rar
Step 1
You will need to download this file, extract it and copy it to your storage.
This example uses "\Storage\Install"
Step 2
You will need to modify the following key to insure that autorun.exe points to the correct config.txt file.
HKEY_LOCAL_MACHINE\Comm\AutoRunCFG
Old value: \Exteneded_ROM\config.txt
New Value: \Storage\Install\config.txt
Step 3
Run \Storage\Install\Autorun.exe from your device.
This file will run the commands found in Config.txt
In this case
A) disable Touch screen (may be also the phone)
B) install SlashPhoto
C) Enable Touch screen (may be also the phone)
D) Reboot
AutoInstall_Beta.rar has the following files:
1: SplashPhoto.2577.CAB
Extracted cab file from demo version of SplashPhoto found under:
http://www.handango.com/
2: AutoRun.exe
Found on the Extended_Rom.
This file will run the commands found in Config.txt
3: Config.txt
Modified config.txt file with the only entry being SplashPhoto.2577.CAB
4: TPDisable.exe
Application to disable the touch screen (may be Phone function) while installing applications also found on the Extended_Rom
5: TPEnable.exe
Application to Enable the touch screen (may be Phone function) while installing applications also found on the Extended_Rom
6: Ruler.ARM.CAB
This is a freeware application that turns your display into a Ruler.
It has been added as it comes up with a message that you need to confirm.
**Note** if you add this to config.txt you will hang and need to reboot your device.
After reboot you will find the application under start\Ruler and it will work.
**UPdate** By removing the commands TPDisable.exe and TPEnable.exe from the config,txt
you are able to confim the install dialog as the touch remains active.
Understanding of Autorun.exe:
Based on the info I have picked up there seems to be 2 versions of autorun.exe, one uses a config.txt and one not. (this one does)
After a new upgrade of your device autorun is executed to install the software based on the carrier that you have all of whih is found under \Extened_ROM hidden folder.
I took this Idea modified the config.txt and ran autorun in a new folder on my device to find out that it installed all the software in the Exteneded_rom and NOT out of the folder I was in nor with the config file that I had.
This was not what I wanted and did not make me very happy.
So after some playing around with regedit I found
HKEY_LOCAL_MACHINE\Comm\AutoRunCFG with the value of \Exteneded_ROM\config.txt
This I changed to \Storage\Install\config.txt,
re ran the autorun and it worked thus giving me Proof of concept.
Understanding of Config.txt
EXEC:\Storage\install\TPDisable.exe
CAB: \Storage\install\SplashPhoto.2577.CAB
EXEC:\Storage\install\TPEnable.exe
RST: Reset
Click to expand...
Click to collapse
It seems that with the command EXEC you can execute a *.exe file such as turning the touch screen on and off
It seems that with the command CAB you can install an application.
It seems that RST reboots the device.
What would be nice is to work out if you can force the application to install in a different location (Storage Card)
Finding your cab files.
Most applications that are installed from your desktop will create a folder and deposit the cab files in it.
If your device is connected it will kick of the setup routine that will ask you for the install location and then execute the cab file.
It is recommended that your install the software this way first to see if you get a message on your device.
If the install falls under the clean versions then you can remove it with the stettings\remove Programs and modify your config.txt
In our SplashPhoto Case the default location is:
"C:\Program Files\SplashData\SplashPhoto for PocketPC\SplashPhoto.2577.CAB"
I have also found cab files under
"C:\Program Files\Microsoft ActiveSync\Name_of_Application"
Working out which CAB is the correct one.
The file names might be ???.mips.CAB, ???.arm.CAB, ???.sa.CAB, ???.sh3.CAB or ???.Cef.CAB
I am in luck as in our case there is no choice
Which is just as well as I have no Idea what they mean.
Hint: I use ARM as it seems to work and I its my cpu type.
So what is left?
1) Solving the problem of cabs that come up with a message such as Ruler.ARM.CAB
Solved:
TPDisable.exe ----> Seems to disable the touch screen
TPEnable.exe ----> Thus this would enable the touch screen.
So for the Ruler.ARM.CAB that asks gives us the "written for other version" the following will work with out a reset
Config.txt
CAB: \Storage\install\Ruler.ARM.CAB
Click to expand...
Click to collapse
2) finding a switch to set the location of the install to say "\Storage Card"
3) A little cab that turns config location on and off.
Does a regedit of our key with out having to change it by hand.
And has a drop down Browse function to for my "\Storage\Install" folder
Or a better solution than mine!!!!
Next thing I will try to cover is batch copy and del of links
Gee I hope this all was not a waste of your time reading it.
Edit 18/01/04 added Open 1 as solved
Corrected text about what TPDisable.exe, TPEnable.exe (which is turn Touch screnn on/off (may be the Phone funtion)
Updated the section on Ruler.ARM.CAB
Dos add-on to make folders, copy and delete on Device
Problem:
2) I have to create new folders under "Programs"
3) As I don’t like the default location of the links, I have to move the links into my new folders
I base this example on the application "Splashphoto" in the combination of the autorun.exe found in the Extended_ROM
as well as freeware version of RemoteCommand.x86_15_English
I would presume that you have installed the SplashPhoto as discribed in:
http://forum.xda-developers.com/viewtopic.php?p=83120#83120
You can modify the concept to your own liking by changing folder structure of your programs menu,
the number of new folder you would like to make or the number of links you want to move.
I have added all the needed files to: CopyLinks_Beta.rar
ftp://xda:[email protected]/BlueAngel/Tools/CopyLinks_Beta/CopyLinks_Beta.rar
I have tried to go into a deep explanation based my own limited understanding.
Step 1
You will need to download this file, extract it and copy it to your desktop.
This example uses "C:\Install"
Step 2
You will need to extract the RemoteCommand.x86_15_English.zip in a location of your choice.
Step 3
You will need to install RemoteCommand.x86_15_English on your desktop
The program is setup.msi and found in the zip file
Step 4
You need to be connected to your device and activesync needs to be running
Step 5
You will need to run the CopyLinks.bat in a dos box
Start menu -> Run -> Cmd ->Enter
In the dos box
C: [Enter]
Cd c:\install [Enter]
CopyLinks.bat [Enter]
The batch file will
1) Create a new folder under your Programs folder of your device called applications
\Windows\Start Menu\Programs\Applications
2) Copy the splashphoto.lnk to this folder
\Windows\Start Menu\Programs\Applications\SplashPhoto.lnk
3) Delete the old Link
\Windows\Start Menu\Programs\SplashPhoto.lnk
CopyLinks_beta.rar has the following files:
1: RemoteCommand.x86_15_English.zip
Download freeware desktop version of RemoteCommand from
http://www.freewareppc.com/utilities/remotecommand.shtml
2: CopyLinks.bat
Batch file to create a new folder, copy the link and then delete the original link.
Understanding of RemoteCommand:
The install of remoteCommand gives you a new file called Rcmd.exe which is like a Pocket PC version of dos.
It is not executed on your pocket Pc so don’t even try to look for programs\dos.
It is a command line add-on executed in a dos window that allows you functions like copy, del md
from your desktop onto your Pocket PC or from your Pocket PC to your Pocket PC.
It adds itself in the path statement and thus a batch file can be executed from anywhere.
** Note ** You have to be connected to your device and ActiveSync needs to be running.
Understanding of CopyLinks.bat:
Rem Make a folder under programs
rcmd md "\Windows\Start Menu\Programs\Applications"
Rem Copy Links into that folder
rcmd copy "\Windows\Start Menu\Programs\SplashPhoto.lnk" "\Windows\Start Menu\Programs\Applications\SplashPhoto.lnk"
Rem Delete the old Link
rcmd del "\Windows\Start Menu\Programs\SplashPhoto.lnk"
Click to expand...
Click to collapse
Gee I hope I don’t need to go into that.
So what is left?
1) Would be nice if one would check "on error" as the dos screen sort of zips past.
2) Think it would be nice to add a "CopyLinks.bat /Install" and "CopyLinks.bat /Uninstall" option.
As we are moving the links and creating new folders the "remove program" will not pick it up.
This way one could put the links back were they belong before removing the software with "Remove programs"
Or a better solution than mine!!!!
Next think I will try to cover is batch Entering of Registration codes.
As always I hope this all was not a waste of your time reading it
Macro to enter the Reg codes of software
Macro to enter the Reg codes of software.
Problem:
4) I have to enter registration codes on a number of applications.
I base this example on the application "Splashphoto" in the combination with the
demo version of Pocket Controller-Professional by SOTI Inc found on
http://www.handango.com/ (Link was to long to copy)
or
http://www.soti.net/default.asp?Cmd=Products&SubCmd=PCPro
I would presume that you have installed the SplashPhoto as discribed in:
http://forum.xda-developers.com/viewtopic.php?p=83120#83120
I would presume that you have copied the link as discribed in:
http://forum.xda-developers.com/viewtopic.php?p=83121#83121
You can modify the concept to your own liking by recording your own macros, cutting them into one file and running them.
I have added all the needed files to: Macro_Beta.rar
ftp://xda:[email protected]/BlueAngel/Tools/Macro_Beta/Macro_beta.rar
I have not added the Pocket Controller-Professional due to its size.
Step 1
Download Pocket Controller-Professional
Go to www.handango.com
Browse by Operating System -> Windows Mobile™ Smartphone
in search add -> Pocket Controller-Professional
The rest should be clear
*or*
http://www.soti.net/default.asp?Cmd=Products&SubCmd=PCPro
Hit the [try] button
Step 2
Insure phone is connected, activesync is running
install Pocket Controller-Professional on your desktop
Step 3
Run Pocket Controller-Professional and connect to device
File -> connect
you should see you device on your screnn.
Step 4
Download the Macro_Beta.rar
Unpack it to c:\install
Step 5
in Pocket Controller-Professional
in menu Tools -> Macro -> Play [mouse click]
Browse -> choose C:\install\SplashPhoto.cmd [OK]
This will run the macro that:
1) Starts SplashPhot
(Start -> Programs > Aplications > SplashPhoto)
2) In SplashPhoto goes to Preferences and opens the keyboard
(Tools > Preferences > Keyboard)
Not very flash I know
Understanding of Pocket Controller
This is a very useful piece of software that will allow you to use your device on your Desktop.
You can take snap shots or films of your devices display. Great to prove your point with support.
It has a dos box that in this version does not support Batch files.
It has a file explorer of both desktop and device.
And what I need for this Macro recording.
(Personal pick I admit to it )
Soti if you read this post:
Qestion Is there much point in having my device on desktop if I cant even copy a text out of notepad into it?
Macro_beta.rar has the following files:
SplashPhoto.cmd
Understanding SplashPhoto.cmd
This is a text file that records the mouse event on a X/Y postion as well as other actions
That is also its downfall as you links will move as they are sorted in your folder.
Add to this that the start menu might be of a different hight.
The itemes in the start menu might have changed order
SplashPhoto.cmd
MouseEvent 0x0 0x2444 0x800
SleepEx 0xc8
MouseEvent 0x1 0x2444 0x800
SleepEx 0xd48
MouseEvent 0x0 0x3777 0xe0cc
SleepEx 0xc8
...........
Click to expand...
Click to collapse
So what is left?
1) Work out if there is a option to input in a text mode
The help is not much help.
My thoughts would be along the line of
Menu "Start"
SleepEx 0xc8
Menu "Programs"
SleepEx 0xc8
.....
Click to expand...
Click to collapse
I will e-mail support.
As always I hope this all was not a waste of your time reading it
you might check this thread out :
http://forum.xda-developers.com/viewtopic.php?t=9333&highlight=restorator
Thanks M4io
Did and did I ever go swimming!!! Have sent PM to SP for help.
Solved Part 1: CAB that need Touch screen input on install
Solved Part 1: CAB that need Touch screen input on install
Edit 18/01/04
added Open 1 as solved
Corrected text about what TPDisable.exe, TPEnable.exe (which is turn Touch screnn on/off (may be the Phone funtion))
Updated the section on Ruler.ARM.CAB (by removing the TP* commands out of config.txt the screen is still active
thus you can confirm with ok
Updated post is the original
http://forum.xda-developers.com/viewtopic.php?p=83120#83120
MDAIIIUser said:
did I ever go swimming!!!
Click to expand...
Click to collapse
System error s0c4 : Unknown expression :lol:
M4io
Try Help->search> Unknown expression > Find > Swim*
Will return, System error s0c4. <Grin>
The Short of that is after reading that post I had more questions than answers.
Finished Part 3
Macro to enter the Reg codes of software.
http://forum.xda-developers.com/viewtopic.php?p=83122#83122
I think I would simply use backup intead
i would like to know which .cab files MUST be kept in there....
Well the extrom should have the resco cabs to be able to hack the reg. (or what ever reg application you want to use).
If you don't have that then you cant change the keys to point to the new auto run as well as the new config.txt
As you will be installing of a different location the unlock cab is not needed but would be nice to have.
My smart suggestion
Hi MDAIII user,
Gr8 thing to be posted, but I follow a bit smarter way....
I use SPB Clone to take the Cloning image of all the device and after updating or after say if device got hard reset, I just restore that clone image...it restores all the data including the call history SMS and the installed softs with registration codes....
It also restores the extended ROM if one has unlocked it and the storage data too!!!!!
I hope, this information will be useful for all
Would a clone of a 1.22 Rom which is restored on a device that you just upddated to a 1.40 rom not sort of mess it up??????
Hi Man,
Logically yes, but I hv not encountered yet......
Hi!
I was just wondering if it was possible to save the words you have added to the T9 dictionary. It would be nice to have a backup if you flash your Diamond often.
Sure is...
unzip the attached file copy paste to your Diamond.
Start using it
Ok.... i tried downloading the file but it cannot open the file... file error!!!!!
try this one...
try again. I try download it just now and i can open ok.
Sourceress said:
try this one...
Click to expand...
Click to collapse
Awesome dude.
Pretty much what I was looking for some time.
Now, is there a way to backup this whole list, so we can restore it after flashing a new ROM?
Thanks!
can, lah...
select text in T9MyWords > copy > paste into a text file > save the text file in a save location (e.g. Sync Folder "My Documents" or Internal Storage).
After flashing a new ROM: select text in the text file > copy > paste into T9MyWords.
Sourceress said:
select text in T9MyWords > copy > paste into a text file > save the text file in a save location (e.g. Sync Folder "My Documents" or Internal Storage).
After flashing a new ROM: select text in the text file > copy > paste into T9MyWords.
Click to expand...
Click to collapse
Sounds simple. Have ya tried it? Doesn't work bro. The text are placed line by line, not in a textbox.
Im thinking I could backup the following files:
\Windows\eT9Cdb.Cdb
\Windows\eT9Rudb.Rdb
Both of them contain words (and more) from the T9 list. Gonna do some reading up and see the significance of these files.
oops... I'm sorry. tweaking with more than one proggis at the moment....
BoogieCornejo has given following solution:
go to windows folder and save these 2 files. eT9Cdb.Cdb and eT9Rudb.Rdb. after hard reset rename the original files in windows folder to anything you want then copy your saved files to replace the renamed ones.start a message or any text document and add a word.you'll notice the words you stored from before the hard reset will still be there...
Olafson added one more file:
eT9Rudb.Rdb
eT9Cdb.Cdb
eT9AsDb.Adb
1) Copy files from windows to another location
2) Change attributes from read only to archive
3) Overwrite files in windows folder (Now the files are not in rom)
4) If are still read only you have to change again in Archive (Now you can because files are not in rom)
I did not try yet as I flashed my rom yesterday night
Sourceress, Thanks so much for this! I have been looking all over for a way to update my T9 dictionary to get rid of some annoying words! This exe is a mind saver!
Thanks really useful - why HTC doedsn't include this facility I've no idea!!
The program is simple but wonderful. I was looking for some ways to clear those words too.
I just downloaded the .exe and removed the word Im but for some reason when I use t9 it still uses Im when I type i then m instead of I'm with the capital I and apostrophe. Any ideas why?
Really a big big thanks for this posting. Fantastic program, awesome!!!
none of these two files works for me... that's strange!
Thanks a lot.It works fine. I look for something like that for a long time
I have a question
I have the game "Worms" on my device. To specify it's on my storage card.
Today I made a hard reset.
Now I want to make a link to the .exe from Worms. Cause now I hae to go through file-explorer and I want it like it was before the hard reset. There was a link in my games folder before the hard reset under programs...
How can I do this again ?
resco file explorer is your friend
Sorry, but I don't unsterstand this....
It is being suggested you download and install Resco Explorer a pay-for app that does have a free trial. Resco allows you to Click/Hold an .exe file and Send To a StartMenu shortcut which are trying to do.
You can do it the hard way with Notepad but it is a pain.
http://www.resco.net/pocketpc/explorer/
Total Commander, I think will do it too, but I own Resco and am familiar with it. It is FREE.
Hi
If you use Resco File explorer you can create shortcut to any exe file.it wil be placed to your start menu.but you can do it manualy too.without useing Resco FE.
1. Open Notepad
2. Place the entire path to the file in the first line of the file, including the .exe file. You must use quotation marks if it resides in a directory with spaces, such as “\Program Files.”
3. Count the number of characters in the command line, including spaces and quotes, to get the length of the string.
4. In the .lnk file, the format for the line is
<length of string>#<command line>
5. Save the file and copy it to the "\Windows\Start Menu" directory on the Windows CE or Pocket PC device. This places the shortcut at the top level of the Start Menu.
You don't need a 3rd-party explorer or notepad. Creating shortcuts is very simple using the built-in file explorer.
Step 1: Start file explorer.
Step 2: Navigate to the folder the EXE is in.
Step 3: Highlight the EXE.
Step 4: Copy the EXE to the clipboard (Menu | Edit | Copy).
Step 5: Navigate to the start menu folder you want the shortcut in (typically \Windows\Start Menu\Programs).
Step 6: Paste a shortcut to the EXE (Menu | Edit | Paste Shortcut).
Step 7: Rename the shortcut if desired.
The shortcut will now be in start menu programs. You can now move it to and from the top-level start menu using Start | Settings | Menus.
V/R
Russell
First of all thanks to everyone for posting...
But I have one question....what do you mean with "highlight the EXE?"
I hope you can help me ^^
But I have one question....what do you mean with "highlight the EXE?"
Click to expand...
Click to collapse
When you navigate to a folder in File Explorer, the first file in the folder is highlighted (selected). Highlight the the executable file to which you need a start menu shortcut, either using d-pad down, or tap-n-hold with the stylus. This will be the file copied to the clipboard in step #4.
Note: I use the term "highlight" rather than "select" because selecting the file implies tapping on it, which will open the application. You don't want to start the application.
hammellose2 said:
First of all thanks to everyone for posting...
But I have one question....what do you mean with "highlight the EXE?"
I hope you can help me ^^
Click to expand...
Click to collapse
Do a search. There are many tutorials that can walk you through this.
I have my old nokia 5800 and I want to transfer all my SMS to galaxy s. I have synced 5800 with nokia pc suite and all the SMS and contacts are there too. I found this app "SMS migrator" for android that does the job but where in my pc can I find the file that has my SMS so I can put that to my galaxy sd-card and use the migrator?
Thanks for your help in advance!( yes I know how to "thank" ) Btw it's windows7..
Hi,
You need to download and install 2 programs:
1). h**p://www.simail.si/nokia2androidsms/
You install this on your PC, basically this will convert the Nokia file to an xml file and you transfer this file to your Android device after you have installed the second program.
2). h**p://android.riteshsahu.com/apps/sms-backup-restore/
You install this apk on your Android and it will create a backup and restore folder, you transfer the xml file from your PC to this folder.
3). Open the SMS BU restore program on your Android, select import and your done.
Hope this helps.
Regards, khan3.
I have tried that already, it doesn't find the file it is supposed to convert -.-
That's why I asked for the location of the file so I ca drag it to the Program so it converts it...
I also found this mobiledit phone copier but it requires paid version of the program to do the conversion to XML-format...
Thanks anyway, hope you could help me a lil more
Nevermind, I finally got it after struggling for couple of hours XD now I can finally start enjoying my SGS! I had too new version of OVI so the nokia2android program couldnt find the file, I had to delete the OVI and search for older OVI and it worked
Glad you are now sorted.
If it helps anyone else this is what I did:
I am running Windows 7, have Nokia OVI suite v3.0.0.290 installed and used OVI to create a backup.
I created a new folder on my D drive and called it N2A which contains the main Nokia2AndroidSMS.exe + sqlite2.dll, when you run the program it automatically finds the appropriate OVI file (.NBU), converts it to .xml format and places it in the same folder as Nokia2AndroidSMS (in my case N2A).
Actually you don't have to locate the nokia backup file or drag it. Nokia2Android does it automatically, you just select datastore1 from the drop down box and select your imei.
Then you connect your SGS to your computer, wait a few seconds and you will get the AutoPlayer window pop up with GT-I9000 shown, select open device to view files, double click on phone, double click on the folder SMSBackupRestore, then drag the xml file from your computer to this folder, Now press the SGS home key, then press the applications icon, navigate to and open the SMS Backup & Restore program and select the restore option, this will now import your messages, to exit the program just press the return key a few times to return to your home screen.
If you want to backup your messages, open the program and select the backup option, the file will be saved in the SMSBackupRestore folder in xml format.
In the program settings you can change the message date format - default is java date representation (including millisecond) - or time and date in readable format of the time when the message was sent/received, you can also change the naming convention for the saved xml file.
The xml file can be opened and edited!
Some of the xml file fields are:
type – Sent = 2, Received = 1
read – Read Message = 1, Unread Message = 0
status – None = -1, Complete = 0, Pending = 32, Failed = 64
For those interested in interpreting the java date representation you can check out epochconverter.com.
Hope this little contribution helps any one having the same problems.
Regards, khan3
Thanks for this useful thread
but I don't know why it's not working with me
I downloaded Ovi suite (the one I could found on Nokia site is v3.1.1.85, is it necessary to use v3.0.0.290?)
I used it for sync (& even making a backup) & all the messages are synchronized
I disconnected the mobile & closed the ovi suite from the notifications area
But when I use the nokia2android program I get a small xml file with no messages in it (count=0)
even when I drag the MDataStore.db3 file from:
C:\Users\*********\AppData\Local\Nokia\Nokia Data Store\DataBase
I get the same empty file!
any help please??
BTW, Sync Nokia N81.. & working on windows 7 too
Hi, I’m having a problem with the HTC Notes App on my Rogers HTC One. I have backed up a copy of the folder ".data\HtcNotes" on the SD card, thinking that this folder contains all my notes files. I then wiped my phone and started setup as a new phone. I tried restoring my backed up notes by replacing the folder ".data\HtcNotes" with the one I had backed up earlier but the Notes App does not recognize the restored files. the Notes App works fine, i.e I can create new notes without any problems.
Also, when I try to open the "contentE.html" stored for each note inside subfolders of ".data\HtcNotes", I get unreadable characters. This happens for my new and properly functioning notes as well. Does the Notes App store content in a non-standard html format?. It used to be that the Notes app stored the content in a file called "content.html" which was a normally readable html format, but now it stores in the non-readable " "contentE.html" file.
Please advise how to recover the content of my notes...is there a way I can open the "contentE.html" files in a readable format?. My notes are not synched to the clouds and are stored only locally on the phone.
Thanks
any suggestions?
dabasdabas said:
any suggestions?
Click to expand...
Click to collapse
you may have to reset the permissions of the files
you do this with ES File Explorer and highlight a file go to properties and set the permissions ... usually to rw-r-r but notes files may be different check one you just created and make the old ones the same
thanks for the suggestion, I am able to open the "contentE.html" of my old notes using an html editor or browser, but the file contains unreadable characters, as if I'm opening a binary file inside a text editor. The same thing happens for any new notes I create.
I remember in earlier versions of Android, the Notes app used to store the content in a file called "content.html" which was a normally readable html format, but now it stores it in a "contentE.html" file which is not readable by html editors...
attached is an example of the "contentE.html" file from a new note I've just created, it's supposed to be titled "w1" and contain only the word hello...if you try to open it you'll understand what I'm trying to describe...can you guys please check the "contentE.html" on your phone and let me know if you're able to open the file properly outside the Notes app...thanks...
guys need your help...can anyone please check the "contentE.html" located in numeric subfolders under ".data\HtcNotes" on the SD card and let me know if you're able to open the file properly outside the Notes app...thanks...
bump
i use colornote app, its free in playstore, you can sync with gmail,.. if you use another android phone just install same app, and your note will there to
BUMP!!
Having the same problem, did a factory reset of my phone and the files arer physically still intact, but I can't open them with Evernote app or HTC Notes app. Alle notes are stored in a folder with a .PNG and a .HTML file, the HTML file contains unreadable text. There's very important info in for me, which I need within a week. Can someone please help? I'm willing to do almost anything to be able to read my files...
Still unsolved (bump)
mpc007 said:
Still unsolved (bump)
Click to expand...
Click to collapse
^^
mpc007 said:
^^
Click to expand...
Click to collapse
This disappoints me. If you consider yourselves even moderately skilled, this little problem of my should be peanuts.
Please, help me how to restore my notes from the ContentE.html file!!
mpc007 said:
This disappoints me. If you consider yourselves even moderately skilled, this little problem of my should be peanuts.
Please, help me how to restore my notes from the ContentE.html file!!
Click to expand...
Click to collapse
Try this, create a new note in the HTC Notes app and save it (If it doesn't save, just write random words and exit, it should save then), then go to your .data/HtcNotes folder, find the folder that contains the note you just created. There should be an existing "ContentE.html" file. Delete it and replace it with the file you want to restore.
mpc007 said:
This disappoints me. If you consider yourselves even moderately skilled, this little problem of my should be peanuts.
Please, help me how to restore my notes from the ContentE.html file!!
Click to expand...
Click to collapse
I think you're wasting your time, just having the ContentIE.hml file won't be enough, the actual database is stored in /data/data/com.htc.notes (i think), and without that, the app can't link to the contents of the sdcard.
nkk71 said:
I think you're wasting your time, just having the ContentIE.hml file won't be enough, the actual database is stored in /data/data/com.htc.notes (i think), and without that, the app can't link to the contents of the sdcard.
Click to expand...
Click to collapse
My data folder is indeed empty. However, can't it just be enough to have the raw files from the .data/htcnotes/ folder? I have those, every note exists of a folder with a PNG and a HTML file. They're just not recognised by the Notes App.
mpc007 said:
My data folder is indeed empty. However, can't it just be enough to have the raw files from the .data/htcnotes/ folder? I have those, every note exists of a folder with a PNG and a HTML file. They're just not recognised by the Notes App.
Click to expand...
Click to collapse
Yes, but unless i'm mistaken, the Notes app will rely on the database file, which in turn would link to the contents on the sdcard... so even if the contents weren't on the sdcard they would still show up in the notes app, but not vice versa.
And I don't know of any way to reconstruct the database file.... maybe try searching for that.
nkk71 said:
Yes, but unless i'm mistaken, the Notes app will rely on the database file, which in turn would link to the contents on the sdcard... so even if the contents weren't on the sdcard they would still show up in the notes app, but not vice versa.
And I don't know of any way to reconstruct the database file.... maybe try searching for that.
Click to expand...
Click to collapse
Nobody found a way yet? right?
If you have a backup of your data (or data partition), you need to restore the contents of /data/data/com.htc.provider.notes (as well as com.htc.notes, i think) and set the file permissions by ES file explorer or sth. This is tested and works (I got this answer off google somewhere else, but since this xda thread is the first result that comes up for searches like "recover htc notes", I (necro-)posted the solution here).
Now comes the hard part: If you don't have backup of com.htc.provider.notes, here's how I suggest you hack it BUT I haven't tested: try adding a new note in an empty instance of the notes app. The file /data/data/com.htc.provider.notes/databases/notes.db will be an SQLite file. Open it with any SQLite editor on your computer and you see IDs and file names in its tables match with the created note in your /sdcard/.data/HtcNotes folder. See if you can modify the notes.db database by adding new rows in all related tables to make the app recognize your old HtcNotes files. Don't forget to change file permissions of notes.db after restoring it to your device (I gave rwx-rwx-rwx to everything I copied). If you're lucky and knowledgeable enough you might be able to fix it.
Lesson to learn: Sync, or use plain-text file next time for writing notes.
Chromatix said:
Now comes the hard part: If you don't have backup of com.htc.provider.notes, here's how I suggest you hack it BUT I haven't tested: try adding a new note in an empty instance of the notes app. The file /data/data/com.htc.provider.notes/databases/notes.db will be an SQLite file. Open it with any SQLite editor on your computer and you see IDs and file names in its tables match with the created note in your /sdcard/.data/HtcNotes folder. See if you can modify the notes.db database by adding new rows in all related tables to make the app recognize your old HtcNotes files. Don't forget to change file permissions of notes.db after restoring it to your device (I gave rwx-rwx-rwx to everything I copied). If you're lucky and knowledgeable enough you might be able to fix it.
Click to expand...
Click to collapse
I have a HTC Sensation and I used the HTC Notes app often and so does my girlfriend on her Sensation. I recently changed ROMS on both our phones and have been trying to figure out how the hell to restore our notes. You indeed need to edit that notes.db as you mentioned. I know you didn't test it, but I just tried your suggestion and it did work on my first try. :victory: Here's what I did:
1) I opened the HTC Notes app and created a new note and named it Blah and saved it.
2) I used ES File Explorer to navigate to /data/data/com.htc.provider.notes. Then I copied the notes.db file to my microsd card.
3) I used DB Browser for SQLite to open the notes.db files that I copied to the card. Then clicked on the tab that says Browse Data, then in the drop down menu where it lets you pick a table, I choose notes. There you can see what notes the HTC Notes app will recognize.
4) The note I created earlier called Blah was on row 2, so I clicked on New Record and carefully made a new entry in row 3 with the same format as row 2. Just VERY carefully edit the columns that say: notebook_id, name, data, saved_time, last_modified_time, saving_time, ap_extra_info, thumdnail_path, widget_screenshot_path, and HTC_CREATED.
5) Verify the info you entered is correct fore ach column, then write changes to the database (File menu, Write Changes.)
6) I copied my now modified notes.db from my sdcard back to /data/data/com.htc.provider.notes ES File Explorer, changed the permissions of the file to match notes.db-journal,
7) And finally, I restarted the HTC Notes app, and the new note I added to the database was recognized.
I can think of a shorter way of doing this, but I''ll have to test it first. :fingers-crossed: Why did HTC have to complicate this? Why can't the app just read the files that are in the same folder or provide a refresh option to read any new files that may have been added to .data\HtcNotes at the very least?