[Android Software/Hacking General [Developers Only]] Androguide.fr:
Beta is near : Custom Rescue Package & What's Left to Do

Rescue Package

I just finished one of the features I really needed to deal with but was always postponing^^ : the new custom Rescue Package mechanism.

I can now officially say that you can pimp your rom without worrying about losing your data by restoring a backup or reflashing your rom :cool:

So here's the feature explained in more details :

The first time you will launch the beta (yay!), PmR will automatically create a custom flashable Rescue Package containing :

Your build.prop

Your gps.conf

Your sysctl.conf

Your CPU min/max frequencies

A script that's launched while flashing the package, which deletes the init.d scripts generated by PmR, as well as the rngd binary and script

The Tools/Rescue Package section will however allow you to do the following :

See where the Rescue Package is stored (usually /sdcard/PimpMyRom/Rescue/Rescue.zip, but the path to /sdcard can be different from a device to another)

Choose to automagically create a new Rescue Package each time the app is updated

Create a new package ; Let's say you enabled some tweaks and you like them and you kow they don't cause your device to bootloop, but you want to enable MOAR TWEAKS!!!

Then just create a new Rescue Package by hitting the corresponding button, your previous one will be backed-up just in case, and you'll be able to restore to your current set of tweaks if one of the new ones you tried caused problems.

Select which files are backed-up in the Rescue Package.

​

¤ You might have guessed by now, this leads to another feature you guys been asking about a lot : Being able to keep the tweaks enabled across Rom flashes

The Rescue Package allows you to do just that ;)

I still need to work out how to present the 2 aspects of the tool in an easily understandable way :

Should I create a separate "Backup & Restore Tweaks" tool which would basically do the same thing as the Rescue Package plus an option to backup PmR's shared_prefs ?

Or should I explain that it's a 2-in-1 Tool & add option to backup PmR's shared_prefs to the rescue package? (I tend to think many users don't even read the tools descriptions so...^^) please help me out with this one.

Other New Stuff

¤ I also redesigned all the TextViews in the app with Roboto fonts variants, giving it a much sleeker look overall imo. Here's an example with the Tweaks menu (Before/After) :

¤ I'm also halfway done with the refactoring of the Dual Bootanimation Tools, as its UI was one of the most messy of the whole app.

(There are only 2 bootanimations in the screenshot but don't worry, the 4 will be there at beta 1.0 and more will be added over time)

¤ I recently learned some SQL, and it opened a whole new horizon of achievable tweaks by tinkering with the system settings providers databases, but this'll be for after the first beta build is released^^

What's Left ?

So, maybe you're wondering what's left to do before the beta is released? only a couple things, it's never been that close ;) :

Finishing the Dual Bootanimation section (adding the 2 missing animations and implementing the "preview animated gif" feature)

Making the mods install without flashing

Pre-release testing on gingerbread & froyo + fixing eventual issues with those versions of Android

New way to support Pimp My Rom

Finally, if you want to support this project without spending money, please consider clicking the ads on pimpmyrom.org & pimpmyrom.org/blog.php once in a while, whenever you can. This really helps.

Sorry for bugging you