yashsingh1/xdaforums huggingface dataset:
[Amazon Fire Phone] pipataki:
The flashing was complete?, no errors while flashing... this is important to know if is flashable...

I hope the latest that I fixed could work, is uploading, in an hour more or less is up...
[Amazon Fire Phone] fax1988:
Yes,flashing was complete with no errors,next time I upload a phone~
[Amazon Fire Phone] pipataki:
do the update this time from safestrapped amazon stock better, not from a custom rom...

(if you don't have it installed, flash first the safestrap version of Amazon stock... and then one of these two roms)
[Amazon Fire Phone] pipataki:
miui8 uploaded
[Amazon Fire Phone] pipataki:
[MENTION=7377203]fax1988[/MENTION] the logo image when booting appeared correctly in the flsah you made first time?... is important in order to know if the ROM detects the screen resolution correctly...

I think we are so near!!!
[Amazon Fire Phone] fax1988:
It same as last time

stop at white logo and restart to Fire System Recovery

I upload the flash complete photo
[Amazon Fire Phone] pipataki:
And what recovery starts, safestrap or amazon Factory?....

i keep an ace too, if doesn't works this second... I'll show my ace...
[Amazon Fire Phone] pipataki:
hey, I know the problem... before flash the rom, unmount data partition in Safestrap... the problem is that data partition is mounted...
[Amazon Fire Phone] pipataki:
no need of gapps... all google aps are in the system...
[Amazon Fire Phone] pipataki:
forget last posts... because busybox only was needed to format system... and there is no need really to format system with busybox, so directly i pass the comment to updater script to format system... and begin uploading test2 in minutes
[Amazon Fire Phone] pipataki:
uploading test2... 2h30minutes left... hope all works ok and this doesn't brick any phone... keep in mind that this is a possibility, we are in a field without knowledge about...
[Amazon Fire Phone] LoveScarGuitar:
I am on lineage os 11 for fire phone and I have a tmp folder in /data/local/ folder.
[Amazon Fire Phone] pipataki:
file uploaded...
[Amazon Fire Phone] cell2011:
Is it going to be a new upload?
[Amazon Fire Phone] pipataki:
test2 is uploded, when I wake up this morning was up...
[Amazon Fire Phone] cell2011:
Ok let you know how it goes im flashing soon. So far its hanging not flashing anything yet. It hasnt failed but the bar is not moving. UPDATE: It rebooted to stock recovery?
[Amazon Fire Phone] pipataki:
it works?

do wipes after flashed...
[Amazon Fire Phone] cell2011:
No it went to stock recovery have to update firmware all over again. I didn't have a chance to wipe
[Amazon Fire Phone] pipataki:
don't wipe when sideload with stock, The safestrap and root maybe is there
[Amazon Fire Phone] cell2011:
I flashed not sideload
[Amazon Fire Phone] pipataki:
thats because restart in safestrap, I supose not in original factory recovery?...

and that is really good news... because, the apps are working, the problem is while booting...
[Amazon Fire Phone] pipataki:
can you try, when flashed... instead of reboot system directly, go to wipe and do a factory reset?

or use cleansystempartition.zip before flash the rom?
[Amazon Fire Phone] cell2011:
Ill try that but i dont want to keep having to update firmware and root and safestrap all over like i do now. Ill let you know what happpens. ill try it again and clean system part zp
[Amazon Fire Phone] pipataki:
ok... thanks [MENTION=3941622]cell2011[/MENTION] ill wait for your tests...
[Amazon Fire Phone] pipataki:
test3 in 2h and a half...

now I have try to emulate the flash process of miui7 in miui8, and I've incorporated Supersu and safestrap to the System, copying it from data folder, I hope that this could at least, in case of ROM fails, have ready safestrap to reflash another ROM or whatever needed...

Steps are the same of Miui7 of [MENTION=8026149]hussain97[/MENTION] except gapps installation... there is no need...
[Amazon Fire Phone] cell2011:
Ill test 3 when youre ready. Test 2 goes back to stock recovery even after clean system zip then flash rom
[Amazon Fire Phone] pipataki:
it must be up... In shared folder... im not at home now...
[Amazon Fire Phone] cell2011:
Sorry failed right away
[Amazon Fire Phone] pipataki:
safestrap and/or root after?
[Amazon Fire Phone] cell2011:
Safestrap i wiped and your rom thats it i didnt reroot. I just now flashed and root and failed right away. LoOk at the above line from RESTORE STARTED. Thats what happened when i flashed Test3
[Amazon Fire Phone] pipataki:
ok... tomorrow I'll try to pass trough the kitchen, in order to repair binary... maybe updater is ok, but binary not...
[Amazon Fire Phone] pipataki:
but the restore image is yours, no?
[Amazon Fire Phone] laidbackcloud:
if something like this is successful, does that mean theres a vulnerability?
[Amazon Fire Phone] pipataki:
I don't understand, there are good news or bad news?
[Amazon Fire Phone] cell2011:
Yes I have the Nexus fire rom as a backup in Restore
[Amazon Fire Phone] pipataki:
then, do i try to repair binary in kitchen for test4?

or better try to do it tomorrow?
[Amazon Fire Phone] pipataki:
Tomorrow more and better...

Test4_Miui8_FirePhone_pipataki-signed.zip uploading...

2h40minutes left...
[Amazon Fire Phone] pipataki:
Test4, in the shared folder....
[Amazon Fire Phone] LoveScarGuitar:
Do we know if the bootloader for this phone is SPL? could this help with cracking the bootloader? I know its also easier to crack the bootloader in older versions of android, like the one this phone is stuck on, due to less security patches.

Here's the link to the SPL bootloader I was talking about:

HTTPS://xdaforums.com/wiki/SPL
[Amazon Fire Phone] pipataki:
Then to do this it's needed to use superCID to change CID, i have not all the process clear... I've been reading something of RUU of HTC, but in this case I don't know where to begin... and I don't have fire, without machine... maybe isn't possible...
[Amazon Fire Phone] cell2011:
After Test4
[Amazon Fire Phone] pipataki:
cell but the restore is maden automatically by the flash of test4, or you do it when flash fails?
[Amazon Fire Phone] cell2011:
I always have a backup in restore. Your rom is still not working. I feel that you might be close i have faith
[Amazon Fire Phone] jps516:
I downloaded the test4 ROM package in the morning, try to brush machine, but did not succeed. A few days before the brush into the Slim-20170909 Rom, but the text shows incomplete.
[Amazon Fire Phone] LoveScarGuitar:
Yeah. I do apologize that Amazon is giving you so much trouble getting you a new phone. I actually bought this phone from a friend, so I am just barely getting here and seeing what this XDA community thread is like. I am also on the Asus Zenfone 2 laser community too. And I have had a few phones before that as well, so I am just running off of ideas that I have seen other developers use. Hopefully I can help in some way with this community.
[Amazon Fire Phone] pipataki:
please, if you could send private mesage...
[Amazon Fire Phone] pipataki:
Test_5 uploading....

5h left, more or less
[Amazon Fire Phone] cell2011:
Ok look forward to test
[Amazon Fire Phone] cell2011:
Ill let you know what happens after i download this and flash. This time it hang on and flashed but went back to stock recovery again did not boot. I wiped and rom and root but did rom did not boot
[Amazon Fire Phone] pipataki:
anyone knows the bootloader version, baseband and the required fields of this image in our fire phone?... this is the android-info.txt of patchrom...

all happens maybe be fixed with the correct android info... how to know it without having a fire phone?
[Amazon Fire Phone] Rimey shah:
In this way u can cracked the bootloder code??
[Amazon Fire Phone] pipataki:
I don't know, I have to compile with that fields of 4.6.6.1 of Fire... baseband, I've found googling... but like I haven't my fire yet, I don't know others one
[Amazon Fire Phone] Rimey shah:
OK thanks brother
[Amazon Fire Phone] pipataki:
but I try first with a decompressed boot.img of the stock I made when I inserted emojis on stock ROM...
[Amazon Fire Phone] Rimey shah:
U have discovere to crack bootloder codec?
[Amazon Fire Phone] pipataki:
Test_6 uploading... hope this works, uses the boot.img from stock and is compiled with the same, extracted...

2h30m left...
[Amazon Fire Phone] pipataki:
Test-6 Uploaded
[Amazon Fire Phone] cell2011:
Here nothing happened and went back to stock recovery after I rebooted
[Amazon Fire Phone] pipataki:
uploading Test-7_Miui8_FirePhone_pipataki.zip

2h30m left...
[Amazon Fire Phone] pipataki:
I don't know if this worth, but I think i have android-info.txt

in the picture... in micode patchrom, compile ok... so maybe is this... could be useful to restore from qcomm-usb tool

two minutes, test 7 up in shared

(if anyone restore with this txt, please keep me notified, my fire has this issue)
[Amazon Fire Phone] jps516:
Google cloud disk did not see Miui8 file？
[Amazon Fire Phone] pipataki:
because last one doesn't work... i'm working on test-8
[Amazon Fire Phone] pipataki:
Test8_MIUI8.zip uploading

2h35m left
[Amazon Fire Phone] jps516:
Thank you for your hard test, thank you for sharing!
[Amazon Fire Phone] pipataki:
test8 is uploaded...
[Amazon Fire Phone] cell2011:
Does Test 8 work? Anyone? Ive tested all up to Test 7.
[Amazon Fire Phone] pipataki:
Do I stop the work a fiew days?...

I don't want any fire could brick with the tests... and if amazon replace my phone, I could do the tests by myself... for me no problem...

is the same for me keep working with this, that stop for a while...

if someone ask me keep, I keep working... and If there is nobody interested, I keep when I have fire again...

(but don't give all the test work to [MENTION=3941622]cell2011[/MENTION] in case that are anyone interested)
[Amazon Fire Phone] fax1988:
thank you for your work

now ,I think the most important thing still boot

the safestrap is a init hook,it will change your init file,not just an app,only incloude it will not work

debug the boot need some more try and other ways,like logs or other
[Amazon Fire Phone] jps516:
I flash test8_Miui8.zip. Display NO MD5 file found.
[Amazon Fire Phone] pipataki:
That isn't an error... just disable signature verification and, this zip isn't signed...

flash ok, no?... only that doesn't boot yet...

Next week, changes, I'll try another alternative to miui... but this way, maybe will discontinue...
[Amazon Fire Phone] pipataki:
good news!!!

I've replace supersu root with magisk root... I think for makes boot is better using this way... I used the updater script file of magisk zip like a normal

bash shell file... removing previously the old supersu.apk

supose this time could work all... my coputer is compiling now the new ROM...

(magisk patches boot.img)
[Amazon Fire Phone] cell2011:
Sounds good ill try it when ready send me a PM ok
[Amazon Fire Phone] xbtz:
anyone could please, share some screenies?
[Amazon Fire Phone] pipataki:
ok... its difficult to compile... maybe have to change some lines more... but looks fine with this modding...
[Amazon Fire Phone] pipataki:
I think I'll have this night... but isn't so easy... Im trying...
[Amazon Fire Phone] pipataki:
These are two test of miui8...

Try, if anyone works, please, report me... I hope that if isn't, at least reboot to safestrap...

do wipes first, second flash an stock rom via safestrap, then flash the safestrapped stock, and then this miui8...

better before all steps, pass the cleanpartition zip of ggow... and don't forget, to flash the three roms in this order..

I you want to root, flash magisk.zip instead of supersu.zip
[Amazon Fire Phone] cell2011:
Anybody try this? Ive tried all the way up to Test8. UPDATE !! Doesnt work.
[Amazon Fire Phone] LoveScarGuitar:
I'll try this right now. So. Wipe everything. Sideload stock. Then sideload safe strap stock. Then try this one?
[Amazon Fire Phone] cell2011:
Any luck?
[Amazon Fire Phone] pipataki:
Success or the same as before?

Now I'm trying with GZOSP from github... I'll update news...
[Amazon Fire Phone] LoveScarGuitar:
No success
[Amazon Fire Phone] pipataki:
ok... thaks [MENTION=6513322]LoveScarGuitar[/MENTION]
[Amazon Fire Phone] laidbackcloud:
does fire phone have the blueborne vulnerability and can it be used for bootloader unlock?
[Amazon Fire Phone] pipataki:
I don't know about, but the chip is arm, so probably it could be... maybe one of these ROMs could be useful... I'm trying to compile with GZOSP... and the process last hours... this time I'm so near, so maybe this night I'll guess something of GZOSP, but till now I can't compile a successful test in GZOSP, maybe this will be... hoping...
[Amazon Fire Phone] Rimey shah:
Thanks brother
[Amazon Fire Phone] pipataki:
good news!!! it seems that is assembling modules fine.... it last a fiew more, but maybe this time will be...
[Amazon Fire Phone] LoveScarGuitar:
Could any issues also be with ART? I noticed when I try enabling ART on any 4.4 ROM on this device, it throws me into a bootloop. And I believe Marshmallow on up, even probably Lollipop run only on ART.
[Amazon Fire Phone] pipataki:
is not so easy to get any ROM, think that miui8 and GZOSP are designed for other devices... I'm trying, but one compilation last so time and I don't have any way to test here... This two projects are working with art, so this could be a good way... maybe anything could be useful to exploit the bootloader...

in GZOSP I have something interesting, is that the version I'm using is 64bit... and the chipset version codename seems to be 'denver' which comes from a variant of arm chipsets that had the property to work in 64 bits too...

so I think that the way I'm trying is really interesting... but last too many time have a successful compilation, and not all compilations are useful...
[Amazon Fire Phone] pipataki:
Last Test:

xMiui8_pipataki_Fire_phonEx_LastTest.zip

2h35minutes uploaded...

in my shared folder:

https://drive.google.com/drive/folders/0B7SzqPOr1EdIQ19qNDVQUDBWOVE
[Amazon Fire Phone] LoveScarGuitar:
I'll test it today
[Amazon Fire Phone] LoveScarGuitar:
So here is exactly what I did. I wiped. Side loaded stock ROM from amazon, then booted ROM. Then rooted and safe strapped. Then installed stock recovery via TWRP, then booted ROM. Then I flashed this test file over the stock recovery.

It hung a little during install but finally installed, then it did not boot. But acted as if I did not have a ROM installed at all.
[Amazon Fire Phone] pipataki:
I hope you don't have a hard brick... anyone has try coming from miui7?... maybe like an update of miui could work... by the way all tests that successfully flash, couldn't boot...

Amazon hasn't answer me yet, so I haven't fire (no way to test here)... When I chat with support they ever tell me that I have to wait for an email that never arrives...
[Amazon Fire Phone] LoveScarGuitar:
No. I didn't have a hard brick. I was able to get back to custom ROM. It actually just made me have to re-do stock ROM/safestrap/custom ROM, but that was it. I'm not sure. I would have to test that out. I know with my other phone, before upgrading to a higher version of android we actually had to be upgraded to the version prior to the new one. So my next question is, could the issue be coming from the fact of needing to be on Lollipop first? Or do you think it could possibly be just the Miui issue?
[Amazon Fire Phone] Stels442:
Hello my friends)))

