yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] yuzgen:
OP, please add E5803 to the thread's title. Just managed to install LineageOS on my E5803 using your nice build. I had to search for an up to date TWRP for about an hour. Maybe others will save some time. Thank you.
[Xperia Z5 Compact Android Development] tommy1616:
can you compile one of Z5P? thank you much
[Xperia Z5 Compact Android Development] rm43115:
Hello trax7, did you have the time to work on encryption? Any success?
[Xperia Z5 Compact Android Development] bitdex:
Hi trax7, is there a real chance to get the encrpytion working this year?

Please, don't feel critizised. This is only a rational question.

For me, encryption is an essential feature.

There is to much pain with any new update (Lineage OS) on encrypted z5c.

I'm thinking of switching back to original ROM.

Thanks for your feedback.

cheers,
[Xperia Z5 Compact Android Development] trax7:
Hello guys, I want to update you on how stuff is going:

I have read, asked and educated myself on how to proceed and give the community a working decryption build... However, my life turned really miserable around a month ago with some things happening and I lost a lot to ungrateful and despicable people. Luckily, things are slowly getting better now and in a few days I'll hopefully be back..

I thank you all for your tremendous patience! :o
[Xperia Z5 Compact Android Development] awlddawg:
Sorry to hear that but good to know that you're doing better. Welcome back. ?
[Xperia Z5 Compact Android Development] rm43115:
Hello trax7, keep in mind:

In the end everything will be good and if it's not good, it's not the end yet.
[Xperia Z5 Compact Android Development] h0lz:
hello, the twrp is starting, but now i cant start the system. it stucks on the white screen with the Sony logo..
[Xperia Z5 Compact Android Development] Berni-0815:
A little bit more information could help us to help you!

How have you installed TWRP? (exact command, please)
[Xperia Z5 Compact Android Development] h0lz:
fastboot flash recovery recovery-name.img

or could my problem be caused by the unlocking of my bootloader?
[Xperia Z5 Compact Android Development] trax7:
Flash one of the custom kernels and your issue will likely be solved :)
[Xperia Z5 Compact Android Development] andybog:
My Z5c is running stock 32.4.A.1.54 & I rooted my phone using rootkernel, which includes TWRP but an older version (3.0.2-0).

Can i flash this updated version? Will it replace the older version or will i have two recoveries? From what i've read i'll have two recoveries, is that correct? If so will I be able to boot into the newer one with vol down + power?
[Xperia Z5 Compact Android Development] andybog:
I've just flash the version from 23-02-18 and tried running a backup. I get a lot of errors all along the same theme -

"Unable to locate '/XXXXXXXXXX' partition for backup calculations."

Where XXXXXXXX is FOTAKernel, ta, appslog, oem, lta-label, diag, modemst1 & modemst2.

I've deleted the .twrp file in the twrp folder and i still get the same errors.
[Xperia Z5 Compact Android Development] trax7:
Flash latest Nougat firmware and a custom kernel to be able to boot in recovery and so the partition alignment is correct.

Edit: I found your thread where you say you are on latest firmware. The results you get are very strange and i havent seen it before. It's not the recovery's fault tho - works fine on many other people's devices. Id recommend not just flashing the latest Nougat but also a full wipe so the device can repartition itself. There is a bug somewhere probably but its too obscure to diagnose... Copy your stuff to a PC and wipe, thats what i can tell you to try... :rolleyes:
[Xperia Z5 Compact Android Development] dickakur:
how to install twrp on sony z5 compact e5803? I tried to install twrp, but always bootloop
[Xperia Z5 Compact Android Development] andybog:
Thanks for the reply, at the moment I would rather not reset the phone but if it becomes critical that i require the recovery for backup/restore purposes i will try what you have suggested.

Just a thought, I used rootkernel for rooting and integrated TWRP into in, could this be causing a conflict with both version of the recovery updating/overwriting/merging the settings file? If this is possible am I okay to re-run rootkernel ommitting TWRP integration and just flash this new kernel over the top? or would i need to do some wipes before flashing the new kernel?
[Xperia Z5 Compact Android Development] trax7:
Rootkernel is incompatible with this TWRP. It has a bundled one and it cannot load this one, which resides outside of the kernel.
[Xperia Z5 Compact Android Development] andybog:
Hmm Forgive my noobness but I'm not sure what you mean?

I've not attempted to bundle this version in with Rootkernel but I've installed it as per your instructions.

I can boot into and use the Rootkernel version of TWRP & this version of TWRP.

The Rootkernel version shows all partitions & this version only shows a few.

