yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" Android Development] draxie:
FUD

The modem update in 14.4.5.2 is virtually identical to that in 14.3.2.3.2;

I'm downloading 14.4.5.3 right now. I'll update later...

[COLOR="Lime"]>[/COLOR] diff -rqs 14.3.2.3.2_user_323001720/ 14.4.5.2_user_452004220/
Files 14.3.2.3.2_user_323001720/9615-cdp-image-9615-cdp.yaffs2 and 14.4.5.2_user_452004220/9615-cdp-image-9615-cdp.yaffs2 are identical
Files 14.3.2.3.2_user_323001720/9615-cdp-usr-image.usrfs.yaffs2 and 14.4.5.2_user_452004220/9615-cdp-usr-image.usrfs.yaffs2 are identical
Files 14.3.2.3.2_user_323001720/ENPRG9x15.hex and 14.4.5.2_user_452004220/ENPRG9x15.hex are identical
Files 14.3.2.3.2_user_323001720/NPRG9x15.hex and 14.4.5.2_user_452004220/NPRG9x15.hex are identical
Files 14.3.2.3.2_user_323001720/appsboot.mbn and 14.4.5.2_user_452004220/appsboot.mbn are identical
Files 14.3.2.3.2_user_323001720/boot-oe-msm9615.img and 14.4.5.2_user_452004220/boot-oe-msm9615.img are identical
Files 14.3.2.3.2_user_323001720/dsp1.mbn and 14.4.5.2_user_452004220/dsp1.mbn are identical
Files 14.3.2.3.2_user_323001720/dsp2.mbn and 14.4.5.2_user_452004220/dsp2.mbn are identical
Files 14.3.2.3.2_user_323001720/fwversion.txt and 14.4.5.2_user_452004220/fwversion.txt are identical
Only in 14.3.2.3.2_user_323001720/: nvitems.txt
Only in 14.3.2.3.2_user_323001720/: nvitems_cortina.txt
Only in 14.3.2.3.2_user_323001720/: nvitems_vail.txt
Only in 14.3.2.3.2_user_323001720/: nvitems_vail_all.txt
Files 14.3.2.3.2_user_323001720/partition.mbn and 14.4.5.2_user_452004220/partition.mbn are identical
Files 14.3.2.3.2_user_323001720/rpm.mbn and 14.4.5.2_user_452004220/rpm.mbn are identical
Files 14.3.2.3.2_user_323001720/sbl1.mbn and 14.4.5.2_user_452004220/sbl1.mbn are identical
Files 14.3.2.3.2_user_323001720/sbl2.mbn and 14.4.5.2_user_452004220/sbl2.mbn are identical

OK. So, 14.4.5.3 finished downloading and the fwupdate.tar is the same as in 14.4.5.2:

[COLOR="Lime"]>[/COLOR] diff -rqs update-kindle-14.4.5.2_user_452004220/images/fwupdate.tar update-kindle-14.4.5.3_user_453011120/images/fwupdate.tar
Files update-kindle-14.4.5.2_user_452004220/images/fwupdate.tar and update-kindle-14.4.5.3_user_453011120/images/fwupdate.tar are identical
[COLOR="Lime"]>[/COLOR] sha256sum update-kindle-14.4.5.3_user_453011120/images/fwupdate.tar
7ef15ef60920fbd0d0b08aa41639808e66f61ca09095cd30dbe64aae255297e0 update-kindle-14.4.5.3_user_453011120/images/fwupdate.tar
[Kindle Fire HDX 7" & 8.9" Android Development] p1gl3t:
Here you go: https://mega.co.nz/#!bc1jBCob!WEHrXBHBDT1ONNDTzmnF8XRCK0smFzTRi7UkurrmzCU (md5 a55d74e0be851e257698f9949cf13fb8). As the name indicates, this is an Apollo image.

Beware it is not rooted, so you should also grab a Superuser zip and flash it after flashing the update. I also wiped the dalvik cache before flashing. Also, check the md5

It should also work with locked bootloaders, but I haven't tested that.

Regarding your log, It seems that zygote is crashing in native code. The only explanation that I can find is that you haven't flashed the complete /system.

---------- Post added at 08:51 PM ---------- Previous post was at 08:49 PM ----------

I was on 3.1.0 prior to flashing the modified 4.5.2. I'll check that out later.
[Kindle Fire HDX 7" & 8.9" Android Development] gbgadgets:
Thank you for posting this!!! I looked at this update, and it seems almost identical to what I was doing. Something missing on my device seems to be the following four files.

symlink("/data/misc/DxHDCP.cfg", "/system/etc/DxHDCP.cfg");

symlink("/data/misc/audio/wcd9320_mad_audio.bin", "/system/etc/firmware/wcd9320/wcd9320_mad_audio.bin");

symlink("/data/misc/wifi/WCNSS_qcom_cfg.ini", "/system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini");

symlink("/mnt/sqfs/fonts", "/system/fonts");

Are these present on your device? How could they be missing? I have done very little modification to this device (definitely not deleting random files....) I rarely (if ever) have seen any files impacting /data being updated or replaced as part of these update.bin files from Amazon. So, it would seem these files would have been present on an initial product. I am sad to say, I never copied/backed up the original product partitions and so I have no source to obtain /data files like these four I seem to be missing. These are the only four being symlinked as part of this update that I am missing, but....I wonder if there are other /data files missing that I have no idea about. This is very bizarre for sure.

I hate to ask, but could you or anyone who has them, post these four files so I can check if it is just limited to these?
[Kindle Fire HDX 7" & 8.9" Android Development] p1gl3t:
Only the last one seems to be somewhat related to the segfault stack trace in the logcat. In /mnt/sqfs/fonts you should have /system/sqfs/container.sqfs mounted.

Have you been working on the ota on Windows?
[Kindle Fire HDX 7" & 8.9" Android Development] gbgadgets:
No, I've been working on everything in Ubuntu. When I use rom toolbox pro root browser to navigate to /mnt all I see there is asec; obb; sdcard; secure; and shell

How could this have happened? Hmmm.
[Kindle Fire HDX 7" & 8.9" Android Development] p1gl3t:
/mnt/sqfs should be mounted by init.target.rc from the ramdisk

mkdir /mnt/sqfs 0771 system system
mount squashfs loop@/system/sqfs/container.sqfs /mnt/sqfs wait ro

Maybe there is something wrong with the ramdisk.

You should try running those commands manually and see what happens.
[Kindle Fire HDX 7" & 8.9" Android Development] Cpasjuste:
Hi p1gl3t,

the 4.5.3 update does now have the same problem on thor. The cmdline panel option for apollo does not work (of course?) for thor, i just get a black screen (which is better than without the cmline param).

So my question, can you extract the desired infromation for thor ? This would save me a lot of time :)
[Kindle Fire HDX 7" & 8.9" Android Development] p1gl3t:
Try with 0:qcom,mdss_dsi_novatek_1080p_video1:qcom,mdss_dsi_novatek_1080p_video: or only qcom,mdss_dsi_novatek_1080p_video.

If that does not work, I'll need a dmesg from the failing 4.5.3 and from a older, working, stock rom.

On an unrelated subject, I got stuck with work on the root exploit. On 4.5.2 I don't have any loaded TZ apps. playread gets loaded a couple of times but then it is immediately unloaded. I must get a handle of a TZ app to be able to proceed with the exploit, but I didn't find any simple way to force load an app (ex: playread, tzwidevine, keymaster, tzsuntory, venus, securemm, SsmApp). Any hints?

My problem might be related to not having upgraded /dev/block/platform/msm_sdcc.1/by-name/modem, as that is mounted to /firmware, which contains the TZ app images.
[Kindle Fire HDX 7" & 8.9" Android Development] Cpasjuste:
Thanks, i was almost there :)

Edit: it's working thanks again :)
[Kindle Fire HDX 7" & 8.9" Android Development] p1gl3t:
NON-HLOS.bin from 4.5.2 contains some TZ apps that are absent from 3.1.0, like amznkm and keymaste (not a typo). I think I should flash the new version.
[Kindle Fire HDX 7" & 8.9" Android Development] Cpasjuste:
At least NON-HLOS.bin updates should not cause any problem (i did it in the past).
[Kindle Fire HDX 7" & 8.9" Android Development] p1gl3t:
NON-HLOS.bin also contains the modem image (that runs on the modem DSP, afaik). Might flashing and updated version with an older, non-updated, baseband firmware, break stuff in non-obvious ways?