You tried to change my MIUI without sources, you are a masochist :D
[Amazon Fire Phone] pipataki:
I have amazon sources and miui 8 sources... the compilation in my machine ends successfully without errors, so whats the problem with sources?
[Amazon Fire Phone] pipataki:
... while the computer was compiling oreo, I had an idea to do with miui... I mix all System files with miui 7, and this time I had no errors in kitchen, even less errors than in miui7 when I pass the Test (miui7 is not mine, but I can make this type of tests, I supose)

so... now uploading miui8... and this one I'm sure will works... file is:

xMiui-8_pipataki-signeDx.zip

(uploaded complete in a fiew hours)
[Amazon Fire Phone] pipataki:
I have a question about critics... Do you really think that I don't write code?, (I say, do you think that I only cut and paste?)... I'm developing so many years ago, and thats is an ofense... I copy and paste files and code when needed, but sure I modifie code and files too... so don't be so sceptic, because I'm trying to upgrade the api level... and I'll guess...
[Amazon Fire Phone] LoveScarGuitar:
What do we need to do to install this one? Just backup, wipe, and flash?
[Amazon Fire Phone] pipataki:
backup first... but try first without wiping... neither pre-flashing, neither post-flashing
[Amazon Fire Phone] Gretschguy:
So, is this rom working or nah?
[Amazon Fire Phone] resarfekim:
Is this rom working for anybody?

