yashsingh1/xdaforums huggingface dataset:
[Xperia Z Android Development] Cryptic Head:
Download link for the latest build of the ROM

Guys, I'm unable to access the basketbuilds link for the latest ROMs from 03/05 onwards because of college restrictions.

Can anyone PLEASE provide me with the latest ROM build on any other upload site like MEGA etc?

That would be a great help, would really appreciate that!

Thanks a lot in advance. :D
[Xperia Z Android Development] airlessproject:
Here you go matey! :)

I have a C6602 too and I don't have 3G problems at all. The exclamation mark usually means problem with the APN, not bad 3G signal... Please double-check everything :)
[Xperia Z Android Development] jaideep1in:
[MENTION=5396196]airlessproject[/MENTION]. yeah man. i changed the text in the prev post :P

Hey but please consider adding Viper to the next build if possible :P. CM gives too less sound output. and my software does not match up to the hardware. i have a sennheiser Cx180 stree 2 earphones. and they used to give an amazing sound quality with eXistenz and zombie. NOW, it is cracking :'(...

Sticking to this ROM anyways :)
[Xperia Z Android Development] airlessproject:
Don't misunderstand me, I like v4a too but firstly, I really don't think I should integrate on my own an app that Resurrection Remix team doesn't include in their ROM themselves.

Also as far as latest version, v4a requires SELinux policy to be permissive, which I personally wouldn't set as default in my kernel/ROM, especially not just in order to make v4a work.

If someone really wants to use v4a, they could just make SELinux be permissive themselves, and install/use v4a without problems.
[Xperia Z Android Development] jaideep1in:
yep i tried doing that. ended up getting errors...ahhh the only problem is i have exams starting 14th of may :P final year mbbs. (half yearly exams. not university exams. thats why i could afford to install a new ROM :P) otherwise i would have done it myself :P. No time

Anyhow, thanks for "considering".

Btw, OFFTOPIC :- I never really understood why SELinux is important

https://major.io/2013/04/15/seriously-stop-disabling-selinux/

and then this

http://stopdisablingselinux.com/

"making Dan Welsch Weep" :p:p:p:p:p
[Xperia Z Android Development] airlessproject:
What errors did you get?

I freezed AudioFX as a precaution, set use Awesomeplayer in Dev options, installed v4a app, run su ; setenforce 0, start app, install driver, enable v4a in app, and on future reboots just re-run setenforce 0, it worked for me like this.

No need to be ironic ;)
[Xperia Z Android Development] jaideep1in:
NUOOOOOO i wasnt being ironic. :P. i was just acknowledging that you read it.

The thing is i really dont much about SELinux in Android :P

i was trying to change the specific policy...you know. keep it enforced for all other apps but change the label behaviour for v4a modules.

this is what i got angry about :P then i saw some people use idk THINGS. zip files. then i left it alone. was reading up cervical cancer :P.

C:\Flashtool\x10flasher_lib>adb shell

