yashsingh1/xdaforums huggingface dataset:
[Mi 3 General] SurajH:
Deepsleep?

Yup Confirmed that Deepsleep actually not showing in BatteryStat app 80% on 300mhz frequency only..

I Forcefully started Battery saver mode too BUT no luck

I think it's NOT showing but actually goes in Deepsleep as NO Battery drain too:confused:

I'm on Gapps included Build:o
[Mi 3 General] vvaz:
Thoes this means that deepsleep is working?

[IMG="Deepsleep"]http://i.imgur.com/8sjvyxLl.png[/IMG]
[Mi 3 General] FcukBloat:
yes! mi3 or mi4?? gapps or without?
[Mi 3 General] vasishath:
yes.. how you able to get that ?
[Mi 3 General] FcukBloat:
nvm I am going to upload it shortly to my dropbox. if that will be too slow, FTP would work for you too?
[Mi 3 General] SurajH:
Which build with / without Gapps :confused:

Is it Rooted or not :confused:
[Mi 3 General] vvaz:
It's a Mi3w with gapps version of the rom not rooted.
[Mi 3 General] Armin_van_buuren:
Already passed in the previous build of Ivan. The version with gapps did not enter deep sleep and the version without gapps if I went into deep sleep.

I'm flashing the version without gapps and now I try and edit with the result.
[Mi 3 General] samx69:
the most important question is mi3 or mi4?:p
[Mi 3 General] SurajH:
OK Means Rooting lost Deepsleep then:eek:
[Mi 3 General] vasishath:
what recovery are you using ?
[Mi 3 General] Kaxim:
Here is the link, the zip file contains the folders you requested :)

h t t p s://drive.google.com/file/d/0B4H87fFjUbLPZHFXV2tMNUs2RHM/view?usp=sharing
[Mi 3 General] audahadi:
Dropbox will do.. Thanks.. Hope I can test and publish later...
[Mi 3 General] Armin_van_buuren:
Waiting for the magic of Mr. audahadi :laugh::laugh:

Edit:

Version without gapps not go into deep sleep.

Mi3 version without flashing gapps and SuperSU more CMW r8
[Mi 3 General] vvaz:
cwm v6.0.5.1 r11
[Mi 3 General] Kaxim:
Guys i found a new thing the device is going to deepsleep only when the battery is less than 15% :confused:
[Mi 3 General] vasishath:
but the guy who posted the screenshot has much battery juice left.. (visible in the notification bar)
[Mi 3 General] FcukBloat:
here you are dear [MENTION=4898058]audahadi[/MENTION] ... sorry for the delay..

https://www.dropbox.com/s/uc9ejo25c7czjte/for_audahadi.zip?dl=0

and now please make your magic! :p

edit: opsss a few minutes late! :o
[Mi 3 General] SurajH:
Now It's confirmed then it's because of ROOT only:crying:
[Mi 3 General] vasishath:
cant say.. because i reflashed the rom but deep sleep still not working
[Mi 3 General] ZenR2:
phone is going in deep sleep

mi3 rooted

rooted : by flashing super su 2.45

rom : ivan latest with gapps
[Mi 3 General] vasishath:
can you please mention your settings.. like location, wifi, network etc.
[Mi 3 General] Armin_van_buuren:
Testing gapps version without root.

