Retrieve data in "bootloader mode" - Touch 3G ROM Development

Hi everybody,
I've been reading the forum for a while, enjoying applications and stuffs from everybody. But now I'm facing a quite difficult problem.
My HTC jade was HardSPL successfully, and ROM changed to an official french ROM found on the forum.
JADE100 64M / SPL-1.40.Olinex / MicroP-Jade (LED) v5
I've been using it for 2 months, and using quite often a "Reset" application that performs "soft reset" on the device (goal is to free memory loss, I performed it almost every night).
Yesterday I did it maybe at the wrong time, because now I'm getting this error :
The device is unable to boot because either you have turned off the device incorrectly or tried to install an application from untrusted source. Press SEND to reset your device or press any other button to cancel. This operation will delete all your personal data and restore the device to its factory default settings.
As I understand, device wants to perform hard reset, but I did not backup my contacts, sms, files... I've searched using mtty, rbmc... but I don't know how to retrieve the data (also tried commands from different phones (Hermes, Trinity...)).
I would like to dump the "execution partition/environment" from the device to be able to retrieve at least the contacts (like dump, extract files, the Hard reset the device and restart from 0), but if possible all data.
Any expert has a clue ?
Thanks a lot

using RBMC application
http://forum.xda-developers.com/showthread.php?t=458780
I've been able to get OS.nb and Storage.nb files.
I thought that if Storage.nb contains what is says, there should be information inside, and lucky me, I was write... except that I found the information using notepad, and that it will be difficult to find data parsing 120Mo of binary-text.
Does someone know how to use RBMC to output raw files, or how to extract/explore .nb files ???
Thanks

Related

Access to filesystem in Tricolorscreen?

Hi @ll..
i´ve searched for long time, but nothing found about that..
I there a way to access the filesytem (not the Disc-on-Chip Files!) in tricolor or bootscreen?
Because, sometimes it happen, that the device doesn´t start Windows, because of software failures or something else. But then the only way is to hard reset the device.
so i want to save some files i.e. My Documents - folder, before hard reset

Weird worry with trusted certificates

