yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] neo2k12:
No one expects you to give up on sleep and such, but you should create a fully functional rom and installation before making it accessible. Otherwise, this rom should be clearly labeled ALPHA or BETA. :confused:
[Xperia Z2 Android Development] baseboy11`:
we have to wait for the system made ​​by niabolic. Pandemic has little experience, and I doubt it that moonwalker will work properly
[Xperia Z2 Android Development] funky0308:
Hehe...Niabolic... He is Niaboc :)

I totally agree with that statement that it should be titled as WIP (work in progress).

What it, clearly, is...

But on the other hand - read comments and don't flash something is you aren't 100% sure it's for you.

Every single piece of software on XDA could lead you to a problem(s), XDA isn't store, it's developers forum and something like this is absolutely normal...

Once again - I said I agree with some of you, of this is mine thread and work I would, definitely, add WIP /Alpha/Test release in the OP or the title...

[MENTION=2902434]Pandemic[/MENTION]

Mate...

I don't have much free time and ROM dev isn't my specialty but if I can help - I'm here for you...

Keep going, I'm sure you'll find what's wrong...

Maybe it's something trivial like system won't mount in recovery, maybe it's flashing script problem - don't know, wasn't here for a few days....

You tried to contact NUT, Niaboc, DoomLord or someone else?
[Xperia Z2 Android Development] Pandemic:
Bro [MENTION=4816245]funky0308[/MENTION]

I appriciate it you come up for me, that is the 1st thing what ibwanna say, i appriciate that..

Well this rom is indeed in WIP and i need to look closer inside the scripts what could be wrong in yhat case but i am back home tomorrow so in the meanwhile i have no pc till then otherwise i already changed the title, i contact niaboc and he told me to make a log in recovery but how can i save that? it is a small text so a few issues in my case but i dont contact the others yet what you mention maybe i will do it this week.

Sent From Somewhere On Earth With My Z2 ^^
[Xperia Z2 Android Development] mila4me:
cmn dude we all came for you lol :) ty for trying man and good luck i just say i'll stop trying:) cause 2 days all i did only trying lol

Thanks for the hard work
[Xperia Z2 Android Development] Lord. Tech:
dont u dare feel let down OP :) it happens to the best of us, well, best of you... lol im no developer.... but so far from the screenshots etc it looks promising. Get some sleep, pop in some caffeine and give it a few shots next day, im sure ull figure it out, and as others said, do contact known Z2 developers, and thanks again for ur effort, the Z2 community owe u for it, and keep up ur determination for good work :)

waiting patiently for updated build, thanks again mate!
[Xperia Z2 Android Development] Poley59:
Hello Pandemic.

Thank you very much for the rom and excellent work.

I'll put it and count impressions.

regards
[Xperia Z2 Android Development] Pandemic:
People thanks for the support

i am back home now and start working on it and test before release so it is a WIP

Please hold on tight i do my best :)
[Xperia Z2 Android Development] mamenvn:
V 1.5 working fine on my D6502

Thanks Pandemic!
[Xperia Z2 Android Development] Pandemic:
[MENTION=4825120]mamenvn[/MENTION]

Ooh for sure ?

what and how you installed it then ?

Handy to know for the people !
[Xperia Z2 Android Development] mamenvn:
Sure, but don't have root :(

Install steps:

1. Wipe all to install new rom

2. Install rom

3. Install recovery .154_path

4. install D6502_patch

6. reboot
[Xperia Z2 Android Development] Pandemic:
Hmm oke [MENTION=4825120]mamenvn[/MENTION]

well did you tried to install supersu from playstore and root checker?
[Xperia Z2 Android Development] Pandemic:
Still a wip !

http://youtu.be/pj3_f9WD4R4

Sent From Somewhere On Earth With My Z2 ^^
[Xperia Z2 Android Development] BULL3TPR00F:
Glad to see the thread is open again, I hope everything was sorted out and everyone is happy now so we can continue to work on getting this rom running.

For anyone trying to flash a 4.4.4 zip and getting "error executing updater binary in zip..." this is due to outdated recoveries which do not correctly support 4.4.4 flashing for our phones (rickiller problem). Until NUT updates XZDR and corrects the issue NORTI has released a patched version that corrects the issue.

The patched .zip can be found in this thread:

http://xdaforums.com/xperia-z2/general/4-4-4-creating-rooted-update-package-t2933155

All credits to NORTI and anyone else involved in the project.
[Xperia Z2 Android Development] Pandemic:
Dear People !

Mw Revolution V1.7 is released !

read the steps carefully because it is very clear

and i followed those

steps and so far now issues !

Preview of V1.7:

[YOUTUBE]z4LOUne270s[/YOUTUBE]​
[Xperia Z2 Android Development] MattJaO3D:
Woohoo, congratulations buddie, I'll back up and flash 1.7 and thanks again
[Xperia Z2 Android Development] bissa:
flashing successfully but no boot, stuck on black screen and keep rebooting.
[Xperia Z2 Android Development] Pandemic:
[MENTION=5194117]bissa[/MENTION]

Did you followed exactly the installation steps in the OP ?

I followed them with succes !!

# make ALWAYS a back up before flashing !

Sent From Somewhere On Earth With My Z2 ^^
[Xperia Z2 Android Development] crazynewfie:
When I get home I will give it a try. Thanks Pandemic for your continued effort!
[Xperia Z2 Android Development] Pandemic:
26 times downloaded and no one can confirm they flashed it succesfull like i do without errors/failing like [MENTION=5194117]bissa[/MENTION] ?

Weird -__-

Sent From Somewhere On Earth With My Z2 ^^
[Xperia Z2 Android Development] profesy:
Here i am :p

I flash only now your rom, i'm back home now

I follow this:

1: Put both of the Roms on your internal sd card [sdcard0/Internal Memory]

[Yes also MW Revo V1.7]

2: Boot into recovery

3: Flash the Pre-rooted 4.4.4 Rom

4: Wipe data. Wipe cache & Wipe dalvik

5: Flash SuperSu zip

6: Flash DualRecovery flashable

7: Reboot

8: Let it settle

9: Boot into recovery

10: Flash MW Revolution V1.7

11: Wipe Dalvik & Cache

12: Flash SuperSu zip

13: Flash DualRecovery flashable

14 : Done & Enjoy !

Everything seems to work man :good: Tomorrow I report back other things

Great work man ;)

P.S: i use your great past rom on Xperia P :good:
[Xperia Z2 Android Development] Pandemic:
[MENTION=3903863]profesy[/MENTION]

Lol oke hi :p

But great to hear my friend that the rom installed good like by you, me and maybe other people and sure that is alright and awesome you used my rom also on Xperia P :)

Sent From Somewhere On Earth With My Z2 ^^
[Xperia Z2 Android Development] mamenvn:
Steps the same

My device is D6502, so i Flash D6502 patch baseband

Working great
[Xperia Z2 Android Development] crazynewfie:
I get to Sony screen then it goes black and reboots. I have followed your instructions to the T. . Not sure what I'm doing wrong. I've tried different senearos as well. Once it reboots I can get back into recovery so it's not a big deal. I'm off to bed and take another look in the morning.
[Xperia Z2 Android Development] Stickrundude:
Link for the patch please ?
[Xperia Z2 Android Development] Duzzy5:
Fhashed, booted.. xposed module seems to not work, and i lack some boot animation tho. im only one here with xposed not changing anything?
[Xperia Z2 Android Development] RedSkyRoad:
[MENTION=2902434]Pandemic[/MENTION],

Please explain "Camera quality improved" as featured in OP...
[Xperia Z2 Android Development] mamenvn:
[MENTION=3841455]Duzzy5[/MENTION]: Read this

http://xdaforums.com/xperia-z2/development/stock-4-4-4-23-0-1-0-167-bug-free-t2929402
[Xperia Z2 Android Development] profesy:
Unfortunately, root seems not to work properly. I check root first to flash pandemic zip and all is ok [MENTION=2902434]Pandemic[/MENTION]
[Xperia Z2 Android Development] Pandemic:
[MENTION=3172970]Puffin617[/MENTION]

I edited mediaprofiles.xml by the guide of [MENTION=4666531]Rizal Lovins[/MENTION] and you run fine on the rom btw ??

[MENTION=3841455]Duzzy5[/MENTION]

Did you installed Xposed framework 1st and then reboot and checked under modules under xposed framework if it is ticked and activated ?

Sent From Somewhere On Earth With My Z2 ^^
[Xperia Z2 Android Development] profesy:
It's the same of that rom man ;)

http://xdaforums.com/showthread.php?p=57365451

Work very well but has a root partially functioning
[Xperia Z2 Android Development] Pandemic:
Hmm okay i see and does it work now [MENTION=3903863]profesy[/MENTION] ?

You have also a pm from me ;)

Sent From Somewhere On Earth With My Z2 ^^
[Xperia Z2 Android Development] cire27rn:
about recovery

All steps worked but the step 14 did not work for me. Flashed thru CWM the flashable PhilZ recovery after flashing the root fix but not installed. Rebooted and tried to flash via pc but did not worked too. Cant install also Xposed apps
[Xperia Z2 Android Development] RedSkyRoad:
I have not installed the ROM.

01] The process seems a bit excessive...

02] Stuff like Xposed and autostarts are already installed on my rooted stock ROM. (prefer them to be separate from Settings)

03] Don't like dual recovery. Prefer to only have TWRP 2.8.1.0 on device
[Xperia Z2 Android Development] Pandemic:
[MENTION=3172970]Puffin617[/MENTION]

Oke i see, well it is your own choise if you install this rom or not my friend.

Sent From Somewhere On Earth With My Z2 ^^
[Xperia Z2 Android Development] Pandemic:
[MENTION=5017692]cire27rn[/MENTION]

Oke well try to install supersu from playstore and look if that works and i told that also some pages back like other people and also download root checker from playstore and run it and see if you have root !

Sent From Somewhere On Earth With My Z2 ^^
[Xperia Z2 Android Development] RedSkyRoad:
I know, I was just trying to see it all the effort is gonna give me something unique that I cannot find on a stock ROM.
[Xperia Z2 Android Development] Pandemic:
Okay well that is not a problem my friend and yes i know you looking for that ;)

Sent From Somewhere On Earth With My Z2 ^^
[Xperia Z2 Android Development] cire27rn:
Verified. With root access sir
[Xperia Z2 Android Development] mamenvn:
To fix fullroot, google file Recovery

Z2-lockeddualrecovery2.7.154-BETA.flashable_patched.zip
[Xperia Z2 Android Development] cire27rn:
Do u have this pc flashable?
[Xperia Z2 Android Development] mamenvn:
Link for you

http://xdaforums.com/attachment.php?attachmentid=3050716&d=1417862260
[Xperia Z2 Android Development] Pandemic:
The installation steps are updated with the correct zip`s and rom is re-uploaded with the missing bootanimation, Mediafire link will be also added asp !
[Xperia Z2 Android Development] Duzzy5:
I've installed ROM, used ZIP's to not loose dual recovery. there was no aroma installer, so i did not do anything, besides your guide. will reflash updated version later
[Xperia Z2 Android Development] Duzzy5:
One more note.. Notification sound is low (.167 feature i suppose) and it needs a lift up for sure ;)
[Xperia Z2 Android Development] cire27rn:
Noise cancellation also not working
[Xperia Z2 Android Development] Pandemic:
[MENTION=3841455]Duzzy5[/MENTION]