Thanks!
[Amazon Fire Phone] :
99.9% sure its a no. Fire phone is a tough nut to crack and so far no one has been able to.

Its faster and easier to just buy a cheap $100 phone and you can then have maybe Android Marshmallow or Nougat in a few days or so that way. Its a shame as the Fire phone is still good hardware.

Pipataki did a great job trying but needs a Fire phone to see that its not so easy. Having random people test it who don't know what they're doing isn't going to get this thing cracked open or even to find a way around. There's a few devs who might be able to but I don't think most people will.

Its a shame on Amazon really. Still fine hardware but do they really have a good reason for not allowing it to be updated by the community at this point in time? I think not.

Pipataki or another dev:

A developer likely needs to specifically target Fire phone to gain access to the boot.img perhaps, create a bootloader, unlock the bootloader by some creative means, or other work around and at least that's what I would look into based on a different device that had a similar problem.

There could be some creative ways to getting another android version loaded but as far as I know if a custom bootloader or boot.img could be used then everything should be golden.

You need to get involved with accessing memory locations, bootloader knowledge, or maybe something else like hijacking the bootloader then loading a new boot.img, kernel, and rom.

Eg. "On the OnePlus One, the bootloader uses position 0x000FFE10 of the "aboot" partition, stored as 00 / 01. The OnePlus One has a "Tamper" flag, at position 0x000FFE14 of the "aboot" partition." https://xdaforums.com/galaxy-nexus/themes-apps/app-bootunlocker-nexus-devices-version-t1731993