Hi,
i needed to restore my device from a backup with Sprite version 6.2.2(upgrade full version not the light one coming with my stock rom) ,
when a strange event occured:
After the restore and the device's reboot all none pre-installed(thoses present in stock roms) softwares werent able to be launched,
i had a message " not signed with a trusted certificate, or one of its components cannot be found"
and if i cliked on "yes", i had another message like "pocket informant failed to launched /Or editor unknown" and that with all the soft i had installed since my kaiser purchasing(voice command(from MS !)pocket mechanics , phm regedit, even sprite backup).
I tried the xdadevelopper kaiser tweak.exe and advanced schapps configuration tool(to tweak the "none trusted cabs installation security" but both refused to "run"(kaiser tweak) or be installed (schapp's) from my sdcard and so tried to run an install from my
pc of "phm regedit" but windows mobile center 6.1(under vista) gave me an error "unable to install/install failed" like if all my device was 'read only'
or if no "administrator privileges" were given to me on the device(from laptop or its sdcard).
ps:i wasnt able to merge(double tap) even a registry backup made on my sdcard before or install the SDK certs cab file .
So from my backup folder on my sdcard(where i had 3 different backups with 3 different dates), i tried to run the backup.exe(s), but i had the same worries(the exe wasnt able to be launched).
I decided to wipe out all datas via 'parameters/system/wipe' all datas"(kind of "soft" hardreset) (reboot+"device's first use configuration")and run the backup from the sdcard without any luck.
(the restore is done but at the device start i had many errors like "Pi calendar failed to launch", "voice command" etc
the only way to retrieve my device was to wipe out all datas
like just above and launch a restore from sprite backup on my laptop
(i had to reconnect/disconnect/reboot from usb my device +wmc 6.1 close/"re-launch", 2 or 3 times, in order to be able to restore it)
What i dont understand, last week i had to do a full restore from one of my backups (from sd card ) and it worked(no certificate worry and without prior wipe out) :
So when i wipe out all the kaiser and launch a restore from sdcard
why do i have a worry with "trusted certificates" as the backup is an image
of what was working(when created), it's as if some registry parts or "certificates"(dont know what kind of files, it is) were missing
why?
any idea replies will be welcome !
thanks in advance
Hi, I had the Problem today,too... when Sprite Backup fails oder something like that, then all no plugged-in certificates are away.
I don't know, where I could restore them - some people who had the same problem didn't found any help by restoring a former backup.
But there's a (little bit annoying) solution WITHOUT Hard-Reset :
1. At first you need a Registry Editor - and I think your Registry Editor won't work, too - because of the certificate.
So - Reinstall it
2. Then go to the Key HLKM\Security\PromptExclusionList and erase everything (except from DEFAULT). So that Registry-Directory is empty.
Now there are the thirst-party-Certificates are no more known from Windows Mobile
3. Now go to your Programs in Programms-Menue which didn't worked... you will be prompted everytime because of the certificate - and confirm it with yes... and you have the certificate for further times
When you have very much programs installed... then you will have very much to confirm... but after a Hard-Reset... I think that's much more mork, isn't it? Especially when you have a special theme (I love the black theme for 1.93)...
Hope it works fine, too. And I'll have a look for another Backup Tool, which makes Backups and doesn't destroy certificates
Greets from Germany
Pierre
Hey,
Just had this problem too, no one seems to have written the solution about this. I had to do a hard reset my certificates were also missing, also I was unable to remove installed programs via remove programs. Using HTC Touch HD with stock WM6.1 and upgraded Radio 1.12.25.16.
The back up was made by SunnySoft 3.7 and was a self executed one, which I did once the hard reset was completed. However, I found if I then reinstalled SunnySoft via Active Sync and then restored the backup again this solved the certificate problem but not the uninstall one.
I am now trying a new hard reset and then install SunnySoft before I restore anything, hopefully this will work.
No joy with the backup. The problem with the certificates was because SunnySoft program wasn't restoring the whole backup (I guess due to its size), works better when files restored bit by bit.
However, everything appears to be fine until I try to Remove installed software...Nothing I can do allows me to remove anything from the program list, just says it wasn't uninstalled properly do I want to remove it from the list (but doesn't). I can't even reinstall the software to fix it, just fails install.
Is there anyway to rebuild the program list or reinitalise the list to install over the top again and allow items to be uninstalled? Where are these settings located?
Failing that, I'll want to rebuild the system from scratch, but I need to know where the contacts and SMS messages are located in the system (so I can at least keep these).
Thanks for any assistance in advance. By the way, what is the best backup software which works for WM6.1???
Solution...
Moved on a bit with this (sorry if no one is interested in my self replies but this might help someone with the same issue)
The Remove Programs seems to end up in two different states:
1) Blank and new installs fail 2) Populated but programs can not be removed but new installs work (This state we can work with).
I think to get to state 2 the difference is installing Sunnysoft Backup after the Hardrest via active sync (I guess this helps it initialise the Remove Programs list).
Restore Data:
As mentioned before if the Restore doesn't work in one go (mine is about 50Mb compressed) then only restore the files (all except windows/internal store/registry/database), this gets a good chunk out of the data out of the way (the system resets after which is why we purposely miss out anything which effects what runs on the system). Now restore all the "folders" within windows (except appdb/AppMgr/Start Menu/Start Up/System and files within Windows), again this avoids anything new running without everything being ready when it restarts. Finally, restore the Database, Registry, Internal Storage and any remaining folders & files within windows. If you don't get certificate issues and the Remove Programs is populated it is ok to move on to the next bit.
Remove Programs:
This problem here is the SunnySoft backup defaults to not including tmp files. Unfortunately the registry references to tmp files stored in Windows\AppMgr\{appname}\ which are now no longer there (THANK YOU SO MUCH!!), this is what is stopping the program from being removed or reinstalled correctly.
1. Look up the name of the tmp file in the registry: HKLM\Security\AppInstall\{appname}\Uninstall\
2. Copy an old tmp file with the correct name i.e.1001.tmp in Windows\AppMgr\{appname}\. NOTE: Install a new program, copy it's tmp file. Then uninstall the new program again.
3. You can also note down the references to the other files if you don't have the original install (but this won't be the cleanest way).
4. You can now go ahead and remove the program from Remove Programs List.
5. Finally remove the files you noted or reinstall the program (and uninstall as you would before if required)
How stupid.

