yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] XKinsonX:
My device was hardbricked and can't boot into recovery and I found your rom! I simply connect fastboot and erase system userdata and cache and flashed boot.img from release 1 folder and system.img from the 7z file and recovery.img too. After that when I press power button it's flashed a purple led and now its in the boot animation with Android word for 15 minutes already ? Anyone can help ? I haven't flash the kernel yet as I can't access the recovery. Is it because of the kernel ? If so how can I flash it as I can't access adb ?
[Xperia Z5 Android Development] HaoZeke:
You should be able to get an adb log cat or get into recovery.... By pressing up or down I don't remember ?
[Xperia Z5 Android Development] XKinsonX:
So is it the kernel problem ? Should I flash the kernel ? Can you guide me please?

---------- Post added at 04:26 PM ---------- Previous post was at 03:59 PM ----------

How to get in recovery with button combo?

---------- Post added at 04:28 PM ---------- Previous post was at 04:26 PM ----------

And btw use which boot.img file ? From mega release 1 folder?
[Xperia Z5 Android Development] HaoZeke:
Actually if you do get to recovery by pressing the down key or just plugging a USB in and using

adb reboot recovery

It'd probably be best to switch to my custom lineageos
[Xperia Z5 Android Development] EnesSastim:
Camera Works For You???
[Xperia Z5 Android Development] anjelz2012:
Z5P work?
[Xperia Z5 Android Development] nqdan2992:
Hi i'm using rom v7 kernel 3.4 , i flashed rom but haven't got Camera . How fix it ???
[Xperia Z5 Android Development] findbuddha:
Better to use one of the new lineageOS or CarbonRom builds, they have working camera
[Xperia Z5 Android Development] tanksta:
hi, flashed the rom, attempted reboot and phone is stuck with red light at the top left. thank you in advance.
[Xperia Z5 Android Development] L33Tgod:
Flash stock rom in flashtool, and use lineageos rom it is more stable.
[Xperia Z5 Android Development] Arne Sacnussem:
How to set only LTE ?
[Xperia Z5 Android Development] WookieLance:
Working okay so far.

Two bugs I found so far in Version 7 - E6653

Torch - Quick Bar icon does not always activate torch correctly, sometimes needs to be pressed multiple times to work. (e.g. the icon will indicate torch on but the flash is actually not enabled)

Fingerprint Lock - is inconsistent, does not work.

Camera - Does not open a lot and did not come with a stock camera app.

Misc Other

I guess one has to source their own camera app for this rom. I really like these roms feature sets but the thing which lets them all down for me is just that everytime I use any custom rom my phone ****s up somehow but works fine with my OTA latest rom files from the carrier.
[Xperia Z5 Android Development] goRt:
I'm sure twrp can do the boot IMG for you.
[Xperia Z5 Android Development] mistercyko:
I would just like to thank op a lot. I've been seeing him posting answers in the forum about aosp builds for a while and I had a feeling he would make it work on dual sim z5 models.

I love you HaoZeke.

My experience with rom:

1) Battery life was almost like stock but maybe a bit less.

2) I got the camera to work once but never again.

3) Phone never reboots correctly. Always goes into some loop where it doesn't get to load the system. I press all buttons for the three seconds (and get vibration) and then turn it on and it works. Something might be weird with the kernel.

4) Performance is like stock I would say. Gets a bit laggy sometimes with many applications used but really I don't think its the rom's fault.

