Difference between revisions of "Patch Amazon Download Music over EVDO"

From WebOS Internals
Jump to navigation Jump to search
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{template:patch}}
 
The Amazon app only allows downloading songs over WiFi.  This will also allow downloading songs over EVDO/3G.
 
The Amazon app only allows downloading songs over WiFi.  This will also allow downloading songs over EVDO/3G.
  
Line 6: Line 7:
  
 
'''
 
'''
== Update: Fix for Pre 1.1.0 Amazon over EvDo ==
+
== Update: Fix for Pre 1.1.0 Amazon over EvDo. Patch available below ==
 
'''
 
'''
  
Line 51: Line 52:
 
  reboot  (or orange-sym-r)
 
  reboot  (or orange-sym-r)
  
 +
 +
'''3. Patch is now available via Gitorious. Note that this is slightly different code but does the same:'''
 +
 +
[http://gitorious.org/webos-internals/modifications/blobs/98d872e197db5f4b36c2189224926a15ce70808d/amazonstore/amazon_evdo.patch Patch]
 +
 +
[http://www.webos-internals.org/wiki/Applying_Patches Applying Patches]
  
  
Line 63: Line 70:
  
 
== Credit==
 
== Credit==
xorg, Jack87
+
xorg, Jack87, patch submitted by sivan

Latest revision as of 08:05, 4 August 2009


The Amazon app only allows downloading songs over WiFi. This will also allow downloading songs over EVDO/3G.

cd /usr/palm/applications/com.palm.app.amazonstore/app/models

cp download-manager.js download-manger.js.sav

Update: Fix for Pre 1.1.0 Amazon over EvDo. Patch available below

To "comment out" a line, add // at the beginning. Example:

printf("This is code");
//printf("This is commented out");

edit download-manager.js

comment out lines 440-442

440:  //if (userInitiated &&....
441:          //this.showWifiRequired....
442:  //}

then force lines 465 & 466 to be true and comment out line 467

465:  if (1 == 1) {
466:     if ( 1 == 1) 
467: 		 //|| PalmSystem.version.index....

reboot (or orange-sym-r)

Credit for 1.1.0 amazon over EvDo(3G) fix: Jack87


Bellow only works prior to the 1.1.0 update

Comment out lines 416-423 (if condition stating songs must be downloaded via wifi)
Force lines 446 and 447 to be always true.... if ( 1 == 1 )
446:  if (1 == 1) {
447:      if (1 == 1)
Comment out line 448 (test for "desktop")
Confirm you have appropriate matching parens and brackets

reboot  (or orange-sym-r)


3. Patch is now available via Gitorious. Note that this is slightly different code but does the same:

Patch

Applying Patches


Discuss this mod on Pre Central

See how to modify the app while keeping the original in Launcher

It took about 30 seconds to download a 3 minute song over EVDO with speedtest showing about 1Mbps or so, but hard to say as speed was bursting up to 2Mbps and down to 1Mbps for each test.

Modify-stock-app.jpg Modify-stock-app2.jpg

Credit

xorg, Jack87, patch submitted by sivan