Problem after installing WM6.1

Hello all,
I have a TyTN II, bought in Switzerland, with a Swiss/French ROM.
Yesturday I had the brilliant idea to upgrade to WM6.1. Bad idea.
Before doing so, I made a full backup using Sprite Backup 5.1, thinking that I would get the best out of WM6.1 with all my current data.
The upgrade to WM6.1 went perfect. When I switched it back on, everything was OK. So I decided to perform a restore using the Sprite software, to get back all my data. During the process I recieve a warning message telling me that the the phone and operating system are not the same as on the backup...oups! I decide to ignore the message and press continue. Sprite does his thing, and the phone restarts. Only problem, it won't go past the HTC welcome logo...
I hard reset it. Start looking around on forums, and for some reason that today I can0t remember, I waste 25$ on the Sprite Backup 6.2 software. I try, but nothing works.
I write an email to Sprite explaining my problem, and here is the answer I get:
Hi guys,
I just bought your newest Sprite Backup product hoping that this would help, but it doesn't look so.
My issue is the following:
I have a HTC TyTN II that was running under WM 6.0 until now. Today I decided to upgrade to the WM 6.1 version. Prior to doing so I made a backup using the Sprite Backup software provided with my phone (on a HTC CD).
The backup went perfect. So I did the WM upgrade, and my phone configured perfect. I tried to restore the information from the backup to my phone. I first received a warning message telling me that this wasn't the phone or the WM version that I was using to create the backup. I thought that I should anyways have a try.
My phone performed the restore, but then wouldn't work. Only the HTC logo appeared and then it froze. Looking at some forums, I saw that a Hard Reset of the phone was advised, so I did it.
After this, still looking around forums i saw that people were talking about the fact that the new Sprite Backup software has this feature about retro compatibility with previous ROM versions. I thought that this would be the solution.
I bought the software and I'm desperately trying to restore the information. The only thing I get is the following error message:
"The selected backup file was created using a different version of Sprite Backup (5.1.0, Build 1449) and is incompatible with your current version (6.2.2, Build 2280)."
Guys, any help will be greatly appreciated, I had some important information on this backup and I would be extremely grateful if you could help me out to solve my problem.
Thank you in advance.
Best regards,
Ostap
Tama McCallum 23/07/2008 1:30:38 p.m.
Dear Ostap,
Thank you for contacting Sprite Software. Unfortunately Sprite Backup itself is not backwards compatible, so to restore your 5.1 backup file, you need to use Sprite Backup 5.1.
To restore please follow these steps;
a) Hard reset your device
b) Place the attached .CAB file onto your device
c) Open the .CAB file using File Explorer
d) Open Sprite Backup
e) Go into Options> Switch to Advanced Mode
f) Go into Options> Restore Options and select Enable Device Upgrade mode
g) Go back to the main menu and choose your desired backup file to be restored
h) Continue with the restoration ignoring any prompts that may arise
If you encounter any errors, please send me the resulting BackupLog.txt file created in the \Temp\Log folder on your device.
Best regards,
Tama McCallum
Sprite Software
Unfortunatly her suggestion does not work.
So I start going around the web again, and I find this site, that seems the most efficient and proffesional. I really hope that you will be able to help me out.
Just to finish, and to keep focus, what I really need is ONLY the contact information from my backup/old ROM. Is there a way to extract this information from the file on my PC, or revert back to my old ROM and be sure that the restore will work?
Thank you very much in advance.
Best regards,
Ostap
Look into Flashing from your SD card, and then see if you can find the 6.0 rom is the kaiser wiki. (you should be able to get to all of this through the links in my signature. If you can get back to 6.0 and use the backup I would then try syncing with outlook to backup your contact info. Then flash back to 6.1, sync again and then enjoy 6.1.
Edit: first, hard reset.
Then try this (extracted from the Sprite Backup 6.2.2. helpfile):
"Upgrade Mode
Sprite Backup uses different Restore modes depending on the change in device or Operating System.
To set Upgrade Mode Options follow the instructions below:
From the Sprite Backup main screen, select 'Options'.
From the 'Options' screen, select 'Restore'.
From the 'Restore Options' screen, select 'Upgrade'.
Enable/Disable the settings you require.
Press 'OK' to save the settings or 'Cancel' from the menu.
The 'Help' menu item displays this Help file.
Personal Data: Use this option to restore your personal data across different devices or ROM versions. This option will exclude everything except ‘My Documents’ contacts / calendars / tasks / call logs."
When I upgraded (also with a Swiss/French HTC ROM), I could backup all my personal data and then had to manually update my settings and reinstall my programs.
I hope this helps, good luck.
anoano said:
Try this (extracted from the Sprite Backup 6.2.2. helpfile):
"Upgrade Mode
Sprite Backup uses different Restore modes depending on the change in device or Operating System.
To set Upgrade Mode Options follow the instructions below:
From the Sprite Backup main screen, select 'Options'.
From the 'Options' screen, select 'Restore'.
From the 'Restore Options' screen, select 'Upgrade'.
Enable/Disable the settings you require.
Press 'OK' to save the settings or 'Cancel' from the menu.
The 'Help' menu item displays this Help file.
Personal Data: Use this option to restore Your personal data across different devices or ROM versions. This option will exclude everything except ‘My Documents’ contacts / calendars / tasks / call logs."
When I upgraded (also with a Swiss/French HTC ROM), I could backup all my personal data and then had to manually update my settings and reinstall my programs.
I hope this helps, good luck.
Click to expand...
Click to collapse
Um, dude, he can't get into his phone..
Only problem, it won't go past the HTC welcome logo...
Click to expand...
Click to collapse
anoano said:
Edit: first, hard reset.
Then try this (extracted from the Sprite Backup 6.2.2. helpfile):
"Upgrade Mode
Sprite Backup uses different Restore modes depending on the change in device or Operating System.
To set Upgrade Mode Options follow the instructions below:
From the Sprite Backup main screen, select 'Options'.
From the 'Options' screen, select 'Restore'.
From the 'Restore Options' screen, select 'Upgrade'.
Enable/Disable the settings you require.
Press 'OK' to save the settings or 'Cancel' from the menu.
The 'Help' menu item displays this Help file.
Personal Data: Use this option to restore your personal data across different devices or ROM versions. This option will exclude everything except ‘My Documents’ contacts / calendars / tasks / call logs."
When I upgraded (also with a Swiss/French HTC ROM), I could backup all my personal data and then had to manually update my settings and reinstall my programs.
I hope this helps, good luck.
Click to expand...
Click to collapse
Thanks anoano
Sounded great, but unfortunatly nothing happened... I've tried this for a few times already.
ChumleyEX:
The problem is that I don't synchronize with Outlook. I use Outlook with my business phone, so the only place I had my contacts was the HTC and now the Backup I can't use.
As a last resort I will indeed follow your instructions about flashing and putting a 6.0 ROM and trying to restore from there.
Before we get there, do you guys have any other ideas?
Thanks!
The contacts are stored in pim.vol located in the root of your device. Try to either restore that file or extract it on your computer and copy it to your phone (if your phone is still stuck at the HTC logo you'll have to hard reset first, of course).
If WM won't let you overwrite your old pim.vol, try this trick (quoted from another post):
try to delete poutlook.lnk from the windows\startup folder
softreset
connect pda to your pc
rename pim.vol to pim2.vol
restore your pim.vol
immediately perform a soft reset
Click to expand...
Click to collapse
This could work, provided the data layout of pim.vol hasn't changed in WM6.1.
Edit: You could also try to restore the personal data and then do as the Sprite lady told you, send her the log file. Perhaps they can work it out.
I had a similar problem to the OP. Turned out I'd restored the old Windows folder which of course doesn't work as it's a new version of Windows that came wit the new ROM image. So theanswer was to go reflash the new ROM, restart the restore, check that everything is checked to be restored except the Windows folder. It worked....
pudifoot:
GREAT!!! It worked, just the way the other post describes! It's perfect!
Thank you soooo much to all of you!
Take care.
Ostap
I'm glad it worked out for you!
For future backup and restore of your personal data you might want to check out PIM Backup.
Can't Recover PIM.VOL after hard reset !
Hi ... I have a similar problem.
I hard reset my phone and I saved PIM.VOL, now I'm trying to copy it over, successfuly, but after a soft reset the file reverts to it's new values ... (from a 5mb backup file to a 300kb blank file)
I don't know what to do ... tried safe more, total commander, waiting 60 seconds before reset, resetting imedietly after copy, SPB Backup (restore works but no contacts)
PLEASE HELP !!!
-----
Okay ! found what the problem was !, I installed hebrew support before restoring the contacts, it must have changed the format.
Thanks everybody, love this forum !
-----
Dammit ! I restored the contacts first, then installed the hebrew support and guess what, it all went to hell in a hand basket.
After the hebrew gets installed all the contacts and apointments just disapear !
Well ... what now ? heh ...
I have the same problem as the poster of this thread! But I cant get it to hard reset
I can't get a reset to work. I have nothing vital on the phone. Everything is backed up on SD. I just need a hard reset so I can load everything back manually. My PC doesn't even recognize through usb! Any help would be greatly appreciated!
Not sure how to flash from SD but I already have the link to origonal rom saved to PC. Guess I could look into that, but a hard reset would be TONS easier!
rednekvolfan said:
I can't get a reset to work. I have nothing vital on the phone. Everything is backed up on SD. I just need a hard reset so I can load everything back manually. My PC doesn't even recognize through usb! Any help would be greatly appreciated!
Not sure how to flash from SD but I already have the link to origonal rom saved to PC. Guess I could look into that, but a hard reset would be TONS easier!
Click to expand...
Click to collapse
Perform a soft reset with stylus, when the screen goes blank hold the camera button until a multi colored screen comes up and then reflash
I know this doesn't help much, but this is why you need to have a backup of the back - making sure it works. Even when you switch from a new rom, more likely you will have to rebuild it from scratch.. (Trust me, I know). It is a pain but in the long run once the rom is built to your prefence, sycing with exchange it a breese and no data is lost.
Your best bet is to take your device into the dealer, tech shop and have them revert back to the rom you were using.
It is always important to write this stuff down ahead of time before flashing..
Good Luck/
Tvos

Another cry topic? WM6 bug

Yes, probably topic #1000 about this. But PLEASE keep reading.
I got the famous WM6 bug/error/whatever.
Symptoms:
- Access is denied error message when trying to copy files to the phone using ActiveSync.
- Access is denied error message when trying to delete any files or copy files between folders and/or the storage card on the phone.
- You do not have permission to download that type of file in Internet Explorer when trying to download any files.
- No programs show up in Remove Programs.
- Installation Unsuccessful error messages when trying to install any applications.
- ActiveSync will fail with an error message that you should start the troubleshooter.
It might have something to do with F-Secure I installed, and tried to uninstall (which ofcourse is impossible, since no programs show up in my installed programs/delete programs list). However, tons of ppl have had the same problem before so it has probably have nothing to do with F-Secure.
Now about the famous fix (which can be found for example here).
It's not working for me. Yes I tried this fix like 10 times, exactly like its written, sometimes a bit different, not using bold but Italic etc etc. I find #12 an inconsitency for example, since shutting it down and THEN doing a soft reset doesnt make any sense to me. Anyway I did like it said, and I still have all the problems I've had before.
My question: is there anyone that has had this bug before and DID fix it, or is there anyone that knows how to fix it after all? Or, last but not least, is there someone willing to rewrite the fix in uber noobish language, step by step, that might help me fix this. I'm quite desperate and totally not looking forward to hard reset my device. Thnx in advance
Some device information:
ROM Version: 1.93.404.1 NLD
ROM Datum: 07/10/08
Radioversion: 1.00.25.05
Protocolversion: 52.29.25.12H
Dutch provider Hi
No new roms installed, flashed stuff nothing. Just tweaks and programs installed.
I'm wondering if I should leave it like it is now and be patient for replys, or move/recreate this topic somewhere more "windows mobile"-like, since it might have something to do with the OS itself, and not just my kind of mobilephone ...
Sorry to hear your problem. I'd came across the problem once and YES the fix doesn't cure all the problem.
Luckily i've backup my PDA using sprite before the problem starts. What i did: 1) Hard reset the device. It will CLEAR ALL the memory and restore to factory default.
2) Reapply my first backup. (if you have it, if not, just reinstall everything). Remember though your backup in activesync might not be sync again! - that what happen to me. Luckily i have a copy in my Hermes.
3) My PDA is back to normal!
4) Careful when you modding your PDA. Just don't get mad to those that tries to help, some might not work on your device depends on what ROM you're/they're using. If anything goes wrong, just accept the fact that its your fault and -ALWAYS- have a backup ready. Just Hard Reset.
And I'm sure you're familiar with the lack-of-a-backup-till-I-need-it thingy ... I'll go mayhem on MSWM if I'm losing my photos and texts ... Contacts I can copy or just rewrite, but damn, my photos :s Thnx for the reply tho.
If you keep it synced with your computer/outlook, there shouldn't be much of a problem.
Ever since my first WM device, I've kept a list of all changed settings, etc. A hard reset isn't really that big of a deal. You do it, reinstall a few apps you had, change some settings from the cheat sheet you keep, sync with outlook, and you're good to go.
Think of your Diamond as a slave device to your regular PC. Sure, you apply a few tweaks to it, but other than that all your data should be on your PC.
Yeah and foto's and text messages and contacts ?? All gone, hard reset not that much of a deal I find it quite frustrating =(

