yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] CR4SH_eR:
so I'm used to flash ROMs in recovery as zips but this ones different. is it like flashing kernel with flashtool? so I just enter fastboot mod and flash system img just like kernel? thanks
[Xperia Z Original Android Development] MrGohut:
Install rom like this:

and then in recovery flash GApps

---------- Post added at 09:20 PM ---------- Previous post was at 08:47 PM ----------

"Google Play Services Stopped Working" :s

With TK Gapps and Open GApps :(
[Xperia Z Original Android Development] tetsuo55:
Hi [MENTION=4273424]kamarush[/MENTION] ,

I have been working on a new patch but have been unable to figure out how to actually do it.

Currently the L5.1.1_r29 branch is still using the old fonts, in the M6.0.0 branch there are newer fonts with several bugfixes.

What i am trying to do is modify the build configuration so the compile uses the new fonts in the MM branch.

Can you help me figure this out?

Old (current) fonts are called here: https://android.googlesource.com/pl....1_r29/target/product/generic_no_telephony.mk

using this code:

$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
$(call inherit-product-if-exists, external/google-fonts/dancing-script/fonts.mk)
$(call inherit-product-if-exists, external/google-fonts/carrois-gothic-sc/fonts.mk)
$(call inherit-product-if-exists, external/google-fonts/coming-soon/fonts.mk)
$(call inherit-product-if-exists, external/google-fonts/cutive-mono/fonts.mk)
$(call inherit-product-if-exists, external/lohit-fonts/fonts.mk)
$(call inherit-product-if-exists, external/noto-fonts/fonts.mk)
$(call inherit-product-if-exists, external/naver-fonts/fonts.mk)

The new fonts are called here: https://android.googlesource.com/platform/build/+/master/target/product/full_base_telephony.mk

using this code

$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
$(call inherit-product-if-exists, external/google-fonts/dancing-script/fonts.mk)
$(call inherit-product-if-exists, external/google-fonts/carrois-gothic-sc/fonts.mk)
$(call inherit-product-if-exists, external/google-fonts/coming-soon/fonts.mk)
$(call inherit-product-if-exists, external/google-fonts/cutive-mono/fonts.mk)
$(call inherit-product-if-exists, external/noto-fonts/fonts.mk)
$(call inherit-product-if-exists, external/naver-fonts/fonts.mk)
$(call inherit-product-if-exists, external/roboto-fonts/fonts.mk)
[Xperia Z Original Android Development] CosmicDan:
Excellent! Thanks kamarush.

Any plans to add RRO Layers support, per chance (apologies if already in there)?

I understand if you want to keep it pure AOSP (I like that too) but just those few simple commits would be really good :D it shouldn't cause any issues, based on the very small changes it requires :)

Nevermind, will use the "Feature Request" DevBB tab (once I confirm it's not already added).

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] CosmicDan:
I can confirm. EDIT: Solved by installing everything from scratch again (full wipe) and installing Open Gapps Nano. Maybe add this info to OP [MENTION=4273424]kamarush[/MENTION] :)

Is Widevine DRM error expected with AOSP ROM's? I've never actually checked this myself. But from what I understand, this means all Google Play premium services (e.g. Movies) will not work - right?

E/Drm ( 255): Failed to find drm plugin
W/DG.WV ( 3628): Widevine DRM not supported on this device
W/DG.WV ( 3628): android.media.UnsupportedSchemeException: Failed to instantiate drm object.
W/DG.WV ( 3628): at android.media.MediaDrm.native_setup(Native Method)
W/DG.WV ( 3628): at android.media.MediaDrm.<init>(MediaDrm.java:180)
W/DG.WV ( 3628): at com.google.android.gms.droidguard.q.run(SourceFile:99)
W/DG.WV ( 3628): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
W/DG.WV ( 3628): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
W/DG.WV ( 3628): at java.lang.Thread.run(Thread.java:818)

EDIT2: Get an error when trying to restore a backup in Google Setup Wizard (message with "Try Again" or "Skip" would appear almost instantly after pressing Next)

W/SetupWizard.RestoreService( 1682): Restore error: -2147483647

No idea what that's about... not a big deal though if you use Titanium Backup :p

EDIT3: Default governor is performance?!?! o_O
[Xperia Z Original Android Development] CosmicDan:
Hmm, battery life is significantly worse than stock for me. Using exact same app setup (less, actually), but...

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] tetsuo55:
Can you install betterbatterystats so we can figure out the cause?
[Xperia Z Original Android Development] kamarush:
Changelog v3