←7←[r←[999;999H←[6nshell@yuga:/ $ su

su

←7←[r←[999;999H←[6nroot@yuga:/ #

root@yuga:/ # getsebool -a

getsebool -a

getsebool: Unable to get boolean names: Success

1|root@yuga:/ # sestatus

sestatus

SELinux status: enabled

SELinuxfs mount: /sys/fs/selinux

Current mode: enforcing

Mode from config file: enforcing

Policy version: 26

Policy from config file: sepolicy

root@yuga:/ # sepolicy

sepolicy

tmp-mksh: sepolicy: not found

127|root@yuga:/ # cat /etc/selinux/config

cat /etc/selinux/config

tmp-mksh: cat: /etc/selinux/config: No such file or directory

1|root@yuga:/ # cat /selinux_version

cat /selinux_version

Sony/cm_yuga/yuga:5.1.1/LMY47V/c71826ffe4:userdebug/test-keysroot@yuga:/ #

root@yuga:/ # godieinhell -Z

ofcourse i didnt read the mount location :P

I SHALL LEARN SELINUX for android :P. and then fiddle around properly :P
[Xperia Z Android Development] airlessproject:
to change any specific sepolicy, rom has to be rebuilt with those changes, and still may not work.
[Xperia Z Android Development] Cryptic Head:
Thank you!

Thank you so so much my friend. I really appreciate the help. :)

Been a resurrection lover from the very start and would continue doing so!

Cheers. :D
[Xperia Z Android Development] jaideep1in:
DAMN. i just did that. and it works :P. Thanks a ton :). now tell me. where's the init.d folder? :P please? :D

the errors i got at that time were messaging and UI force closing :P. but thats probably just because i banged something i didnt have to

found it :P
[Xperia Z Android Development] airlessproject:
init.d is where it should be, in /system/etc

but to make it work you have to use something like this

even then, if your aim is (I guess) to set selinux permissive with an init.d script, it won't work, since it gets unset by rom after init.d launch.

currently I don't yet know how to make it permissive except by manually running su ; setenforce 0 after boot.

also there are reports that some "permissive-setting" apps available out there, cause bootloops, so that isn't a guaranteed working option.

edit: you edit faster than I'm able to respond :P
[Xperia Z Android Development] jaideep1in:
yeah. init.d points towards userinit.d in the /data/local folder.

i made a script there and it didint work.

then i searched google

and stumbled on this

Scripts in /data/local/userinit.d are not being run. A simple test script fails:

# cat /data/local/userinit.d/00test

#!/system/bin/sh

touch /data/test.txt

# ll /data/local/userinit.d/00test

-rwxr-xr-x root root 38 2015-02-22 12:56 00test

Expected behavior: /data/test.txt is created on boot.

Actual Behavior: /data/test.txt is not created on boot.

Troubleshooting: It looks like SELinux is blocking /system/etc/init.d/90userinit from running. From logcat:

W/run-parts( 126): type=1400 audit(0.0:4): avc: denied { getattr } for path="/system/etc/init.d/90userinit" dev=mmcblk0p3 ino=373 scontext=u:r:sysinit:s0 tcontext=u:object_r:userinit_exec:s0 tclass=file

A full logcat is attached.

from https://jira.cyanogenmod.org/browse/NIGHTLIES-737

so now i am thinking of using Smanager. Lets see if THAT does the trick :P

I dont really have my hopes high :P

Otherwise on 18th of May, i shall rip through everything there is to learn about SElinux for andro and make a working solution.

you know.... dont have much to do during these holidays. its too hot outside and i am too lazy to move around :P
[Xperia Z Android Development] airlessproject:
term-init.sh I attached will make init.d scripts to be run

actually what is missing now is install-recovery-2.sh which executes run-parts, this file is created by term-init.sh

I'm about to fix this in near-future builds; didn't do it so far because it's a native RR problem and not my build's, but since users start to need it, it'll be done.
[Xperia Z Android Development] jaideep1in:
HUHUHAHAHAHAHAHAHA :D.:victory::victory::victory::victory::victory::victory::victory:

i used Smanager :D.

all i did was

1. Go to the + sign and click new script. (I named it PwnSe)

2. typed in setenforce 0

3. saved it.

4. selected Boot, SU, and Fav for its options.

5. rebooted

and it worked :P and i went. LOL.

That means. YOU DONT HAVE TO TYPE IN setperm everytime you reboot. just use Smanager

:silly::silly::cool::cool::victory::victory::cyclops::cyclops::p:p
[Xperia Z Android Development] ebolalex:
Hey, thank you very much for your hard work. no random reboot since last version :D.

A little problem, I can't get logcat to work. using adb or terminal : unable to open log device 'main'

Empty message in catlog or in any logcat enabled apps. do you have any clue about it?

Envoyé de mon Xperia Z en utilisant Tapatalk
[Xperia Z Android Development] jaideep1in:
erm. developer options > collect bug report.

would that suffice?

this is in the OP
[Xperia Z Android Development] airlessproject:
logcat is currently not working because of in-progress Android Logger kernel driver deprecation and relegation (this is noted in changelog in OP). It should be fixed in the near future when this driver is fully replaced by an userspace logger or similar.

Sorry for any inconvenience that might be caused by this issue in the meantime..
[Xperia Z Android Development] airlessproject:
exactly :) in my edit too
[Xperia Z Android Development] ebolalex:
Ok thanks I'll try to see of the developer option do the trick.

Envoyé de mon Xperia Z en utilisant Tapatalk
[Xperia Z Android Development] airlessproject:
that will show you some info, but imo far from a real log

logcat will be working in next build, so stay tuned :)
[Xperia Z Android Development] dedito:
i can't play any video on my device. any one got the same problem ?
[Xperia Z Android Development] BrateloSlava:
No. Video with sound shows normal.
[Xperia Z Android Development] Cr33D OrB:
try MXplayer ???

EDIT : sy i mean dedito.
[Xperia Z Android Development] BrateloSlava:
Unfortunately, there are many other problems that must be solved. For example, to correct a wrong (incomplete) update the drivers for the adreno.
[Xperia Z Android Development] jaideep1in:
Nuoooooooooooooooooooooooooooooo :P
[Xperia Z Android Development] schorsch.funke:
Hi Airless , are there a chance, that the next build is based on RR 5.4.4. It has many bugfixes .

Thanks
[Xperia Z Android Development] Cr33D OrB:
Hopefully :D

AS airlesspeoject always taking newest sources :)

So yeah probably ,at next (or at least at overnext) build ;)
[Xperia Z Android Development] airlessproject:
Of course, I'm currently testing a build that updates RR to 5.4.4. I have a few more things to iron out, so expect it to be out soon :)