And then you'll likely need to patch to the Fire phone kernel. There's a lot of work to be done and very specific knowledge that needs to be gained and used. Its not simple by any means.

One final thing, Pipataki I hope you continue trying, but take note that you'll likely need one or more Fire phones and to find a way around the bootloader or to break it. Its not quite a Nexus device, the Fire phone is make or break. For myself its break as I don't really have any reason to learn that much about a bootloader or about kernels and there's nothing wrong with that or with trying. Thanks for trying. That's something you did that many people didn't do :)
[Amazon Fire Phone] ozan2:
U better make actually working Miui 7 Rom based on ggow's work. About this i am talking: https://xdaforums.com/fire-phone/general/rom-miui-7-amazon-fire-phone-t3595237

U could make it better for users, like making cpu freq working better for battery saving, including some MODs, tweaks etc
[Amazon Fire Phone] pipataki:
I think the first think I have to do is to repair my fire... is a question of time, I have read of my issue...and maybe disconnecting and reconnecting the battery is enough...the problem is that I haven't the needed devices to remove the screws... I have to talk with my causin, if he could help me...the problem is that he has a work, and I don't want to give him more work...
[Amazon Fire Phone] MDW 100:
I will try this rom once I get my fire phone back from someone who broke their phone and is borrowing it. Looks really clean and apparently performs well.
[Amazon Fire Phone] Sniff26:
Be careful to xposed, don't install it!. Bootloops on any xposed instalation.
[Amazon Fire Phone] MDW 100:
Ok, I'll keep that in mind. Thanks!
[Amazon Fire Phone] DeblaGaming:
I know this is off topic but seriously why would you even care? this is the worst "modern" phone that exists just get a Nexus 5x used on eBay!
[Amazon Fire Phone] MDW 100:
Some people, including me, bought this phone when it got slashed to $100 and wanted to make a budget beast out of it. Which I did, and could never have got better value for my money. At the time, a nexus 5x was $400.