5) I miss fingerprint reader :(

Overall I'm happy :)

Keep up the great work.
[Xperia Z5 Android Development] HaoZeke:
Thanks for the detailed review, I ran out of regular thanks >.< (will give tomorrow)

Which one of the kernels are you using? (test or stable)

The reboot thing is odd, actually all stock based roms take a while to turn off. (dunno why)

Like, the screen goes black first then it'll vibrate thrice after a short while.

The camera is amazingly flaky. I really miss the fingerprint sensor most though, almost makes me wanna go back to stock... :D

Noone is having any trouble with the theme engine right?
[Xperia Z5 Android Development] Sh4douw:
I will confirm it tomorrow after this night, but apparently the battery drain issue is still here :(

Same wakelock as before.

I did a clean install, full wipe, so my current install isn't faulty...

EDIT : The screenshots confirm it :/
[Xperia Z5 Android Development] HaoZeke:
All testers (E6683) please use the latest boot_opt.img in the Zach Test folder..

Also check the changelog for relevant details..

I'll probably start a new thread for the kernel...

E6653 build is out too [MENTION=6167116]Azrael6947[/MENTION]
[Xperia Z5 Android Development] HaoZeke:
I'll also try the exact same setup (full charge and then betterbatterystats)..
[Xperia Z5 Android Development] Azrael6947:
Hell yeah.

Now this one with the new kernel runs great! Fast startup, zero lag at all, super stable.

No camera or fingerprint, but that's okay.

Found one downside. My display seems to be, dimmer. It's not as bright and it was super dark during setup. If adaptive brightness is on it is so dark, turn it off and max brightness and I can tell it's not going all the way.

Will look how to fix, but for now. It's going to be my daily driver.
[Xperia Z5 Android Development] HaoZeke:
I can't seem to reproduce your wake lock... Or your deep sleep issues... Are there any particular apps you think might be causing this? Did you try the suggested apps? You might also want to look into govtuner...

I'll be releasing a newer kernel with elementalx and alucard governors... Maybe that'll help. My screenshots aren't getting uploaded yet... I'll do them in a bit
[Xperia Z5 Android Development] HaoZeke:
Mine don't.. :(
[Xperia Z5 Android Development] HaoZeke:
Yup, the dim thing is sort of on purpose but it was a little too effective.. I'll tweak the values for the next version and maybe try and see if there's a user space disable option...

The dimmed screen really really reduces the power usage of the screen...
[Xperia Z5 Android Development] Sh4douw:
It seems that with the boot_opt.img, I have finally the deep sleep :D It's finally fixed :p

However, like [MENTION=6167116]Azrael6947[/MENTION] said, the display is a little too dim, I hope you'll find how to adjust it !
[Xperia Z5 Android Development] HaoZeke:
Yup, the values really need a little more tweaking, it's only barely visible in the sun at full brightness with these settings.... :D

I'm glad its working well.

By the way, I was wondering if I ought to try a custom toolchain again.

UBER gave basically broken results. I could try sabermod but at this point I'm thinking it'll be a placebo at best... Any ideas?
[Xperia Z5 Android Development] Azrael6947:
Oh! The camera works... kind of. The Google Camera app has the camera both flipped and mirrored (lol), but can take photos. I installed OpenCamera and it works great, no issues there other than auto focus not working and being a *****.

If you set the camera to 20MP mode, it wont work at all period.

As for additional features, could you make it so the dedicated camera button works again? Would like that back.
[Xperia Z5 Android Development] Sh4douw:
Finally, it reappears since I plug my device to a PC, or on the wall... my bad :mad: Immediately after this action, even after shutdown, reboot, wipe cache, reflash kernel, ..., the wakelock is always there. It's really weird :eek:

Even after some "fix" relative to the USB kernel wakelock I found online, the issue is still there too.

I returned to stock .305, and I haven't this wakelock, so it isn't from a hardware source, fortunately.

I'll use your ROM later, after some updates, I think. You don't have to spend time solving this problem, because I'm apparently the only person to have it

Keep working, it's a great ROM anyway ! ;)
[Xperia Z5 Android Development] HaoZeke:
Damn, I'm sorry it didn't work out for you... I'll keep an eye out for anything which might be causing extra usb wakelocks and mention you if I manage a tentative fix (if you'd be willing to test)
[Xperia Z5 Android Development] HaoZeke:
Wow, I'm surprised you got the camera working, I only got open camera and google camera to open once before force closing continuously, any particular steps?

The stock camera app always seems to flip and mirror... The default aosp camera did too.. o.O Weird.

EDIT:- The backlight dimmer may be enabled by the elementalx kernel manager or by
[Xperia Z5 Android Development] HaoZeke:
Hey, release 1.1 is being uploaded into the mega folder... That fixes substratum. The latest kernel (in the other thread) fixes the brightness issue...
[Xperia Z5 Android Development] Azrael6947:
I'll install the moment I'm home and tell you how it goes.
[Xperia Z5 Android Development] ganeshbiyer:
@HaoZeke

- The Substarum app shows Substratum.

- I am not using the your kernel, but rather using the default boot image.

- I did not have time to put in place the suggestions on the OP regarding battery drain.

- The touch sensitivity is not a show stopper and neither is the battery drain.

- One other thing, I found, was that every second time you insert the data cable to put the phone on charging, the charging light does not comes on. The battery just drains. Reboot solved the issue though.
[Xperia Z5 Android Development] HaoZeke:
That charging light thing.... Could you grab a log cat? I've not experienced that but I [MENTION=7225962]Sh4douw[/MENTION] had a huge battery drain from a USB related wake lock..

The latest kernel should help if you use elementalx.

Also... Most aosp roms have poor memory management so naptime really makes a huge difference...

I hope the newest kernel helps...

On the rom side I might build the next version with saber mod to hopefully smooth things out... Once I get some features worth releasing.. (extfat support and more)
[Xperia Z5 Android Development] Azrael6947:
Hey that 1.1 update never made it to the Mega folder? Are you planning to reupload it?
[Xperia Z5 Android Development] ganeshbiyer:
I will be needing my phone to be in full working condition for the next ten days. So going back to stock for some time. But will be back on aosp soon.
[Xperia Z5 Android Development] albertobom:
I can't download your rom :crying:
[Xperia Z5 Android Development] HaoZeke:
Damn... I'll have to rebuild it.

But, there's a little extra coming... I've been working on the kernel and a more stable camera is 99.9% done... ;)