PS RR team are still making changes to 5.4.4, so it'll be officially updated when it appears in this changelog.
[Xperia Z Android Development] BrateloSlava:
Before users get the new version, we have at least a day to test it yourself.
[Xperia Z Android Development] Haldi4803:
basketbuild is a horrible hosting site....

download speed are quite good.

But you can't reach the download button on chrome browser, and if you activate desktop version it throws you back at XDA :(

Downloaded via PC now.
[Xperia Z Android Development] Cr33D OrB:
Peer5 is very good

SO AFH AND BB are good :D
[Xperia Z Android Development] BrateloSlava:
Small announcement. New build will be available approximately 3-4 hours. ;)
[Xperia Z Android Development] TrueFriend-cz:
Ok. In next please update all apps. Android Webview is week new as Android System Webview, etc.
[Xperia Z Android Development] airlessproject:
New build 05/07

changes:

- RR updated to 5.4.4

- RR/CM/LP synced with latest (05/07) commits

- (device/GPS) Use slightly modified gps.conf

- (device/Telephony) Updated RIL libraries

- (ROM/sepolicy) Some denial fixes

- (kernel) Added FSync Control

- (kernel) Added s2w

- (kernel) Many improvement and optimization patches related to many kernel aspects, like: CPU Frequency regulation driver/governors, SMP, Filesystem, I/O, GPU drivers (2D and 3D), Wireless and more

Direct download

Cheers :)
[Xperia Z Android Development] Cr33D OrB:
Then lets flash :D
[Xperia Z Android Development] ottomanwolf:
Wery Nice

Nice work.Thank you very much for the work you do

I will try now
[Xperia Z Android Development] Cr33D OrB:
Yeah,working fine for me :good:

GPS also should be okay :)
[Xperia Z Android Development] jaideep1in:
You updated the rom just before my exams. I want to post a meme now. Anyhow.

Please erm.. Enlighten me.

Why reduce IIC speed? Wouldn't it redu e my overall usage speed?

I greatly apologise for not really searching properly. Have a bit less time. Appreciate the updates :) espe ially removing the config for logger and updating adreno libs.

