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 02-07-2012, 03:26 AM   #1
ever2047
Junior Member
ever2047 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2012
Device: PRS-T1
Question How to edit EbookReader.apk and make it work on non-rooted device?


1: I use Apktool to unpack EbookReader.apk and made some changes.
but some errors occured when I bulid it to apk.

Code:
D:\apk>java -jar apktool.jar b EbookReader
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.
ption: could not exec command: [aapt, p, -F, C:\DOCUME~1\ADMINI~1\LOCALS
APKTOOL4651201101303012885.tmp, -I, C:\Documents and Settings\Administra
ool\framework\1.apk, -S, D:\mo\apk\EbookReader\res, -M, D:\mo\apk\EbookR
droidManifest.xml]
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResou
a:193)

....

2: Need edited apk files to be re-signed? How?

3: How to install edited apk files to non-rooted device?

ever2047 is offline   Reply With Quote
Old 02-07-2012, 04:48 AM   #2
jr17oo
Member
jr17oo began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2012
Device: Sony PRS-T1
I am not an expert, but a forum search could have brought you to this thread. It might contain some useful information.

If I remember correctly, there is a version of Morkl's EbookHome.apk which can be installed on non-rooted devices. You could try to take apart the installation package to find out how it is done.
jr17oo is offline   Reply With Quote
Advert
Old 02-07-2012, 06:11 AM   #3
ever2047
Junior Member
ever2047 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2012
Device: PRS-T1
Quote:
Originally Posted by jr17oo View Post
I am not an expert, but a forum search could have brought you to this thread. It might contain some useful information.

If I remember correctly, there is a version of Morkl's EbookHome.apk which can be installed on non-rooted devices. You could try to take apart the installation package to find out how it is done.
Thank jr17oo a lot! I will try.

Problem 1 solved: I found my aapt(part of apktool) is for linux and I ran it on windows.
ever2047 is offline   Reply With Quote
Old 02-07-2012, 11:08 AM   #4
flyingdog
Member
flyingdog began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2012
Device: PRS-T1
it was not a problem for me.. you can reverse it either way via pure smali or jartool but you have always to use the correct liblevel and provide the bootclasspath since all your stuff is odexed don't forget
flyingdog is offline   Reply With Quote
Old 02-07-2012, 11:09 AM   #5
flyingdog
Member
flyingdog began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2012
Device: PRS-T1
there is no way to reinstall it on a non rooted device .. you must use adb and sign your apk properly.. on top remember that the full rom is odexed
flyingdog is offline   Reply With Quote
Advert
Old 02-07-2012, 08:12 PM   #6
ever2047
Junior Member
ever2047 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2012
Device: PRS-T1
Quote:
Originally Posted by flyingdog View Post
it was not a problem for me.. you can reverse it either way via pure smali or jartool but you have always to use the correct liblevel and provide the bootclasspath since all your stuff is odexed don't forget
Thanks very much.
Apktool 1.43 does not work, but 1.4.2 works well on my windows.

Last edited by ever2047; 02-07-2012 at 08:22 PM.
ever2047 is offline   Reply With Quote
Old 02-07-2012, 08:19 PM   #7
ever2047
Junior Member
ever2047 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2012
Device: PRS-T1
Quote:
Originally Posted by flyingdog View Post
there is no way to reinstall it on a non rooted device .. you must use adb and sign your apk properly.. on top remember that the full rom is odexed
I see that some mods installed (or overwrote?) by flash_reader.bat work on non-rooted device.
Whats the signature of those mods? Any other signature works?

I'm doing some localizations.
ever2047 is offline   Reply With Quote
Old 02-08-2012, 02:40 AM   #8
Mark Nord
2B || !2B
Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.
 
Posts: 851
Karma: 194010
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
There was the word that sony is using a set of cyanomod keys to sign its apps.
Think read it from rupor over at the-ebook.org, or in one of his replys to Morkl.
Mark Nord is offline   Reply With Quote
Old 02-08-2012, 04:40 AM   #9
jr17oo
Member
jr17oo began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2012
Device: Sony PRS-T1
Quote:
Originally Posted by Mark Nord View Post
There was the word that sony is using a set of cyanomod keys to sign its apps.
Think read it from rupor over at the-ebook.org, or in one of his replys to Morkl.
I just looked it up, it was in a thread here at MobileRead. I tried to find the keys.txt he mentions, but had no luck.

Quote:
Originally Posted by ever2047 View Post
I'm doing some localizations.
If you are only interested in localizations, you could as well ask Morkl or rupor to integrate them in their packages, so other people can benefit from your work.
jr17oo is offline   Reply With Quote
Old 02-09-2012, 04:14 PM   #10
j0534ng31
Connoisseur
j0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheese
 
Posts: 83
Karma: 1224
Join Date: Dec 2011
Location: Gijon (Spain)
Device: Sony PRS-T1 black
Quote:
Originally Posted by jr17oo View Post
I just looked it up, it was in a thread here at MobileRead. I tried to find the keys.txt he mentions, but had no luck.
Keys (not txt) are here: CyanogenMOD Gingerbread keys (it must be the 'test*' one)
j0534ng31 is offline   Reply With Quote
Old 02-10-2012, 06:36 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
Since my first reply on the subject we discovered that those are exactly the same keys Google included in every Android SDK released, so I removed keys.txt. In SVN however build_all.cmd lists key names Sony used to build each of the APK files I know about...
rupor is offline   Reply With Quote
Old 02-11-2012, 06:19 AM   #12
j0534ng31
Connoisseur
j0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheese
 
Posts: 83
Karma: 1224
Join Date: Dec 2011
Location: Gijon (Spain)
Device: Sony PRS-T1 black
rupor,

Thank you!
j0534ng31 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-T1 Do they work on rooted prs-t1? JoelH Sony Reader 0 01-14-2012 05:12 PM
Touch Need help to get my language work with a rooted NST EKetabi Barnes & Noble NOOK 5 12-08-2011 09:27 AM
Has anyone gotten google earth to work on rooted nook? jenniren Nook Developer's Corner 4 01-26-2011 02:09 PM
How can you use Calibre to make/edit Collections for your Kindle 3? diokdin Calibre 2 09-18-2010 12:41 AM
Make: HOW TO - Make PDFs for the Sony Reader (Ebook e-ink device) kalivoodoo Sony Reader 6 02-01-2007 11:56 AM


All times are GMT -4. The time now is 02:09 AM.


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