If I'm reading you reply correctly I need to remove Rootkernel and then your version will work, how do I get rid of Rootkernel but keep stock, root & your version of TWRP?
[Xperia Z5 Compact Android Development] trax7:
Install any other custom kernel and then flash Magisk. :)
[Xperia Z5 Compact Android Development] Killuminati91:
I can for the life of me not get any version of TWRP to work.

- Coming from official latest firmware

- Unlocking bootloader

- Flashing TWRP through fastboot -- holding volume down and power -- boots into android

- Booting TWRP though fastboot -- screen remains black, blue light stays on
[Xperia Z5 Compact Android Development] trax7:
Stock kernel cannot boot into recovery as recovery is in a different partition and the bootloader starts only the /boot partition on startup. Therefore, we have a patch in the custom kernels to chain-load the recovery which resides in the /fotakernel partition after flashing with a button combination.

This is why rootkernel (a locally patched stock kernel) has the recovery bundled inside the kernel image. Custom kernels like GreenKernel or Zach's kernel have the chain-loading patch which allows them to boot recoveries flashed via fastboot like this one. :)
[Xperia Z5 Compact Android Development] Sukacek:
Hello, i have Z5c 32.2.A.0.253 with root and TWRP 3.0.2-0.

I try install new version TWRP recovery_suzuran_220218_2.img. I rename recovery_suzuran_220218_2.img on recovery.img,

and run fastboot flash recovery recovery.img

Install OK but after restart into recovery i have TWRP 3.0.2-0 always.

What is bad please.

Thanks.
[Xperia Z5 Compact Android Development] trax7:
You probably have rootkernel which has its own bundled recovery.
[Xperia Z5 Compact Android Development] Sukacek:
to trax7: Hi, yes, thats right... can you tell me please which kernel can i use for your TWRP and which roms must use. Thanks.
[Xperia Z5 Compact Android Development] trax7:
Any custom kernel here from xda. :)
[Xperia Z5 Compact Android Development] Nazo:
Is there any particular reason in all this time the Z5C still has no official TWRP? Isn't there anything that could be done? I mean, even the Z3C has had an official build for quite some time.
[Xperia Z5 Compact Android Development] Berni-0815:
I've a little problem: I've backed up a complete system with version 3.2.3 (found somewhere on xda) and while trying to restore a formerly backed up system (done with 3.2.1) with that version 3.2.3 I got an error that I can't remember en detail. Some files cannot be found... :angel:

Ok, back to version 3.2.1...

While backing up my working system I got the error chown in the screenshot.

Has there been some changes in partition names?

Which version of TWRP is actually recommended?
[Xperia Z5 Compact Android Development] trax7:
No, the paths to those partitions just aren't included in the build you are using, so if another build has the paths to them and backs them up, the build you are using will not.

It's not important. At all. Only if you wanna back up modem partitions but those don't change unless you go back to previous versions of Android which I'm not sure why anyone would do since .54 Nougat is the latest and best there is for the phone. The main partitions you are interested in are /system and /data (and /cache plus dalvik). :)
[Xperia Z5 Compact Android Development] Berni-0815:
Oh, it IS important, because I can't restore the backup! The process fails and stops... ;)

That's only affecting a backup made with 3.2.1 and trying to restore it with 3.2.3!
[Xperia Z5 Compact Android Development] trax7:
I meant those partitions are unimportant, not the whole thing :d sorry if I said it wrong. Anyway, 3.2.1 backs up more things it seems and that isn't playing well with 3.2.3. I suggest picking what you want to restore as TWRP allows you to.
[Xperia Z5 Compact Android Development] Berni-0815:
Ah, ok. Then I've misunderstood your post; sorry.

But which version of TWRP is recommended? I'll then switch to this version. Actually 3.2.1 works as expected...
[Xperia Z5 Compact Android Development] trax7:
Whichever you want, no apparent difference.
[Xperia Z5 Compact Android Development] Berni-0815:
Oh, there are significant differences:

Why is one version not able to handle a backup made with the other? (3.2.3 can not restore a 3.2.1 backup!)

3.2.3 supports local languages. (For me: German)

3.2.3 let me choose more partitions to backup.
[Xperia Z5 Compact Android Development] trax7:
Different fstabs between recoveries I think is the main thing. And the added languages which is a matter of a few xmls in localisation.
[Xperia Z5 Compact Android Development] koxliarios:
unable to locate cust

Hello, there..I am having a quite similar issue...Only differrence is that my error message reads ''Unable to locate cust partition for backup calculations''.. The rest of the backup goes through with no problems..So since you seem to have found a solution , could you please guide me through solving my own issue?? I have flashed a couple of roms now and then but I am in no way an experienced tech guy...I really thank you in advance...!!
[Xperia Z5 Compact Android Development] 5parsecs:
Can't use TWRP