2) why enable QIO stats? Are we even using complex I/Os here?

I must admit that i dont know much about I/O governers. I am a noob at all this :P. All i used to do with linux was use meterpreter and aircrackng..and feel like a god :P.... But this thing. Android. Looks delicious ;). I'll catch up after my exams. Maybe help with a few test builds here and there :D
[Xperia Z Android Development] Cr33D OrB:
Yeah GPS Working fine

And MINECRAFT INSTALLING yeaaah perfect,

however, waiting for next build :DD
[Xperia Z Android Development] airlessproject:
To save power:

No overall usage speed reduction.

It's a revert. So it was that way before, then I tried to disable it, had problems, and finally decided to revert it. May come back to this again.
[Xperia Z Android Development] jaideep1in:
deleted
[Xperia Z Android Development] danny19901:
I just tried latest RR with no gapps installed it seems it already has playstore I clean wiped and flashed but without Gapps but notice statusbar wouldnt pull down twice it pulled downloading but wouldnt pull again to show QS which was odd also no notifications were coming through when downloading from playstore it may of been because I didnt installed Gapps but Rom worked well
[Xperia Z Android Development] Nameless One:
For those who feel they need to use Xposed, this ROM is still a no go.
[Xperia Z Android Development] airlessproject:
Believe me, it's a sepolicy denial.
[Xperia Z Android Development] pyramid:
Does it still have ambient display?
[Xperia Z Android Development] airlessproject:
not yet. I think it should be fixed with Sony LP blobs
[Xperia Z Android Development] SuperHanss:
Ambient display can be enabled via overlays:

https://github.com/AOSPA-L/android_device_sony_fusion3-common/commit/f59b6f58e09f1f011d22d7347e11a825ef1c6f6b

I haven't fully tested it yet; it might need some fine tuning.
[Xperia Z Android Development] zakitheracer:
How to toggle S2W?
[Xperia Z Android Development] BrateloSlava:
two-finger swipe from left to right
[Xperia Z Android Development] zakitheracer:
I meant how to enable it

Cause I can't find it in trickster mod
[Xperia Z Android Development] BrateloSlava:
it enabled by-default
[Xperia Z Android Development] TrueFriend-cz:
Hi. YouTube on all ROM based on LP have problem with error. If youtube app reset app data and first run and select for login account then show in popup message Error, but normal loged to account and play videos. Why, or where is problem? Thanx

Problem 2. If select in Wakelock item and deselect then hide text of item.
[Xperia Z Android Development] DrXperience:
Possible Bug : Minfree values, Tap to wake

Dear Developer [MENTION=5396196]airlessproject[/MENTION],

I am facing two issues,

1. The file responsible to set minfree values located at /sys/module/lowmemorykiller/parameters is inaccessible. So, none of the minfree applications are able to change or access minfree values. (The permission are --w--w---, so I guess this is due to no read permission)

2. Tap to wake feature of ROM is buggy (under settings -> display). When enabled and phone is kept in pocket for some time, the screen simply stops responding. I am unable to swipe from lock screen.

Kindly, check if you are facing the above problems. If you are then please notify us as well.

Thanks

Peace
[Xperia Z Android Development] Cr33D OrB:
Yeah,

S2W not working for me too,

however not so important..

And because of SuperHanss

Ur able to 'fix' AmbientDisplay now ?

THX :D
[Xperia Z Android Development] Artyomska:
S2W works, but it isn't properly implemented I think. After some tries I got it working, but only if I swipe from left to right with two fingers very fast and only when I'm doing it on the lower half of the screen. At least DT2W works very well.
[Xperia Z Android Development] Cr33D OrB:
Yeah,yeah it does,

however (really) i dont even really need these 'tochtweaks'

Anyways ,good that theyre featured :)
[Xperia Z Android Development] dav93:
its working perfectly for me i can unlock by swiping from all directions even diagonal swipe :D
[Xperia Z Android Development] ratworks:
Same here, 2 finger swipe in any direction, 'normal' speed, works fine.

