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 -x $1 -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 ....