Hi, thanks for the amazing work.

I'm struggling here.

I've only been able to boot on TWRP-3.0.0.0 any other version failed.

The flashing was OK but then when starting the phone I could only start in normal mode or in Fastboot.

I've tried to hotboot and the result is : FAILED (remote: dtb not found)

I'm stuck because I've tried flashing LineageOS with the 3.0.0 and it failed.

Zip signature verification failed but i tried anyway. The phone starts and stays in flash mode(green LED black screen) and reboots every 3 minutes or so.

Any idea why I can't use any other version of TWRP ?

Thanks for the help
[Xperia Z5 Compact Android Development] Berni-0815:
If your z5c has an unlocked bootloader, you can flash every version of TWRP by

fastboot flash recovery <name-of-the-file.img>

and then start the device with Power+Volume_Down
[Xperia Z5 Compact Android Development] 5parsecs:
Well i can't. I did unlock the bootloader though. Any other idea? what is that dtb error?
[Xperia Z5 Compact Android Development] Berni-0815:
While searching the web, I can see that this message tells you that you are using a wrong version of TWRP.

They said, first flash the latest nougat (from xperifirm), boot the phone to the end, shut it down, and then retry to flash the latest TWRP.
[Xperia Z5 Compact Android Development] 5parsecs:
wow Thanks I've searched in the firmware update direction didn't anything. Trying now.
[Xperia Z5 Compact Android Development] 5parsecs:
I updated the firmware with flashtool and xperifirm. I could finally install TWRP 3.2.1.

I'll sideload lineage os this evening.
[Xperia Z5 Compact Android Development] Kestnix:
I can't boot into system after using TWRP.

I flashed TWRP recovery_suzuran_230218.img and whatever I do in recovery, when booting into system, all that happens is the Sony boot screen and the only way I got out of there was by using the OFF button next to the SIM card slot.

