10-12-2013, 03:26 PM | #1 |
Member
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. |
11-01-2013, 12:04 PM | #2 |
Member
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 ? |
Advert | |
|
11-01-2013, 03:00 PM | #3 |
Zealot
Posts: 101
Karma: 34554
Join Date: Aug 2012
Device: none
|
Hard to say if you don't tell what exactly you've done.
|
11-01-2013, 03:37 PM | #4 |
Member
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:
3- make a script for including all classes.dex in related jar files PHP Code:
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. |
11-02-2013, 01:01 AM | #6 |
Member
Posts: 18
Karma: 10
Join Date: Jul 2010
Device: prs-600
|
thnks embr
I will test it and report |
11-02-2013, 03:21 AM | #7 |
Member
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?? |
11-02-2013, 09:40 AM | #8 |
meat popsicle
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 ...
|
11-02-2013, 01:56 PM | #9 |
Member
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?
|
11-02-2013, 02:59 PM | #10 |
Member
Posts: 18
Karma: 10
Join Date: Jul 2010
Device: prs-600
|
PHP Code:
deodexing EbookHome and EbookAudio was successfull but in EbookContentManager this produced many errors PHP Code:
|
11-02-2013, 04:33 PM | #11 |
meat popsicle
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. |
11-02-2013, 05:21 PM | #12 |
Member
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? |
11-02-2013, 05:39 PM | #13 |
meat popsicle
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...
|
11-02-2013, 07:45 PM | #14 |
Member
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:
|
11-03-2013, 03:23 AM | #15 |
Member
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. |
|
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 |