I said 99.9 cuz somehow there's a Bluetooth bug..
[Xperia Z5 Android Development] HaoZeke:
What error are you getting? I checked the e6653 files and I'm uploading the latest e6683 files...
[Xperia Z5 Android Development] HaoZeke:
New build out
[Xperia Z5 Android Development] s.hossein:
what about camera?
[Xperia Z5 Android Development] HaoZeke:
For me at least the new kernel fixed the camera... Though I'm hearing bad things about it for the e6653
[Xperia Z5 Android Development] s.hossein:
I am downloading now and test It on my e6633 and report back later.
[Xperia Z5 Android Development] hegezolee:
Almost perfect

Hi. Thanks for the ROM. The install was quick and the system is running very smooth. SuperSU worked but the camera force closes and my SD card isn't showing up.

My device is E6653
[Xperia Z5 Android Development] HaoZeke:
Ok, the camera will work, it just needs a couple of tries. Choose mute until reboot and just try opening it a few times...

Which format is the sd card? This is a bug specific to the e6653... I have the e6683 and don't have this problem...

I'll try to fix it soon.

I'd be grateful if someone could tell me if it's the rom or the kernel causing the issue...
[Xperia Z5 Android Development] hegezolee:
Opened camera a few times and sometimes it DOES work, but everything is upside down. Open camera doesn't work at all. My sd card is fat32 btw.
[Xperia Z5 Android Development] s.hossein:
Here camera force closes sometimes,sd card is OK , camera not usable.in my e6633 there are other bugs but no important for me.
[Xperia Z5 Android Development] HaoZeke:
Which camera is working upside down?

You should disable Google camera.. I will recompile and post a test kernel here for the e6653... I'm suspecting the sdcardfs to be the issue so I'll compile one without it...