Is this a problem with the file or am I doing something wrong?
[Xperia Z5 Compact Android Development] axs77:
same here.... :(
[Xperia Z5 Compact Android Development] Berni-0815:
Have you read my post #119 (They said, first flash the latest nougat (from xperifirm), boot the phone to the end, shut it down, and then retry to flash the latest TWRP.)?

Have you flashed TWRP in this way:

fastboot flash recovery recovery_suzuran_230218.img

?

Just downloaded the firmware and compared it to the version I'm using; it's exactly the same; bit by bit.

So, it MUST work... :angel:
[Xperia Z5 Compact Android Development] Kestnix:
Okay. Well, now I flashed an older version of TWRP and LineageOS and everything works (except the USB OTG, but that's for another thread...).

And yes, that's how I flashed the recovery.
[Xperia Z5 Compact Android Development] Berni-0815:
Which version?
[Xperia Z5 Compact Android Development] Kestnix:
I'm not sure. I forgot what version I flashed.

Is there a way to find out?
[Xperia Z5 Compact Android Development] Berni-0815:
I really don't know. Maybe if you're enabling logging? And I also don't know what version I'm using; but on my harddrive I can only find the version from 23th february 2018; so, I'm assuming, I'm using this version... :angel:
[Xperia Z5 Compact Android Development] Kestnix:
Yeah, that's the problem with me, I have a bunch of different versions on my hard drive and I don't remember which one I flashed. Additionally, some of them got renamed. :(
[Xperia Z5 Compact Android Development] Berni-0815:
Here is the (shortened) logfile of my version:

Starting TWRP 3.2.1-0-c214e363
[...many stuff deleted...]
ro.twrp.version=3.2.1-0
ro.wifi.channels=
ro.allow.mock.location=1
ro.board.platform=msm8994
ro.build.id=LYZ28N
ro.build.date=fim feb 15 23:08:34 IST 2018
ro.build.date.utc=0
ro.build.host=androidlover5842-pc
ro.build.tags=test-keys
ro.build.type=eng
ro.build.user=androidlover5842
ro.build.flavor=omni_suzuran-eng
ro.build.display.id=omni_suzuran-eng 5.1.1 LYZ28N eng.androidlover5842.20180215.230823 test-keys
ro.build.product=suzuran
ro.build.version.sdk=22
ro.build.version.base_os=
ro.build.version.release=5.1.1
ro.build.version.codename=REL
ro.build.version.incremental=eng.androidlover5842.20180215.230823
ro.build.version.all_codenames=REL
ro.build.version.security_patch=2015-11-01
ro.build.description=omni_suzuran-eng 5.1.1 LYZ28N eng.androidlover5842.20180215.230823 test-keys
ro.build.fingerprint=Sony/omni_suzuran/suzuran:5.1.1/LYZ28N/androidlover584202152308:eng/test-keys

Looking at this I'm using the version from 15st february 2018.... But, I don't have this version on my harddrive... :confused:
[Xperia Z5 Compact Android Development] kaneco_riot:
Encryption

Hi, i use my Z5C with encryption enabled and am looking to update LOS at some point, are there any plans for encryption in the future or any help you may need?

Kind regards
[Xperia Z5 Compact Android Development] kaneco_riot:
[MENTION=4644172]trax7[/MENTION] Can you give me some initial pointers for working on the decryption? I would like to try and get it working.

---------- Post added at 04:53 PM ---------- Previous post was at 04:53 PM ----------

[/COLOR [MENTION=4644172]trax7[/MENTION] Can you give me some initial pointers for working on the decryption? I would like to try and get it working.
[Xperia Z5 Compact Android Development] mahbod.es.1996:
Does it work on E5803?
[Xperia Z5 Compact Android Development] Berni-0815:
Should work. But there is a newer version of TWRP available: Klick
[Sprint Samsung Galaxy S III] G U C C I:
Hi everyone,

I just recently checked to see if we got a new LineageOS 14.1 update for our device off their site and found this commit: https://review.lineageos.org/#/c/198266/

So it seems that the person who was maintaining this device no longer has the time to support it anymore, so it seems we won't be getting any more official love from LineageOS. Is anyone aware of a 14.1 or possibly even a 15.0/15.1 release for this device that is being worked on? I've had this device since it came out in 2012 and it's amazing it's able to run 7.1 without issue and would love to keep its life going with Oreo!
[Sprint Samsung Galaxy S III] Death_Gun:
Well , that's shame !!

They removed all galaxy S3 USA from the website , so because that I couldn't download the last version of lineageOS 14.1 . which in December 4,2017 !!

Now , we have 2 choices :

1- Reporting the support to give us just the last version of lineageOS 14.1 , Wich in December 4 ,2017 .

2- It's time to looking for new custom rom , like Rabon Rom or Team OctOS or Slim Rom.. whatever.
[Sprint Samsung Galaxy S III] madbat99:
Any roms for this device we're based on LineageOS, so...

We need a new maintainer.

Also, Sources are still available, so you can still build it yourself.
[Sprint Samsung Galaxy S III] Death_Gun:
even at least we need the last version of lineageOS 14.1 , so we can living with that :(

speaking of the "building" , How can I build it when I'm not programmer or something ??:confused:
[Sprint Samsung Galaxy S III] madbat99:
You don't have to be a programmer. It's easier than you think.

Start here
[Sprint Samsung Galaxy S III] Death_Gun:
by the way

I have been searching for the best alternative of lineageOS , because I was trying to connect with the support to make them bring me at least the last version of lineageOS 14.1 , but unfortunately I found that they have rules in which includes " asking for device support " so you can't report about it , also they deleted this device from list of "create Issue" , so they want to make sure you won't report bout it and closing the case .:rolleyes:

So , I found Roms that will be the best alternative of lineageOS and they have weekly updates and good reviews from the users , in which are :

1) CarbonRom (based on AOSP !)

2)OctOS

3)Mokee Roms

4)SlimRoms

Because of them , this device still has a future !!

so.. thank you for your hard work and I hope you the best :svetius:
[Sprint Samsung Galaxy S III] fanboys3:
Forever s3

Thank goodness for CarbonRom. DO NOT ABANDON THIS DEVICE. Literally the best phone ever.

Per Changelog LineageOS needs a maintainer got d2: https://review.lineageos.org/#/c/198266
[Sprint Samsung Galaxy S III] Death_Gun:
I don't think they will find a new maintainer , also remember they removed this device from the whole website !

take a look :

https://www.lineageos.org/Changelog-16/
[Sprint Samsung Galaxy S III] madbat99:
The sources are still there. Devices are removed and re added when a new maintainer steps up all the time.

---------- Post added at 02:29 AM ---------- Previous post was at 02:27 AM ----------

Carbon for this device is based on lineage. I imagine they will keep building as long as the rom actually builds. As soon as it fails to build they will probably stop. No one is adding commits anymore so future changes will eventually break it.
[Sprint Samsung Galaxy S III] rebelmeister:
I'm looking for a replacement OS for the phone too. I found this (I can't post actual link due to being a new member on XDA)

