View Single Post
Old 03-07-2012, 03:50 AM   #1
Le_Tigre
Member
Le_Tigre began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Feb 2012
Device: PRS-T1
Removing 200char limit for Non-DRM'ed annotations

Is there anyone trying just to kill the 200 char limit of annotations for the non-DRM'ed content?

i would direly need it. i tried like 2 days to get a mixed approach of morkl telling how to change the homescrren.
following: https://www.mobileread.com/forums/sho...9&postcount=35

telling where to find the identifiers: .line 2071 and .line 3033
of bookreadingactivity.smali dissassembeld form EbookReader.odex / apk
( i decided not to mark out the whole but only to change the number to 4000)

and a how to here:http://www.mobileread.mobi/forums/sh...93#post1913793
i modified and followed the steps for:
(EbookReader.apk / odex) insted of EbookHome)
(i think there is a typo in line 6 - as the aim is to assemble and not to dissassemble - so "d" ought to be a(!))

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

but i just could not get it to install...

so is there anyone working on this (rather simple) mod?

NB: it is about changing the char limit for NON-DRM'ed content. so ther should not be an issue with rights violation...
Le_Tigre is offline   Reply With Quote