I'll post a video of the camera soon too :D
[Xperia Z5 Android Development] HaoZeke:
Not usable as in it force closes continuously? Mine works and takes pics too... But it still force closes a lot. I tested video as well
[Xperia Z5 Android Development] hegezolee:
It was Google Camera and it only worked a few times. Back to stock right now cause my important backup was on the sd card but will closely follow your project and test the next release.
[Xperia Z5 Android Development] HaoZeke:
Test Kernel

Hey, for all E6653 users (@Azrael6947)... I'm attaching a test kernel which should fix the sdcard issue, if it was linked to sdcardfs... I'd be grateful for test data as I don't own the single sim variant...

Thanks.

(Again, extract the .tar and flash with fastboot)
[Xperia Z5 Android Development] s.hossein:
On other problem, when I enable the Hotspot other devices cannot be detected my z5.
[Xperia Z5 Android Development] MichaeldotCN:
D:\Desktop\mf>mfastboot flash system system_e6653.img

target max-download-size: 512MB

Sparse-Flash is enabled!

sending sparse 'system' (513007 KB)...

OKAY [ 21.947s]

writing 'system'...

OKAY [ 4.208s]

sending sparse 'system' (524198 KB)...

OKAY [ 20.601s]

writing 'system'...

OKAY [ 4.168s]

sending sparse 'system' (524294 KB)...

FAILED (remote: data too large)

finished. total time: 60.001s

-.-:confused:
[Xperia Z5 Android Development] HaoZeke:
That's really odd. O.o

Did you try the regular fastboot too? Which rom are you coming from?

I've never gotten that.. Umm... What's your system and setup?

I use the arch Linux fastboot drivers...
[Xperia Z5 Android Development] hegezolee:
SD card works now on e6653 though card name is garbled. Camera is a no go for now, tested both Google and open camera.
[Xperia Z5 Android Development] HaoZeke:
Thanks for the test results... So basically sdcardfs doesn't play nice with the single sim.... The camera was working a few kernel versions back, but I would have to reset and test each bit of code to figure out how it broke.. something I'll do after a while... End semester exams coming up :D

By any chance could you or anyone try an exfat sdcard on the latest kernel?
[Xperia Z5 Android Development] s.hossein:
This error has occurred to me too,if you want to flash "system.img" use latest (Minimal adb and fastboot).I found it on Google for my Windows 10. I attached it here.
[Xperia Z5 Android Development] yukuotc:
It is good. But camera and figerprint doesn't work
[Xperia Z5 Android Development] Azrael6947:
I have had none of these errors people are having with fastboot. Mine has worked perfectly from the first release.
[Xperia Z5 Android Development] HaoZeke:
New release out, if anyone is having trouble booting flash the latest supersu..
[Xperia Z5 Android Development] s.hossein:
Dose the camera work alright?
[Xperia Z5 Android Development] HaoZeke:
For me, yes. A few crashes but it always works
[Xperia Z5 Android Development] Panaroma:
The new build is just for e6683? Or can it be used on e6653?

Cheers
[Xperia Z5 Android Development] HaoZeke:
No, not yet, sorry. Actually I can't seem to get my kernel it build again.. o.O

But I'll upload the system.img soon..
[Xperia Z5 Android Development] Panaroma:
Thank you!

Will try the "old" build in a bit ;)

Cheers
[Xperia Z5 Android Development] HaoZeke:
For now please don't enable adaptive low memory killer as I suspect it's buggy...
[Xperia Z5 Android Development] HaoZeke:
Could a mod please edit my poll option from CardbonRom to CarbonRom? :D
[Xperia Z5 Android Development] HaoZeke:
Hey I'll be putting out a bug fix release to fix the substratum theme engine and also to bring out a release for the e6653.

The camera is fixed for me at least.
[Xperia Z5 Android Development] rajdeep312:
Is Google camera or stock camera apps works on this rom?????

