Your 1 stop G1 spot.
 
HomePortalFAQSearchRegisterLog in
Please come rejoin our new and improved forum @ www.g1addicts.com! Thanks and sorry for the inconvenience.

Share | 
 

 Never wipe again after an upgrade!

Go down 
AuthorMessage
Admin
Admin
Admin
avatar

Posts : 36
Join date : 2009-05-15
Location : cyber space

Character sheet
Name/Nickname:
Which G1 do you have?:
Do you have root?: yes

PostSubject: Never wipe again after an upgrade!   Tue Jun 23, 2009 10:33 am

Originally posted by cyanogen

It seems that quite often after an upgrade (especially when using Apps2SD), Android rebuilds the /data/system/packages.xml file because it thinks you have reinstalled all of your apps. This results in missing apps, force closes, etc, because UIDs have changed and they don't match whats in your /data/data directory. It's almost always fixed by a wipe, but screw that

Download this file: http://n0rp.chemlab.org/android/fix_permissions.sh

Push it to your sdcard, su, and run "sh /sdcard/fix_permissions.sh" and reboot. You should be good to go with NO WIPE!

Credit goes to this guy, I simply ported it to shell code: http://blog.elsdoerfer.name/2009/05/...id-mismatches/

UPDATED: Now works with protected apps.

Quote :
Originally Posted by anddep View Post
so when installed.. i dont have to wipe for a new build?
Well, there are some other factors, like app data that is stored in the same place but in a different format. You'd likely run into this going back and forth from an HTC based build like Hero or Sapphire and an Android based build like mine, Dude's, or JF's. I can't fix that situation, YMMV.

Except for that special case, this should do the trick.
Back to top Go down
http://forum.g1addicts.com
 
Never wipe again after an upgrade!
Back to top 
Page 1 of 1
 Similar topics
-
» Use SDS Labs PASCapboard w/ VTA's PAS3-Z upgrade Kit
» VTA PARTS UPGRADE
» Upgrade of my 1960s Dynakit Mark IIIs with the VTA Driver Board
» PAS 3 Upgrade Kit?
» PAS-3 Upgrade

Permissions in this forum:You cannot reply to topics in this forum
G1 Addicts :: Modifications :: Root, Hack, & Modify-
Jump to: