Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-12-2013, 03:26 PM   #1
mziaeem
Member
mziaeem began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jul 2010
Device: prs-600
prs t1 rtl support

the rtl inplementation in prs t1 is now ready and working...
notes, toc, filenames and etc...
+ multilanguage keyboard
+ arabic reader for reading arabic epub
+ the ability to change system fonts without rooting.

you can see some pictures in this link
http://forums.ketabkhan.info/showthr...17943#pid14637

Betta test download location
http://ziaei.ir/prs-t1-development/

Last edited by mziaeem; 11-07-2013 at 06:42 AM.
mziaeem is offline   Reply With Quote
Old 11-01-2013, 12:04 PM   #2
mziaeem
Member
mziaeem began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jul 2010
Device: prs-600
finally I deodexed the firmware.
and patch the framework.jar with arabic support.
but after installing it on my device the devices hangs on opening book....

possibilities :
1- wrong deodex
2- wrong patch
3- wrong install

any idea or help ?
mziaeem is offline   Reply With Quote
Advert
Old 11-01-2013, 03:00 PM   #3
ebmr
Zealot
ebmr is out to avenge the death of his or her father, Domingo Montoya.ebmr is out to avenge the death of his or her father, Domingo Montoya.ebmr is out to avenge the death of his or her father, Domingo Montoya.ebmr is out to avenge the death of his or her father, Domingo Montoya.ebmr is out to avenge the death of his or her father, Domingo Montoya.ebmr is out to avenge the death of his or her father, Domingo Montoya.ebmr is out to avenge the death of his or her father, Domingo Montoya.ebmr is out to avenge the death of his or her father, Domingo Montoya.ebmr is out to avenge the death of his or her father, Domingo Montoya.ebmr is out to avenge the death of his or her father, Domingo Montoya.ebmr is out to avenge the death of his or her father, Domingo Montoya.
 
Posts: 101
Karma: 34554
Join Date: Aug 2012
Device: none
Quote:
Originally Posted by mziaeem View Post
finally I deodexed the firmware.
and patch the framework.jar with arabic support.
but after installing it on my device the devices hangs on opening book....

possibilities :
1- wrong deodex
2- wrong patch
3- wrong install

any idea or help ?
Hard to say if you don't tell what exactly you've done.
ebmr is offline   Reply With Quote
Old 11-01-2013, 03:37 PM   #4
mziaeem
Member
mziaeem began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jul 2010
Device: prs-600
some other works and exact report:

1- I pull the /system from device. because I want to get the original files, make some modification in rupor minimal root and remove the customizations from it. only su and commander and a launcher remains in the package....

2- made a shell script for deodexing....

PHP Code:
echo '----------------------------'
echo filename: $1
NAME
="${1%.*}"
echo name$NAME
echo '*** starting ***'
mkdir tmp/$NAME
echo copy $NAME.jar to tmp

cp $NAME
.jar tmp/$NAME
cd tmp
/$NAME

unzip $NAME
.jar
rm $NAME
.jar
cd 
../..
echo 
'===== deodex ====='
java -jar ../../jar/baksmali.jar -a 10 -$-o tmp/$NAME.deodexed 
echo 'compile'
java -jar ../../jar/smali.jar -o tmp/$NAME/classes.dex tmp/$NAME.deodexed
rm 
-r tmp/$NAME.deodexed
echo 'END' 
this script make classes.dex in related folder

3- make a script for including all classes.dex in related jar files

PHP Code:
mkdir apk
for i in `ls tmp`
do
  
cd tmp/$i
  rm $i
.apk
  rm $i
.jar
  zip 
-r $i.jar *
  
cd ../..
  
cp tmp/$i/$i.jar ./apk
done 

5- installation

mount system and data as read write
copy deodex framework files in /system/framework
delete odex files from /system/framework
delete dakvik-cache contents
reboot

6- this ended up in successfull boot but before getting into home screen the reader waits on infinit loop with spiral(or refresh) animation in the center.....

7- I guessed that may be I should deodex app files too.
so I deodexs Ebook*.apk files and did above steps but same result ....

----------
please help me in doing this important and usefull project for rtl users of prs
I have not enough time and need your cooperation ....

