Everything Motorola Q  
Home Motorola Q Store Moto Q Software News Motorola Q Reviews Moto Q Forums Q Social Moto Q FAQ Contact Us Everything Q RSS feed


Go Back   Motorola Q Forum | Everything Q > Moto Q Smartphones > Moto Q 9h

Notices



Palm CES Event live


Reply
 
Thread Tools Display Modes
Old 08-23-2008, 02:15 AM   #1 (permalink)
 
madmartian's Avatar
 
Join Date: Nov 2007
Posts: 53
Thanks: 0
Thanked 2 Times in 2 Posts
madmartian is on a distinguished road
Default Can't overwrite read-only files on Windows Mobile 6.1

This may be the same as on 6.0. I try to overwrite a read-only file (specifically CHome_320x240.cpr) on the q9h and I get the error:

"CHome_320x240.cpr could not be placed on the device. You do not have permission to create this item."

I already made the following registry change to enable overwriting and moving of Start Menu files:

HKEY_LOCAL_MACHINE\Security\Policies\Policies\0000 1001
Changed from 2 to 1

I also tried these two settings recommended elsewhere:

HKEY_LOCAL_MACHINE\Security\Policies\Policies\0001 005
changed from 16 to 40

HKEY_LOCAL_MACHINE\Security\Policies\Policies\0001 017
changed from 252 to 144

No luck. I also can't change the read-only status or delete the file from the Q.

What else do I need to do?
madmartian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 08-23-2008, 02:44 AM   #2 (permalink)
 
Join Date: Aug 2008
Location: Pullman WA
Posts: 170
Thanks: 7
Thanked 21 Times in 20 Posts
k_semler is on a distinguished road
Send a message via MSN to k_semler
Default

Download EnableRAPI.zip (Enable Remote Application Programming Interface) from Microsoft, unzip it, and run the *.bat file with administrator privileges, (if using Vista). Leave the command prompt window open when editing the file contents of your MOTO Q9h. Close the command prompt window when done.

Enable RAPI Instructions

Last edited by k_semler; 08-23-2008 at 02:47 AM.
k_semler is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-23-2008, 03:41 AM   #3 (permalink)
 
madmartian's Avatar
 
Join Date: Nov 2007
Posts: 53
Thanks: 0
Thanked 2 Times in 2 Posts
madmartian is on a distinguished road
Default

Quote:
Originally Posted by k_semler View Post
Download EnableRAPI.zip (Enable Remote Application Programming Interface) from Microsoft, unzip it, and run the *.bat file with administrator privileges, (if using Vista). Leave the command prompt window open when editing the file contents of your MOTO Q9h. Close the command prompt window when done.

Enable RAPI Instructions
Security Policy 00001001 is the RAPI policy, as shown here:

http://msdn.microsoft.com/en-us/library/ms889564.aspx

I think this error from Resco Explorer may explain more when I try to delete the file:

"File \Windows\CHome_320x240.cpr is in ROM memory! You cannot delete it."

I don't know how folks are overwriting it.
madmartian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-27-2008, 11:18 PM   #4 (permalink)
 
Join Date: Dec 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
stasis is on a distinguished road
Default

I dont get why I cant copy most files from the windows directory, mostly all exe and dll get access denied when I try to copy to desktop. I want to extract icons in order to use them on the sliding panels. I tried the enable rapi and using Security Config Manager to totally disable security but still nothing...
stasis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-02-2008, 05:48 PM   #5 (permalink)
 
madmartian's Avatar
 
Join Date: Nov 2007
Posts: 53
Thanks: 0
Thanked 2 Times in 2 Posts
madmartian is on a distinguished road
Default

By the way, I tried that EnableRAPI app and it didn't work. I think that's mainly for unlocking the registry and start menu, which I've already unlocked via the registry.
madmartian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-07-2008, 01:37 AM   #6 (permalink)
 
madmartian's Avatar
 
Join Date: Nov 2007
Posts: 53
Thanks: 0
Thanked 2 Times in 2 Posts
madmartian is on a distinguished road
Default

With Windows Explorer in Vista I got the Access Denied message. I also got this when running Total Commander in Vista. I was able to copy the file to the memory card and then use Resco Explorer on the device to MOVE the file. I got a warning that the file is in ROM and could be dangerous to overwrite, but I accepted the move anyway. Now the phone will not boot! I only added one line to the CPR file after the DATE line:

<Text ID="Day of Week" Left="65" Top="83" Width="110" Height="19" FontFamily="Segoe Condensed" FontSize="9" FontStyle="Bold" Wrap="False" HorizontalAlignment="Right" Trimming="EllipsisCharacter"></Text>

I did not remove anything. This alone would not kill the boot process. It appears replacing the file CHome_320x240.cpr in ROM killed the boot process (frozen on the "MobileOperator" screen). I tried removing and re-inserting the battery. I also tried Z E on - still freezes.

Questions:

1. Why did this happen?
2. Can I fix this without reformatting the phone?
3. How can I replace the cpr file without killing the phone?
madmartian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-08-2008, 07:25 PM   #7 (permalink)
 
madmartian's Avatar
 
Join Date: Nov 2007
Posts: 53
Thanks: 0
Thanked 2 Times in 2 Posts
madmartian is on a distinguished road
Default

Ok, well, I'm not entirely sure what happened, but after hard-reseting the phone again it worked this time. I determined there was a typo somewhere in the CHome_320x240.cpr file that killed the phone. I started over and got it working! Here's the thing - when Vista first tries to overwrite the file, indeed there is an "access denied" message. However, you can save the file somewhere else on the Q and then use Resco Explorer on the Q to MOVE the file. It will prompt you to overwrite and warn you that overwriting ROM could cause trouble, but it will work. From that point on when you want to update the file you can use Vista to overwrite it directly! Just watch out for syntax errors! I have now shortened the panels so I can see all status updates on the screen at the same time.
madmartian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT -5. The time now is 08:00 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Integrated by BBPixel ©2003-2009, jvbPlugin
Android forums

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33