Hmm strange i put this mod inside it:

http://xdaforums.com/showthread.php?t=2929709

So i guess its the .167 issue :(

Btw check your pm !

[MENTION=5017692]cire27rn[/MENTION]

I will look into it but on my Z2 NC is working fine.

Sent From Somewhere On Earth With My Z2 ^^
[Xperia Z2 Android Development] Brody5:
Hi just got the Rom working and was wondering how I get the HTC weather clock on my phone?
[Xperia Z2 Android Development] Pandemic:
Hi

Oke good to hear and that is a widget that i use my friend ;)

Sent From Somewhere On Earth With My Z2 ^^
[Xperia Z2 Android Development] cire27rn:
Loud notification seems to be working for me. Try ticking xloud only. Not the clear phase.
[Xperia Z2 Android Development] Duzzy5:
same here, only xloud tickled, no more changes in audio settings. notification like from bottom of the sea.. :)
[G 2014 Themes and Apps] HJain13:
Well.. finally I think moto finally realized that
[ONE Q&A, Help & Troubleshooting] abhi08638:
Hey guys, lately I've been having the eventx-xxxx wakelocks that *seem* to keep my phone awake and drain my battery. These wakelocks are usually event0 ones and followed by a four digit number which I believe to be the Process ID.

The current wake lock I am having is event0-2012 shown by BBS. It changes on every so the PIDs are rarely the same. It also happens that the 4 digit number happens to be the process ID of system_server. So there's something that's keeping it awake.