I do not understand how these versions and tested within hours of his release detect again and again the same mistakes.
[Mi 3 General] Kaxim:
I dont understand why xiaomi isnt releasing kernel source. Not a single 100% stable rom till now. :(:rolleyes:
[Mi 3 General] SurajH:
Is it Rooted with update_supersuv2.45 zip file??

OR by Old method:confused:

Confirmed that Without Root Build with Gapps not going in deepsleep ...

So confusing now
[Mi 3 General] s4tch:
just did a clean flash, then installed only cpu spy. no deep sleep.

mi3w, no root, gapps version, battery at around 90-95%, r11 cwm.

it would be nice to find out what makes the phone stay awake. i'll root the rom, then i'll install wakelock detector, maybe it will reveal some useful information.
[Mi 3 General] ZenR2:
location off

wifi on

network data off ie mobile internet is off
[Mi 3 General] FcukBloat:
mi3w

twrp 2.8.4.0

clean flash of non-gapps version (but flashed minimal gapps apart after rom)

supersu2.45

the rom had the time to do its things, and settled down

still, according to cpu spy it doesn't enter deepsleep at the moment,will see later... (of course phone is not charging)

:confused:
[Mi 3 General] ZenR2:
rooted by super su 2.45

with gapps package

---------- Post added at 07:47 PM ---------- Previous post was at 07:42 PM ----------

i dont knw how

but my phone is going into deep sleep

its like 85% deep sleep

no battery drain

just clean flashed the rom with gapps included

flashed supersu

then did a reboot

and everything seems working fine

screenshot is attached in the above post
[Mi 3 General] sergiob8:
According to the changelog, some devices enter in deepsleep but it's not showed on the stadistics. Maybe that's the problem.

"2. part of the user card, set up inside the battery indicator will be abnormal, always show awake, tested to show the error does not affect the power"
[Mi 3 General] SurajH:
Now all my tests...

with gapps + root = no deepsleep

with gapps + NO root = no deepsleep

without gapps + root = no deepsleep

without gapps + NO root = no deepsleep

Now totally confusing :confused:
[Mi 3 General] elia222:
As said by sergiob8 according to the changelog, some devices enter in deepsleep but it's not showed on the statistics
[Mi 3 General] SurajH:
Where is the mentioned in changelog ?

that deepsleep not showing:confused:
[Mi 3 General] vasishath:
got deepsleep

got deep sleep just now.. i formated system partition before flashing rom. and then rooted.
[Mi 3 General] elia222:
In the bugs - 2.Battery usage data display error on some devices with sim card

---------- Post added at 03:36 PM ---------- Previous post was at 03:35 PM ----------

Already tried, no deep sleep for me!
[Mi 3 General] SurajH:
Congratulations

But i did same all the time before flashing Roms but NO luck:crying:
[Mi 3 General] FcukBloat:
same here, always format system1 before flashing.. no luck anyway

btw I confirm it seems I don't have any battery drain even if deepsleep is not showed as activated in cpu spy....
[Mi 3 General] SurajH:
But deepsleep is for cpu frequency list ...

This bug for Battery chart shown in Battery option in setting menu ;)

Whatever the Reason now using it so hoping it Goes in DeepSleep and not displaying :rolleyes:
[Mi 3 General] Armin_van_buuren:
In the Mi4 if goes to sleep so the theory that is not displayed correctly in statistics is not true.

Mi3 version is as in the previous version halfway.
[Mi 3 General] Tomi_Ohl:
Anyone can test the ROM without SIM card? I'll test it too when I install it.
[Mi 3 General] sergiob8:
The original changelog is here: http://www.miui.com/thread-2331186-1-1.html
[Mi 3 General] dkmali:
What about random reboot?
[Mi 3 General] Armin_van_buuren:
No random reboot.
[Mi 3 General] FcukBloat:
it would be interesting to see if people that has deepsleep working (or at least displayed in stats) won't really have any reboots also in the long term......... :cowboy:
[Mi 3 General] rpjuvvadi:
Hope it helps..
[Mi 3 General] FcukBloat:
thanks. but I mean that would like to see a screen like that, but with very long uptime (total state time).. let's say 24 hours or more :o

if you won't reboot the phone in the next 1-2 days, please again post your screen. did you have reboots with previous builds? (with phone in pocket etc)

also, someone with deep sleep working, did try alarm clock if it is working fine?

thanks!
[Mi 3 General] sivabommakanti:
No deep sleep for me either. :rolleyes:

And i have checked on the alarm & its working. :good:
[Mi 3 General] FcukBloat:
thanks, but I asked about alarm to someone with deepsleep working because AFAIK alarm worked even before with wakelock app installed... it didn't work properly only when phone was entering in deepsleep... right?!

one more thing: reading the english miui forum, someone said the two versions (with and without gapps) have different kernels... can you confirm?

I flashed no gapps version, and have kernel built on 9th of February

someone with gapps version installed, can confirm what kernel is installed?
[Mi 3 General] sivabommakanti:
I have the Feb 10th kernel on with gapps version. Ur right!
[Mi 3 General] audahadi:
Same kernel, different built time
[Mi 3 General] fabiosun:
I would like to share maybe a noob thought;)