[Q] the device is unable to boot

"the device is unable to boot because either you have turned off the device incorrectly or tried to install an application from untrusted source.
press volume up to reset your device or press any other botton to cancel
this operation will delte all your personal data......"
the above messege is my subjected problem. whenever I do fresh hardreset and after that install any new software and do reset this messege come to my face....
any there anything to correct it........
Actually it was perfect once a months ago but then I suddenly tried to change sim of my mrs. It started to giving me problems... 1st it was not taking any sim even my already working sim, then I repaired it from market now
1) very less battery timing
2) and take too much time to boot
3) every new app installation gives subjected error.
4) not Rom flashing, stuck at 0% (this problem is older than subjected)
5) Network Signal fluctuation
6) After closing call, it hangs up a little bit....
so much problems I have, Please any solution would be appreciated....and thankful to bear my long magazine size issue....
SDKcert - software developers kit certificate(s)
It's the first application I install;
SDKcerts.cab
If you want to remove it..
RemoveSDKcerts.cab
You will need this to run certain applications and carrier settings (most notably Orange cq T-Mobil).
Do you know what an SDK is? its a developers pack. Do you know what a signed program is? Commercial programs are usually signed. certifying their integrity. Most freeware isnt. Problem is the phone is picky about allowing unsigned apps, or programs modification of signed apps. SDKcert is a developers certificate so the phone accepts unsigned apps and allows modification due to development status. Many programs you use NEED sdkcert installed for them to be allowed to run.
Hope this helps,
Senax
Very sorry to say, the problem is still there even installed your suggested-SDKcerts.cab after hard reset but still receiving same problem.
Actually I repaired my mobile and after coming from repairer shop its giving me following problems:
1-mobile booting speed very slow (sleeps on Touch DIAMOND2 screen about 3,4 minutes)
2-after coming to home screen gives many times the error (We're Sorry..."A problem has occurred with device.exe")
3- after installing any new software (those installed and worked without giving any error before repairing) gives the subjected error..
Thanks for your reply and hoping to get more help from you and other peers
Then lets move to file information!
Helle again,
Via PEinfo (Portable Executable) one can obtain information;
Features:
- Information about PE files (executable file and dll in Windows and WindowsCE)
- Shows from what dll depends executable file
- Auto detect some other files *cough*
- Hexviewer
- Image / extraction of resources (icons, images, sounds, dialogs, etc.)
- Determine the processor type and operating system for the assembled file ​ - The program analyzes the resources and applications for Pocket PC
- Information about required to run the modules (DLL) and check their availability ​ -=[can help find the cause of a system message "Can not find file or one of its components," attempting to start the file]=-
- Automatic determination of more than 350 file types, other than PE
Dependency Walker (Win32) is a freeware program, with which you can view several file extentions their dependencies.
Use it when your device is cradled
Success and let me know if these linx helped for you..
Senax
Sir, Senax! what is this? I really don't understand it, I need my system to start without giving this error how can I rid off from this, Can you please tell me how is it possible. Can you please tell me in a simple way if you are experience of this software that how this software can help me to solve my problem

Categories

Resources