Rom side:

- Switched to opensource NFC HAL

- Added and enabled DRM blobs

- reworked backlight values

- added separate power profile

- Wifi dual band enabled

- updated backup transport service

- added missing gps location and fused location provider packages

- RRO Layers 1.0 support (now 2.1)

Kernel side:

- Usb Fastcharge support

- Gamma control

- Userspace voltage control support

- Sound Control

- Backlight hack to allow a lower minimum brightness

Kernel side changes and credits goes to:

[MENTION=5243932]Tommy-Geenexus[/MENTION]

[MENTION=3292224]franciscofranco[/MENTION]

[MENTION=3332811]faux123[/MENTION]

Links will be online soon.
[Xperia Z Original Android Development] CosmicDan:
Ah of course, silly me. I have already purchased this too, will investigate (maybe will be solved with next update though).

It could be gapps issue. I had to use OprnGapps Nano (larger packages caused issues). May I ask which gapps you are using yourself?

Amazing! You are the best kamarush!

I have a question for all users: I'm not sure if it's a hardware issue with my Z. Does anybody have issues with Auto rotation setting not being respected? What I mean is, sometimes I lock to portrait but it still rotates in every app, and sometimes even the opposite happens - it is set to auto rotate but nothing ever will rotate o_O rarely, it actually works properly.

Reason I suspect hardware is because it also happened on stock Lollipop firmware.

I'm going to flash official FTF and then update to new build, though, will see if that solves it.

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] edi194:
On my phone rotation works well on stock and here

Wysłane z mojego Xperia Z (AOSP) przy użyciu Tapatalka
[Xperia Z Original Android Development] CosmicDan:
Thanks, must be some weird hardware issue then if it's no problem for others (maybe moisture damage, happened a while ago). Still a really strange issue though.

*let's the thread go back on topic* :)

Battery life seems better today, with similar usage pattern (Facebook, gReader, K@-Mail and YouTube mostly). Maybe just needed battery stats to mature and let ROM to settle a bit. I have BetterBatteryStats installed though, will be sure to share extra details if it appears again.

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] tetsuo55:
OpenGapps
[Xperia Z Original Android Development] CosmicDan:
Yes I know, I said I already used OpenGapps Nano dude... But OpenGapps Full caused Setup Wizard to crash consistently due to missing WebView component. Another user had same problem, so I'm not sure what the issue was.

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] stapler85:
execellent news im glad the gps is fixed

is it ok to dirty flash the new updates when it's up?
[Xperia Z Original Android Development] CosmicDan:
Probably, impossible to say though. Make a backup in TWRP anyway and try it, if you have issues then Factory Reset (or restore from backup) and do your usual thing to clean install, before reporting bugs.

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] tetsuo55:
I use the Aroma installer. I make sure to check all the options to "delete" everything, forcing a clean install. Then OpenGapps will use symlinks to fix any issues it found.

Can you try that?
[Xperia Z Original Android Development] CosmicDan:
Will do. Will wait for next release though (my Z is my daily), I will be doing a clean FTF flash and also and try some hardware tests and calibration to see if I can't fix my accelerometer/gyro issue. Will let you know.
[Xperia Z Original Android Development] kamarush:
Already uploading images :)

Switched to CM kernel as base, so F2FS is supported too from now.

If anybody has battery drain issues report it and switch back to v3 kernel.
[Xperia Z Original Android Development] MrGohut:
Why there is still an error with gapps? Google Play service stopped working"
[Xperia Z Original Android Development] kamarush:
So this means, flash the images via fastboot. Boot into the rom. Reboot to recovery, copy the opengapps package /i recommend micro/, flash the file and reboot. After that will be good everything.

After when you signed in to google, wait for sync your mails, because in the background google play services is updating.
[Xperia Z Original Android Development] MrGohut:
I did it right. First via fastboot then i flashed aroma by TWRP (clean install)

I'll try with micro, maybe this will work, but i still prefer aroma ;s

#EDIT

Same with micro... I don't know what the hell is going on :s
[Xperia Z Original Android Development] CosmicDan:
I had this same error with "Stock" but never tried Micro, I went straight to Nano instead and it worked OK.

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] tetsuo55:
Maybe its installing the wrong play services apk

Can you check the version you have installed?
[Xperia Z Original Android Development] CosmicDan:
Nano works fine, all is well there.