(using e6683)
[Xperia Z5 Android Development] HaoZeke:
For me, with a few crashes I got Google camera, open camera and the WhatsApp camera working.

I couldn't run Footej camera though.

Also if you want theme support wait for the bugfix release or use an older version (just not 1.999)... Which I'm actually squashing with a major release
[Xperia Z5 Android Development] rajdeep312:
After crash is Google camera works fine?
[Xperia Z5 Android Development] HaoZeke:
Yeah if you keep trying to open it eventually it works. Once open, everything works, including the camera focus.
[Xperia Z5 Android Development] rajdeep312:
So after some tries app works

Not first time
[Xperia Z5 Android Development] HaoZeke:
Yup, after multiple tries. I know it's irritating. I have my end sem exams, I'll look into it as soon as that's over. I have some ideas to fix it.
[Xperia Z5 Android Development] HaoZeke:
Hey, so I got omnigears working WITH substratum, so it's a MAJOR release.

Uploaded for both the E6653 and the E6683.

I decided to keep the aosp base, but I'm looking into CAF additions, which makes it sound like CM (AOSP+CAF) but, CM has discontinued 14.0 and 14.1 needs the newer 3.18 kernel so it's not happening for now.

Bug reports and other reports welcome, but again with my exams from the first till the 20th, please understand they'll probably not be fixed till after the 20th.

Additionally, I've updated the OP to reflect my personal preference of Magisk and phh's Superuser for nougat since I can use AutoMagisk to hide root, while suhide for superSU causes a bootloop.

Magisk is great, but any magisk related audio mod WILL cause a bootloop. Magisk adblockers work great.
[Xperia Z5 Android Development] HaoZeke:
Also, guys please don't be shy to use the feature request tab, I set up some examples there too, do check it out. New screenshot up.

It's also very hard to keep track of bugs reported here in the comments so please, again, use the bug reports tab...

I'm very thankful to everyone commenting, it's just hard to keep track sometimes, and seeing as DevDB has all the features required...

Since I also use XDA Labs which has no DevDB support it'd be best to comment AND add the comment in the required DevDB tab..

Thanks

(Will Also update the OP)
[Xperia Z5 Android Development] HaoZeke:
This is a Deodexed build so the first boot will be very slow. Wait for it.
[Xperia Z5 Android Development] HaoZeke:
Bugfix release out. Without that idiotic reboot bug this is basically stable for daily use. At least it'll be my daily driver till the twentieth...

Additionally it's sort of awkward to be the only one posting here... No one has any opinions? Has anyone been testing this?
[Xperia Z5 Android Development] Spoinky:
Great, downloading the E6653 build now, will be using it as a daily driver and report back :)

Thanks for your time and effort that went into this!

As for the lack of replies, I think it not being a flashable ZIP might deterring people
[Xperia Z5 Android Development] Zaisesl:
[MENTION=1964056]HaoZeke[/MENTION] I cant finde where i can grant root acces, And how can i update the rom? just flashing system via fastboot? thanks!
[Xperia Z5 Android Development] HaoZeke:
Yeah... I know I should streamline the build system but it never seems like enough of a priority.. Especially when zip creation is basically a longer wait before flashing :D

I hope it works well..
[Xperia Z5 Android Development] HaoZeke:
For root access you need to flash magisk and phhs super user as mentioned in the OP. You also need the phh superuser app from the playstore...
[Xperia Z5 Android Development] Zaisesl:
Sorry, my bad for not read the entire OP:silly: Thanks. And for update just flash system and boot via fastboot?
[Xperia Z5 Android Development] HaoZeke:
Yup, that's all that's necessary...