I have installed previous Ivan rom version (5.2.4), I use my MI3 with wifi and Bluetooth Always on.

In this condition cpu spy does not detect my MI3 entering in deep sleep

If I set like I do every night airplane mode deep sleep compare..

Maybe wifi or bluetooth app does not allow phone to enter deep sleep mode?

Or probaply cpu spy has a problem with detecting correctly this state?

I have not random reboot
[Mi 3 General] FcukBloat:
wow thanks for claryfing!

so.. do you think you will be able to get anything good out of this latest ivan rom? :o

---------- Post added at 04:44 PM ---------- Previous post was at 04:42 PM ----------

don't think so, because I have BT and WIFI always OFF, but still no deepsleep ;)

btw, I am trying in airplane mode enabled too, will see if then it enters deepsleep :)

EDIT: yes you are right! in airplane mode it enters deepsleep! so maybe not exactly BT and WIFI, but RIL in general is preventing deepsleep???

and are we really 100% sure that deepsleep is really working fine even if it is not shown? because if deepsleep is not really working, as someone else said that could be the reason why reboots are not happening.... rather than reboots really 100% fixed!
[Mi 3 General] fabiosun:
moly 82, after which times our phone should goes in deep sleep?

Is there a settings to enable?
[Mi 3 General] FcukBloat:
no, in plain aosp there is no option for that. but usually after locking the phone, it should enter deepsleep pretty soon. if you want to be sure, after locking the screen, just check after 20-30 seconds, and it should enter deepsleep... if it is working fine...!!!!
[Mi 3 General] audahadi:
Don't know.. Compiling.. Ivan use qualcomm source to build rom AFAIK.. With his bunch of local changes. Compare me to him, he is far better.. :D.. Let see what happen..
[Mi 3 General] fabiosun:
:)

In my case during Mi3 charging it does not enter in deep sleep mode also in airplane

Out of charging..yes
[Mi 3 General] FcukBloat:
when charging, the phone won't enter in deepsleep, that is normal with all roms. it will stay at 300 MHz minimum ;)
[Mi 3 General] sivabommakanti:
I have a different situation here. My phone jus entered into deep sleep while i am ON CALL. Really. I have locked the screen & i was on a call. Once the call got over i checked cpu spy & deep sleep is working..

Edit : Now deep sleep working even after the call. Yippee!!!! With wifi on....
[Mi 3 General] Mr Rainman:
Was using latest ivan's no gapp version and it showed no deep sleep. Had gapps and I also had rooted it. Then read about gapps-version having a newer kernel (true, by the way) and decided to switch to that one. Dirty flashed the gapps version over the no-gapps one and for some reason, deepsleep is showing now. No idea why, but decided to post, maybe it'll work for you guys too.
[Mi 3 General] Abhiroxx:
What about battery backup guys?
[Mi 3 General] Hadi al-Haiqal:
Good news..

http://www.androidauthority.com/xposed-framework-lollipop-working-well-586452/
[Mi 3 General] matelija:
I'm using latest ivan's rom on my mi3w, phone didn't entered deep sleep but i changed wifi settings to turn off wifi when phone is in deep sleep. You can see in screenshot what i got. I don't know is wifi turned off beacuse of deep sleep or some other reason
[Mi 3 General] FcukBloat:
will see when this battery cycle ends... I started from 100% I'm now @ 93% with about 30 minutes SOT

---------- Post added at 05:24 PM ---------- Previous post was at 05:23 PM ----------

great thanks for the update! :)
[Mi 3 General] dchinu:
Power Statistics and Minor Bug

Thank You. That trick worked for me.. Connect to wifi, Initiate a call.... lock the screen... wait for a min after the call ended (in my case 198 ).. unlock and check for battery statistics.