LE Flashed it anyway. Now I have the keymaster app to play with.
[Kindle Fire HDX 7" & 8.9" Android Development] dpeddi:
I think this is a really interesting OT thread :)

OT1: How you trap/monitor/debug a tz app? I haven't figured out yet when they are loaded...

OT2: if FORCE_TRUSTED_BOOT qfuse is fused pbl start checking integrity chain but who know if this check is bugged as well? it would be possible to resign all pbl/sbl with the forged key...
[Kindle Fire HDX 7" & 8.9" Android Development] dpeddi:
[MENTION=5749760]ggow[/MENTION] [MENTION=503571]Cpasjuste[/MENTION]

Bandwidth is always a problem... fixing bug waste time and bandwidth:

If you want to build incremental ota you can do something like this:

#ls -1tr out/target/product/apollo/obj/PACKAGING/target_files_intermediates/*.zip |head -1

MAJOR_RELEASE=cm_apollo-target_files-cf9f62c344.zip

MINOR_RELEASE=`ls -1r out/target/product/apollo/obj/PACKAGING/target_files_intermediates/*.zip |head -1`

export PATH=$PATH:out/host/linux-x86/bin

build/tools/releasetools/ota_from_target_files -v -i out/target/product/apollo/obj/PACKAGING/target_files_intermediates/$MAJOR_RELEASE $MINOR_RELEASE incremental.zip
[Kindle Fire HDX 7" & 8.9" Android Development] p1gl3t:
OT1: I have no idea. I guess one way would be to run them in user space + some kind of emulation for communication. TZ apps might be our gateway to unlock newer bootloaders.

OT2: One should be really careful when dealing with the trust chain. One false move anywhere before boot/recovery.img and you get a nice brick. Well, eventually, someone has to find out if JTAG was disabled or not :)). Of course, even if JTAG is not an option, we can still directly flash the eMMC.
[Kindle Fire HDX 7" & 8.9" Android Development] dpeddi:
OTG:

hlte should have same soc as kindle:

https://github.com/CyanogenMod/andr...rm/boot/dts/msm8974/msm8974-sec-hlte-r09.dtsi

I've compared the usb config and seems quite similar.

I've seen this difference:

our:

usb2_otg_sw: regulator-tpd4s214 {

compatible = "regulator-fixed";

regulator-name = "usb2_otg_sw";

gpio = <&pm8941_gpios 18 0>;

vin-supply = <&pm8941_boost>;

startup-delay-us = <17000>;

enable-active-high;

};

hlte:

usb2_otg_sw: regulator-tpd4s214 {

compatible = "regulator-fixed";

regulator-name = "usb2_otg_sw";

gpio = <&pm8941_gpios 18 0>;

parent-supply = <&pm8941_boost>;

startup-delay-us = <17000>;

enable-active-high;

};

drivers/regulator/fixed.c:

if (of_find_property(np, "parent-supply", NULL))

I can't see any vin-supply

with lxr.free-electrons I've seen that vin-supply is present on later kernel release

Strange but it seems that amz 4.5.3 3.10 have vin-supply...

It seems that they are working on 3.10 from a lot of time and may have backported dts

If someone want to try.. I'm still busy with family and who pay me for my work...

Tried but it close adb access and I don't get the led on usb flash to turn on

I give another try...

I have to configure CONFIG_OTG_UTILS otherwhise usb_get_tranceiver will always be null and dwc3 will always be in host mode.
[Kindle Fire HDX 7" & 8.9" Android Development] Hashcode:
Its possible the OTG pin was used for modem on the LTE version. It's the same for the Kindle Fire HDs.

This means you can get OTG function but only while using a powered hub and you will probably need to add some kind of sysfs entry to tell kernel you're ready (similar to when it detects powered pin).
[Kindle Fire HDX 7" & 8.9" Android Development] dpeddi:
That was a my suspect..

You managed to get lte working on kindle hd?

I was able to make it ring my phone from command line with atd modem command.. but still don't work from android.. I think we need to patch ril.java..

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Kindle Fire HDX 7" & 8.9" Android Development] tuanda82:
Does anyone test this image? Just flash it via TWRP? Do we lost the TWRP recovery after flashing?

