JesusFreke/smali — pull request #19 by whydoubt (2013-11-12 06:24:04+00:00)
Title: Match and comment on resource IDs while performing baksmali

You can get a taste of the result from this diff: http://pastebin.com/LMKHhMEx
My biggest concern is the ugliness of the command line option.

java -jar baksmali.jar
-R res/values/public.xml=R:$ANDROID_HOME/platforms/android-19/data/res/values/public.xml=android.R
-o smali classes.dex

If there was a way to add the most recent platform resource ID file to the smali project, it could really help clean that up.