Bug : Touch screen issue while charging (Can't move app by long pressing) might be only me else others confirms to the said issue

Single finger swipe down ... Quick setting access does not work while charging
[Mi 3 General] vasishath:
both things working fine here during charging. try rebooting your phone, this problem sometimes happens to me in miui too..

---------- Post added at 06:26 PM ---------- Previous post was at 06:21 PM ----------

same thing happened to me.. i think ril has something to do with deepsleep here.. even wakelock detector shows RILJ as longest running in the stats..

---------- Post added at 06:37 PM ---------- Previous post was at 06:26 PM ----------

alarm is working with deepsleep for me.. i activated flight mode, set alarm for 2 mins after current time, reset cpu spy timers and locked the screen.. the alarm rang and cpuspy showed deep sleep.
[Mi 3 General] FcukBloat:
good thanks! in the meantime i tried also gapps version, still problems with deepsleep....i think it is not really working for some like me, when airplane mode is not activated...
[Mi 3 General] SurajH:
Me too...

Only airplane mode trick working otherwise no luck with Sim on state..
[Mi 3 General] vasishath:
hmm.. radio logcat keeps showing this error even when screen is off..

E/PHONE ( 1689): [ServiceState] setState deprecated use setVoiceRegState()

maybe this could give a clue..

oh and one thing more.. i also tried to keep the phone upside down and in various positions after activating airplane mode to see if the phone reboots.. it didn't reboot and it went to deep sleep.
[Mi 3 General] FcukBloat:
can you send email to ivan with the discovers you/we made?? :o
[Mi 3 General] vasishath:
i already did it :) :)
[Mi 3 General] pbr1111:
The "logcat -b radio" command could help find a solution. Can someone with the RILJ wakelock (no deep sleep) upload this log? With adb is: "adb logcat -b radio > radiolog.txt" (to redirect the output to a file).
[Mi 3 General] vasishath:
here
[Mi 3 General] FcukBloat:
here's another one :)

https://www.dropbox.com/s/3nxmr9z5kmajjdf/2015-02-10_20.17.zip?dl=0
[Mi 3 General] insik00:
Works pretty stable to me..

Format

Wipe cache

Wipe dalvik

Format system 1

Format system 2

Install Ivan ROM with gapps

Install super su

