Quote:
Originally Posted by Morkl
It is in res/values[-locale]/strings.xml:
Code:
<string name="STR_HOME_RECENTLY_ADDED_BOOK">Recently Added</string>
There are a bunch of extra steps that need to be done to the APK in order to modify it and get it to work on the reader afterwards:
Tools needed: apktool, smali and dexopt-wrapper.
Procedure:
1: Disassemble EbookHome.odex using baksmali (baksmali -d frameworkdir -a 8 -x EbookHome.odex)
2: Reassemble into classes.dex using smali (smali -a 8 out -o classes.dex)
3: Put classes.dex into EbookHome.apk
4: Unpack EbookHome.apk with apktool (apktool d EbookHome.apk)
5: Make any changes in the newly created EbookHome directory
6: Repack with apktool, new apk ends up in EbookHome/dist directory (apktool d EbookHome)
7: Put the new apk on the sd card of the device
8: Run dexopt-wrapper on the device to get a new EbookHome.odex (in a shell on the device: dexopt-wrapper EbookHome.apk EbookHome.odex)
9: Remove classes.dex from the apk
10: Sign the apk with a suitable certificate
11: Run zipalign on the apk
12: Install on the reader
Or, if you just want the string "Recently Added" replaced with "Recently Read", you can use my modified files: http://morkl.se/reader/recentlyread.zip 
|
Great post, thanks for posting the steps, will very helpful for developers new to Android wanting to modify any of the built-in Sony APKs!!