New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Mioze7Ae
Old
(Last edited by Mioze7Ae; 6th July 2011 at 04:10 PM.)
#1  
Mioze7Ae's Avatar
Recognized Developer - OP
Thanks Meter 2092
Posts: 2,153
Join Date: Dec 2010
Location: Queen City of the West
Post [PATCH][26-Mar-11] Bugfix patch v3 for Dexter's 1.3 ROM (stock221v13-bugfix-3)

Note: I consider this obsolete and recommend rusmod

Bugfix v3

Here's the latest bugfix for Dexter's 1.3 aka stock221v13. This includes everything from Bugfix v2 and adds:
  • Extended power menu that adds "Reboot" and "Recovery" (see thumbnail below for a screenshot)
  • Include conservative governor (c19932, nadlabak)
  • Tweak to improve SD card read performance (reverendkjr)

DO NOT APPLY THIS TO XAVWANTED'S OR KHALPOWERS ROMS

The extended power menu requires extensive modifications to the framework. This patch includes Dexter's 1.3 framework. Don't hose your phone! I can help port the menu to the other ROMs, but this can and will bork your stuff if you're not running stock221v3 (+bugfix updates are OK).

Instructions:
  1. Read all the instructions
  2. Save stock221v3-bugfix-3.zip to OpenRecovery/updates/stock221v3-bugfix-3.zip
  3. Boot to OpenRecovery
  4. OR menu > nandroid > backup > system > backup selected
  5. OR menu > nandroid > restore > stock221v13 > system > restore selected
  6. OR menu > apply update > stock221v3-bugfix-3.zip
  7. OR menu > wipe dalvik cache
  8. OR menu > reboot system

Download:
http://www.multiupload.com/MTCIACFSJN

More details:
https://github.com/downloads/Mioze7Ae/XT720-patch

Experimental patches for bugfix v3
Experimental patches are minimally tested.
Bugfix v2

Summary:
  • Graphics/OpenGL performance tweak (xavwanted)
  • Media library tweaks (xavwanted)
  • memhack (khalpowers) moves dalvik-cache to either /cache or /sd-ext
    • By default moves dalvik-cache to /cache
    • Will use /sd-ext/dalvik-cache instead if it exists (see also "User control of /sd-ext" below)
  • minfree memory parameters tweaked
  • Fix milestone overclock persistence
  • Autodetects ext2/3 (kousik)
  • ext2/3 partition is checked and possibly repaired on boot
  • Disable automatic apps2ext. Native Froyo App2SD is not affected.
    • See also "User control of /sd-ext" below
    • apps2ext used to be called app2sd before native Froyo App2SD (apps2fat) existed. Confusing!
  • Add support for Link2SD
    • See also "User control of /sd-ext" below
  • Adds Maps.apk and updates YouTube.apk
  • User control of /sd-ext through manual creation of directories
    • /sd-ext/app (move /data/app to /sd-ext [apps2ext])
    • /sd-ext/dalvik-cache (move /data/dalvik-cache to /sd-ext)
    • /sd-ext/app-private (move /data/app-private to /sd-ext)
    • /sd-ext/link2sd (enable Link2SD 1.5.1 support)
    • apps2ext has priority over link2sd and overrides! It doesn't make sense to use both!
  • Replaces /system/oc with modular scripts in /system/etc/init.c
  • See the README on github for more details. https://github.com/Mioze7Ae/XT720-patch

Installation
  • Download and copy stock221v13-bugfix-2_signed.zip to the /sdcard/OpenRecovery/updates directory
  • Reboot into OpenRecovery
  • "Nandroid > Restore" Dexter's stock221v13 system (restoring boot not necessary)*
  • "Apply update" and select stock221v13-bugfix-2_signed.zip
  • Wipe data / factory reset*

*Advanced users: If you've been running Dexter's 1.3 (stock221v13) with the previous stock221v13-bugfix-1.zip, then it should be possible to apply bugfix-2 cleanly over stock221v13-bugfix-1.zip without first restoring system if you haven't made incompatible customizations to /system. You can also probably just clear the dalvik-cache instead of wiping, but I recommend doing that manually if you've moved it to sd-ext.

Download

Experimental patches for bugfix v2
Experimental patches are minimally tested.
Attached Thumbnails
Click image for larger version