google search: "MoKee Open Source Downloads Samsung Galaxy S III (Sprint) Model - d2spr"

Has anyone heard of this before?
[Sprint Samsung Galaxy S III] madbat99:
Yep. Chinese rom, but it works.
[Sprint Samsung Galaxy S III] Death_Gun:
yeah , I had been tried MoKee Roms on my LG G2 vs980 and also galaxy s3 sph-l710 .

in fact , this rom was simple and smooth , but it has some bugs such as the battery was draining so fast ,the statues of phone won't open and some times the system gets slow .

there were some customs I didn't like it for example , the xposed app and the Aeigs ( just in my opinion) , but the good thing in this rom it's has a weekly updates and also you can report bugs .

here some screenshots : :good:

https://drive.google.com/open?id=1bW8JI2JCz2hOfAC2C2xsY0yGqrOdM5p3

note :

few days ago , I was trying the other custom roms and I found great roms , like CarbonRom , octos Rom , and off course the MoKee Rom :):good:
[Sprint Samsung Galaxy S III] rebelmeister:
Been using the Mokee Rom for a few weeks now. So far I really like the OS and updates for Monthly Android security. Very similar to Lineage ......RIP :(
[Sprint Samsung Galaxy S III] fanboys3:
Mokee is now RIP also: https://download.mokeedev.com/?device=d2spr&type=unofficial

If anyone has the latest, might be worth uploading for others.

Edit: Found a copy of Mokee for D2SPR: https://www7.zippyshare.com/v/FeNaswCD/file.html [MK71.2-d2spr-201802260604-NIGHTLY.zip]

---------- Post added at 06:08 PM ---------- Previous post was at 05:57 PM ----------

Also have an unofficial LinageOS Build thread over here: https://xdaforums.com/galaxy-s3-sprint/development/rom-lineage-14-1-d2refreshspr-5-7-18-t3786850
[Sprint Samsung Galaxy S III] Death_Gun:
what a shame!!

they have been doing great work :rolleyes:

you mean this:

https://xdaforums.com/galaxy-s3-sprint/development/rom-lineage-14-1-d2spr-weekly-4-10-18-t3776142
[General Questions and Answers] zelendel:
Root on Android is a security exploit. It is not taboo here.

It might be that your device can't be rooted (not all can be) mainly if it's a no name cheap devices.

Yes you need third party apps as root on Android requires a kernel change.

As for pulling the OS off a device. You are out of luck on that. As the OS is packaged differently when it is zipped and then it is decompressed when flashed.

Your best bet would be to see if your bootloader can be unlocked. If it can then you will need to find the kernel source and build aosp for the device.
[General Questions and Answers] rajibando:
Thank you for responding to my queries

Thank you Sir, for responding to my post and replying to my queries. I have to admit that I did not expect a reply so soon.

I thought I did not write clearly enough to make it clearer, and I apologise for the ambiguity. I would try to clarify certain aspects of my post based on your observations.

I was not referring to this forum, Sir. I was talking about android-porting.

Sir, it is a branded product from a fair Indian company ["karbonnmobiles dot com"] with an entry in the Wikipedia [english wikipedia.org/wiki/Karbonn_Mobiles].

But all the apk files I checked with virustotal.com had issues. Could you kindly advise on a safe apk, Sir?

Sir, I have already decompressed android-x86 ISO and studied it. So I think the same feat could be repeated on the smartphone's OS. Please inform about an HowTo, Sir.

I would require links on HowTo, Sir. Could I be helped in this regard please?

I thank you once again for replying so promptly.
[General Questions and Answers] zelendel:
Oh no. Karbon is not what you think. They like Micromax use rebranded devices from China. Normally cool pads by Chinese name. (I have helped with many India based users with different oems) even helping getting kernel source release for the M1.

Root files will always trip anti virus programs. It's because in a way it is a virus. Root apps use security exploits to get root. Nothing to worry about as long as you are smart about it. Heck you can ask any developer here "what anti virus program they use" and the majority will say none. They are faker then a Chinese knock off. They have even been found to fake false reports on files for their competitors.

If your device has an unlocked bootloader then you can flash magisk which is the best root app.

If you come across an app that doesn't need to be flashed and is just an apk. Run the other way. Those use majority security exploits to get it done but most of them get patched in the monthly updates. So it doesn't always stay. They also tend to add malware to the device.

As for a step by step guide. I can only do what you can. That is to search xda to get the info I need.

I'll do what I can and see what I can find. No promises. Do some research yourself as well. It will help you learn the ins and outs and get you to know the lingo.

Mind you. You will still need an app to control root. Which is encludes with the magisk zip