Deepsleep is working with WiFi on/off
[Mi 3 General] :
Gps icon stucks on the status bar on Mi 4. Does anyone have the same problem?
[Mi 3 General] MTK6589:
Turn GPS on and off and restart your phone. It may help.
[Mi 3 General] Riichard63:
It was the same after rooting the first build from Ivan.
[Mi 3 General] :
I tried but the problem still remain :(

Yes, all three builds from Ivan have this issue
[Mi 3 General] Riichard63:
So okay here is my feedback for bugs :

-GPS not working on Mi4 (shows satellites, but never connects)

-No DeepSleep (Gapps included and root)

-HDR not working

-Can't save video (impossible to stop recording)
[Mi 3 General] Ch3ckmate:
After flashing this ROM I was not able to turn on the Wi-fi so I flashed back to kitkat and everything works again...need phone and wifi so can't experiment right now :/ I found one other person who had the same issue I think, no one else mentions it...it occured after flashing kernel, root and supersu..
[Mi 3 General] Riichard63:
You don't need to flash the kernel.
[Mi 3 General] Ch3ckmate:
oh no...well might try again tomorrow then. In the topic it was stated that, to root lollipop you needed to flash 3 files: some modified kernel, a root file and a supersu app...which I did...so the proper way is just the root zip and supersu?
[Mi 3 General] Riichard63:
I just flashed the supersu file here : https://mega.co.nz/#!MQdgDCbK!jDt2Y1HZym32F9RQQk7a9_ZeTJE5MQjPPOR9tnGlpAY

Afted I wiped cache and dalvik cache

I rebooted the phone, supersu app wasn't present, I just had to install it from playstore ;)
[Mi 3 General] insik00:
Update,..

Wifi on.. Alarm on.. Deepsleep still in the presents
[Mi 3 General] volcano619:
I don't have deepsleep present..I've even used an app to put it to deepaleep when we turn off the screen and it still goes to 300 MHz
[Mi 3 General] SkipperRyujin:
Deep sleep is fine

Not tested fully the aosp coz as usual I edited it

Edit: confirmed reboot during call when the screen is touched by face. Also the cap button not fully fix
[Mi 3 General] i snort flour:
I did, I ran it for 2 hours no deep sleep. I'll stop giving my input and just wait for you to cry about ecompass then
[Mi 3 General] ZenR2:
when i was on Airplane Mode i got deep sleep say aroung 92%

but when i switched it off say after 3o mins the things changed and was on 300MHZ

battery life seems to be great with this build even with 92% on 3ooMHZ the battery drain at night was like nil not a single % drain :eek:
[Mi 3 General] rpjuvvadi:
Please do post the battery life and SOT.. Anyone?
[Mi 3 General] sivabommakanti:
The battery drain for me overnight was 15% on 300mhz freq..
[Mi 3 General] SurajH:
Here is the stat... I got deepsleep only for 1hr in night but not getting in morning..

I forcefully activate battery saver mode in night and battery drain only 3%...

And it's without airplane mode activated..

Shocked with this results..
[Mi 3 General] vasishath:
I got a 2 percent battery drain in 6 hrs overnight without deepsleep. And here is a screenshot from betterbatterystats..
[Mi 3 General] vasishath:
Are you sure ?? Because i didnt get any yet..

and what about the cap buttons ? can you explain please ?

I now tried a 6 minute outgoing call.. I literally rubbed my face against the touchscreen :P but did not got a reboot.
[Mi 3 General] vasishath:
RILJ investigation

Did some investigation on RILJ. i piped the output of RILJ in logcat and found the request "QUERY_NETWORK_SELECTION_MODE" to be repeating and causing the wakelock..

I am attaching the output here.

actually, these set of requests repeat themselves:

D/RILJ ( 1610): [UNSL]< UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED [SUB0]

D/RILJ ( 1610): [5357]> OPERATOR [SUB0]

D/RILJ ( 1610): [5358]> DATA_REGISTRATION_STATE [SUB0]

D/RILJ ( 1610): [5359]> VOICE_REGISTRATION_STATE [SUB0]

D/RILJ ( 1610): [5357]< OPERATOR {Vodafone, Vodafone, 40414} [SUB0]

D/RILJ ( 1610): [5360]> QUERY_NETWORK_SELECTION_MODE [SUB0]

D/RILJ ( 1610): [5358]< DATA_REGISTRATION_STATE {1, 9093, 02bd2df7, 11, null, 20, null, null, null, null, null} [SUB0]

D/RILJ ( 1610): [5359]< VOICE_REGISTRATION_STATE {1, 9093, 02bd2df7, 3, null, null, null, 0, null, null, 1, null, null, 0, 94} [SUB0]

D/RILJ ( 1610): [5360]< QUERY_NETWORK_SELECTION_MODE {0} [SUB0]

During calling, these requests are absent in logcat.. that might explain the deep sleep during call. When the wakelock is removed, this happens:

D/RILJ ( 1610): [5219]> SCREEN_STATE: false [SUB0]

D/RILJ ( 1610): [5219]< SCREEN_STATE [SUB0]

D/RILJ ( 1610): NOTE: mWakeLockCount is 1at time of clearing

D/RILJ ( 1610): WAKE_LOCK_TIMEOUT mRequestList=4

D/RILJ ( 1610): 0: [7] OEM_HOOK_RAW

D/RILJ ( 1610): 1: [71] RIL_REQUEST_ALLOW_DATA

D/RILJ ( 1610): 2: [96] RIL_REQUEST_ALLOW_DATA

D/RILJ ( 1610): 3: [890] RIL_REQUEST_ALLOW_DATA

and the phone enters deep sleep.
[Mi 3 General] rpjuvvadi:
Strange finding

Yesterday night I was on call... After 3 minutes voice was stuck.. I still can operate the phone but voice was stuck something like "gaaaaaaaaaa" (dont laugh!).

also, I noticed, My dad turned off and turned on wifi during call.. Is that might be issue?

can anyone try to reproduce this and report?

also, anyone experiencing heating issue?

when browsing XDA on chrome for 10mins my CPU temp's were at 48-50 (reported by CPU temp). is this OK?
[Mi 3 General] vasishath:
Ivan's reply

Ivan just replied to the email. He says that he is aware of the issue and will fix it after the spring festival.
[Mi 3 General] SurajH:
Anyone getting that battery backup...

It's from single charge and still remains 50%

Is it really true? Or some mistakes by battery stat
[Mi 3 General] vasishath:
tried to turn on and off wifi during call.. couldn't reproduce the "gaaaaa..."
[Mi 3 General] rpjuvvadi:
You sure, you turned off the Wifi-Router and not in mobile?
[Mi 3 General] vasishath:
I originally turned off wifi on phone.. but now i turned off my router.. still couldn't reproduce it.
[Mi 3 General] rpjuvvadi:
Cool.. and How is your battery backup? and CPU Temp's ?
[Mi 3 General] vasishath:
I am currently after the rilj wakelock.. so i am not kinda following the battery life. i didnt saw the cputemp but the phone feels cool in hand..
[Mi 3 General] SurajH:
Guys just flash Rom..

Now I'm getting deepsleep successfully..

No worries now
[Mi 3 General] vasishath:
Found exact method to get into deep sleep

I found the exact method to get deep sleep working;-

Make a call. Ensure that it lasts for about 2 minutes with screen off (by covering proximity sensor or screen lock). Reason for this is that the phone sleeps at around 1:14 to 1:16 seconds.

Now, the phone will start getting into deep sleep just as it should normally.. until you reboot or toggle the airplabe mode.

Edit: better try locking the screen during the call.. Covering the proximity sensor might not work always..
[Mi 3 General] naturist:
You are still crying for ecompass? lol

Too bad for you as the rom is working fine for me so far including deep sleep:p

http://i.imgur.com/X8vSIhB.png
[Mi 3 General] FcukBloat:
well from your screen it doesn't seem your deepsleep is so good....! :D
[Mi 3 General] fabiosun:
Hi vasishath, in my case your method is not working.

the only way for me to see deep sleep state is with method i discovered previously in this thread. putting phone in airplane mode

in others mode I have a minimal incresing state of 300 Mhz
[Mi 3 General] naturist:
Don't spoil the fun.

Posted wrong screenshot just to tease him. :P
[Mi 3 General] vasishath:
Ok.. Airplane mode works for me as well (it gets deep sleep) but the calling method works flawlessly for me.. Its been an hour and i am continously staring at the logcat window on my pc :-p

Edit : you get 300 mhz state in airplane mode.. Have u checked betterbatterystats ? I suspect something else is also holding a wakelock..

My stats in betterbatterystats after using calling method..
[Mi 3 General] akshayAXE:
My Review

I am using Mi3W

I flashed this latest build with gapps via cwm 6.5.1 r11

I have rooted the ROM by flashing the latest supersu zip package

and then installing SuperSu via the Google Play Store.

The ROM is very smooth but boring as its stock AOSP with minor CM tweaks

Initially for the first half an hour or so my phone did not enter Deep Sleep (as shown by CPU SPY + and CPU SPY REBORN)

For this period:

Wifi - ON

Airplane Mode - Off

Then I put it on charge and charged to 100%.

After That I left My Phone Idle and went to sleep.

After Waking Up when i checked CPU SPY + and CPU SPY REBORN these both apps showed that the phone had gone into deepsleep (Screen Shots Attached)

The Phone went into DeepSleep with all the possible combinations of Wifi, Airplane and GPS toggles On/Off.

Then I Switched Cpu to Performance Mode via Developer Options and ran Antutu Benchmark v6.5.1

Overall the ROM is pretty stable for me :good:

Pros: :D

NO RANDOM REBOOTS

PHONE GOES TO DEEPSLEEP

Awesome Battery Life (0% battery loss when phone was in DeepSleep mode for more than 3hrs)

ROM runs SUPER SMOOTH

AWESOME BENCHMARK SCORES

For the most part CAMERA is WORKING i.e simple photo and video capturing

Device Does not heat up

All the Sensors supported as seen via Antutu Benchmark

Cons: :crying:

The BUGS mentioned in the MIUI forum Post

HDR mode in camera just over exposes the image (So its useless)

Also shooting with HDR on in Landscape mode Results in CAMERA Freeze.

Camera apps that i used [ Google Camera (System App) & CameraNext ] similar results from both

Overall this build can be used as a Daily Drver :o
[Mi 3 General] fabiosun:
[MENTION=5579787]vasishath[/MENTION]

No, in normal mode I optain increasing 300Mhz state as lower state

in airplane mode I have correct deep sleep

I have checked only with cpu spy.

maybe i have to try the app that you suggested to me