Possibility of Outlook on RT8.0? / Outlook appeared in Windows Update - Windows RT Development and Hacking

Well, yesterday my XPS10 told me that they are some updates available. After checking list I noticed... Outlook on the list. But I have Win8.0, so that was werid.
Anyway, after updating and reboot there was no outlook... so I started investigating. And look what I found in installed updates, and in Software Distribution folder:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After unpacking cab from inside it, fixing file names (a few had numbers _001 _002 and so on after extension) trying to run outlook gives "Cannot start Microsoft Outlook" message. I hope that this it related to some not registered DLLs, maybe missing registry keys - maybe someone who has better knowledge than me can try to work on this?
I'm attaching here outlook-x-none.msp file that contains this cab extracted on the 2nd screenshot. As it's untouched update, I'm sure that's no problem.
http://kitor.pl/software/windows_arm/outlook-x-none.msp

kitor said:
Well, yesterday my XPS10 told me that they are some updates available. After checking list I noticed... Outlook on the list. But I have Win8.0, so that was werid.
Anyway, after updating and reboot there was no outlook... so I started investigating. And look what I found in installed updates, and in Software Distribution folder:
After unpacking cab from inside it, fixing file names (a few had numbers _001 _002 and so on after extension) trying to run outlook gives "Cannot start Microsoft Outlook" message. I hope that this it related to some not registered DLLs, maybe missing registry keys - maybe someone who has better knowledge than me can try to work on this?
I'm attaching here outlook-x-none.msp file that contains this cab extracted on the 2nd screenshot. As it's untouched update, I'm sure that's no problem.
http://kitor.pl/software/windows_arm/outlook-x-none.msp
Click to expand...
Click to collapse
I haven't checked but I have a feeling that Outlook RT on 8.1 has both certs for 8.0 and 8.1 so it would work on both. Paul Thurrot has a version for 8.0 that has both certs at least.

Would certificates even matter if the device is "jailbroken"?

They shouldn't, but even without running jailbreak I have the same message when trying to run outlook, not the usual that file is not signed. And as @jessenic written, Office files has got two cetrificates, so then we shoud be able somehow to get Outlook running on RT8.0

I noticed something about Outlook in my updates too.
jessenic said:
I haven't checked but I have a feeling that Outlook RT on 8.1 has both certs for 8.0 and 8.1 so it would work on both. Paul Thurrot has a version for 8.0 that has both certs at least.
Click to expand...
Click to collapse
It's too bad they don't offer it as a download somehow, even if it's only through something like software assurance program, or msdn, etc. I don't want to update to 8.1 as I need the jailbreak, but wouldn't mind giving outlook a shot. I wonder where this Paul Thurrot got his copy...

There's another update for Outlook. About copying files - I just done copy from 8.1 and replaced folders in Program Files and Common Files with 8.1 ones - it still works the same. So they are two options (as I just compared files with desktop office 2013 and seems that all needed ones are there):
1. problem is in registry
2. there's somewhere in source code if(windows_version != 8.1) fail;
After installing all updates on 8.0 and 8.1 and then replacing office on 8.0 (and adding some registry keys from desktop one - don't know if that changed anything), Outlook is starting! But fails with error that it can't register vbscript.dll. I'll investigate that later. Still, this shows that it can work on RT8.0.

Sadly, registering vbscript changes nothing. Importing all registry changes from desktop Outlook 2013 also. By starting mail setup cpl from office directory some functions are not working, one gave me error code that (some) class is not registred. Running regsvr32 on all dlls from office directory also doesn't help.
On first start (or after language change) trying to run outlook gives only error message from first post ("cannot run microsoft outlook"). Second run goes to this screenshot from post before.

Maybe you need dll and registry files from 8.1RT?

Yes and no.
By tracking changes in x86 Win8 after installation of Office 2013 (only Outlook component) I got list of all files that are located outside Office directories (truth is that we are talking about a few mfc dlls). And files that exists on 8.1RT exists too at 8.0RT, they are identical in terms of executable (differs just in second signature added in 8.1) and replacing them changes nothing.
Registry is sadly more complex thing - as desktop Office did approx. 3000 (yep, three thousand) registry entries.
As I'm going to reinstall OS after finals (I screwed Office registry anyway), I'll try to do some hacks later. I think about replacing Office files before first run.

kitor said:
There's another update for Outlook. About copying files - I just done copy from 8.1 and replaced folders in Program Files and Common Files with 8.1 ones - it still works the same. So they are two options (as I just compared files with desktop office 2013 and seems that all needed ones are there):
1. problem is in registry
2. there's somewhere in source code if(windows_version != 8.1) fail;
After installing all updates on 8.0 and 8.1 and then replacing office on 8.0 (and adding some registry keys from desktop one - don't know if that changed anything), Outlook is starting! But fails with error that it can't register vbscript.dll. I'll investigate that later. Still, this shows that it can work on RT8.0.
Click to expand...
Click to collapse
Would you be willing to provide registry keys for Outlook? I don't have them, and I am running Windows RT 8.0. I would be happy to help out in getting Outlook to work

I'll look if I still have them somewhere, but I can also provide you full registry dump from 8.1

kitor said:
I'll look if I still have them somewhere, but I can also provide you full registry dump from 8.1
Click to expand...
Click to collapse
I bet a full registry dump would work.

Here is what I get when I open outlook. If it asks to run setup again, maybe someone has the setup for Office RT...
[EDIT] I copied all the office registry files from my Windows Server 2012 R2 machine and now I am getting the VB Script DLL error

I never seen this error. But google finds something about wrong permissions to registry keys - maybe it's worth checking?
I'll upload registry later, as it's quite big (200mb afair).
But I'm just trying other thing. As I screwed up OS a bit, I restored clean 8.0 image, but before first boot I replaced all Office files with RT8.1 ones. Now I'm going through OOBE, then I'll try to run outlook.
[e]
Ok, first run: Cannot run Microsoft Outlook
2nd run: the same message as yours
<here I imported some registry keys from 8.1)
3rd run: gui starts with Vbscript.dll not registered error.

kitor said:
I never seen this error. But google finds something about wrong permissions to registry keys - maybe it's worth checking?
I'll upload registry later, as it's quite big (200mb afair).
But I'm just trying other thing. As I screwed up OS a bit, I restored clean 8.0 image, but before first boot I replaced all Office files with RT8.1 ones. Now I'm going through OOBE, then I'll try to run outlook.
[e]
Ok, first run: Cannot run Microsoft Outlook
2nd run: the same message as yours
<here I imported some registry keys from 8.1)
3rd run: gui starts with Vbscript.dll not registered error.
Click to expand...
Click to collapse
Ok. Microsoft has an article http://support.microsoft.com/kb/961100 that says there is a bug where Outlook cannot translate your name to ANSI if your Windows username contains Unicode characters.
I am going to create a new local user and see where that goes.