Lastly, the event0 is the synaptics touchscreen. So I'm guessing that this event0 wakelock keeps track of all the touches you make on the screen. This problem only appeared after the new touchscreen firmware updates so that may be the cause. Anyone have any thoughts on this matter?

Screenshots for proof below

sent from my amazingly awesome OnePlus One

Don't forget to hit thanks!
[ONE Q&A, Help & Troubleshooting] abhi08638:
Alright guys I'm back to share what I have found after doing some research.

Right now I'm using ark kernel with liquid smooth 3.2 milestone

So back to these wakelocks, as it turns out, even though event0 was the most prevalent, most of the time it was on was while the screen was on, so basically you can ignore it.

However, there were two other events that I still had to investigate, event2 and event3. For me event2 is gpio_keys which are the button inputs. event3 is s2w_pwrkey.

First I deleted the event2 file under /dev/input. These files are restored on boot but I would still make a backup before trying this. After deleting this, my volume buttons stopped working, as expected. But my power button still worked. I used it for a couple hours but there was something that was keeping my phone awake still.

Then I rebooted and deleted event3. This is related to the sweep2wake that's implemented in alucard's kernel. I never use it anyway so I went ahead and deleted it. And what do you know, now my phone is sleeping like a baby and even the other events have gone down as well. But the problem is you have to delete the file on every boot. The solution? An init.d script with the following line. Where X is the number of the event you want to remove. You can also just add it to any existing scripts you might have in /system/etc/init.d