Only when dt2w is turned on though, I guess that's how it's supposed to be?
[Xperia Z Android Development] dav93:
yeah if you disable dt2w wake swipe is disabled too :)
[Xperia Z Android Development] airlessproject:
1) the 'adj' file in the dir you mentioned is normally not supposed to be read.

I tried setting LMK values with Adiutor and Trickster, and it works just fine.

2) I haven't had this issue yet to be able to look into it, but I suspect in your case the problem may be caused by the theme and SystemUI app rather than dt2w
[Xperia Z Android Development] chintu_2000:
Facing the same problem No.2

Even I am facing the same problem......sometimes so badly that i have to shut down my phone using the 3 vibrations method. My screen touch stops responding.

I Haven't installed any themes or System UI apps from outside. the only theme which i am using is the one which downloads automatically (2nd PitchBlack-Dark Red)
[Xperia Z Android Development] airlessproject:
on which build have you had these issues? also did you not have them with dt2w off?
[Xperia Z Android Development] DrXperience:
Using the latest build.

To recreate the problem you need to turn on double tap to wake. Put your phone to sleep and keep it in your pocket, without the flip cover. And let it be in your pocket till you reach your office. Voila, when press the power button to wake up your phone. The screen will turn on but wouldn't respond to touch, sometimes some part of screen responds but complete screen never responds.

Question : In stock android normal GPU frequency is 400, but in our ROM the non overclock frequency is 320. So, I am guessing the lag produce in gaming Asphalt 8 may be due to that. I am saying this because today while gaming, my GPU clock was at 487 the highest and after 5 min of game play the clock got reset to 200, which is why the game was giving gitters and lag so I reduce it to 320 and it was playing okay. So, I thought if frequency is set to 400 I guess we won't see lags. (I played Asphalt 8)

Kindly share your views on it.

Peace
[Xperia Z Android Development] airlessproject:
Thanks for this, mate.

I have today discovered this commit, which I suspect that might be causing this problem, before assuming it's the dt2w implementation, because the said commit wasn't there in builds before the last one, and while it wasn't in the code, no one reported this issue as such. More so because the description commit message says that they are giving the change a second go.

I will look into this by maybe reverting this commit and test if the issue is there.

When implementing GPU OC in EvoMix, the dev had an issue when keeping 400 MHz as second (non-OC) frequency, where when selecting overclocked max freq as default (i.e. overclocking the GPU), the default max freq kept falling back to 400. This doesn't happen when that frequency is 320, so it was kept this way. You can inspect this commit, specifically the file 'arch/arm/mach-msm/board-8064-gpu.c', to see how what I talked about is implemented. So that's why we can't have 400 MHz in the frequency table.

Anyway, your issue is demanding further looking in, and the only possible solution, as it seems, would be to completely drop GPU OC.

Will think about this for the next build.

Greets!
[Xperia Z Android Development] Cr33D OrB:
Okay man,

waiting for next build :goood:

:)
[Xperia Z Android Development] Zacny04:
I think it's due to digitizer, because i'm facing this issue on all roms. No matters kitkat or lollipop. DT2W works only for few hours, then screen doesn't respond and i need to reboot my phone :(
[Xperia Z Android Development] airlessproject:
As I've already said, I never had the screen freeze issue and I'm using dt2w with this rom since first build. Also it wasn't reported by anyone until last build. That commit I linked deals directly with lockscreen touch behaviour, so it might just be our culprit here.

I'm going to look into the issue asap.
[Xperia Z Android Development] Zacny04:
I hope it will work, because i love this feautre. Could you also implement "Pocket Mode"?
[Xperia Z Android Development] chintu_2000:
The latest Build....