Thanks.
[Kindle Fire HDX 7" & 8.9" Android Development] p1gl3t:
I think someone (besides me) did test it, but I don't remember off hand who it was. The image only flashes the system and boot partitions partitions and does not touch the recovery.

There is one small problem with it. As It does not flash the modem partition (NON-HLOS.bin from ota), some DRM related suff that use TrustZone apps might not work.

I have flashed the partition manually with dd.

I could make a 14.4.5.3 image if you want, but you'll have to wait.
[Kindle Fire HDX 7" & 8.9" Android Development] tuanda82:
Thank you very much. I can wait. :)
[Kindle Fire HDX 7" & 8.9" Android Development] gbgadgets:
I did flash it, and it works great. It does not disable ota updates though, so you will need to take care of that , otherwise 14.4.5.3 WILL start downloading right away. Flash su after too.

Thanks again p1gl3t.
[Kindle Fire HDX 7" & 8.9" Android Development] kociubin:
Thank you for making this available. I flashed it using TWRP. Almost everything works great (including LTE, Google Play, Xposed, etc). But, I'm not able to get Amazon Prime Videos to play. I always get a "Error Code: LICENSE ERROR"

It looks like it needs the NON-HLOS.bin.

---------- Post added at 09:50 PM ---------- Previous post was at 09:20 PM ----------

I was able to fix this by doing the following:

1) Added the following line to back into the upgrader-script (same place as in the original script)

package_extract_file("images/NON-HLOS.bin", "/dev/block/platform/msm_sdcc.1/by-name/modem");

2) Re-flashed

3) Force close the Amazon Video app. From "App Info" cleared data and cache

I'm not 100% sure if #1 was needed because I did that first and it didn't fix the problem (but it did change the behavior) and only later tried doing #2 and #3 which helped.
[Kindle Fire HDX 7" & 8.9" Android Development] GSLEON3:
Has anyone tried flashing the .4.5.3 system only, running it on the 4.5.2 kernel & bootloader?

I was going to DL 4.5.3 & diff it against 452, but thought I'd ask if anyone had already done so first.
[Kindle Fire HDX 7" & 8.9" Android Development] gbgadgets:
I did not diff the two update packages, but I did flash 4.5.3 on top of 4.5.2 with the exception of boot.img. I could not get the 4.5.3 boot.img to work for me. I am sure I am doing something wrong, so I just kept the 4.5.2 boot.img from the update and all is working well. I attempted to change the header on the dt.img to version 1 and modify the kernel commandline for the panel info, but after I repacked and signed the image with cuber, it was not working. I have not had time to continue to mess with it, so I am fine for now just using 4.5.2 boot.img.

Edit: I misread the question I think. I am on the 14.3.2.3.2 bootloader with everything else 4.5.3 except boot.img being 4.5.2 from [MENTION=4276415]p1gl3t[/MENTION].
[Kindle Fire HDX 7" & 8.9" Android Development] Cpasjuste:
At least here is how i do it from sources : https://github.com/Cpasjuste/android_device_amazon_hdx-common/blob/cm-12.0/mkboot.mk