Last edited by mziaeem; 11-01-2013 at 03:59 PM.
mziaeem is offline   Reply With Quote
Old 11-01-2013, 07:37 PM   #5
ebmr
Zealot
ebmr is out to avenge the death of his or her father, Domingo Montoya.ebmr is out to avenge the death of his or her father, Domingo Montoya.ebmr is out to avenge the death of his or her father, Domingo Montoya.ebmr is out to avenge the death of his or her father, Domingo Montoya.ebmr is out to avenge the death of his or her father, Domingo Montoya.ebmr is out to avenge the death of his or her father, Domingo Montoya.ebmr is out to avenge the death of his or her father, Domingo Montoya.ebmr is out to avenge the death of his or her father, Domingo Montoya.ebmr is out to avenge the death of his or her father, Domingo Montoya.ebmr is out to avenge the death of his or her father, Domingo Montoya.ebmr is out to avenge the death of his or her father, Domingo Montoya.
 
Posts: 101
Karma: 34554
Join Date: Aug 2012
Device: none
Did you read this?
ebmr is offline   Reply With Quote
Advert
Old 11-02-2013, 01:01 AM   #6
mziaeem
Member
mziaeem began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jul 2010
Device: prs-600
thnks embr
I will test it and report
mziaeem is offline   Reply With Quote
Old 11-02-2013, 03:21 AM   #7
mziaeem
Member
mziaeem began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jul 2010
Device: prs-600
I deodexed framework.jar with backsmali with api level 8
then make classes.dex with smali with api level 8
then added classes to framework with 7zip
then put it on sdcard and deodexwrap it
then remove classes from it with 7zip
then zipalign it
then install the newly created framework.jar and framework.odex to device with modified rupor root package

but the result was the hanging on opening book....

note: I dont apply any patch to framework.jar but did this only for testing purpose
note: I dont deodex any other package except framework.jar

what is wrong??
mziaeem is offline   Reply With Quote
Old 11-02-2013, 09:40 AM   #8
rupor
meat popsicle
rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!
 
rupor's Avatar
 