Rotation issue is back, sensors work 100% and stock ROM was fine, but even with the toggle set the portrait it will still rotate, and the toggle switches in real-time to landscape. I see this is a known issue with many people even on stock, but I don't understand this, could it still be hardware even though diagnostics were perfect?

One last thing - anybody tried any RRO Layers themes yet? For some reason every theme I tried - including TimberWolf which worked 100% on TeslaROM (also 5.1.1) - font colours are not changed, and some apps like Settings completely ignore overlays. Note that I am looking for a dark/inverted theme, the six or so I've tried all have this issue in many places (most noticeable in Settings and Notifications texts).

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] kamarush:
It looks like i've made a mistake. Will fix it immediately.
[Xperia Z Original Android Development] kamarush:
[MENTION=1844875]CosmicDan[/MENTION]

So. I've applied Layers 2.1, now should work the full theming. Will upload soon the system image, which includes already the OTA updater app and reboot, reboot to recovery options too.
[Xperia Z Original Android Development] CosmicDan:
Brilliant! You are the best :D

Possible to upgrade to layers 4.0? I think it's only still in beta, so I understand if you want to leave it out until it has matured a bit more. Here is a couple of bugfixes for 4.0 if you do decide to merge it:

https://plus.google.com/+SykoPompos/posts/hFVKkXeS3gi

https://plus.google.com/+SykoPompos/posts/hFVKkXeS3gi

Maybe there is more since, this is taken from The Magpie Play Store page. I think Layers 4.0 is still beta as I said, but also supports Marshmallow (maybe the 6.0 part is only beta). Again, completely up to you - Layers 2.1 should work fine for most things :)

New Question 1: May I ask what (if you know) the thermal throttling limit is in this kernel? I was running a stress test earlier, and my device peaked at 70 degrees CPU temp (according to app "CPUTemp") but the clock speed never throttled. Is this safe and intentional?

I might have better thermal than others though, as I have a heatsink mod on my Z [emoji14] I still need to write up that article...

New question 2: May I also ask which toolchain you compile the kernel with? I'd like to try and improve the BL Hack to be..., well, less-hacky. Or just make the curve a bit smoother, for Velis Auto Brightness use. Up to you if you want to use it in your builds, mainly for my personal use (could be even more hacky).

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] CosmicDan:
Just to follow up on my previous battery issues, seems all good now :) maybe FTF flash helped, or it was solved in the latest release; but it seems better than stock now. (I was using interactive governor on last build too, so it wasn't that). Screen-on time is 2h 29m total in this graph, so it's nothing to complain about.

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] kamarush:
[MENTION=1844875]CosmicDan[/MENTION]

Noooo :D Layers 2.1 will be fine, for now. I don't want beta stuff in this rom.

Limit temp is 90°C -> temp hysteresis 5°C, Core limit temp is 80°C -> temp hysteresis 10°C, which imo is 'very high'. According to qualcomm's product breef, the (extended) operating temperature for apq8064 is -20 -- 70 (maybe 85°C). This values in mako kernel are, limit temp is 60°C -> temp hysteresis 10°C, which are very friendlier, than the sony's stock values. I think, this need to be rework.

I'm using Google's 4.8 toolchain.
[Xperia Z Original Android Development] CosmicDan:
Mako's values sound much more reasonable and safe yeah. I figured this would be the case, CM kernel has always been like this... Hope nobody cooks their device :)

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] kamarush:
Stock sony kernel has the same values.
[Xperia Z Original Android Development] CosmicDan:
That can't be right... On stock kernel, once hitting 70 degrees, all cores would cap to 1.3Ghz. Unless their open source code is different, and this is the reason why CM (and others) have these dangerous values? Come to think of it, I think Tommy did modify the thermal manager quite a bit in his stock-based kernels... Could be getting mixed up, my memory is bad :)

Conspiracy at Sony, cooking our devices to make us upgrade [emoji14]