Instead changing the dt header you should try to extract only the wanted dtb from your dt binary (on thor it's the 2nd (thor-v2) and happend that to your kernel. I think it should work that way.
[Kindle Fire HDX 7" & 8.9" Android Development] draxie:
Actually, changing the DT header and the command-line also works. See my cuboot.py script for details, if you care.

I also attached a diff between the latest two updates, in case that's still relevant.
[Kindle Fire HDX 7" & 8.9" Android Development] Cpasjuste:
Thanks ! I'll try to take a look soon !
[Kindle Fire HDX 7" & 8.9" Android Development] atczc:
It worked! Thank you very much!
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Whaa? This is a two year old thread! What are you trying to accomplish? Probably a better approach using current techniques.
[Kindle Fire HDX 7" & 8.9" Android Development] microbai:
hi，did you have the Synaptics.img for Thor?
[Kindle Fire HDX 7" & 8.9" Android Development] draxie:
Read & comprehend?

If they do, so do you. Amazon published their kernel source...
[Kindle Fire HDX 7" & 8.9" Android Development] microbai:
sorry for my poor english。

I have found Synaptics.3.B.thor.img.ihex，how can i transform it to Synaptics.3.B.thor.img?
[Kindle Fire HDX 7" & 8.9" Android Development] draxie:
Dunno... hex2bin? Google?
[Kindle Fire HDX 7" & 8.9" Android Development] s11d:
next step

my hdx（apollo）can use adb via twrp 2.8.7 ，but the touch screen isn't work ，when i use adb push the flie（push synaptics_fw_updater）to /data ，adb show /data is read -only file system ， i don’t know what the next step 。

also in adb ， i print “adb shell” and then “su ”，they show “su” not found ，

my english is so bad ，i hope you can understand what i say ，thank you
[Kindle Fire HDX 7" & 8.9" Android Development] draxie:
guess

I can only guess what you mean, but let's give it a try.

Are you trying to fix your touchscreen using the firmware updater utility?

When you run 'adb shell', what does your prompt look like?

Or, even better: can you post the output of the 'id' command?

If you happen to be root by default (not uncommon on some versions of TWRP),

you should be able to simply remount /data read/write (mount -o remount,rw /data).

Alternatively, you could just try to use a different directory, which is mounted rw

by default (maybe, /sdcard?). This has the added benefit that it should work even

if you don't have root....
[Kindle Fire HDX 7" & 8.9" Android Development] s11d:
answer

[MENTION=5828306]draxie[/MENTION]

i try to use kfhdx toolkit 0.95 root the hdx , failed ,it show

failed to copy 'C:\Users\ADMINI~1\AppData\Local\Temp\afolder\towelroot.apk' to '

/data/local/tmp/towelroot.apk': I/O error

rm: can't stat '/data/local/tmp/towelroot.apk': I/O error

i try to run adb shell,and the command show

"adb shell"

" ~ # [6n "

"su"

"/sbin/sh: su: not found "

but one thing ,i can use "adb push" to other directory,such as /system ,/sdcard ,

i haved push a rom zip to sdcard ,

also , i try to use twrp ,when i click the mount button ,and unmount data ,the adb push can work ,

but "chomd 777" the file ,the command show line7 is wrong ,

because the touchscreen is work ,but the command isn't right .always use the wrong direction，

i touch right ，but the direction isn't right ,

i hope some file can mount rw /data or /system ， and i can use twrp to install the rom ，

i can use adb to root？

or i can use adb to install rom ？

or maybe adb push the root file into /system or other directory ，let the hdx have temporary root ，
[Kindle Fire HDX 7" & 8.9" Android Development] draxie:
I don't quite understand WHY you'd want to do that.

Chances are that toolkit won't work, unless you happen

to have a really old version of FireOS on your device.

Why don't you try something more recent:

https://xdaforums.com/kindle-fire-hdx/general/thor-unlocking-bootloader-firmware-t3463982

That means you're root (just run 'id' to verify).

You don't need 'su'.

Again, I'd suggest that you try some of the more recent options,

but -if you insist- this post can help you get a rom installed from

the command-line (seeing that your touchscreen seems to be

mis-calibrated):

http://android.stackexchange.com/qu...cript-to-reboot-into-recovery-and-install-zip
[Kindle Fire HDX 7" & 8.9" Android Development] s11d:
answer

[MENTION=5828306]draxie[/MENTION]

thank you for your search

but the command file isn't work for my table ，（for install rom）

this time ， first ，i unlock the bl sucessful

sceond ，when i power on， i can come in the fastboot mode ，i try to use fastboot command install rom.zip

but failed,say lacked "phoneinfo.txt" and other .txt (i haved forgot the name ) .i will try to find other rom to install

third , i use fastboot erase command to erase all, but the folder"data" erase failed，can i found data.img to flash it?

or let someone made it .

i hope my process can help someone or give to guide someone 。
[Kindle Fire HDX 7" & 8.9" Android Development] draxie:
I'm sorry, but I find your message close to incomprehensible,

and the little I think I might grasp sounds really strange.

I'm affraid, I cannot help, unless you manage to describe

your situation more clearly.
[Kindle Fire HDX 7" & 8.9" Android Development] Neko_nyan:
Dear author, it might be unproper to reply to this old post, but I'm having the same problem. I flashed a Thor twrp to my hdx 8.9 and the touch screen doesn't work. I read your post, but did not understand what to do.

Firstly, I'm using a Windows 10 laptop, instead of a linux one. Can I use ADB push instruction in cmd?

2, which files from Github do I need to copy? Are they /Synaptics.3.B.apollo.img/ and /synaptics_dsx_fw_update.c/?

Thanks a million!
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Just follow the instructions I posted here:

https://xdaforums.com/showpost.php?p=56986107&postcount=22

It includes all the files needed, should all work on windows too so yes you can the 'adb push' command.
[Kindle Fire HDX 7" & 8.9" Android Development] Neko_nyan:
Thank you for your help, however, I'm preparing for my final exams now, so I haven't flash those yet. Once succeeding, I'll reply again:)
[Kindle Fire HDX 7" & 8.9" Android Development] Neko_nyan:
Dear author, I still have several problems:

in the first line 'adb push synaptics_fw_updater /data', I didn't find that synaptics_fw_updater file in github. So what is that?

And my computer (Win10) keeps reporting devices not found, and I tried every method I could found, such as taskkill adb.exe then start it, creat an adb_usb.ini. I don't know what to do.

Thanks a lot.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Look here for synaptics_fw_updater, trust me, everything to complete the task is in the git repo

https://github.com/ggow/synaptics-d...ols/synaptics_fw_updater/synaptics_fw_updater

You need to confirm that you have working adb before proceeding - windows 10 can be a pain in the a$$.

Try here to get your system ready: https://xdaforums.com/showthread.php?t=2588979
[Kindle Fire HDX 7" & 8.9" Android Development] kindle2021:
我在 github 中没有找到 Synaptics.3.B.apollo.img 文件
[XDA Assist] cello2015:
eu passei uma room no meu s4 mini duos , e sumiu o imei , o blutooff nao pega , nem wifi , alguem pode me ajudar ???? pfv
[XDA Assist] Darth:
Hi,

As XDA is an international website, it has chosen English as it's language.

Please use google translate or something similar and post your issue in English.... And I'll be happy to point you towards help.

Thanks !
[Verizon Motorola Droid Turbo Q&A, Help & Troublesh] Despiadado1:
Let me start off by saying that I really like this phone and I'm no where near giving up on it.

With that said, I bought 3 of these within the first couple of days after release.

For me - Current occupation - IT System Administrator with 18 years of experience in various areas of IT

My son - Current in college, going for his Computer Science degree.

My daughter - Currently in college and surrounded by tech her whole life as I am a tech lover.

I mention who we are only so people don't assume that we are typical end users that can't figure out the difference between their heads and their asses. :)