Posts: 225
Karma: 100000
Join Date: Jul 2007
Location: USA
Device: Kindles, Pixels, iPads
After changing one of Android files you need to rebuild the rest of the system with new files - otherwise nothing will work. Once more - using above method you could safely rebuilt single application, however after changing one of Android jars you need to rebuild odex'es for EVERYTHING ...
rupor is offline   Reply With Quote
Old 11-02-2013, 01:56 PM   #9
mziaeem
Member
mziaeem began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jul 2010
Device: prs-600
I see in your package that you only odexed the framework.jar and services.jar from framework and Ebook* from app... are these enough for changing framework?
mziaeem is offline   Reply With Quote
Old 11-02-2013, 02:59 PM   #10
mziaeem
Member
mziaeem began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jul 2010
Device: prs-600
PHP Code:
#!/bin/bash
FNAME="${1%.*}"
rm -r tmp/*
BOOTLOADER=core.jar:ext.jar:framework.jar:android.policy.jar:services.jar:bmgr.jar:am.jar                                                                               

        
mkdir tmp/$FNAME
echo copy $FNAME.$2 to tmp
        
echo '===== deodex ====='
java -jar ../../jar/baksmali.jar -a 8 -x in/$FNAME.odex -d ./framework -c $BOOTLOADER -o tmp/$FNAME.deodexed                                                            
echo 'compile'
java -jar ../../jar/smali.jar -a 8 -o tmp/$FNAME/classes.dex tmp/$FNAME.deodexed                                                                                        
rm -r tmp/$FNAME.deodexed
cp in/$FNAME.$2 out
rm out/classes.dex
cp tmp/$FNAME/classes.dex out  
if [ "$2" == "jar" ]; then     
  cd out
  7z a $FNAME.$2 classes.dex   
  rm classes.dex               
  cd .. 
fi      
        
if [ "$2" == "apk" ]; then
  cd out
  java -jar ../../../jar/apktool.jar d $FNAME.$2 $FNAME                                                                                                                 
  cp classes.dex $FNAME        
  java -jar ../../../jar/apktool.jar b $FNAME $FNAME.$2                                                                                                                 
  rm -r $FNAME
  rm classes.dex
  cd .. 
fi      
        
echo 'END' 


deodexing EbookHome and EbookAudio was successfull
but in EbookContentManager this produced many errors


PHP Code:

Error occured 
while disassembling class Lcom.sony.drbd.ebook.contentmanager.activities.AlbumListActivity$QueryAsyncTask; - skipping class
java.lang.RuntimeExceptionregCount does not match the number of arguments of the method
    at org
.jf.dexlib.Code.Format.Instruction35c.checkItem(Instruction35c.java:160)
    
at org.jf.dexlib.Code.Format.Instruction35c.<init>(Instruction35c.java:69)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:3632)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1086)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
    
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:379)
    
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:301)
    
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:323)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:152)
    
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:205)
    
at org.jf.baksmali.main.main(main.java:293)


Error occured while disassembling class Lcom.sony.drbd.ebook.contentmanager.activities.BrowseListActivity; - skipping class
java.lang.RuntimeExceptionregCount does not match the number of arguments of the method
    at org
.jf.dexlib.Code.Format.Instruction35c.checkItem(Instruction35c.java:160)
    
at org.jf.dexlib.Code.Format.Instruction35c.<init>(Instruction35c.java:69)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:3632)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1086)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
    
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:379)
    
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:301)
    
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:323)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:152)
    
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:205)
    
at org.jf.baksmali.main.main(main.java:293)


Error occured while disassembling class Lcom.sony.drbd.ebook.contentmanager.activities.AlbumListActivity; - skipping class
java.lang.RuntimeExceptionregCount does not match the number of arguments of the method
    at org
.jf.dexlib.Code.Format.Instruction35c.checkItem(Instruction35c.java:160)
    
at org.jf.dexlib.Code.Format.Instruction35c.<init>(Instruction35c.java:69)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:3632)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1086)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
    
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:379)
    
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:301)
    
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:323)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:152)
    
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:205)
    
at org.jf.baksmali.main.main(main.java:293)


Error occured while disassembling class Lcom.sony.drbd.ebook.contentmanager.activities.BookListActivity$QueryAsyncTask; - skipping class
java.lang.RuntimeExceptionregCount does not match the number of arguments of the method
    at org
.jf.dexlib.Code.Format.Instruction35c.checkItem(Instruction35c.java:160)
    
at org.jf.dexlib.Code.Format.Instruction35c.<init>(Instruction35c.java:69)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:3632)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1086)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
    
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:379)
    
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:301)
    
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:323)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:152)
    
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:205)
    
at org.jf.baksmali.main.main(main.java:293)


Error occured while disassembling class Lcom.sony.drbd.ebook.contentmanager.activities.BookListActivity; - skipping class
java.lang.RuntimeExceptionregCount does not match the number of arguments of the method
    at org
.jf.dexlib.Code.Format.Instruction35c.checkItem(Instruction35c.java:160)
    
at org.jf.dexlib.Code.Format.Instruction35c.<init>(Instruction35c.java:69)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:3632)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1086)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
    
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:379)
    
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:301)
    
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:323)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:152)
    
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:205)
    
at org.jf.baksmali.main.main(main.java:293)


Error occured while disassembling class Lcom.sony.drbd.ebook.contentmanager.activities.CollectionAutoListActivity$QueryAsyncTask; - skipping class
java.lang.RuntimeExceptionregCount does not match the number of arguments of the method
    at org
.jf.dexlib.Code.Format.Instruction35c.checkItem(Instruction35c.java:160)
    
at org.jf.dexlib.Code.Format.Instruction35c.<init>(Instruction35c.java:69)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:3632)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1086)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
    
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:379)
    
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:301)
    
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:323)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:152)
    
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:205)
    
at org.jf.baksmali.main.main(main.java:293)


Error occured while disassembling class Lcom.sony.drbd.ebook.contentmanager.activities.CollectionAutoListActivity; - skipping class
java.lang.RuntimeExceptionregCount does not match the number of arguments of the method
    at org
.jf.dexlib.Code.Format.Instruction35c.checkItem(Instruction35c.java:160)
    
at org.jf.dexlib.Code.Format.Instruction35c.<init>(Instruction35c.java:69)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:3632)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1086)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
    
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:379)
    
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:301)
    
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:323)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:152)
    
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:205)
    
at org.jf.baksmali.main.main(main.java:293)


Error occured while disassembling class Lcom.sony.drbd.ebook.contentmanager.activities.CollectionContentListActivity$QueryAsyncTask; - skipping class
java.lang.RuntimeExceptionregCount does not match the number of arguments of the method
    at org
.jf.dexlib.Code.Format.Instruction35c.checkItem(Instruction35c.java:160)
    
at org.jf.dexlib.Code.Format.Instruction35c.<init>(Instruction35c.java:69)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:3632)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1086)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
    
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:379)
    
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:301)
    
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:323)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:152)
    
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:205)
    
at org.jf.baksmali.main.main(main.java:293)


Error occured while disassembling class Lcom.sony.drbd.ebook.contentmanager.activities.CollectionContentListActivity; - skipping class
java.lang.RuntimeExceptionregCount does not match the number of arguments of the method
    at org
.jf.dexlib.Code.Format.Instruction35c.checkItem(Instruction35c.java:160)
    
at org.jf.dexlib.Code.Format.Instruction35c.<init>(Instruction35c.java:69)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:3632)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1086)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
    
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:379)
    
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:301)
    
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:323)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:152)
    
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:205)
    
at org.jf.baksmali.main.main(main.java:293)


Error occured while disassembling class Lcom.sony.drbd.ebook.contentmanager.activities.CollectionListActivity$QueryAsyncTask; - skipping class
java.lang.RuntimeExceptionregCount does not match the number of arguments of the method
    at org
.jf.dexlib.Code.Format.Instruction35c.checkItem(Instruction35c.java:160)
    
at org.jf.dexlib.Code.Format.Instruction35c.<init>(Instruction35c.java:69)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:3632)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1086)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
    
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:379)
    
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:301)
    
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:323)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:152)
    
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:205)
    
at org.jf.baksmali.main.main(main.java:293)


Error occured while disassembling class Lcom.sony.drbd.ebook.contentmanager.activities.CollectionListActivity; - skipping class
java.lang.RuntimeExceptionregCount does not match the number of arguments of the method
    at org
.jf.dexlib.Code.Format.Instruction35c.checkItem(Instruction35c.java:160)
    
at org.jf.dexlib.Code.Format.Instruction35c.<init>(Instruction35c.java:69)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:3632)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1086)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
    
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:379)
    
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:301)
    
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:323)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:152)
    
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:205)
    
at org.jf.baksmali.main.main(main.java:293)


Error occured while disassembling class Lcom.sony.drbd.ebook.contentmanager.activities.HandwritingList$QueryAsyncTask; - skipping class
java.lang.RuntimeExceptionregCount does not match the number of arguments of the method
    at org
.jf.dexlib.Code.Format.Instruction35c.checkItem(Instruction35c.java:160)
    
at org.jf.dexlib.Code.Format.Instruction35c.<init>(Instruction35c.java:69)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:3632)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1086)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
    
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:379)
    
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:301)
    
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:323)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:152)
    
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:205)
    
at org.jf.baksmali.main.main(main.java:293)


Error occured while disassembling class Lcom.sony.drbd.ebook.contentmanager.activities.HandwritingList; - skipping class
java.lang.RuntimeExceptionregCount does not match the number of arguments of the method
    at org
.jf.dexlib.Code.Format.Instruction35c.checkItem(Instruction35c.java:160)
    
at org.jf.dexlib.Code.Format.Instruction35c.<init>(Instruction35c.java:69)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:3632)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1086)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
    
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:379)
    
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:301)
    
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:323)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:152)
    
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:205)
    
at org.jf.baksmali.main.main(main.java:293)
Error while disassembling method Lcom/sony/drbd/ebook/contentmanager/activities/PeriodicalIssueListActivity$4;->onClick(Landroid/content/DialogInterface;I)VContinuing.
org.jf.dexlib.Code.Analysis.ValidationExceptionCould not resolve the method in class Landroid/widget/ListViewat index 532
    at org
.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:3606)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1086)
    
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
    
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:379)
    
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:301)
    
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:323)
    
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:152)
    
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:205)
    
at org.jf.baksmali.main.main(main.java:293)
opcodeinvoke-virtual-quick
CodeAddress
6
Method
Lcom/sony/drbd/ebook/contentmanager/activities/PeriodicalIssueListActivity$4;->onClick(Landroid/content/DialogInterface;I)
mziaeem is offline   Reply With Quote
Old 11-02-2013, 04:33 PM   #11
rupor
meat popsicle
rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!
 
rupor's Avatar
 
Posts: 225
Karma: 100000
Join Date: Jul 2007
Location: USA
Device: Kindles, Pixels, iPads
I really do not want to get into how to assemble and disassemble apk files here, sorry. There are no secrets in what I do - you could take a look at pretty much everything here: http://sourceforge.net/p/sonyfmngr/c...AD/tree/prsT1/

This is the script which is executed every time to prepare fully functioning build:
http://sourceforge.net/p/sonyfmngr/c.../build_all.cmd. Note, that odex files are built on the device itself

Last edited by rupor; 11-02-2013 at 04:36 PM.
rupor is offline   Reply With Quote
Old 11-02-2013, 05:21 PM   #12
mziaeem
Member
mziaeem began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jul 2010
Device: prs-600
tnx lot for your helpful answers.
i use see your code and make a shell script that do same thing (i use linux)
so the problem disappeared when i re-pull framework from device....

now the problem is signing apks...
when i want to install EbookReader.jar (deodexed) on device it prevent me...
when I sign it with some key, he tells to me INSTALL_FAILED_SHARED_USER_INCOMPATIBLE

Do you have sony sign keys?
are signing required?
mziaeem is offline   Reply With Quote
Old 11-02-2013, 05:39 PM   #13
rupor
meat popsicle
rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!
 
rupor's Avatar
 
Posts: 225
Karma: 100000
Join Date: Jul 2007
Location: USA
Device: Kindles, Pixels, iPads
Yes, signing is required, you could use test keys from Android source...
rupor is offline   Reply With Quote
Old 11-02-2013, 07:45 PM   #14
mziaeem
Member
mziaeem began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jul 2010
Device: prs-600
ok . tnks. so I de odexed reader,audio and etc successfully...

this is great.

but an strange error in deodexing ebookhome :

PHP Code:
Error while disassembling method Lcom/sony/drbd/ebook/home/activities/LauncherPageActivity;->bindApplications()VContinuing.
org.jf.dexlib.Code.Analysis.ValidationExceptionCould not resolve the method in class Lcom/sony/drbd/ebook/home/views/TurnPageGridViewat index 525
        at org
.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:3606)
        
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1086)
        
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
        
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:379)
        
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:301)
        
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
        
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
        
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:323)
        
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:152)
        
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:205)
        
at org.jf.baksmali.main.main(main.java:293)
opcodeinvoke-virtual-quick
CodeAddress
20
Method
Lcom/sony/drbd/ebook/home/activities/LauncherPageActivity;->bindApplications()
maybe lack of a jar file in class path. but which? I tested the all and no success
mziaeem is offline   Reply With Quote
Old 11-03-2013, 03:23 AM   #15
mziaeem
Member
mziaeem began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jul 2010
Device: prs-600
OK
thanks god..
finaly I deodexed whole the system and it works....
now I am working on rtl support....

Last edited by mziaeem; 11-03-2013 at 10:49 AM.
mziaeem is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RTL Hebrew Kindle fredsmith123 Amazon Kindle 31 07-07-2016 12:37 PM
Support for RTL Languages Gonidae Calibre 1 10-05-2012 06:13 AM
How to convert Mobi file to RTL - Hebrew ilana.heller Amazon Kindle 3 09-02-2012 05:49 AM
Arabic and RTL Language support mdmuddin iRiver Story 10 01-19-2012 08:51 PM
Android eReader with Hebrew or Arabic (RTL) support? tobassam Which one should I buy? 0 11-16-2010 06:05 AM


All times are GMT -4. The time now is 05:03 AM.


MobileRead.com is a privately owned, operated and funded community.