Anyway, enough of my rambling.

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] kamarush:
Can anybody confirm this?
[Xperia Z Original Android Development] kamarush:
Fixed v3 system image is up. OTA not yet working, because i need to find a proper server.
[Xperia Z Original Android Development] edi194:
Messages works correctly
[Xperia Z Original Android Development] CosmicDan:
Is funding an issue? If so, you could set up a Patreon account - I can spare a few bucks a month ;) and no, I wouldn't expect any special privileges for being a donator of course (not sure if you accept them, I know many dev's don't)

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] Jodus:
Digital ocean servers start from 5$
[Xperia Z Original Android Development] dedito:
hai [MENTION=4273424]kamarush[/MENTION] and everyone. i using the lastest of this rom, but i feel there's shuttering everywhere, especially in instagram, app drawer ( Normal launcher 3 or action 3) and LINE Messanger. is this normal ? or there's the way i can tweak this rom for better performance ?

thank you
[Xperia Z Original Android Development] CosmicDan:
No such problem here. Maybe try doing a clean FTF flash of official 5.1.1, it can sort out random issues often.

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] tetsuo55:
Hello AOSP users.

I wanted to know if the AOSP build is missing anything compared to the stock build?

For example, worse audio quality due to missing closed source things?

Anything really that can't be fixed by porting over the sony app.

Thanks in advance!
[Xperia Z Original Android Development] CosmicDan:
In PowerAmp, audio quality seems identical to stock. But I don't use any effects or anything.

As for other things, dunno. Stamina mode is obviously gone. All Sony specific stuff is gone, AOSP only.

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] tetsuo55:
What i found was that AptX is probably lost as are other "newer" bluetooth features.

Building AOSP with bluez instead of bluedroid and including the AptX binary should solve the issue and even bring the bluetooth support to v4.2

bt4,2 can be almost fully supported by our phone so that would be a nice bonus.

I'm making a list of official features so we can check against it.

I have started compiling a list of features here: http://xdaforums.com/xperia-z/general/xperiaz-exact-specifications-t3270151
[Xperia Z Original Android Development] Megani:
Hello,

How about battery's life compared to sony stock rom ? Same, better worse ?

Currently, i'm using stock rom 5.1.1.

Can i use Zombie kernel with this rom ?

Thanks.
[Xperia Z Original Android Development] CosmicDan:
Same-ish IMO.

No, zombie is for stock ROM only. But Kamarush has ported some popular community features into the kernel, like Faux Sound Control and BL Hack for example.

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] Megani:
Hello,

Thank for this rom.

I want to notice some bug.

- The "adaptive brighness" is too dark. Can you fix that ?

- The "cast screen" function doesn't work. It detect nothing.

Please, can you add a "clear all" button in recent apps panel and add an advanced volume control ?

Thank
[Xperia Z Original Android Development] CosmicDan:
For better Brightness control, try Velis Auto Brightness on Play Store. Minimal footprint and highly configurable.

As for features, I think kamarush wants to keep this relatively pure AOSP - rather than make another fork like CyanogenMod. You can use Xposed + Gravitybox for those things.

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] Megani:
Why do i install a custom rom if i get less function than the stock ?

I don't ask a lot, just the minimum...
[Xperia Z Original Android Development] CosmicDan:
Well kamarush hasn't replied to your request, so it's likely not going to happen it seems. I am almost certain he has no interest in overloading the ROM with niche features when there are many other ROM's that have them already. As I said, the thing you want can be done with Xposed. The brightness is a reasonable request, but in the interim you can use Velis as kamarush is a busy man.

Custom ROM's are a privilege, not a right. If you don't like the light and lean nature of a pure AOSP build, then simply stick with Stock or use one of the many other 5.1 custom ROM's out there like Dirty Unicorn or something.

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] flyinglow:
No Sound through earpiece when recieving calls

call comes in, no sound in earpiece. switch to speaker, fine.

I've installed a piece of software from the play store SoundAbout. Using this, I can force 'Phone Call Audio' to ear piece rahther than 'let app decide' and life is happy.

How can I do this without this app?

It is fresh installed rom (and factory reset etc), with google apps pico.

Thanks.
[Xperia Z Original Android Development] CosmicDan:
Doesn't *really* belong in this thread, deserves it's own one though IMO.

I'd say either Xposed or maybe editing that audio XML file in /system/etc/ (can't remember sorry)

Sent from Xperia Z via Tapatalk
[LG V10 Q&A, Help & Troubleshooting] QuantizedBoson:
I've installed TWRP, root, and after tweaking with some DPI settings ended up with a constant System UI Force Close.

I change the DPI back to 640, which removed the System UI Force Closes, but the scaling of some things was horrible off. I assumed I would start from scratch again and I performed a factory reset via TWRP, and upon a reboot there are still constant System UI Force Closes. I can't progress to turn ADB back on, and I can't get the system to boot into recovery or bootloader using any power+vol-up or power+vol-down combinations I can find.