My son has returned his Turbo twice (both metallic black). The first time, he had major scrolling issues. Phone would "fling" through pages unprompted while touching the screen. The second one he returned because there is a glue problem or something like it with the back of the phone, near the bottom. Makes a creaking noise (loud) if you press on the back near the bottom.

My daughter has just returned her first (32 GB Ballistic). Hers will not connect to WiFi without a reboot. Very annoying. Airplane mode first then trying didn't work.

Mine - I have not returned by 64 GB Ballistic yet but I think I am going to exchange it. I have problems with WiFi connecting also. It isn't as bad as hers in that mine occasionally connects without a reboot. In addition, mine definitely has some sort of touch screen issue. The screen becomes unresponsive at times and requires me to press the home button to "reset" the screen. I installed display tester and checked the multi-touch test and found that sometimes it won't register all fingers or one fingers touch is chaotic, wiggling all around while the others are ok. I also have a volume issue of some kind. I have to turn the phone up past half volume just to hear it... even in a quiet room.

I do really like this phone and have every intention of keeping it assuming that I can get one that doesn't have issues. Not sure if it was rushed or whatever but there is a definitely some build quality issues going on here.... Makes me very sad. :(
[Verizon Motorola Droid Turbo Q&A, Help & Troublesh] mobrules777:
The second one he returned because there is a glue problem or something like it with the back of the phone, near the bottom. Makes a creaking noise (loud) if you press on the back near the bottom.

This is an issue for some and I believe there are some youtube videos demonstrating it.