rm /dev/input/eventX

How to find out what's causing yours?

1.Download wake lock detector from the

play store and use it for a day

2.check under kernel wakelocks to see if

your phone is being kept awake by an

alarmingly high number of event

wakelocks, if so proceed.

3. Open terminal emulator and type the

following: "su" press enter after each

line

"ps | grep xxxx" where xxxx

is the number

following the event

wakelocks.

4. If system_server doesn't show up,

another app is causing it. Find it and

manage it. Otherwise, proceed.

5. Go back in terminal and type "su" enter

"getevent -c 1" this will give you all

of you events and and what they

are bound to.

6. Make a backup in recovery.

7. Delete one of the problem events and

see if your phone is kept awake, if it.

isn't then congrats! You found the

drain! Else keep testing.

8. Once your are certain which one it is.

Create an init.d or use an existing

one and add the line "rm /dev/input/

eventX" replace X with the event

you want to remove.

You're done.

If you have any problems or questions, I'll be happy to help.

sent from my amazingly awesome OnePlus One

Don't forget to hit thanks!
[ONE Q&A, Help & Troubleshooting] ak:
Thanks alot for this thread, very helpful. :good:
[ONE Q&A, Help & Troubleshooting] martinoff:
i don't have wakelocks (using [MENTION=3685904]ak[/MENTION] kernel and enabled only dt2w) but very useful thread