Any luck booting into bootloader or recovery from being powered off?

I got it to go once, with USB cable plugged in and pressing Power+VolDown, but can't get it to happen again.
[LG V10 Q&A, Help & Troubleshooting] Warrior1975:
I did a hard reset earlier. Hold volume down, then power(holding both), when lg logo appears release power button inky for 1 second, then press it again (while holding volume down) and it will let you do a factory reset. I restored my twrp image after that, hth.

Sent from my LG-H901 using Xparent Skyblue Tapatalk 2
[LG V10 Q&A, Help & Troubleshooting] QuantizedBoson:
You are a life saver, was going nuts here trying to figure out how to start again.

Is there a different way to get into fastboot from power off?
[LG V10 Q&A, Help & Troubleshooting] Warrior1975:
From what I've read, I think it's the same process, but with volume up. Not certain as I've yet to try it.

Sent from my LG-H901 using Xparent Skyblue Tapatalk 2
[LG V10 Q&A, Help & Troubleshooting] Kilokk:
Actually, all you have to do is from Powered off, hold down the volume key and plug into micro usb already plugged into your pc.
[LG V10 Q&A, Help & Troubleshooting] Warrior1975:
Powered off? That's very interesting. I know when I was messing around I did get into the bootloader unintentionally, I just didn't know what I did.

Sent from my LG-H901 using Xparent Skyblue Tapatalk 2
[LG V10 Q&A, Help & Troubleshooting] Nitemare3219:
Just saved my ass. Also ran into big problems trying to change the DPI... ended up trying to fastboot flash the stock system.img which only did a tiny partial flash leaving me screwed. Phone was sitting at LG boot screen - thought I was a goner. Did the micro USB plug + volume down while off and got into fastboot which got me back into recovery...
[LG V10 Q&A, Help & Troubleshooting] Warrior1975:
If you are booting to LG, no need to worry, device can be saved. I've only bricked one device that was able to boot up, and there was a fix for it eventually.

Sent from my LG-H901 using Xparent Skyblue Tapatalk 2
[LG V10 Q&A, Help & Troubleshooting] Peyman92:
why am i not able to get to fastboot in my H960A ?? i power it off and hold down vol and plug in microUSB but it just boots normally , what should i do ???
[Samsung Galaxy S Duos] siddharthshirodkar:
After i installed a custom lollipop rom to my cell. it showed installed and after rebooting the mobile is not geting switched on. Its not starting in any mode its just dead like. what to do
[Samsung Galaxy S Duos] billysam:
there is nothing that you could do, try get that device to the shop and get it jigged up or JTAGed.

you probably installed a wrong rom not meant for s7562. that writted all the data at the wrong places. your bootloader is like neo inside a matrix.
[One (M7) Q&A, Help & Troubleshooting] singh_harman:
Any suggestions on what's the best sense 7 custom Rom for the m7. All the sense 7 I have tried consume too much battery. Is there any which you can recommend that has good battery life? Performance wise sense 7 is good though.
[One (M7) Q&A, Help & Troubleshooting] alray:
I'll not answer with a "this rom is the best" kind of answer simply because I think its a little impolite for the devs. Lollipop roms are known to be less battery friendly than Kitkat roms. I personally didn't noticed any big difference between lollipop Sense 6 vs Lollipop Sense 7. I'm having good results using Sense 7 roms with ElementalX kernel to slighlty undervolt the cpus, Xposed + amplify and some other minor tweaks using Tasker. Can easily use my phone without having to charge it more than once a day (overnight). Currently using InsertCoin but was also having similar results on other roms like NuSenSeven.
[One (M7) Q&A, Help & Troubleshooting] bdizzle1686:
I've been using NuSense7 on my Vzw m7 ever since the last update [MENTION=1331268]santod040[/MENTION] dropped a few months ago, and haven't looked back. This roms more rock solid then the official HTC sense 6 rom far as I'm concerned
[One (M7) Q&A, Help & Troubleshooting] singh_harman:
What version of insertcoin are you using?
[One (M7) Q&A, Help & Troubleshooting] alray:
7.1.3
[One (M7) Q&A, Help & Troubleshooting] lambofgod13:
I've been on the m7 for two years, tried all the roms, I've found the most stable best rom is insertcoin, and I'd have to say nuesense was a second best.