10/06/2009, 08:32 AM
|
|
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,116
Likes: 464
Thanks: 90
Thanked 8,437 Times in 2,768 Posts
|
I have created a tool which will download, unpack, patch, and repack a webOS Doctor image, applying a number of transformations along the way to:
1. Bypass the need for activation 2. Enable Palm Profile access 3. Set developer mode on by default 4. Increase the size of the /var partition to 2GB See my blog post at rwhitby.net : The WebOS Internals Meta-Doctor for details. You can find this tool in the WebOS Internals source code repository at github.com The tool requires a Ubuntu Linux host to run. I encourage others to take the techniques embodied in the tool and create a cross-platform solution. This does what I need, and I'm not personally interested in creating such a cross-platform tool, but will assist anyone else who is interested. Note that using Cygwin on Windows is no longer a supported MetaDoctor option. The official Wiki pages now require you to use WUBI on Windows and follow the Linux instructions after that. The option for using Cygwin on Windows will not be reinstated. Do not redistribute modified versions of the webOS Doctor created using this tool – it is for end-user use only. Redistribution of the webOS Doctor (either original files or modified files) is a violation of copyright law. -- Rod Last edited by rwhitby; 12/26/2011 at 06:55 PM. |
|
Thanked by
abhilashit, Abyssul, abzvn, ashi, Barona4, beckmint, beezlewaxin, berdinkerdickle, bigredgpk, cashen, Compusmurf, dastommygun, daventx, diomark, Dogg006, dohtem, DrewPre, emmbea, Firestrider, fpenguin, funktron2x, gollyzila, grndslm, havatampa, inta, jhp, Jive Turkey, kaboomaboom, KallistiMan, Lala Lolita, Lildun101, maxima2k53, mhous33, Nightburn, palmdoc2005, pcworld, peterlemonjello, PrinceAlbert, pvmhien, Rennat, Rnp, robbskittles, shoe, SirWill, sunshine_girl, superduperpre, theweaselslayer, Thibaud, tihkal, tp2386, vasekvi, VasTheGreek, Veritas06, wprater, wwjd4pk, ZehHa, zepnik
|
10/06/2009, 09:26 AM
|
#3 (permalink) |
|
Member
![]() Join Date: Sep 2009
Location: Atlanta
Posts: 555
Likes: 0
Thanks: 196
Thanked 199 Times in 105 Posts
|
Very cool. A cross platform program would be very useful, preferably if it was modular so that we could say increase the /var partition and enable DevloperMode but not bypass activation.
A cool piece of programming. |
|
|
10/06/2009, 09:36 AM
|
#4 (permalink) |
|
Member
![]() Join Date: Apr 2009
Location: Boston
Posts: 213
Likes: 0
Thanks: 30
Thanked 31 Times in 19 Posts
|
Ok i'm ready to bust my phone... in the meantime I have copied PalmDatabase.db3 file to keep all my current conversations will see how this will work.... I will dump the messages to sql file and import it in newly created PalmDatabase.db3 on my pre after doctor it
git clone git://git.webos-internals.org/tools/meta-doctor.git ;D |
|
|
10/06/2009, 10:05 AM
|
#5 (permalink) |
|
Member
![]() Join Date: Apr 2009
Location: Boston
Posts: 213
Likes: 0
Thanks: 30
Thanked 31 Times in 19 Posts
|
pkilian@falcon:~/dupa/meta-doctor$ make
make CARRIER=sprint unpack patch pack make[1]: Entering directory `/home/pkilian/dupa/meta-doctor' make[1]: Nothing to be done for `unpack'. rm -f build/pre-p100eww-sprint-1.2.0/.patched for app in com.palm.app.firstuse ; do \ mv build/pre-p100eww-sprint-1.2.0/rootfs/usr/lib/ipkg/info/$app.md5sums{,.old} ; \ done mv: missing destination file operand after `build/pre-p100eww-sprint-1.2.0/rootfs/usr/lib/ipkg/info/com.palm.app.firstuse.md5sums{,.old}' Try `mv --help' for more information. make[1]: *** [build/pre-p100eww-sprint-1.2.0/.patched] Error 1 make[1]: Leaving directory `/home/pkilian/dupa/meta-doctor' make: *** [pack-sprint] Error 2 pkilian@falcon:~/dupa/meta-doctor$ this is what i'm getting do you need to run a different make version or something? |
|
Thanked By:
Dogg006
|
10/06/2009, 10:53 AM
|
#6 (permalink) |
|
webOS Enthusiast
![]() Join Date: Jul 2009
Posts: 2,128
Likes: 44
Thanks: 41
Thanked 806 Times in 432 Posts
|
I guess I'm going to create a dual boot partition on my PC with Linux
__________________
![]() If I helped you or you have downloaded one of my files, then least you could do is click the "Thanks" button. |
|
|
10/06/2009, 12:57 PM
|
#8 (permalink) |
|
Member
![]() ![]() ![]() Join Date: Apr 2003
Location: Boston-area
Posts: 6,977
Likes: 112
Thanks: 418
Thanked 1,251 Times in 710 Posts
|
Is making the /var partition larger like that safe for updates? I thought I remembered reading that that could mess things up when Palm makes their own solution for the issue.
|
|
|
10/06/2009, 01:10 PM
|
#10 (permalink) |
|
Member
![]() Join Date: Apr 2009
Location: Boston
Posts: 213
Likes: 0
Thanks: 30
Thanked 31 Times in 19 Posts
|
well without reflashing you can't resize /var... you just cant take space from fat32 and put it on ext3 if /media/internal was be a ext3 partition then yes but fat32 not likely
|
|
|
10/06/2009, 01:11 PM
|
#11 (permalink) |
|
Legend
![]() Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,880
Likes: 470
Thanks: 801
Thanked 12,881 Times in 1,489 Posts
|
rwhitby, want me to try making a cross platform java app for this?
EDIT: lol, I could already use the extract code I made for the Repair Utility Last edited by Jason Robitaille; 10/06/2009 at 01:17 PM. |
|
Thanked by
Compusmurf, daventx, DrSuSE, fizymike, javo0112, KnoxBNYC, Lildun101, maxima2k53, PickleFart9, SirWill
|
10/06/2009, 01:32 PM
|
#12 (permalink) |
|
Member
![]() ![]() Join Date: Nov 2008
Location: New York, NY
Posts: 333
Likes: 1
Thanks: 151
Thanked 65 Times in 37 Posts
|
@rwhitby: Thank you. This is amazing. (Can't believe nobody thought of this before!)
@Jason Robitaille: You'll do a cross-platform? You never cease to amaze me!! Seriously! |
|
Thanked By:
havatampa
|
10/06/2009, 03:47 PM
|
#13 (permalink) |
|
Member
![]() Join Date: Aug 2009
Location: Odessa, FL
Posts: 111
Likes: 0
Thanks: 42
Thanked 12 Times in 9 Posts
|
Excuse my ignorance, I'm neither a programmer nor a big linux guy.....
Say I did this on my 1.2.0 image, and as we know, 1.2.1 is now out.. What happens when I apply 1.2.0 with these changes then let it update 1.2.1. Also, 2nd question, may be easier. The 2Gb for the /var. Is this a confirmed fix for the "out of memory" issue? |
|
|
10/06/2009, 05:12 PM
|
#14 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Location: Everett, WA
Posts: 441
Likes: 0
Thanks: 63
Thanked 48 Times in 41 Posts
|
Quote:
Maybe oh maybe it could be taken a step further and have the ability to pre-install applications, services, and patches in your doctor file! Think about it.. Sounds way cool. And @rwhitby Thank you Thank you Thank you. Last edited by SirWill; 10/06/2009 at 05:19 PM. |
|
|
|
10/06/2009, 06:02 PM
|
#15 (permalink) |
|
Legend
![]() Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,880
Likes: 470
Thanks: 801
Thanked 12,881 Times in 1,489 Posts
|
It'd fix the system memory limitation, but, and someone correct me if I'm wrong, I'm pretty sure the Palm-imposed limit would remain there. So apps like Preware and WebOSQuickInstall would be still needed (and at some point the App Catalog would each the limit and give the error still).
|
|
|
10/06/2009, 06:16 PM
|
#16 (permalink) | |
|
Member
![]() ![]() ![]() Join Date: Apr 2003
Location: Boston-area
Posts: 6,977
Likes: 112
Thanks: 418
Thanked 1,251 Times in 710 Posts
|
Quote:
|
|
|
|
10/06/2009, 06:23 PM
|
#19 (permalink) | |
|
Member
![]() Join Date: Sep 2009
Posts: 141
Likes: 0
Thanks: 30
Thanked 41 Times in 22 Posts
|
Quote:
But nothing final had been found or developed yet. Currently this is the fix by xorg... which is moving and linking the app http://forums.precentral.net/web-os-...-proposal.html ^ in this thread: there is a mention of an email limit on /var? That it will basically fill up.. any reality to that? Last edited by daventx; 10/06/2009 at 06:50 PM. |
|
|
|
10/06/2009, 06:27 PM
|
#20 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: kansas city, mo
Posts: 633
Likes: 0
Thanks: 85
Thanked 303 Times in 146 Posts
|
Yea, I first pursued changing the app catalog code, but didn't get too far because the limit is in a binary. I then pursued the link method and it worked. The limit is not 50 apps, it appears to be the size of the /var.../apps directory. Even if you increase /var, it may not resolve the issue (anyone confirm?). The link method fakes out the app catalog, thinking apps is using up less space, because it is.
It could be that the limit is based on size of /var../apps relative to % of available space on /var. If so, the resizing var would likely work. If it's a fixed MB limit, like 25-30MB, resizing var won't work. Last edited by xorg; 10/06/2009 at 06:32 PM. |
|
|
![]() |
| webOS Nation Forums WebOS Internals Meta-Doctor |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://forums.webosnation.com/webos-internals/207472-webos-internals-meta-doctor.html
|
||||
| Posted By | For | Type | Date | |
| rwhitby.net : The WebOS Internals Meta-Doctor | This thread | Refback | 05/09/2010 07:07 PM | |




2Likes












Linear Mode









