Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-11-2017, 12:22 AM   #31
knc1
Analog Forever!
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 15,432
Karma: 17000319
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Branch Delay View Post
This is fantastic. Someone is replacing KindleOS with a custom Android build that needs to be "activated"? We should reverse engineer this and see what's going on. Would be neat to have a generic Android build running on newer Kindles. Wonder how they got drivers working for the eink display?

Can anyone mirror the files while they're still up?
The activation key is what the person is selling.

Already done.

Beware, there are some serious typos in the code.
Quote:
Originally Posted by coplate View Post
I've mirrored enough of it I think, there is no source code, but the u-boot seems the important part to launch android?

I just cannot wrap my head around the boot loader process though.
Yeah, calling u-boot as an upstart job is a bit tricky.
And making a KUAL menu button to launch it, not exactly a 'clean' way to do it.
He did use NiLuJe's bridge code to make the Android install "update safe".
Quote:
Originally Posted by Branch Delay View Post
Initial guess is that someone cloned the Kindle hardware and ported Android to it as a feature upsell? Heck if I know, this seems like a lot of work for questionable gain.

Nevermind, looks like this was built with leaked (freescale) tools for the microprocessor. Less exciting, won't be able to build our own in the same way.

Built from: /media/freescale/android4.4.2-source/.

Rough waters ahead, beware!
Not cloned Kindle hardware, actual Kindle hardware.
The person had been selling Android conversion services since they first showed up here about a year ago.

I don't think there is any leak involved with the NXP (f.k.a: Freescale, f.k.a: Motorola) tools - they have had an Android example up for years.
But I thought that their example used RedBoot, not U-Boot. I could be mis-remembering that.

Yeah, that version is just about when Android adopted SELinux in full enforcing mode. IIRC it was somewhere in the 4.x series.
And if a person is planning to deal with that, they might as well start with a base of AOSP version 8.x

= = = =

Personally, I want to wait and see if Amazon announces an Android build for the i.MX6 Kindles.
There must be some reason that ADB can be found (erased) on some of them.

Although I will admit that I have spoken (written) with a few people privately about what to do if that is still what is being done - selling a "closed source" version for profit of the open source Android project.
And (properly) releasing a free version seems to be the best and quickest way to put an end to that.

Also, it appears that person is using Google's Android branding in ways not allowed by their branding usage publications.
Getting the Chinese government to pay attention to a few pissed off programmers is not likely to happen, but they will listen to Google - who is a major contractor of their GFC (Great Firewall of China).

Last edited by knc1; 10-11-2017 at 12:41 AM.
knc1 is offline   Reply With Quote
Advert
Old 11-28-2017, 03:02 AM   #32
parrotgeek1
Junior Member
parrotgeek1 doesn't litterparrotgeek1 doesn't litterparrotgeek1 doesn't litter
 
Posts: 3
Karma: 226
Join Date: Nov 2017
Device: none
I have found where the registration code is being checked.

inside the zip
http://182.254.232.41/firmtest/andro...dle.171102.zip
there is a file named esystem.bin. (It should be similar for the other devices and versions)

This file is really an ext4 filesystem (you can check with "file" command).

Mount it:

mkdir droid
mount -o loop -t ext4 esystem.bin droid

Now look inside:

cd droid
ls

you see the android filesystem (app/priv-app/etc)

I used apktool to decompile all apks, and found an interesting one JSONClient.apk.
It has code to force itself to be the default launcher, and lock out all other apps. It also checks the device serial number, etc. So it is almost certainly the registration check.

I used a java decompiler to read the code and found that it uses a jni library "libjnidemo.so" (LOL) to create some kind of hash of the serial number, upload it to kdroid.net, and check the result.

Rather than try to crack it I think that you could just delete that apk and then install the modified image.
parrotgeek1 is offline   Reply With Quote
Old 11-28-2017, 03:05 AM   #33
parrotgeek1
Junior Member
parrotgeek1 doesn't litterparrotgeek1 doesn't litterparrotgeek1 doesn't litter
 
Posts: 3
Karma: 226
Join Date: Nov 2017
Device: none
Here is the decompiled apk and library referenced above
Attached Files
File Type: zip intersting.zip (202.6 KB, 26 views)
parrotgeek1 is offline   Reply With Quote
Old 11-29-2017, 10:13 AM   #34
Jiang Yuhan
Enthusiast
Jiang Yuhan began at the beginning.
 
Posts: 41
Karma: 12
Join Date: Jul 2017
Device: New Kindle(558)
Quote:
Originally Posted by parrotgeek1 View Post
Here is the decompiled apk and library referenced above
Have you succeeded installing it?
Jiang Yuhan is offline   Reply With Quote
Old 11-30-2017, 01:16 AM   #35
parrotgeek1
Junior Member
parrotgeek1 doesn't litterparrotgeek1 doesn't litterparrotgeek1 doesn't litter
 
Posts: 3
Karma: 226
Join Date: Nov 2017
Device: none
Quote:
Originally Posted by Jiang Yuhan View Post
Have you succeeded installing it?
No, I don't own a Kindle
parrotgeek1 is offline   Reply With Quote
Advert
Old 11-30-2017, 09:14 AM   #36
Jiang Yuhan
Enthusiast
Jiang Yuhan began at the beginning.
 
Posts: 41
Karma: 12
Join Date: Jul 2017
Device: New Kindle(558)
Quote:
Originally Posted by parrotgeek1 View Post
No, I don't own a Kindle
emmm,what a pitty!
Jiang Yuhan is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Kindle oasis on way? wakkaday Amazon Kindle 192 09-29-2017 12:28 PM
Got the Kindle Oasis growingcow Amazon Kindle 142 05-05-2017 10:29 PM
ordered an oasis have i made mistake? kobo-voyage-oasis wakkaday Amazon Kindle 9 11-26-2016 06:01 AM
YouTube: Kindle Fonts Review on Kindle Oasis (NOT an Oasis review) Richard529 Amazon Kindle 1 04-28-2016 03:49 PM
Welcome: Kindle Oasis ll Legion ll Amazon Kindle 2 04-12-2016 11:30 AM


All times are GMT -4. The time now is 09:22 PM.


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