syn3h said:
Ok. Microsoft has an article http://support.microsoft.com/kb/961100 that says there is a bug where Outlook cannot translate your name to ANSI if your Windows username contains Unicode characters.
I am going to create a new local user and see where that goes.
Click to expand...
Click to collapse
I already checked that, and this goes to nowhere Also, I done some DLL Hell analysis using dependency walker (working on RT dlls) and seems that everything is there.

I've copied Office from WinRT 8.1 to the microSD card and when it starts I get a blank error message that said nothing but "9". After I dismissed the message, Outlook froze and I had to force it to stop from Task Manager. I re-opened Outlook (from SD) and got the DLL error again. I'll check the system log and see what "9" means... :fingers-crossed:

Today Office SP1 showed in WinUpdate. Update cab is almost 250MB and it contains all files... is there any possibility of obtainig configuration from MSI installer (which file from cab goes to where, registry entries, etc)?

kitor said:
Today Office SP1 showed in WinUpdate. Update cab is almost 250MB and it contains all files... is there any possibility of obtainig configuration from MSI installer (which file from cab goes to where, registry entries, etc)?
Click to expand...
Click to collapse
I believe the downloaded update cabs are stored in
Code:
C:\Windows\SoftwareDistribution\Download
Is that correct?
I know (for the most part) cabs can be opened like any archive with a program like 7zip. I will download and attempt to decompress it and see what all is inside

Yes, they are stored there. No, they are no cabs, but executable Windows Update files (really, MSIs with other exension). Inside of it there's cab file with all updated files, but there's no directory structure - OS must somehow know what files put where, so there must be some list embedded in this MSI installer.

Related

I-Mate SP5 Low Memory