5 star rated :good:
[ONE Q&A, Help & Troubleshooting] abhi08638:
Cool that means alot coming from you :D

Thanks! I've never had a 5 star thread before :)

sent from my amazingly awesome OnePlus One

Don't forget to hit thanks!
[ONE Q&A, Help & Troubleshooting] ek69:
I am on cm11s and have these same wake locks but all are less than 10 on so far a days worth of battery time. I don't think it's much of a problem for me and probably more for cm12? Anyways thanks for the info now I know where to look if it ever becomes an issue :)

Cheers
[ONE Q&A, Help & Troubleshooting] tracerit:
i've been getting these crazy same wakelocks the last week as well, which is weird because i didn't get them the two weeks before that when i got my phone. And I've been flashing ROMs (Mahdi, SlimKat, Lollipop) and kernels (stock and AK) back and forth. Even after settling on Mahdi with a clean flash, they're still showing up. THanks for your investigation, I'm going to check things out when I get home tonight.
[ONE Q&A, Help & Troubleshooting] abhi08638:
Agreed, it only started happening recently and I haven't installed any new apps, but newer Roms and kernels. So I really don't know whats causing it

sent from my amazingly awesome OnePlus One

Don't forget to hit thanks!
[ONE Q&A, Help & Troubleshooting] tracerit:
Update: I flashed AK v30 kernel and the wakelocks seem to be gone now! Prior to this I was on Mahdi with stock kernel which had the wakelocks, and prior to that I was on Mahdi with AK v11 kernel which also had the wakelocks. This is only after an hour of "testing" though, so hopefully no apps I'm going to use will trigger them back :/

Edit: jk, wakelocks returned after a while. Screenshot attached. I rebooted the phone then left it alone for almost two hours.
[ONE Q&A, Help & Troubleshooting] mumaster20:
Getting event0 1585 wakelocks, quite alot , more than 30k wakelocks in 3 hours.

It seems to be related to the synaptics driver, which to my knowledge is the touchscreen so i better not turn that off :p

Running AK 030 with Paranoid Saber Droid 4.4.4
[ONE Q&A, Help & Troubleshooting] abhi08638:
No just ignore that one. Most of the the 30k happens when the screen is on l

sent from my amazingly awesome OnePlus One

Don't forget to hit thanks!
[ONE Q&A, Help & Troubleshooting] mumaster20:
I am getting another quite massive wakelock, ipc0000007b_sensors.qcom, this one hits 143k wakelocks in 6 hours.

Tried searching for it on google but didnt really find any answerd or solutions. Do you know maybe what this wakelock is?

Most likely its a sensor, as seen in the name.
[ONE Q&A, Help & Troubleshooting] abhi08638:
I'll look into it

sent from my amazingly awesome OnePlus One

Don't forget to hit thanks!
[ONE Q&A, Help & Troubleshooting] JeffDC:
Nice investigating and bug hunting OP.
[ONE Q&A, Help & Troubleshooting] abhi08638:
Alright, unfortunately I couldn't find any information about it. Are you running any auto brightness apps? Autorotation? Accelerator gaming? Magnetic case?

sent from my amazingly awesome OnePlus One

Don't forget to hit thanks!
[ONE Q&A, Help & Troubleshooting] tracerit:
Flashed the most recent boeffla kernel this morning (had ak 030 yesterday) and this whole day I haven't had any disruptive event wakelocks. Instead of minutes of those wakelocks, they're just St seconds now. Didn't change anything else.
[ONE Q&A, Help & Troubleshooting] abhi08638:
That's curious. It might be because of new commits that might have been reverted in the kernels. Right now I'm using Ark kernel

sent from my amazingly awesome OnePlus One

