Difference between revisions of "Patch Launcher Unhide the DeveloperMode App"

From WebOS Internals
Jump to navigation Jump to search
(added headings and note about patch vs edit)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
{{template:patch}}
 
==Introduction==
 
==Introduction==
  
Line 5: Line 6:
 
==Editing Process==
 
==Editing Process==
  
1. Root your Pre. (Follow the [[Portal:Accessing_Linux | Enabling Root Access tutorial]] for instructions on how to do this.)
+
1. Root your Pre. (Follow the [[Portal:Accessing_Linux | Accessing Linux tutorial]] for instructions on how to do this.)
  
 
2. SSH in. (Follow [[Next_steps | the Optware Package Feed tutorial]] to install and enable SSH on your phone.)
 
2. SSH in. (Follow [[Next_steps | the Optware Package Feed tutorial]] to install and enable SSH on your phone.)
  
 
3. Type in sequence:
 
3. Type in sequence:
<pre><nowiki>
+
<source lang="bash">
 
sudo mount -o remount,rw /
 
sudo mount -o remount,rw /
 
sudo vi /usr/palm/applications/com.palm.app.devmodeswitcher/appinfo.json
 
sudo vi /usr/palm/applications/com.palm.app.devmodeswitcher/appinfo.json
</nowiki></pre>
+
</source>
  
 
4. Change the line that says (press 'i' in vi to insert/edit text)
 
4. Change the line that says (press 'i' in vi to insert/edit text)
Line 28: Line 29:
  
 
Remount the file system as readonly:
 
Remount the file system as readonly:
<pre><nowiki>sudo mount -o remount,ro /</nowiki></pre>
+
<source lang="bash">
 +
sudo mount -o remount,ro /
 +
</source>
  
 
6. Restart your Pre.
 
6. Restart your Pre.
Line 34: Line 37:
 
==Patching Process==
 
==Patching Process==
  
This patch appear in the webos-internals gitorious repository [[Applying Patches]] but the patch application may or may not work with 1.1. However following the editing steps above does work.
+
This patch appear in the webos-internals gitorious repository [[Applying Patches]] but the patch application will not work with 1.1. However following the editing steps above does work.

Latest revision as of 07:10, 4 August 2009


Introduction

This patch will save you the time of not having to type out the code to access the developer mode icon to turn on and off developer mode. After following the steps here you will find the developer mode icon will appear at the bottom of the first page of the launcher.

Editing Process

1. Root your Pre. (Follow the Accessing Linux tutorial for instructions on how to do this.)

2. SSH in. (Follow the Optware Package Feed tutorial to install and enable SSH on your phone.)

3. Type in sequence: <source lang="bash"> sudo mount -o remount,rw / sudo vi /usr/palm/applications/com.palm.app.devmodeswitcher/appinfo.json </source>

4. Change the line that says (press 'i' in vi to insert/edit text)

"visible": false

to

"visible": true

5. Press ESC to exit insert mode, and save and quit vi by typing ':x' (without quotes).

Remount the file system as readonly: <source lang="bash"> sudo mount -o remount,ro / </source>

6. Restart your Pre.

Patching Process

This patch appear in the webos-internals gitorious repository Applying Patches but the patch application will not work with 1.1. However following the editing steps above does work.