Name:	snap20110325_153853.jpg
Views:	609
Size:	26.2 KB
ID:	552645  
The Following 17 Users Say Thank You to Mioze7Ae For This Useful Post: [ Click to Expand ]
 
Mioze7Ae
Old
#2  
Mioze7Ae's Avatar
Recognized Developer - OP
Thanks Meter 2092
Posts: 2,153
Join Date: Dec 2010
Location: Queen City of the West
Default reserved

this post intentionally left not blank
 
3rdstring
Old
#3  
3rdstring's Avatar
Recognized Contributor
Thanks Meter 1042
Posts: 2,176
Join Date: Dec 2010
Location: Cincinnati
Quote:
Disable automatic apps2ext. Native Froyo App2SD is affected.
Do you mean unaffected or is Froyo Native Apps2SD not working?
The Following User Says Thank You to 3rdstring For This Useful Post: [ Click to Expand ]
 
Mioze7Ae
Old
#4  
Mioze7Ae's Avatar
Recognized Developer - OP
Thanks Meter 2092
Posts: 2,153
Join Date: Dec 2010
Location: Queen City of the West
Quote:
Originally Posted by 3rdstring View Post
Do you mean unaffected or is Froyo Native Apps2SD not working?
Yes. You are correct native Apps2SD is NOT affected by disabling the automatic apps2ext. Thanks for catching that quickly!
 
c_urbanek
Old
#5  
Senior Member
Thanks Meter 30
Posts: 201
Join Date: Aug 2010
Location: Cincinnati
tried to apply over last 1.3 bugfix patch.... "installation aborted".
The Following User Says Thank You to c_urbanek For This Useful Post: [ Click to Expand ]
 
smoki3
Old
#6  
smoki3's Avatar
Senior Member
Thanks Meter 25
Posts: 294
Join Date: Oct 2010
Location: Heidenheim
I have installed it over the first bugfix. It works perfekly! Where i can see if it applied?

Whats is the diffrent between app2ext an link2sd?
 
Mioze7Ae
Old
#7  
Mioze7Ae's Avatar
Recognized Developer - OP
Thanks Meter 2092
Posts: 2,153
Join Date: Dec 2010
Location: Queen City of the West
Quote:
Originally Posted by c_urbanek View Post
tried to apply over last 1.3 bugfix patch.... "installation aborted".
It's kind of a Hail Mary. It did work in my testing and I just tried it again with success. One thing is the new patch is signed so it could also be that your zip got corrupted in download. I've gotten installation aborted messages when the zip was corrupt, but there are probably other ways for it to fail. The md5sum should be
Code:
a93cfa1d6ea73a4ee8ff6ec4afc72baa  stock221v13-bugfix-2_signed.zip
 
Mioze7Ae
Old
#8  
Mioze7Ae's Avatar
Recognized Developer - OP
Thanks Meter 2092
Posts: 2,153
Join Date: Dec 2010
Location: Queen City of the West
Quote:
Originally Posted by smoki3 View Post
I have installed it over the first bugfix. It works perfekly! Where i can see if it applied?

Whats is the diffrent between app2ext an link2sd?
If you can see a /system/etc/init.d/00_memfree file on your phone, the update was applied.

App2ext moves all apps to the ext partition. Link2SD lets you do it selectively. This isn't a tremendous gain on Froyo, because we have the native move to SD. One difference is that using app2ext apps will be available while the sdcard is being accessed over USB. Also widgets should work for app2ext. At one point I unscientifically convinced myself that app2ext was faster at loading apps than the native move. That said, I'm not currently using either app2ext or link2sd except when testing. I did a big app purge recently and combined with the memhack I'm not running out of space (yet )
 
smoki3
Old
#9  
smoki3's Avatar
Senior Member
Thanks Meter 25
Posts: 294
Join Date: Oct 2010
Location: Heidenheim
Okay the patch works very good! I have more memory now and it seems like it is very fast now! Great work :)
 
Tavinsky
Old
#10  
Senior Member
Thanks Meter 9
Posts: 128
Join Date: Nov 2010
Location: Guatemala
Thanks for this new update.

I have installed the patch stock221v13-bugfix-1, means that the new patch stock221v13-bugfix-2_signed what I can get to the Updates folder and apply it without restoring the data from the factory?

Means that the Dalvik-cache will automatically be going to SD?

Still need to partition the SD?

What about applications that are currently in the SD, which were moved to app2sd?

Thanks!