Don't forget to hit thanks!
[ONE Q&A, Help & Troubleshooting] venky61:
Really a different way to deal with the problem than any other threads I have gone through. I am facing the same issue. Phone being awake when connected to WIFI only. The problem does not persist with Data connection and WIFI Off. Its very strange. I was working around for the solution but different things seemed liked working at different times.

Though I was having Event wakelocks and not wlan wakelocks I followed some solutions from this thread http://xdaforums.com/galaxy-s2/help/puzzle-wlanrxwake-wakelock-sgsii-t2133176

Disabling netbios worked for me and again after an update the problem came back. Next time I tried changing frequency to 2.4Ghz and it worked. Now again after dalvik cache wipe the problem came back. No solution left to try.

I shall try the methodology u hav provided. Finger crossed. Really frustrated with this issue. Unable to keep the phone connected to WIFI.

But what can be the real issue. How can the volume keys or sweepwake issues persist only on WIFI and not on data connection. Should I ask for am exchange from OPO?
[ONE Q&A, Help & Troubleshooting] mumaster20:
Non of that, next to the standard autorotation and auto brightness of android itself. I did see that all the screen off gestures were turned on in synapse so I turned that off but it didn't seem to help. Its not that big of a deal though, probably some necessary stuff happening in the background. Still getting rock solid battery life! 6+ hours sot over 2 days so you don't hear me complain :) thanks anyways for sharing your info!
[ONE Q&A, Help & Troubleshooting] abhi08638:
Yeah I have noticed this wifi issue as well. Iight be related to the new drivers that were implemented but I haven't been keeping up with that so I don't know if it was reverted or not. I usually keep the wifi sleep policy to never. As I said before, I don't really know why they show up, but this "solution" is very dirty. The best way would be to find the cause of it.

I removes the s2w event because whatever triggered it actually uses power by keeping the capacitive keys on. So stopping that process ultimately saved me some battery.
[ONE Q&A, Help & Troubleshooting] abhi08638:
Its just strange because the same wake lock for me takes 0.1℅ of my battery life and I rarely use the sensors. I usually use manual brightness with only dt2w enabled. But your battery life seems good so it might be a screen on wake lock instead of a screen off one.
[ONE Q&A, Help & Troubleshooting] mumaster20:
Most likely it is yeah, there is no direct way to see that right? I can look if the number of wakelocks go up whenever my screen turns off though.
[ONE Q&A, Help & Troubleshooting] tracerit:
I see this "wakelock" as well but under ipc....... 8b_sensors.qcom and it's also in the high thousands count but the total wakelock time is only 1 second. If I understand correctly, the main thing is the amount of time in wakelock instead of how many times it occurs.
[ONE Q&A, Help & Troubleshooting] abhi08638:
Yeah you can try that. Although it might be a bit difficult. Also try not using any sensors for a day and see if it still pops up. Also forgot to mention, are you using anything that requires the proximity sensor? Like active display or proximity wake up?

This is correct to an extent. It really depends on how long the phone was on. Bit generally you want the wake lock time to be as low as possible. Sensors usually use very little power and sometimes are called thousands of times without an impact on the battery.
[ONE Q&A, Help & Troubleshooting] venky716:
I've already reported this issue to CM on jira after extended research.

https://jira.cyanogenmod.org/plugins/servlet/mobile#issue/BACON-1063

It is most probably related to specific Wifi routers, not 100% sure though.

Go ahead and upvote the issue maybe CM will resolve the issue.
[ONE Q&A, Help & Troubleshooting] tracerit:
Wifi routers? I thought the general consensus is that the Synaptics touchscreen drivers were the cause of event0 wakelocks?

On another note, these event0 wakelocks are still killing my batterylife overnight/when idle. Just uninstalled a bunch of apps and the wakelocks disappeared. So now i'm slowly restoring my apps hoping I can figure this out by tonight.
[ONE Q&A, Help & Troubleshooting] abhi08638:
event0 does not actually cause any drain, its only active when the screen is on so its not draining any battery. It does seem that there is something wrong with the wifi drivers for our phone and some WiFi routers