Does anyone know any way to store all contacts,emails and text messages to the mini-sd card on the SP5.
I don't seem to be able to find an option to do so.
Thanks
You can't. All those databases are stored in internal memory, and cannot be moved to the miniSD card.
Found this on another forum and it works perfectly have sync'd all my mail and attachments to the SD Card :
Email & Attachments on Storage Card
Forgive me if this has been posted before. Or if you all know this. I used to do this on my PPC before I got my smartphone (sp5). I just tried it to see if it would work and it does
Create the folders on your Storage Card '\Storage Card\Inbox' and the subfolder '\Attachments'
Import the registry keys as below. (try Registry Workshop and you can connect to Mobile device registries from your PC and import reg files. This saves having a Registry editor installed on the phone and typing on the device). If you are entering these keys manually rather than importing a *.reg file only use single slashes for the paths. Restart your device after doing this.
CODE
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\MAPI]
"AttachPath"="\\Storage Card\\Inbox\\Attachments"
"PropertyPath"="\\Storage Card\\Inbox"
This not only puts email attachments onto your storage card but puts all the *.mpb files which make up items in your Inbox onto the storage card too. This means I now sync the last month of complete emails (1362 of them!) from all folders on my Exchange server and it doesn't make a dent in the phone memory.
For anyone that needs it here is the reg key attached just import it into the registry of the SP5
tis a text file here, just open it and re-save it as map1.reg and you got the reg key you need.
Very informative!!
mitchello said:
You can't. All those databases are stored in internal memory, and cannot be moved to the miniSD card.
Click to expand...
Click to collapse
Anything can be moved to external storage with a few registry tweaks. What you have to consider is decreased performance on those moved items vs. having additional memory resources available internally. :wink:
can we have more details how to save e mails on card?
guys, I am a little slow on this. can someone pls write down a step-by-step how to do implenment? or at least specify to what directory map1.reg should be saved for this to work?
SP5 wont put e mails or attachment on storgage card
I followed the instructions as given (created the folders on the card and imported the reg file to the registry using Registry Workshop). My SP5 does not put e mails & attachment on the storage card. (I rebooted the device, deleted the e mails on the device and resyched, but no go.
I recently upgraded ROM to 2.5.331.2 could this be the issue?
anh help or hint will be much appreciated.
anyone know how to put Contacts on the storage card in SP5?
anyone know how to put Contacts on the storage card in SP5? any help appreciated.
HelP!
I downloaded Woody's text file, saved it as map1.reg, and using Registry Workshop tried to import it into the SP5 Registry (connected to mobile).
I got an error message saying, "Cannot Modify Value...Access is Denied" the the contents of the key were displayed (\...\Attachments)
Any ideas what I did wrong?
Yale
I get the same result. I guess Woody's file and instructions are incorrect or incompele. Either way, it does not work. We need to wait until someone figures this out correctlyand puts it on the web. (It would be good if people refrained or at least disclosed when their solutions are untested.)
Well, I don't know Ramy...it appears that there have been 56 downloads of Woody's txt file and it seems that only you and I couldn't get it to work. That leaves 54 people who, presumably, did get it to work
COULD ONE OF YOU who did get it to work, please help us woefully ignorant types? :lol: pRETTY pLEASE?
Yale
(MDR)
There is one problem on pointing to Storage Card regarding PIM, because the system tries to open the database BEFORE mounting the Storage Card...
In the Tornado, if you change the registry settings for the PIM database, it will block during startup .If you wait about 10minutes, it will start but no PIM info is displayed in your Home screen, among other strange behaviors--- :x
So does anyone know what controls the startup process?
If so we could potentially get this workinh after all.
RamyG said:
I get the same result. I guess Woody's file and instructions are incorrect or incompele. Either way, it does not work. We need to wait until someone figures this out correctlyand puts it on the web. (It would be good if people refrained or at least disclosed when their solutions are untested.)
Click to expand...
Click to collapse
You're on a developer forum, this is a "lab" environment.
Be thankfull that someone is going out of their way to try and assist.
"...There is one problem on pointing to Storage Card regarding PIM, because the system tries to open the database BEFORE mounting the Storage Card..."
The answer posted elsewhere is to disable Messaging on Today screen
"...Due to the fact that Today plug-ins are initialized earlier than the storage cards become available, to avoid the Storage Card2 problem you must disable the Messaging Today plug-in. To do this, go to Start/ Settings/ Today/ Items and uncheck Messaging..."
http://www.pocketpcmag.com/blogs/index.php?blog=3&title=this_is_how_you_can_store_your_activesyn
I haven't tried this yet but intend to when I upgrade my T-Mobile MDA Vario to AKU2 ROM.
Shemesh
OS RegTweaker is suppose to do so. Only I can't change those options ? But this is still in beta stage.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
MyDogReese said:
HelP!
I downloaded Woody's text file, saved it as map1.reg, and using Registry Workshop tried to import it into the SP5 Registry (connected to mobile).
I got an error message saying, "Cannot Modify Value...Access is Denied" the the contents of the key were displayed (\...\Attachments)
Any ideas what I did wrong?
Yale
Click to expand...
Click to collapse
U should unlock u smart registry...
follow instructions..
HKLM->Security->Policies->Policies
here u should change some values:
00001001 DWORD=2 change this to 1
00001005 DWORD=16 change this to 40
00001017 DWORD=128 change this to 144
and finaly add new DWORD
0000101b with DWORD=1
Somehow i cant attach rar file with the proper registry editor, that should not give u "Access Denied" error while adding new record to registry. So if u'll need it pm me ur email.

I have an interesting problem with WM5 Excel files

I just got an HTC P3300 with WM5. I installed Active Since 4.2 (I believe) and started to sync my files. I use a few very important Excel files. They sychronized to the phone, no problem. But when I try to edit them on the phone and save, I get the following error: "Unsupported content and formatting may be lost if you save this workbook. ..." All I have to do is change one character and I get this message. The problem is that it only gives me the option to save as a new document, cancel or discard changes. I now have 4 versions of the same document. It's a real PIA! Anyone know how to resolve this?
BTW: I'm using XP Home with Excel 2002.
Partial resolution
Well, I found out that there is a way to avoid creating another file. Simply rename the new version with the same name and it will just replace the old one. It's still a pain to have to do that every time I want to edit a document but I guess I'll have to live with it.
Strange thing is, my wife has WM5 on her Wizard (MDA) and used to sync with an old version of ActiveSync (probably 3.7 or so) and she never had this problem until she upgraded to ActiveSync 4.2. I tried to download 3.7 and use it, but it wouldn't even recognize my device. Had a bunch of sofware issues trying to download it also. So, I'll just live with the extra step to save an edited file on WM5 Excel.

Import Bookmarks from ΙΕ/Firefox into Opera Mobile 9.5

I've noticed many users asking how to sync their IE/Firefox bookmarks on their PC with the Opera Browser included in the latest devices. I decided to look into it a bit and see if I could find a quick and easy way of doing it. First of all there is no way to Sync with the device because ActiveSync/WMDC only supports IE Bookmarks and of course Microsoft will neve aknowledge the existence of any other browser.
OK, so the idea is pretty simple. We convert our bookmarks from whatever browser we use, into Opera browser format and then we move them to the device:
1. First step is to download this very nice, open source, and free programme called BookMarkBridge (http://bookmarkbridge.sourceforge.net/downloads.html) and install it on your PC.
2. Open up the application:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You will notice it contains a source browser section and a destination browser section.
3. If the browser you wish to use is not on the list, simply click on Add in the corresponding section to add it. Needless to say that if you want to remove a browser from the list, you have to select it and click on delete:
In the exaple below I have selected Firefox as my source and Opera as my destination browser.
4. Click on the settings button on the program's main page to change the settings for each browser. There you will be able to modify the bookmark file paths.
You do not need to have Opera installed on your machine to make this work. Simply create a new text document in the folder of your choice and rename it to Opera6.adr. Then simply select this file as the Opera bookmark File.
You will also notice that right underneath the bookmark file path is an option that will prevent this file from being edited. What this program actually does is combine/merge the bookmark files. First it will read all bookmarks contained in the source browsers and then combine them in one list. It will then save that list in the correct format in the destination browser's bookmark file. For example, if the source browsers are IE and Firefox and Opera is the destination, it will create an Opera6.adr (in the select path) that will include the bookmarks from both browsers.
5. Clicking on the View button on the program's main page, you can see a list of the bookmarks contained in the source browsers and you can select to ignore the ones you don't want moved to the destination browser.
6. Last but not list, clicking on Merge will begin the process. Once completed, all you need to do it take the Opera6.adr from the folder you selected in the settings, and copy it to the \windows\Opera9 folder in your device.
An alternative application:
vbBKM (BookMark Manager) Not hard to use either, includes import and export features.
This is GREAT info, preparing to get my in-transit XPERIA X1 all synced up, and getting my Firefox bookmarks into Opera was one of my to-do's! Thank you!
You're welcome
Question: so I exported my bookmarks into the adr file, and I see the existing adr in the /Windows directory (there is no Opera folder...), but it doesn't let me delete it. How do I go about replacing the file itself?
IF this is the opera addressbook file, you could copy the one you created on your PC to the storage card and use either Resco Explorer or Total Commander to overwrite the file (in case it doesn't allow you to do so with the built in File Explorer).
Ah, I was copying to the wrong location.
There's an opera6.adr file in \\Application Data\Opera -- THAT's where it goes.
But now I'm seeing only the first three bookmark folders I had, and they are being duplicated twice. The rest of the folders are missing -- if I open the adr file on my PC using notepad I see all the bookmarks are there, but the device isn't showing them.
Does Opera have some kind of limitation as to how many directories can be displayed?
I honestly can't tell you. I noticed a problem like the one you're describing when I was trying out different converters. I've tested the ones above on my HTC Diamond. Which device are you using?
Xperia X1.
I opened up the opera6.adr that the browser was creating, not the one the converter was creating, and noticed it looked very different... I dont think these apps are exporting into a format Opera Mobile is looking for?
Well if they weren't would it be working on my Diamond? Can you tell me which version of Opera you are using? Which converter did you use? Is there any chance you could send me the adr file to check it on my HTC?
Opera 9.5, build 2141 - the built-in Xperia version
I tried this with both converters.
matthewf01 said:
Opera 9.5, build 2141 - the built-in Xperia version
I tried this with both converters.
Click to expand...
Click to collapse
joannaex - thanks for posting this, I've been looking for a way of doing this too, but had similar trouble to matthewf01.
I had a look at the file the bookmark bridge generated and compared it to the original one from my Diamond and there is a difference in the file format. I got it working in the end my manually editing the file, from memory (at work now, was doing this at home) there were a couple of missing attributes ID and CREATED and rather than URL= it had URL== with a double equals sign, same was true of the other attributes.
I keen to have this automated, so I might crack open the Bookmark Bridge source (it's on Sourceforge) and add a new option for the Opera browser that's on the Diamond.
Joannaex - now idea how it works on yours? maybe you have a different ROM and hence a different version of Opera?
I have the original Shipped 1.93 ROM. I will try and do some tests on the Touch 3G and HD and report back.
hello
i managed to put it on my x1
you need to install opera 9 on your pc
import bookmarks from in my case mozila to opera save it anywhere
copy/replace that file to app/opera on your mobile
that's it
job done
Good luck
matthewf01 said:
Ah, I was copying to the wrong location.
There's an opera6.adr file in \\Application Data\Opera -- THAT's where it goes.
But now I'm seeing only the first three bookmark folders I had, and they are being duplicated twice. The rest of the folders are missing -- if I open the adr file on my PC using notepad I see all the bookmarks are there, but the device isn't showing them.
Does Opera have some kind of limitation as to how many directories can be displayed?
Click to expand...
Click to collapse
I have the EXACT problem too!! I can only see one folder and it's duplicated 4 times. I don't see my other bookmarks at all. When i go into the folder, i can only see "SOME" of the boomarks in it, e.g. if i have a list of 100 bookmarked links in it, i can only see about say 30 or 40.
I'm using HTC Touch Pro running Windows Mobile 6.1 and running Opera 9.5 build 15306.
I haven't done any modding or hacking to my phone at all, everything is running at stock or default.
ya i was looking for some info like this...
thanks for sharing this info with us....
Another way found in this page:
casouzaj said:
The desktop version of Opera is able to import its Bookmarks from IE's Favorites, which are stored in file 'Opera6.adr' at 'C:\Documents and Settings\<user>\Applications Data\Opera\Opera\profile" on your PC. Just copy this file to the Opera directory in your PPC. You see, I don't have Opera Mini installed on my 9502, but I think it should work.
If you want PIE's Favorites instead, just sync them with your PC, prior to importing Opera's Bookmarks.
Just my 2 cents..Cheers!
Carlos
Click to expand...
Click to collapse
In addition, if you are using the official non-branded version like Opera Mobile 9.51B2 or the latest 9.7B1, it has the buildin function to Import PIE Favorites on First Launch. In case you want to syncronize after first launch, in opera address bar, type: opera:config and hit enter, then in the config page tap Install, then in the extended list, check the box for 'Browser First Time Launch', then hit Save. After exit & relaunch Opera, the bookmarks from PIE will be syncronized.
Some other way is to use Opera Link.
awm said:
joannaex - thanks for posting this, I've been looking for a way of doing this too, but had similar trouble to matthewf01.
I had a look at the file the bookmark bridge generated and compared it to the original one from my Diamond and there is a difference in the file format. I got it working in the end my manually editing the file, from memory (at work now, was doing this at home) there were a couple of missing attributes ID and CREATED and rather than URL= it had URL== with a double equals sign, same was true of the other attributes.
Click to expand...
Click to collapse
That's what I had to do to get it working after many trials with many bookmark syncing tools but nothing worked, in the end I opened up the 2 bookmark files (the one the tool generated and the one opera mobile was using initially) and compared format and did alot of find/replace, but it worked it end
I have a different problem.
I choose Firefox as source browser -> OK
than I click on "View bookmarks in source browsers" and I see non of my bookmarks but several default bookmarks from that browser?!?
Can anybody help?

APK Edit v0.4, allows you to edit your apk file

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download​
Buy me a beer​
The download is based on old source code, I don't have that source anymore due to a hard-disk failure.
I'm rebuilding the application as a open source project.
Source code C# version (Windows)
Source code Java version (Windows / Mac OS / Linux)
With this little program you can simply change icons of your android application.
It even lets you change the applications name.
But wait mike..... there's more.....
It even lets you edit the text used in applications.
Sounds to good to be true...
Well... to be honest.... it is.
But I've come a long way from that initial question to the final answer.
My conclusion so far, it works for most of my applications.
It probably will work on most of yours as well.
(Caution: when overwriting an existing application you will loose your associated data!!!)
Special thanks goes out to:
Brut.all for creating Apktool, the backbone of this little project.
Requirements:
Java & .Net Framework 3.5 (Why build on one platform if you can build on two? I know, I know....)
For installing system apps - S-OFF
Nice to know:
Clicking on the [Icons:] tag in the General tab will open a browser window and search for icons in "Google images".
Donations will be "forwarded" to fellow developers like Brutt.all and others, reinforcing the greatness of today's world.
How the magic works:
When opening an APK file it first tries to decompile it using APK Tool (with the version selected in the settings tab)
If decompile failed, because of a missing framework file, it tries to find this file on your phone.
Most of the times it will find what its looking for, pull it off your phone and tries to recompile the whole thing again.
If somehow it cannot find the required framework file, it will provide you a list of possible files on your phone. You can then choose the correct file yourself.
Assuming this process finishes without any problem you now can edit the apk file.
When you press Apply it will recompile the apk and then sign the newly compiled file.
- System APK files (APK files that needed an additional framework file) will get a copy of the original signature.
- Other APK files will get a brand new signature.
When you Click the phone animation it will push the APK to your phone
- System APK files will be pushed to /system/app (ADB PUSH)
- Other APK files will be installed the normal way (ADB INSTALL)
If install failed due to some signature failure it will do some additional fancy tricks and try it again.
Upcoming features:
New option in settings tab -> Only allow one instance of APK Edit to open at once.
New option in settings tab -> Add/remove APK file association to registry.
New option on startup -> Option to open up a "Phone Explorer", lets you edit APK files directly from phone.
Known issues:
CarHomeGoogle.apk - Doesn't save changes
Quickoffice.apk - Doesn't show up after installing
Version history:
Code:
[I]0.4e - Minor update[/I]
Added: Some more debug logging on startup of the application.
Fixed: Version number in settings tab now shows correct version.
[I]0.4d - Minor update[/I]
Fixed: Fixed startup crash if some APK properties are empty (like screensize/densities/locales), like in Settings.apk.
Fixed: A little bug in the fancy install mechanism, mainly experienced when installing system apk's
[I]0.4c - Minor update[/I]
Fixed: Compatibility issue with Windows XP, causing program to crash on startup.
[I]0.4b - Minor update[/I]
Fixed: Error extracting signature.
Changed: Extended logging.
[I]0.4a - Minor update[/I]
Changed: Logging is enabled by default.
Added: Some debug messages for when opening of apk goes wrong.
[I]0.4 - Major rewrite[/I]
Did a major rewrite of the code.
Added: Option to choose APK tool version
Added: Logging feature
Added: Auto retrieve required dependency files from phone if needed (for editing system apps)
Added: Details panel, shows information about the package.
Added: Restore original file link, for when thing's get really messed up.
Added: Donate button, for those who wanna celebrate with me.
Fixed: Some annoying issues ([URL="http://code.google.com/p/android-apktool/issues/detail?id=100"]APKtool Issue 100[/URL]) / ([URL="http://stackoverflow.com/questions/4709291/android-no-resource-identifier-found-for-xlargescreens"]XLargeScreens bug[/URL])
Removed: QR Code installation support
Removed: AdbWireless installation support
[I]0.3 - Update[/I]
Added: Language support.
Added: Installation method (USB Cable).
[I]0.2 - Minor update[/I]
Added: Save confirmation dialog (as req by [URL="http://forum.xda-developers.com/member.php?u=2987317"]droidzone[/URL])
Changed: Recreated the loading animation so that it theme's better with the rest of the application.
[I]0.1 - Initial release[/I]
For the record... only use on you're own apk files, otherwise it's not that legal I think.
Looks nice..
I got an error on one apk though..There seems to be an unhandled exception when the filename contains special characters..
Other than that, the program looks and works awesome..Will comment in detail after I decompile something major..
Thanks//
One question:
The program shows smali files below the main prog, and on selecting the folder it opens in explorer. Would changing the smali be updated in the main prog on clicking Apply? Also a dialog to say that the file has been saved with changes, would be nice.
Tnx for the input, will look into the filename handling!
In the background it recompiles the whole thing, so changes to the smali code should be included in the application if you press apply.
About that dialog.... it's being grown in its incubator now..
Think it will hatch tomorrow
Anoniem100 said:
Tnx for the input, will look into the filename handling!
In the background it recompiles the whole thing, so changes to the smali code should be included in the application if you press apply.
About that dialog.... it's being grown in its incubator now..
Think it will hatch tomorrow
Click to expand...
Click to collapse
Excellent! Thanks again, will pop in later to get the revisions
droidzone, tried out some weird combinations for the filenames but couldn't simulate your problem. Could you give an example?
When i try to open it, Windows 7 says it has stop working???
Anoniem100 said:
droidzone, tried out some weird combinations for the filenames but couldn't simulate your problem. Could you give an example?
Click to expand...
Click to collapse
I can do better.
My filename is Sample of Filename★(1.1).apk
Maybe the★ character is doing it
I've attached screenshots of the error.(Exception1.jpg)
Error Handle: The directory name C:\Users\Kpcc\AppData\Local\Temp\Sample of Filename?(1.1) is invalid.
I'm also attaching a text file with the actual error code given in the exception>Details. ( exception error text.txt)
The blanked out part is my actual username. Just an alphanumeric. Let it be Kpcc.
Edit: Got one more exception. This occured after inputting the ip of my phone in adb wireless and pressing enter. (Exception2.jpg, Exception2.txt)
max63094 said:
When i try to open it, Windows 7 says it has stop working???
Click to expand...
Click to collapse
Maybe a missing .NET framework? The filename handle is the only error I'm getting in Win 7 Ultimate 64bit. And the filename I used is of course not "normal"..
By the way, a few more items on my wishlist:
1. Advanced Search (and replace?) for strings, with ability to use F3 for finding the next instance
2. Sorting the strings/variables in alphabetical and order of occurence, and another coloumn in the content tab with the name of the smali file in which the string appears.
3. Ability to Save As, without modding the source file.
4. Adb push via cable
5. Listing all the smalis in a tab, and ability to manual edit each one individually (Opening up Notepad would be fine. Maybe a Shell "Start file.txt"?)
Just a few wishes which would make it a powerful tool..
@max63094 Hmmm, what could go wrong... think droidzone is onto somthing with his comment about .net framework.
I used the .Net Framework 3.5 to create the whole thing.
You can download this for free at Microsoft
@droidzone, tnx again for the input and will work on the file issue, nice wishlist btw!!
Stuff I get exited about
I'm afraid I can't promise you all the requested features, have to check the required ammount of effort for some of them.
Have to balance my time, you know how it is whahaha
Sorting alphabetical shouldn't be that big a problem, as for the save as and adb push via cable.
Will work on those first!
Anoniem100 said:
@max63094 Hmmm, what could go wrong... think droidzone is onto somthing with his comment about .net framework.
I used the .Net Framework 3.5 to create the whole thing.
You can download this for free at Microsoft
@droidzone, tnx again for the input and will work on the file issue, nice wishlist btw!!
Stuff I get exited about
I'm afraid I can't promise you all the requested features, have to check the required ammount of effort for some of them.
Have to balance my time, you know how it is whahaha
Sorting alphabetical shouldn't be that big a problem, as for the save as and adb push via cable.
Will work on those first!
Click to expand...
Click to collapse
Of course..I know how even the tiniest of things can go wrong in an effort which involves file i/o..I'm rather amazed that your Version 0.2 is so finished! A month ago, I was working on a Gui File Explorer for Android, with Adb and Fastboot commands..However time didnt allow me to complete it..
Have you used apk manager? That's what I use when it comes to decompiling apks. Of course once it decompiles, all the rest of functions has to be done by hand. If you havent, check it out. It's the only other program which comes close to a gui. That uses batch commands of course.
@droidzone, Yeah, time sucks! ever finished a beta?
Funny you mention apk manager.
I'm fairly new to the android scene, but i bumped into apk manager yesterday.
Looks very promising, thinking of replacing the backbone with the crazy work of our dear friend Daneshm90.
Read some interesting stuff about the compression size in correlation to compatibility it could provide.
Maybe a little slider in the settings tab, giving you a simple tweaking mechanism.
Something like:
Big size (compatible) -------------------- Small size (less compatible)
Anyhow.... my brain is making overtime here ;-)
hmm .. just took an app .. changed the icon and the title .. and uploaded it back to the phone.
App doesn't appear anymore.
What might have gone wrong?
Not even a beta. It exists as several separate modules, which have to be joined together. Work stopped when I had to give my phone for service.
Via T3 phone of the year 2010 - HTC Desire
daniello8 said:
hmm .. just took an app .. changed the icon and the title .. and uploaded it back to the phone.
App doesn't appear anymore.
What might have gone wrong?
Click to expand...
Click to collapse
Euhm... I renamed the title once and couldn't find it in its original place.
The app drawer will place icons alphabetical.
But maybe that was just me being stupid (this really happened whaha) and your app really vanished....
Is it just one app that has this behaviour?
droidzone said:
Not even a beta. It exists as several separate modules, which have to be joined together. Work stopped when I had to give my phone for service.
Via T3 phone of the year 2010 - HTC Desire
Click to expand...
Click to collapse
To be continued...
Anoniem100 said:
Euhm... I renamed the title once and couldn't find it in its original place.
The app drawer will place icons alphabetical.
But maybe that was just me being stupid (this really happened whaha) and your app really vanished....
Is it just one app that has this behaviour?
Click to expand...
Click to collapse
I only need a new icon for this one app .. so I didn't try others. Sorting is not the problem. I was hoping that someone gets a deja vu.
@daniello8, what method did u use for installing?
Anoniem100 said:
@daniello8, what method did u use for installing?
Click to expand...
Click to collapse
adb push <appname> /data/app
Edit: Just tried with astro .. but install fails :-(
Edit2: The app icon displays correctly though *fwiw*
daniello8 said:
adb push <appname> /data/app
Edit: Just tried with astro .. but install fails :-(
Click to expand...
Click to collapse
O oh... anyone...
Hmm... probably has to do something with compression levels...

Polaris Office corrupting .doc files

I've found that if i import an ms .doc file into polaris, edit it and then transfer it back to my pc, i'm unable to open the file - i get an error "unexpected error occured while reading". I get the same result whether i open it in word, wordpad, open office etc.
tried this with a few docs, even tried an factory reset, but the problem still occurs. maybe it's just a bad install on my transformer but at the moment it makes polaris pretty much unusable - if i can't sync up my documents, or send them to other people to open on their computers, then it's pointless.
has anyone else noticed this?
alan77ss said:
I've found that if i import an ms .doc file into polaris, edit it and then transfer it back to my pc, i'm unable to open the file - i get an error "unexpected error occured while reading". I get the same result whether i open it in word, wordpad, open office etc.
tried this with a few docs, even tried an factory reset, but the problem still occurs. maybe it's just a bad install on my transformer but at the moment it makes polaris pretty much unusable - if i can't sync up my documents, or send them to other people to open on their computers, then it's pointless.
has anyone else noticed this?
Click to expand...
Click to collapse
My PC is down right now, so I can't test, but I had edited a doc file that was emailed to me and sent it back without problems. Does this only happen when you edit an existing file or also with newly created docs?
Sent from my Transformer TF101 using Tapatalk
alan77ss said:
I've found that if i import an ms .doc file into polaris, edit it and then transfer it back to my pc, i'm unable to open the file - i get an error "unexpected error occured while reading". I get the same result whether i open it in word, wordpad, open office etc.
tried this with a few docs, even tried an factory reset, but the problem still occurs. maybe it's just a bad install on my transformer but at the moment it makes polaris pretty much unusable - if i can't sync up my documents, or send them to other people to open on their computers, then it's pointless.
has anyone else noticed this?
Click to expand...
Click to collapse
I couldn't get my PC to read a document I created and then transfered from the Transformer either. I could read it when I emailed it to myself and picked it back off of my email on the PC. Could be in the transfering?
DilloDroid said:
I couldn't get my PC to read a document I created and then transfered from the Transformer either. I could read it when I emailed it to myself and picked it back off of my email on the PC. Could be in the transfering?
Click to expand...
Click to collapse
tested with one excel and one doc document, didn't have any problems viewing them on PC.
Thanks for the response.
Seems to be an issue just on edited files. So it might be that the files on the PC are somehow corrupted. But then i don't have a problem editing and sending docs on my PC - it's only once edited through polaris that there's a problem.
i noticed that when i open up a doc polaris prompts me to 'remove protection' - no idea what that's about as i don't protect the files. maybe it's something to do with that.
Pretty sure it's not the transfer methods, i've tried bluetooth,ftp, drag 'n drop etc...same results.
In my line of work I have come across some interesting information about older office files (doc,xls,ppt). There was an update for office that basically broke them, if you opened an older format file and saved it corrupted them. This same problem may have gone across to Polaris.
Does Polaris allow use of the newer format files(docx,xlsx,pptx)? If so this might be a way around the problem.
Well i tried creating a new document on my PC, edited it in polaris then transferred it back and had the same problem. can't really try other file formats (odt, rtf) as polaris doesn't appear to support them. i might try a quickinstall/refund of one of the other office apps and see if the problem is replicated.
incidentally i can open the editd documents on the docs2go viewer app and i can upload to google docs. so it might be that i have an ancient version of word, but then surely open office should be able to open it ?
I had edited a file for work last week using Polaris (document file with images, headers, etc... ), so I tried opening it on my office PC using Office Word 2007 and it opens and renders perfectly.
Sent from my Transformer TF101 using Tapatalk
Ok well the problem does seem to lie with polaris. i did a quick install/refund of quick office and was able to edit docs and view them on my pc with no problems.
i've got a feeling it's to do with the 'remove protection' prompt i get in polaris, didn't get that with quick office.
maybe it's just a bad install on my device as no one else seems to have the problem. I guess i'm gonna have to call up ASUS as polaris doesn't seem to offer any support on its site.
Same probs here. Gdocs let's me view but not edit. Kword crashes, libre office can't open.
alan77ss said:
Ok well the problem does seem to lie with polaris. i did a quick install/refund of quick office and was able to edit docs and view them on my pc with no problems.
i've got a feeling it's to do with the 'remove protection' prompt i get in polaris, didn't get that with quick office.
maybe it's just a bad install on my device as no one else seems to have the problem. I guess i'm gonna have to call up ASUS as polaris doesn't seem to offer any support on its site.
Click to expand...
Click to collapse
I got that same message on the file I edited, but what I did was save a copy and worked off the copy. Not sure what the protection was, but that's what I did and it worked with opening the file on a PC.
Sent from my Transformer TF101 using Tapatalk
EP2008 said:
I got that same message on the file I edited, but what I did was save a copy and worked off the copy. Not sure what the protection was, but that's what I did and it worked with opening the file on a PC.
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
Just tried your method and it worked with one file but that didn't prompt me for copy protection, but the other file with protection still wouldn't open. also tried creating a couple of docs in polaris from scratch but they wouldn't open either. it's just far too unreliable,i can't risk using this for work.
kind of thinking, to hell with it, i'm gonna buy quick office, it may be a tener but at least it works and you can actually paste stuff into it from other apps, which polaris doesn't do.
Had exactly the same issue, could write things / edit but once i saved it.... nothing would open it. Compounded by the known issue that you can't copy n paste from polaris (why!?).
The work around I use (while considering what office app to buy) is to send to google docs.
In view mode (not edit mode) click the menu and send to google docs (you'll need to have the google docs app installed first obv. - it then imports it and you can save from google docs, or email a link to the doc.
Hope this helps.
(long time reader first time poster)
With further testing I've found older versions of MS Word and Open Office won't open files edited on Polaris - Newer versions of MS Word will.
Can anyone else test and confirm this?
I tried a trial version of the newer word and was able to open up documents edited in Polaris - but it flagged up a security warning teling me it might be unsafe to do so.
But these were older documents writtten in an older version of word so maybe that has something to do with it. It might be that Polaris isn't handling older word documents properly.
I've been using Polaris Office for school work. Any file created in or edited with Polaris Office is seen by LibreOffice as outright corrupt. Can't open it at all. I tried opening the file on the school's computers with Word (probably the latest version) and it prompted me to open the file in "Protected mode" informing me that the file could possibly damage my computer (I assume they mean it could contain malicious code or something). Seems ASUS needs to get some bug reports about this.
Yep, exactly same issue... Lucky I got a backup of the files cause, only Polaris can read them!... sucks
Hello. I am using the Endnote X5 for my thesis and it makes some automatic arrangements on doc file. When I transfer the file to my Asus, polaris reads it. But back to my PC, not! So I realized that the doc files that contain plain text doesn't make any problem with polaris.
Possible Solution
I have had the same problem.
I could still open the document on my Android smartphone but not on my computer. I am using an old version of Office 2000. My android had 2 office suites that would read the office document. Polaris Office and OfficeSuite. Polaris would not seem to save it in any other format but Office Suite let me re save it in docx format. I then synced with my desktop and was able to open the docx file with Office 2000- though you need to install Microsoft's free file converter to do that.
I use MyPhone Explorer to sync between Android and desktop. I think the issue is associated with Polaris rather than MyPhoneExplorer as I have no other problems with that. I did wonder if Polaris had changed the format to docx without changing the postscript but just changing it to filename.docx did not make any difference so the full conversion seems to be the solution.

Categories

Resources