Also Nexus 5x bootloops after a year of use, so buying one used is a ticking time bomb. Avoid!
[Amazon Fire Phone] andrei80:
It was sold recently at about 70$. Hard to refuse...The issues with videos not playing in Watsapp is the only really bad thing for me.

BTW, anybody knows how to delete older google accounts from phone?
[Amazon Fire Phone] ozan2:
No
[Amazon Fire Phone] fax1988:
amazon factory

don't seen the safestrap
[Amazon Fire Phone] pipataki:
ok... If you want to try again, (only if you want, is too much to ask you so)... try the same but this time, check to unmount data partition in Safestrap... (if you couldn't access to the ROM file without the data partition mounted, sideload the file in advanced mode of safestrap)
[Amazon Fire Phone] fax1988:
try again

1 umount data

2 flash complete

3 stop at logo

4 reboot to fire system recovery
[Amazon Fire Phone] pipataki:
uploading fixed, (seems that happens with system partition too)... in the file I'm uploading now, there is no need of touch any checkbox to mount partition in safestrap...
[Amazon Fire Phone] fax1988:
the file v1?
[Amazon Fire Phone] pipataki:
no, in the file I'm fixing... I upload v2 in a fiew...

v1 has errors...
[Amazon Fire Phone] fax1988:
ok wait for the new one
[Amazon Fire Phone] fax1988:
try to flash v2

the same as v1
[Amazon Fire Phone] pipataki:
no bootanimation? just stay at logo of Amazon?
[Amazon Fire Phone] fax1988:
yes
[Amazon Fire Phone] pipataki:
ok... i'll try a fiew things this night... I will update any news if I get something... thanks [MENTION=7377203]fax1988[/MENTION]

(i finally contacted with amazon... . I don't know If I could have fire again yet...)
[Amazon Fire Phone] pipataki:
I think I have it now... recompiling with amazon stock boot.img seems all went ok... so I think that now could work...

I cross fingers, hope this time was definitive...

news in a few minutes...
[Amazon Fire Phone] pipataki:
ok... uploading last work... compiled with micode patchrom, this time with own boot.img of Amazon stock update... all went ok, adjusted updater script then... and I hope, this time will works...

1h:50 minutes to upload totally...

I hope news in case of worked, and begin to port this to OREO, (the OREO ROM is out of shared folder, obviously... when were good news about Miui 8, I'll begin with the OREO rom)
[Amazon Fire Phone] fax1988:
the new one flash failed

zip md5 CB144607399145C89C32B65A2E9ADB4F
[Amazon Fire Phone] pipataki:
ok, was my fault... I put wrong mount lines in updater script, now is solved...

uploading again...
[Amazon Fire Phone] pipataki:
1h more or less left...
[Amazon Fire Phone] pipataki:
file is uploaded... works?
[Amazon Fire Phone] fax1988:
flash failed

file md5 C0308FC22B640395B5CC53A4B1ACCF4F
[Amazon Fire Phone] Rimey shah:
YOu deleted Oreo ROM Oreo is not working?
[Amazon Fire Phone] pipataki:
I supose that has same errors as this one, because is ported from to this ROM...

uploading fixed again... (there were three simlinks that fails, in the other upload I have noticed this, but like in the stock miui of angler was too, I supose that wouldn't fail)... now fixed...
[Amazon Fire Phone] Rimey shah:
Thanks I want to tell u your miui kikkat flavor was flashabe but it was stuck on MiUI logo and others are not flashable I tried maybe MIUI kitat was easily for fixing
[Amazon Fire Phone] fax1988:
which rom you flash? I don't see the MiUI logo ever
[Amazon Fire Phone] Rimey shah:
Brother that ROM

Miui7_kitkat_flavor_pipataki.zip was flashable but its stuck on MIUI logo I was tried but now its not available brother