I personally find it faster, but I do miss the zip system for being completely independent. (ie. You don't need a computer if you have a flashable zip)
[Xperia Z5 Android Development] Zaisesl:
Yes.. Im not missing it, im always using a computer so for me its not a problem if its a zip or for fastboot. Thanks for you patience and you work. Its perfect for me.
[Xperia Z5 Android Development] Spoinky:
Works pretty well, bluetooth, WiFi and SIM are working.

Camera and SD card are not though :c if there's something I can do, let me know

EDIT: Camera works now but it's upside down o.O
[Xperia Z5 Android Development] HaoZeke:
Sd card? That should be working for sure if you flashed the right device files... Ummm...

Which app did you try for the camera?

Also, which file system and size is the sdcard?

I'm glad Bluetooth works on the E6653.. It's broken currently for dual sim devices.. :/
[Xperia Z5 Android Development] HaoZeke:
Could you check with an older kernel from the kernel thread to see if the sdcard issue is not new?
[Xperia Z5 Android Development] Millsy242:
Hi,

I've been watching this rom for a while, and finally decided to give it a go this evening following the 3.1.7 update

Took 30 minutes to boot up the first time which seemed like a while, but once it booted it was great - smooth, quick and reasonably stable.

I say reasonably because (i think this has been mentioned by someone else) my SD card wont show up and i still seem to have the reboot bug, but only if I press the power button immediately after start up( If I wait a little while I can use the power button normally)

Unfortunately i wont be sticking on the rom for now as I really like the fingerprint scanner and need my SD card to work. Although i will test to see if other kernels fix the sd card and/or the reboot bug before restoring my backup

EDIT: i have the E6653 variant

R1 - reboot bug still there, SD didnt show

R2 - no SD, Reboot bug still there

R2.99b - SD worked, Reboot bug still there

Hope this helps :)
[Xperia Z5 Android Development] HaoZeke:
Hey thanks a ton for the detailed review and most importantly for pin pointing the sdcard issue.... I think it has to do with the kernel config.... Will fix immediately after the exams...

The long boot I'll also reduce via odexing during the build (leads to a longer build time on my end)

The reboot bug is rom related so I'll need to look into that independently of the kernel..

I really miss the fingerprint scanner too, but I can't seem to find any sony aosp or other custom rom with a working fingerprint so I'm totally at a loss for now.... (hoping someone will contradict me)

I hope you'll return to the project as it matures... :)

(I'd give thanks but I've hit my daily limit... Will thank tomorrow :D.)
[Xperia Z5 Android Development] Millsy242:
Happy to help :)

I think there was a cyanogenmod 13 build which had a working fingerprint scanner although I'm not 100% sure

I will certainly return in the future and good luck with your exams
[Xperia Z5 Android Development] goRt:
Just to add my experiences E6653:

R3.1 - No SD card recognised (in TWRP or OS)

Flashed kernel r2.99b1 - SD card recognised in TWRP and OS, OS couldn't read as formatted in ExFAT, TWRP could read / write without issue.

(did these tests last night before the post I quoted was up)

Back to stock for now, thanks for the great work and good luck in the exams
[Xperia Z5 Android Development] flis94:
E6653 model, sd card 32gb works :good: ,camera dont work ::confused:
[Xperia Z5 Android Development] goRt:
My sd card is 64gb, maybe that's my issue?
[Xperia Z5 Android Development] flis94:
My is kingston 32gb class 10 formated in fat32 and is working fine , maybe is prob 64gb or brand :confused:
[Xperia Z5 Android Development] albertobom:
I also got this issue with my 256 Gb sdcard...
[Xperia Z5 Android Development] Jürgen G.:
Hi ho

Looks ok for now. Works with my DualSim 6683

Whats not worknig:

* Bluetooth

* Screen rotation

* Camera crashes sometimes, but you can use another app and it's ok

* Long press the on/off button often causes a hot-reboot

keep on the good work. looking forward for updates :)
[Xperia Z5 Android Development] HaoZeke:
Well I'm using a 128gb sdcard.... Though when I switched from stock to aosp I had to reformat it once...

Thanks for wishing me luck.. I'll need it :/