I didn't knew the reason for this problem.....Now, as you all said that the problem is because of DT2W, i ll turn it off and report you back
[Xperia Z Android Development] airlessproject:
All except me :) I'm still not giving it up :P
[Xperia Z Android Development] DrXperience:
About gesture lockscreen. I believe developers at PAC ROM faced same issue, conflict between gesture lock and double tap to wake. I remember that I saw an comment on a commit in PAC build, stating gesture malfunctioning in some devices.
[Xperia Z Android Development] airlessproject:
It's my birthday today :) so no hard work..

I'll try to fix this and other things which bug us from tomorrow on..
[Xperia Z Android Development] Cr33D OrB:
So gesture fine for me.
[Xperia Z Android Development] schorsch.funke:
Happy Birthday to you. Hope you have a nice day with your family .
[Xperia Z Android Development] Artyomska:
Happy Birthday! :D
[Xperia Z Android Development] Cr33D OrB:
Yeah HappyBDay,overread! :D
[Xperia Z Android Development] farahzadfarahzad:
Happy birthday wish u all the best mate
[Xperia Z Android Development] hansmerz:
I'd like to join in congratulating to your birthday and all the best
[Xperia Z Android Development] Cr33D OrB:
Just Fall on :

After reboot it takes (long) time to get on sim pin pattern.

And in bugs init.d scripts arent working?

Maybe coz that?

However,init.d(and maybe logcat)could come back on next build?!

Thanks! :)
[Xperia Z Android Development] airlessproject:
This will be fixed in next build.

init.d is a work in progress, should be done by next build too.

for logcat we'll have to wait a bit more for Logd's sepolicy to be fixed in CM
[Xperia Z Android Development] Cr33D OrB:
Okay man ,no hurry or pressure than everything good :goood:
[Xperia Z Android Development] Ghost ic0n:
Eagerly awaiting the .292 blob-based build to be released so I can take this ROM for a spin in the near future. :D

EDIT: I would like to ask, does this ROM come with CM12 Eleven Music Player built-in? If not, can you please add it in the upcoming .292 build, please? Thank you in advance.
[Xperia Z Android Development] Diatomix98:
Yes, the music player is built in the rom as this rom is based on CM12 as well.
[Xperia Z Android Development] airlessproject:
I'm currently testing a new build with .292 blobs, will upload today if there are no problems.
[Xperia Z Android Development] leongzxc:
hi OP [MENTION=5396196]airlessproject[/MENTION]

noticed a few bugs:

- brightness slider in notification panel sometimes dont work

workaround: need to go back into display under settings and toggle it manually, then it works agian

- notification LED still blinks despite pulling the notification shade down to see them

workaround: none so far

- certain gapps force close despite using the recommended gapps in first post.

so far only manage to found these 3 bugs

anyway, not complaining or anything. just letting you know whats up! :)
[Xperia Z Android Development] TrueFriend-cz:
Yes and next bug is vibrations shut down Settings
[Xperia Z Android Development] Artyomska:
For gapps force close ( I think the play store it's the problem), update Titanium Backup. If you restored any app through it, this is the cause of force closing (read the changelog before updating and you will see it is fixed)
[Xperia Z Android Development] airlessproject:
New build is up!

Hey all, I've uploaded today's build in which the main change is using .292 blobs.

Links in the OP.

Added a Dropbox mirror for those who couldn't download from Google Drive.

Cheers!
[Xperia Z Android Development] pyramid:
Hey Thanks for your work on RR. I used previous build and had 1-2 random reboot (I will need to get logcat for it). Also sometimes phone took few seconds after pressing power button to come alive. I guess this may be due to Ambient display issue. Do you know if Ambient display issue is fixed in latest build?
[Xperia Z Android Development] airlessproject:
Unfortunately Ambient Display is still not working. Turn it off in settings.
[Xperia Z Android Development] chjpfun:
wifi connected but can not send and receive data, please help!!!!
[Xperia Z Android Development] airlessproject:
Wifi works perfectly here.. Did you do a wipe? (full if coming from 5.0.2 and cache only if updating from previous RR 5.1)